| Server IP : 208.122.213.31 / Your IP : 216.73.216.45 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/store.tiacyrusxxx.com/public_html/dev/ |
Upload File : |
<?php
include('config.php');
dbConn();
/*
content_type // SECTION
------------
0=model
1=photographer
2=photoset
3=blog
*/
if (isset($_POST['post'])) {
$message = "thank you for leaving a comment! It is pending approval.";
$content_type = $_POST['content_type'];
$content_id = $_POST['content_id'];
$comment = $_POST['comment'];
if ($comment == "") {
$message = "you forgot comment comment";
} else {
$comment = strip_tags($comment); // STRIP HTML
$comment = substr($comment,0,400); // DOUBLE CHECK LIMIT OF 400 CHARS
$comment = str_replace(chr(10), "<br />", $comment); // CONVERT LINE SPACE TO HTML <BR>
$comment = addslashes($comment); // ...
$sql = @mysql_query("INSERT INTO cms_members_comments SET
member_id='$member_id',
content_type='$content_type',
content_id='$content_id',
date='$today',
comment='$comment'");
}
}
$section_header = "Thank You!";
include('mod_html_top.php');
?>
<br />
<table width="954" border="0" cellspacing="8" cellpadding="0">
<tr>
<td width="600" valign="top">
<table width="600" height="100" border="0" cellpadding="0" cellspacing="0" background="images/top_bg_search.jpg">
<tr>
<td valign="top"><div class="hdr">Thank You...</div></td>
</tr>
</table><br />
<?=$message?>
<?
include('mod_html_middle.php');
include('mod_side_new_photosets.php');
include('mod_side_rate_models.php');
include('mod_side_rate_photosets.php');
include('mod_html_bottom.php');
?>