GIF89a;
Direktori : /home/serb/public_html/includes/ |
Current File : /home/serb/public_html/includes/location_header.php |
<script language="javascript"> function changetype(type,city) { if(type==1) { location.href="escort_service_list.php?city_id="+city+"&fmlescort=1&header=Female Escort"; } if(type==2) { location.href="view_msgprl_dtls.php?city_id="+city+"&header=Erotic Massage Parlor"; } if(type==3) { location.href="escort_service_list.php?city_id="+city+"&shemaleest=3&header=Shemale Escort"; } if(type==4) { location.href="Strip_club_list.php?city_id="+city+""; } if(type==5) { location.href="escort_service_list.php?city_id="+city+"&strfrhire=6&header=Strippers For Hire"; } if(type==6) { location.href="escort_service_list.php?city_id="+city+"&bodyrubs=9&header=Body Rubs"; } if(type==7) { location.href="adult_web_list.php"; } } </script> <div id="header"> <div class="hdr_body_div"> <div class="hdr_menu_left"> <ul> <li><a href="index.php">Home</a></li> <li><img src="images/menu_divider.png"/></li> <li><a href="#">Site B</a></li> <li><img src="images/menu_divider.png" /></li> <li><a href="#">Site C</a></li> <li><img src="images/menu_divider.png" /></li> <li><a href="#">Site D</a></li> <li><img src="images/menu_divider.png" /></li> <li><a href="#">Site E</a></li> <li><img src="images/menu_divider.png" /></li> </ul> </div> <div class="hdr_menu_right"> <ul> <li><img src="images/menu_divider.png"/></li> <? if($_SESSION['userlogin']=="true") {?> <li><a href=""><?=$_SESSION['user'] ?></a></li> <? }else {?> <li><a href="join.php">Sign Up</a></li> <? }?> <li><img src="images/menu_divider.png"/></li> <? if($_SESSION['userlogin']=='true'){ ?> <li><a href="my-account">My Account</a> <ul> <li><a href="my-account.php">My Profile</a></li> <li><a href="logout.php">Logout</a></li> </ul> </li> <? }else {?> <li><a href="login.php">Member Login</a></li> <? }?> <li><img src="images/menu_divider.png"/></li> <li><a href="#">Escort Advertising</a></li> </ul> </div> <br class="spacer"/> </div> </div> <div class="logo_header"> <div class="logo_header_body"> <div class="logo"> <a href="index.php"><img src="images/logooo.png"/></a> </div> <div class="loc_display"> <div class="location_prl"> <? $sql_city="SELECT * FROM citys where id='".$_GET['city_id']."' "; $res_city=execute_query($sql_city); while($row_city=mysql_fetch_array($res_city)){ $sql_state="SELECT * FROM states where id='".$row_city['states_id']."'"; $res_state=execute_query($sql_state); $row_state=mysql_fetch_array($res_state); ?> <div class="change_locdiv"> <p style="float:left; font-size:18px; padding-right:3px; padding-top:3px;"><?=$row_city['name'] ?>, <?=$row_state['short_name']?></p> <p style="float:left;"><a href="#" onClick="return openimage();"><span class="chang_loc">Change Location »</span></a></p> </div> <?php /*?><p style="float:left; margin-left:4px; padding-bottom:2px;; font-size:25px; line-height:35px; color:#FFFFFF;"><?=$row_city['name'] ?>,<?=$row_state['short_name']?></p><br/> <p style="width:150px; height:20px;">Change Location>></p><?php */?> <? } ?> </div> <div class="loc_search" id="avt2"> <form method="post" action="loc_wise_search.php" name="locsrch"> <input name="submit_form" value="1" type="hidden"> <table style="border:none;" cellpadding="0" cellspacing="0"> <tr> <td><input type="text" name="citysearch" onblur="if(this.value==''){this.value='Type Your City Name'}" onclick="if(this.value=='Type Your City Name'){this.value=''}" value="Type Your City Name" class="loc_srchbox"/></td> <td align="left"><img src="images/search.png" style="height:27px;width:auto;" /></td> </tr> <tr> <td align="left" style="color:#FFFFFF; font-size:12px; padding-top:3px;"> <a href="index.php"><b>All Cities & Countries »</b></a> </td> <td align="right" style="color:#fff; font-size:12px; padding-top:3px;"><a href="#" onClick="return closeimage();"><strong>X</strong></a></td> </tr> </table> </form> </div> <div class="escort_srch"> <? $sql_city="SELECT * FROM citys where id='".$_GET['city_id']."' "; $res_city=execute_query($sql_city); while($row_city=mysql_fetch_array($res_city)){ $sql_state="SELECT * FROM states where id='".$row_city['states_id']."'"; $res_state=execute_query($sql_state); $row_state=mysql_fetch_array($res_state); ?> <form method="post" action="catagory_wise_search.php" name="catsrch"> <input name="submit_form" value="1" type="hidden"> <table style="border:none;" cellpadding="0" cellspacing="0"> <!--<tr> <td align="left" style="color:#FFFFFF; font-size:12px;"> <?=$row_city['name'] ?>,<?=$row_state['short_name']?> </td> <td></td> </tr>--> <tr> <td> <? $type=$_GET['header']; ?> <select name="escot_src" id="est_src" class="escort_srchbox" onchange="return changetype(this.value,<?=$_GET['city_id'] ?>);"> <option value="">Select Type</option> <option value="1" <? if($type=='Female Escort'){ ?> selected="selected" <? } ?>>Female Escort</option> <? $sql_msgprl="SELECT * FROM massageparlor WHERE city_id='".$_GET['city_id']."'"; $res_msgprl=execute_query($sql_msgprl); $num_msgprl=mysql_num_rows($res_msgprl); ?> <option value="2" <? if($type=='Erotic Massage Parlor'){ ?> selected="selected" <? } ?>>Erotic Massage Parlor(<?=$num_msgprl?>)</a></option> <? $sql_tsescort="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='3' And status='a'"; $res_tsescortl=execute_query($sql_tsescort); $num_tsescort=mysql_num_rows($res_tsescortl); ?> <option value="3" <? if($type=='TS/TV Shemale Escort'){ ?> selected="selected" <? } ?>>TS/TV Shemale Escort(<?=$num_tsescort?>)</option> <? $sql_msgprl="SELECT * FROM clubs WHERE club_city='".$_GET['city_id']."'"; $res_msgprl=execute_query($sql_msgprl); $num_msgprl=mysql_num_rows($res_msgprl); ?> <option value="4" <? if($type=='Strip Clubs'){ ?> selected="selected" <? } ?>>Strip Clubs(<?=$num_msgprl?>)</option> <? $sql_strpfrhire="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='6' And status='a'"; $res_strpfrhir=execute_query($sql_strpfrhire); $num_strpfrhir=mysql_num_rows($res_strpfrhir); ?> <option value="5" <? if($type=='Striper For Hire'){ ?> selected="selected" <? } ?>>Striper For Hire(<?=$num_strpfrhir?>)</option> <? $sql_bodyrubs="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='9' And status='a'"; $res_bodyrubs=execute_query($sql_bodyrubs); $num_bodyrubs=mysql_num_rows($res_bodyrubs); ?> <option value="6" <? if($type=='Body Rubs'){ ?> selected="selected" <? } ?>>Body Rubs(<?=$num_bodyrubs?>)</option> <? $sql_adltweb="SELECT * FROM adult_website WHERE status='a'"; $res_adltweb=execute_query($sql_adltweb); $num_adltweb=mysql_num_rows($res_adltweb); ?> <option value="7" <? if($type=='Adult Website'){ ?> selected="selected" <? } ?>>Adult Website(<?=$num_adltweb?>)</option> </select> <input type="hidden" name="city" vale="<?=$_GET['city_id']?>" /> </td> <td align="left"></td> </tr> </table> </form> <? } ?> </div> <br class="spacer" /> </div> <br class="spacer" /> </div> </div> <div class="anchorLand"><a name="anchorLand"></a></div>