<?php
//include "xconf.php";
include "oper.php";
$id=intval($id);
$qs = @mysql_query("select * from `oper_in` where idaa='$id';");
$rowss=mysql_num_rows($qs);
if ($rowss==0){
@mysql_query("INSERT INTO `oper_in` VALUES ($id, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0')");
@mysql_query("Update `oper_in` set `$oper`=`$oper`+'1' where idaa='$id' ");
}
else
{
@mysql_query("Update `oper_in` set `$oper`=`$oper`+'1' where idaa='$id' ");
}
?>