| Server IP : 208.122.213.31 / Your IP : 216.73.216.185 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/www.superporner.com/tube/ |
Upload File : |
<?
session_start();
include('admin/db.php');
if($_POST[name] && $_POST[email] && $_POST[content] && eregi('@',$_POST[email]) && (strtolower($_POST[captchaaa]) == strtolower($_SESSION[captcha]))) {
if(!$_SESSION[flood] || ($_SESSION[flood] != '' && time() > ($_SESSION[flood] + 600))) {
$to = $admin_email;
$subject = 'Contact Forum';
$from = "From: $_POST[name] <$_POST[email]>";
$message = strip_tags($_POST[content]);
if(mail($to,$subject,$message,$from)) {
$_SESSION[flood] = time();
$success = true;
}
}
else {
$flood_control = true;
}
}
$title = 'Contact Us';
$headertitle = 'Contact Us';
include($basepath.'/templates/template.overall_header.php'); ?>
<? if($flood_control) { ?>
<p style='font-weight: bold;'>We're sorry, you can only send a message once every 10 minutes. Please try again in
<? echo 10-(ceil((time()-$_SESSION[flood])/60)); ?> minute(s).</p>
<? } ?>
<? if($success) { ?>
<p>Your message has been sent, and you should recieve a reply within 24 hours.</p>
<? } else { ?>
<p>
Please use this form to contact the <? echo $sitename; ?> administrator with any questions or concerns.</p>
<p><strong>All fields are mandatory.</strong></p>
<form id="form1" name="form1" method="post" action="">
<table width="500" border="0" align="left">
<tr>
<td width="121">Name</td>
<td width="369"><input name="name" type="text" id="name" style='width: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; margin-bottom: 5px;' value="<? echo $_SESSION[username]; ?>" maxlength="255" /></td>
</tr>
<tr>
<td>Email Address</td>
<td><input name="email" type="text" id="email" style='width: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; margin-bottom: 5px;' maxlength="255" /></td>
</tr>
<tr>
<td>Message</td>
<td><textarea style='width: 300px; height: 80px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; margin-bottom: 5px;' name="content" id="textfield3"></textarea></td>
</tr>
<tr>
<td>Human?</td>
<td><img src='/captcha.php' /><br />
<input class='f02' name="captchaaa" type="text" id="signup_email" size="10" maxlength="35" value='' /></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="button" id="button" value="Send Message" /></td>
</tr>
</table>
</form>
<? } ?>
<? include($basepath.'/templates/template.overall_footer.php'); ?>