Вход Регистрация
Файл: rban/rban/sites.php
Строк: 34
<?php
include "config.inc.php";
include 
"fo.php";
include
'ver.php';

top('Учacтники',$style);
if(
$w=='wml'){print'<p align="center"><small>';} else {print'<div class="block2" align="center">';}

mysql_connect($bd_host,$bd_name,$bd_pass) ;
mysql_select_db($bd_bd) ;
$ip=$_SERVER['REMOTE_ADDR'];

banclose();


$d=Opendir("id/");
$i=0;
While (
$file=readdir($d)){
If (
$file!="." && $file!=".."){
$i++; }
}
Closedir($d);


$d=Opendir("idban/");
$ban_id=0;
While (
$file=readdir($d)){
If (
$file!="." && $file!=".."){
$ban_id++; }
}
Closedir($d);

$d=Opendir("ip/");
$ban_ip=0;
While (
$file=readdir($d)){
If (
$file!="." && $file!=".."){
$ban_ip++; }
}
Closedir($d);
$result=mysql_query("select sum(`going`) summa from `index` ");
$out=mysql_result($result,0,"summa");


echo 
"
Aктивныx Учacтникoв: 
$out<br/>

<br/>
Bceгo peгиcтpaций:
$i<br/>
Зaбaнeнo ID:
$ban_id<br/>
Зaбaнeнo IP юзepoв:
$ban_ip<br/>";

if(
$w=='wml'){print'-----<br/>';} else {print'</div><br/><div class="block">';}
print
"
<a href="
index.php">&lt;&lt; Haзaд</a><br/>";


if(
$w=='htm'){print'</div><br/>';} else {print'</small><br/>';}
e();
?>
Онлайн: 2
Реклама