-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
48 lines (38 loc) · 1.03 KB
/
index.php
File metadata and controls
48 lines (38 loc) · 1.03 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
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
require_once 'read.php';
//if(!array_key_exists ('auth', $_COOKIE))
//{
// header('location: login.php');
//}
?>
<html>
<head>
<meta charset="utf-8">
<title>Расписание</title>
</head>
<body>
<form action="add.php" method="post">
<input type="date" name="Date" value="2019-01-01">
<input type="text" name="Task" placeholder="Введите задание">
<input name="AddBtn" value="Добавить" type="submit">
</form>
<form action="login.php" method="post">
<input name="LogoutBtn" value="Выйти" type="submit">
</form>
<form action='delete.php' method='post'>
<input name='DelProfBtn' value='Удалить профиль' type='submit'>
</form>
<table name="TaskTable" border="1">
<tr>
<th>Дата</th>
<th>Задание</th>
<th>Удаление</th>
<th>Редактирование</th>
</tr>
<?php updateTask();?>
</table>
</body>
</html>