View file inc/foot.php

File size: 2.49Kb
<?php
#############################################
# 0JXRgdC70Lgg0YLRiyDRh9C40YLQsNC10YjRjCDRj #
# dGC0L4g0YHQvtC+0LHRidC10L3QuNC1LCDQt9C90L #
# DRh9C40YIg0YLRiyDQvdC10LzQvdC+0LPQviDQt9C #
#          90LDQtdGI0YwgUEhQIQ==            #
#__---------------------------------------__#
#__        0JrQu9C40Log0JrQu9GD0LE=       __#
#  ---------------------------------------  #
# 0JDQstGC0L7RgCA6IE1vcmdhbg==              #
# SUNRIDog0L3QtSDRgdC60LDQttGDIHhE          #
#                                           #
#############################################


if($user_in_site == 1)
{

if(mysql_result(query("SELECT COUNT(*) FROM `$db[prefix]users_reklama`"),0) > 0)
{
echo '<div class="ad"><b>Оплаченная реклама</b> : ';
$reklama = mysql_fetch_array(query("SELECT * FROM `$db[prefix]users_reklama` ORDER BY RAND() LIMIT 0,1"));
echo '<a href="/go.php?go=http://'.$reklama['link'].'&goto=1" target="_blank">'.$reklama['name'].'</a></br />';
}
echo '</div>';

}

$res = query("SELECT * FROM `$db[prefix]reklama` WHERE `mesto`='2' ORDER BY RAND()");
if(mysql_num_rows($res)>0)
{
echo '<center>';
  while($rekl = mysql_fetch_array($res))
{
if($rekl['fat']==1) $rekl['link_name'] = '<b>'.$rekl['link_name'].'</b>';
if($rekl['under']==1) $rekl['link_name'] = '<u>'.$rekl['link_name'].'</u>';
if($rekl['incl']==1) $rekl['link_name'] = '<i>'.$rekl['link_name'].'</i>';
if($rekl['color']!='') $rekl['link_name'] = '<font color="'.$rekl['color'].'">'.$rekl['link_name'].'</font>';
echo '<a href="/go.php?go='.$rekl['link'].'&goto=1" target="_blank">'.$rekl['link_name'].'</a></br />
';
}
echo '</center>';
}







if($config['show_timegenerate']<=$user_prof['admin'])
{
#list($msec,$sec)=explode(chr(32),microtime());
#$gen_time = round(($sec+$msec)-$_headtime,5);
$gen_time = round(microtime(true)-$_headtime,3);
}

require D.'style/'.$set_style.'/footer.php';

mysql_close();

$content = ob_get_contents();

if($gz == 'deflate')
 {
 $strlen = strlen(gzdeflate($content, 9));
 }elseif($gz == 'gzip')
 {
 $strlen =  strlen(gzencode($content, 9));
 }elseif($gz == 'x-gzip')
 {
 $strlen = strlen(gzcompress($content, 9));
 }else
 {
 $strlen = strlen($content);
 }

$_SESSION['traffick'] += $strlen;

ob_end_flush();

exit;





#
#echo $content_page;


################################################
# 0KHQutGA0LjQv9GCINC90LUg0L/QsNCx0LvQuNC6IQ== #
#   0KHRgtCw0LLRgNC+0L/QvtC70YwsIDIwMDkg0LMu   #
################################################

?>