<?php
include("include/session.php");

if($session->logged_in){

	
	$d = date("d");
	$m = date("m");
	$y = date("Y");
	
?>
<html>
<title>Tocotex CMS</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">

<link rel="stylesheet" href="stylo.css" type="text/css" charset="utf-8" />
	<link rel="stylesheet" href="ie.css" type="text/css" charset="utf-8" />

<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/structure.css">
<body>
<div id="wrapper">
    
		<div id="logo">
		</div> <!-- end of logo -->
		  <div align="center">
          <div id='main'>
<table width="640" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="4"><div align="center"><br>
      Click the logo to open the company<br>
        <br>
    </div></td>
  </tr>
  <tr>
    <td width="181" height="69" align="center" valign="top"><a href="Tlhomeso/include/loginproc.php?user_name_text=<?php echo $_SESSION['log_in_name'] ?>"><img src="Radstone/img/Thlomeso_medium_logo.png" width="111" height="54" border="0"></a></td>
    <td colspan="2" align="center" valign="top"><a href="Radstone/HR/employeeMenu.php?type=week"><img src="Radstone/img/radstone_medium_logo.png" width="144" height="54" border="0"></a></td>
    <td width="211" align="center" valign="top">&nbsp;&nbsp;<a href="Radstone/HR/employeeMenu.php"></a><a href="Codi sorry page.php"><img src="Radstone/img/codi_medium_logo.png" width="161" height="54" border="0"></a></td>
  </tr>
  <tr>
    <td height="86" align="center" valign="top">&nbsp;</td>
    <td height="86" colspan="2" align="center" valign="top">&nbsp;</td>
    <td height="86" align="center" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td height="84" align="center" valign="top"><a href="Tlhomeso_FTW/include/loginproc.php?user_name_text=<?php echo $_SESSION['log_in_name'] ?>"><img src="Tlhomeso_FTW/images/logo_tlhomeso(2).png" width="111" height="54"></a></td>
    <td colspan="2" align="center" valign="top"><a href="Radstone_Namibia/HR/employeeMenu.php?type=week"><img src="Radstone/img/rad_nam_logo.png" width="144" height="48" border="0"></a></td>
    <td align="center" valign="top"><a href="Vertex/include/loginproc.php?user_name_text=<?php echo $_SESSION['log_in_name'] ?>"><img src="Radstone/img/vertext_medium_logo_resize.png" width="129" height="54" border="0"></a></td>
  </tr>
  <tr>
    <td height="80" align="center" valign="bottom"><span class="side_info_frame_tall" style="border-bottom:hidden;"><br>
        <span class="side_info_frame_tall" style="border-bottom:hidden;"><font  size="-3"><br>
        <br>
        </font></span><br>
      <br>
    </span></td>
    <td width="129" align="center" valign="top">&nbsp;</td>
    <td width="119" align="center" valign="top">&nbsp;</td>
    <td align="center" valign="bottom"><?php if($session -> isAdmin()){
		echo "&nbsp;&nbsp;administrator, click <a href=\"adminControl.php\">here</a> to enter admin control";
	}
}else{
	header("Location: main.php");
}

?>
      <br>
      <br>
      <br>
      <font  size="-3">Application developed by:</font><br>
      <a href="http://www.customized.co.bw" target="_blank"><img src="Tlhomeso/images/logo_small.png" width="100" height="18"></a></td>
  </tr>
  <tr>
    <td height="133" colspan="4" align="center" valign="bottom"><div align="center"></div></td>
  </tr>
</table>
</div>
</div>
</div>
<br />
