Current File : /home/inlingua/public_html/noida/icentex/leave_tracker/header_leave.php
<?php 
include("check_leave.php");
date_default_timezone_set('Asia/Calcutta');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>inlingua Soft</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="../style.css" rel="stylesheet" type="text/css" />
<link media="screen" rel="stylesheet" href="../admin_leave/colorbox.css" />
<link href="../../menu/dbMenu/global.css" rel="stylesheet" type="text/css" />

<link type="text/css" href="../jquery/development-bundle/themes/base/ui.all.css" rel="stylesheet" /> 
	<script type="text/javascript" src="../jquery/development-bundle/jquery-1.3.2.js"></script> 
	<script type="text/javascript" src="../jquery/development-bundle/ui/ui.core.js"></script> 
	<script type="text/javascript" src="../jquery/development-bundle/ui/ui.datepicker.js"></script> 
	<script type="text/javascript" src="../jquery/development-bundle/ui/ui.slider.js"></script>
	
	<script type="text/javascript" src="../jquery/development-bundle/jquery.validate.js"></script> 
		<script type="text/javascript" src="js/leave_form.js"></script> 
		<script src="../admin_leave/js/jquery.colorbox.js"></script>


<style type="text/css">

#leaveForm label.error {
	margin-left: 0px;
	width: auto;
	display: block;
	color:#FF3366;
	/*border:#990066 solid 1px;*/
}

</style>
<SCRIPT LANGUAGE="JavaScript">

function textCounter(field,cntfield,maxlimit) {
if (field.value.length > maxlimit) {// if too long...trim it!
alert("You have exceeded the allowed word limit");
field.value = field.value.substring(0, maxlimit);

}
// otherwise, update 'characters left' counter
else
cntfield.value = maxlimit - field.value.length;
}

</script>
<STYLE type="text/css">

INPUT.btnStyle { background-color: #cccccc; 
border-color: efefef; 
border:solid 1px #000000;
font-family: arial, verdana, ms sans serif; 
font-weight: bold; 
font-size: 12pt; 
}

INPUT.btnStyle1 { background-color: #cccccc; 
border-color: efefef; 
border:solid 1px #000000;
font-family: arial, verdana, ms sans serif; 
font-weight: normal; 
font-size: 12pt; 
}

</STYLE>
</head>
<body>
<div id="outer">
  <div id="content">
<div id="tertiaryContent">
<?php if(isset($_SESSION['id'])){ ?>
<h4>Welcome, <?php echo $_SESSION['name1']; ?></h4>
<h3><?php 
if($_SESSION['branch']=="S.Extn")
{
echo "South Extension";
}
else
{
echo  $_SESSION['branch']; 
}

 ?></h3>
<h4><a href='../index.php?l=y'>Logout</a></h4>
<?php } else { ?>
			<h3>Instructor Login</h3>
			<font style="font-size:12px; color:#E84B1E"><?php if($_SESSION['wrongpass']) { echo $_SESSION['wrongpass']; unset (			$_SESSION['wrongpass']); }?></font>
			<form action="../admin.action.php" method="post" name="login" id="form-login">
			<fieldset>
            <legend></legend>

			  <p>
			    <label>User ID:
			      <input type="text" name="username" id="userid" accesskey="1" tabindex="1" />
		        </label>
			  </p>
				<p>
				  <label>Password:
				    <input name="passwd" type="password" id="password" accesskey="2" tabindex="2" />
				  </label>
				</p>
				<p class="submit">
				  <label>
				    <input type="submit" name="go" id="go" value="Go!" accesskey="3" tabindex="3" />
				  </label>
				</p>
            </fieldset>
			</form>
<?php }?>			
			
			
			<!--<h3>Nunc pellentesque</h3>
			<ul>
				<li><a href="#">Vivamus id arcu</a></li>
				<li><a href="#">Duis congue ultricies</a></li>
				<li><a href="#">Purus in mollis purus</a></li>
				<li><a href="#">Orci nonummy fringilla</a></li>
				<li><a href="#">Pellentesque at lorem</a></li>
				<li><a href="#">Enim vivamus convallis</a></li>
			</ul>-->
			
            <p><a href="http://www.inlinguanewdelhi.com/"><img src="../images/inlingua_com.jpg" alt="" width="162" height="128" /></a></p>
<div class="xbg"></div>
		</div>
		
		<div id="primaryContentContainer">
		<div id="primaryContent">