| 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 : |
<?
include("connection.php");
include("functions.php");
?>
<script language="JavaScript">
function checkifvalid(){
if (window.document.myform.comment.value=="")
{
alert("Kindly enter the comment!");
window.document.myform.comment.focus();
return false;
}
}
</script>
<?
$sql="select * from comments where photosid=$phid and approved='Y' order by postdate desc";
$res=mysql_query($sql);
if(mysql_num_rows($res))
{
while($obj=mysql_fetch_object($res))
{
?>
<? print "Posted by $obj->byusername on ".date("m-d-Y",strtotime($obj->postdate));?><br />
<? print "$obj->comment";?><br /><br />
<?
}
}
else
{
?>
No Comments posted on this picture!
<br />
<?
}
?>
<? include("conclose.php"); ?>