| 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/usagrantapplication.org/mobile/ |
Upload File : |
<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/inc/php_header.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/inc/AuthLCAPI.php');
$Auth= new AuthLCAPI();
$error = '';
if (isset($_GET['logout']) && $_GET['logout'] == 1) {
//User Authentication Object
$auth = new AuthLCAPI();
$auth->logout();
$message = "You have successfully logged out.";
}
if (isset($_REQUEST['user']) && isset($_REQUEST['pass']))
{
$user=trim($_REQUEST['user']);
$pass=trim($_REQUEST['pass']);
if (!$Auth->login($user,$pass))
{
if ($Auth->timedout == true)
{
$error = 'There was a problem contacting the login server. Please try again.';
}
else
{
$error='The username or password you supplied is incorrect. Please try again.';
}
}
else
{
#$Auth->login($user,$pass);//This will take care of redirecting the user to password reset page if num_logins=0
header('location: membersonly/index.php');
die();
}
}
$title = 'Login';
$body_class = 'login';
require_once('header.php');
?>
<div class="main">
<div class="main_">
<h1>Member Login</h1>
<form style="width:90%; margin-left:0" method="post" action="https://<?=$_SERVER['SERVER_NAME'];?>/v2/login.php">
<table cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="left">
<div style="padding:10px">
<p>
<strong>Welcome to USA Funding Applications!</strong>
</p>
<p>To login to your account, just input your username and password below and click on "Login".</p></font>
</div>
<div align="center">
<? if ($error !='') { ?>
<span style="color:red;">
<?= $error; ?>
</span>
<? } ?>
<table class="loginform">
<tr>
<td>
User Name:
</td>
<td>
<input type="text" class="input_text" name="user" />
</td>
</tr>
<tr>
<td>
Password:
</td>
<td>
<input type="password" class="input_text" name="pass" />
</td>
</tr>
<tr>
<td></td>
<td>
<input style="margin:10px 0 30px" class="submit" type="submit" value="Login" name="login" style="cursor:pointer" />
</td>
</tr>
<tr>
<td colspan="2" align="center">
<a href="https://<?=$_SERVER['SERVER_NAME'];?>/v4/forgotpassword.php">Forgot your Login / Password?</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<input type="hidden" name="submitted" value="submitted">
</form>
</div>
</div>
<?php require_once('footer.php');?>