Ok I Know What Most Of You Are Going To Say Been Done Loads Of Times But This Is My Version And Helps Newbies On Here Also Is Better Than Searching On A Game To Find A Member Of Staff Then To Send Them A Mail Rember Its Free And Works So Dont Moan Please I hope So One Will Use It :)
Call This cme.php
<?php
include "globals.php";
if($_POST['go'])
{
$to = (int) $_POST['staff'];
$_POST['text'] = strip_tags($_POST['text']);
$msg = str_replace(array("\n"),array("
"),htmlentities($_POST['text']));
$db->query("INSERT INTO mail VALUES ('',0,$userid,$to,unix_timestamp(),'Staff contact form','$msg')") or die($db->error());
print "Your mail to the selected staff member has been sent.
Please allow 8 hours for a response.
Thank You.
";
}
else
{
$q=$db->query("SELECT * FROM users WHERE user_level > 1 ORDER BY user_level");
print "[b]Contact The Admin[/b]
<form action='cme.php' method='post'>
Staff/Admin: <select name='staff'>";
while($z=$db->fetch_row($q))
{
print "<option value='{$z['userid']}'>{$z['username']}</option>";
}
print "</select>
Message to Admin:
<textarea name='text' rows='7' cols='40'>Send a mail to the selected staff member/Admin</textarea>
<input type='hidden' name='go' value='true'>
<input type='submit' value='Send' />
</form>";
}
$h->endpage();
?>
And Thats It ADD To Your Explore Or Where Ever You Want I know Very Easy