View file waplend/counter.php

File size: 399B
<?php
$ci=$_GET['ci'];
include "./ini.php";
$sc=mysql_query("select * from cusers where ci='".$ci."';");



$pr_count = @mysql_query("SELECT count(*) FROM `".$px.$utable."` WHERE ltime>'".intval($times-$offline)."' and ci ='".$ci."';");
$pdc = @mysql_fetch_array($pr_count);
$count = $pdc['count(*)'];
$count=trim($count);
print "(".$count.")";

@mysql_close();
ob_end_flush();
?>