git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk/src@22 e2b1556b-49f8-d141-9351-52d6861a72d9
67 lines
2.0 KiB
PHP
67 lines
2.0 KiB
PHP
<?php
|
|
include ("./functions.php");
|
|
include_once("./Objects/HTML.php");
|
|
?>
|
|
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
<title><?php echo $locale['001'];?></title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
<script src="functions.js" language="JavaScript" type="text/javascript"></script>
|
|
|
|
<!-- style sheet links -->
|
|
<link rel="stylesheet" type="text/css" href="css/style.css" />
|
|
<link rel="stylesheet" type="text/css" href="css/menu.css" />
|
|
<link rel="stylesheet" type="text/css" href="css/tablas.css" />
|
|
<link rel="shortcut icon" href="css/favicon.ico">
|
|
<script src="js/comunes.js" language="JavaScript" type="text/javascript"></script>
|
|
<?php
|
|
// Agregamos los JavaScript de cada Rol
|
|
if($usuario->tieneRol("3")){
|
|
?>
|
|
<script src="js/gerente.js" language="JavaScript" type="text/javascript"></script>
|
|
<?php
|
|
}
|
|
if($usuario->tieneRol("4")){
|
|
?>
|
|
<script src="js/rrhh.js" language="JavaScript" type="text/javascript"></script>
|
|
<?php
|
|
}
|
|
if($usuario->tieneRol("6")){
|
|
?>
|
|
<script src="js/tecnico.js" language="JavaScript" type="text/javascript"></script>
|
|
<?php
|
|
}
|
|
?>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="menu">
|
|
<a title="Selfor"href="index.html">
|
|
<img alt="Selfor" src="css/selfor.jpg" width="150" height="150" />
|
|
</a>
|
|
<ul>
|
|
<li><a title="inicio" href="aplicacion.php"><?php echo $locale['002'];?></a></li>
|
|
<?php
|
|
$html=new HTML($locale);
|
|
echo $html->menuLateral($usuario);
|
|
// ver_menus();
|
|
?>
|
|
<li><a title="salir" href="salir.php"><?php echo $locale['004']; ?> </a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="banner"><h1><?php echo $locale['005']; ?> </h1>
|
|
|
|
<?php
|
|
if($_SESSION["nombre"] != ""){
|
|
echo '<br><p class="encabezado">'.$locale['006'].$_SESSION["nombre"].'</p>';
|
|
}else{
|
|
echo '<br><p class="encabezado">'.$locale['007'].'</p>';
|
|
}
|
|
?>
|
|
</div><div id="main">
|