File size: 7.96Kb
<?php
echo'
<div class="art-postcontent">
</div>
<div class="cleared"></div>
</div>
<div class="cleared"></div>
</div>
</div>
<div class="art-post">
<div class="art-post-body">
<div class="cleared"></div>
</div>
</div>
</div>
<div class="art-layout-cell art-sidebar2">
';
if($status=="uzer" || $status=="moder" || $status=="admin")//$status=="uzer" || $status=="moder" || $status=="admin"
{
echo'
<div class="art-block">
<div class="art-block-tl"></div>
<div class="art-block-tr"></div>
<div class="art-block-bl"></div>
<div class="art-block-br"></div>
<div class="art-block-tc"></div>
<div class="art-block-bc"></div>
<div class="art-block-cl"></div>
<div class="art-block-cr"></div>
<div class="art-block-cc"></div>
<div class="art-block-body">
<div class="art-blockheader">
<div class="l"></div>
<div class="r"></div>
<div class="t">Мини чат</div>
</div>
<div class="art-blockcontent">
<div class="art-blockcontent-body">
<iframe id="frame" src="/chat/f.php?act=form" name="form" width="100%" height="95px" scrolling="no" frameborder="0"></iframe>
<iframe id="frame" src="/chat/f.php" name="chat" width="100%" height="250px" frameborder="0"></iframe>
<div class="cleared"></div>
</div>
</div>
<div class="cleared"></div>
</div>
</div>
';
}
echo'
<div class="art-block">
<div class="art-block-tl"></div>
<div class="art-block-tr"></div>
<div class="art-block-bl"></div>
<div class="art-block-br"></div>
<div class="art-block-tc"></div>
<div class="art-block-bc"></div>
<div class="art-block-cl"></div>
<div class="art-block-cr"></div>
<div class="art-block-cc"></div>
<div class="art-block-body">
<div class="art-blockheader">
<div class="l"></div>
<div class="r"></div>
<div class="t">Кто OnLine</div>
</div>
<div class="art-blockcontent">
<div class="art-blockcontent-body">
';
$str = file("$koren_dir/data/statstik/avt_online.dat");
$nom=count($str);
$ypp = $nom;
$var = "-1";
while(--$ypp >= $var)
{
if($ypp>=0)
{
//показываем юзеров
$param_online=explode("<||>",$str[$ypp]);
echo'<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/my_menu.php?act=anket&if_uzer='.$param_online[0].'&'.SID.'"><B>'.$param_online[0].'</B></a> ';
}
}
echo'<br>Всего наших OnLine <B>'.$nom.'</B><br>';
echo'
<div class="cleared"></div>
</div>
</div>
<div class="cleared"></div>
</div>
</div>
<div class="art-block">
<div class="art-block-tl"></div>
<div class="art-block-tr"></div>
<div class="art-block-bl"></div>
<div class="art-block-br"></div>
<div class="art-block-tc"></div>
<div class="art-block-bc"></div>
<div class="art-block-cl"></div>
<div class="art-block-cr"></div>
<div class="art-block-cc"></div>
<div class="art-block-body">
<div class="art-blockheader">
<div class="l"></div>
<div class="r"></div>
<div class="t">Счётчики</div>
</div>
<div class="art-blockcontent">
<div class="art-blockcontent-body">
';
include("$koren_dir/banners.txt");//Включили рекламу
echo'
<div class="cleared"></div>
</div>
</div>
<div class="cleared"></div>
</div>
</div>
</div>
</div>
</div>
<div class="cleared"></div><div class="art-footer">
<div class="art-footer-inner">
<div class="art-footer-text">
';
//echo'<a href="'.$url_copir.'">'.$copir.'</a><br>';//раскоментируйте строку если нужно вывести ваш собственный копирайт
echo'[Online: <a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/stats.php?act=online&'.SID.'"><B>'.$aonline.'/'.$online.'</B></a> из ';include("$koren_dir/sistem/kol_uzer.dat");echo']<br>';
echo'[<b>'.$host.'</b> / <b>'.$hit.'</b>]<br>';
//info_compress();//раскоментируйте строку если нужно вывести % сжатия
echo''.$generat.' сек.';//раскоментируйте строку если нужно вывести время генирирования страници
echo'
</div>
</div>
<div class="art-footer-background"></div>
</div>
<div class="cleared"></div>
</div>
</div>
<div class="cleared"></div>
<center>
<br><a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/reg.php">Соглашение</a>
</center> </div>
<br>
</body>
</html>
';
?>