GIF89a;
Direktori : /home/serb/public_html/m/ |
Current File : /home/serb/public_html/m/agencies.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='70'"; $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"> <h3>View Agency List </h3> <ul data-role="listview"> <? $sql_nescorts="SELECT * FROM user_info WHERE status='a' AND user_type='agency' ORDER BY userid DESC"; $res_nescorts=execute_query($sql_nescorts); $num_escort=mysql_num_rows($res_nescorts); if($num_escort>0) { while($row_nescorts=mysql_fetch_array($res_nescorts)) { $ph=str_replace('+','',$row_nescorts['agency_ph']); ?> <li> <a id="cityesimg" href="agency-details.php?name=<?=$row_nescorts['agency_name']?>&phone=<?=$ph?>" data-ajax="false" data-transition="fade"> <img width="80" height="100" src="http://escortservice.org/profile_pic/<?=$row_nescorts['pic']?>" /> <h3 id="pdingleft"><?=$row_nescorts['agency_name']?></h3> <p id="pdingleft"> <? $desc=explode(' ',$row_nescorts['agency_about']); for($k=0; $k<=17; $k++) { echo $desc[$k].' '; } ?>... </p> <p id="pdingleft"> <? $sql_agescort="SELECT * FROM escort_details where user_id='".$row_nescorts['userid']."' AND status='a'"; $res_agescort=execute_query($sql_agescort); $num_ageescort=mysql_num_rows($res_agescort); echo 'Escorts'.'('.$num_ageescort.')'; ?> </p> <br/> </a> </li> <? } } else {?> <p id="loginalertmsg"> Sorry right now, there are no Escort Agency Avaible. </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>