GIF89a;
| Direktori : /home/serb/www/ |
| Current File : /home/serb/www/fakereport-process.php |
<? session_start();
include("lib/globals.php");
include("lib/common.php");
include("lib/functions.php");
?>
<?
if($_POST)
{
if( $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) ) {
$sql_escort="select * from escort_details where id='".$_POST['estid']."'";
$res_escort=execute_query($sql_escort);
$row_escort=mysql_fetch_array($res_escort);
$pid=$row_escort['id'];
$pro_emailid='ataylor4600@gmail.com';
//$pro_emailid='subhrajyoti.mca11@gmail.com';
$contant=addslashes($_POST['urQuery']);
$to=$pro_emailid;
$subject="Fake Report about"." ".$row_escort['nickname']." "."at Escortservice.org";
$body="<html>
<head>
<title>Thank you for register with phoenixescorts</title>
</head>
<body>
<div style='width:100%; background:#2b0342;'>
<table style='border:1px soild #530f7c; padding:10px; margin:0 auto; color:#ffc400;'>
<tr><th>Fack Report</th></tr>
<tr><td><br/></td></tr>
<tr>
<td></td>
</tr>
<tr>
<td>Below You will find Report Details</td>
</tr>
<tr>
<td>Escortname:".$row_escort['nickname']."</td>
</tr>
<tr>
<td>Escort Id:".$row_escort['id']."</td>
</tr>
<tr>
<td>Escort City:".$row_escort['escort_city']."</td>
</tr>
<tr>
<td>Sender Name:".$_POST['userName']."</td>
</tr>
<tr>
<td>Sender Email:".$_POST['emailAddrs']."</td>
</tr>
<tr>
<td>Sender Information:".$contant."</td>
</tr>
<tr>
<td>click the link below:<a href='http://escortservice.org/reportescortdetails.php?id=$pid' style='color:#AD0066;'>Click Here</a></td>
</tr>
<tr>
</tr>
</table>
</div>
</body>
</html>";
$from=$_POST['emailAddrs'];
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'From: escortservice <support@escortservice.org>' . "\r\n";
mail($to, $subject, $body, $headers);
//sendEmail($to, $subject, $body);
$loc="fake-report.php?msg=1";
?>
<script language="javascript">
location.href="<?=$loc?>";
</script>
<?
}
else
{
$etid=$_POST['estid'];
$loc="fake-report.php?estid=$etid";
?>
<script language="javascript">
alert("Sorry, you have provided an invalid security code");
location.href="<?=$loc?>";
</script>
<?
}
}?>