| Server IP : 208.122.213.31 / Your IP : 216.73.216.183 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/baberankings.com.bak/photorater-old/ |
Upload File : |
<?
if(empty($username))
{
header("location:index.php");
}
$tousername=$username;
$errO=false;
if($username==$ses_username)$errO=true;
?>
<script language="JavaScript">
function checkifvalid(){
if (window.document.myform.subject.value=="")
{
alert("Kindly enter the subject!");
window.document.myform.subject.focus();
return false;
}
if (window.document.myform.message.value=="")
{
alert("Kindly enter the Message!");
window.document.myform.message.focus();
return false;
}
}
</script>
<TABLE width="98%" cellspacing="0" cellpadding="0">
<TBODY>
<TR>
<TD>
<FIELDSET><LEGEND><b>Send a message to <? print $tousername;?></b></LEGEND>
<div>
<div align="center">
<center>
<table width="98%" height="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td height="20" class="normal">
<table width="95%" height="10" border="0" cellpadding="0" cellspacing="0" class="mytable">
<tr>
<td><div align="center">
<?
if(!$errO)
{
?>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<form name="myform" action="index.php?cmd=9" method="post" onsubmit="javascript: return checkifvalid();">
<input type="hidden" name="tousername" value="<? print $tousername; ?>">
<tr >
<td height="25" class="normal"> </td>
<td width="26%" height="25" class="normal">Subject</td>
<td width="74%" height="19" class="normal"><input name="subject" type="text" class="mytext" id="subject" value="<? print $subject; ?>" size="40"></td>
</tr>
<tr >
<td width="5" height="25" class="normal"> </td>
<td height="25" class="normal">Message</td>
<td height="19" class="normal"><textarea name="message" cols="40" rows="10" class="mytext"><? print $message; ?></textarea></td>
</tr>
<tr >
<td width="5" height="25" class="normal"> </td>
<td height="25" colspan="2" align="center" class="normal"><input type="submit" value="Send Message" name="B1" class="mybutton"></td>
</tr>
</form>
</table>
<?
}
else
{
?>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<form name="myform" method="post" action="index.php" >
<input type="hidden" name="photoid2" value="<? print $photoid; ?>">
<tr >
<td width="98%" height="19" class="header">You cannot send
a message to yourself!</td>
</tr>
</form>
</table>
<?
}
?>
</div></td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</div>
</div>
</FIELDSET>
</TD>
</TR>
</TBODY>
</TABLE>