View file file/stat.php

File size: 378B
<?
$qi = mysql_query("select * from `stats` where `data`='$date_db';");
$row=mysql_fetch_array($qi);
if (mysql_affected_rows()==0)
{
 @mysql_query("insert into `stats` values(0,'0','0','$date_db');");
}
if ($oper!=0) mysql_query("UPDATE `stats` SET `OP`=`OP`+'1' where `data`='$date_db';");
mysql_query("UPDATE `stats` SET `ALL`=`ALL`+'1' where `data`='$date_db';");
?>