GIF89a;
Direktori : /home/serb/www/m/ |
Current File : /home/serb/www/m/activeagencyaccount.php |
<? session_start(); //include("config.php"); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); $page='login'; ?> <!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> </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"> <h2 id="loginheadertext">Congratulation....</h2> <? if($_GET['id']) { $sql="SELECT * FROM user_info WHERE userid='".$_GET['id']."'"; $res=execute_query($sql); $num=mysql_num_rows($res); $row=mysql_fetch_array($res); if($num>0) { if($row['status']=='u') { $upd="UPDATE user_info SET status='a' WHERE userid='".$_GET['id']."'"; execute_query($upd); $to = $row['email']; //$to = "subhrajyoti.mca11@gmail.com"; $subject="Account Approve"; $body="<html> <head> <title>Your Account is Approved in Escortservice.org</title> </head> <body> <table style='padding:10px; color:#000;'> <tr><th>Account Approve</th></tr> <tr><td><br/></td></tr> <tr> <td>Your Account is Approved in Escortservice.org</td> </tr> <tr> <td>Below You will find your Account details</td> </tr> <tr> <td>Username:".$row['username']."</td> </tr> <tr> <td>Password:".$row['password']."</td> </tr> <tr> <td>Click here to login:<a href='http://thedevlab.net/Avi-Dev/mescortservice/login.php' style='color:#AD0066;'>Login</a></td> </tr> </table> </body> </html>"; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'From: escortservice <support@escortservice.org>' . "\r\n"; mail($to, $subject, $body, $headers); ?> <p id="loginalertmsg">You have successfully activated this Agency</p> <? } else { ?> <p id="loginalertmsg">This Agency account is already activated.</p> <? } } else { ?> <p id="loginalertmsg">Invalid activation key.</p> <? } } else { ?> <script language="javascript"> location.href="index.php"; </script> <? } ?> <br/><br/> <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>