GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/viewescort-details.php

<?  session_start();
	include("lib/globals.php");
 	include("lib/common.php");
 	include("lib/functions.php");
	include("lib/pager.php");
?>


<? include "includes/header_top.php";?>
<?
	$sql_update="SELECT * FROM notificatio where";

?>
<?
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']);
		
		$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:".$_POST['div3_example_result']."</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:".$_POST['div3_example_result']."\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="viewescort-details.php?name=<?=$row_ename['nickname']?>&phone=<?=$row_ename['tel_national']?>&reply=1";
        </script>
    <?
	
}?>




<link rel="stylesheet"  href="css/elements.css" />
<script src="js/my_js.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/header.php";?>
  
    <div class="main_bg">
    <style>
		ul{
		
			list-type: none;		
			list-style: none;		
			padding: 0;		
			margin: 0;		
		}		
		
		.slider{
		
		 margin: 0 auto;		
		 width: 306px;		
		 height: 459px;		
		 border: 1px 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: 269px;
			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;
		
		}
		
		
		
		#thumb { 
		
			width: 300px; 
		
			height: 105px; 
		
			margin: 5px 0px; 
		
			/*background: #480b6a;*/
		
			margin-left:0px !important;
		
			float:left !important;
		
		}
		
		
		
		#thumb li { 
		
			width: 70px; 
		
			float: left; 
		
			/*margin: 12px; */
		
			margin-left:2px;
		
			margin-right:3px;
		
			list-style: none 
		
		}
		
		
		
		#thumb a { 
		
			width: 70px; 
		
			height:95px;		
		
			display: block; 
			
			/*
		
			border-radius:3px;
		
			box-shadow: 1px 1px 3px #333333;*/
		
		}
		
		
		
		#thumb li.activeSlide a { 
		
			border: 1px solid #f8e0e9;
		
			border-radius: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;*/
		
		}
		
		#thumb img { 
		
			border: none; 
		
			display: block;
		
			width: 70px !important; 
		
			height:95px;
		
		}
		
		
		
		</style>
       			 <?
					$sql_escort="select * from escort_details where nickname='".$_GET['name']."' AND tel_national='".$_GET['phone']."'";
					$res_escort=execute_query($sql_escort);
					$row_escort=mysql_fetch_array($res_escort);
					
					$update_notification="UPDATE notification set status='a' where id='".$_GET['noti']."'";
					execute_query($update_notification);
				?>
				   
    
 		<div style="height:32px; width:1000px;"> 
        	
        
        </div>
        <div  style="width:1000px; margin:0 auto;">
        		     
				<div class="estdetailscnt">                							
                        <div class="left_containest">        
                           <div class="leftcnt_top2">
                           	<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">
                                    
                                  </td>
                                    <td width="365" style="text-align:center; font-size:22px; font-weight:400; color:#000; font-family: 'Roboto Condensed',sans-serif;">
                                    <?=$row_escort['nickname']?>
                                    </td>
                                  <td width="178" align="center">                            
                                  
                                   
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          
                           </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>
                                                    	<td><img src="images/followme.png" /></td>
                                                        <td width="7"></td>
                                                        <td><img src="images/addfaviorit.png" /></td>
                                                    </tr>
                                                </table> 
                                            </div>
                                            <div class="leftdtlmid">
                                            	<?
													$sql_photo="SELECT * FROM escort_photo where postid='".$row_escort['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; margin:0 auto;"   width="300" height="453" alt="jQuery Image slider" title="jQuery Image slider" />
                                                        <? } else{?>
                                                        <img border="0" src="images/No Image.gif" style="position:static !important;"   width="300" 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 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="createddate">
                                                        	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>
                                        <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_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"><?=$row_escort['height']?></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>
                                                	<td class="dtlstextcolor">Meeting Width:</td>
                                                    <td class="dtlstextcolor1"><?=$row_escort['meeting_men']?>&nbsp;<?=$row_escort['meeting_wm']?>&nbsp;<?=$row_escort['meeting_cup']?>&nbsp;<?=$row_escort['meeting_trans']?>&nbsp;<?=$row_escort['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_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" 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_escort['website']?></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> <? 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><? 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><? 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><? 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><? 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><? 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><? 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><? 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><? 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><? 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><? if($num_massage>0){ ?> <img src="images/signuparrow.png" /> <? } else{ ?> <img src="images/nontravelarea.png"  /> <? } ?>Australia</td>
                                                             </tr>
                                                             
                                                            </table>
                                                        </td>
                                                 
                                                 </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>
                                <?
						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 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_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="viewescort-details.php?name=<?=$row_escort['nickname']?>&phone=<?=$row_escort['tel_national']?>"><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 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">&nbsp;<a href="viewescort-details.php?name=<?=$row_escort['nickname']?>&phone=<?=$row_escort['tel_national']?>"><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? <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="viewescort-details.php?name=<?=$row_escort['nickname']?>&phone=<?=$row_escort['tel_national']?>"><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 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_escort['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="viewescort-details.php?name=<?=$row_escort['nickname']?>&phone=<?=$row_escort['tel_national']?>"><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['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>
                                        
                            <? } ?>        
                                
                                
                                <br class="spacer" />                           
                           </div>
                           <div class="stdtls_footer"></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