Current File : /home/inlingua/public_html/faridabad/icentex/procedures/admin_procedure.php |
<?php
include("header_procedure.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 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>Procedures</h3>
<table align="center" cellpadding="3" cellspacing="3" width="99%" id="adform">
<tbody>
<tr>
<td width="33%" align="center">
<a href="procedures_documents.php?document=Discipliniary" title="Discipliniary"><h5>Disciplinary Procedures</h5></a>
<a href="procedures_documents.php?document=Discipliniary" title="Discipliniary"><img src="images/discpline.jpeg" alt=" " width='50' height='50'> </a></td>
<td width="33%" align="center">
<a href="procedures_documents.php?document=Faq" title="Faq"><h5>FAQs</h5></a>
<a href="procedures_documents.php?document=Faq" title="Faq"><img src="images/faq.jpeg" alt=" " width='50' height='50'></a></td>
<td width="33%" align="center">
<a href="procedures_documents.php?document=Grievance" title="Grievance"> <h5>Grievance Procedures</h5></a>
<a href="procedures_documents.php?document=Grievance" title="Grievance"> <img src="images/grievience.jpeg" alt="" width='50' height='50'></a>
</td>
</tr>
<?php
$dbObject_tot = new dbHandler();
$dbObject_tot->connect();
$querytotupdates="select recNo from messages where 1=1 && to_send='".$_SESSION['id']."' && to_viewed = '0' && to_deleted = '0'";
$selectedRecords_msg = $dbObject_tot->Select($querytotupdates);
if($selectedRecords_msg>0)
{
$flag="<img src='images/new-blinking.gif' style='border:none;'>";
}
else
{
$flag="";
}
?>
<tr>
<td width="33%" align="center">
</td>
<td width="33%" align="center">
</td>
<td width="33%" align="center">
</td>
</tr>
</tbody></table>
<?php
include("footer_procedure.php");
?>