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//postcomment.php
<?
   $sql="select * from photos where photosid=$phid";
   $res=mysql_query($sql);
   while($obj=mysql_fetch_object($res))
   {
      $username=$obj->username;
   }
if($username==$ses_username)$errO=true;   
?>
<script language="JavaScript">
function checkifvalid(){
   if (window.document.myform.comment.value=="")
   {
   alert("Kindly enter the comment!");
   window.document.myform.comment.focus();
   return false;
   }
}
</script>
<TABLE width="98%" cellspacing="0" cellpadding="0">
<TBODY>
<TR>
<TD>
<FIELDSET><LEGEND><b>Post Comment</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="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><br>
      <table width="80%" height="10" border="0" align="center" cellpadding="0" cellspacing="0" class="mytable">
        <tr> 
          <td valign="top"> <div align="center"> 
        <?
        if(!$errO)
        {
        ?>       
              <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                <form name="myform" action="index.php?cmd=12" method="post" onsubmit="javascript: return checkifvalid();">
                  <input type="hidden" name="phid" value="<? print $phid; ?>">
                  <tr > 
                    <td width="1" height="25" class="normal">&nbsp;</td>
                    <td width="40%" height="25" class="normal">Comment</td>
                    <td width="60%" height="19" align="left" class="normal"><br>
                      <textarea name="comment" cols="30" rows="6" class="mytext" id="comment"></textarea> 
                    </td>
                  </tr>
                  <tr align="center" > 
                    <td height="25" colspan="3" class="normal"> <input type="submit" name="Submit" value="Submit" 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 post a comment on your own picture!</td>
                  </tr>
                </form>
              </table>
           <?
           }
           ?>

            </div></td>
        </tr>
      </table></td>
  </tr>
</table>


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




Youez - 2016 - github.com/yon3zu
LinuXploit