-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmijnlijsten.php
55 lines (54 loc) · 1.6 KB
/
mijnlijsten.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
<?php
require ('includes/initialize.php');
if (isset($_SESSION["currentPage"]) && isset($_GET["page"]))
{
$page = $_SESSION["currentPage"];
}
else
{
$page = 15;
}
if (!isLoggedIn())
header("Location: index.php");
?>
<!DOCTYPE html>
<html>
<head>
<?php require ('includes/headincludes.php') ?>
<link rel="stylesheet" href="style/steps.css">
<title>Mijn lijsten<?= TITLE_SUFFIX ?></title>
</head>
<body>
<?php require ('includes/header.php') ?>
<?php require ("includes/profile-modal.php") ?>
<div id="confirm_delete" class="modal">
<div class="modal-content">
<p>Weet je zeker dat je deze lijst(en) wilt verwijderen? Je kunt dit niet ongedaan maken!</p>
<div class="modal-footer">
<a href="#!" class="confirm modal-action modal-close waves-effect waves-green btn-flat">Ja</a>
<a href="#!" class="modal-action modal-close waves-effect waves-red btn-flat">Nee</a>
</div>
</div>
</div>
<div class="wrapper">
</div>
<?php require ('includes/footer.php') ?>
<?php require ('includes/scripts.php') ?>
<script>
<?php
if (isset($_GET['page']) && !empty($_GET['page']))
{
echo "setTimeout(function () {nextPage(" . $_GET['page'] . ", 'none')}, 100);";
unset($_SESSION["currentPage"]);
}
else
{
echo "nextPage(" . $page . ", 'none');";
}
?>
function openPageInfo () {
$("#page-info").openModal();
}
</script>
</body>
</html>