getfirst("select * from ad_run where DELETE_ID =0 and END_TIME > now() and LENGTH(IMAGE)!=0 and ZONE =1 order by rand()") ; if($topad['IMAGE']!=null) { echo "
\"".$topad['TOPIC']."\"
" ; } ?>
getfirst("select * from ad_run where DELETE_ID =0 and END_TIME > now() and LENGTH(IMAGE)!=0 and ZONE =2 order by rand()") ; $centertwo = $db -> getfirst("select * from ad_run where DELETE_ID =0 and END_TIME > now() and LENGTH(IMAGE)!=0 and ZONE =3 order by rand()") ; ?>
<?=$centerone['TOPIC']?>
<?=$centertwo['TOPIC']?>