Preview: forgot-password.php
Size: 4.34 KB
//home/justbyquicklly-old/public_html/forgot-password.php
<?php
include("include/config.php");
include("include/functions.php");
if(!isset($_COOKIE['postalcode'])){
setcookie('postalcode', '60610', time()+(86400 * 30 * 12), "/"); // 86400 = 1 day
}
if (trim($_COOKIE['url']) != '' && trim($_COOKIE['url']) != ',') {
$urlarr=explode(',',$_COOKIE['url']);
$url=$urlarr[0].'-'.$urlarr[1];
}else{
$url='';
}
if($_REQUEST['submitForm']=='yes'){
$email=mysqli_real_escape_string($GLOBALS['conn'],$_REQUEST['email']);
$results = callAPI('POST', WEBAPI_URL_NEW.'miniuser/reset-pass',array("email"=>$email,'callFrom'=>'JUSTBYQUICKLLY','domain'=>'https://www.justbyquicklly.com','sitename'=>'justbyquicklly.com'));
if($results->success==1)
{
$_SESSION['sess_msg']="Password reset link has been sent on email!";
}
else
{
$_SESSION['sess_msg']="Email ID does not exist, please try again with a valid ID";
}
}
?>
<!DOCTYPE HTML>
<html lang="en-us">
<head>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<title> Just By Quicklly : Forgot Password</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/stylesheet/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/stylesheet/font-awesome.css">
<link rel="stylesheet" type="text/css" href="css/stylesheet/style.css?ver=1.1">
<?php include("metas.php"); ?>
<?php include("css.php"); ?>
<?php include("common-head.php"); ?>
<script>
$(document).ready(function(){
$("button").focus(function(){
$("#first").hide(10);
$("#second").show(10);
});
});
$(document).ready(function(){
$("input").blur(function(){
$("#first").show(10);
$("#second").hide(10);
});
});
</script>
</head>
<body>
<?php include("header.php");
include("cart.php"); ?>
<div id="searchhide">
<div class="page-heading">
<h1></h1>
</div>
<div class="clearfix"></div><br>
<div class="container">
<div class="col-md-5 col-sm-12" style="border:1px solid #999; padding:0px 0px; border-radius:4px">
<div class="col-md-12" style="background:#; height:65px; padding:0px 0px 10px 0px; border-radius:4px; border-bottom:1px solid #999; color:#222; font-weight:bold; text-align:center"><h3>Forgot Password</h3></div>
<div class="col-md-12 col-sm-12" style="padding:40px 10px 40px 10px">
<form name="frm" method="post" id="form" action="">
<input type="hidden" name="submitForm" value="yes" />
<div align="center" style="color:#090;"><?php echo $_SESSION['sess_msg'];$_SESSION['sess_msg']=''; ?><br></div>
<p><input type="text" name="email" id="email" class="form-control" required value="" placeholder="Enter your registered Email Id" style="border:1px solid #999; height:35px" onFocus="this.style.border='2px solid #9ecaed'" onBlur="this.style.border='1px solid #999'" /></p>
<div class="clearfix"></div><br>
<div class="col-md-12 col-sm-12" align="center" style="padding:0px">
<input type="submit" value="Submit" class="guestUser" style="width:100%; height:40px; padding-top:3px" /></div>
</form>
</div>
</div>
<div class="col-md-1 col-sm-12"></div>
<div class="col-md-6 col-sm-12" style="border:1px solid #999; padding:0px 0px; border-radius:4px">
<div class="col-md-12" style="background:#; height:65px; padding:0px 0px 10px 0px; border-radius:4px; border-bottom:1px solid #999; color:#222; font-weight:bold; text-align:center"><h3>Why register with us.</h3></div>
<div class="clearfix"></div>
<div class="col-md-12" style="padding:10px">
<ul style="list-style-type:disc; line-height:29px; text-align:justify; padding-left:15px">
<li>No more renting a car for a buying ethnic groceries/standing in long queues/facing parking hassles! Save your time with our doorstep delivery.</li>
<li>Convenient and uncomplicated online-shopping platform. Simply register yourself on the website and you are good to go!</li>
<li>Your smartphone becomes your grocery-shopper. 100% convenience at no extra cost!</li>
<li>Ease of online payment with all major credit/debit card merchants accepted.</li>
</ul>
</div></div>
</div>
</div>
<div class="clear"></div><br><br>
<?php include("footer.php"); ?>
<?php include_once("js.php") ?>
<script type="text/javascript" src="<?php echo getFileVer('js/cart.js'); ?>" ></script>
</body>
</html>
Directory Contents
Dirs: 12 × Files: 59