GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/m/
Upload File :
Current File : /home/serb/public_html/m/city-guylist.php

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

$todatee=date('Y-m-d');
$sql="SELECT * FROM page_content WHERE id='55'";
$res=execute_query($sql);
$row=mysql_fetch_array($res);

$citynam=$_GET['cityname'];
?>


<!DOCTYPE html> 
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="height=device-height,width=device-width,initial-scale=1.0,maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title><?=$citynam?> Male Escorts |Escort Service-Escorts,Male Escorts,Models,Call Girls,GEF,Companions</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" href="themes/escserve.css" />
  <link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" />
  <link rel="stylesheet" href="jMobile.css" /> 
  <script src="jquery.min.js"></script> 
  <script src="jqueryMobile.js"></script>
</head> 
<body> 
<div data-role="page" id="page" data-theme="d" data-transition="flip">
	<div id="headerTop"></div>    
    <? include "includes/header.php";?>
    <div data-role="content" id="searchboxx">
    	<ul data-role="listview" data-filter="true" data-filter-reveal="true" data-filter-placeholder="Escorts" data-inset="true">
           <?
		   		$city_nm="SELECT * FROM escort_details where status='a' AND gender='Male' and escort_city='".$_GET['cityname']."'";
				$res_citynm=execute_query($city_nm);
				while($row_citynm=mysql_fetch_array($res_citynm))
				{

		   ?>
           
            <li><a href="city-guylist.php?estname=<?=$row_citynm['nickname']?>&cityname=<?=$row_citynm['escort_city']?>" data-ajax="false" data-transition="flip"><?=$row_citynm['nickname']?></a></li>
            <? } ?>
    </div>
   
   
   <?
   if($_GET['estname'])
   { ?>
   
   	 <div data-role="content">
     <h2 id="loginheadertext">Male Escorts</h2>
    	<ul data-role="listview">
                   <?
				   	$sql_nescorts="select * from escort_details WHERE status='a' AND gender='Male' AND nickname='".$_GET['estname']."' AND escort_city='".$_GET['cityname']."' ";
					$res_nescorts=execute_query($sql_nescorts);
					while($row_nescorts=mysql_fetch_array($res_nescorts))
					 {
				   	 
							$sql_nimage="SELECT * FROM escort_photo where postid='".$row_nescorts['id']."'";
							$res_nimage=execute_query($sql_nimage);
							$num_nimage=mysql_num_rows($res_nimage);
							$row_nimage=mysql_fetch_array($res_nimage);
							if($num_nimage>0)
							{
								
									?>
								   <li>
				
									<a id="cityesimg" href="guyescort-details.php?estid=<?=$row_nescorts['id']?>&cityname=<?=$row_nescorts['escort_city']?>" data-ajax="false" data-transition="fade">
										<img width="80" height="100" src="http://escortservice.org/avtar/<?=$row_nimage['picture']?>" />
										<h3 id="pdingleft"><? echo ucfirst($row_nescorts['nickname'])?></h3>
										<p id="pdingleft"><?=$row_nescorts['escort_city']?></p>
                                        <p id="pdingleft"><?=$row_nescorts['age']?> Yr Old <?=$row_nescorts['ethencity']?></p>
                                         <p id="pdingleft">
										<? $desc=explode(' ',$row_nescorts['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									    </p>
											
									
										</a>
									</li>
									   
								   <?
							  }else
								 {?>
									<li>
			
								<a id="cityesimg" href="guyescort-details.php?estid=<?=$row_nescorts['id']?>&cityname=<?=$row_nescorts['escort_city']?>" data-ajax="false" data-transition="fade">
									<img width="80" height"80" src="http://escortservice.org/images/no_photo_female.gif" />
									<h3 id="pdingleft"><? echo ucfirst($row_nescorts['nickname'])?></h3>
									<p id="pdingleft"><?=$row_nescorts['escort_city']?></p>
                                    <p id="pdingleft"><?=$row_nescorts['age']?> Yr Old <?=$row_nescorts['ethencity']?></p>
                                     <p id="pdingleft">
										<? $desc=explode(' ',$row_nescorts['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									 </p>
                                    
									<br/>
								
									</a>
								</li>								
																 
							<? }
															
					
					
					 }?>
                    
						                
                   
                     
        </ul>
	  	
	</div>
   		
	   
  <?  }
    else
	{?>
    
	<div data-role="content">
    	<h2 id="loginheadertext">
        
        	<?
				echo $_GET['cityname'].' '.'Male Escorts';
	
			?>
        </h2>
    
    
    	<ul data-role="listview">
                   <?
				   
				   	$sql_escorts="select * from escort_details WHERE status='a' AND gender='Male' AND ('$todatee'<=ft_ad_expair) AND ft_ad_status='Yes' AND escort_city like '%".$_GET['cityname']."%' ORDER BY RAND() ";
					$res_escorts=execute_query($sql_escorts);
					while($row_escorts=mysql_fetch_array($res_escorts))
					 {
				   	 
							$sql_image="SELECT * FROM escort_photo where postid='".$row_escorts['id']."'";
							$res_image=execute_query($sql_image);
							$num_image=mysql_num_rows($res_image);
							$row_image=mysql_fetch_array($res_image);
							if($num_image>0)
							{
								
									?>
								   <li class="estlist">
				
									<a id="cityesimg" href="guyescort-details.php?estid=<?=$row_escorts['id']?>&cityname=<?=$row_escorts['escort_city']?>" data-ajax="false" data-transition="fade" >
										<img width="120" height="110" src="http://escortservice.org/avtar/<?=$row_image['picture']?>" />
										<h3 id="pdingleft"><? echo ucfirst($row_escorts['nickname'])?></h3>
										<p id="pdingleft"><?=$row_escorts['escort_city']?></p>
                                        <p id="pdingleft"><?=$row_escorts['age']?> Yr Old <?=$row_escorts['ethencity']?></p>
                                        <p id="pdingleft">
										<? $desc=explode(' ',$row_escorts['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									    </p>
										<p id="vipclasimg"></p>
										 <?
                                         if($row_escorts['online_img']!=""){
										 ?>
                                           <p id="onlineimgs"></p>
                                           <? } ?>
										</a>
									</li>
									   
								   <?
							  }else
								 {?>
									<li>
			
								<a id="cityesimg" href="guyescort-details.php?estid=<?=$row_escorts['id']?>&cityname=<?=$row_escorts['escort_city']?>" data-ajax="false" data-transition="fade">
									<img width="120" height="110" src="http://escortservice.org/images/no_photo_female.gif" />
									<h3 id="pdingleft"><? echo ucfirst($row_escorts['nickname'])?></h3>
									<p id="pdingleft"><?=$row_escorts['escort_city']?></p>
                                    <p id="pdingleft"><?=$row_escorts['age']?> Yr Old <?=$row_escorts['ethencity']?></p>
                                    <p id="pdingleft">
										<? $desc=explode(' ',$row_escorts['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									    </p>
                                        <p id="vipclasimg"></p>                                        
										 <?
                                         if($row_escorts['online_img']!=""){
										 ?>
                                           <p id="onlineimgs"></p>
                                           <? } ?>						
									</a>
								</li>								
																 
							<? }
															
					
					
					 }?>
                    
						                
                   
                     
        </ul>
	  	
	</div>
    <div data-role="content">
    	<ul data-role="listview">
                   <?
				   	$sql_nescorts="select * from escort_details WHERE status='a' AND gender='Male' AND escort_city like '%".$_GET['cityname']."%' order by id DESC ";
					$res_nescorts=execute_query($sql_nescorts);
					while($row_nescorts=mysql_fetch_array($res_nescorts))
					 {
				   	 
							$sql_nimage="SELECT * FROM escort_photo where postid='".$row_nescorts['id']."'";
							$res_nimage=execute_query($sql_nimage);
							$num_nimage=mysql_num_rows($res_nimage);
							$row_nimage=mysql_fetch_array($res_nimage);
							if($num_nimage>0)
							{
								
									?>
								   <li>
				
									<a id="cityesimg" href="guyescort-details.php?estid=<?=$row_nescorts['id']?>&cityname=<?=$row_nescorts['escort_city']?>" data-ajax="false" data-transition="fade">
										<img width="120" height="110" src="http://escortservice.org/avtar/<?=$row_nimage['picture']?>" />
										<h3 id="pdingleft"><? echo ucfirst($row_nescorts['nickname'])?></h3>
										<p id="pdingleft"><?=$row_nescorts['escort_city']?></p>
                                        <p id="pdingleft"><?=$row_nescorts['age']?> Yr Old <?=$row_nescorts['ethencity']?></p>
                                        <p id="pdingleft">
										<? $desc=explode(' ',$row_nescorts['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									    </p>
                                         <?
                                         if($row_nescorts['online_img']!=""){
										 ?>
                                           <p id="onlineimgs"></p>
                                           <? } ?>
										<br/>
									
										</a>
									</li>
									   
								   <?
							  }else
								 {?>
									<li>
			
								<a id="cityesimg" href="guyescort-details.php?estid=<?=$row_nescorts['id']?>&cityname=<?=$row_nescorts['escort_city']?>" data-ajax="false" data-transition="fade">
									<img width="110" height="146" src="http://escortservice.org/images/no_photo_female.gif" />
									<h3 id="pdingleft"><? echo ucfirst($row_nescorts['nickname'])?></h3>
									<p id="pdingleft"><?=$row_nescorts['escort_city']?></p>
                                    <p id="pdingleft"><?=$row_nescorts['age']?> Yr Old <?=$row_nescorts['ethencity']?></p>
                                    <p id="pdingleft">
										<? $desc=explode(' ',$row_nescorts['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									    </p>
                                         <?
                                         if($row_nescorts['online_img']!=""){
										 ?>
                                           <p id="onlineimgs"></p>
                                           <? } ?>
									<br/>
								
									</a>
								</li>								
																 
							<? }
															
					
					
					 }?>
                    
						                
                   
                     
        </ul>
	  	
	</div>
    <? } ?>
    
   
    <div data-role="panel" data-display="push" data-position="right" data-theme="d" id="navMenu">
       <? include "includes/right-menubar.php";?>
    </div><!-- /panel -->
	<div data-role="footer" >
    	<div  id="footerTop">
	
        	 <? include "includes/footer.php";?>
           
	</div>
		<div id="footerBottom"><p>Copyright 2015 ESCORTSERVICE.ORG | All Rights reserved.</p></div>
	</div>
</div>
</body>
</html>

./BlackJoker Mini Shell 1.0