Current File : /home/inlingua/public_html/dwarka/icentex/general_leave/admin_leave.php
<?php
include("header_leave.php");
// Include the database connection details
require('../dbConnection.php');

// Include common functions
require('../commonFunc.php');

// Include common functions
require('../globalVars.php');

// Include the table handler class
require('../dbHandler.class.php');

// Init and connect to database
$dbObject = new dbHandler();
$dbObject->connect();
	
		$queryLWC="select count(id) as tot from leaves_non_teach where status='waiting' && timesheet_user_id='".$_SESSION['id']."'";
		$resultLWC=mysqli_query($conn,$queryLWC);
		$numLWC=mysqli_fetch_array($resultLWC);
?>
<style>

#adfrom h2,h4,h5,h6
{
	/*font-family: Georgia, "Times New Roman", Times, serif;*/
	color: #069; /* CHANGE TO CORPORATE COLOUR */
	margin-bottom: 1em;
	border-bottom:none;
	padding-bottom: 0.3em;
}
#adfrom img
{
	padding: 3px;
	border: 1px solid #ccc;	
	
}

#adfrom a img
{
	padding: 3px;
	border: 1px solid #ccc;	
}

#adfrom a img:hover
{
	padding: 3px;
	border:none;	
}
</style>
	<h3>Leaves</h3>
	
	
	<table align="center" cellpadding="3" cellspacing="3" width="99%" id="adform">
					<tbody>
	<tr>
<td width="33%" align="center"> 
<a href="leaves_non_teach.main.php" title=""> <h5>Apply for Leaves</h5></a>
<a href="leaves_non_teach.main.php" title="">	<img src="../images/apply.jpg" alt=""></a>
</td>


<td width="33%" align="center">
<a href="leaves.select.php?st=approved" ><h5>Approved Leaves History</h5></a>
<a href="leaves.select.php?st=approved" ><img src="../images/approved.png" alt=" "></a></td>
<td width="33%" align="center"> 
<a href="leaves.select.php?st=disapproved" title=""> <h5>Denied Leave History</h5></a>
<a href="leaves.select.php?st=disapproved" title="">	<img src="../images/cancel.jpg" alt=""></a>
</td>

</tr>

<tr>


<td width="33%" align="center"> 
<a href="leaves.select.php?st=calSelf" title=""> <h5>Leaves Cancelled By Self </h5></a>
<a href="leaves.select.php?st=calSelf" title="">	<img src="../images/cancelbyself.png" alt=""></a>
</td>
<td width="33%" align="center">
<a href="leaves.select.php?st=waiting" ><h5>Pending Requests</h5></a>
<a href="leaves.select.php?st=waiting" ><img src="../images/waiting.jpg" alt=" ">	</a></td>

</tr>
</tbody></table>	

			

<?php
include("footer_leave.php");
?>