GIF89a;
| Direktori : /home/serb/public_html/m/ |
| Current File : /home/serb/public_html/m/send-appoinment.php |
<?
session_start();
//include("config.php");
include("lib/globals.php");
include("lib/common.php");
include("lib/functions.php");
/*$sql="SELECT * FROM page_content WHERE id='45'";
$res=execute_query($sql);
$row=mysql_fetch_array($res);*/
$page='join';
?>
<?
if($_POST)
{
/*$insertmail="INSERT into newsletter(id,estid,name,email,message,country,city,date,status)values('','".$_POST['estid']."','".$_POST['nickname']."','".$_POST['email']."','".$_POST['message']."','".$_POST['countryname']."','".$_POST['meetingcity']."','".$_POST['div3_example_result']."','u')";
execute_query($insertmail);*/
$sql_ename="select * from escort_details where id='".$_POST['estid']."'";
$res_ename=execute_query($sql_ename);
$row_ename=mysql_fetch_array($res_ename);
$pro_emailid=$row_ename['email'];
//$pro_emailid='subhrajyoti.mca11@gmail.com';
$contant=addslashes($_POST['message']);
$meetingdate=explode('/',$_POST['div3_example_result']);
$mtdt=$stdate=$_POST['startyear'].'/'.$_POST['startmonth'].'/'.$_POST['startdate'];
$to=$pro_emailid;
$senderemail=$_POST['email'];
$subject="You Have A Message From Escortservice User - ".' '.$_POST['nickname'];
$body="<html>
<head>
<title>Thank you for registering with Escortservice</title>
</head>
<body>
<div style='width:100%; height:700px; background:#ee6b9c;'>
<div style='width:550px; background:#fff; height:680px; margin-top:20px; border-radius:4px; margin:0 auto;'>
<h1 style='color:#a63661; font-size: 30px; text-align:center;' align='center'>Escortservice.org</h1>
<div style='margin-top:15px; margin:0 auto; width:500px; background:#f5d8e6; height:80px; text-align:center; color:#000; border-radius:4px; font-size:16px; font-weight:bold;'>
<br/>
Reminder about your message to <span style='color:#a63661; font-size:18px;'>".$row_ename['nickname']."</span> via<br/> Escortservice.org
</div>
<br/>
<div style='width:500px; margin:0 auto; margin-top:10px;'>
<table style='color:#000;'>
<tr>
<td>Meeting country:".$_POST['countryname']."</td>
</tr>
<tr>
<td>Meeting date:".$mtdt."</td>
</tr>
<tr>
<td>Your Name:".$_POST['nickname']."</td>
</tr>
<tr>
<td>Your Email:".$_POST['email']."</td>
</tr>
<tr>
</tr>
</table>
</div>
<br/>
<div style='margin-top:15px; margin:0 auto; width:500px; background:#f5ccde; text-align:center; color:#000; border-radius:4px; font-weight:bold;'>
<p style='color:#48293b; font-size: 18px; font-weight:bold; text-align:center;' align='center'>What shall you do if you get no answer?</p>
Sometimes, responses can take a bit of time as these providers can become very busy. If you do not receive a response within 48 hours, I would recommend you consider that they will contact you as soon as possible or send them one additional message. <br/><br/>
</div>
<br/>
<div style='margin-top:15px; font-weight:bold; height:150px; margin:0 auto; width:500px; background:#f5ccde; text-align:center; color:#000; border-radius:4px;'>
<p style='color:#48293b; font-size: 18px; font-weight:bold; text-align:center;' align='center'>This is a automated message please do not reply</p><br/>
If you want to contact this advertiser please use the send message buttton or SMS via phone number on ".$row_ename['nickname']." <br/><br/> If you have any technical questions write to our<span style='color:#a63661; font-size:18px;'> support team</span><br/><br/>
</div>
<div style='margin-top:15px; font-weight:bold; height:20px; margin:0 auto; width:500px; background:#f5ccde; text-align:center; color:#000; border-radius:4px;'>
</div>
</div>
</div>
</body>
</html>";
$bodyyy="\r\n\r\nUsername:".$_POST['nickname']."\r\nEmail:".$_POST['email']."\r\n\r\n Meeting Country:".$_POST['countryname']."\r\n\r\n Meeting City:".$_POST['meetingcity']."\r\n\r\n Meeting Date:".$mtdt."\r\n\r\n Message:".$contant;
$from=$_POST['email'];
$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($senderemail, $subject, $body, $headers);
mail($to, $subject, $bodyyy, $headers);
?>
<script language="javascript">
location.href="escort-details.php?estid=<?=$_POST['estid']?>";
</script>
<?
}?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="height=device-height,width=device-width,initial-scale=1.0,maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>Escort Service - Premiere Escort Listings,Escorts,Female Escorts,Models,Call Girls,GEF,Companions</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="themes/escserve.css" />
<link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" />
<link rel="stylesheet" href="jMobile.css" />
<script src="jquery.min.js"></script>
<script src="jqueryMobile.js"></script>
<script>
$('#frm').validate({
rules: {
userName: {
required: true
},
emailAddrs: {
required: true
}
},
messages: {
userName: {
required: "Please enter your first name."
},
emailAddrs: {
required: "Please enter your email."
}
},
errorPlacement: function (error, element) {
error.appendTo(element.parent().prev());
},
submitHandler: function (form) {
$(':mobile-pagecontainer').pagecontainer('change', '#success', {
reload: false
});
return false;
}
});
</script>
</head>
<body>
<div data-role="page" id="page" data-theme="d" data-transition="flip">
<div id="headerTop"></div>
<? include "includes/header.php";?>
<div data-role="content" id="searchboxx">
<div data-role="fieldcontain" id="ser" data-iconpos="right">
<input type="search" name="search-2" id="search-2" value="" />
</div>
</div>
<div data-role="content">
<h2 id="loginheadertext">Send Appoinment</h2>
<!--<h2 id="loginheadertext">Escortservice Registration</h2>-->
<!--<p id="alsignup">Do you have a promo code? <a href="#" data-transition="flip" id="loginnow">Redeem it now, before you register!</a></p>-->
<!-- <p id="loginalertmsg">
Please use your EscortService username and password to login bellow.
</p>
<p id="loginalertmsg">
Need to Register? <a href="join.html" id="jointextcolor" data-transition="flip" data-prefetch>Get Started Now!</a>
</p>-->
<form action="<?=$_SERVER['PHP_SELF']?>" method="post" name="frm" id="frm" data-ajax="false">
<input name="submit_form" value="1" type="hidden">
<label for="txt-cfpassword">What do you want to do with me?<span id="starcolor">*</span></label>
<textarea cols="40" rows="8" name="message" id="txt-cfpassword"></textarea>
<label for="txt-cfpassword">when do you want to do with me?<span id="starcolor">*</span></label>
<fieldset data-role="controlgroup" data-type="horizontal" data-mini="true">
<select name="startmonth" id="select-choice-month">
<option>Month</option>
<option value="">Month</option>
<option value="1">1: Jan</option>
<option value="2">2: Feb</option>
<option value="3">3: Mar</option>
<option value="4">4: Apr</option>
<option value="5">5: May</option>
<option value="6">6: Jun</option>
<option value="7">7: Jul</option>
<option value="8">8: Aug</option>
<option value="9">9: Sep</option>
<option value="10">10: Oct</option>
<option value="11">11: Nov</option>
<option value="12">12: Dec</option>
</select>
<label for="select-choice-date">Date</label>
<select name="startdate" id="select-choice-Date">
<option value="">Date</option>
<?
for($i=1; $i<=31; $i++){
?>
<option value="<?=$i?>"><?=$i?></option>
<? }?>
</select>
<label for="select-choice-year">Year</label>
<select name="startyear" id="select-choice-year">
<option value="">Year</option>
<?
for($i=1900; $i<=2040; $i++){
?>
<option value="<?=$i?>"><?=$i?></option>
<? }?>
<!-- etc. -->
</select>
</fieldset>
<h3 id="termconditionpost">Where do you want to do?</h3>
<label for="txt-password">Working Country:</label>
<select name="countryname" id="visitor_country" visible="1" >
<option value="" selected="selected">Select Country</option>
<?
$sql_country="select * from countries";
$country_res=execute_query($sql_country);
while($country_row=mysql_fetch_array($country_res)){
?>
<option value="<?=$country_row['ccode']?>" <? if($country_row['ccode']=='US'){ ?> selected="selected"<? } ?> ><?=$country_row['country']?></option>
<? }?>
</select>
<label for="txt-username">Meeting City Name:<span id="starcolor">*</span></label>
<input type="text" name="meetingcity" id="txt-username" value="">
<h3 id="termconditionpost">Tell me your nickname and email to reply</h3>
<label for="txt-username">Name:<span id="starcolor">*</span></label>
<input type="text" name="nickname" id="txt-username" value="">
<label for="txt-email">Email:<span id="starcolor">*</span></label>
<input type="email" name="email" id="txt-email" value="">
<input type="hidden" name="estid" value="<?=$_GET['estid']?>" />
<input type="image" src="continue.png" style="height:35px; margin-top:10px;">
</form>
<!--<a href="#dlg-invalid-credentials" data-rel="popup" data-transition="pop" data-position-to="window" id="btn-submit" ><img src="continue.png" style="height:35px; margin-top:10px;"></a>-->
<div data-role="popup" id="dlg-invalid-credentials" data-dismissible="false" style="max-width:400px;">
<div role="main" class="ui-content">
<h3 class="mc-text-danger">Login Failed</h3>
<p>Did you enter the right credentials?</p>
<div class="mc-text-center"><a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-b mc-top-margin-1-5">OK</a></div>
</div>
</div>
</div>
<div data-role="panel" data-display="push" data-position="right" data-theme="d" id="navMenu">
<? include "includes/right-menubar.php";?>
</div><!-- /panel -->
<div data-role="footer" >
<div id="footerTop">
<? include "includes/footer.php";?>
</div>
<div id="footerBottom"><p>Copyright 2015 ESCORTSERVICE.ORG | All Rights reserved.</p></div>
</div>
</div>
</body>
</html>