please i need codings of reporting profile to the admins only so that a user can report other peoples profiles from [view user profile] when he sees something wrong in other profiles.anybody please give me.
thank you
thank you
////////////////////////////////////////////Report Profile
else if($action=="reportuser")
{
$who = $_GET["who"];
echo "<head>";
echo "<title>$sitename</title>";
echo "</head>";
echo "<body>";
echo "<div>
Report Profile
</div>";
echo "<p align=\"center\">";
$res = mysql_query("INSERT INTO ibwf_mlog SET action='Profiles', details='[b]<a href=\"index.php?action=viewuser&wh=$who&sid=$sid\">".getnick_uid($who)."</a>[/b] Profile has been reported', actdt='".time()."'");
if($res){
echo "<img src=\"images/ok.gif\" alt=\"O\"/>Profile Reported Successfully";
}else{
echo "<img src=\"images/notok.gif\" alt=\"X\"/>Database Error";
}
echo "
";
echo "<a href=\"index.php?action=viewuser&wh=$who&sid=$sid\">".getnick_uid($who)."</a>
";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</body>";
exit();
}
something..
something..[/b]
Comment