403Webshell
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/baberankings.com.bak/photorater-old/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/baberankings.com.bak/photorater-old/viewmessage.php
<?
$sql="update messages set seen='Y' where messagesid=$msgid";
$res=mysql_query($sql);

$sql="select * from messages where messagesid=$msgid";
$res=mysql_query($sql);
while($obj=mysql_fetch_object($res))
{
   $message=$obj->message;
   $fromusername=$obj->fromusername;
   $tousername=$obj->tousername;
   $mdate = date("m/d/Y h:i:s a",strtotime($obj->upldate))." EST";
   $subject=$obj->subject;
}
$message=str_replace("\n","<br>",$message);
$cnarr=getPrevNextMessages($msgid);
$previd=$cnarr[0];
$nextid=$cnarr[1];
$botlinks="<a href='index.php?cmd=7'>Back to Messages</a>&nbsp;|&nbsp;";
if($previd==0)
{
   $botlinks=$botlinks."Previous Message&nbsp;|&nbsp;";
}
else
{
   $botlinks=$botlinks."<a href='index.php?cmd=8&msgid=$previd'>Previous Message</a>&nbsp;|&nbsp;";
}
if($nextid==0)
{
   $botlinks=$botlinks."Next Message&nbsp;|&nbsp;";
}
else
{
   $botlinks=$botlinks."<a href='index.php?cmd=8&msgid=$nextid'>Next Message</a>&nbsp;|&nbsp;";
}
   $botlinks=$botlinks."<a href='index.php?cmd=8&delid=$msgid'>Delete Message</a>&nbsp;|&nbsp;";
   $botlinks=$botlinks."<a href='index.php?cmd=9&repid=$msgid'>Reply</a>";
?>
<script language="JavaScript">
function checkifvalid(){
if (window.document.myform.password.value=="")
{
alert("Kindly enter the Password!");
window.document.myform.password.focus();
return false;
}
if (window.document.myform.fname.value=="")
{
alert("Kindly enter the First Name!");
window.document.myform.fname.focus();
return false;
}
if (window.document.myform.email.value=="")
{
alert("Kindly enter the Email!");
window.document.myform.email.focus();
return false;
}
if (window.document.myform.age.value=="")
{
alert("Kindly enter the Age!");
window.document.myform.age.focus();
return false;
}
if (window.document.myform.city.value=="")
{
alert("Kindly enter the City!");
window.document.myform.city.focus();
return false;
}
if (window.document.myform.country.value=="")
{
alert("Kindly enter the Country!");
window.document.myform.country.focus();
return false;
}
if (window.document.myform.about.value=="")
{
alert("Kindly enter details about yourself!");
window.document.myform.about.focus();
return false;
}
}
</script>
<TABLE width="98%" cellspacing="0" cellpadding="0">
<TBODY>
<TR>
<TD>
<FIELDSET><LEGEND><b>Read Message</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"> 
              <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                <form name="myform" action="index.php?cmd=5" method="post" onsubmit="javascript: return checkifvalid();">
                  <tr > 
                    <td width="5" height="25" class="normal">&nbsp;</td>
                    <td height="25" class="normal">From</td>
                    <td height="19" class="normal"><? print $fromusername;?></td>
                  </tr>
                  <tr > 
                    <td width="5" height="25" class="normal">&nbsp;</td>
                    <td width="26%" height="25" class="normal">To</td>
                    <td width="74%" height="19" class="normal"><? print $tousername;?></td>
                  </tr>
                  <tr > 
                    <td width="5" height="25" class="normal">&nbsp;</td>
                    <td height="25" class="normal">Date</td>
                    <td height="19" class="normal"><? print $mdate;?></td>
                  </tr>
                  <tr > 
                    <td width="5" height="25" class="normal">&nbsp;</td>
                    <td height="25" class="normal">Subject</td>
                    <td height="19" class="normal"><? print $subject;?></td>
                  </tr>
                  <tr > 
                    <td width="5" height="25" class="normal">&nbsp;</td>
                    <td height="25" colspan="2" class="normal"><? print $message;?></td>
                  </tr>
                  <tr align="left" > 
                      <td width="5" height="25" class="normal">&nbsp;</td>
                    <td height="25" colspan="3" class="normal"><? print $botlinks;?> 
                    </td>
                  </tr>
                </form>
              </table>
            </div></td>
        </tr>
      </table>


</td>
</tr>
</table>
</center>
</div>
</div>
 </FIELDSET>
      </TD> 
    </TR> 
  </TBODY>
</TABLE>


      

Youez - 2016 - github.com/yon3zu
LinuXploit