Просмотр файла themes/web_grey_blue/foot.php

Размер файла: 2.07Kb
</div>
</div>
</div>
</div>

</td>
      </tr>
     </table>
<div class="foot_1">
<div class="foot_2">
<div class="foot_3">
<div class="foot_4">
<div class="stats">     
<?php	 
## Конец вывода центрального основного блока ##
## Начало нижнего блока ##
echo '<table align="center" width="100%">
      <tr>
       <td width="40%" align="left">';
echo'<p class="copy">';

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

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


     
       
if($generacia=="1")
  {
    
   include $dob_url.'/templates/generacia.php';
	  
  
  }
  
if($gzip=="1")
  {
    echo'<font color="green">gzip - on</font>';
    $Contents = ob_get_contents();
    $gzib_file = strlen($Contents); 
    $gzib_file_out = strlen(gzcompress($Contents,9));
    $gzib_pro=round(100-(100/($gzib_file/$gzib_file_out)),1);
    $traf = $gzib_file_out + $_SESSION['traf'];
    $_SESSION['traf'] = $traf;
    $traf_kb = round($traf / 1024, 2);
    echo '<br />Трафик: '.$traf_kb.' Кб';
  }
if($gzip=="0")
  {
    echo'<font color="red">gzip - off</font>';
    $Contents = ob_get_contents();
    $gzib_file = strlen($Contents);
    $traf = $gzib_file + $_SESSION['traf'];
    $_SESSION['traf'] = $traf;
    $traf_kb = round($traf / 1024, 2);
    echo '<br />Трафик: '.$traf_kb.' Кб';
  }
echo '<br />';
echo'<a href="'.$home.'">'.$copyright.'</a>';
       
       echo '</p><td>';
if(empty($glav))
 {
  $file_top_counters = $dob_url.'/data/top_counters.txt';
  $top_counters = file_get_contents($file_top_counters);
  echo'<p align="center">'.$top_counters.'</p>';
 }
else
 {
  $file_top_counters = $dob_url.'/data/top_counters_g.txt';
  $top_counters = file_get_contents($file_top_counters);
  echo'<p align="center">'.$top_counters.'</p>';
 }

?>
 </td>
 </tr>
 </table>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
  <div class="podval">&nbsp;</div>
 </div>