| Server IP : 192.169.170.185 / Your IP : 216.73.216.97 Web Server : Apache System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64 User : akhilnew ( 1712764) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/akhilnew/public_html/reflectivejournals.com/ |
Upload File : |
<?php
require_once("header.php");
echo $page_content;
echo '<noscript>Your browser doesn’t support javascript. Please use another browser.</noscript>';
echo '<p class="noscript">Your browser doesn’t support javascript. Please use another browser.</p>';
$type = isset($_GET['type']) ? strip_tags(sanitize(escape($_GET['type']))) : NULL;
if(($type && $type === 'reset')):
$url_email = isset($_GET['email']) ? strip_tags(sanitize(escape(urldecode($_GET['email'])))) : NULL;
$url_token = isset($_GET['token']) ? strip_tags(sanitize(escape($_GET['token']))) : NULL;
if(($url_email && $url_token)):
$stmt = $mysqli->prepare("SELECT * FROM users WHERE (email = ? AND token = ?) LIMIT 1") or die(result(false, "An error occurred. Please try after some time."));
$stmt->bind_param('ss', $url_email, $url_token);
$stmt->execute();
$stmt->store_result();
$count_rows = $stmt->num_rows();
$stmt->close();
if($count_rows === 1):
$focus = encrypt('[RESET_PASSWORD]');
echo <<<EOJ
<form action="{$baseurl}{$filename}" method="post" name="contactform" class="form ajax-form" enctype="multipart/form-data" onsubmit="return submitform(this)">
<input type="hidden" name="token" value="{$token}" autocomplete="off" readonly="readonly" />
<input type="hidden" name="focus" value="{$focus}" autocomplete="off" readonly="readonly" />
<input type="hidden" name="email" value="{$url_email}" autocomplete="off" class="field" />
<input type="hidden" name="resid" value="{$url_token}" autocomplete="off" class="field" />
<div class="body">
<div class="row">
<label class="flbl">Password<span>*</span></label>
<input type="password" name="password" autocomplete="off" class="field" />
</div>
<div class="row">
<label class="flbl">Re-enter Password<span>*</span></label>
<input type="password" name="repassword" autocomplete="off" class="field" />
</div>
<div class="row link">
<input type="submit" name="submit" value="reset password" disabled="disabled" class="button" style="width:114px" />
<div class="loader">Please Wait...</div>
</div>
</div>
</form>
<div class="output"></div>
EOJ;
else:
echo "You followed invalid link.";
endif;
else:
echo "You followed invalid link.";
endif;
else:
$focus = encrypt('[FORGOT_PASSWORD]');
echo <<<EOJ
<form action="{$baseurl}{$filename}" method="post" name="contactform" class="form ajax-form" enctype="multipart/form-data" onsubmit="return submitform(this)">
<input type="hidden" name="token" value="{$token}" autocomplete="off" readonly="readonly" />
<input type="hidden" name="focus" value="{$focus}" autocomplete="off" readonly="readonly" />
<input type="hidden" name="zipcode" value="" readonly />
<div class="body">
<div class="row">
<label class="flbl">Email<span>*</span></label>
<input type="text" name="email" autocomplete="off" class="field" />
</div>
<div class="row link">
<input type="submit" name="submit" value="submit" disabled="disabled" class="button" />
<div class="loader">Please Wait...</div>
</div>
</div>
</form>
<div class="output"></div>
EOJ;
endif;
require_once("footer.php");
?>