GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/
Upload File :
Current File : /home/serb/public_html/escort-service-dtls.old.php

<?	session_start();
	include("lib/globals.php");
 	include("lib/common.php");	
 	include("lib/functions.php");
	include("lib/pager.php");
	include"lib/SimpleImage.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 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);
		sendEmail($senderemail, $subject, $body);
		sendEmail($to, $subject, $bodyyy);
		
		
	
	?>
    	<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>
<!--<link rel="stylesheet" href="css/responsiveslides.css">
<link rel="stylesheet" href="css/demo.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="js/responsiveslides.min.js"></script>-->
 <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;
			margin-left:0px !important;
			float:left !important;
			text-align: center;
		}

		#thumb222 li { 
			width: 70px; 
			height: 70px;
			display:inline-block;
			margin: 2px;
			vertical-align: middle;
			list-style: none;
		}
		
		#thumb222 li div {
			display: -webkit-box;
			display: -moz-box;
			display: -ms-flexbox;
			display: -webkit-flex;
			display: flex;
			-webkit-box-align: center;
			-webkit-align-items: center;
			-webkit-align-self: center;
			align-content: center;
			align-self: center;
			align-items: center;
			height: 70px;
			overflow: hidden;
		}

		#thumb li.activeSlide a { 
			/*border: 1px solid #f8e0e9;*/
			border-radius:3px;
			/*margin-bottom:3px;*/
			/*box-shadow: 1px 1px 3px #333333;*/
		}
		
		#thumb222 li a {
			display: inline-block;
			overflow: hidden;
			text-align: center;
		}
		
		#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;
			text-align: center;
			width: 100%;
		}
		
		
		
		</style>
<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>				

