Dear Sir how i can use tow (2) div class in this code ?
<?php
$limit = '5'; // количество тем
$req_t = mysql_query("SELECT * FROM `forum` WHERE `type`='t' ORDER BY `time` DESC LIMIT $limit "); // запрос
while($res_t = mysql_fetch_array($req_t)){
echo '<div class="list1">';
$f_t = mysql_result(mysql_query("SELECT COUNT(*) FROM `forum` WHERE `type`='m' AND `refid`='" . $res_t['id'] . "'" . ($rights >= 7 ? '' : " AND `close` != '1'")), 0);
$f_ep = ceil($f_t /$kmess);
echo '<a href="/forum/?id='.$res_t['id'].'">'.$res_t['text'].'</a> ('.$f_t.')';
if ($f_ep > 1) {
echo ' <a href="' . $home . '/forum/index.php?id=' . $res_t['id'] . '&page=' . $f_ep . '"> >></a>';
}
echo '</div>';
}
?>
how i can change <div class="list1"> to in <div class="list2">' : '<div class="list1">';