//$count3 = mysql_result(mysql_query("select count(*) from `award_users` where `id_award` = '".$id."' and `id_user` = '".$user."'"),0);
if (!$count1 or !$count2) header("location: panel.php?id=$user");
else { //$count3 = mysql_result(mysql_query("select count(*) from `award_users` where `id_award` = '".$id."' and `id_user` = '".$user."'"),0);
if (!$count1 or !$count2) header("location: panel.php?id=$user");
else {