GIF89a;
Direktori : /home/serb/www/includes/ |
Current File : /home/serb/www/includes/bannar_right.php |
<div style="margin:0 auto; text-align:center;"> <? $sql_ad="SELECT * FROM banners Where banner_pos='Right Top' ORDER BY RAND()"; $res_ad=execute_query($sql_ad); $row_ad=mysql_fetch_array($res_ad); if($row_ad['text_banner']!="") { ?> <a href="<?=$row_ad['banner_url'] ?>/" target="_blank"><?=stripslashes($row_ad['text_banner'])?></a> <? } else { ?> <a href="<?=$row_ad['banner_url'] ?>" target="_blank"><img src="ads/<?=$row_ad['banner_image'] ?>" /></a> <? } ?> </div>