| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/HostingSpaces/admin/penpalamerica.com/wwwroot/newpal2/ |
Upload File : |
<!DOCTYPE HTML>
<!--
Tactile by Pixelarity
pixelarity.com @pixelarity
License: pixelarity.com/license
-->
<html>
<head>
<title>PenpalAmerica - Get connected to Americans</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
</head>
<body>
<!-- Header -->
<header id="header">
<h1><a href="index.html">Penpal America <span>- Get Connected to Americans</span></a></h1>
<a href="#">Android Mobile Phone Users Only</a>
<a href="#menu">Menu</a>
</header>
<!-- Menu -->
<nav id="menu">
<ul class="links">
<li><a href="index.html">Home</a></li>
<li><a href="faq.html">FAQ</a></li>
</ul>
</nav>
<!-- Main -->
<article id="main">
<header>
<h2 class="major special">Penpal America, Password Reset</h2>
<p>Join Penpal America to make new friends in America</p>
</header>
<section class="wrapper">
<div class="inner">
<header class="major2">
<h2>PASSWORD RESET</h2>
</header>
</div>
<div class="container">
<!-- Text -->
<section>
<?php
$errno = isset($_GET['err']) ? $_GET['err'] : '';
if($errno ==='0')
{
echo "<p><font color ='green'>Success: Your new password updated successfully. Kindly login from the App now and start chatting.</font></p>";
die();
}
if($errno ==='1')
{
echo "<p><font color ='red'>Your Password did not match</font></p>";
}
if($errno ==='2')
{
echo "<p><font color ='red'>Your password is too short.</font></p>";
}
if($errno ==='3')
{
echo "<p><font color ='red'>We cannot update your password at this moment</font></p>";
}
if($errno ==='4')
{
echo "<p><font color ='red'>Database Error! We cannot update your password at this moment. Contact support via email</font></p>";
}
?>
<?php
include "general.php";
include "connect.php";
$email=$_GET['id'];
$passwordcode=$_GET['key'];
$in=$_GET['in'];
$ko=$_GET['ko'];
$domain ="penpalamerica.com";
$query ="select emailcode from penpal where email ='$email' and passwordcode ='$passwordcode' and domain ='$domain'";
$response = getQuery1($query);
//echo $query;
if($response !="#"){
echo "<div class='box'>";
echo "Enter New Password ( minimum of 6 characters)";
echo "<form method='post' action='passwordreset.php'>";
echo "<div class='row'>";
echo "<div class='6u 6u$(xsmall)'>";
echo "<input type='password' name='pass1' id='pass1' value='' placeholder='Password' />";
echo "</div><br><br>";
echo "<div class='6u$ 6u$(xsmall)'>";
echo "<input type='password' name='pass2' id='pass2' value='' placeholder='Confirm Password' />";
echo "</div><br><br>";
echo "<input type='hidden' id='email' name='email' value='$email'>";
echo "<input type='hidden' id='in' name='in' value='$in'>";
echo "<input type='hidden' id='ko' name='ko' value='$ko'>";
echo "<input type='hidden' id='domain' name='domain' value='$domain'>";
echo "<input type='hidden' id='passwordcode' name='passwordcode' value='$passwordcode'>";
echo "<div class='12u$'>";
echo "<ul class='actions'>";
echo "<li><input type='submit' value='Submit' class='special' /></li>";
echo "</ul>";
echo "</div>";
echo "</form>";
echo "</div>";
}else{
echo " <p ><font color='red'> Sorry we cannot reset your password now. </font></p>";
}
?>
</section>
</div>
</section>
</article>
<!-- Footer -->
<footer id="footer">
<div class="inner">
</div>
<div class="copyright">
<ul class="labeled-icons">
<li>
© Penpal America 2019. All rights reserved.
</li>
<li>
<a href="privacy.html">Privacy</a>
</li>
<li>
<a href="terms.html">Terms</a>
</li>
<li>
<a href="#">support@penpalamerica.com</a>
</li>
</ul>
</div>
</footer>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
<script src="assets/js/main.js"></script>
</body>
</html>