GIF89a;
Direktori : /home/serb/www/m/ |
Current File : /home/serb/www/m/new-arrivals.php |
<? //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='65'"; $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"> <span style="float:left !important; margin-top:-5px !important;"><a style="float:left;" href="index.php" class="ui-btn ui-shadow ui-corner-all ui-icon-home ui-btn-icon-notext" data-iconpos="right" title="Go Home">Home</a></span> <span style="float:right !important; margin-top:-5px !important;"><a style="float:right;" href="all-escorts.php" class="ui-btn ui-shadow ui-corner-all ui-icon-back ui-btn-icon-notext" data-iconpos="right" title="All Escorts">back</a></span> </div> <!--<div data-role="content"> <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="#"> <img width="80" height="100" src="avtar/<?=$row_image['picture']?>" /> <h3><?=$row_escorts['nickname']?></h3> <p><?=$row_escorts['escort_city']?></p> <p>VIP</p> </a> </li> <? }else {?> <li> <a id="cityesimg" href="#"> <img width="80" height"80" src="images/no_photo_female.gif" /> <h3><?=$row_escorts['nickname']?></h3> <p><?=$row_escorts['escort_city']?></p> <br/> </a> </li> <? } }?> </ul> </div>--> <div data-role="content"> <h2 id="loginheadertext">New Arrivals</h2> <ul data-role="listview"> <? $sql_nescorts="select * from escort_details WHERE status='a' AND gender!='Male' order by id DESC LIMIT 0,100 "; $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="escort-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']?> Provider</p> <p id="pdingleft"> <? $desc=explode(' ',$row_nescorts['description']); for($k=0; $k<=17; $k++) { echo $desc[$k].' '; } ?>... </p> <? if($row_nescorts['ft_ad_status']=='Yes') { $todate=date('Y-m-d'); if($todate<$row_nescorts['ft_ad_expair']) { ?> <p id="vipclasimg"></p> <? } }?> <? if($row_nescorts['online_img']!=""){ ?> <p id="onlineimgs"></p> <? } ?> <br/> </a> </li> <? }else {?> <li> <a id="cityesimg" href="escort-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> <? if($row_nescorts['ft_ad_status']=='Yes') { $todate=date('Y-m-d'); if($todate<$row_nescorts['ft_ad_expair']) { ?> <p id="vipclasimg"></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>