error_reporting(E_ALL & ~E_NOTICE); include "auth.php"; $vote=intval($vote); $lid=intval($lid); mysql_query("UPDATE main SET moder_vote='$vote' WHERE lid='$lid';") or die(mysql_query()); if ($type!=255) { print ("
\n"); print ("\n"); print ("\n"); } else { if (isset($HTTP_SERVER_VARS["HTTP_REFERER"])) $ref=$HTTP_SERVER_VARS["HTTP_REFERER"]; else $ref="../"; print ("\n"); print ("\n"); print ("\n"); } ?>