-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
87 lines (85 loc) · 2.62 KB
/
index.php
File metadata and controls
87 lines (85 loc) · 2.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?php
include("seguridad.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" dir="ltr" lang="es-ES">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>::: Arte Bismarck :::</title>
<link href="lib/css/alerta.css" media="screen" rel="stylesheet" type="text/css">
<link href="lib/css/styles.css" rel="stylesheet" type="text/css" />
<link href="lib/css/menu.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="lib/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="lib/js/general.js"></script>
<script type="text/javascript" src="lib/js/animate.js"></script>
</head>
<body oncontextmenu="return false">
<div class="contenedor">
<table width="950" style="margin-top:10px;" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<header class="cabecera">
<table width="950" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div class="logo"></div></td>
<td valign="bottom">
<div class="sesion">
<p>Bienvenido <?php echo $_SESSION['tipo_usuario']; ?>: <?php echo $_SESSION['id_usuario']; ?> | <a href="cerrar.php?cerrar">Cerrar Sesión</a></p></div></td>
</tr>
</table>
</header></td>
</tr>
<tr>
<td><table width="950" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200" background="lib/img/back_menu.gif" valign="top">
<nav id="menu">
<?php
switch ($_SESSION['codigo_usuario'])
{
case 1001:
include("include/m_admin.php");
break;
case 1002:
include("include/m_vende.php");
break;
case 1003:
include("include/m_bode.php");
break;
}
?>
</nav>
</td>
<td class="back_art" valign="top">
<article class="articulo">
<section class="seccion"><!-- AQUI SE CARGA EL CONTENIDO DE LA PAGINA -->
<?php
switch ($_SESSION['codigo_usuario'])
{
case 1001:
include("administrador/index.php");
break;
case 1002:
include("vendedor/index.php");
break;
case 1003:
include("bodeguero/index.php");
break;
}
?>
</section>
</article></td>
</tr>
</table></td>
</tr>
<tr>
<td><footer class="pie"><p>Copyright © 2012 Arte Bismarck | Todos los derechos reservados.</p></footer></td>
</tr>
</table>
</div>
<?php
if($_SESSION['codigo_usuario']==1002)
include("include/alerta_cobro.php");
?>
</body>
</html>