<body>

 <? include "includes/details-header.php";?>
  
    <div class="main_bg">
    
       			 <?
					$sql_escort="select * from escort_details where (nickname='".$_GET['name']."' AND tel_national='".$_GET['phone']."') OR id='".addslashes($_GET['id'])."' AND status='a' ";
					$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'])
				{
					if($_GET['back']!=1)
					{
					$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() - 1*24*60*60 );
					$sql_dthit="DELETE from popularity where (hitdate<'$deletdt') ";
					execute_query($sql_dthit);
					
					$sql_dthitt="DELETE from popularity where postid='0' ";
					execute_query($sql_dthitt);
					
					}
				}
			?>
        
        </div>
        <div  style="width:1000px; margin:0 auto;">
        		     
				<div class="estdetailscnt">
                	<?  /*     
						$page=isset($_GET["page"]) ? $_GET["page"] : 1;
				// get the pager class implemented
						$cityName = ucwords(str_replace('-', ' ', $_GET['cityname']));
						 $count_sql="select count(*) tot FROM escort_details WHERE (escort_city='".$_GET['cityname']."' OR escort_city='".$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 escort_city='".$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 escort_city='".$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'];
						   $item[$prod_cnt][5]=$rs2['gender'];						   
						   $prod_cnt++;
						 }
                    ?>
			  		<?
								if($_GET['page'])
									{
									$sql_msgprl="SELECT * FROM escort_details WHERE id='".$escort_id."' AND status='a' AND gender!='Male' order by id";
									$escort=$escort_id;
									}
									else
									{
									 $sql_msgprl="SELECT * FROM escort_details WHERE id='".$row_escort['id']."' AND status='a' AND gender!='Male' order by id";
									 $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_escort['id']."'
										  ,	user_id 	= '".$row_escort['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">
                           	<?php
                           	$nextSql = "SELECT * 
                           				FROM escort_details 
                           				WHERE 
                           					(escort_city='".$_GET['cityname']."' OR escort_city='".$cityName."') AND 
                           					status='a' AND gender!='Male' AND
                           					id > {$row_escort['id']}
                           				ORDER BY id
                           				LIMIT 1
                           			";
                           	$rsNext = execute_query($nextSql);
                           	$nextEscort = mysql_fetch_array($rsNext, MYSQL_ASSOC);

                           	$previousSql = "SELECT * 
                           				FROM escort_details 
                           				WHERE 
                           					(escort_city='".$_GET['cityname']."' OR escort_city='".$cityName."') AND 
                           					status='a' AND gender!='Male' AND
                           					id < {$row_escort['id']}
                           				ORDER BY id DESC
                           				LIMIT 1
                           			";
                           	$rsPrevious = execute_query($previousSql);
                           	$previousEscort = mysql_fetch_array($rsPrevious, MYSQL_ASSOC);

               						if(true) {
									  	$citynameParsed = $_GET['cityname'];
               							if ($nextEscort) {
				                        	$title = getTitle($nextEscort['slogan']);
				                        	$nickname = getTitle($nextEscort['nickname']);
				                        	$url = "http://{$citynameParsed}.{$serverName}/".ucfirst($nextEscort['gender'])."Escorts/{$nickname}".($title ? "/{$title}" : null)."/{$nextEscort['id']}";
				                        }

				                        if ($previousEscort) {
				                        	$title = getTitle($previousEscort['slogan']);
				                        	$nickname = getTitle($previousEscort['nickname']);
				                        	$backurl = "http://{$citynameParsed}.{$serverName}/".ucfirst($previousEscort['gender'])."Escorts/{$nickname}".($title ? "/{$title}" : null)."/{$previousEscort['id']}";
				                        }
				                            
										  // if($_GET['page']) {
											 //  $url="escort-service-dtls.php?estid=".$escort."&nickname=".$row['nickname']."&tel_national=".$row['tel_national']."&cityname=".$row['escort_city'];
										  // } else {
											 //  $url="escort-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">
                                            <?php      
                                            	if (!$previousEscort) // this is the first page - there is no previous page 
													echo "&nbsp;";  
												else            // not the first page, link to the previous page 
													echo "<a href=\"$backurl\" 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;">
                                            <?php echo $row_escort['nickname']; ?>
                                        </td>
                                    	<td width="178" align="center">                            
                                        <?php
                                        	if (!$nextEscort) // this is the last page - there is no next page 
												echo "&nbsp;";  
											else        // not the last page, link to the next page 
												echo "<a href=\"$url\" class=\"footer-link\" style='color:#aa0c88; text-decoration:none;'>&nbsp;<img src='images/estnext.png' /></a>";  
										?>
                                           <!--<img src="images/estnext.png" />-->
                                          </td>
                                        </tr>
                                      </tbody>
                                    </table>
                            <? 
								  }
								  else
								  {
										?>
									&nbsp;
									<? 
								  }
							
							
							
							?>
                           </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_escort['id']?>"><img src="images/followme.png" /></a>
															
																 </td>
                                                                <? 
															
														 } 
														else
														{
														?>
                                                    	<td>
                                                      
															
                                                        
                                                        </td>
                                                        <? }
                                                    } else
														{?>
															
                                                            <td>
                                                      
															<a href="login.php?estid=<?=$row_escort['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_escort['id']?>"><img src="images/addfaviorit.png" /></a>
															
																 </td>
                                                                <? 
															
														 } 
														else
														{
														?>
                                                    	<td>
                                                      
															
                                                        
                                                        </td>
                                                        <? }
                                                    } else
														{?>
															
                                                            <td>
                                                      
															<a href="login.php?estid=<?=$row_escort['id']?>"><img src="images/addfaviorit.png" /></a>
                                                        
                                                        </td>
                                                            
														<? }?>
                                                        
                                                        
                                                        </td>
                                                    </tr>
                                                </table> 
                                            </div>
                                            <div <? if($row_escort['ft_ad_status']=='Yes') { ?> class="leftdtlmid222" <? } else {?> class="leftdtlmid" <? } ?>>
                                            	<?
											
												   if($row_escort['ft_ad_status']=='Yes')
													 {
													$sql_photo="SELECT * FROM escort_photo where postid='".$row_escort['id']."' ORDER By id  LIMIT 0 ,8";
													 }
													 else
													 {
														 $sql_photo="SELECT * FROM escort_photo where postid='".$row_escort['id']."' ORDER By id  LIMIT 0 ,4";
													 }
													$res_photo=execute_query($sql_photo);
													$num_photo=mysql_num_rows($res_photo);
												
												?>
                                                <div class="slider">
                                                     <div id="slider1" style="height:459px !important;">
                                                        <?
														if($num_photo>0)
														{
														
														
															 while($row_photo=mysql_fetch_array($res_photo))
															  {
																 if($row_photo['picture']!="")
																 {?>
																<div style="position:absolute !important; padding:3px; height:450px; overflow:hidden; margin:0 auto; width:304px;text-align:center;">
																	<div style="display: -webkit-box;display: -moz-box;display: -ms-flexbox;display: -webkit-flex;display: flex;-webkit-box-align: center;-webkit-align-items:center;-webkit-align-self:center;align-content: center;align-self: center;align-items: center;height: 450px;">
																		<img border="0" src="avtar/<?=$row_photo['picture']?>" style="width:100%;position:relative;" />
																	</div>
																</div>
																<? } else{?>
																<div style="position:absolute !important; padding:3px; height:450px; overflow:hidden; margin:0 auto; width:304px;text-align:center;">
																	<div style="display: -webkit-box;display: -moz-box;display: -ms-flexbox;display: -webkit-flex;display: flex;-webkit-box-align: center;-webkit-align-items:center;-webkit-align-self:center;align-content: center;align-self: center;align-items: center;height: 450px;">
																		<img border="0" src="images/No Image.gif" style="width:100%;position:relative;" />
																	</div>
																</div>
																<? } 
																
															
															  }
														  
														}else
															{?>
															<div style="position:absolute !important; padding:3px; height:453px; margin:0 auto; width:304px;text-align:center;">
																<img border="0" src="images/No Image.gif" alt="jQuery Image slider" title="jQuery Image slider" />
															</div>
															<? }?>
																  
                                                          
                                                                                                              
                                                    </div>
                                                  <? if($row_escort['verifyimg']=='a')
													 {?>
                            
                                                    <div style="width:320px; text-align:right; margin-top:-100px; position:absolute; z-index:9;">
											     		<img src="images/verifi.png" />
                                                 	</div>
                                                    <? } ?>
                            
                                                    <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>
                                                
                                                
                                                
                                                
                                                
                                            	<?php /*?><div class="slider">
                                                     <div id="slider1">
                                                        <?
														if($num_photo>0)
														{
														
														
															 while($row_photo=mysql_fetch_array($res_photo))
															  {
																 if($row_photo['picture']!="")
																 {
																	  $image = new SimpleImage();
																 $image->load('avtar/'.$row_photo['picture']);
																 $image->resizeToWidth(340);
																 
																 $image->save('thumb/'.$row_photo['picture']);
																	 
																	 ?>
																<img border="0" src="thumb/<?=$row_photo['picture']?>" style="position:static !important; padding:3px; margin:0 auto; width:304px;"  height="453" alt="jQuery Image slider" title="jQuery Image slider" />
																<? } 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" />
																<? } 
																
															
															  }
														  
														}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><?php */?>
                                            
                                            </div>
                                             <div style="width:310px; height:120px; margin:0 auto; margin-top:5px; ">
                                                    	<?
                                                        $sql_photooo="SELECT * FROM escort_photo where postid='".$row_escort['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))
														{if($row_photoo['picture']!="")
															{
															?>
                                                        	<li><div><a href="avtar/<?=$row_photoo['picture']?>" data-lightbox="example-set" ><img src="avtar/<?=$row_photoo['picture']?>" /></a></div></li>
                                                        <? 	}
														else
														{?>
                                                        <li><a  href="images/No Image.gif" data-lightbox="example-set" ><img src="images/No Image.gif" /></a></li>
                                                        
                                                        <? } 
														 } ?>
                                                        
                                                         </ul>
                                                    
                                            </div>
                                            <?php /*?><? if($row_escort['verifyimg']=='a')
											{?>
                                            <div style="width:310px; height:82px; margin:0 auto; ">
                                            	<img src="images/verifi.png" />
                                            </div>
                                            <? } ?><?php */?>
                                            
                                            <div class="leftdtlbot">
                                            	<table border="0" cellpadding="0" cellspacing="0">
                                                	<tr>
                                                    	<td class="createddate">
                                                        	CREATED:<BR/>
                                                            <? $date=explode('-',$row_escort['creation_date']);
															   echo $date[1].'/'.$date[2].'/'.$date[0];
															
															 ?>
                                                        </td>
                                                        <td class="createddate">
                                                        	MODIFIED:<BR/>
                                                            <? $date2=explode('-',$row_escort['updatedate']);
															   echo $date2[1].'/'.$date2[2].'/'.$date2[0];
															
															 ?>
                                                        </td>
                                                        <td class="createddatelast">
                                                        	TOTAL VIEWS:<BR/>
                                                            <?=$row_escort['no_of_hit']?>
                                                        </td>
                                                       <!-- <td class="createddatelast">
                                                        	THIS MONTH:<BR/>
                                                            <?=$row_escort['no_of_hit']?>
                                                        </td>-->
                                                    </tr>
                                                </table>
                                            
                                            </div>
                                            <div class="leftdtlbotvideo">
                                            	 <?
													$sql_video="Select * from escort_details where user_id='".$row_escort['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>&nbsp;</div>
												<? }?>
                                               </div>
                                               <? } ?>
                                                                                    
                                             </div>
                                        </div>
                                        <div class="details_midoneright">
                                        <?
											   if($row_escort['ft_ad_status']=='Yes')
												 {
													$todatee=date('Y-m-d'); 
													 if($todatee<$row_escort['ft_ad_expair'])
														 {
														 ?>
														<div style="width:480px; height:190px; text-align:right; margin-top:50px; position:absolute; z-index:3;">
														  <img src="images/vip.png" style="width:179px; height:184px; padding-top:2px; margin-right:5px;" />
                                                        </div>
												     <? }
											  
											      } ?>
                                        
                                        	<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_escort['ethencity']?></td>
                                                </tr>
                                                <tr>
                                                	<td class="dtlstextcolor">Gender:</td>
                                                    <td class="dtlstextcolor1"><?=$row_escort['gender']?></td>
                                                </tr>
                                                 <tr>
                                                	<td class="dtlstextcolor">Age:</td>
                                                    <td class="dtlstextcolor1"><?=$row_escort['age']?></td>
                                                </tr>
                                                 <tr>
                                                	<td class="dtlstextcolor">Height:</td>
                                                    <td class="dtlstextcolor1">
													<? $cmmm=explode('cm',$row_escort['height']);
													    $inches = round($cmmm[0]/2.54);
														$feet = floor(($inches/12));
														$inches = ($inches%12);
														$measurement = $feet."'".($inches).'"';
														echo $measurement;
																				
																				?>
													
													
													
													</td>
                                                </tr>
                                                 <tr>
                                                	<td class="dtlstextcolor">Hair:</td>
                                                    <td class="dtlstextcolor1"><?=$row_escort['hair_color']?></td>
                                                </tr>
                                                 <tr>
                                                	<td class="dtlstextcolor">Eyes:</td>
                                                    <td class="dtlstextcolor1"><?=$row_escort['eye_color']?></td>
                                                </tr>
                                                
                                                 <tr>
                                                	<td class="dtlstextcolor">Languages:</td>
                                                    <td class="dtlstextcolor1"><?=$row_escort['language']?></td>
                                                </tr>
                                                <tr>
                                                	<td class="dtlstextcolor"><img src="images/homeicon.png" />Incall:</td>
                                                    <td class="dtlstextcolor1"><? if($row_escort['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_escort['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_escort['travel']=='Yes'){ echo 'Yes';} else { echo 'No';}?></td>
                                                </tr>
                                                 <tr>
                                                	<td class="dtlstextcolor">Orientation:</td>
                                                    <td class="dtlstextcolor1"><?=$row_escort['orientation']?></td>
                                                </tr>
                                                                                              <tr height="22"></tr>
                                                <tr>
                                                <td colspan="2" class="headertitletext">
                                                    	About me<br/><img src="images/estdtls_divider.png" />
                                                 </td>
                                                 </tr>
                                                 <tr>
                                                	<td class="dtlstextcolor">SMS/TEXT:</td>
                                                    <td class="dtlstextcolor1"><?=$row_escort['smstext']?></td>
                                                </tr>
                                                 <tr>
                                                	<td class="dtlstextcolor">Whatsapp:</td>
                                                    <td class="dtlstextcolor1"><?=$row_escort['whatsapps']?></td>
                                                </tr>
                                                  <tr height="10"></tr>
                                                <tr>
                                                	<td colspan="2" class="dtlstextcolor"><?=stripslashes($row_escort['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['escort_city']?></td>
                                                </tr>
                                                 <tr>
                                                	<td class="dtlstextcolor">Phone:</td>
                                                    <td class="dtlstextcolor1"><?=$row_escort['tel_national']?></td>
                                                </tr>
                                                <tr>
                                                	<td class="dtlstextcolor">Email:</td>
                                                    <td class="dtlstextcolor1" onclick ="div_show()" style="text-decoration:underline; cursor:pointer;">Contact Me</td>
                                                </tr>
                                                <tr>
                                                	<td class="dtlstextcolor">Message:</td>
                                                    <td class="dtlstextcolor1" onclick ="div_show()"  style="text-decoration:underline; cursor:pointer;">Send private message</td>
                                                </tr>
                                                <tr>
                                                	<td class="dtlstextcolor">Web:</td>
                                                    <td class="dtlstextcolor1">
                                                    
                                                     <?
													   if($row_escort['ft_ad_status']=='Yes')
														 {
															$todatee=date('Y-m-d'); 
															 if($todatee<$row_escort['ft_ad_expair'])
																 {
																 ?>
																<a href="<?=$row_escort['website']?>" target="_blank"><?=$row_escort['website']?></a>
															 <? }
															 	else if($row_escort['verifyimg']=='a')
																  { ?>
																	<a href="<?=$row_escort['website']?>" target="_blank"><?=$row_escort['website']?></a>
																<? } 
																else
																	{
																	
																	echo $row_escort['website'];
																		
																	} 
															 
															 
															 
													  
														  }
														  else if($row_escort['verifyimg']=='a')
														  { ?>
                                                    		<a href="<?=$row_escort['website']?>" target="_blank"><?=$row_escort['website']?></a>
                                                    	<? } 
														
														 else
														  {
														
															echo $row_escort['website'];
                                                        	
                                                           } ?>
                                                    
                                                    
                                                    
                                                    
                                                    
                                                    <!--<a href="<?=$row_escort['website']?>" target="_blank"><?=$row_escort['website']?></a>--></td>
                                                </tr>
                                                <? if($row_escort['skype']!='')
												{ ?>
                                                <tr>
                                                	<td class="dtlstextcolor"  style="text-align:left !important;">
                                                    Skype:
                                                    </td>
                                                    
                                                   <!-- <a href="http://www.skype.com/" target="_blank" title="Skype" rel="nofollow">Skype</a>:</strong> <a href="skype:<?=$row['skype']?>?chat" target="_blank" title="Skype chat with <?=$row['nickname']?>" rel="nofollow"><?=$row['skype']?> <img src="http://mystatus.skype.com/smallclassic/<?=$row['skype']?>" title="Online Status of <?=$row['nickname']?> on Skype" align="absmiddle" border="0" /></a>-->
                                            <td class="dtlstextcolor1" style="text-align:left;">
											<script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script>
                                            <div id="SkypeButton_Call_<?=$row_escort['skype']?>_1">
                                              <script type="text/javascript">
                                                Skype.ui({
                                                  "name": "chat",
                                                  "element": "SkypeButton_Call_<?=$row_escort['skype']?>_1",
                                                  "participants": ["<?=$row_escort['skype']?>"],
                                                  "imageSize": 28
                                                });
                                              </script>
                                            </div>
                                                    
                                                    </td>
                                                </tr>
                                                <? } ?>
                                                <? if($row_escort['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_escort['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 &nbsp;&nbsp;</td>
                                                         <?
															$sql_cim="select * from escort_details WHERE id='".$row_escort['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 &nbsp;&nbsp;</td>
                                                             <?
															$sql_dom="select * from escort_details WHERE id='".$row_escort['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_escort['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 &nbsp;&nbsp;</td>
                                                            <?
																$sql_we="select * from escort_details WHERE id='".$row_escort['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 &nbsp;&nbsp;</td>
                                                           <?
															$sql_deep="select * from escort_details WHERE id='".$row_escort['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 &nbsp;&nbsp;</td>
                                                             </tr>
                                                             <tr>
                                                             <?
															$sql_facial="select * from escort_details WHERE id='".$row_escort['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 &nbsp;&nbsp;</td>
                                                          <?
															$sql_foot="select * from escort_details WHERE id='".$row_escort['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 &nbsp;&nbsp;</td>
                                                          <?
															$sql_french="select * from escort_details WHERE id='".$row_escort['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_escort['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&nbsp;&nbsp;</td>
                                                                
                                                         <?
															$sql_masssage="select * from escort_details WHERE id='".$row_escort['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_escort['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_escort['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_escort['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_escort['id']."' ORDER By id 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_escort['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_escort['nickname']?>
                                            
                                            </div>
                                        
                                        </td>
                                    
                                    </tr>
                                    <tr height="10"></tr>
                                    <tr>
                                    	<td align="center">
                                        	<a href="escort-service-dtls.php?name=<?=$row_escort['nickname']?>&phone=<?=$row_escort['tel_national']?>&cityname=<?=$row_escort['escort_city']?>&back=1"><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_escort['id']."' ORDER By id  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_escort['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">&nbsp;<a href="escort-service-dtls.php?name=<?=$row_escort['nickname']?>&phone=<?=$row_escort['tel_national']?>&cityname=<?=$row_escort['escort_city']?>"><img src="images/cancel.png" /></a>&nbsp;&nbsp;<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 this? <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_escort['nickname']?>&phone=<?=$row_escort['tel_national']?>&cityname=<?=$row_escort['escort_city']?>"><img src="images/cancel.png" /></a>&nbsp;&nbsp;<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 meet? <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_escort['nickname']?>&phone=<?=$row_escort['tel_national']?>&cityname=<?=$row_escort['escort_city']?>"><img src="images/cancel.png" /></a>&nbsp;&nbsp;<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_escort['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_escort['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_escort['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>

./BlackJoker Mini Shell 1.0