GIF89a;
| Direktori : /home/serb/www/ |
| Current File : /home/serb/www/agency-list.php |
<? session_start();
include("lib/globals.php");
include("lib/common.php");
include("lib/functions.php");
include"lib/SimpleImage.php";
$page="agencylist";
$todatee=date('Y-m-d');
?>
<? include "includes/header_top.php";?>
<script language="javascript">
function opencountry(country)
{
location.href="home.php?ct="+country;
}
</script>
<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="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:10px;"></div>
<div class="leftct_midbot">
<div style="text-align:left; width:100%;">
<p class="noescort22">
View new Escort Agency in <?=$row_country['country']?> :
</p>
</div>
<br/>
<?
$ii=1;
$sql_locescort="SELECT * FROM user_info WHERE status='a' AND user_type='agency' AND user_country='".$_SESSION['countryname']."'";
$res_locescort=execute_query($sql_locescort);
$num_locescort=mysql_num_rows($res_locescort);
if($num_locescort>0)
{
while($row_locescort=mysql_fetch_array($res_locescort))
{
?>
<div class="escortpicsdiv">
<div class="estname">
<h1><?=$row_locescort['agency_name']?></h1></div>
<div class="estimage">
<?
$ph=str_replace('+','',$row_locescort['agency_ph']);
$url = "http://www.$serverName/AgencyEscorts/{$row_locescort['agency_name']}/{$ph}";
if($row_locescort['pic']!="")
{
?>
<a href="<?php echo $url; ?>"> <img src="profile_pic/<?=$row_locescort['pic']?>" /></a>
<? } else
{ ?>
<a href="<?php echo $url; ?>"> <img src="images/no_photo_female.gif" /></a>
<? } ?>
</div>
<div class="estlocation">
<?
$sql_agescort="SELECT * FROM escort_details where user_id='".$row_locescort['userid']."' AND status='a'";
$res_agescort=execute_query($sql_agescort);
$num_ageescort=mysql_num_rows($res_agescort);
echo 'Escorts'.'('.$num_ageescort.')';
?>
</div>
</div>
<?
if($ii%3==0)
{
?>
<br class="spacer" />
<div style="height:10px;"> <br class="spacer" /></div>
<?
}
$ii++;
} ?>
<br class="spacer" />
<?
} else {?>
<div style="text-align:center; width:550px; margin:0 auto;">
<p class="noescort">
Sorry, right now there is no any agency in <?=$_SESSION['countryname']?> 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";?>