Файл: wapxl.ru/shaxty/ads_head.php
Строк: 44
<?php
// Реклама верх
// Отключение рекламы
if(core::$site['no_ads']<core::$realtime || core::$site['tarif']=0){
echo '
<div style="padding: 5px;background:#EAEAEA;">
';
/*$k_reklama = core:: $db -> querySingle("SELECT count(*) FROM `reklama` WHERE `time_off` > '".core::$realtime."' AND `cats` LIKE '%|".core::$site['cat']."|%';");
if($k_reklama>0){
$rand = rand(1,4);
}else{
$rand = 2;
}*/
/*if($rand==1){
$r = core:: $db -> query("Select * from `reklama` WHERE `time_off` > '".core::$realtime."' AND `cats` LIKE '%|".core::$site['cat']."|%' ORDER BY RAND() LIMIT 1");
while ($a= $r -> fetch()) {
if ($a['color']=='') $a['link_name'] = ''.$a['link_name'].'';
else $a['link_name'] = '<font color="#'.$a['color'].'">'.$a['link_name'].'</font>';
if ($a['bb']=='') $a['link_name'] = ''.$a['link_name'].'';
else $a['link_name'] = '<'.$a['bb'].'>'.$a['link_name'].'</'.$a['bb'].'>';
echo '<a target="_blank" href="'.$a['link'].'">'.$a['link_name'].'</a>';
}
}*/
//if($rand>1)
/*if (func::is_mobile()==0){*/
echo '<script>
var begun_auto_pad = 423085167;
var begun_block_id = 423087051;
</script>
<script src="http://autocontext.begun.ru/autocontext_lite.js"></script>
';
/*}else{
echo '
<script src="http://ma-static.ru/12669.js" type="text/javascript"></script>';
}*/
/*echo '<script>
var begun_auto_pad = 423085167;
var begun_block_id = 423087051;
</script>
<script src="http://autocontext.begun.ru/autocontext_lite.js"></script>
';*/
echo "</div>";
}
?>