View file data/votes/vote_1/foot.php

File size: 2.6Kb
<?php
########################################
##	           WAP-ENGINE             ##
########################################
##                                    ##
##  Автор : CHUMA (Токарев Владимир)  ##
##  e-mail : [email protected]     ##
##  WAP : http://wap-engine.ru        ##
##                                    ##
########################################
##         ВЫ НЕ ИМЕЕТЕ ПРАВО         ##
##        ИЗМЕНЯТЬ КОД СКРИПТА        ##
##  ДЛЯ ДАЛЬНЕЙШЕГО РАСПРОСТРАНЕНИЯ!  ##
########################################
if(file_exists($dob_url.'/themes/'.$themes.'/foot.php'))
 {
  $file_all_bottom = file_get_contents($dob_url.'/data/reklama_all_bottom.txt');
  if(!empty($file_all_bottom))
   {
    echo'<p class="rekl">'.$file_all_bottom.'</p>';
   }
  include $dob_url.'/themes/'.$themes.'/foot.php';
 }
else
 {
#####
if(!isset($glav))
 {
  echo'<p><a href="'.$home.'/index.php?'.session_name().'='.session_id().'">Главная</a></p>';
 }

$file_all_bottom = file_get_contents($dob_url.'/data/reklama_all_bottom.txt');
if(!empty($file_all_bottom))
 {
  echo'<p class="rekl">'.$file_all_bottom.'</p>';
 }

echo'<p class="foot">';

  if ($online=='1')
   {
    include $dob_url.'/modules/counter/online.php';
    echo'<br />';
   }

  if($counter=='1')
   {
	include $dob_url.'/modules/counter/counter.php';
   }

echo'<a href="'.$home.'" class="cc">'.$copyright.'</a></p>';
echo'<p class="c">';
if($generacia=='1')
  {
   include $dob_url.'/templates/generacia.php';
   echo'<br />';
  }
  
if($gzip=='1' && isset($_SESSION['sespass']) && isset($passw) && $_SESSION['sespass'] == $passw)
  {
   $contents = ob_get_contents();
   $gzip_file = strlen($contents); 
   $gzip_file_out = strlen(gzcompress($contents,9));
   $gzip_pro = round(100 - (100 / ($gzip_file / $gzip_file_out)), 1);
   
   echo'Сжатие '.$gzip_pro.'%';
  }
if($gzip=='0' && isset($_SESSION['sespass']) && isset($passw) && $_SESSION['sespass'] == $passw && $status == 1)
  {
    echo'<font color="red">gzip - off</font>';
  }
echo'</p>';

if(empty($glav))
 {
  $file_top_counters = $dob_url.'/data/top_counters.txt';
  $top_counters = file_get_contents($file_top_counters);
  if(!empty($top_counters))
   {
    echo'<p align="center" class="b">'.$top_counters.'</p>';
   }
 }
else
 {
  $file_top_counters = $dob_url.'/data/top_counters_g.txt';
  $top_counters = file_get_contents($file_top_counters);
  if(!empty($top_counters))
   {
    echo'<p align="center" class="b">'.$top_counters.'</p>';
   }
 }
#####
 }
echo base64_decode($core);
echo'</body></html>';
?>