$page = "com1_messagehub";
$do = $_POST['do'];
if($do != date(Ymd)+ date(Y)){
echo("<<<<Restricted Area>>>>" .
"
Sorry, there is something wrong with your log in.
Please report this error to Web Developer.
");
exit();
}
$dtnum=date(Ymd);
$thisday = date("l - F j, Y");
$usrn = $_POST['usrn'];
$MID = $_POST['MID'];
$sendtype = $_POST['sendtype'];
$contact = $_POST['contact'];
$eachname = explode(":", $contact);
$RID = $eachname[0];
$first_Name = $eachname[1];
$Name = $eachname[2];
$emailto = $eachname[3];
$subject = $_POST['subject'];
$content = $_POST['content'];
$cmdt = $_POST['cmdt'];
$num = $_POST['num'];
if($num == 0){
$comdot = "
";
$cmdt = 0;
}else{
$comdot = "
";
$cmdt = 1;
}
if($sendtype == "Internal"){
$formto = "com1_mess.php";
$trype = "Message";
$emmy = "";
}elseif($sendtype == "Reply"){
$formto = "com1_reply.php";
$trype = "Reply";
$emmy = "";
}else{
$formto = "com1_mail.php";
$trype = "Email";
$emmy = "Email Address:" . $emailto . "
";
}
?>
Send this to ?
|
Subject:
Message:
$input = nl2br($content);
echo stripslashes($input);
?>
|