Current File : /home/inlingua/www/icentex/admin/index.php
<?php session_start(); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xml:lang="en-gb" xmlns="http://www.w3.org/1999/xhtml" lang="en-gb"><head>


  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta name="robots" content="index, follow">
 
  <title>Administration</title>
 
<link href="test/template_css.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="test/system.css" type="text/css">
<!--[if IE 7]>
<link href="test/ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script language="javascript">
<!--
function validate() 
{	if (document.login.username.value=="")
	{	alert("User name cannot be blank. Please enter it.");
		document.login.username.focus(); return false;
	}
	if (document.login.passwd.value=="")
	{	alert("Password cannot be blank. Please enter it.");
		document.login.passwd.focus(); return false;
	}
	document.login.submit();
	return true;
}
-->
</script>
<script language="javascript" type="text/javascript">

	function setFocus() {

		document.getElementById('modlgn_username').select();

		document.getElementById('modlgn_username').focus();

		document.getElementById('login').onkeyup = submitIt;

		if (document.getElementById('login').captureEvents) document.getElementById('login').captureEvents(Event.KEYUP);

	}

	function nav() {

		var goto=document.getElementById('dropdownnav').value;

		document.getElementById('option').value = goto;

	}

	function submitIt(e) {

		var code;

		if (!e) var e = window.event;

		if (e.keyCode) code = e.keyCode;

		else if (e.which) code = e.which;

		

		if (code == 13) {

			document.getElementById('form-login').submit();

		}

	}

</script>
</head><body onload="javascript:setFocus()" id="login">

<div id="return-to-homepage"><table width='100%'><tr><td><img src='test/images/logo.jpg'></td><td align='right'> <a href="http://inlinguanewdelhi.com/">Return to site Home Page</a> </td></tr></table></div>
<div id="login-wrapper">
	<div id="login-top">
						<h3>Timesheet Administrator </h3>
						<font style="font-size:12px; color:#E84B1E"><?php if($_SESSION['wrongpass']) { echo $_SESSION['wrongpass']; unset ($_SESSION['wrongpass']); }?></font>
			</div>
	<div id="login-content">
		<form action="admin.action.php" method="post" name="login" id="form-login" style="clear: both;">
	<p id="form-login-username">
		<label for="modlgn_username">Username</label>
		<input value="" name="username" id="modlgn_username" class="inputbox" size="15" type="text">
	</p>

	<p id="form-login-password">
		<label for="modlgn_passwd">Password</label>
		<input name="passwd" id="modlgn_passwd" class="inputbox" size="15" type="password">
	</p>
		
		
	<div class="button_holder">
	<div class="button1">
		<div class="next">
			<a onclick="validate();">
				Login</a>

		</div>
	</div>
	</div>
	<div class="clr"></div>
	<input style="border: 0pt none ; margin: 0pt; padding: 0pt; width: 0px; height: 0px;" value="Login" type="submit">
	<input name="option" value="com_login" type="hidden">
	<input name="task" value="login" type="hidden">
	<input name="ca5d014c7decf4136388613e9466065f" value="1" type="hidden"></form>

		<div class="clear"></div>
	</div>
	<div id="login-footer">
	
	</div>
</div>

<div class="clr"></div>



</body></html>

<?php
if($_REQUEST[a]=='o')
{
session_destroy();
}
 ?>