File: /home/httpd/html/tubeshemale.com/public_html/includes/inc.report_comment.php
<?
session_start();
if(!$_GET[id]) { header("Location: index.php"); exit(); }
include('admin/db.php');
$_GET[id] = mysql_real_escape_string($_GET[id]);
mysql_query("INSERT INTO reported_comments (comment,ip) VALUES ('$_GET[id]','$_SERVER[REMOTE_ADDR]')");
$title = 'Report Comment';
include($basepath.'/templates/template.overall_header.php');
?>
<h3>Comment Reported</h3>
<p>Thank you, the comment you have selected has been reported as spam. <A href='javascript:history.go(-1);'>Click here to go back to the video</A>.</p>
<? include($basepath.'/templates/template.overall_footer.php');?>