GIF89a;
| Direktori : /home/serb/www/ |
| Current File : /home/serb/www/city-tourescorts.php |
<? session_start();
include("lib/globals.php");
include("lib/common.php");
include("lib/functions.php");
include"lib/SimpleImage.php";
include("lib/pager.php");
$page="citytour";
$todatee=date('Y-m-d');
?>
<? include "includes/header_top.php";?>
<script language="javascript">
function opencountry(country)
{
location.href="home.php?ct="+country;
}
</script>
<script src="js/aslider.js"></script>
<style>
.aslide {
display: none;
height: 240px !important;
}
/*.aslide img {
max-width: 210px !important;
max-height:240px !important;
}
#slider {
width: 211px !important;
height: 240px !important;
}*/
.aslide .text {
width: 50px;
margin: 0 auto;
color: #f8f8f8;
text-shadow: 0 0 2px #000;
font-weight: bold;
font-size: 36px;
text-align: center;
position: absolute;
bottom: 30px;
font-family: sans-serif;
}
</style>
<style type="text/css">
#jcl-demo a.prev
{
display: block;
width: 27px;
height: 53px;
background:url(images/scroll_prev.png) 0 0 no-repeat;
float: left;
}
#jcl-demo a.next {
display: block;
width: 27px;
height: 53px;
background:url(images/scroll_next.png) 0 0 no-repeat;
float: left;
}
#jcl-demo a.prev {
margin: 75px 0px 0 0;
text-indent: 7px;
}
#jcl-demo a.next {
margin: 75px 0 0 3px;
text-indent: 10px;
}
#jcl-demo .carousel {
border-radius: 10px;
float: left;
padding-left: 0px;
/* Needed for rendering without flicker */
position: relative;
visibility: hidden;
left: -5001px;
width :648px !important;
height:222px !important;
}
#jcl-demo .carousel li img{
margin: 12px 3px 3px 5px;
}
#jcl-demo .carousel li img {
/*width: 153px;
height: 139px;*/
vertical-align:middle;
border-radius: 2px;
}
#jcl-demo .carousel, #jcl-demo .carousel * {
box-sizing: content-box; /* My theme uses border-box for whatever reason, I don't know. I am switching it to the standard content-box here */
}
</style>
<!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>-->
<script src="js/jquery-1.11.1.js"></script>
<script src="js/jquery.jcarousellite.js"></script>
<body>
<? include "includes/header.php";?>
<div class="main_bg">
<div style="height:32px;"></div>
<div style="width:1000px; margin:0 auto;">
<?php include('includes/header_cities.php'); ?>
<div class="estdetailscnt">
<div class="left_contain">
<div class="leftcnt_top"></div>
<div class="leftct_mid">
<?php include 'includes/left_midtop.php'; ?>
<div style="height:18px;"></div>
<div class="leftct_midbot">
<?
$todaydate=date('Y-m-d');
$sql_count="SELECT * FROM escort_tours WHERE country='".$_SESSION['countryname']."' and (end_date>=$todaydate)";
$res_count=execute_query($sql_count);
$num_count=mysql_fetch_array($res_count);
if($num_count>0)
{
$ii=1;
$sql_locescort="SELECT DISTINCT(postid) FROM escort_tours WHERE country='".$_SESSION['countryname']."' and (end_date>=$todaydate) ORDER BY id DESC";
$res_locescort=execute_query($sql_locescort);
$num_locescort=mysql_num_rows($res_locescort);
while($row_locescort=mysql_fetch_array($res_locescort))
{
increase_impression($row_locescort['id']);
$sql_escortdt="SELECT * FROM escort_details where id='".$row_locescort['postid']."'";
$res_escortdt=execute_query($sql_escortdt);
$row_escortdt=mysql_fetch_array($res_escortdt);
?>
<div class="escortpicsdiv" style="margin-bottom:9px;">
<?
if($row_escortdt['ft_ad_status']=='Yes')
{
if($row_escortdt['ft_ad_expair']>=$todaydate)
{
?>
<div style="width:229px; height:107px; margin-left:-1px; margin-top:-3px; text-align:left; position:absolute; z-index:3;"><img src="images/vip22.png" style="width:91px; height:123px;" /></div>
<? }
} ?>
<div class="estname">
<h1><?=$row_escortdt['nickname']?></h1></div>
<div class="estimage">
<?
$sql_image="SELECT * FROM escort_photo where postid='".$row_escortdt['id']."'";
$res_image=execute_query($sql_image);
$num_image=mysql_num_rows($res_image);
$row_image=mysql_fetch_array($res_image);
if($row_image['picture']!="")
{
?>
<a href="citytourescort-details.php?id=<?=$row_escortdt['id']?>"><img src="thubigg/<?=$row_image['picture']?>" /></a>
<?
}
else
{?>
<a href="citytourescort-details.php?id=<?=$row_escortdt['id']?>"><img src="images/no_photo_female.gif" /></a>
<? }
?>
</div>
<div class="estlocation"><?=$row_escortdt['escort_city']?></div>
</div>
<?
}
}
else {?>
<div style="text-align:center; width:550px; margin:0 auto;">
<p class="noescort">
Sorry, right now there is no any escorts in <?=$row_country['country']?> available.
</p>
</div>
<? } ?>
</div>
<br class="spacer" />
</div>
<div class="leftct_foot"></div>
</div>
<!--/*****start right_contain*****/-->
<div class="right_contain">
<? include "includes/right_contain.php";?>
</div><!--/*****end right_contain*****/-->
<br class="spacer" />
<br/>
</div>
</div>
</div>
<!--</div>-->
<? include "includes/footer.php";?>