-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·112 lines (98 loc) · 2.96 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<HTML>
<HEAD>
<TITLE>Examenboek Het Hogeland College</TITLE>
</HEAD>
<BODY>
<TABLE WIDTH=100% CELLPADDING=20>
<TR><TD VALIGN=top>
<FONT FACE="verdana,arial" SIZE=-1>
<!-- LINKERBALK -->
<?PHP
include("includes/functions.php");
/* logger(); */
$wijz = isset($_POST['gegevenswijzigen']);
$opst = isset($_POST['gegevensopsturen']);
$ingelogd=ingelogd($_POST['stamnr'],$_POST['wachtwoord']);
if (!$ingelogd[0]) {
$html = htmlloginscherm();
}
else {
$gegevens=join(" ",$ingelogd);
$html = htmlingelogdals($gegevens);
}
$html.="<HR>\n";
$html.="<FONT SIZE=-2>\n";
$html.=afteller();
$html.="</FONT>\n";
print $html;
?>
<!-- EINDE LINKERBALK -->
</TD>
<TD WIDTH=100% VALIGN=top>
<!-- HOOFDVELD -->
<FONT FACE="verdana,arial">
<CENTER><H1>Vragenlijst Examenboek</H1></CENTER>
<?PHP
if (!$ingelogd[0]) {
$html = htmlwelkomscherm();
} else {
if (secsleft() < 0) {
$html=gesloten();
} else {
if ($wijz) {
$html = wijziging($_POST['stamnr'],$_POST['tekst1'],$_POST['tekst2'],$_POST['tekst3'],$_POST['fotoakkoord'],$_POST['wachtwoord'],
$_POST['lln1'],$_POST['overlln1'],
$_POST['lln2'],$_POST['overlln2'],
$_POST['lln3'],$_POST['overlln3'],
$_POST['lln4'],$_POST['overlln4'],
$_POST['lln5'],$_POST['overlln5'],
$_POST['lln6'],$_POST['overlln6'],
$_POST['lln7'],$_POST['overlln7'],
$_POST['lln8'],$_POST['overlln8'],
$_POST['lln9'],$_POST['overlln9'],
$_POST['lln10'],$_POST['overlln10'],
$_POST['doc1'],$_POST['overdoc1'],
$_POST['doc2'],$_POST['overdoc2'],
$_POST['doc3'],$_POST['overdoc3'],
$_POST['doc4'],$_POST['overdoc4'],
$_POST['doc5'],$_POST['overdoc5'],
$_POST['doc6'],$_POST['overdoc6'],
$_POST['doc7'],$_POST['overdoc7'],
$_POST['doc8'],$_POST['overdoc8'],
$_POST['doc9'],$_POST['overdoc9'],
$_POST['doc10'],$_POST['overdoc10']);
} else if ($opst) {
$html = invoer($_POST['stamnr'],$_POST['wachtwoord'],$_POST['tekst1'],$_POST['tekst2'],$_POST['tekst3'],$_POST['fotoakkoord'],
$_POST['lln1'],$_POST['overlln1'],
$_POST['lln2'],$_POST['overlln2'],
$_POST['lln3'],$_POST['overlln3'],
$_POST['lln4'],$_POST['overlln4'],
$_POST['lln5'],$_POST['overlln5'],
$_POST['lln6'],$_POST['overlln6'],
$_POST['lln7'],$_POST['overlln7'],
$_POST['lln8'],$_POST['overlln8'],
$_POST['lln9'],$_POST['overlln9'],
$_POST['lln10'],$_POST['overlln10'],
$_POST['doc1'],$_POST['overdoc1'],
$_POST['doc2'],$_POST['overdoc2'],
$_POST['doc3'],$_POST['overdoc3'],
$_POST['doc4'],$_POST['overdoc4'],
$_POST['doc5'],$_POST['overdoc5'],
$_POST['doc6'],$_POST['overdoc6'],
$_POST['doc7'],$_POST['overdoc7'],
$_POST['doc8'],$_POST['overdoc8'],
$_POST['doc9'],$_POST['overdoc9'],
$_POST['doc10'],$_POST['overdoc10']);
} else {
$html = htmlingelogdscherm($_POST['stamnr'],$_POST['wachtwoord']);
}
}
}
print $html;
?>
<!-- EINDE HOOFDVELD -->
</TD>
</TR>
</TABLE>
</BODY>
</HTML>