Current File : /home/inlingua/www/dwarka/icentex/workshop/admin_trainer.php |
<?php
include("header_trainer.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>Workshops</h3>
<table align="center" cellpadding="3" cellspacing="3" width="99%" id="adform">
<tbody>
<tr>
<?php
if(in_array("workshops_trainee",$_SESSION['allowed_modules']))
{
?>
<td width="33%" align="center">
<a href="../trainer_resource_trainee/index.php" title=""> <h5> Workshop trainees</h5></a>
<a href="../trainer_resource_trainee/index.php" title=""> <img src="images/trainers.jpg" alt="" width='50' height="50"></a>
</td>
<?php
}
else
{
echo"<td width='33%' > </td>";
}
?>
<?php
if(in_array("workshops_trainer",$_SESSION['allowed_modules']))
{
?>
<td width="33%" align="center">
<a href="../trainer_resource_trainer/index.php" title=""> <h5>Workshop trainers</h5></a>
<a href="../trainer_resource_trainer/index.php" title=""> <img src="images/trainers.jpg" alt="" width='50' height="50"></a>
</td>
<?php
}
else
{
echo"<td width='33%' > </td>";
}
?>
<td width="33%" align="center">
<a href="schedule.php" title=""> <h5>Workshop Schedule</h5></a>
<a href="schedule.php" title=""> <img src="images/trainers.jpg" alt="" width='50' height="50"></a>
</td>
</tr>
</tbody></table>
<?php
include("footer_trainer.php");
?>