GIF89a;
Direktori : /home/serb/www/m/ |
Current File : /home/serb/www/m/escort-details.old.php |
<? session_start(); //include("config.php"); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); include("lib/pager.php"); ?> <!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>EscortService - Premiere Escort Listings</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> <script src="themes/jquery.mobile.pagination.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>--> <? $sql_estdt="SELECT * FROM escort_details where id='".$_GET['estid']."'"; $res_estdt=execute_query($sql_estdt); $row_estdt=mysql_fetch_array($res_estdt); ?> <div data-role="content" class="estdtls"> <? $page=$_GET["page"]; // get the pager class implemented $count_sql="select count(*) tot FROM escort_details WHERE escort_city='".$_GET['cityname']."' AND status='a' AND gender!='Male'"; //print $count_sql; $count_rs=execute_query($count_sql); $count_row=mysql_fetch_array($count_rs); $count=$count_row['tot']; if($count > 0) { //print $count; $limit = 1; // work out the pager values $pager = Pager::getPagerData($count, $limit, $page); $offset = $pager->offset; $limit = $pager->limit; $page = $pager->page; } if($count > 0) { $sql="select * FROM escort_details WHERE escort_city='".$_GET['cityname']."' AND status='a' AND gender!='Male' order by id limit $offset,$limit"; } else { $sql="select * FROM escort_details WHERE id='".$_GET['estid']."' AND escort_city='".$_GET['cityname']."' AND status='a' AND gender!='Male' order by id"; } $rs=execute_query($sql); $prod_cnt=0; while($rs2=mysql_fetch_array($rs)) { $escort_id=$rs2['id']; $item[$prod_cnt][0]=$rs2['id']; $item[$prod_cnt][1]=$rs2['nickname']; $item[$prod_cnt][2]=$rs2['escort_city']; $item[$prod_cnt][3]=$rs2['tel_national']; $prod_cnt++; } ?> <? if($_GET['page']) { $sql_msgprl="SELECT * FROM escort_details WHERE id='".$escort_id."' AND status='a' AND gender!='Male'"; $escort=$escort_id; } else { $sql_msgprl="SELECT * FROM escort_details WHERE id='".$row_estdt['id']."' AND status='a' AND gender!='Male'"; $escort=$row_escort['id']; } //$sql_msgprl="SELECT * FROM post_ad WHERE id='".$_GET['postid']."'"; $res_estdtls=execute_query($sql_msgprl); $num_msgprl=mysql_num_rows($res_estdtls); $row=mysql_fetch_array($res_estdtls) ?> <h3 class="hdbreadcum"><a href="index.php" data-ajax="false" data-transition="flip">Home ></a> <a href="state-escorts.php?statename=<?=$row['escort_state']?>" data-ajax="false" data-transition="flip"><?=$row['escort_state']?> > </a><a href="city-escorts.php?cityname=<?=$row['escort_city']?>" data-ajax="false" data-transition="flip"><?=$row['escort_city']?> ></a> <a href="all-escorts.php" data-ajax="false" data-transition="flip">Escorts ></a><a href="" data-transition="flip"> <? echo ucfirst($row['nickname'])?></a></h3> <h1 class="cityname"><span class="estname"><? echo ucfirst($row['nickname'])?></span> <? if($row['ft_ad_status']=='Yes') { $todate=date('Y-m-d'); if($todate<$row['ft_ad_expair']) { ?> <span style="float:right;"><img src="images/detailsvip.png" /></span> <? } }?> </h1> <p><?=$row['age']?> Yr Old <?=$row['ethencity']?> <?=$row['gender']?></p> <p><?=stripslashes($row['slogan']);?></p> </div> <div data-role="content" id="pagination" style="padding:10px 0 !important;"> <? //echo $escort; if($prod_cnt > 0) { if($_GET['page']) { $url="escort-details.php?estid=".$escort."&cityname=".$row['escort_city']; } else { $url="escort-details.php?estid=".$row['id']."&cityname=".$_GET['cityname']; } ?> <span style="float:left; margin-left:2px; "> <? // not the first page, link to the previous page echo "<a data-ajax='false' href=\"$url&page=" . ($page - 1) ."\"class=\"footer-link\" style='color:#aa0c88; text-decoration:none;'><img src='previou.png' /></a>"; ?> </span> <!--<img src="images/estprev.png" />--> <span style="float:right; margin-right:2px;"> <? if ($page == $pager->numPages) // this is the last page - there is no next page echo " "; else // not the last page, link to the next page echo "<a data-ajax='false' href=\"$url&page=" . ($page + 1)."\"class=\"footer-link\" style='color:#aa0c88; text-decoration:none;'><img src='next.png' /></a>"; ?> </span> <? } else { ?> <? } ?> <!--<p id="marginpege"><span style="float:left;"><img src="previou.png" /></span> <span style="float:right"><img src="next.png" /></span></p>--> </div> <div data-role="content"> <?php $todaydate=$row['creation_date']; $date=explode('-',$todaydate); if($date[1]==1) { $mn= "Jan"; } if($date[1]==2) { $mn= "Feb"; } if($date[1]==3) { $mn= "Mar"; } if($date[1]==4) { $mn= "Apr"; } if($date[1]==5) { $mn= "May"; } if($date[1]==6) { $mn= "Jun"; } if($date[1]==7) { $mn= "Jul"; } if($date[1]==8) { $mn= "Aug"; } if($date[1]==9) { $mn= "Sept"; } if($date[1]==10) { $mn= "Oct"; } if($date[1]==11) { $mn= "Nov"; } if($date[1]==12) { $mn= "Dec"; } $dateee=explode(' ',$date[2]); $weekday = date('l', strtotime($todaydate)); ?> <p id="posttime">Posted <? echo $weekday; ?>, <? echo $mn.'-'.$date[2].'-'.$date[0]; ?></p> <p id="aboutesscort"><?=stripslashes($row['description'])?></p> </div> <div data-role="content" style="padding:0 !important;" > <link rel="stylesheet" href="css/demo.css" type="text/css" media="screen" /> <link rel="stylesheet" href="css/flexslider.css" type="text/css" media="screen" /> <script defer src="css/jquery.flexslider.js"></script> <script type="text/javascript"> $(function(){ SyntaxHighlighter.all(); }); $(window).load(function(){ $('.flexslider').flexslider({ animation: "slide", controlNav: "thumbnails", start: function(slider){ $('body').removeClass('loading'); } }); }); </script> <section class="slider"> <div class="flexslider"> <ul class="slides"> <? $sql_photo="SELECT * FROM escort_photo where postid='".$row['id']."' ORDER By id LIMIT 0 ,4"; $res_photo=execute_query($sql_photo); $num_photo=mysql_num_rows($res_photo); while($row_photo=mysql_fetch_array($res_photo)) {?> <li data-thumb="http://escortservice.org/avtar/<?=$row_photo['picture']?>"> <img src="http://escortservice.org/avtar/<?=$row_photo['picture']?>" /> </li> <? } ?> <!--<li data-thumb="images/kitchen_adventurer_lemon.jpg"> <img src="images/kitchen_adventurer_lemon.jpg" /> </li> <li data-thumb="images/kitchen_adventurer_donut.jpg"> <img src="images/kitchen_adventurer_donut.jpg" /> </li> <li data-thumb="images/kitchen_adventurer_caramel.jpg"> <img src="images/kitchen_adventurer_caramel.jpg" /> </li>--> </ul> </div> </section> </div> <div data-role="content" id="estdtlinfo" > <h2 id="estnamedtls"><? echo ucfirst($row['nickname'])?> <span style="float:right;"> <? if($_SESSION['userlogin']=="true") { if($_SESSION['acctype']=='hobbyist') { ?> <a href="followescort-process.php?estid=<?=$row['id']?>" data-ajax="false" data-transition="fade"><span style="float:left; margin-right:5px;"><img src="heart.png" /></span></a> <? } else {?> <span style="float:left; margin-right:5px;"><img src="heart.png" /></span> <? } } else {?> <a href="login.php" data-ajax="false" data-transition="flip"><span style="float:left; margin-right:5px;"><img src="heart.png" /></span></a> <? } ?> <a href="send-appoinment.php?estid=<?=$row['id']?>" data-ajax="false" data-transition="fade"><span style="float:left; margin-right:5px;"><img src="email.png" /></span></a> </span> </h2> <p id="escorttitle" style="margin-top:18px !important;"><?=$row['slogan']?></p> <!--<p id="msgicon"> <? if($_SESSION['userlogin']=="true") { if($_SESSION['acctype']=='hobbyist') { ?> <a href="followescort-process.php?estid=<?=$row['id']?>" data-ajax="false" data-transition="fade"><span style="float:left; margin-right:5px;"><img src="heart.png" /></span></a> <? } else {?> <span style="float:left; margin-right:5px;"><img src="heart.png" /></span> <? } } else {?> <a href="login.php" data-ajax="false" data-transition="flip"><span style="float:left; margin-right:5px;"><img src="heart.png" /></span></a> <? } ?> <a href="send-appoinment.php?estid=<?=$row['id']?>" data-ajax="false" data-transition="fade"><span style="float:left; margin-right:5px;"><img src="email.png" /></span></a> <span style="float:left; margin-right:5px;"><img src="review.png" /></span> <a href="fake-report.php?estid=<?=$row['id']?>" data-ajax="false" data-transition="fade"><span style="float:left; margin-right:5px;"><img src="fack.png" /></span></a></p>--> <p id="escorttitle"><span style="color:#000;">Ethnicity:</span> <?=$row['ethencity']?></p> <p id="escorttitle"><span style="color:#000;">Gender:</span> <?=$row['gender']?></p> <p id="escorttitle"><span style="color:#000;">Age:</span> <?=$row['age']?></p> <p id="escorttitle"><span style="color:#000;">Height:</span> <? $cmmm=explode('cm',$row['height']); $inches = round($cmmm[0]/2.54); $feet = floor(($inches/12)); $inches = ($inches%12); $measurement = $feet."'".($inches).'"'; echo $measurement; ?></p> <p id="escorttitle"><span style="color:#000;">Hair:</span> <?=$row['hair_color']?></p> <p id="escorttitle"><span style="color:#000;">Eyes:</span> <?=$row['eye_color']?></p> <p id="escorttitle"><span style="color:#000;">Languages:</span> <?=$row['language']?></p> <p id="escorttitle"><span style="color:#000;">Incall:</span> <? if($row['incall']=='Yes'){ echo 'Yes';} else { echo 'No';}?></p> <p id="escorttitle"><span style="color:#000;">Outcall:</span> <? if($row['outcall']=='Yes'){ echo 'Yes';} else { echo 'No';}?></p> <p id="escorttitle"><span style="color:#000;">Travel:</span> <? if($row['travel']=='Yes'){ echo 'Yes';} else { echo 'No';}?></p> <p id="escorttitle"><span style="color:#000;">Orientation:</span> <?=$row['orientation']?></p> <p id="escorttitle"><span style="color:#000;">Meeting With:</span> <?=$row['meeting_men']?> <?=$row['meeting_wm']?> <?=$row['meeting_cup']?> <?=$row['meeting_trans']?> <?=$row['meeting_gays']?></p> <p id="escorttitle"><span style="color:#000;">SMS/TEXT On:</span> <?=$row['smstext']?></p> <p id="escorttitle"><span style="color:#000;">Whatsapp On:</span> <?=$row['whatsapps']?></p> <p id="contacttext">Contact Phone: <?=$row['tel_national']?></p> <!--<p><img src="contactme.png" /> <img src="writereview.png" /></p>--> <? // $date=date('Y-m-d'); // $ntexpiry = date("Y-m-d", time() - 30*24*60*60 ); $sql="SELECT * FROM escort_tours WHERE postid='".$_GET['estid']."' ORDER BY id DESC"; $res=execute_query($sql); $num=mysql_num_rows($res); if($num>0) { ?> <h2 id="estnamedtls">My Tour:</h2> <p> <table data-role="table" class="ui-responsive"> <thead> <tr> <th>Country</th> <th>City</th> <th>CityArea</th> <th>Phone</th> <th>Start Date</th> <th>End Date</th> <th>Email</th> </tr> </thead> <tbody> <? while($rowtour=mysql_fetch_array($res)) { ?> <tr> <td><?=$rowtour['country']?></td> <td><?=$rowtour['city']?></td> <td><?=$rowtour['city_place']?></td> <td><?=$rowtour['phone']?></td> <td><?=$rowtour['start_date']?></td> <td><?=$rowtour['end_date']?></td> <td> <?=$rowtour['email']?></td> </tr> <tr style="border-bottom:1px solid #F0D7E2;"></tr> <? } ?> </tbody> </table> </p> <? }?> </div> <div data-role="content" id="pagination" style="padding:10px 0 !important;"> <? //echo $escort; if($prod_cnt > 0) { if($_GET['page']) { $url="escort-details.php?estid=".$escort."&cityname=".$row['escort_city']; } else { $url="escort-details.php?estid=".$row['id']."&cityname=".$_GET['cityname']; } ?> <span style="float:left; margin-left:2px; "> <? // not the first page, link to the previous page echo "<a data-ajax='false' href=\"$url&page=" . ($page - 1) ."\"class=\"footer-link\" style='color:#aa0c88; text-decoration:none;'><img src='previou.png' /></a>"; ?> </span> <!--<img src="images/estprev.png" />--> <span style="float:right; margin-right:2px;"> <? if ($page == $pager->numPages) // this is the last page - there is no next page echo " "; else // not the last page, link to the next page echo "<a data-ajax='false' href=\"$url&page=" . ($page + 1)."\"class=\"footer-link\" style='color:#aa0c88; text-decoration:none;'><img src='next.png' /></a>"; ?> </span> <? } else { ?> <? } ?> <!--<p id="marginpege"><span style="float:left;"><img src="previou.png" /></span> <span style="float:right"><img src="next.png" /></span></p>--> </div> <div data-role="content"> <!--<p> <div class="ui-grid-a springboard"> <div class="ui-block-a"> Friends </div> <div class="ui-block-b"> Videos </div> <div class="ui-block-a"> Photos </div> <div class="ui-block-b"> Blogs </div> </div></p>--> <p style="text-align:center; margin:0 !important; padding:0 !important;"> <script type="text/javascript"><!-- document.write('<s'+'cript type="text/javascript" src="http://adultservices.org/advertising/show.php?ad_type=60&j=1&code='+new Date().getTime()+'"></s'+'cript>'); // --></script> <noscript> <iframe src="http://adultservices.org/advertising/show.php?ad_type=60" width="314" height="250" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe> </noscript> </p> </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>