GIF89a;
| Direktori : /home/serb/public_html/ |
| Current File : /home/serb/public_html/birthdaylist.php |
<? session_start();
include("lib/globals.php");
include("lib/common.php");
include("lib/functions.php");
$page="my_account";
?>
<? include "includes/header_top.php";?>
<link rel="stylesheet" href="css/elements.css" />
<script src="js/my_js.js"></script>
<div id="dhtmltooltip"></div>
<style type="text/css">
#dhtmltooltip{
position: absolute;
width: 150px;
/*border: 2px solid black;*/
padding: 2px;
background-color: #D45887;
visibility: hidden;
color:#fff;
font-family: 'Open Sans', sans-serif;
font-weight:400;
z-index: 100;
border-radius:4px 4px 0 0;
-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
border:1px solid #dc9fc1;
font-size:14px;
text-align:center;
/*Remove below line to remove shadow. Below line should always appear last within this CSS*/
filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
}
</style>
<script type="text/javascript">
/***********************************************
* Cool DHTML tooltip script- é Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
var offsetxpoint=-60 //Customize x offset of tooltip
var offsetypoint=20 //Customize y offset of tooltip
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function ddrivetip(thetext, thecolor, thewidth){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}
function positiontip(e){
if (enabletip){
var curX=(ns6)?e.pageX : event.x+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.y+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth)
//move the horizontal position of the menu to the left by it's width
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
else if (curX<leftedge)
tipobj.style.left="5px"
else
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetxpoint+"px"
//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
else
tipobj.style.top=curY+offsetypoint+"px"
tipobj.style.visibility="visible"
}
}
function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}
document.onmousemove=positiontip
</script>
<body>
<? include "includes/header.php";?>
<div class="main_bg">
<div style="height:32px;"></div>
<div style="width:1000px; margin:0 auto;">
<div class="statedetails">
<div class="stdtls_header">
<span style="color:#000;">Birthday Information
</div>
<div class="stdtls_midder">
<div style="height:10px;"></div>
<div class="left_contain">
<div class="birthdaydiv">
<?
$sql_alfa="SELECT * FROM atozsearch";
$res_alfa=execute_query($sql_alfa);
while($row_alfa=mysql_fetch_array($res_alfa))
{
$alfa=$row_alfa['alfa'];
$sql_escort="SELECT * FROM escort_details WHERE status='a' and dob_month like '$alfa%' ";
$res_escort=execute_query($sql_escort);
$num_escort=mysql_num_rows($res_escort);
if($num_escort>0)
{?>
<div class="escort_atoz">
<h1><? echo $alfa; ?></h1>
<div style=" margin:0 auto; width:700px; padding:15px;">
<? while($row_escort=mysql_fetch_array($res_escort))
{
if($row_escort['status']=='a')
{
$sql_newescort="SELECT * FROM escort_photo where postid='".$row_escort['id']."'";
$res_newescort=execute_query($sql_newescort);
$row_newescort=mysql_fetch_array($res_newescort);
$num_newescort=mysql_num_rows($res_newescort);
if($num_newescort>0)
{
?>
<div class="srcestname"><a href="birthdaymsg.php?estid=<?=$row_escort['id']?>"><img src="avtar/<?=$row_newescort['picture']?>" onclick ="div_show()" style="width:70px; height:70px;" onMouseover="ddrivetip('<font class=bodytext><?=$row_escort['nickname']?><br/><?=$row_escort['escort_city']?><br/><?=$row_escort['age']?> yrs old<br/>','#D45887', 200)" onMouseout="hideddrivetip()"/></a></div>
<? }
else
{?>
<div class="srcestname"><img src="images/no_photo_female.gif" style="width:70px; height:70px;" onMouseover="ddrivetip('<font class=bodytext><?=$row_escort['nickname']?><br/><?=$row_escort['escort_city']?><br/>Turned <?=$row_escort['age']?> yrs old<br/>','#D45887', 200)" onMouseout="hideddrivetip()" /></div>
<? }
}
} ?>
<br class="spacer" />
</div>
</div>
<br/>
<? }/////end if
}
?>
</div>
</div>
<div class="right_contain" style="margin-right:5px;">
<? include "includes/right_contain.php";?>
</div>
<br class="spacer" />
</div>
<div class="stdtls_footer"></div>
</div>
<br class="spacer" />
</div>
<br/>
</div>
<? include "includes/footer.php";?>