-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtareas.php
More file actions
executable file
·40 lines (37 loc) · 1.05 KB
/
tareas.php
File metadata and controls
executable file
·40 lines (37 loc) · 1.05 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
<?php
include 'config.php';
Session::start();
Session::proteger();
$titulo="PRODS: Tareas";
if(isset($_REQUEST['op'])){
switch ($_REQUEST['op']){
case "list":
include 'plantillas/tareas/list.php';
break;
case "new":
include 'plantillas/tareas/new.php';
break;
case "del":
include 'plantillas/tareas/del.php';
break;
case "new_subtarea":
include 'plantillas/tareas/new_subtarea.php';
break;
case "mis_tareas":
include 'plantillas/tareas/mis_tareas.php';
break;
case "subtareas":
include 'plantillas/tareas/subtareas.php';
break;
case "new_movimiento":
include 'plantillas/movimientos/new_movimiento.php';
break;
default :
include 'plantillas/tareas/list.php';
break;
}
}else{
unset($_SESSION['tarea']);
include 'plantillas/tareas/principal.php';
}
?>