-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask.php
50 lines (38 loc) · 1.12 KB
/
task.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
<?php
include_once 'autoload.php';
require_once 'functions/database.php';
if (autenticador()) {
header('location: index.php');
}
if (isset($_GET['t'])) {
$_SESSION['taskList'] = $_GET['t'];
}
$id_user = $_SESSION['id'];
$id_task_list = $_SESSION['taskList'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Listado de tareas</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="styles/lista.css">
<link rel="stylesheet" href="styles/agregar.css">
<link rel="stylesheet" href="styles/header.css">
</head>
<body>
<?php require_once "Parents/header.php";?>
<div>
<h1 style="text-aline: center">Bienvenido <?=$_SESSION['name'] ?? 'Invitado'?>!</h1>
</div>
<?php
require_once 'views/filter.php';
require_once "views/lista.php";
require_once "views/addTarea.php";
deleteAlert();
?>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/js/all.min.js"></script>
</body>
</html>