GIF89a;
Direktori : /home/serb/www/ |
Current File : /home/serb/www/guys-service-dtls.php |
<? session_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); include("lib/pager.php"); ?> <? 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=$meetingdate[1].'/'.$meetingdate[2].'/'.$meetingdate[0]; $to=$pro_emailid; $senderemail=$_POST['email']; $subject="You Have A Message From Escortservice User - ".' '.$_POST['nickname']; $body="<html> <head> <title>Thank you for register 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> Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going <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 bottton or SMS via phone number on ".$row_ename['nickname']." <br/><br/> If you have any technical question 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"; sendEmail($senderemail, $subject, $body); sendEmail($to, $subject, $bodyyy); // mail($senderemail, $subject, $body, $headers); // mail($to, $subject, $bodyyy, $headers); ?> <script language="javascript"> location.href="escort-service-dtls.php?name=<?=$row_ename['nickname']?>&phone=<?=$row_ename['tel_national']?>&cityname=<?=$row_ename['escort_city']?>&reply=1"; </script> <? }?> <? include "includes/header_top.php";?> <link rel="stylesheet" href="css/elements.css" /> <script src="js/my_js.js"></script> <script src="css/modernizr.custom.js"></script> <link rel="stylesheet" href="css/lightbox.css" media="screen"/> <script src="css/lightbox-2.6.min.js"></script> <script language="javascript"> function opencalbox() { document.getElementById('avt1').style.display="none"; document.getElementById('avt22').style.display="block"; document.getElementById('avt23').style.display="none"; document.getElementById('avt24').style.display="none"; document.getElementById('avt25').style.display="none"; document.getElementById('avt26').style.display="none"; } function opencountry() { document.getElementById('avt1').style.display="none"; document.getElementById('avt22').style.display="none"; document.getElementById('avt23').style.display="block"; document.getElementById('avt24').style.display="none"; document.getElementById('avt25').style.display="none"; document.getElementById('avt26').style.display="none"; } function opennameemail() { document.getElementById('avt1').style.display="none"; document.getElementById('avt22').style.display="none"; document.getElementById('avt23').style.display="none"; document.getElementById('avt24').style.display="block"; document.getElementById('avt25').style.display="none"; document.getElementById('avt26').style.display="none"; } /*function openreply() { document.getElementById('avt1').style.display="none"; document.getElementById('avt22').style.display="none"; document.getElementById('avt23').style.display="none"; document.getElementById('avt24').style.display="none"; document.getElementById('avt25').style.display="block"; }*/ </script> <? if($_GET['reply']==1) {?> <body onLoad="div_show();"> <? } else {?> <body> <? } ?> <? include "includes/boys-header.php";?> <div class="main_bg"> <style> ul{ list-type: none; list-style: none; padding: 0; margin: 0; } .slider{ margin: 0 auto; width: 310px; height: 459px; border: 2px solid #f8e0e9; border-radius:1px; margin-left:17px; z-index:0; position:absolute; } .slider_next{ width: 32px; height: 62px; /*background: #f8f8f8;*/ border-radius: 70px; position: absolute; z-index: 99; top: 165px; left: 273px; padding: 5px 0 0 5px; cursor: pointer; } .slider_prev{ width: 32px; height: 62px; /*background: #f8f8f8;*/ border-radius: 70px; position:absolute; z-index: 99; top: 165px; left: -5px; padding: 5px 0 0 5px; cursor: pointer; } </style> <style type="text/css"> ul{ list-type: none; list-style: none; padding: 0; margin: 0; } #thumb222 { width: 100%; margin: 5px 0px; background: #F5E5EE; /*border: 2px solid #f8e0e9;*/ margin-left:0px !important; float:left !important; } #thumb222 li { width: 70px; float: left; display:inline; /*margin: 12px; */ margin-left:4px; margin-right:3px; margin-bottom:3px; list-style: none } #thumb li.activeSlide a { /*border: 1px solid #f8e0e9;*/ border-radius:3px; /*margin-bottom:3px;*/ /*box-shadow: 1px 1px 3px #333333;*/ } #thumb a:focus { outline: none; } #thumb li.activeSlide a img{ border: 1px solid #a2345e; border-radius:3px; /*box-shadow: 1px 1px 3px #333333;*/ } #thumb222 img { border: none; display: block; width: 70px !important; height:80px !important; margin-bottom:3px; } </style> <? $sql_escort="SELECT * FROM escort_details WHERE (nickname='".$_GET['name']."' AND tel_national='".$_GET['phone']."') OR id = '".$_GET['id']."'"; $res_escort=execute_query($sql_escort); $row_escort=mysql_fetch_array($res_escort); ?> <div style="height:32px; width:1000px;"> <? $hitdate=date('Y-m-d'); $sql_hitcount="SELECT * FROM escort_details WHERE id='".$row_escort['id']."'"; $res_hitcount=execute_query($sql_hitcount); $row_hitcount=mysql_fetch_array($res_hitcount); $up_hitcount=$row_hitcount['no_of_hit']+1; if(!$_GET['page']) { $sql_updatect="UPDATE escort_details SET no_of_hit='$up_hitcount',hit_date='$hitdate' WHERE id='".$row_escort['id']."'"; execute_query($sql_updatect); $sql_htinsert="INSERT INTO popularity(id,postid,nofhit,hitdate,gender)VALUES('','".$row_escort['id']."','1','$hitdate','".$row_escort['gender']."')"; execute_query($sql_htinsert); $deletdt = date("Y-m-d", time() - 10*24*60*60 ); $sql_dthit="DELETE FROM popularity WHERE (hitdate<'$deletdt') "; execute_query($sql_dthit); } ?> </div> <div style="width:1000px; margin:0 auto;"> <div class="estdetailscnt"> <? $page=$_GET["page"]; // get the pager class implemented $count_sql="select count(*) tot FROM escort_details WHERE (escort_city='".$_GET['cityname']."' OR LOWER(REPLACE(REPLACE(escort_city, ' ', '-'), '&', 'and')) LIKE '%".$_GET['cityname']."%') AND status='a' AND gender='Male'"; //print $count_sql; $count_rs=execute_query($count_sql); $count_row=mysql_fetch_array($count_rs); $count=$count_row['tot']; if($count > 0) { //print $count; $limit = 1; // work out the pager values $pager = Pager::getPagerData($count, $limit, $page); $offset = $pager->offset; $limit = $pager->limit; $page = $pager->page; } if($count > 0) { $sql="select * FROM escort_details WHERE (escort_city='".$_GET['cityname']."' OR LOWER(REPLACE(REPLACE(escort_city, ' ', '-'), '&', 'and')) LIKE '%".$_GET['cityname']."%') AND status='a' AND gender='Male' order by id limit $offset,$limit"; } else { $sql="select * FROM escort_details WHERE (escort_city='".$_GET['cityname']."' OR LOWER(REPLACE(REPLACE(escort_city, ' ', '-'), '&', 'and')) LIKE '%".$_GET['cityname']."%') AND status='a' AND gender='Male' order by id"; } $rs=execute_query($sql); $prod_cnt=0; while($rs2=mysql_fetch_array($rs)) { $escort_id=$rs2['id']; $item[$prod_cnt][0]=$rs2['id']; $item[$prod_cnt][1]=$rs2['nickname']; $item[$prod_cnt][2]=$rs2['escort_city']; $item[$prod_cnt][3]=$rs2['tel_national']; $item[$prod_cnt][4]=$rs2['slogan']; $prod_cnt++; } ?> <? if($_GET['page']) { $sql_msgprl="SELECT * FROM escort_details WHERE id='".$escort_id."' AND status='a' AND gender='Male'"; $escort=$escort_id; } else { $sql_msgprl="SELECT * FROM escort_details WHERE id='".$row_escort['id']."' AND status='a' AND gender='Male'"; $escort=$row_escort['id']; } //$sql_msgprl="SELECT * FROM post_ad WHERE id='".$_GET['postid']."'"; $res_estdtls=execute_query($sql_msgprl); $num_msgprl=mysql_num_rows($res_estdtls); $row=mysql_fetch_array($res_estdtls) ?> <? /*------REPORT(GRAPH) QUERIES STARTS-------*/ $report_insert_query = "INSERT INTO `USER_AD_REPORT` SET ad_id = '".$row['id']."' , user_id = '".$row['user_id']."' , ip_address = '".$_SERVER['REMOTE_ADDR']."' , add_date = now() "; execute_query($report_insert_query); /*------REPORT(GRAPH) QUERIES ENDS---------*/ ?> <div class="left_containest"> <div class="leftcnt_top2"> <? //echo $escort; if($prod_cnt > 0) { $citynameParsed = getUrlAttrib($row['escort_city']); $title = getTitle($row['slogan']); if($_GET['page']) { $url = "http://{$citynameParsed}.{$serverName}/MaleEscorts/{$row['nickname']}/{$title}/{$row['id']}"; //$url="guys-service-dtls.php?estid=".$escort."&nickname=".$row['nickname']."&tel_national=".$row['tel_national']."&cityname=".$row['escort_city']; } else { $url = "http://{$citynameParsed}.{$serverName}/MaleEscorts/{$row['nickname']}/{$title}/{$row['id']}"; //$url="guys-service-dtls.php?estid=".$row['id']."&nickname=".$_GET['nickname']."&tel_national=".$_GET['tel_national']."&cityname=".$_GET['cityname']; } ?> <table border="0" cellpadding="0" cellspacing="0" width="100%" style="margin:0 auto;" align="center"> <!-- Paging display Start Table 4--> <tbody> <tr height="10"></tr> <tr> <td width="183" align="center"> <? if ($page == 1) // this is the first page - there is no previous page echo " "; else // not the first page, link to the previous page echo "<a href=\"$url&page=" . ($page - 1) ."\"class=\"footer-link\" style='color:#aa0c88; text-decoration:none;'><img src='images/estprev.png' /></a>"; ?> <!--<img src="images/estprev.png" />--> </td> <td width="365" style="text-align:center; font-size:22px; font-weight:400; color:#000; font-family: 'Roboto Condensed',sans-serif;"> <?=$row['nickname']?> </td> <td width="178" align="center"> <? if ($page == $pager->numPages) // this is the last page - there is no next page echo " "; else // not the last page, link to the next page echo "<a href=\"$url&page=" . ($page + 1)."\"class=\"footer-link\" style='color:#aa0c88; text-decoration:none;'> <img src='images/estnext.png' /></a>"; ?> <!--<img src="images/estnext.png" />--> </td> </tr> </tbody> </table> <? } else { ?> <? } ?> </div> <div class="stdtls_midder"> <div class="leftct_midbot22"> <div style="height:15px;"></div> <div class="details_midone"> <div class="details_midoneleft"> <div class="leftdtltop"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <? if($_SESSION['userlogin']=="true") { if($_SESSION['acctype']=='hobbyist') { ?> <td> <a href="followescort-process.php?estid=<?=$row['id']?>"><img src="images/followme.png" /></a> </td> <? } else { ?> <td> <img src="images/followme.png" /> </td> <? } } else {?> <td> <a href="login.php?estid=<?=$row['id']?>"><img src="images/followme.png" /></a> </td> <? }?> <td width="7"></td> <td> <? if($_SESSION['userlogin']=="true") { if($_SESSION['acctype']=='hobbyist') { ?> <td> <a href="favioritescort-process.php?estid=<?=$row['id']?>"><img src="images/addfaviorit.png" /></a> </td> <? } else { ?> <td> <img src="images/addfaviorit.png" /> </td> <? } } else {?> <td> <a href="login.php?estid=<?=$row['id']?>"><img src="images/addfaviorit.png" /></a> </td> <? }?> </td> </tr> </table> </div> <div class="leftdtlmid"> <? $sql_photo="SELECT * FROM escort_photo where postid='".$row['id']."' ORDER By id DESC LIMIT 0 ,4"; $res_photo=execute_query($sql_photo); ?> <div class="slider"> <div id="slider1"> <? while($row_photo=mysql_fetch_array($res_photo)) { if($row_photo['picture']!="") {?> <img border="0" src="avtar/<?=$row_photo['picture']?>" style="position:static !important; padding:3px; max-height:453px !important; margin:0 auto; width:304px;" /> <? } else{?> <img border="0" src="images/No Image.gif" style="position:static !important; width:304px;" height="453" alt="jQuery Image slider" title="jQuery Image slider" /> <? } }?> </div> <!--<ul id="thumb" style="float:left !important;"> </ul>--> <div id='next' class="slider_next"><img border="0" src="images/next.png" width="32" height="57" alt="next image" /></div> <div id='prev' class="slider_prev"><img border="0" src="images/prev.png" width="32" height="57" alt="previous image" /></div> </div> </div> <div style="width:310px; height:120px; margin:0 auto; margin-top:5px; "> <? $sql_photooo="SELECT * FROM escort_photo where postid='".$row['id']."' ORDER By id LIMIT 0 ,4"; $res_photooo=execute_query($sql_photooo); $num_photooo=mysql_num_rows($res_photooo); ?> <ul id="thumb222" style="float:left !important;"> <? while($row_photoo=mysql_fetch_array($res_photooo)) {?> <li><a href="avtar/<?=$row_photoo['picture']?>" data-lightbox="example-set" ><img src="avtar/<?=$row_photoo['picture']?>" /></a></li> <? } ?> </ul> </div> <div class="leftdtlbot"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td class="createddate"> CREATED:<BR/> <? $date=explode('-',$row['creation_date']); echo $date[1].'/'.$date[2].'/'.$date[0]; ?> </td> <td class="createddate"> MODIFIED:<BR/> <? $date2=explode('-',$row['updatedate']); echo $date2[1].'/'.$date2[2].'/'.$date2[0]; ?> </td> <td class="createddate"> TOTAL VIEWS:<BR/> <?=$row['no_of_hit']?> </td> <td class="createddatelast"> THIS MONTH:<BR/> <?=$row['no_of_hit']?> </td> </tr> </table> </div> <div class="leftdtlbotvideo"> <? $sql_video="Select * from escort_details where user_id='".$row['user_id']."'"; $res_video=execute_query($sql_video); $num_video=mysql_num_rows($res_video); $row_profile=mysql_fetch_array($res_video); $video=explode("=",$row_profile['vid_you']); $vid_id=end($video); $vidoe="select * from default_video where id='1'"; $resvid=execute_query($vidoe); $rowvid=mysql_fetch_array($resvid); $def_vid=explode("=",$rowvid['video_url']); $vdef=end($def_vid); if($row_profile['vid_you']!="") { ?> <div style="width:342px; height:250px; margin:0 auto;"><? if($vid_id!=""){?> <iframe width="342" height="220" src="//www.youtube.com/embed/<?=$vid_id?>?modestbranding=1&rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe> <? }else if($row_profile['def_video']=='u'){?> <iframe width="342" height="280" src="//www.youtube.com/embed/<?=$vdef?>?modestbranding=1&rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe> <? } else {?> <div> </div> <? }?> </div> <? } else if($row_profile['vid_you2']!=""){?> <video width="342" controls> <source src="avtar/<?php echo $row_profile['vid_you2'];?>"> Your browser does not support HTML5 video. </video> <?php }?> </div> </div> <div class="details_midoneright"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td colspan="2" class="headertitletext"> Escort Info<br/><img src="images/estdtls_divider.png" /> </td> </tr> <tr height="10"></tr> <tr> <td class="dtlstextcolor">Ethnicity:</td> <td class="dtlstextcolor1"><?=$row['ethencity']?></td> </tr> <tr> <td class="dtlstextcolor">Gender:</td> <td class="dtlstextcolor1"><?=$row['gender']?></td> </tr> <tr> <td class="dtlstextcolor">Age:</td> <td class="dtlstextcolor1"><?=$row['age']?></td> </tr> <tr> <td class="dtlstextcolor">Height:</td> <td class="dtlstextcolor1"><?=$row['height']?></td> </tr> <tr> <td class="dtlstextcolor">Hair:</td> <td class="dtlstextcolor1"><?=$row['hair_color']?></td> </tr> <tr> <td class="dtlstextcolor">Eyes:</td> <td class="dtlstextcolor1"><?=$row['eye_color']?></td> </tr> <tr> <td class="dtlstextcolor">Languages:</td> <td class="dtlstextcolor1"><?=$row['language']?></td> </tr> <tr> <td class="dtlstextcolor"><img src="images/homeicon.png" />Incall:</td> <td class="dtlstextcolor1"><? if($row['incall']=='Yes'){ echo 'Yes';} else { echo 'No';}?></td> </tr> <tr> <td class="dtlstextcolor"><img src="images/caricon.png" />Outcall:</td> <td class="dtlstextcolor1"><? if($row['outcall']=='Yes'){ echo 'Yes';} else { echo 'No';}?></td> </tr> <tr> <td class="dtlstextcolor"><img src="images/caricon.png" />Travel:</td> <td class="dtlstextcolor1"><? if($row['travel']=='Yes'){ echo 'Yes';} else { echo 'No';}?></td> </tr> <tr> <td class="dtlstextcolor">Orientation:</td> <td class="dtlstextcolor1"><?=$row['orientation']?></td> </tr> <tr> <td class="dtlstextcolor">Meeting Width:</td> <td class="dtlstextcolor1"><?=$row['meeting_men']?> <?=$row['meeting_wm']?> <?=$row['meeting_cup']?> <?=$row['meeting_trans']?> <?=$row['meeting_gays']?></td> </tr> <tr height="22"></tr> <tr> <td colspan="2" class="headertitletext"> About me<br/><img src="images/estdtls_divider.png" /> </td> </tr> <tr height="10"></tr> <tr> <td colspan="2" class="dtlstextcolor"><?=stripslashes($row['description'])?></td> </tr> <tr height="22"></tr> <tr> <td colspan="2" class="headertitletext"> Contacts<br/><img src="images/estdtls_divider.png" /> </td> </tr> <tr height="10"></tr> <tr> <td class="dtlstextcolor">Base City:</td> <td class="dtlstextcolor1"><?=$row['escort_city']?></td> </tr> <tr> <td class="dtlstextcolor">Phone:</td> <td class="dtlstextcolor1"><?=$row['tel_national']?></td> </tr> <tr> <td class="dtlstextcolor">Email:</td> <td class="dtlstextcolor1" style="text-decoration:underline;">Contact Me</td> </tr> <tr> <td class="dtlstextcolor">Message:</td> <td class="dtlstextcolor1" style="text-decoration:underline;">Send private message</td> </tr> <tr> <td class="dtlstextcolor">Web:</td> <td class="dtlstextcolor1"><?=$row['website']?></td> </tr> <? if($row['travel_area']!="") {?> <tr> <td colspan="2" class="headertitletext"> Travel<br/><img src="images/estdtls_divider.png" /> </td> </tr> <tr height="10"></tr> <tr> <td colspan="2"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <? $sql_men="select * from escort_details WHERE id='".$row['id']."' AND travel_area like '%USA%'" ; $res_men=execute_query($sql_men); $num_men=mysql_num_rows($res_men); ?> <td class="traveltd"> <? if($num_men>0){ ?> <img src="images/signuparrow.png" /> <? } else{ ?> <img src="images/nontravelarea.png" /> <? } ?> USA </td> <? $sql_cim="select * from escort_details WHERE id='".$row['id']."' AND travel_area like '%Scandinavia%'" ; $res_cim=execute_query($sql_cim); $num_cim=mysql_num_rows($res_cim); ?> <td class="traveltd"><? if($num_cim>0){ ?> <img src="images/signuparrow.png" /> <? } else{ ?> <img src="images/nontravelarea.png" /> <? } ?> Scandinavia </td> <? $sql_dom="select * from escort_details WHERE id='".$row['id']."' AND travel_area like '%Asia%'" ; $res_dom=execute_query($sql_dom); $num_dom=mysql_num_rows($res_dom); ?> <td class="traveltd"><? if($num_dom>0){ ?> <img src="images/signuparrow.png" /> <? } else{ ?> <img src="images/nontravelarea.png" /> <? } ?> Asia</td> </tr> <tr> <? $sql_cob="select * from escort_details WHERE id='".$row['id']."' AND travel_area like '%Canada%'" ; $res_cob=execute_query($sql_cob); $num_cob=mysql_num_rows($res_cob); ?> <td class="traveltd"><? if($num_cob>0){ ?> <img src="images/signuparrow.png" /> <? } else{ ?> <img src="images/nontravelarea.png" /> <? } ?> Canada </td> <? $sql_we="select * from escort_details WHERE id='".$row['id']."' AND travel_area like '%Westerneurope%'" ; $res_we=execute_query($sql_we); $num_we=mysql_num_rows($res_we); ?> <td class="traveltd"><? if($$num_we>0){ ?><img src="images/signuparrow.png" /> <? } else{ ?> <img src="images/nontravelarea.png" /> <? } ?> Western Europe </td> <? $sql_deep="select * from escort_details WHERE id='".$row['id']."' AND travel_area like '%Africa%'" ; $res_deep=execute_query($sql_deep); $num_deep=mysql_num_rows($res_deep); ?> <td class="traveltd"><? if($num_deep>0){ ?> <img src="images/signuparrow.png" /> <? } else{ ?> <img src="images/nontravelarea.png" /> <? } ?> Africa </td> </tr> <tr> <? $sql_facial="select * from escort_details WHERE id='".$row['id']."' AND travel_area like '%Caribbean%'" ; $res_facial=execute_query($sql_facial); $num_facial=mysql_num_rows($res_facial); ?> <td class="traveltd"><? if($num_facial>0){ ?> <img src="images/signuparrow.png" /> <? } else{ ?> <img src="images/nontravelarea.png" /> <? } ?>Caribbean </td> <? $sql_foot="select * from escort_details WHERE id='".$row['id']."' AND travel_area like '%Eastern Europe%'" ; $res_foot=execute_query($sql_foot); $num_foot=mysql_num_rows($res_foot); ?> <td class="traveltd"><? if($num_foot>0){ ?> <img src="images/signuparrow.png" /> <? } else{ ?> <img src="images/nontravelarea.png" /> <? } ?> Eastern Europe </td> <? $sql_french="select * from escort_details WHERE id='".$row['id']."' AND travel_area like '%Middle East%'" ; $res_french=execute_query($sql_french); $num_french=mysql_num_rows($res_french); ?> <td class="traveltd"><? if($num_french>0){ ?><img src="images/signuparrow.png" /><? } else{ ?> <img src="images/nontravelarea.png" /> <? } ?> Middle East</td> </tr> <tr> <? $sql_lap="select * from escort_details WHERE id='".$row['id']."' AND travel_area like '%latinamerica%'" ; $res_lap=execute_query($sql_lap); $num_lap=mysql_num_rows($res_lap); ?> <td class="traveltd"><? if($num_lap>0){ ?> <img src="images/signuparrow.png" /> <? } else{ ?> <img src="images/nontravelarea.png" /> <? } ?> Latin America </td> <? $sql_masssage="select * from escort_details WHERE id='".$row['id']."' AND travel_area like '%australia%'" ; $res_massage=execute_query($sql_masssage); $num_massage=mysql_num_rows($res_massage); ?> <td class="traveltd"><? if($num_massage>0){ ?> <img src="images/signuparrow.png" /> <? } else{ ?> <img src="images/nontravelarea.png" /> <? } ?>Australia</td> </tr> </table> </td> </tr> <? } ?> <tr height="22"></tr> <? $todaydate=date('Y-m-d'); $sql_count="SELECT * FROM escort_tours WHERE postid='".$row['id']."' and (end_date>=$todaydate)"; $res_count=execute_query($sql_count); $num_count=mysql_fetch_array($res_count); if($num_count>0) {?> <tr> <td colspan="2" class="headertitletext"> Escort Tours<br/><img src="images/estdtls_divider.png" /> </td> </tr> <tr height="10"></tr> <tr> <td colspan="2"> <div class="tourlistdiv"> <table border="0" cellpadding="0" cellspacing="0" style="width:480px;"> <tr> <th width="120" class="updatehdrtour">DATE</th> <th width="240" class="updatehdrtour">LOCATION</th> <th width="120" class="updatehdrtour">PHONE</th> </tr> <tr> <td colspan="3" class="tabledivider"></td> </tr> </table> <div style="width:480px; margin:0 auto;"> <table border="0" cellpadding="0" cellspacing="0"> <? $sql_tourlist="SELECT * FROM escort_tours where postid='".$row['id']."'"; $res_tourlist=execute_query($sql_tourlist); while($row_tourlist=mysql_fetch_array($res_tourlist)) { $startdate=explode('-',$row_tourlist['start_date']); $enddate=explode('-',$row_tourlist['end_date']); ?> <tr height="5"></tr> <tr> <td width="120" class="updatehdrstyletour"> <? echo $startdate[1].'/'.$startdate[2].'/'.$startdate[0] ?><br/> <? echo $enddate[1].'/'.$enddate[2].'/'.$enddate[0] ?> </td> <td width="240" class="updatehdrstyletour"> <?=$row_tourlist['city']?> </td> <td width="120" class="updatehdrstyletour"> <?=$row_tourlist['phone']?><br/><?=$row_tourlist['instruction']?> </td> </tr> <tr> <td colspan="3" class="tabledivider"></td> </tr> <? } ?> </table> </div> </div> </td> </tr> <? }?> <tr height="25"></tr> </table> </div> <br class="spacer" /> </div> <div class="details_midtwo"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td><img src="images/showreview.png" /></td> <td width="13"></td> <td><img src="images/meetescorts.png" onclick ="div_show()"/></td> <td width="4"></td> <td><img src="images/sendpm.png" /></td> <td width="20"></td> <td><a href="fake-report.php?estid=<?=$row['id']?>"><img src="images/reportfack.png" /></a></td> </tr> </table> </div> <div class="details_botom"></div> </div> <br class="spacer" /> </div> <div class="stdtls_footer"></div> </div> <? if($_GET['reply']) { ?> <div id="abc"> <div id="popupContact"> <div class="popupProfilePic"> <? $sql_pic="SELECT * FROM escort_photo where postid='".$row['id']."' ORDER By id DESC LIMIT 0 ,4"; $res_pic=execute_query($sql_pic); $row_pic=mysql_fetch_array($res_pic) ?> <img src="avtar/<?=$row_pic['picture']?>" /> </div> <div class="contactin" > <!--<form action="sendmail-process.php" method="post" id="form11" name="f1" onSubmit="return validate();" >--> <form id="messageform" class="contact_form" name="contact_form" accept-charset="utf-8" method="post" action="<?=$_SERVER['PHP_SELF']?>" > <!--<h2>Email <?=$row['user_name_screen']?></h2><hr/>--> <div class="deliveredmsg" id="avt25"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;"> <tr> <td class="wanttext"> <span class="messagetext">MESSAGE</span> <br />to <?=$row['nickname']?> <br/><span class="deliveredtextcolor">has been delivered!</span> </td> </tr> <tr height="10"></tr> <tr> <td> <div class="replytext"> I will reply as soon as possible!<br/> <?=$row['nickname']?> </div> </td> </tr> <tr height="10"></tr> <tr> <td align="center"> <a href="escort-service-dtls.php?name=<?=$row['nickname']?>&phone=<?=$row['tel_national']?>&cityname=<?=$row['escort_city']?>"><img src="images/close.png" /></a> </td> </tr> <tr height="20"> <td></td> </tr> </table> </div> </form> </div> </div> </div> <? } else {?> <div id="abc"> <div id="popupContact"> <div class="popupProfilePic"> <? $sql_pic="SELECT * FROM escort_photo where postid='".$row['id']."' ORDER By id DESC LIMIT 0 ,4"; $res_pic=execute_query($sql_pic); $row_pic=mysql_fetch_array($res_pic) ?> <img src="avtar/<?=$row_pic['picture']?>" /> </div> <div class="contactin" > <!--<form action="sendmail-process.php" method="post" id="form11" name="f1" onSubmit="return validate();" >--> <form id="messageform" class="contact_form" name="contact_form" accept-charset="utf-8" method="post" action="<?=$_SERVER['PHP_SELF']?>" > <!--<h2>Email <?=$row['user_name_screen']?></h2><hr/>--> <div id="avt1" class="msgcontain"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;"> <tr> <td class="wanttext"> What do you want to do with me? <br /> </td> </tr> <tr height="5"></tr> <tr> <td> <textarea name="message" style="background: linear-gradient(to bottom, #dedede 0px, #fff 100%) repeat scroll 0 0 rgba(0, 0, 0, 0) !important; width:240px !important; height:150px; border: 1px solid #9b9b9b; border-radius: 5px; box-shadow: 0 2px 3px -1px #b7b7b7 inset; color: #444;"></textarea> </td> </tr> <tr> <td align="center"> <a href="escort-service-dtls.php?name=<?=$row['nickname']?>&phone=<?=$row['tel_national']?>&cityname=<?=$row['escort_city']?>"><img src="images/cancel.png" /></a> <img src="images/popupnext.png" onClick="opencalbox()" /></td> </tr> </table> </div> <div class="calenderbox" id="avt22" style="display:none;"> <link rel="stylesheet" type="text/css" media="all" href="css/jsDatePick_ltr.min.css" /> <script type="text/javascript" src="js/jsDatePick.jquery.min.1.3.js"></script> <script type="text/javascript"> window.onload = function(){ g_globalObject = new JsDatePick({ useMode:1, isStripped:true, target:"div3_example" /*selectedDate:{ This is an example of what the full configuration offers. day:5, For full documentation about these settings please see the full version of the code. month:9, year:2006 }, yearsRange:[1978,2020], limitToToday:false, cellColorScheme:"beige", dateFormat:"%m-%d-%Y", imgPath:"img/", weekStartDay:1*/ }); g_globalObject.setOnSelectedDelegate(function(){ var obj = g_globalObject.getSelectedDay(); alert("a date was just selected and the date is : " + obj.day + "/" + obj.month + "/" + obj.year); document.getElementById('div3_example_result').value = obj.year + "/" + obj.month + "/" + obj.day; }); g_globalObject2 = new JsDatePick({ useMode:1, isStripped:false, target:"div4_example", cellColorScheme:"beige" /*selectedDate:{ This is an example of what the full configuration offers. day:5, For full documentation about these settings please see the full version of the code. month:9, year:2006 }, yearsRange:[1978,2020], limitToToday:false, dateFormat:"%m-%d-%Y", imgPath:"img/", weekStartDay:1*/ }); g_globalObject2.setOnSelectedDelegate(function(){ var obj = g_globalObject2.getSelectedDay(); /*alert("a date was just selected and the date is : " + obj.day + "/" + obj.month + "/" + obj.year);*/ document.getElementById('div3_example_result').value = obj.year + "/" + obj.month + "/" + obj.day; }); }; </script> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;"> <tr> <td class="wanttext"> When do you want to do? <br /> </td> </tr> <tr height="5"></tr> <tr> <td> <div id="div4_example" style="margin-bottom:5px; opacity:0.75; width:230px; height:200px;"> </div> <input type="hidden" name="div3_example_result" id="div3_example_result" /> <!--<div id="div3_example_result" style="height:20px; line-height:20px; margin:10px 0 0 0; border:dashed 1px #666;"></div>--> <!--<textarea name="datetime" style="background: linear-gradient(to bottom, #dedede 0px, #fff 100%) repeat scroll 0 0 rgba(0, 0, 0, 0) !important; width:240px !important; height:150px; border: 1px solid #9b9b9b; border-radius: 5px; box-shadow: 0 2px 3px -1px #b7b7b7 inset; color: #444;"></textarea> --> </td> </tr> <tr height="15"></tr> <tr> <td align="center"><a href="escort-service-dtls.php?name=<?=$row['nickname']?>&phone=<?=$row['tel_national']?>&cityname=<?=$row['escort_city']?>"><img src="images/cancel.png" /></a> <img src="images/popupnext.png" onClick="opencountry()" /></td> </tr> </table> </div> <div class="locationmsg" id="avt23" style="display:none;"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;"> <tr> <td class="wanttext"> Where do you want to do? <br /> </td> </tr> <tr height="5"></tr> <tr> <td> <select name="countryname" style="width:230px !important;" id="state_dropdown" class="drp_img2" onChange="selectState(this.options[this.selectedIndex].value)"> <option value="-1">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($row_postad['country_name']==$country_row['ccode']){ ?> selected="selected"<? } ?> ><?=$country_row['country']?></option> <? }?> </select> </td> </tr> <tr height="10"></tr> <tr> <td> <input type="text" name="meetingcity" value="City" onBlur="if(this.value==''){this.value='City'}" onClick="if(this.value=='City'){this.value=''}" class="main_input" style="width:220px !important;" /> </td> </tr> <tr height="10"></tr> <tr> <td align="center"><a href="escort-service-dtls.php?name=<?=$row['nickname']?>&phone=<?=$row['tel_national']?>&cityname=<?=$row['escort_city']?>"><img src="images/cancel.png" /></a> <img src="images/popupnext.png" onClick="opennameemail()" /></td> </tr> </table> </div> <div class="nameemail" id="avt24" style="display:none;"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;"> <tr> <td class="wanttext"> Tell me your nickname and email to reply <br /> </td> </tr> <tr height="5"></tr> <tr> <td> <input type="text" name="nickname" value="Nickname" onBlur="if(this.value==''){this.value='Nickname'}" onClick="if(this.value=='Nickname'){this.value=''}" class="main_input" style="width:220px !important;" /> </td> </tr> <tr height="10"></tr> <tr> <td> <input type="text" name="email" value="Email" onBlur="if(this.value==''){this.value='Email'}" onClick="if(this.value=='Email'){this.value=''}" class="main_input" style="width:220px !important;" /> </td> </tr> <tr height="10"></tr> <tr> <td align="center"> <input type="image" src="images/submit.png" /> <input type="hidden" name="estid" value="<?=$row['id']?>" /> </td> </tr> <tr height="10"></tr> </table> </div> <div class="deliveredmsg" id="avt25" style="display:none;"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;"> <tr> <td class="wanttext"> <span class="messagetext">MESSAGE</span> <br />to <?=$row['nickname']?> <br/><span class="deliveredtextcolor">has been delivered!</span> </td> </tr> <tr height="10"></tr> <tr> <td> <div class="replytext"> I will reply as soon as possible!<br/> <?=$row['nickname']?> </div> </td> </tr> <tr height="20"> <td></td> </tr> </table> </div> </form> </div> </div> </div> <? } ?> <!--/*****start right_contain*****/--> <!--/*****end right_contain*****/--> <br class="spacer" /> </div> <br/><br/> </div> </div> <? include "includes/footer.php";?> <script type="text/javascript" src="js/jquery.cycle.all.js"></script> <script language="javascript"> $(document).ready(function(){ $('#slider1').cycle({ fx: 'scrollHorz', //'scrollLeft,scrollDown,scrollRight,scrollUp',blindX, blindY, blindZ, cover, curtainX, curtainY, fade, fadeZoom, growX, growY, none, scrollUp,scrollDown,scrollLeft,scrollRight,scrollHorz,scrollVert,shuffle,slideX,slideY,toss,turnUp,turnDown,turnLeft,turnRight,uncover,ipe ,zoom speed: 'slow', timeout: 0, next: '#next', prev: '#prev', pager: '#thumb', pagerAnchorBuilder: function(idx, slide) { return '<li><a href="#"><img src="' + slide.src + '" width="60" height="60" /></a></li>'; } }); }); </script>