GIF89a;
Direktori : /home/serb/public_html/m/ |
Current File : /home/serb/public_html/m/blacklist.php |
<? session_start(); //include("config.php"); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); /*$sql="SELECT * FROM page_content WHERE id='45'"; $res=execute_query($sql); $row=mysql_fetch_array($res);*/ ?> <? if($_POST) { $date=date('Y-m-d'); $dt=explode('-',$date); $yer=$dt[0]; $bth=$_POST['year']; $dif=$yer-$bth; if($dif>=18) { $_SESSION['reg_username']=$_POST['userName']; $_SESSION['reg_email']=$_POST['emailAddrs']; $_SESSION['reg_pass']=$_POST['passWord']; $_SESSION['reg_acctype']=$_POST['acctype']; $_SESSION['DOB']=$_POST['year']; $_SESSION['dob_month']=$_POST['expMonth']; //$ctname=$_SESSION['countryname']; $sql="SELECT * FROM user_info WHERE username='".$_POST['userName']."' OR email='".$_POST['emailAddrs']."'"; $res=execute_query($sql); $num=mysql_num_rows($res); if($num<=0) { if($_POST['acctype']=='agency') { ?> <script language="javascript"> location.href="create-agencyaccount.php"; </script> <? } else if($_POST['acctype']=='hobbyist') { ?> <script language="javascript"> location.href="create-hobbyistaccount.php"; </script> <? } else { ?> <script language="javascript"> location.href="post-ad.php"; </script> <? } } else { $loc="join.php?msg=2"; ?> <script language="javascript"> location.href="<?=$loc?>"; </script> <? } } else {?> <script language="javascript"> alert('Your age is below 18. you dont have permission to join escortservice.org'); location.href="<?=$loc?>"; </script> <? } } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="height=device-height,width=device-width,initial-scale=1.0,maximum-scale=1.0"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <title>Blacklist | Escort Service | Female Escorts,Models,Call Girls,GEF,Companions</title> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="themes/escserve.css" /> <link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" /> <link rel="stylesheet" href="jMobile.css" /> <script src="jquery.min.js"></script> <script src="jqueryMobile.js"></script> <script> $('#frm').validate({ rules: { userName: { required: true }, emailAddrs: { required: true } }, messages: { userName: { required: "Please enter your first name." }, emailAddrs: { required: "Please enter your email." } }, errorPlacement: function (error, element) { error.appendTo(element.parent().prev()); }, submitHandler: function (form) { $(':mobile-pagecontainer').pagecontainer('change', '#success', { reload: false }); return false; } }); </script> </head> <body> <div data-role="page" id="page" data-theme="d" data-transition="flip"> <div id="headerTop"></div> <? include "includes/header.php";?> <div data-role="content" id="searchboxx"> <span style="float:left !important; margin-top:-5px !important;"><a style="float:left;" href="index.php" class="ui-btn ui-shadow ui-corner-all ui-icon-home ui-btn-icon-notext" data-iconpos="right" title="Go Home">Home</a></span> <span style="float:right !important; margin-top:-5px !important;"><a style="float:right;" href="my-account.php" class="ui-btn ui-shadow ui-corner-all ui-icon-back ui-btn-icon-notext" data-iconpos="right" title="Go Dashboard">back</a></span> </div> <div data-role="content"> <!--<p id="alsignup">Already signed up? <a href="login.php" data-transition="flip" id="loginnow">Login Now</a></p>--> <h2 id="loginheadertext">Feedback of Customer</h2> <!--<p id="alsignup">Do you have a promo code? <a href="#" data-transition="flip" id="loginnow">Redeem it now, before you register!</a></p>--> <!-- <p id="loginalertmsg"> Please use your EscortService username and password to login bellow. </p> <p id="loginalertmsg"> Need to Register? <a href="join.html" id="jointextcolor" data-transition="flip" data-prefetch>Get Started Now!</a> </p>--> <form action="<?=$_SERVER['PHP_SELF']?>" method="post" name="frm" id="frm" > <input name="submit_form" value="1" type="hidden"> <img src="images/sirenlogo.png" /><input type="text" name="searchname" id="txt-username"> <input type="image" name="search" src="images/srch.png" style="height:35px; margin-top:10px;"> </form> <p> <a href="add-feedback.php" data-ajax="false"><img src="images/feedback.png" /></a> </p> <p> <? // $date=date('Y-m-d'); // $ntexpiry = date("Y-m-d", time() - 30*24*60*60 ); if($_POST['searchname']) { $sql="SELECT * FROM blacklist where (customer_name='".$_POST['searchname']."' or phone='".$_POST['searchname']."')"; } else { $sql="SELECT * FROM blacklist ORDER BY id DESC"; } $res=execute_query($sql); $num=mysql_num_rows($res); ?> <table data-role="table" class="ui-responsive"> <thead> <tr> <th>Date</th> <th>Contact Reviews</th> <th>Customer</th> <th>Phone</th> <th>Safe/ Respectfull</th> <th>Comments</th> <th>Edit</th> </tr> </thead> <tbody> <? while($row=mysql_fetch_array($res)) { $datee=explode('-',$row['date']); if($datee[1]==1) { $mn= "Jan"; } if($datee[1]==2) { $mn= "Feb"; } if($datee[1]==3) { $mn= "Mar"; } if($datee[1]==4) { $mn= "Apr"; } if($datee[1]==5) { $mn= "May"; } if($datee[1]==6) { $mn= "Jun"; } if($datee[1]==7) { $mn= "Jul"; } if($datee[1]==8) { $mn= "Aug"; } if($datee[1]==9) { $mn= "Sept"; } if($datee[1]==10) { $mn= "Oct"; } if($datee[1]==11) { $mn= "Nov"; } if($datee[1]==12) { $mn= "Dec"; } $dateee=explode(' ',$datee[2]); ?> <tr> <td><? echo $mn .' '. $datee[0];?></td> <td>PM</td> <td><?=$row['customer_name']?></td> <td><?=$row['phone']?></td> <td><?=$row['safe']?></td> <td><?=$row['coments']?></td> <td> <? if($row['userid']==$_SESSION['userid']) { ?> <a href="edit_blacklis.php?id=<?=$row['id']?>" data-ajax="false" data-transition="fade"><img src="admin/img/bEdit.png" /> <? } ?></td> </tr> <tr style="border-bottom:1px solid #F0D7E2;"></tr> <? } ?> </tbody> </table> </p> <!--<a href="#dlg-invalid-credentials" data-rel="popup" data-transition="pop" data-position-to="window" id="btn-submit" ><img src="continue.png" style="height:35px; margin-top:10px;"></a>--> <div data-role="popup" id="dlg-invalid-credentials" data-dismissible="false" style="max-width:400px;"> <div role="main" class="ui-content"> <h3 class="mc-text-danger">Login Failed</h3> <p>Did you enter the right credentials?</p> <div class="mc-text-center"><a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-b mc-top-margin-1-5">OK</a></div> </div> </div> </div> <div data-role="panel" data-display="push" data-position="right" data-theme="d" id="navMenu"> <? include "includes/right-menubar.php";?> </div><!-- /panel --> <div data-role="footer" > <div id="footerTop"> <? include "includes/footer.php";?> </div> <div id="footerBottom"><p>Copyright 2015 ESCORTSERVICE.ORG | All Rights reserved.</p></div> </div> </div> </body> </html>