-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAdministrador
143 lines (137 loc) · 6.81 KB
/
Administrador
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?php
session_start();
include('php_conexion.php');
if($_SESSION['tipo_usu']=='a'){
}else{
header('location:error.php');
}
if($_SESSION['tipo_usu']=='a'){
$titulo='Administrador';
}else{
$titulo='Secretaria/o';
}
$usuario=limpiar($_SESSION['username']);
$sqll=mysql_query("SELECT * FROM usuario WHERE loginusuario='$usuario'");
if($dato=mysql_fetch_array($sqll)){
$nombre=$dato['nombreusuario'];
$palabra=explode(" ", $nombre);
$nomb=$palabra[0];
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?php echo $titulo; ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/docs.css" rel="stylesheet">
<link href="js/google-code-prettify/prettify.css" rel="stylesheet">
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<script src="js/jquery.js"></script>
<script src="js/bootstrap-transition.js"></script>
<script src="js/bootstrap-alert.js"></script>
<script src="js/bootstrap-modal.js"></script>
<script src="js/bootstrap-dropdown.js"></script>
<script src="js/bootstrap-scrollspy.js"></script>
<script src="js/bootstrap-tab.js"></script>
<script src="js/bootstrap-tooltip.js"></script>
<script src="js/bootstrap-popover.js"></script>
<script src="js/bootstrap-button.js"></script>
<script src="js/bootstrap-collapse.js"></script>
<script src="js/bootstrap-carousel.js"></script>
<script src="js/bootstrap-typeahead.js"></script>
<script src="js/bootstrap-affix.js"></script>
<script src="js/holder/holder.js"></script>
<script src="js/google-code-prettify/prettify.js"></script>
<script src="js/application.js"></script>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="ico/favicon.png">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body {
background-color: #FFF;
background-image: url(img/fondoP.png);
}
</style>
</head>
<body data-spy="scroll" data-target=".bs-docs-sidebar">
<div align="center">
<table width="98%" border="0">
<tr>
<td>
<div id="navbar-example" class="navbar navbar-static">
<div class="navbar-inner">
<div class="container" style="width: auto;">
<a class="brand" href="inicio.php" target="admin"><?php echo $titulo; ?></a>
<ul class="nav" role="navigation">
<li class="dropdown">
<a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">Registros <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="drop1">
<li role="presentation"><a role="menuitem" tabindex="-1" href="clientes.php" target="admin"><i class="icon-user"></i> Clientes</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="productos.php" target="admin"><i class="icon-tags"></i> Productos</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="servicios.php" target="admin"><i class="icon-wrench"></i> Servicios</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="trabajadores.php" target="admin"><i class="icon-user"></i> Trabajadores</a></li>
<!--<li role="presentation" class="divider"></li>-->
</ul>
</li>
<li class="dropdown">
<a href="#" id="drop2" role="button" class="dropdown-toggle" data-toggle="dropdown">Cobrar Servicios <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="drop2">
<li role="presentation"><a role="menuitem" tabindex="-1" href="servicios_cliente.php" target="admin"><i class="icon-fire"></i>
Servicio al Cliente</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" id="drop3" role="button" class="dropdown-toggle" data-toggle="dropdown">Reportes <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
<li role="presentation"><a role="menuitem" tabindex="-1" href="r_alumnos.php" target="admin"><i class="icon-th-list"></i>
Listado de Alumnos</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="reporteServicio.php" target="admin"><i class="icon-th-list"></i>
Listado de Fechas</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="reporte.php" target="admin"><i class="icon-th-list"></i>
Listado de Trabajadores</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="reporte2.php" target="admin"><i class="icon-th-list"></i>
Listado</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right">
<li id="fat-menu" class="dropdown">
<a href="#" id="drop3" role="button" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user"></i> Hola! <?php echo $nomb; ?> <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
<li role="presentation"><a role="menuitem" tabindex="-1" href="bd.php" target="admin"><i class="icon-refresh"></i> Iniciar BD</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="cambiar_clave.php" target="admin"><i class="icon-refresh"></i> Cambiar Contraseña</a></li>
<li role="presentation" class="divider"></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="php_cerrar.php"><i class="icon-off"></i> Salir</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</td>
</tr>
<tr>
<td><iframe src="inicio.php" frameborder="0" scrolling="yes" name="admin" width="100%" height="600"></iframe></td>
</tr>
<tr>
<td>
<pre><center><strong><a href="https://www.facebook.com/arielmsm" target="_blank" style="color:#000">Digital Sis - Todos Derechos Reservados -</a></strong></center></pre>
</td>
</tr>
</table>
</body>
</html>