-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
57 lines (49 loc) · 1.7 KB
/
index.php
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
<!--
LU: 28/10/18
Total lenguajes y framework utilizados:
PHP, JAVASCRIPT, CSS3, HTML5, MYSQL, W3.CSS.
-->
<?php
include "config.php"; //Configuraciones, recursos, conexiones...
//Cambios
/*
implementar stuff en agenda
Maximo 2 por dia eventos (CORREGIR)
*/
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $negocio;?></title>
</head>
<body style="background: url('<?php echo $fondo;?>');">
<?php
include "recursos/php/menu.php"; //Obtiene el menu y los vinculos de pestañas
?>
<div class="ribbon w3-red w3-card-4" style="position: fixed; padding: 20px 0; right: -200px; top: 55px; width: 550px; left: unset;">EN DESARROLLO</div>
<div class="w3-animate-opacity w3-margin-top"> <!-- Contenedor principal tabs -->
<!-- PORTADA -->
<div id="portada" class="w3-animate-opacity hide">
<div class="w3-center">
<img src="recursos/imagenes/logo.jpg" alt="Logo imagen" style="max-width: 400px; width: 100%; border: 60px solid black;">
</div>
</div>
<?php
require "inventario.php"; //Inventario, pestaña y ventanas
require "movimientos.php"; //Movimientos, pestaña y ventanas
require "agenda.php"; //Agenda, pestaña y ventanas
if(empty($_GET["pestaña"])){
echo "<script>w3.show('#portada'); w3.show('#zoe'); w3.hide('#inventario'); w3.hide('#movimientos'); w3.hide('#agenda');</script>";
}else{
if(empty($_GET["tab"])){
echo "<script>w3.show('#".$_GET["pestaña"]."');w3.show('#productos');w3.show('#ventas');</script>";
}else{
echo "<script>w3.show('#".$_GET["pestaña"]."');w3.show('#".$_GET["tab"]."');</script>";
}
}
?>
</div>
<!-- MENSAJES DE ALERTA -->
<div id="snackbar"></div>
</body>
</html>