| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/usa_sites/americasgotfunding.com/ |
Upload File : |
<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/assets/includes/php_header.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/membersonly/assets/includes/AuthLCAPI.php');
if (isset($_POST['submitted'])) {
$auth= new AuthLCAPI;
$email = $_POST['email'];
$password = $auth->retrieve_password($email);
if (strcmp($password,"")==0) {
$error = "Account not found!";
} elseif($password=='wait_for_billing') {
$error = "Your account is not yet active.";
} else {
$message = "Thank you for your recent membership to $_SITE_NAME.
Your login information is:
Website: http://{$_SERVER['SERVER_NAME']}/login.php
Username: $email
Password: $password
If you have any questions, please don't hesitate to let us know.
Our email is: $_SITE_EMAIL. Or you can visit our support page in the Members Only site by clicking on the support tab, {$_SERVER['SERVER_NAME']}/membersonly/contact.php
Sincerely,
$_SITE_NAME
{$_SERVER['SERVER_NAME']}";
$from = "From: $_SITE_EMAIL\r\n";
mail($email,$_SITE_NAME." Membership Information",$message,$from);
$status = "Email sent to $email";
}
}
$title = $_SITE_NAME." : Forgot Login/Password";
include($_SERVER['DOCUMENT_ROOT'].'/assets/includes/header2.php'); ?>
<!--INFO AREA + BOX MIDDLE-->
<div style="background:url(assets/images/box_middle.png) repeat-y; width:1000px; float:left;">
<!--LEFT COLUMN-->
<div id="one_column" class="terms" style="text-align:center">
<h1 class="memb_title_red">Forgot Login / Password</h1>
<? if ($error !='') : ?>
<p style='color:#B32317;'><?= $error;?></p>
<? endif; ?>
<? if ($status !='') : ?>
<p style='color:#80AA70;'><?= $status; ?></p>
<? endif; ?>
<div class="table_container" style="border:3px double #ADCCD6; margin: auto;">
<form method="post" action="https://<?=$_SERVER['SERVER_NAME'];?>/forgotpassword.php">
<table cellpadding="2" cellspacing="2" align="center">
<tr>
<td align="left">
<div style="padding:10px">
<p><strong>Welcome to <?=$_SITE_NAME;?></strong></p>
<p>To have your password emailed to you enter your email address below:</p>
</div>
<div align="center">
<table>
<tr>
<td>Email Address </td>
<td><input type="text" size="30" name="email" />
<input type="submit" value="Submit" name="submitted" style="cursor:pointer" />
</td>
</tr>
<tr>
<td colspan="2" align="center">
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</form>
</div>
</div>
<div style="clear:both;"></div>
</div>
<!--INCLUDE FOOTER-->
<?php include('assets/includes/footer.php'); ?>