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:39
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:39
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 /** * WordPress Signup Page * * Handles the user registration and site creation process for multisite installations. * * @package WordPress */ /** Sets up the WordPress Environment. */ require __DIR__ . '/wp-load.php'; add_filter( 'wp_robots', 'wp_robots_no_robots' ); require __DIR__ . '/wp-blog-header.php'; nocache_headers(); if ( is_array( get_site_option( 'illegal_names' ) ) && isset( $_GET['new'] ) && in_array( $_GET['new'], get_site_option( 'illegal_names' ), true ) ) { wp_redirect( network_home_url() ); die(); } /** * Prints signup_header via wp_head. * * @since MU (3.0.0) */ function do_signup_header() { /** * Fires within the head section of the site sign-up screen. * * @since 3.0.0 */ do_action( 'signup_header' ); } add_action( 'wp_head', 'do_signup_header' ); if ( ! is_multisite() ) { wp_redirect( wp_registration_url() ); die(); } if ( ! is_main_site() ) { wp_redirect( network_site_url( 'wp-signup.php' ) ); die(); } // Fix for page title. $wp_query->is_404 = false; /** * Fires before the Site Sign-up page is loaded. * * @since 4.4.0 */ do_action( 'before_signup_header' ); /** * Prints styles for front-end Multisite Sign-up pages. * * @since MU (3.0.0) */ function wpmu_signup_stylesheet() { ?> <style> .mu_register { width: 90%; margin: 0 auto; text-align: start; padding: 24px; box-sizing: border-box; } .mu_register p { font-size: 18px; } .mu_register form { margin: 24px 0; } .mu_register fieldset, .mu_register legend { margin: 0; padding: 0; border: none; } .mu_register .error { padding: 10px; color: #333; background: #ffebe8; border: 1px solid #c00; } .mu_register input[type="submit"], .mu_register #blog_title, .mu_register #user_email, .mu_register #blogname, .mu_register #user_name { width: 100%; font-size: 24px; margin: 5px 0; box-sizing: border-box; } .mu_register input[type="email"], .mu_register #user_name { direction: ltr; } .mu_register #site-language { display: block; } .mu_register label[for="site-language"] { display: inline-flex; align-items: center; } .mu_register label[for="site-language"] .dashicons { margin-left: 0.5em; } .mu_register .prefix_address, .mu_register .suffix_address { font-size: 18px; display: inline-block; direction: ltr; } .mu_register label, .mu_register legend, .mu_register .label-heading { font-weight: 600; font-size: 15px; display: block; margin: 10px 0; } .mu_register legend + p, .mu_register input + p { margin-top: 0; } .mu_register label.checkbox { display: inline; } .mu_register .mu_alert { font-weight: 600; padding: 10px; color: #333; background: #ffffe0; border: 1px solid #e6db55; } .mu_register .mu_alert a { color: inherit; text-decoration: underline; } .mu_register .signup-options .wp-signup-radio-button { display: block; } .mu_register .privacy-intro .wp-signup-radio-button { margin-right: 0.5em; } .rtl .mu_register .wp-signup-blogname { direction: ltr; text-align: right; } .rtl .mu_register label[for="site-language"] .dashicons { margin-right: 0.5em; margin-left: 0; } </style> <?php } add_action( 'wp_head', 'wpmu_signup_stylesheet' ); get_header( 'wp-signup' ); /** * Fires before the site Sign-up form. * * @since 3.0.0 */ do_action( 'before_signup_form' ); ?> <div id="signup-content" class="widecolumn"> <div class="mu_register wp-signup-container" role="main"> <?php /** * Generates and displays the Sign-up and Create Site forms. * * @since MU (3.0.0) * * @param string $blogname The new site name. * @param string $blog_title The new site title. * @param WP_Error|string $errors A WP_Error object containing existing errors. Defaults to empty string. */ function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) { if ( ! is_wp_error( $errors ) ) { $errors = new WP_Error(); } $current_network = get_network(); // Site name. if ( ! is_subdomain_install() ) { echo '<label for="blogname">' . __( 'Site Name (subdirectory only)' ) . '</label>'; } else { echo '<label for="blogname">' . __( 'Site Domain (subdomain only)' ) . '</label>'; } $errmsg_blogname = $errors->get_error_message( 'blogname' ); $errmsg_blogname_aria = ''; if ( $errmsg_blogname ) { $errmsg_blogname_aria = 'wp-signup-blogname-error '; echo '<p class="error" id="wp-signup-blogname-error">' . $errmsg_blogname . '</p>'; } if ( ! is_subdomain_install() ) { echo '<div class="wp-signup-blogname"><span class="prefix_address" id="prefix-address">' . $current_network->domain . $current_network->path . '</span><input name="blogname" type="text" id="blogname" value="' . esc_attr( $blogname ) . '" maxlength="60" autocomplete="off" required="required" aria-describedby="' . $errmsg_blogname_aria . 'prefix-address" /></div>'; } else { $site_domain = preg_replace( '|^www\.|', '', $current_network->domain ); echo '<div class="wp-signup-blogname"><input name="blogname" type="text" id="blogname" value="' . esc_attr( $blogname ) . '" maxlength="60" autocomplete="off" required="required" aria-describedby="' . $errmsg_blogname_aria . 'suffix-address" /><span class="suffix_address" id="suffix-address">.' . esc_html( $site_domain ) . '</span></div>'; } if ( ! is_user_logged_in() ) { if ( ! is_subdomain_install() ) { $site = $current_network->domain . $current_network->path . __( 'sitename' ); } else { $site = __( 'domain' ) . '.' . $site_domain . $current_network->path; } printf( '<p>(<strong>%s</strong>) %s</p>', /* translators: %s: Site address. */ sprintf( __( 'Your address will be %s.' ), $site ), __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) ); } // Site Title. ?> <label for="blog_title"><?php _e( 'Site Title' ); ?></label> <?php $errmsg_blog_title = $errors->get_error_message( 'blog_title' ); $errmsg_blog_title_aria = ''; if ( $errmsg_blog_title ) { $errmsg_blog_title_aria = ' aria-describedby="wp-signup-blog-title-error"'; echo '<p class="error" id="wp-signup-blog-title-error">' . $errmsg_blog_title . '</p>'; } echo '<input name="blog_title" type="text" id="blog_title" value="' . esc_attr( $blog_title ) . '" required="required" autocomplete="off"' . $errmsg_blog_title_aria . ' />'; ?> <?php // Site Language. $languages = signup_get_available_languages(); if ( ! empty( $languages ) ) : ?> <p> <label for="site-language"><?php _e( 'Site Language' ); ?><span class="dashicons dashicons-translation" aria-hidden="true"></span></label> <?php // Network default. $lang = get_site_option( 'WPLANG' ); if ( isset( $_POST['WPLANG'] ) ) { $lang = $_POST['WPLANG']; } // Use US English if the default isn't available. if ( ! in_array( $lang, $languages, true ) ) { $lang = ''; } wp_dropdown_languages( array( 'name' => 'WPLANG', 'id' => 'site-language', 'selected' => $lang, 'languages' => $languages, 'show_available_translations' => false, ) ); ?> </p> <?php endif; // Languages. $blog_public_on_checked = ''; $blog_public_off_checked = ''; if ( isset( $_POST['blog_public'] ) && '0' === $_POST['blog_public'] ) { $blog_public_off_checked = 'checked="checked"'; } else { $blog_public_on_checked = 'checked="checked"'; } ?> <div id="privacy"> <fieldset class="privacy-intro"> <legend> <span class="label-heading"><?php _e( 'Privacy:' ); ?></span> <?php _e( 'Allow search engines to index this site.' ); ?> </legend> <p class="wp-signup-radio-buttons"> <span class="wp-signup-radio-button"> <input type="radio" id="blog_public_on" name="blog_public" value="1" <?php echo $blog_public_on_checked; ?> /> <label class="checkbox" for="blog_public_on"><?php _e( 'Yes' ); ?></label> </span> <span class="wp-signup-radio-button"> <input type="radio" id="blog_public_off" name="blog_public" value="0" <?php echo $blog_public_off_checked; ?> /> <label class="checkbox" for="blog_public_off"><?php _e( 'No' ); ?></label> </span> </p> </fieldset> </div> <?php /** * Fires after the site sign-up form. * * @since 3.0.0 * * @param WP_Error $errors A WP_Error object possibly containing 'blogname' or 'blog_title' errors. */ do_action( 'signup_blogform', $errors ); } /** * Validates the new site sign-up. * * @since MU (3.0.0) * * @return array Contains the new site data and error messages. * See wpmu_validate_blog_signup() for details. */ function validate_blog_form() { $user = ''; if ( is_user_logged_in() ) { $user = wp_get_current_user(); } return wpmu_validate_blog_signup( $_POST['blogname'], $_POST['blog_title'], $user ); } /** * Displays the fields for the new user account registration form. * * @since MU (3.0.0) * * @param string $user_name The entered username. * @param string $user_email The entered email address. * @param WP_Error|string $errors A WP_Error object containing existing errors. Defaults to empty string. */ function show_user_form( $user_name = '', $user_email = '', $errors = '' ) { if ( ! is_wp_error( $errors ) ) { $errors = new WP_Error(); } // Username. echo '<label for="user_name">' . __( 'Username' ) . '</label>'; $errmsg_username = $errors->get_error_message( 'user_name' ); $errmsg_username_aria = ''; if ( $errmsg_username ) { $errmsg_username_aria = 'wp-signup-username-error '; echo '<p class="error" id="wp-signup-username-error">' . $errmsg_username . '</p>'; } ?> <input name="user_name" type="text" id="user_name" value="<?php echo esc_attr( $user_name ); ?>" autocapitalize="none" autocorrect="off" maxlength="60" autocomplete="username" required="required" aria-describedby="<?php echo $errmsg_username_aria; ?>wp-signup-username-description" /> <p id="wp-signup-username-description"><?php _e( '(Must be at least 4 characters, lowercase letters and numbers only.)' ); ?></p> <?php // Email address. echo '<label for="user_email">' . __( 'Email Address' ) . '</label>'; $errmsg_email = $errors->get_error_message( 'user_email' ); $errmsg_email_aria = ''; if ( $errmsg_email ) { $errmsg_email_aria = 'wp-signup-email-error '; echo '<p class="error" id="wp-signup-email-error">' . $errmsg_email . '</p>'; } ?> <input name="user_email" type="email" id="user_email" value="<?php echo esc_attr( $user_email ); ?>" maxlength="200" autocomplete="email" required="required" aria-describedby="<?php echo $errmsg_email_aria; ?>wp-signup-email-description" /> <p id="wp-signup-email-description"><?php _e( 'Your registration email is sent to this address. (Double-check your email address before continuing.)' ); ?></p> <?php // Extra fields. $errmsg_generic = $errors->get_error_message( 'generic' ); if ( $errmsg_generic ) { echo '<p class="error" id="wp-signup-generic-error">' . $errmsg_generic . '</p>'; } /** * Fires at the end of the new user account registration form. * * @since 3.0.0 * * @param WP_Error $errors A WP_Error object containing 'user_name' or 'user_email' errors. */ do_action( 'signup_extra_fields', $errors ); } /** * Validates user sign-up name and email. * * @since MU (3.0.0) * * @return array Contains username, email, and error messages. * See wpmu_validate_user_signup() for details. */ function validate_user_form() { return wpmu_validate_user_signup( $_POST['user_name'], $_POST['user_email'] ); } /** * Shows a form for returning users to sign up for another site. * * @since MU (3.0.0) * * @param string $blogname The new site name * @param string $blog_title The new site title. * @param WP_Error|string $errors A WP_Error object containing existing errors. Defaults to empty string. */ function signup_another_blog( $blogname = '', $blog_title = '', $errors = '' ) { $current_user = wp_get_current_user(); if ( ! is_wp_error( $errors ) ) { $errors = new WP_Error(); } $signup_defaults = array( 'blogname' => $blogname, 'blog_title' => $blog_title, 'errors' => $errors, ); /** * Filters the default site sign-up variables. * * @since 3.0.0 * * @param array $signup_defaults { * An array of default site sign-up variables. * * @type string $blogname The site blogname. * @type string $blog_title The site title. * @type WP_Error $errors A WP_Error object possibly containing 'blogname' or 'blog_title' errors. * } */ $filtered_results = apply_filters( 'signup_another_blog_init', $signup_defaults ); $blogname = $filtered_results['blogname']; $blog_title = $filtered_results['blog_title']; $errors = $filtered_results['errors']; /* translators: %s: Network title. */ echo '<h2>' . sprintf( __( 'Get <em>another</em> %s site in seconds' ), get_network()->site_name ) . '</h2>'; if ( $errors->has_errors() ) { echo '<p>' . __( 'There was a problem, please correct the form below and try again.' ) . '</p>'; } ?> <p> <?php printf( /* translators: %s: Current user's display name. */ __( 'Welcome back, %s. By filling out the form below, you can <strong>add another site to your account</strong>. There is no limit to the number of sites you can have, so create to your heart’s content, but write responsibly!' ), $current_user->display_name ); ?> </p> <?php $blogs = get_blogs_of_user( $current_user->ID ); if ( ! empty( $blogs ) ) { ?> <p><?php _e( 'Sites you are already a member of:' ); ?></p> <ul> <?php foreach ( $blogs as $blog ) { $home_url = get_home_url( $blog->userblog_id ); echo '<li><a href="' . esc_url( $home_url ) . '">' . $home_url . '</a></li>'; } ?> </ul> <?php } ?> <p><?php _e( 'If you are not going to use a great site domain, leave it for a new user. Now have at it!' ); ?></p> <form id="setupform" method="post" action="wp-signup.php"> <input type="hidden" name="stage" value="gimmeanotherblog" /> <?php /** * Fires when hidden sign-up form fields output when creating another site or user. * * @since MU (3.0.0) * * @param string $context A string describing the steps of the sign-up process. The value can be * 'create-another-site', 'validate-user', or 'validate-site'. */ do_action( 'signup_hidden_fields', 'create-another-site' ); ?> <?php show_blog_form( $blogname, $blog_title, $errors ); ?> <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Create Site' ); ?>" /></p> </form> <?php } /** * Validates a new site sign-up for an existing user. * * @since MU (3.0.0) * * @global string $blogname The new site's subdomain or directory name. * @global string $blog_title The new site's title. * @global WP_Error $errors Existing errors in the global scope. * @global string $domain The new site's domain. * @global string $path The new site's path. * * @return null|bool True if site signup was validated, false on error. * The function halts all execution if the user is not logged in. */ function validate_another_blog_signup() { global $blogname, $blog_title, $errors, $domain, $path; $current_user = wp_get_current_user(); if ( ! is_user_logged_in() ) { die(); } $result = validate_blog_form(); // Extracted values set/overwrite globals. $domain = $result['domain']; $path = $result['path']; $blogname = $result['blogname']; $blog_title = $result['blog_title']; $errors = $result['errors']; if ( $errors->has_errors() ) { signup_another_blog( $blogname, $blog_title, $errors ); return false; } $public = (int) $_POST['blog_public']; $blog_meta_defaults = array( 'lang_id' => 1, 'public' => $public, ); // Handle the language setting for the new site. if ( ! empty( $_POST['WPLANG'] ) ) { $languages = signup_get_available_languages(); if ( in_array( $_POST['WPLANG'], $languages, true ) ) { $language = wp_unslash( sanitize_text_field( $_POST['WPLANG'] ) ); if ( $language ) { $blog_meta_defaults['WPLANG'] = $language; } } } /** * Filters the new site meta variables. * * Use the {@see 'add_signup_meta'} filter instead. * * @since MU (3.0.0) * @deprecated 3.0.0 Use the {@see 'add_signup_meta'} filter instead. * * @param array $blog_meta_defaults An array of default blog meta variables. */ $meta_defaults = apply_filters_deprecated( 'signup_create_blog_meta', array( $blog_meta_defaults ), '3.0.0', 'add_signup_meta' ); /** * Filters the new default site meta variables. * * @since 3.0.0 * * @param array $meta { * An array of default site meta variables. * * @type int $lang_id The language ID. * @type int $blog_public Whether search engines should be discouraged from indexing the site. 1 for true, 0 for false. * } */ $meta = apply_filters( 'add_signup_meta', $meta_defaults ); $blog_id = wpmu_create_blog( $domain, $path, $blog_title, $current_user->ID, $meta, get_current_network_id() ); if ( is_wp_error( $blog_id ) ) { return false; } confirm_another_blog_signup( $domain, $path, $blog_title, $current_user->user_login, $current_user->user_email, $meta, $blog_id ); return true; } /** * Shows a message confirming that the new site has been created. * * @since MU (3.0.0) * @since 4.4.0 Added the `$blog_id` parameter. * * @param string $domain The domain URL. * @param string $path The site root path. * @param string $blog_title The site title. * @param string $user_name The username. * @param string $user_email The user's email address. * @param array $meta Any additional meta from the {@see 'add_signup_meta'} filter in validate_blog_signup(). * @param int $blog_id The site ID. */ function confirm_another_blog_signup( $domain, $path, $blog_title, $user_name, $user_email = '', $meta = array(), $blog_id = 0 ) { if ( $blog_id ) { switch_to_blog( $blog_id ); $home_url = home_url( '/' ); $login_url = wp_login_url(); restore_current_blog(); } else { $home_url = 'http://' . $domain . $path; $login_url = 'http://' . $domain . $path . 'wp-login.php'; } $site = sprintf( '<a href="%1$s">%2$s</a>', esc_url( $home_url ), $blog_title ); ?> <h2> <?php /* translators: %s: Site title. */ printf( __( 'The site %s is yours.' ), $site ); ?> </h2> <p> <?php printf( /* translators: 1: Link to new site, 2: Login URL, 3: Username. */ __( '%1$s is your new site. <a href="%2$s">Log in</a> as “%3$s” using your existing password.' ), sprintf( '<a href="%s">%s</a>', esc_url( $home_url ), untrailingslashit( $domain . $path ) ), esc_url( $login_url ), $user_name ); ?> </p> <?php /** * Fires when the site or user sign-up process is complete. * * @since 3.0.0 */ do_action( 'signup_finished' ); } /** * Shows a form for a visitor to sign up for a new user account. * * @since MU (3.0.0) * * @global string $active_signup String that returns registration type. The value can be * 'all', 'none', 'blog', or 'user'. * * @param string $user_name The username. * @param string $user_email The user's email. * @param WP_Error|string $errors A WP_Error object containing existing errors. Defaults to empty string. */ function signup_user( $user_name = '', $user_email = '', $errors = '' ) { global $active_signup; if ( ! is_wp_error( $errors ) ) { $errors = new WP_Error(); } $signup_for = isset( $_POST['signup_for'] ) ? esc_html( $_POST['signup_for'] ) : 'blog'; $signup_user_defaults = array( 'user_name' => $user_name, 'user_email' => $user_email, 'errors' => $errors, ); /** * Filters the default user variables used on the user sign-up form. * * @since 3.0.0 * * @param array $signup_user_defaults { * An array of default user variables. * * @type string $user_name The user username. * @type string $user_email The user email address. * @type WP_Error $errors A WP_Error object with possible errors relevant to the sign-up user. * } */ $filtered_results = apply_filters( 'signup_user_init', $signup_user_defaults ); $user_name = $filtered_results['user_name']; $user_email = $filtered_results['user_email']; $errors = $filtered_results['errors']; ?> <h2> <?php /* translators: %s: Name of the network. */ printf( __( 'Get your own %s account in seconds' ), get_network()->site_name ); ?> </h2> <form id="setupform" method="post" action="wp-signup.php" novalidate="novalidate"> <input type="hidden" name="stage" value="validate-user-signup" /> <?php /** This action is documented in wp-signup.php */ do_action( 'signup_hidden_fields', 'validate-user' ); ?> <?php show_user_form( $user_name, $user_email, $errors ); ?> <?php if ( 'blog' === $active_signup ) : ?> <input id="signupblog" type="hidden" name="signup_for" value="blog" /> <?php elseif ( 'user' === $active_signup ) : ?> <input id="signupblog" type="hidden" name="signup_for" value="user" /> <?php else : ?> <fieldset class="signup-options"> <legend><?php _e( 'Create a site or only a username:' ); ?></legend> <p class="wp-signup-radio-buttons"> <span class="wp-signup-radio-button"> <input id="signupblog" type="radio" name="signup_for" value="blog" <?php checked( $signup_for, 'blog' ); ?> /> <label class="checkbox" for="signupblog"><?php _e( 'Gimme a site!' ); ?></label> </span> <span class="wp-signup-radio-button"> <input id="signupuser" type="radio" name="signup_for" value="user" <?php checked( $signup_for, 'user' ); ?> /> <label class="checkbox" for="signupuser"><?php _e( 'Just a username, please.' ); ?></label> </span> </p> </fieldset> <?php endif; ?> <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Next' ); ?>" /></p> </form> <?php } /** * Validates the new user sign-up. * * @since MU (3.0.0) * * @return bool True if new user sign-up was validated, false on error. */ function validate_user_signup() { $result = validate_user_form(); $user_name = $result['user_name']; $user_email = $result['user_email']; $errors = $result['errors']; if ( $errors->has_errors() ) { signup_user( $user_name, $user_email, $errors ); return false; } if ( 'blog' === $_POST['signup_for'] ) { signup_blog( $user_name, $user_email ); return false; } /** This filter is documented in wp-signup.php */ wpmu_signup_user( $user_name, $user_email, apply_filters( 'add_signup_meta', array() ) ); confirm_user_signup( $user_name, $user_email ); return true; } /** * Shows a message confirming that the new user has been registered and is awaiting activation. * * @since MU (3.0.0) * * @param string $user_name The username. * @param string $user_email The user's email address. */ function confirm_user_signup( $user_name, $user_email ) { ?> <h2> <?php /* translators: %s: Username. */ printf( __( '%s is your new username' ), $user_name ) ?> </h2> <p><?php _e( 'But, before you can start using your new username, <strong>you must activate it</strong>.' ); ?></p> <p> <?php /* translators: %s: The user email address. */ printf( __( 'Check your inbox at %s and click on the given link.' ), '<strong>' . $user_email . '</strong>' ); ?> </p> <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p> <?php /** This action is documented in wp-signup.php */ do_action( 'signup_finished' ); } /** * Shows a form for a user or visitor to sign up for a new site. * * @since MU (3.0.0) * * @param string $user_name The username. * @param string $user_email The user's email address. * @param string $blogname The site name. * @param string $blog_title The site title. * @param WP_Error|string $errors A WP_Error object containing existing errors. Defaults to empty string. */ function signup_blog( $user_name = '', $user_email = '', $blogname = '', $blog_title = '', $errors = '' ) { if ( ! is_wp_error( $errors ) ) { $errors = new WP_Error(); } $signup_blog_defaults = array( 'user_name' => $user_name, 'user_email' => $user_email, 'blogname' => $blogname, 'blog_title' => $blog_title, 'errors' => $errors, ); /** * Filters the default site creation variables for the site sign-up form. * * @since 3.0.0 * * @param array $signup_blog_defaults { * An array of default site creation variables. * * @type string $user_name The user username. * @type string $user_email The user email address. * @type string $blogname The blogname. * @type string $blog_title The title of the site. * @type WP_Error $errors A WP_Error object with possible errors relevant to new site creation variables. * } */ $filtered_results = apply_filters( 'signup_blog_init', $signup_blog_defaults ); $user_name = $filtered_results['user_name']; $user_email = $filtered_results['user_email']; $blogname = $filtered_results['blogname']; $blog_title = $filtered_results['blog_title']; $errors = $filtered_results['errors']; if ( empty( $blogname ) ) { $blogname = $user_name; } ?> <form id="setupform" method="post" action="wp-signup.php"> <input type="hidden" name="stage" value="validate-blog-signup" /> <input type="hidden" name="user_name" value="<?php echo esc_attr( $user_name ); ?>" /> <input type="hidden" name="user_email" value="<?php echo esc_attr( $user_email ); ?>" /> <?php /** This action is documented in wp-signup.php */ do_action( 'signup_hidden_fields', 'validate-site' ); ?> <?php show_blog_form( $blogname, $blog_title, $errors ); ?> <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Sign up' ); ?>" /></p> </form> <?php } /** * Validates new site signup. * * @since MU (3.0.0) * * @return bool True if the site sign-up was validated, false on error. */ function validate_blog_signup() { // Re-validate user info. $user_result = wpmu_validate_user_signup( $_POST['user_name'], $_POST['user_email'] ); $user_name = $user_result['user_name']; $user_email = $user_result['user_email']; $user_errors = $user_result['errors']; if ( $user_errors->has_errors() ) { signup_user( $user_name, $user_email, $user_errors ); return false; } $result = wpmu_validate_blog_signup( $_POST['blogname'], $_POST['blog_title'] ); $domain = $result['domain']; $path = $result['path']; $blogname = $result['blogname']; $blog_title = $result['blog_title']; $errors = $result['errors']; if ( $errors->has_errors() ) { signup_blog( $user_name, $user_email, $blogname, $blog_title, $errors ); return false; } $public = (int) $_POST['blog_public']; $signup_meta = array( 'lang_id' => 1, 'public' => $public, ); // Handle the language setting for the new site. if ( ! empty( $_POST['WPLANG'] ) ) { $languages = signup_get_available_languages(); if ( in_array( $_POST['WPLANG'], $languages, true ) ) { $language = wp_unslash( sanitize_text_field( $_POST['WPLANG'] ) ); if ( $language ) { $signup_meta['WPLANG'] = $language; } } } /** This filter is documented in wp-signup.php */ $meta = apply_filters( 'add_signup_meta', $signup_meta ); wpmu_signup_blog( $domain, $path, $blog_title, $user_name, $user_email, $meta ); confirm_blog_signup( $domain, $path, $blog_title, $user_name, $user_email, $meta ); return true; } /** * Shows a message confirming that the new site has been registered and is awaiting activation. * * @since MU (3.0.0) * * @param string $domain The domain or subdomain of the site. * @param string $path The path of the site. * @param string $blog_title The title of the new site. * @param string $user_name The user's username. * @param string $user_email The user's email address. * @param array $meta Any additional meta from the {@see 'add_signup_meta'} filter in validate_blog_signup(). */ function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $user_email = '', $meta = array() ) { ?> <h2> <?php /* translators: %s: Site address. */ printf( __( 'Congratulations! Your new site, %s, is almost ready.' ), "<a href='//{$domain}{$path}'>{$blog_title}</a>" ) ?> </h2> <p><?php _e( 'But, before you can start using your site, <strong>you must activate it</strong>.' ); ?></p> <p> <?php /* translators: %s: The user email address. */ printf( __( 'Check your inbox at %s and click on the given link.' ), '<strong>' . $user_email . '</strong>' ); ?> </p> <p><?php _e( 'If you do not activate your site within two days, you will have to sign up again.' ); ?></p> <h2><?php _e( 'Still waiting for your email?' ); ?></h2> <p><?php _e( 'If you have not received your email yet, there are a number of things you can do:' ); ?></p> <ul id="noemail-tips"> <li><p><strong><?php _e( 'Wait a little longer. Sometimes delivery of email can be delayed by processes outside of our control.' ); ?></strong></p></li> <li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.' ); ?></p></li> <li> <?php /* translators: %s: Email address. */ printf( __( 'Have you entered your email correctly? You have entered %s, if it’s incorrect, you will not receive your email.' ), $user_email ); ?> </li> </ul> <?php /** This action is documented in wp-signup.php */ do_action( 'signup_finished' ); } /** * Retrieves languages available during the site/user sign-up process. * * @since 4.4.0 * * @see get_available_languages() * * @return string[] Array of available language codes. Language codes are formed by * stripping the .mo extension from the language file names. */ function signup_get_available_languages() { /** * Filters the list of available languages for front-end site sign-ups. * * Passing an empty array to this hook will disable output of the setting on the * sign-up form, and the default language will be used when creating the site. * * Languages not already installed will be stripped. * * @since 4.4.0 * * @param string[] $languages Array of available language codes. Language codes are formed by * stripping the .mo extension from the language file names. */ $languages = (array) apply_filters( 'signup_get_available_languages', get_available_languages() ); /* * Strip any non-installed languages and return. * * Re-call get_available_languages() here in case a language pack was installed * in a callback hooked to the 'signup_get_available_languages' filter before this point. */ return array_intersect_assoc( $languages, get_available_languages() ); } // Main. $active_signup = get_site_option( 'registration', 'none' ); /** * Filters the type of site sign-up. * * @since 3.0.0 * * @param string $active_signup String that returns registration type. The value can be * 'all', 'none', 'blog', or 'user'. */ $active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); if ( current_user_can( 'manage_network' ) ) { echo '<div class="mu_alert">'; _e( 'Greetings Network Administrator!' ); echo ' '; switch ( $active_signup ) { case 'none': _e( 'The network currently disallows registrations.' ); break; case 'blog': _e( 'The network currently allows site registrations.' ); break; case 'user': _e( 'The network currently allows user registrations.' ); break; default: _e( 'The network currently allows both site and user registrations.' ); break; } echo ' '; /* translators: %s: URL to Network Settings screen. */ printf( __( 'To change or disable registration go to your <a href="%s">Options page</a>.' ), esc_url( network_admin_url( 'settings.php' ) ) ); echo '</div>'; } $newblogname = isset( $_GET['new'] ) ? strtolower( preg_replace( '/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'] ) ) : null; $current_user = wp_get_current_user(); if ( 'none' === $active_signup ) { _e( 'Registration has been disabled.' ); } elseif ( 'blog' === $active_signup && ! is_user_logged_in() ) { $login_url = wp_login_url( network_site_url( 'wp-signup.php' ) ); /* translators: %s: Login URL. */ printf( __( 'You must first <a href="%s">log in</a>, and then you can create a new site.' ), $login_url ); } else { $stage = $_POST['stage'] ?? 'default'; switch ( $stage ) { case 'validate-user-signup': if ( 'all' === $active_signup || ( 'blog' === $_POST['signup_for'] && 'blog' === $active_signup ) || ( 'user' === $_POST['signup_for'] && 'user' === $active_signup ) ) { validate_user_signup(); } else { _e( 'User registration has been disabled.' ); } break; case 'validate-blog-signup': if ( 'all' === $active_signup || 'blog' === $active_signup ) { validate_blog_signup(); } else { _e( 'Site registration has been disabled.' ); } break; case 'gimmeanotherblog': if ( 'all' === $active_signup || 'blog' === $active_signup ) { validate_another_blog_signup(); } else { _e( 'Site registration has been disabled.' ); } break; case 'default': default: $user_email = $_POST['user_email'] ?? ''; /** * Fires when the site sign-up form is sent. * * @since 3.0.0 */ do_action( 'preprocess_signup_form' ); if ( is_user_logged_in() && ( 'all' === $active_signup || 'blog' === $active_signup ) ) { signup_another_blog( $newblogname ); } elseif ( ! is_user_logged_in() && ( 'all' === $active_signup || 'user' === $active_signup ) ) { signup_user( $newblogname, $user_email ); } elseif ( ! is_user_logged_in() && ( 'blog' === $active_signup ) ) { _e( 'Sorry, new registrations are not allowed at this time.' ); } else { _e( 'You are logged in already. No need to register again!' ); } if ( $newblogname ) { $newblog = get_blogaddress_by_name( $newblogname ); if ( 'blog' === $active_signup || 'all' === $active_signup ) { printf( /* translators: %s: Site address. */ '<p>' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '</p>', '<strong>' . $newblog . '</strong>' ); } else { printf( /* translators: %s: Site address. */ '<p>' . __( 'The site you were looking for, %s, does not exist.' ) . '</p>', '<strong>' . $newblog . '</strong>' ); } } break; } } ?> </div> </div> <?php /** * Fires after the sign-up forms, before wp_footer. * * @since 3.0.0 */ do_action( 'after_signup_form' ); ?> <?php get_footer( 'wp-signup' );