GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/m/
Upload File :
Current File : /home/serb/www/m/guys.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='71'";
$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">All Guy 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'  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="80" height="100" src="http://escortservice.org/avtar/<?=$row_image['picture']?>" />
										<h3 id="pdingleft"><?=$row_escorts['nickname']?></h3>
										<p id="pdingleft"><?=$row_escorts['escort_city']?></p>
                                        <p id="pdingleft">
										<? $desc=explode(' ',$row_escorts['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									    </p>
										<p id="vipclasimg"></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="80" height"80" src="http://escortservice.org/images/no_photo_female.gif" />
                                        <h3 id="pdingleft"><?=$row_escorts['nickname']?></h3>
                                        <p id="pdingleft"><?=$row_escorts['escort_city']?></p>
                                        <p id="pdingleft">
										<? $desc=explode(' ',$row_escorts['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									    </p>
                                        <p id="vipclasimg"></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'  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="80" height="100" src="http://escortservice.org/avtar/<?=$row_nimage['picture']?>" />
										<h3 id="pdingleft"><?=$row_nescorts['nickname']?></h3>
										<p id="pdingleft"><?=$row_nescorts['escort_city']?></p>
                                        <p id="pdingleft">
										<? $desc=explode(' ',$row_nescorts['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									    </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="80" height"80" src="http://escortservice.org/images/no_photo_female.gif" />
									<h3 id="pdingleft"><?=$row_nescorts['nickname']?></h3>
									<p id="pdingleft"><?=$row_nescorts['escort_city']?></p>
                                     <p id="pdingleft">
										<? $desc=explode(' ',$row_nescorts['description']);
											for($k=0; $k<=17; $k++)	
											{
												echo $desc[$k].' ';
											}
										?>...
																				
									    </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