$ath=mysql_query("select * from $db_news WHERE first=1 ORDER BY date DESC");
$i=1;
if($ath){
while(list($id,$title,$image,$notice,$message,$date,$first,$published)=mysql_fetch_row($ath)){
if($i%2){
print "| |
| ";
} else {
echo " | | "; }
$i+=1;
}
if ($i%2) echo " ";
}
?>
|
|
|
$ath=mysql_query("select id,title from $db_anons WHERE first=1 ORDER BY date DESC");
if($ath){
while(list($id,$title)=mysql_fetch_row($ath)){
echo "";
}
}
?>
|
| $text=$db->get("SELECT text FROM $db_banners WHERE id=11"); echo $text; ?>
|
|
| $text=$db->get("SELECT text FROM $db_banners WHERE id=10"); echo $text; ?> |
|
|