Current File : /home/inlingua/public_html/noida/icentex_noida/admin_fd/admin_fd.php |
<?php
include("header_fd.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();
?>
<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>Customer Services</h3>
<table border="0" align="center" cellpadding="3" cellspacing="3" width="99%" id="adform">
<tbody>
<tr>
<!--<td width="33%" align="center">
<a href="changepass_fd.php" ><h5>Change Password </h5></a>
<a href="changepass_fd.php" ><img src="../images/icon-48-section.png" alt=" "> </a>
</td>-->
<td width="33%" align="center">
<a href="ingl_course.select.php" title=""> <h5>Course</h5></a>
<a href="ingl_course.select.php" title=""> <img src="../images/icon-48-article-add.png" alt=""></a>
</td>
<td width="33%" align="center">
<a href="ingl_student.select.php" ><h5>Student </h5></a>
<a href="ingl_student.select.php" ><img src="../images/icon-48-article.png" alt=" "></a></td>
<td align="center" width="33%">
<?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='../procedures/images/new-blinking.gif' style='border:none;'>";
}
else
{
$flag="";
}
?>
<a href="../procedures/private_messages.php" title=""> <h5>Updates (<?php echo $selectedRecords_msg; ?>) <?php echo $flag; ?></h5></a>
<a href="../procedures/private_messages.php" title=""> <img src="../procedures/images/compose.jpeg" alt="" width='50' height='50'></a>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody></table>
<?php
include("footer_fd.php");
?>