GIF89a;
Direktori : /home/serb/public_html/ |
Current File : /home/serb/public_html/remove-account.php |
<? session_start(); if(!($_SESSION['islogin'])) { ?> <script language="javascript"> location.href="index.php"; </script> <? } include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); ?> <? include "includes/header_top.php";?> <body> <script type="text/javascript"> function selectCity(country_id){ if(country_id!="-1"){ loadData('state',country_id); $("#city_dropdown").html("<option value='-1'>Select city</option>"); }else{ $("#state_dropdown").html("<option value='-1'>Select state</option>"); $("#city_dropdown").html("<option value='-1'>Select city</option>"); } } function selectState(state_id){ if(state_id!="-1"){ loadData('city',state_id); }else{ $("#city_dropdown").html("<option value='-1'>Select city</option>"); } } function loadData(loadType,loadId){ var dataString = 'loadType='+ loadType +'&loadId='+ loadId; $("#"+loadType+"_loader").show(); $("#"+loadType+"_loader").fadeIn(400).html('Please wait...'); $.ajax({ type: "POST", url: "loadData.php", data: dataString, cache: false, success: function(result){ $("#"+loadType+"_loader").hide(); $("#"+loadType+"_dropdown").html("<option value='-1'>Select "+loadType+"</option>"); $("#"+loadType+"_dropdown").append(result); } }); } </script> <script language="javascript"> function showCity(str) { if (str=="") { document.getElementById("visitor_city").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("visitor_city").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","getucity.php?c="+str,true); xmlhttp.send(); } </script> <? $sql_gen="select * from escort_details where user_id='".$_SESSION['userid']."'"; $res_gen=execute_query($sql_gen); $row_gen=mysql_fetch_array($res_gen); if($row_gen['gender']=='Male') { include "includes/boys-header.php"; } else { 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;">Home/My Account </div> <div class="stdtls_midder"> <div style="height:10px;"></div> <? $sql_postad="select * from escort_details where user_id='".$_SESSION['userid']."' And status='a'"; $res_postad=execute_query($sql_postad); $num_postad=mysql_num_rows($res_postad); $row_postad=mysql_fetch_array($res_postad); ?> <div class="left_containmain"> <div style=" width:980px; margin:0 auto; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <? $sql_pstad="select * from escort_details where user_id='".$_SESSION['userid']."' "; $res_pstad=execute_query($sql_pstad); $num_pstad=mysql_num_rows($res_pstad); $row_pstad=mysql_fetch_array($res_pstad); if($num_pstad>0) { if($row_pstad['status']=='a') { ?> <td class="updatehdrstyle23"><a href="myaccount.php"><img src="images/edit_profile.png" style="vertical-align:middle;" /><br/>My Profile</a></td> <? } else {?> <td class="updatehdrstyle23"><img src="images/edit_profile.png" style="vertical-align:middle;" /><br/>My Profile</td> <? } } else { ?> <td class="updatehdrstyle23"><a href="userpostad.php"><img src="images/add_escort.png" style="vertical-align:middle;" /><br/>Post ad</a></td> <? } ?> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="escortimages.php"><img src="images/my_photo.png" style="width:52px; height:52px; vertical-align:middle" /><br/>My Photos</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="add-myvideos.php"><img src="images/my_videos.png" style="width:55px; height:55px; vertical-align:middle" /><br/>My Videos</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><img src="images/verifyimage.png" style="width:55px; height:55px; vertical-align:middle" /><br/> 100% verify</td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="add-mytours.php?pid=<?=$row_postad['id']?>"><img src="images/my_tour.png" style="width:55px; height:55px; vertical-align:middle" /><br/> My Tours</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><img src="images/my_reviews.png" style="width:55px; height:55px; vertical-align:middle" /><br/> My Reviews</td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="blacklist.php"><img src="images/blacklist.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Black List</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <? if( $num_postad>0) { if($row_postad['ft_ad_status']=='Yes') { $todaydate=date('Y-m-d'); $exp=$row_postad['ft_ad_expair']; if($todaydate>$exp) {?> <td class="updatehdrstyle23"><a href="advertise-vipmember.php?estid=<?=$row_postad['id']?>"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</a></td> <? } else { ?> <td class="updatehdrstyle23"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</td> <? } } else {?> <td class="updatehdrstyle23"><a href="advertise-vipmember.php?estid=<?=$row_postad['id']?>"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</a></td> <? } ?> <? } else {?> <td class="updatehdrstyle23"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</td> <? } ?> </tr> <tr height="8"></tr> <tr> <td class="updatehdrstyle23"><a href="escort-harrasment.php"><img src="images/blacklist.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Report Harrasers</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="contact_us.php"><img src="images/support.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Support</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="password-setting.php"><img src="images/settings.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Settings</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="view-own-ad.php?name=<?=$row_postad['nickname']?>&phone=<?=$row_postad['tel_national']?>"><img src="images/viewad.png" style="width:55px; height:55px; vertical-align:middle" /><br/>View Ad</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="remove-account.php"><img src="images/removeacc.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Remove Account/AD</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="mybanner.php"><img src="images/bannericon2.png" style="width:55px; height:55px; vertical-align:middle" /><br/>My Banner</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="logout.php"><img src="images/logout.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Logout</a></td> </tr> </table> </div> <br/> <div style=" width:960px; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;"> <form method="post" action="rmvaccount_process.php" name="remove_acc"> <input name="submit_form" value="1" type="hidden"> <div class="postadpagebody"> <h1>Remove Account/Ad</h1> <div class="srv_infodtlssss"> <table border="0" cellpadding="0" cellspacing="4" style="width:500px; margin:0 auto;"> <tr height="25"></tr> <tr> <td colspan="2"> <? if($_GET['msg']==1){ ?> Your Dont Have Any Ad In Our Database. <? } ?> <? if($_GET['msg']==2){ ?> Your Ad Has Been Removed Successfuly. <? } ?> <? if($_GET['msg']==3){ ?> Your Account And Ad Has Been Removed Successfuly. <? } ?> </td> </tr> <tr> <td style="text-align:right;"><input type="checkbox" name="rmvAd" /></td> <td class="logintext">Remove Your Ad</td> </tr> <tr> <td style="text-align:right;"><input type="checkbox" name="rmvAcc" /></td> <td class="logintext">Remove Your Account Including Your Ad</td> </tr> <tr> <td></td> <td><input type="image" src="images/submit.png" /></td> </tr> </table> <br/><br/> </div> </div> </form> </div> <br class="spacer" /> </div> </div> <div class="stdtls_footer"></div> </div> <br class="spacer" /> </div> </div> <? include "includes/footer.php";?>