GIF89a;
Direktori : /home/serb/www/m/ |
Current File : /home/serb/www/m/join.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);*/ $page='join'; ?> <? if($_POST) { $date=date('Y-m-d'); $dt=explode('-',$date); $yer=$dt[0]; $bth=$_POST['year']; $dif=$yer-$bth; $_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> <? } } ?> <!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-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"> <p id="alsignup">Already signed up? <a href="login.php" data-transition="flip" id="loginnow">Login Now</a></p> <h2 id="loginheadertext">Escortservice Registration</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>--> <? if($_GET['msg']==2){ ?> <p id="loginnow">Username or Email Already Exit.</p> <? } ?> <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">Username:<span id="starcolor">*</span></label> <input type="text" name="userName" id="txt-username" value=""> <label for="txt-email">Email:<span id="starcolor">*</span></label> <input type="email" name="emailAddrs" id="txt-email" value=""> <label for="txt-password">Password:<span id="starcolor">*</span></label> <input type="password" name="passWord" id="txt-password" value=""> <label for="txt-cfpassword">Confirm Password:<span id="starcolor">*</span></label> <input type="password" name="repassWord" id="txt-cfpassword" value=""> <fieldset data-role="controlgroup" data-type="horizontal" data-mini="true"> <legend>Date of Birth:</legend> <label for="select-choice-month">Month</label> <select name="expMonth" id="select-choice-month"> <option>Month</option> <option value="">Month</option> <option value="January">1: Jan</option> <option value="February">2: Feb</option> <option value="March">3: Mar</option> <option value="April">4: Apr</option> <option value="May">5: May</option> <option value="June">6: Jun</option> <option value="July">7: Jul</option> <option value="August">8: Aug</option> <option value="September">9: Sep</option> <option value="October">10: Oct</option> <option value="November">11: Nov</option> <option value="December">12: Dec</option> <!-- etc. --> </select> <label for="select-choice-year">Year</label> <select name="year" id="select-choice-year"> <option value="">Year</option> <? for($i=1900; $i<=1997; $i++){ ?> <option value="<?=$i?>"><?=$i?></option> <? }?> <!-- etc. --> </select> </fieldset> <label for="select-native-1">Your Account Type:</label> <select name="acctype" id="acctype"> <option value="independent">Independent Escort</option> <option value="agency">Escort Agency</option> <option value="tstv">TS/TV Escort</option> <option value="hobbyist">Hobbyist</option> </select> <h3 id="termcondition">Terms and Conditions</h3> <p id="loginalertmsg"> WWW.Escortservice.org (“The Site”) is an online classified advertising website, which also includes various email services. These are our general terms and conditions regarding the use of this Website and the services provided from it (“The Services”). By using www.escortservice.org, you agree to be bound by these Terms and Conditions ("Terms"). You also agree to The Site’s Privacy Policy and accept cookies from this site. The Site may update the Terms from time to time so please review the relevant pages regularly. Should you object to any term or condition, guideline, or subsequent changes made to www.escortservice.org then we recommend the immediate disuse of The Site. </p> <!--<p> Are you at least 18 years old and do you accept the Terms and Conditions above?<span id="starcolor">*</span> </p> <fieldset data-role="controlgroup" id="popMaintDist" data-type="horizontal" data-mini="true"> <input id="checkbox-v-2a" name="radioMaintDist" value="1" type="radio"> <label for="checkbox-v-2a">One</label> <input id="checkbox-v-2e" name="radioMaintDist" value="2" type="radio"> <label for="checkbox-v-2e">Two</label> <input id="checkbox-v-2f" name="radioMaintDist" value="3" type="radio"> <label for="checkbox-v-2f">Three</label> <input id="checkbox-v-2b" name="radioMaintDist" value="4" type="radio"> <label for="checkbox-v-2b">Four</label> </fieldset>--> <input type="image" src="continue.png" style="height:35px; margin-top:10px;"> </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>