GIF89a;
Direktori : /home/serb/www/m/ |
Current File : /home/serb/www/m/edit_blacklis.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'); $coment=addslashes($_POST['details']); $sql_tour="UPDATE blacklist SET customer_name='".$_POST['cushandle']."', phone='".$_POST['phone']."',coments='$coment' WHERE id='".$_POST['bkid']."'"; execute_query($sql_tour); ?> <script language="javascript"> location.href="blacklist.php"; </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>Escort Service - Premiere Escort Listings,Escorts,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"> <div data-role="fieldcontain" id="ser" data-iconpos="right"> <input type="search" name="search-2" id="search-2" value="" /> </div> </div>--> <div data-role="content"> <? $sql_postad="select * from escort_details where user_id='".$_SESSION['userid']."'"; $res_postad=execute_query($sql_postad); $num_postad=mysql_num_rows($res_postad); $row_postad=mysql_fetch_array($res_postad); ?> <h2 id="loginheadertext">Edit Own Comments</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>--> <? $sql="SELECT * FROM blacklist where id='".$_GET['id']."'"; $res=execute_query($sql); $row=mysql_fetch_array($res); ?> <form action="<?=$_SERVER['PHP_SELF'] ?>" method="post" name="frm" id="frm" data-ajax="false"> <input name="submit_form" value="1" type="hidden"> <label for="txt-username">Customer Name:<span id="starcolor">*</span></label> <input type="text" name="cushandle" id="txt-username" value="<?=$row['customer_name']?>"> <label for="txt-email">Phone:<span id="starcolor">*</span></label> <input type="tel" name="phone" id="txt-email" value="<?=$row['phone']?>"> <label for="txt-cfpassword">Aditional Details:</label> <textarea cols="40" rows="8" name="details" id="txt-cfpassword"> <? echo stripslashes($row['coments']); ?></textarea> <p id="loginalertmsg"> *Note: Your feedback is 100% anonymous. Escortservice will facilitate conversations based on a feedback ID and we will never share your identity with others. </p> <input type="image" src="continue.png" style="height:35px; margin-top:10px;"> <input type="hidden" name="bkid" value="<?=$_GET['id']?>" /> </form> <!--<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>