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 /
ccmadmin /
Delete
Unzip
Name
Size
Permission
Date
Action
calendar
[ DIR ]
drwxr-sr-x
2013-02-26 09:29
ckeditor
[ DIR ]
drwxr-sr-x
2017-10-25 14:17
documents
[ DIR ]
drwxr-sr-x
2015-07-16 10:31
gallery
[ DIR ]
drwxr-sr-x
2013-09-25 09:41
images
[ DIR ]
drwxr-sr-x
2013-03-28 08:12
js
[ DIR ]
drwxr-sr-x
2013-10-21 11:00
lang
[ DIR ]
drwxr-sr-x
2013-02-26 09:34
milestones
[ DIR ]
drwxr-sr-x
2022-02-17 08:56
msgattach
[ DIR ]
drwxr-sr-x
2018-12-07 12:32
phpmailer
[ DIR ]
drwxr-sr-x
2013-10-14 06:56
templates
[ DIR ]
drwxr-sr-x
2015-07-16 10:33
txt
[ DIR ]
drwxr-sr-x
2013-02-26 09:34
uploads
[ DIR ]
drwxr-sr-x
2022-02-17 08:56
yui280
[ DIR ]
drwxr-sr-x
2013-02-26 09:27
CCMEmployersadd.php
53.58
KB
-rw-r--r--
2014-02-25 06:27
CCMEmployersdelete.php
27.53
KB
-rw-r--r--
2014-02-25 06:26
CCMEmployersedit.php
55.68
KB
-rw-r--r--
2014-02-25 06:26
CCMEmployersinfo.php
29.6
KB
-rw-r--r--
2014-03-31 08:08
CCMEmployerslist.php
95.75
KB
-rw-r--r--
2014-02-25 06:27
CCMEmployersmaster.php
6.27
KB
-rw-r--r--
2014-02-25 06:27
CCMEmployerssrch.php
58.54
KB
-rw-r--r--
2014-02-25 06:26
CCMEmployersview.php
57.29
KB
-rw-r--r--
2014-02-25 06:26
CCMGallery_GalleryImage_bv.php
6.63
KB
-rw-r--r--
2014-02-25 06:27
CCMGalleryadd.php
23.37
KB
-rw-r--r--
2014-02-25 06:27
CCMGallerydelete.php
19.04
KB
-rw-r--r--
2014-02-25 06:27
CCMGalleryedit.php
25.19
KB
-rw-r--r--
2014-02-25 06:27
CCMGalleryinfo.php
20.99
KB
-rw-r--r--
2014-02-25 06:27
CCMGallerylist.php
54.63
KB
-rw-r--r--
2014-02-25 06:27
CCMGalleryview.php
35.47
KB
-rw-r--r--
2014-02-25 06:27
CCMGuidelines_CCMGuidelineFile_bv.php
6.76
KB
-rw-r--r--
2014-10-13 07:12
CCMGuidelinesadd.php
19.77
KB
-rw-r--r--
2014-10-13 07:12
CCMGuidelinesdelete.php
17.57
KB
-rw-r--r--
2014-10-13 07:12
CCMGuidelinesedit.php
23.79
KB
-rw-r--r--
2014-10-13 07:12
CCMGuidelinesinfo.php
19.31
KB
-rw-r--r--
2014-10-13 07:12
CCMGuidelineslist.php
50.85
KB
-rw-r--r--
2014-10-13 07:12
CCMGuidelinesview.php
34.27
KB
-rw-r--r--
2014-10-13 07:12
CCMMentorsadd.php
56.37
KB
-rw-r--r--
2014-02-25 06:26
CCMMentorsdelete.php
27.13
KB
-rw-r--r--
2014-02-25 06:26
CCMMentorsedit.php
58.54
KB
-rw-r--r--
2014-02-25 06:26
CCMMentorsinfo.php
30.48
KB
-rw-r--r--
2014-03-31 08:08
CCMMentorslist.php
98.07
KB
-rw-r--r--
2014-02-25 06:26
CCMMentorsmaster.php
5.1
KB
-rw-r--r--
2014-02-25 06:26
CCMMentorssrch.php
69.71
KB
-rw-r--r--
2014-02-25 06:26
CCMMentorsview.php
59.62
KB
-rw-r--r--
2014-02-25 06:26
CCMMessagesInbox.php
591
B
-rw-r--r--
2014-05-26 09:34
CCMMessagesSent.php
599
B
-rw-r--r--
2014-05-26 09:34
CCMMessages_MessageFile_bv.php
6.64
KB
-rw-r--r--
2014-02-25 06:27
CCMMessagesadd.php
31.98
KB
-rw-r--r--
2014-02-25 06:27
CCMMessagesdelete.php
19.01
KB
-rw-r--r--
2014-02-25 06:27
CCMMessagesedit.php
36.1
KB
-rw-r--r--
2014-02-25 06:27
CCMMessagesinfo.php
21.67
KB
-rw-r--r--
2014-02-25 06:27
CCMMessageslist.php
57.56
KB
-rw-r--r--
2014-05-26 09:34
CCMMessagesview.php
38.88
KB
-rw-r--r--
2014-02-25 06:27
CCMMilestoneStepsData_StepFile_bv.php
7.03
KB
-rw-r--r--
2014-02-25 06:26
CCMMilestoneStepsDatainfo.php
22.96
KB
-rw-r--r--
2014-02-25 06:26
CCMMilestoneStepsDatalist.php
62.17
KB
-rw-r--r--
2014-02-25 06:26
CCMMilestoneStepsDataview.php
42.51
KB
-rw-r--r--
2014-02-25 06:26
CCMMilestones_StepFile_bv.php
7.46
KB
-rw-r--r--
2014-02-25 06:26
CCMMilestonesinfo.php
24.05
KB
-rw-r--r--
2014-02-25 06:26
CCMMilestoneslist.php
73.1
KB
-rw-r--r--
2014-02-25 06:26
CCMMilestonesview.php
39.65
KB
-rw-r--r--
2014-02-25 06:26
CCMNoticeBoard_DocumentFile_bv.php
6.73
KB
-rw-r--r--
2014-02-25 06:27
CCMNoticeBoardadd.php
26.43
KB
-rw-r--r--
2014-02-25 06:27
CCMNoticeBoarddelete.php
17.45
KB
-rw-r--r--
2014-02-25 06:27
CCMNoticeBoardedit.php
29.16
KB
-rw-r--r--
2014-02-25 06:27
CCMNoticeBoardinfo.php
19.38
KB
-rw-r--r--
2014-02-25 06:27
CCMNoticeBoardlist.php
51.62
KB
-rw-r--r--
2014-02-25 06:27
CCMNoticeBoardview.php
38.63
KB
-rw-r--r--
2014-02-25 06:27
CCMStudentProgressedit.php
28.46
KB
-rw-r--r--
2014-06-18 11:28
CCMStudentProgressinfo.php
22.65
KB
-rw-r--r--
2014-06-18 11:28
CCMStudentProgresslist.php
52.53
KB
-rw-r--r--
2014-06-18 11:28
CCMStudentProgressview.php
38.82
KB
-rw-r--r--
2014-06-18 11:28
CCMStudents_BankAccountProof_bv.php
6.71
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_CVFile_bv.php
6.58
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_CandUUndertaking_bv.php
6.71
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_CompanyCandidatePolicy_bv.php
6.78
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_DisabilityCertificate_bv.php
6.77
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_IDFile_bv.php
6.58
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_MentorUndertaking_bv.php
6.72
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_Payslip_bv.php
6.59
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_Photograph_bv.php
6.63
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_QualCertificate1_bv.php
6.71
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_QualCertificate2_bv.php
6.71
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_QualCertificate3_bv.php
6.71
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_ResidenceProof_bv.php
6.68
KB
-rw-r--r--
2014-06-09 07:27
CCMStudents_SignedAppForm_bv.php
6.67
KB
-rw-r--r--
2014-06-09 07:27
CCMStudentsadd.php
209.14
KB
-rw-r--r--
2014-06-09 07:28
CCMStudentsdelete.php
57.02
KB
-rw-r--r--
2014-06-09 07:28
CCMStudentsedit.php
245.46
KB
-rw-r--r--
2014-06-09 07:28
CCMStudentsinfo.php
54.74
KB
-rw-r--r--
2014-06-09 07:28
CCMStudentslist.php
195.22
KB
-rw-r--r--
2014-08-18 10:09
CCMStudentsmaster.php
7.34
KB
-rw-r--r--
2014-06-09 07:28
CCMStudentssrch.php
201.28
KB
-rw-r--r--
2014-06-09 07:27
CCMStudentsview.php
167.84
KB
-rw-r--r--
2014-06-09 07:28
CCMTemplates_TemplateFile_bv.php
6.68
KB
-rw-r--r--
2014-02-25 06:27
CCMTemplatesadd.php
23.16
KB
-rw-r--r--
2014-02-25 06:27
CCMTemplatesdelete.php
18.74
KB
-rw-r--r--
2014-02-25 06:27
CCMTemplatesedit.php
25.7
KB
-rw-r--r--
2014-02-25 06:27
CCMTemplatesinfo.php
20.29
KB
-rw-r--r--
2014-02-25 06:27
CCMTemplateslist.php
53.35
KB
-rw-r--r--
2014-02-25 06:27
CCMTemplatesview.php
36.35
KB
-rw-r--r--
2014-02-25 06:27
CCMUsersinfo.php
21.93
KB
-rw-r--r--
2014-06-09 07:27
CESA_CCM.css
10.23
KB
-rw-r--r--
2014-02-25 06:26
ReportMilestones.php
8.42
KB
-rw-r--r--
2014-05-14 08:52
ReportMilestonesExport.php
8
KB
-rw-r--r--
2014-05-14 08:52
SpryMenuBarHorizontal.css
5.52
KB
-rw-r--r--
2013-03-28 08:02
SpryMenuBarVertical.css
4.52
KB
-rw-r--r--
2013-03-28 08:02
assigsummary.php
8.34
KB
-rw-r--r--
2014-04-07 09:48
changementor.php
3.9
KB
-rw-r--r--
2014-08-18 10:09
changepwd.php
9.79
KB
-rw-r--r--
2014-02-25 05:56
cstArchivedCoordinatorsedit.php
64.68
KB
-rw-r--r--
2014-04-07 07:30
cstArchivedCoordinatorsinfo.php
26.51
KB
-rw-r--r--
2014-04-07 07:30
cstArchivedCoordinatorslist.php
73.12
KB
-rw-r--r--
2014-04-07 07:30
cstArchivedCoordinatorsview.php
64.86
KB
-rw-r--r--
2014-04-07 07:30
cstArchivedMentorsedit.php
73.83
KB
-rw-r--r--
2014-04-07 07:30
cstArchivedMentorsinfo.php
28.31
KB
-rw-r--r--
2014-04-07 07:30
cstArchivedMentorslist.php
73.71
KB
-rw-r--r--
2014-04-07 07:30
cstArchivedMentorsview.php
70.62
KB
-rw-r--r--
2014-04-07 07:30
cstArchivedStudents_BankAccountProof_bv.php
6.89
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_CVFile_bv.php
6.77
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_CandUUndertaking_bv.php
6.89
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_CompanyCandidatePolicy_bv.php
6.97
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_DisabilityCertificate_bv.php
6.96
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_IDFile_bv.php
6.77
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_MentorUndertaking_bv.php
6.91
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_Payslip_bv.php
6.78
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_Photograph_bv.php
6.82
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_QualCertificate1_bv.php
6.89
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_QualCertificate2_bv.php
6.89
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_QualCertificate3_bv.php
6.89
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_ResidenceProof_bv.php
6.87
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudents_SignedAppForm_bv.php
6.86
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudentsedit.php
267.74
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudentsinfo.php
57.62
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudentslist.php
136.29
KB
-rw-r--r--
2014-02-25 06:26
cstArchivedStudentsview.php
181.59
KB
-rw-r--r--
2014-02-25 06:26
cstCandMilestonesinfo.php
29.71
KB
-rw-r--r--
2014-06-09 08:17
cstCandMilestoneslist.php
78.82
KB
-rw-r--r--
2014-06-09 07:27
cstCandMilestonesmaster.php
6.75
KB
-rw-r--r--
2014-06-09 07:27
cstCandMilestonessrch.php
39.12
KB
-rw-r--r--
2014-06-09 07:27
cstEmployerMilestonesinfo.php
22.63
KB
-rw-r--r--
2014-02-25 06:26
cstEmployerMilestoneslist.php
65.96
KB
-rw-r--r--
2014-02-25 06:26
cstEmployerMilestonesmaster.php
3.86
KB
-rw-r--r--
2014-02-25 06:26
cstEmployerMilestonessrch.php
28.32
KB
-rw-r--r--
2014-02-25 06:26
cstMentorMilestonesinfo.php
22.46
KB
-rw-r--r--
2014-02-25 06:26
cstMentorMilestoneslist.php
63.18
KB
-rw-r--r--
2014-02-25 06:26
cstMentorMilestonesmaster.php
3.77
KB
-rw-r--r--
2014-02-25 06:26
cstMentorMilestonessrch.php
26.01
KB
-rw-r--r--
2014-02-25 06:26
ewbv7.php
1.81
KB
-rw-r--r--
2014-02-25 06:26
ewcfg7.php
16.87
KB
-rw-r--r--
2022-06-16 14:37
ewemail7.php
1.84
KB
-rw-r--r--
2014-02-25 06:26
ewlookup7.php
2.69
KB
-rw-r--r--
2014-02-25 06:26
ewmenu.php
3.27
KB
-rw-r--r--
2014-10-13 07:12
ewmenu_bak.php
2.42
KB
-rw-r--r--
2013-11-01 12:24
ewmysql7.php
24.08
KB
-rw-r--r--
2019-08-29 10:35
ewshared7.php
21.82
KB
-rw-r--r--
2013-03-28 08:02
footer.php
1.46
KB
-rw-r--r--
2014-02-25 06:26
forgotpwd.php
9.1
KB
-rw-r--r--
2014-02-25 05:56
header.php
5.3
KB
-rw-r--r--
2014-02-25 06:26
inc_sendmessage.php
7.46
KB
-rw-r--r--
2018-05-28 09:57
index.php
5.41
KB
-rw-r--r--
2014-02-25 06:26
log_20130226.txt
505
B
-rw-r--r--
2013-02-26 13:44
log_20130227.txt
283
B
-rw-r--r--
2013-02-27 19:19
log_20130228.txt
284
B
-rw-r--r--
2013-02-28 14:39
log_20130301.txt
642
B
-rw-r--r--
2013-03-01 15:26
log_20130302.txt
224
B
-rw-r--r--
2013-03-02 11:54
log_20130304.txt
142
B
-rw-r--r--
2013-03-04 05:52
log_20130305.txt
212
B
-rw-r--r--
2013-03-05 10:03
log_20130306.txt
923
B
-rw-r--r--
2013-03-06 15:32
log_20130307.txt
642
B
-rw-r--r--
2013-03-07 15:54
log_20130308.txt
1.04
KB
-rw-r--r--
2013-03-08 14:42
log_20130309.txt
492
B
-rw-r--r--
2013-03-09 10:27
log_20130311.txt
422
B
-rw-r--r--
2013-03-11 16:22
log_20130312.txt
212
B
-rw-r--r--
2013-03-12 12:12
log_20130313.txt
352
B
-rw-r--r--
2013-03-13 13:46
log_20130314.txt
142
B
-rw-r--r--
2013-03-14 07:28
log_20130315.txt
282
B
-rw-r--r--
2013-03-15 08:04
log_20130319.txt
510
B
-rw-r--r--
2013-03-19 14:15
log_20130320.txt
494
B
-rw-r--r--
2013-03-20 15:05
log_20130322.txt
160
B
-rw-r--r--
2013-03-22 10:40
log_20130325.txt
230
B
-rw-r--r--
2013-03-25 07:17
log_20130326.txt
142
B
-rw-r--r--
2013-03-26 09:50
log_20130327.txt
572
B
-rw-r--r--
2013-03-27 14:23
log_20130328.txt
213
B
-rw-r--r--
2013-03-28 09:20
log_20130403.txt
160
B
-rw-r--r--
2013-04-03 09:00
log_20130404.txt
422
B
-rw-r--r--
2013-04-04 15:21
log_20130405.txt
160
B
-rw-r--r--
2013-04-05 08:19
log_20130408.txt
212
B
-rw-r--r--
2013-04-08 12:24
log_20130409.txt
160
B
-rw-r--r--
2013-04-09 07:30
log_20130410.txt
160
B
-rw-r--r--
2013-04-10 07:11
log_20130412.txt
318
B
-rw-r--r--
2013-04-12 12:08
log_20130415.txt
160
B
-rw-r--r--
2013-04-15 11:07
log_20130417.txt
292
B
-rw-r--r--
2013-04-17 07:05
log_20130418.txt
248
B
-rw-r--r--
2013-04-18 11:38
log_20130419.txt
230
B
-rw-r--r--
2013-04-19 13:27
log_20130422.txt
160
B
-rw-r--r--
2013-04-22 07:10
log_20130423.txt
142
B
-rw-r--r--
2013-04-23 07:23
log_20130425.txt
230
B
-rw-r--r--
2013-04-25 08:40
log_20130429.txt
160
B
-rw-r--r--
2013-04-29 08:23
log_20130430.txt
160
B
-rw-r--r--
2013-04-30 09:01
log_20130508.txt
226
B
-rw-r--r--
2013-05-08 04:19
log_20130517.txt
163
B
-rw-r--r--
2013-05-17 08:04
log_20130524.txt
162
B
-rw-r--r--
2013-05-24 12:13
log_20130529.txt
162
B
-rw-r--r--
2013-05-29 07:17
log_20130530.txt
162
B
-rw-r--r--
2013-05-30 08:03
log_20130603.txt
162
B
-rw-r--r--
2013-06-03 07:41
log_20130610.txt
393
B
-rw-r--r--
2013-06-10 10:54
log_20130611.txt
142
B
-rw-r--r--
2013-06-11 07:41
log_20130613.txt
161
B
-rw-r--r--
2013-06-13 10:04
log_20130704.txt
214
B
-rw-r--r--
2013-07-04 14:17
log_20130705.txt
142
B
-rw-r--r--
2013-07-05 13:32
log_20130709.txt
362
B
-rw-r--r--
2013-07-09 13:39
log_20130710.txt
142
B
-rw-r--r--
2013-07-10 05:54
log_20130711.txt
142
B
-rw-r--r--
2013-07-11 06:46
log_20130716.txt
232
B
-rw-r--r--
2013-07-16 13:39
log_20130717.txt
230
B
-rw-r--r--
2013-07-17 07:47
log_20130722.txt
252
B
-rw-r--r--
2013-07-22 14:25
log_20130724.txt
292
B
-rw-r--r--
2013-07-24 11:56
log_20130725.txt
162
B
-rw-r--r--
2013-07-25 08:49
log_20130726.txt
142
B
-rw-r--r--
2013-07-26 05:22
log_20130729.txt
161
B
-rw-r--r--
2013-07-29 07:08
log_20130730.txt
231
B
-rw-r--r--
2013-07-30 11:52
log_20130731.txt
161
B
-rw-r--r--
2013-07-31 07:44
log_20130801.txt
250
B
-rw-r--r--
2013-08-01 09:27
log_20130806.txt
231
B
-rw-r--r--
2013-08-06 07:17
log_20130807.txt
161
B
-rw-r--r--
2013-08-07 08:28
log_20130808.txt
161
B
-rw-r--r--
2013-08-08 08:44
log_20130813.txt
161
B
-rw-r--r--
2013-08-13 08:43
log_20130820.txt
161
B
-rw-r--r--
2013-08-20 14:06
log_20130821.txt
161
B
-rw-r--r--
2013-08-21 12:58
log_20130822.txt
250
B
-rw-r--r--
2013-08-22 15:02
log_20130826.txt
161
B
-rw-r--r--
2013-08-26 12:00
log_20130828.txt
231
B
-rw-r--r--
2013-08-28 07:51
log_20130902.txt
161
B
-rw-r--r--
2013-09-02 09:49
log_20130903.txt
161
B
-rw-r--r--
2013-09-03 08:09
log_20130904.txt
161
B
-rw-r--r--
2013-09-04 08:00
log_20130906.txt
161
B
-rw-r--r--
2013-09-06 06:53
log_20130909.txt
161
B
-rw-r--r--
2013-09-09 08:13
log_20130910.txt
142
B
-rw-r--r--
2013-09-10 09:14
log_20130911.txt
250
B
-rw-r--r--
2013-09-11 11:48
log_20130913.txt
161
B
-rw-r--r--
2013-09-13 08:12
log_20130918.txt
161
B
-rw-r--r--
2013-09-18 13:05
log_20130924.txt
161
B
-rw-r--r--
2013-09-24 16:44
log_20130926.txt
232
B
-rw-r--r--
2013-09-26 09:11
log_20131001.txt
250
B
-rw-r--r--
2013-10-01 16:47
log_20131003.txt
161
B
-rw-r--r--
2013-10-03 07:30
log_20131004.txt
161
B
-rw-r--r--
2013-10-04 08:21
log_20131007.txt
161
B
-rw-r--r--
2013-10-07 09:13
log_20131008.txt
161
B
-rw-r--r--
2013-10-08 06:26
log_20131009.txt
301
B
-rw-r--r--
2013-10-09 08:31
log_20131010.txt
232
B
-rw-r--r--
2013-10-10 12:31
log_20131011.txt
302
B
-rw-r--r--
2013-10-11 13:08
log_20131014.txt
250
B
-rw-r--r--
2013-10-14 13:49
log_20131015.txt
161
B
-rw-r--r--
2013-10-15 07:34
log_20131018.txt
161
B
-rw-r--r--
2013-10-18 07:45
log_20131021.txt
232
B
-rw-r--r--
2013-10-21 10:59
log_20131022.txt
161
B
-rw-r--r--
2013-10-22 09:10
log_20131023.txt
231
B
-rw-r--r--
2013-10-23 09:12
log_20131024.txt
232
B
-rw-r--r--
2013-10-24 11:19
log_20131025.txt
151
B
-rw-r--r--
2013-10-25 08:45
log_20131026.txt
161
B
-rw-r--r--
2013-10-26 10:21
log_20131028.txt
408
B
-rw-r--r--
2013-10-28 14:23
log_20131029.txt
161
B
-rw-r--r--
2013-10-29 12:50
log_20131030.txt
231
B
-rw-r--r--
2013-10-30 09:40
log_20131031.txt
490
B
-rw-r--r--
2013-10-31 10:34
log_20131101.txt
305
B
-rw-r--r--
2013-11-01 12:28
log_20131104.txt
343
B
-rw-r--r--
2013-11-04 14:23
log_20131105.txt
161
B
-rw-r--r--
2013-11-05 06:31
log_20131106.txt
161
B
-rw-r--r--
2013-11-06 07:10
log_20131107.txt
341
B
-rw-r--r--
2013-11-07 09:35
log_20131108.txt
416
B
-rw-r--r--
2013-11-08 13:30
log_20131110.txt
162
B
-rw-r--r--
2013-11-10 09:00
log_20131111.txt
431
B
-rw-r--r--
2013-11-11 13:02
log_20131112.txt
251
B
-rw-r--r--
2013-11-12 10:28
log_20131113.txt
408
B
-rw-r--r--
2013-11-13 13:03
log_20131114.txt
320
B
-rw-r--r--
2013-11-14 23:05
log_20131118.txt
252
B
-rw-r--r--
2013-11-18 14:07
log_20131119.txt
161
B
-rw-r--r--
2013-11-19 07:04
log_20131120.txt
161
B
-rw-r--r--
2013-11-20 09:28
log_20131121.txt
161
B
-rw-r--r--
2013-11-21 13:32
log_20131125.txt
431
B
-rw-r--r--
2013-11-25 17:58
log_20131126.txt
250
B
-rw-r--r--
2013-11-26 09:06
log_20131127.txt
301
B
-rw-r--r--
2013-11-27 14:30
log_20131128.txt
163
B
-rw-r--r--
2013-11-28 08:27
log_20131129.txt
161
B
-rw-r--r--
2013-11-29 11:12
log_20131203.txt
232
B
-rw-r--r--
2013-12-03 14:53
log_20131204.txt
383
B
-rw-r--r--
2013-12-04 14:34
log_20131208.txt
145
B
-rw-r--r--
2013-12-08 14:53
log_20131209.txt
250
B
-rw-r--r--
2013-12-09 09:01
log_20131211.txt
230
B
-rw-r--r--
2013-12-11 13:37
log_20131213.txt
161
B
-rw-r--r--
2013-12-13 08:47
log_20140106.txt
295
B
-rw-r--r--
2014-01-06 14:14
log_20140107.txt
161
B
-rw-r--r--
2014-01-07 07:10
log_20140108.txt
143
B
-rw-r--r--
2014-01-08 07:57
log_20140113.txt
151
B
-rw-r--r--
2014-01-13 08:41
log_20140114.txt
240
B
-rw-r--r--
2014-01-14 10:49
log_20140116.txt
151
B
-rw-r--r--
2014-01-16 11:18
log_20140117.txt
239
B
-rw-r--r--
2014-01-17 10:42
log_20140120.txt
250
B
-rw-r--r--
2014-01-20 12:57
log_20140121.txt
151
B
-rw-r--r--
2014-01-21 13:57
log_20140122.txt
231
B
-rw-r--r--
2014-01-22 08:31
log_20140124.txt
240
B
-rw-r--r--
2014-01-24 10:50
log_20140127.txt
214
B
-rw-r--r--
2014-01-27 13:50
log_20140128.txt
151
B
-rw-r--r--
2014-01-28 07:27
log_20140129.txt
161
B
-rw-r--r--
2014-01-29 13:27
log_20140130.txt
384
B
-rw-r--r--
2014-01-30 12:52
log_20140131.txt
161
B
-rw-r--r--
2014-01-31 12:17
log_20140203.txt
161
B
-rw-r--r--
2014-02-03 14:08
log_20140204.txt
143
B
-rw-r--r--
2014-02-04 10:23
log_20140205.txt
593
B
-rw-r--r--
2014-02-05 13:13
log_20140207.txt
161
B
-rw-r--r--
2014-02-07 07:16
log_20140210.txt
251
B
-rw-r--r--
2014-02-10 13:02
log_20140211.txt
368
B
-rw-r--r--
2014-02-11 14:12
log_20140214.txt
161
B
-rw-r--r--
2014-02-14 09:29
log_20140217.txt
240
B
-rw-r--r--
2014-02-17 14:41
log_20140218.txt
160
B
-rw-r--r--
2014-02-18 08:31
log_20140219.txt
162
B
-rw-r--r--
2014-02-19 10:10
log_20140220.txt
256
B
-rw-r--r--
2014-02-20 07:02
log_20140221.txt
161
B
-rw-r--r--
2014-02-21 12:23
log_20140224.txt
214
B
-rw-r--r--
2014-02-24 07:51
log_20140225.txt
775
B
-rw-r--r--
2014-02-25 09:24
log_20140227.txt
143
B
-rw-r--r--
2014-02-27 07:02
log_20140305.txt
232
B
-rw-r--r--
2014-03-05 13:28
log_20140306.txt
342
B
-rw-r--r--
2014-03-06 12:57
log_20140307.txt
160
B
-rw-r--r--
2014-03-07 08:49
log_20140309.txt
160
B
-rw-r--r--
2014-03-09 07:47
log_20140311.txt
162
B
-rw-r--r--
2014-03-11 07:16
log_20140313.txt
171
B
-rw-r--r--
2014-03-13 14:08
log_20140314.txt
439
B
-rw-r--r--
2014-03-14 12:15
log_20140316.txt
162
B
-rw-r--r--
2014-03-16 19:42
log_20140317.txt
436
B
-rw-r--r--
2014-03-17 14:31
log_20140318.txt
517
B
-rw-r--r--
2014-03-18 09:09
log_20140319.txt
428
B
-rw-r--r--
2014-03-19 12:34
log_20140320.txt
160
B
-rw-r--r--
2014-03-20 08:07
log_20140324.txt
304
B
-rw-r--r--
2014-03-24 11:46
log_20140325.txt
160
B
-rw-r--r--
2014-03-25 07:47
log_20140326.txt
160
B
-rw-r--r--
2014-03-26 10:21
log_20140327.txt
160
B
-rw-r--r--
2014-03-27 06:51
log_20140330.txt
161
B
-rw-r--r--
2014-03-30 15:20
log_20140331.txt
230
B
-rw-r--r--
2014-03-31 16:10
log_20140401.txt
238
B
-rw-r--r--
2014-04-01 14:23
log_20140407.txt
160
B
-rw-r--r--
2014-04-07 07:27
log_20140411.txt
160
B
-rw-r--r--
2014-04-11 07:09
log_20140414.txt
403
B
-rw-r--r--
2014-04-14 13:50
log_20140415.txt
161
B
-rw-r--r--
2014-04-15 11:40
log_20140416.txt
160
B
-rw-r--r--
2014-04-16 07:47
log_20140422.txt
160
B
-rw-r--r--
2014-04-22 06:38
log_20140423.txt
160
B
-rw-r--r--
2014-04-23 07:14
log_20140424.txt
160
B
-rw-r--r--
2014-04-24 06:45
log_20140425.txt
151
B
-rw-r--r--
2014-04-25 06:03
log_20140429.txt
151
B
-rw-r--r--
2014-04-29 07:16
log_20140430.txt
151
B
-rw-r--r--
2014-04-30 07:44
log_20140505.txt
151
B
-rw-r--r--
2014-05-05 08:34
log_20140506.txt
161
B
-rw-r--r--
2014-05-06 08:43
log_20140508.txt
214
B
-rw-r--r--
2014-05-08 08:20
log_20140509.txt
161
B
-rw-r--r--
2014-05-09 10:47
log_20140512.txt
160
B
-rw-r--r--
2014-05-12 10:10
log_20140513.txt
248
B
-rw-r--r--
2014-05-13 10:11
log_20140514.txt
317
B
-rw-r--r--
2014-05-14 13:07
log_20140515.txt
341
B
-rw-r--r--
2014-05-15 12:56
log_20140516.txt
336
B
-rw-r--r--
2014-05-16 08:43
log_20140519.txt
230
B
-rw-r--r--
2014-05-19 08:00
log_20140521.txt
151
B
-rw-r--r--
2014-05-21 07:46
log_20140522.txt
322
B
-rw-r--r--
2014-05-22 07:15
log_20140526.txt
229
B
-rw-r--r--
2014-05-26 08:48
log_20140528.txt
161
B
-rw-r--r--
2014-05-28 06:59
log_20140603.txt
160
B
-rw-r--r--
2014-06-03 08:01
log_20140604.txt
252
B
-rw-r--r--
2014-06-04 10:23
log_20140605.txt
144
B
-rw-r--r--
2014-06-05 11:47
log_20140606.txt
250
B
-rw-r--r--
2014-06-06 18:41
log_20140609.txt
444
B
-rw-r--r--
2014-06-09 12:39
log_20140610.txt
161
B
-rw-r--r--
2014-06-10 08:02
log_20140611.txt
250
B
-rw-r--r--
2014-06-11 15:06
log_20140612.txt
161
B
-rw-r--r--
2014-06-12 06:29
log_20140613.txt
161
B
-rw-r--r--
2014-06-13 07:50
log_20140617.txt
250
B
-rw-r--r--
2014-06-17 10:41
log_20140618.txt
250
B
-rw-r--r--
2014-06-18 13:14
log_20140619.txt
142
B
-rw-r--r--
2014-06-19 13:47
log_20140623.txt
248
B
-rw-r--r--
2014-06-23 13:13
log_20140624.txt
161
B
-rw-r--r--
2014-06-24 07:51
log_20140625.txt
161
B
-rw-r--r--
2014-06-25 08:19
log_20140626.txt
151
B
-rw-r--r--
2014-06-26 13:21
log_20140630.txt
161
B
-rw-r--r--
2014-06-30 13:34
log_20140704.txt
145
B
-rw-r--r--
2014-07-04 08:14
log_20140707.txt
232
B
-rw-r--r--
2014-07-07 08:25
log_20140709.txt
161
B
-rw-r--r--
2014-07-09 07:22
log_20140710.txt
250
B
-rw-r--r--
2014-07-10 12:04
log_20140711.txt
161
B
-rw-r--r--
2014-07-11 07:03
log_20140714.txt
160
B
-rw-r--r--
2014-07-14 08:08
log_20140715.txt
161
B
-rw-r--r--
2014-07-15 14:05
log_20140717.txt
161
B
-rw-r--r--
2014-07-17 08:46
log_20140718.txt
161
B
-rw-r--r--
2014-07-18 08:22
log_20140721.txt
584
B
-rw-r--r--
2014-07-21 20:02
log_20140722.txt
288
B
-rw-r--r--
2014-07-22 11:47
log_20140723.txt
231
B
-rw-r--r--
2014-07-23 08:46
log_20140725.txt
161
B
-rw-r--r--
2014-07-25 06:26
log_20140728.txt
161
B
-rw-r--r--
2014-07-28 07:22
log_20140729.txt
144
B
-rw-r--r--
2014-07-29 06:53
log_20140730.txt
530
B
-rw-r--r--
2014-07-30 13:18
log_20140731.txt
240
B
-rw-r--r--
2014-07-31 13:45
log_20140801.txt
160
B
-rw-r--r--
2014-08-01 06:33
log_20140806.txt
250
B
-rw-r--r--
2014-08-06 14:05
log_20140807.txt
231
B
-rw-r--r--
2014-08-07 09:00
log_20140808.txt
161
B
-rw-r--r--
2014-08-08 06:18
log_20140811.txt
161
B
-rw-r--r--
2014-08-11 07:35
log_20140812.txt
161
B
-rw-r--r--
2014-08-12 07:53
log_20140813.txt
230
B
-rw-r--r--
2014-08-13 14:22
log_20140814.txt
320
B
-rw-r--r--
2014-08-14 11:51
log_20140815.txt
320
B
-rw-r--r--
2014-08-15 07:11
log_20140818.txt
388
B
-rw-r--r--
2014-08-18 12:20
log_20140819.txt
250
B
-rw-r--r--
2014-08-19 07:46
log_20140820.txt
305
B
-rw-r--r--
2014-08-20 09:32
log_20140821.txt
161
B
-rw-r--r--
2014-08-21 08:04
log_20140822.txt
240
B
-rw-r--r--
2014-08-22 13:09
log_20140825.txt
250
B
-rw-r--r--
2014-08-25 12:49
log_20140826.txt
242
B
-rw-r--r--
2014-08-26 13:23
log_20140828.txt
160
B
-rw-r--r--
2014-08-28 06:43
log_20140829.txt
161
B
-rw-r--r--
2014-08-29 13:03
log_20140902.txt
161
B
-rw-r--r--
2014-09-02 06:46
log_20140904.txt
162
B
-rw-r--r--
2014-09-04 08:04
log_20140905.txt
142
B
-rw-r--r--
2014-09-05 10:03
log_20140908.txt
142
B
-rw-r--r--
2014-09-08 07:54
log_20140909.txt
161
B
-rw-r--r--
2014-09-09 06:43
log_20140910.txt
161
B
-rw-r--r--
2014-09-10 09:40
log_20140911.txt
162
B
-rw-r--r--
2014-09-11 13:53
log_20140915.txt
289
B
-rw-r--r--
2014-09-15 07:56
log_20140917.txt
161
B
-rw-r--r--
2014-09-17 06:57
log_20140918.txt
161
B
-rw-r--r--
2014-09-18 07:28
log_20140919.txt
161
B
-rw-r--r--
2014-09-19 07:34
log_20140922.txt
212
B
-rw-r--r--
2014-09-22 06:51
log_20140929.txt
231
B
-rw-r--r--
2014-09-29 11:20
log_20141002.txt
443
B
-rw-r--r--
2014-10-02 08:34
log_20141006.txt
161
B
-rw-r--r--
2014-10-06 08:56
log_20141007.txt
161
B
-rw-r--r--
2014-10-07 15:25
log_20141008.txt
240
B
-rw-r--r--
2014-10-08 13:16
log_20141009.txt
161
B
-rw-r--r--
2014-10-09 15:33
log_20141010.txt
144
B
-rw-r--r--
2014-10-10 09:25
log_20141013.txt
323
B
-rw-r--r--
2014-10-13 15:42
log_20141014.txt
231
B
-rw-r--r--
2014-10-14 11:57
log_20141015.txt
162
B
-rw-r--r--
2014-10-15 06:53
log_20141016.txt
162
B
-rw-r--r--
2014-10-16 09:38
log_20141020.txt
252
B
-rw-r--r--
2014-10-20 11:24
log_20141022.txt
233
B
-rw-r--r--
2014-10-22 09:30
log_20141023.txt
162
B
-rw-r--r--
2014-10-23 09:35
log_20141024.txt
162
B
-rw-r--r--
2014-10-24 08:08
log_20141027.txt
162
B
-rw-r--r--
2014-10-27 14:47
log_20141028.txt
252
B
-rw-r--r--
2014-10-28 15:44
log_20141029.txt
142
B
-rw-r--r--
2014-10-29 10:43
log_20141030.txt
162
B
-rw-r--r--
2014-10-30 05:51
log_20141031.txt
162
B
-rw-r--r--
2014-10-31 06:39
log_20141103.txt
212
B
-rw-r--r--
2014-11-03 09:39
log_20141105.txt
151
B
-rw-r--r--
2014-11-05 08:40
log_20141106.txt
151
B
-rw-r--r--
2014-11-06 07:21
log_20141107.txt
143
B
-rw-r--r--
2014-11-07 07:19
log_20141110.txt
151
B
-rw-r--r--
2014-11-10 09:08
log_20141112.txt
252
B
-rw-r--r--
2014-11-12 14:11
log_20141117.txt
161
B
-rw-r--r--
2014-11-17 12:05
log_20141119.txt
151
B
-rw-r--r--
2014-11-19 08:01
log_20141120.txt
151
B
-rw-r--r--
2014-11-20 04:59
log_20141121.txt
151
B
-rw-r--r--
2014-11-21 05:45
log_20141124.txt
151
B
-rw-r--r--
2014-11-24 07:13
log_20141126.txt
151
B
-rw-r--r--
2014-11-26 13:42
log_20141128.txt
151
B
-rw-r--r--
2014-11-28 06:43
log_20141202.txt
151
B
-rw-r--r--
2014-12-02 14:25
log_20141204.txt
161
B
-rw-r--r--
2014-12-04 07:01
log_20141208.txt
151
B
-rw-r--r--
2014-12-08 06:16
log_20141209.txt
151
B
-rw-r--r--
2014-12-09 06:18
log_20141214.txt
151
B
-rw-r--r--
2014-12-14 03:39
log_20150105.txt
151
B
-rw-r--r--
2015-01-05 07:43
log_20150109.txt
151
B
-rw-r--r--
2015-01-09 09:37
log_20150112.txt
151
B
-rw-r--r--
2015-01-12 08:31
log_20150113.txt
151
B
-rw-r--r--
2015-01-13 07:14
log_20150114.txt
240
B
-rw-r--r--
2015-01-14 13:17
log_20150115.txt
161
B
-rw-r--r--
2015-01-15 10:22
log_20150121.txt
144
B
-rw-r--r--
2015-01-21 08:13
log_20150122.txt
240
B
-rw-r--r--
2015-01-22 12:45
log_20150123.txt
240
B
-rw-r--r--
2015-01-23 10:44
log_20150126.txt
151
B
-rw-r--r--
2015-01-26 09:52
log_20150128.txt
248
B
-rw-r--r--
2015-01-28 12:07
log_20150129.txt
151
B
-rw-r--r--
2015-01-29 08:47
log_20150204.txt
151
B
-rw-r--r--
2015-02-04 08:13
log_20150205.txt
250
B
-rw-r--r--
2015-02-05 11:41
log_20150206.txt
151
B
-rw-r--r--
2015-02-06 14:35
log_20150209.txt
408
B
-rw-r--r--
2015-02-09 08:40
log_20150211.txt
240
B
-rw-r--r--
2015-02-11 15:38
log_20150212.txt
151
B
-rw-r--r--
2015-02-12 13:01
log_20150216.txt
230
B
-rw-r--r--
2015-02-16 12:58
log_20150217.txt
151
B
-rw-r--r--
2015-02-17 09:31
log_20150218.txt
151
B
-rw-r--r--
2015-02-18 09:19
log_20150219.txt
151
B
-rw-r--r--
2015-02-19 12:20
log_20150220.txt
151
B
-rw-r--r--
2015-02-20 15:08
log_20150221.txt
388
B
-rw-r--r--
2015-02-21 20:13
log_20150222.txt
230
B
-rw-r--r--
2015-02-22 02:56
log_20150223.txt
151
B
-rw-r--r--
2015-02-23 05:53
log_20150225.txt
151
B
-rw-r--r--
2015-02-25 11:45
log_20150226.txt
356
B
-rw-r--r--
2015-02-26 10:42
log_20150303.txt
145
B
-rw-r--r--
2015-03-03 15:06
log_20150304.txt
151
B
-rw-r--r--
2015-03-04 10:21
log_20150309.txt
151
B
-rw-r--r--
2015-03-09 06:50
log_20150311.txt
151
B
-rw-r--r--
2015-03-11 07:40
log_20150313.txt
151
B
-rw-r--r--
2015-03-13 06:45
log_20150316.txt
151
B
-rw-r--r--
2015-03-16 08:57
log_20150317.txt
151
B
-rw-r--r--
2015-03-17 08:07
log_20150318.txt
214
B
-rw-r--r--
2015-03-18 12:29
log_20150319.txt
222
B
-rw-r--r--
2015-03-19 09:00
log_20150324.txt
145
B
-rw-r--r--
2015-03-24 06:45
log_20150325.txt
303
B
-rw-r--r--
2015-03-25 12:05
log_20150326.txt
151
B
-rw-r--r--
2015-03-26 06:56
log_20150401.txt
150
B
-rw-r--r--
2015-04-01 09:37
log_20150409.txt
151
B
-rw-r--r--
2015-04-09 10:43
log_20150410.txt
162
B
-rw-r--r--
2015-04-10 08:30
log_20150414.txt
161
B
-rw-r--r--
2015-04-14 13:36
log_20150415.txt
163
B
-rw-r--r--
2015-04-15 06:53
log_20150417.txt
163
B
-rw-r--r--
2015-04-17 07:14
log_20150418.txt
163
B
-rw-r--r--
2015-04-18 10:26
log_20150420.txt
161
B
-rw-r--r--
2015-04-20 08:56
log_20150421.txt
341
B
-rw-r--r--
2015-04-21 14:17
log_20150422.txt
430
B
-rw-r--r--
2015-04-22 14:40
log_20150423.txt
161
B
-rw-r--r--
2015-04-23 08:30
log_20150424.txt
161
B
-rw-r--r--
2015-04-24 08:50
log_20150428.txt
161
B
-rw-r--r--
2015-04-28 10:04
log_20150429.txt
161
B
-rw-r--r--
2015-04-29 13:39
log_20150504.txt
435
B
-rw-r--r--
2015-05-04 16:27
log_20150505.txt
233
B
-rw-r--r--
2015-05-05 15:55
log_20150508.txt
151
B
-rw-r--r--
2015-05-08 10:17
log_20150511.txt
161
B
-rw-r--r--
2015-05-11 07:37
log_20150513.txt
161
B
-rw-r--r--
2015-05-13 12:37
log_20150514.txt
161
B
-rw-r--r--
2015-05-14 10:25
log_20150520.txt
161
B
-rw-r--r--
2015-05-20 07:46
log_20150525.txt
250
B
-rw-r--r--
2015-05-25 06:13
log_20150526.txt
161
B
-rw-r--r--
2015-05-26 09:51
log_20150527.txt
161
B
-rw-r--r--
2015-05-27 07:49
log_20150528.txt
161
B
-rw-r--r--
2015-05-28 14:01
log_20150529.txt
161
B
-rw-r--r--
2015-05-29 07:39
log_20150601.txt
161
B
-rw-r--r--
2015-06-01 06:53
log_20150623.txt
163
B
-rw-r--r--
2015-06-23 07:32
log_20150624.txt
163
B
-rw-r--r--
2015-06-24 07:56
log_20150629.txt
240
B
-rw-r--r--
2015-06-29 10:39
log_20150701.txt
151
B
-rw-r--r--
2015-07-01 08:55
log_20150703.txt
151
B
-rw-r--r--
2015-07-03 10:51
log_20150707.txt
314
B
-rw-r--r--
2015-07-07 17:18
log_20150708.txt
151
B
-rw-r--r--
2015-07-08 10:10
log_20150710.txt
151
B
-rw-r--r--
2015-07-10 09:05
log_20150713.txt
162
B
-rw-r--r--
2015-07-13 07:15
log_20150715.txt
161
B
-rw-r--r--
2015-07-15 11:58
log_20150716.txt
161
B
-rw-r--r--
2015-07-16 10:02
log_20150717.txt
141
B
-rw-r--r--
2015-07-17 07:49
log_20150728.txt
151
B
-rw-r--r--
2015-07-28 05:47
log_20150803.txt
161
B
-rw-r--r--
2015-08-03 07:46
log_20150804.txt
161
B
-rw-r--r--
2015-08-04 08:10
log_20150805.txt
161
B
-rw-r--r--
2015-08-05 06:56
log_20150813.txt
161
B
-rw-r--r--
2015-08-13 11:44
log_20150817.txt
143
B
-rw-r--r--
2015-08-17 12:07
log_20150821.txt
143
B
-rw-r--r--
2015-08-21 08:57
log_20150831.txt
167
B
-rw-r--r--
2015-08-31 06:08
log_20150901.txt
161
B
-rw-r--r--
2015-09-01 07:23
log_20150904.txt
161
B
-rw-r--r--
2015-09-04 06:18
log_20150915.txt
161
B
-rw-r--r--
2015-09-15 14:12
log_20150928.txt
161
B
-rw-r--r--
2015-09-28 07:06
log_20150929.txt
161
B
-rw-r--r--
2015-09-29 06:32
log_20151001.txt
161
B
-rw-r--r--
2015-10-01 12:30
log_20151007.txt
167
B
-rw-r--r--
2015-10-07 08:14
log_20151009.txt
161
B
-rw-r--r--
2015-10-09 10:27
log_20151015.txt
161
B
-rw-r--r--
2015-10-15 06:16
log_20151016.txt
161
B
-rw-r--r--
2015-10-16 06:25
log_20151019.txt
161
B
-rw-r--r--
2015-10-19 15:32
log_20151023.txt
161
B
-rw-r--r--
2015-10-23 11:25
log_20151027.txt
161
B
-rw-r--r--
2015-10-27 09:45
log_20151028.txt
161
B
-rw-r--r--
2015-10-28 05:35
log_20151029.txt
161
B
-rw-r--r--
2015-10-29 06:52
log_20151030.txt
161
B
-rw-r--r--
2015-10-30 05:58
log_20151102.txt
250
B
-rw-r--r--
2015-11-02 13:45
log_20151110.txt
161
B
-rw-r--r--
2015-11-10 15:00
log_20151113.txt
161
B
-rw-r--r--
2015-11-13 10:38
log_20151117.txt
167
B
-rw-r--r--
2015-11-17 18:11
log_20151122.txt
161
B
-rw-r--r--
2015-11-22 13:25
log_20151123.txt
161
B
-rw-r--r--
2015-11-23 14:36
log_20151124.txt
161
B
-rw-r--r--
2015-11-24 07:34
log_20151125.txt
161
B
-rw-r--r--
2015-11-25 07:14
log_20151127.txt
161
B
-rw-r--r--
2015-11-27 07:04
log_20151130.txt
161
B
-rw-r--r--
2015-11-30 08:38
log_20151207.txt
161
B
-rw-r--r--
2015-12-07 10:41
log_20160113.txt
161
B
-rw-r--r--
2016-01-13 08:19
log_20160118.txt
161
B
-rw-r--r--
2016-01-18 10:26
log_20160119.txt
163
B
-rw-r--r--
2016-01-19 09:54
log_20160120.txt
161
B
-rw-r--r--
2016-01-20 08:07
log_20160122.txt
161
B
-rw-r--r--
2016-01-22 06:07
log_20160125.txt
161
B
-rw-r--r--
2016-01-25 06:09
log_20160126.txt
161
B
-rw-r--r--
2016-01-26 06:07
log_20160205.txt
250
B
-rw-r--r--
2016-02-05 12:15
log_20160209.txt
161
B
-rw-r--r--
2016-02-09 09:09
log_20160215.txt
161
B
-rw-r--r--
2016-02-15 06:45
log_20160219.txt
161
B
-rw-r--r--
2016-02-19 07:20
log_20160222.txt
161
B
-rw-r--r--
2016-02-22 08:10
log_20160224.txt
161
B
-rw-r--r--
2016-02-24 06:00
log_20160225.txt
161
B
-rw-r--r--
2016-02-25 09:51
log_20160226.txt
161
B
-rw-r--r--
2016-02-26 06:56
log_20160227.txt
161
B
-rw-r--r--
2016-02-27 09:18
log_20160229.txt
160
B
-rw-r--r--
2016-02-29 08:36
log_20160303.txt
161
B
-rw-r--r--
2016-03-03 12:58
log_20160307.txt
250
B
-rw-r--r--
2016-03-07 13:53
log_20160308.txt
161
B
-rw-r--r--
2016-03-08 12:22
log_20160310.txt
161
B
-rw-r--r--
2016-03-10 06:40
log_20160316.txt
161
B
-rw-r--r--
2016-03-16 07:54
log_20160317.txt
161
B
-rw-r--r--
2016-03-17 11:05
log_20160322.txt
161
B
-rw-r--r--
2016-03-22 14:21
log_20160329.txt
161
B
-rw-r--r--
2016-03-29 09:29
log_20160401.txt
161
B
-rw-r--r--
2016-04-01 08:53
log_20160405.txt
161
B
-rw-r--r--
2016-04-05 05:45
log_20160406.txt
254
B
-rw-r--r--
2016-04-06 12:51
log_20160407.txt
163
B
-rw-r--r--
2016-04-07 08:24
log_20160408.txt
161
B
-rw-r--r--
2016-04-08 08:51
log_20160411.txt
161
B
-rw-r--r--
2016-04-11 08:35
log_20160415.txt
161
B
-rw-r--r--
2016-04-15 07:42
log_20160418.txt
161
B
-rw-r--r--
2016-04-18 05:47
log_20160420.txt
161
B
-rw-r--r--
2016-04-20 06:19
log_20160422.txt
161
B
-rw-r--r--
2016-04-22 07:23
log_20160503.txt
161
B
-rw-r--r--
2016-05-03 11:58
log_20160506.txt
161
B
-rw-r--r--
2016-05-06 08:02
log_20160509.txt
161
B
-rw-r--r--
2016-05-09 11:22
log_20160511.txt
161
B
-rw-r--r--
2016-05-11 08:35
log_20160517.txt
161
B
-rw-r--r--
2016-05-17 06:11
log_20160518.txt
161
B
-rw-r--r--
2016-05-18 09:00
log_20160519.txt
161
B
-rw-r--r--
2016-05-19 10:55
log_20160608.txt
161
B
-rw-r--r--
2016-06-08 10:13
log_20160620.txt
161
B
-rw-r--r--
2016-06-20 09:05
log_20160621.txt
161
B
-rw-r--r--
2016-06-21 09:35
log_20160627.txt
161
B
-rw-r--r--
2016-06-27 09:31
log_20160630.txt
162
B
-rw-r--r--
2016-06-30 16:13
log_20160705.txt
161
B
-rw-r--r--
2016-07-05 05:51
log_20160707.txt
161
B
-rw-r--r--
2016-07-07 05:53
log_20160810.txt
161
B
-rw-r--r--
2016-08-10 10:40
log_20160812.txt
161
B
-rw-r--r--
2016-08-12 10:48
log_20160816.txt
161
B
-rw-r--r--
2016-08-16 08:50
log_20160826.txt
214
B
-rw-r--r--
2016-08-26 09:46
log_20160915.txt
250
B
-rw-r--r--
2016-09-15 12:16
log_20160926.txt
161
B
-rw-r--r--
2016-09-26 09:41
log_20161107.txt
250
B
-rw-r--r--
2016-11-07 10:44
log_20170124.txt
151
B
-rw-r--r--
2017-01-24 09:04
log_20170126.txt
151
B
-rw-r--r--
2017-01-26 13:03
log_20170131.txt
161
B
-rw-r--r--
2017-01-31 19:41
log_20170206.txt
163
B
-rw-r--r--
2017-02-06 10:42
log_20170208.txt
161
B
-rw-r--r--
2017-02-08 06:40
log_20170213.txt
161
B
-rw-r--r--
2017-02-13 07:24
log_20170214.txt
250
B
-rw-r--r--
2017-02-14 11:11
log_20170216.txt
161
B
-rw-r--r--
2017-02-16 15:15
log_20170220.txt
161
B
-rw-r--r--
2017-02-20 06:00
log_20170222.txt
161
B
-rw-r--r--
2017-02-22 06:12
log_20170223.txt
162
B
-rw-r--r--
2017-02-23 07:44
log_20170224.txt
161
B
-rw-r--r--
2017-02-24 07:34
log_20170311.txt
144
B
-rw-r--r--
2017-03-11 14:18
log_20170314.txt
143
B
-rw-r--r--
2017-03-14 22:26
log_20170319.txt
144
B
-rw-r--r--
2017-03-19 23:37
log_20170324.txt
144
B
-rw-r--r--
2017-03-24 22:45
log_20170327.txt
161
B
-rw-r--r--
2017-03-27 11:46
log_20170710.txt
532
B
-rw-r--r--
2017-07-10 13:03
log_20170724.txt
240
B
-rw-r--r--
2017-07-24 09:42
log_20170731.txt
161
B
-rw-r--r--
2017-07-31 11:58
log_20170802.txt
161
B
-rw-r--r--
2017-08-02 12:00
log_20170803.txt
162
B
-rw-r--r--
2017-08-03 16:31
log_20170804.txt
161
B
-rw-r--r--
2017-08-04 13:27
log_20170811.txt
161
B
-rw-r--r--
2017-08-11 07:18
log_20170812.txt
159
B
-rw-r--r--
2017-08-12 20:43
log_20170822.txt
161
B
-rw-r--r--
2017-08-22 16:48
log_20170824.txt
161
B
-rw-r--r--
2017-08-24 10:19
log_20170828.txt
143
B
-rw-r--r--
2017-08-28 14:36
log_20170905.txt
161
B
-rw-r--r--
2017-09-05 11:28
log_20170906.txt
161
B
-rw-r--r--
2017-09-06 09:18
log_20170908.txt
161
B
-rw-r--r--
2017-09-08 14:20
log_20170920.txt
162
B
-rw-r--r--
2017-09-20 07:59
log_20170921.txt
161
B
-rw-r--r--
2017-09-21 12:03
log_20170927.txt
162
B
-rw-r--r--
2017-09-27 08:41
log_20170928.txt
161
B
-rw-r--r--
2017-09-28 08:06
log_20171002.txt
161
B
-rw-r--r--
2017-10-02 10:56
log_20171010.txt
161
B
-rw-r--r--
2017-10-10 07:01
log_20171015.txt
144
B
-rw-r--r--
2017-10-15 13:37
log_20171122.txt
161
B
-rw-r--r--
2017-11-22 01:28
log_20171127.txt
248
B
-rw-r--r--
2017-11-27 17:48
log_20171201.txt
162
B
-rw-r--r--
2017-12-01 11:40
log_20171206.txt
163
B
-rw-r--r--
2017-12-06 15:32
log_20180110.txt
162
B
-rw-r--r--
2018-01-10 04:31
log_20180119.txt
162
B
-rw-r--r--
2018-01-19 10:00
log_20180122.txt
162
B
-rw-r--r--
2018-01-22 06:30
log_20180123.txt
252
B
-rw-r--r--
2018-01-23 20:49
log_20180213.txt
143
B
-rw-r--r--
2018-02-13 07:19
log_20180216.txt
151
B
-rw-r--r--
2018-02-16 14:32
log_20180219.txt
143
B
-rw-r--r--
2018-02-19 17:38
log_20180223.txt
161
B
-rw-r--r--
2018-02-23 09:54
log_20180226.txt
161
B
-rw-r--r--
2018-02-26 08:15
log_20180301.txt
248
B
-rw-r--r--
2018-03-01 10:05
log_20180307.txt
163
B
-rw-r--r--
2018-03-07 19:47
log_20180308.txt
162
B
-rw-r--r--
2018-03-08 06:21
log_20180312.txt
252
B
-rw-r--r--
2018-03-12 11:44
log_20180330.txt
162
B
-rw-r--r--
2018-03-30 22:52
log_20180404.txt
162
B
-rw-r--r--
2018-04-04 16:43
log_20180406.txt
161
B
-rw-r--r--
2018-04-06 07:46
log_20180419.txt
162
B
-rw-r--r--
2018-04-19 05:41
log_20180423.txt
163
B
-rw-r--r--
2018-04-23 12:40
log_20180507.txt
162
B
-rw-r--r--
2018-05-07 01:33
log_20180516.txt
163
B
-rw-r--r--
2018-05-16 08:55
log_20180610.txt
162
B
-rw-r--r--
2018-06-10 20:28
log_20180613.txt
161
B
-rw-r--r--
2018-06-13 07:19
log_20180726.txt
162
B
-rw-r--r--
2018-07-26 13:16
log_20180812.txt
161
B
-rw-r--r--
2018-08-12 15:41
log_20180824.txt
162
B
-rw-r--r--
2018-08-24 09:56
log_20180827.txt
162
B
-rw-r--r--
2018-08-27 06:25
log_20181026.txt
162
B
-rw-r--r--
2018-10-26 07:31
log_20181029.txt
162
B
-rw-r--r--
2018-10-29 06:52
log_20181031.txt
252
B
-rw-r--r--
2018-10-31 08:51
log_20181119.txt
161
B
-rw-r--r--
2018-11-19 05:55
log_20181120.txt
143
B
-rw-r--r--
2018-11-20 14:41
log_20181121.txt
234
B
-rw-r--r--
2018-11-21 05:45
log_20181122.txt
146
B
-rw-r--r--
2018-11-22 07:48
log_20181123.txt
160
B
-rw-r--r--
2018-11-23 04:13
log_20181126.txt
163
B
-rw-r--r--
2018-11-26 19:15
log_20181127.txt
162
B
-rw-r--r--
2018-11-27 09:17
log_20181128.txt
163
B
-rw-r--r--
2018-11-28 05:08
log_20181203.txt
161
B
-rw-r--r--
2018-12-03 08:56
log_20181205.txt
250
B
-rw-r--r--
2018-12-05 20:56
log_20181207.txt
162
B
-rw-r--r--
2018-12-07 11:34
log_20181210.txt
144
B
-rw-r--r--
2018-12-10 04:19
log_20181211.txt
161
B
-rw-r--r--
2018-12-11 03:28
log_20181212.txt
250
B
-rw-r--r--
2018-12-12 14:48
log_20181213.txt
161
B
-rw-r--r--
2018-12-13 06:05
log_20181222.txt
151
B
-rw-r--r--
2018-12-22 16:33
log_20190104.txt
163
B
-rw-r--r--
2019-01-04 06:54
log_20190110.txt
253
B
-rw-r--r--
2019-01-10 21:48
log_20190111.txt
151
B
-rw-r--r--
2019-01-11 15:20
log_20190112.txt
161
B
-rw-r--r--
2019-01-12 07:44
log_20190114.txt
160
B
-rw-r--r--
2019-01-14 04:22
log_20190118.txt
163
B
-rw-r--r--
2019-01-18 08:19
log_20190122.txt
161
B
-rw-r--r--
2019-01-22 10:44
log_20190123.txt
158
B
-rw-r--r--
2019-01-23 14:38
log_20190125.txt
161
B
-rw-r--r--
2019-01-25 07:27
log_20190131.txt
162
B
-rw-r--r--
2019-01-31 14:33
log_20190207.txt
162
B
-rw-r--r--
2019-02-07 13:58
log_20190211.txt
251
B
-rw-r--r--
2019-02-11 07:38
log_20190303.txt
143
B
-rw-r--r--
2019-03-03 16:18
log_20190319.txt
144
B
-rw-r--r--
2019-03-19 06:44
log_20190429.txt
142
B
-rw-r--r--
2019-04-29 09:34
log_20190430.txt
239
B
-rw-r--r--
2019-04-30 17:28
log_20190501.txt
161
B
-rw-r--r--
2019-05-01 01:24
log_20190509.txt
242
B
-rw-r--r--
2019-05-09 08:27
log_20190510.txt
161
B
-rw-r--r--
2019-05-10 12:15
log_20190513.txt
240
B
-rw-r--r--
2019-05-13 15:55
log_20190630.txt
161
B
-rw-r--r--
2019-06-30 18:37
log_20190704.txt
160
B
-rw-r--r--
2019-07-04 21:06
log_20190731.txt
160
B
-rw-r--r--
2019-07-31 20:23
log_20190813.txt
162
B
-rw-r--r--
2019-08-13 12:32
log_20190815.txt
162
B
-rw-r--r--
2019-08-15 20:14
log_20190820.txt
162
B
-rw-r--r--
2019-08-20 09:01
log_20190826.txt
160
B
-rw-r--r--
2019-08-26 08:34
log_20190829.txt
161
B
-rw-r--r--
2019-08-29 12:09
log_20191003.txt
160
B
-rw-r--r--
2019-10-03 14:28
log_20200330.txt
153
B
-rw-r--r--
2020-03-30 11:17
log_20200403.txt
153
B
-rw-r--r--
2020-04-03 12:02
log_20200409.txt
153
B
-rw-r--r--
2020-04-09 07:19
log_20200424.txt
153
B
-rw-r--r--
2020-04-24 10:48
log_20200507.txt
145
B
-rw-r--r--
2020-05-07 06:58
log_20200511.txt
153
B
-rw-r--r--
2020-05-11 10:50
log_20200512.txt
145
B
-rw-r--r--
2020-05-12 06:54
log_20200514.txt
244
B
-rw-r--r--
2020-05-14 09:03
log_20200518.txt
234
B
-rw-r--r--
2020-05-18 08:30
log_20200519.txt
153
B
-rw-r--r--
2020-05-19 15:02
log_20200520.txt
163
B
-rw-r--r--
2020-05-20 07:34
log_20200528.txt
153
B
-rw-r--r--
2020-05-28 06:56
log_20200723.txt
153
B
-rw-r--r--
2020-07-23 16:20
login.php
11.92
KB
-rw-r--r--
2014-06-09 07:26
logout.php
5.07
KB
-rw-r--r--
2014-02-25 06:26
phpfn7.php
116.81
KB
-rw-r--r--
2014-06-09 07:27
readmessage.php
3.09
KB
-rw-r--r--
2014-07-07 06:59
sendlogins.php
1.6
KB
-rw-r--r--
2013-10-30 07:01
sendmessage.php
5.68
KB
-rw-r--r--
2014-05-26 09:34
userfn7.php
319
B
-rw-r--r--
2014-02-25 06:26
Save
Rename
<?php session_start(); // Initialize Session data ob_start(); // Turn on output buffering ?> <?php include "ewcfg7.php" ?> <?php include "ewmysql7.php" ?> <?php include "phpfn7.php" ?> <?php include "CCMStudentsinfo.php" ?> <?php include "CCMUsersinfo.php" ?> <?php include "userfn7.php" ?> <?php header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); // HTTP/1.0 ?> <?php // Create page object $CCMStudents_edit = new cCCMStudents_edit(); $Page =& $CCMStudents_edit; // Page init $CCMStudents_edit->Page_Init(); // Page main $CCMStudents_edit->Page_Main(); ?> <?php include "header.php" ?> <script type="text/javascript"> <!-- // Create page object var CCMStudents_edit = new ew_Page("CCMStudents_edit"); // page properties CCMStudents_edit.PageID = "edit"; // page ID CCMStudents_edit.FormID = "fCCMStudentsedit"; // form ID var EW_PAGE_ID = CCMStudents_edit.PageID; // for backward compatibility // extend page with ValidateForm function CCMStudents_edit.ValidateForm = function(fobj) { ew_PostAutoSuggest(fobj); if (!this.ValidateRequired) return true; // ignore validation if (fobj.a_confirm && fobj.a_confirm.value == "F") return true; var i, elm, aelm, infix; var rowcnt = (fobj.key_count) ? Number(fobj.key_count.value) : 1; for (i=0; i<rowcnt; i++) { infix = (fobj.key_count) ? String(i+1) : ""; elm = fobj.elements["x" + infix + "_FirstName"]; if (elm && !ew_HasValue(elm)) return ew_OnError(this, elm, ewLanguage.Phrase("EnterRequiredField") + " - <?php echo ew_JsEncode2($CCMStudents->FirstName->FldCaption()) ?>"); elm = fobj.elements["x" + infix + "_Surname"]; if (elm && !ew_HasValue(elm)) return ew_OnError(this, elm, ewLanguage.Phrase("EnterRequiredField") + " - <?php echo ew_JsEncode2($CCMStudents->Surname->FldCaption()) ?>"); elm = fobj.elements["x" + infix + "_DateofBirth"]; if (elm && !ew_CheckDate(elm.value)) return ew_OnError(this, elm, "<?php echo ew_JsEncode2($CCMStudents->DateofBirth->FldErrMsg()) ?>"); elm = fobj.elements["x" + infix + "_DisabilityCertificate"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_Payslip"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_BankAccountProof"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_IDFile"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_CVFile"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_QualCertificate1"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_QualCertificate2"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_QualCertificate3"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_MentorUndertaking"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_CandUUndertaking"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_CompanyCandidatePolicy"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_ResidenceProof"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_SignedAppForm"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); elm = fobj.elements["x" + infix + "_Photograph"]; if (elm && !ew_CheckFileType(elm.value)) return ew_OnError(this, elm, ewLanguage.Phrase("WrongFileType")); // Call Form Custom Validate event if (!this.Form_CustomValidate(fobj)) return false; } return true; } // extend page with Form_CustomValidate function CCMStudents_edit.Form_CustomValidate = function(fobj) { // DO NOT CHANGE THIS LINE! // Your custom validation code here, return false if invalid. return true; } <?php if (EW_CLIENT_VALIDATE) { ?> CCMStudents_edit.ValidateRequired = true; // uses JavaScript validation <?php } else { ?> CCMStudents_edit.ValidateRequired = false; // no JavaScript validation <?php } ?> //--> </script> <script type="text/javascript"> <!-- var ew_DHTMLEditors = []; //--> </script> <script language="JavaScript" type="text/javascript"> <!-- // Write your client script here, no need to add script tags. // To include another .js script, use: // ew_ClientScriptInclude("my_javascript.js"); //--> </script> <p><span class="phpmaker"><?php echo $Language->Phrase("Edit") ?> <?php echo $Language->Phrase("TblTypeTABLE") ?><?php echo $CCMStudents->TableCaption() ?><br><br> <a href="<?php echo $CCMStudents->getReturnUrl() ?>"><?php echo $Language->Phrase("GoBack") ?></a></span></p> <?php if (EW_DEBUG_ENABLED) echo ew_DebugMsg(); $CCMStudents_edit->ShowMessage(); ?> <form name="fCCMStudentsedit" id="fCCMStudentsedit" action="<?php echo ew_CurrentPage() ?>" method="post" enctype="multipart/form-data" onsubmit="return CCMStudents_edit.ValidateForm(this);"> <p> <input type="hidden" name="a_table" id="a_table" value="CCMStudents"> <input type="hidden" name="a_edit" id="a_edit" value="U"> <table cellspacing="0" class="ewGrid"><tr><td class="ewGridContent"> <div class="ewGridMiddlePanel"> <table cellspacing="0" class="ewTable"> <input type="hidden" name="x_CCMStudentID" id="x_CCMStudentID" value="<?php echo ew_HtmlEncode($CCMStudents->CCMStudentID->CurrentValue) ?>"> <?php if ($CCMStudents->SelectionCategory->Visible) { // SelectionCategory ?> <tr<?php echo $CCMStudents->SelectionCategory->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->SelectionCategory->FldCaption() ?></td> <td<?php echo $CCMStudents->SelectionCategory->CellAttributes() ?>><span id="el_SelectionCategory"> <input type="text" name="x_SelectionCategory" id="x_SelectionCategory" title="<?php echo $CCMStudents->SelectionCategory->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SelectionCategory->EditValue ?>"<?php echo $CCMStudents->SelectionCategory->EditAttributes() ?>> </span><?php echo $CCMStudents->SelectionCategory->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Title->Visible) { // Title ?> <tr<?php echo $CCMStudents->Title->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Title->FldCaption() ?></td> <td<?php echo $CCMStudents->Title->CellAttributes() ?>><span id="el_Title"> <input type="text" name="x_Title" id="x_Title" title="<?php echo $CCMStudents->Title->FldTitle() ?>" size="30" maxlength="20" value="<?php echo $CCMStudents->Title->EditValue ?>"<?php echo $CCMStudents->Title->EditAttributes() ?>> </span><?php echo $CCMStudents->Title->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Initials->Visible) { // Initials ?> <tr<?php echo $CCMStudents->Initials->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Initials->FldCaption() ?></td> <td<?php echo $CCMStudents->Initials->CellAttributes() ?>><span id="el_Initials"> <input type="text" name="x_Initials" id="x_Initials" title="<?php echo $CCMStudents->Initials->FldTitle() ?>" size="30" maxlength="50" value="<?php echo $CCMStudents->Initials->EditValue ?>"<?php echo $CCMStudents->Initials->EditAttributes() ?>> </span><?php echo $CCMStudents->Initials->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->FirstName->Visible) { // FirstName ?> <tr<?php echo $CCMStudents->FirstName->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->FirstName->FldCaption() ?><?php echo $Language->Phrase("FieldRequiredIndicator") ?></td> <td<?php echo $CCMStudents->FirstName->CellAttributes() ?>><span id="el_FirstName"> <input type="text" name="x_FirstName" id="x_FirstName" title="<?php echo $CCMStudents->FirstName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->FirstName->EditValue ?>"<?php echo $CCMStudents->FirstName->EditAttributes() ?>> </span><?php echo $CCMStudents->FirstName->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Surname->Visible) { // Surname ?> <tr<?php echo $CCMStudents->Surname->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Surname->FldCaption() ?><?php echo $Language->Phrase("FieldRequiredIndicator") ?></td> <td<?php echo $CCMStudents->Surname->CellAttributes() ?>><span id="el_Surname"> <input type="text" name="x_Surname" id="x_Surname" title="<?php echo $CCMStudents->Surname->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Surname->EditValue ?>"<?php echo $CCMStudents->Surname->EditAttributes() ?>> </span><?php echo $CCMStudents->Surname->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->KnownAs->Visible) { // KnownAs ?> <tr<?php echo $CCMStudents->KnownAs->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->KnownAs->FldCaption() ?></td> <td<?php echo $CCMStudents->KnownAs->CellAttributes() ?>><span id="el_KnownAs"> <input type="text" name="x_KnownAs" id="x_KnownAs" title="<?php echo $CCMStudents->KnownAs->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->KnownAs->EditValue ?>"<?php echo $CCMStudents->KnownAs->EditAttributes() ?>> </span><?php echo $CCMStudents->KnownAs->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->IDNumber->Visible) { // IDNumber ?> <tr<?php echo $CCMStudents->IDNumber->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->IDNumber->FldCaption() ?></td> <td<?php echo $CCMStudents->IDNumber->CellAttributes() ?>><span id="el_IDNumber"> <input type="text" name="x_IDNumber" id="x_IDNumber" title="<?php echo $CCMStudents->IDNumber->FldTitle() ?>" size="30" maxlength="50" value="<?php echo $CCMStudents->IDNumber->EditValue ?>"<?php echo $CCMStudents->IDNumber->EditAttributes() ?>> </span><?php echo $CCMStudents->IDNumber->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Telephone->Visible) { // Telephone ?> <tr<?php echo $CCMStudents->Telephone->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Telephone->FldCaption() ?></td> <td<?php echo $CCMStudents->Telephone->CellAttributes() ?>><span id="el_Telephone"> <input type="text" name="x_Telephone" id="x_Telephone" title="<?php echo $CCMStudents->Telephone->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Telephone->EditValue ?>"<?php echo $CCMStudents->Telephone->EditAttributes() ?>> </span><?php echo $CCMStudents->Telephone->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Cellphone->Visible) { // Cellphone ?> <tr<?php echo $CCMStudents->Cellphone->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Cellphone->FldCaption() ?></td> <td<?php echo $CCMStudents->Cellphone->CellAttributes() ?>><span id="el_Cellphone"> <input type="text" name="x_Cellphone" id="x_Cellphone" title="<?php echo $CCMStudents->Cellphone->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Cellphone->EditValue ?>"<?php echo $CCMStudents->Cellphone->EditAttributes() ?>> </span><?php echo $CCMStudents->Cellphone->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->EmailAddress->Visible) { // EmailAddress ?> <tr<?php echo $CCMStudents->EmailAddress->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->EmailAddress->FldCaption() ?></td> <td<?php echo $CCMStudents->EmailAddress->CellAttributes() ?>><span id="el_EmailAddress"> <input type="text" name="x_EmailAddress" id="x_EmailAddress" title="<?php echo $CCMStudents->EmailAddress->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->EmailAddress->EditValue ?>"<?php echo $CCMStudents->EmailAddress->EditAttributes() ?>> </span><?php echo $CCMStudents->EmailAddress->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->WorkAddress->Visible) { // WorkAddress ?> <tr<?php echo $CCMStudents->WorkAddress->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->WorkAddress->FldCaption() ?></td> <td<?php echo $CCMStudents->WorkAddress->CellAttributes() ?>><span id="el_WorkAddress"> <textarea name="x_WorkAddress" id="x_WorkAddress" title="<?php echo $CCMStudents->WorkAddress->FldTitle() ?>" cols="35" rows="4"<?php echo $CCMStudents->WorkAddress->EditAttributes() ?>><?php echo $CCMStudents->WorkAddress->EditValue ?></textarea> </span><?php echo $CCMStudents->WorkAddress->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->PostalAddress->Visible) { // PostalAddress ?> <tr<?php echo $CCMStudents->PostalAddress->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->PostalAddress->FldCaption() ?></td> <td<?php echo $CCMStudents->PostalAddress->CellAttributes() ?>><span id="el_PostalAddress"> <textarea name="x_PostalAddress" id="x_PostalAddress" title="<?php echo $CCMStudents->PostalAddress->FldTitle() ?>" cols="35" rows="4"<?php echo $CCMStudents->PostalAddress->EditAttributes() ?>><?php echo $CCMStudents->PostalAddress->EditValue ?></textarea> </span><?php echo $CCMStudents->PostalAddress->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Department->Visible) { // Department ?> <tr<?php echo $CCMStudents->Department->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Department->FldCaption() ?></td> <td<?php echo $CCMStudents->Department->CellAttributes() ?>><span id="el_Department"> <input type="text" name="x_Department" id="x_Department" title="<?php echo $CCMStudents->Department->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Department->EditValue ?>"<?php echo $CCMStudents->Department->EditAttributes() ?>> </span><?php echo $CCMStudents->Department->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Organisation->Visible) { // Organisation ?> <tr<?php echo $CCMStudents->Organisation->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Organisation->FldCaption() ?></td> <td<?php echo $CCMStudents->Organisation->CellAttributes() ?>><span id="el_Organisation"> <input type="text" name="x_Organisation" id="x_Organisation" title="<?php echo $CCMStudents->Organisation->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Organisation->EditValue ?>"<?php echo $CCMStudents->Organisation->EditAttributes() ?>> </span><?php echo $CCMStudents->Organisation->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->VATNo->Visible) { // VATNo ?> <tr<?php echo $CCMStudents->VATNo->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->VATNo->FldCaption() ?></td> <td<?php echo $CCMStudents->VATNo->CellAttributes() ?>><span id="el_VATNo"> <input type="text" name="x_VATNo" id="x_VATNo" title="<?php echo $CCMStudents->VATNo->FldTitle() ?>" size="30" maxlength="50" value="<?php echo $CCMStudents->VATNo->EditValue ?>"<?php echo $CCMStudents->VATNo->EditAttributes() ?>> </span><?php echo $CCMStudents->VATNo->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->JobTitle->Visible) { // JobTitle ?> <tr<?php echo $CCMStudents->JobTitle->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->JobTitle->FldCaption() ?></td> <td<?php echo $CCMStudents->JobTitle->CellAttributes() ?>><span id="el_JobTitle"> <input type="text" name="x_JobTitle" id="x_JobTitle" title="<?php echo $CCMStudents->JobTitle->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->JobTitle->EditValue ?>"<?php echo $CCMStudents->JobTitle->EditAttributes() ?>> </span><?php echo $CCMStudents->JobTitle->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->DateofBirth->Visible) { // DateofBirth ?> <tr<?php echo $CCMStudents->DateofBirth->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->DateofBirth->FldCaption() ?></td> <td<?php echo $CCMStudents->DateofBirth->CellAttributes() ?>><span id="el_DateofBirth"> <input type="text" name="x_DateofBirth" id="x_DateofBirth" title="<?php echo $CCMStudents->DateofBirth->FldTitle() ?>" value="<?php echo $CCMStudents->DateofBirth->EditValue ?>"<?php echo $CCMStudents->DateofBirth->EditAttributes() ?>> </span><?php echo $CCMStudents->DateofBirth->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->PlaceofBirth->Visible) { // PlaceofBirth ?> <tr<?php echo $CCMStudents->PlaceofBirth->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->PlaceofBirth->FldCaption() ?></td> <td<?php echo $CCMStudents->PlaceofBirth->CellAttributes() ?>><span id="el_PlaceofBirth"> <input type="text" name="x_PlaceofBirth" id="x_PlaceofBirth" title="<?php echo $CCMStudents->PlaceofBirth->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->PlaceofBirth->EditValue ?>"<?php echo $CCMStudents->PlaceofBirth->EditAttributes() ?>> </span><?php echo $CCMStudents->PlaceofBirth->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->CountryofBirth->Visible) { // CountryofBirth ?> <tr<?php echo $CCMStudents->CountryofBirth->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->CountryofBirth->FldCaption() ?></td> <td<?php echo $CCMStudents->CountryofBirth->CellAttributes() ?>><span id="el_CountryofBirth"> <input type="text" name="x_CountryofBirth" id="x_CountryofBirth" title="<?php echo $CCMStudents->CountryofBirth->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->CountryofBirth->EditValue ?>"<?php echo $CCMStudents->CountryofBirth->EditAttributes() ?>> </span><?php echo $CCMStudents->CountryofBirth->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Province->Visible) { // Province ?> <tr<?php echo $CCMStudents->Province->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Province->FldCaption() ?></td> <td<?php echo $CCMStudents->Province->CellAttributes() ?>><span id="el_Province"> <select id="x_Province" name="x_Province" title="<?php echo $CCMStudents->Province->FldTitle() ?>"<?php echo $CCMStudents->Province->EditAttributes() ?>> <?php if (is_array($CCMStudents->Province->EditValue)) { $arwrk = $CCMStudents->Province->EditValue; $rowswrk = count($arwrk); $emptywrk = TRUE; for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) { $selwrk = (strval($CCMStudents->Province->CurrentValue) == strval($arwrk[$rowcntwrk][0])) ? " selected=\"selected\"" : ""; if ($selwrk <> "") $emptywrk = FALSE; ?> <option value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?>> <?php echo $arwrk[$rowcntwrk][1] ?> </option> <?php } } ?> </select> </span><?php echo $CCMStudents->Province->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->MaleorFemale->Visible) { // MaleorFemale ?> <tr<?php echo $CCMStudents->MaleorFemale->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->MaleorFemale->FldCaption() ?></td> <td<?php echo $CCMStudents->MaleorFemale->CellAttributes() ?>><span id="el_MaleorFemale"> <input type="text" name="x_MaleorFemale" id="x_MaleorFemale" title="<?php echo $CCMStudents->MaleorFemale->FldTitle() ?>" size="30" maxlength="1" value="<?php echo $CCMStudents->MaleorFemale->EditValue ?>"<?php echo $CCMStudents->MaleorFemale->EditAttributes() ?>> </span><?php echo $CCMStudents->MaleorFemale->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->RaceGroup->Visible) { // RaceGroup ?> <tr<?php echo $CCMStudents->RaceGroup->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->RaceGroup->FldCaption() ?></td> <td<?php echo $CCMStudents->RaceGroup->CellAttributes() ?>><span id="el_RaceGroup"> <input type="text" name="x_RaceGroup" id="x_RaceGroup" title="<?php echo $CCMStudents->RaceGroup->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->RaceGroup->EditValue ?>"<?php echo $CCMStudents->RaceGroup->EditAttributes() ?>> </span><?php echo $CCMStudents->RaceGroup->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Disability->Visible) { // Disability ?> <tr<?php echo $CCMStudents->Disability->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Disability->FldCaption() ?><?php echo $Language->Phrase("FieldRequiredIndicator") ?></td> <td<?php echo $CCMStudents->Disability->CellAttributes() ?>><span id="el_Disability"> <div id="tp_x_Disability" class="<?php echo EW_ITEM_TEMPLATE_CLASSNAME ?>"><label><input type="radio" name="x_Disability" id="x_Disability" title="<?php echo $CCMStudents->Disability->FldTitle() ?>" value="{value}"<?php echo $CCMStudents->Disability->EditAttributes() ?>></label></div> <div id="dsl_x_Disability" repeatcolumn="5"> <?php $arwrk = $CCMStudents->Disability->EditValue; if (is_array($arwrk)) { $rowswrk = count($arwrk); $emptywrk = TRUE; for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) { $selwrk = (strval($CCMStudents->Disability->CurrentValue) == strval($arwrk[$rowcntwrk][0])) ? " checked=\"checked\"" : ""; if ($selwrk <> "") $emptywrk = FALSE; // Note: No spacing within the LABEL tag ?> <?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 1) ?> <label><input type="radio" name="x_Disability" id="x_Disability" title="<?php echo $CCMStudents->Disability->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $CCMStudents->Disability->EditAttributes() ?>><?php echo $arwrk[$rowcntwrk][1] ?></label> <?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 2) ?> <?php } } ?> </div> </span><?php echo $CCMStudents->Disability->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->DisabilityNature->Visible) { // DisabilityNature ?> <tr<?php echo $CCMStudents->DisabilityNature->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->DisabilityNature->FldCaption() ?></td> <td<?php echo $CCMStudents->DisabilityNature->CellAttributes() ?>><span id="el_DisabilityNature"> <input type="text" name="x_DisabilityNature" id="x_DisabilityNature" title="<?php echo $CCMStudents->DisabilityNature->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->DisabilityNature->EditValue ?>"<?php echo $CCMStudents->DisabilityNature->EditAttributes() ?>> </span><?php echo $CCMStudents->DisabilityNature->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->DisabilityCertificate->Visible) { // DisabilityCertificate ?> <tr<?php echo $CCMStudents->DisabilityCertificate->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->DisabilityCertificate->FldCaption() ?></td> <td<?php echo $CCMStudents->DisabilityCertificate->CellAttributes() ?>><span id="el_DisabilityCertificate"> <div id="old_x_DisabilityCertificate"> <?php if ($CCMStudents->DisabilityCertificate->HrefValue <> "" || $CCMStudents->DisabilityCertificate->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->DisabilityCertificate->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->DisabilityCertificate->HrefValue ?>"><?php echo $CCMStudents->DisabilityCertificate->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->DisabilityCertificate->Upload->DbValue)) { ?> <?php echo $CCMStudents->DisabilityCertificate->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_DisabilityCertificate"> <?php if (!empty($CCMStudents->DisabilityCertificate->Upload->DbValue)) { ?> <label><input type="radio" name="a_DisabilityCertificate" id="a_DisabilityCertificate" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_DisabilityCertificate" id="a_DisabilityCertificate" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_DisabilityCertificate" id="a_DisabilityCertificate" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->DisabilityCertificate->EditAttrs["onchange"] = "this.form.a_DisabilityCertificate[2].checked=true;" . @$CCMStudents->DisabilityCertificate->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_DisabilityCertificate" id="a_DisabilityCertificate" value="3"> <?php } ?> <input type="file" name="x_DisabilityCertificate" id="x_DisabilityCertificate" title="<?php echo $CCMStudents->DisabilityCertificate->FldTitle() ?>" size="30"<?php echo $CCMStudents->DisabilityCertificate->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->DisabilityCertificate->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->ProfessionalCouncil->Visible) { // ProfessionalCouncil ?> <tr<?php echo $CCMStudents->ProfessionalCouncil->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->ProfessionalCouncil->FldCaption() ?></td> <td<?php echo $CCMStudents->ProfessionalCouncil->CellAttributes() ?>><span id="el_ProfessionalCouncil"> <input type="text" name="x_ProfessionalCouncil" id="x_ProfessionalCouncil" title="<?php echo $CCMStudents->ProfessionalCouncil->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->ProfessionalCouncil->EditValue ?>"<?php echo $CCMStudents->ProfessionalCouncil->EditAttributes() ?>> </span><?php echo $CCMStudents->ProfessionalCouncil->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->CategoryReg->Visible) { // CategoryReg ?> <tr<?php echo $CCMStudents->CategoryReg->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->CategoryReg->FldCaption() ?></td> <td<?php echo $CCMStudents->CategoryReg->CellAttributes() ?>><span id="el_CategoryReg"> <input type="text" name="x_CategoryReg" id="x_CategoryReg" title="<?php echo $CCMStudents->CategoryReg->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->CategoryReg->EditValue ?>"<?php echo $CCMStudents->CategoryReg->EditAttributes() ?>> </span><?php echo $CCMStudents->CategoryReg->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->CouncilRegNumber->Visible) { // CouncilRegNumber ?> <tr<?php echo $CCMStudents->CouncilRegNumber->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->CouncilRegNumber->FldCaption() ?></td> <td<?php echo $CCMStudents->CouncilRegNumber->CellAttributes() ?>><span id="el_CouncilRegNumber"> <input type="text" name="x_CouncilRegNumber" id="x_CouncilRegNumber" title="<?php echo $CCMStudents->CouncilRegNumber->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->CouncilRegNumber->EditValue ?>"<?php echo $CCMStudents->CouncilRegNumber->EditAttributes() ?>> </span><?php echo $CCMStudents->CouncilRegNumber->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->LengthCandidateReg->Visible) { // LengthCandidateReg ?> <tr<?php echo $CCMStudents->LengthCandidateReg->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->LengthCandidateReg->FldCaption() ?></td> <td<?php echo $CCMStudents->LengthCandidateReg->CellAttributes() ?>><span id="el_LengthCandidateReg"> <input type="text" name="x_LengthCandidateReg" id="x_LengthCandidateReg" title="<?php echo $CCMStudents->LengthCandidateReg->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->LengthCandidateReg->EditValue ?>"<?php echo $CCMStudents->LengthCandidateReg->EditAttributes() ?>> </span><?php echo $CCMStudents->LengthCandidateReg->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->YearsToProfReg->Visible) { // YearsToProfReg ?> <tr<?php echo $CCMStudents->YearsToProfReg->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->YearsToProfReg->FldCaption() ?></td> <td<?php echo $CCMStudents->YearsToProfReg->CellAttributes() ?>><span id="el_YearsToProfReg"> <input type="text" name="x_YearsToProfReg" id="x_YearsToProfReg" title="<?php echo $CCMStudents->YearsToProfReg->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->YearsToProfReg->EditValue ?>"<?php echo $CCMStudents->YearsToProfReg->EditAttributes() ?>> </span><?php echo $CCMStudents->YearsToProfReg->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->FirstJobStart->Visible) { // FirstJobStart ?> <tr<?php echo $CCMStudents->FirstJobStart->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->FirstJobStart->FldCaption() ?></td> <td<?php echo $CCMStudents->FirstJobStart->CellAttributes() ?>><span id="el_FirstJobStart"> <input type="text" name="x_FirstJobStart" id="x_FirstJobStart" title="<?php echo $CCMStudents->FirstJobStart->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->FirstJobStart->EditValue ?>"<?php echo $CCMStudents->FirstJobStart->EditAttributes() ?>> </span><?php echo $CCMStudents->FirstJobStart->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->VolAssociations->Visible) { // VolAssociations ?> <tr<?php echo $CCMStudents->VolAssociations->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->VolAssociations->FldCaption() ?></td> <td<?php echo $CCMStudents->VolAssociations->CellAttributes() ?>><span id="el_VolAssociations"> <input type="text" name="x_VolAssociations" id="x_VolAssociations" title="<?php echo $CCMStudents->VolAssociations->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->VolAssociations->EditValue ?>"<?php echo $CCMStudents->VolAssociations->EditAttributes() ?>> </span><?php echo $CCMStudents->VolAssociations->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BelongsTo->Visible) { // BelongsTo ?> <tr<?php echo $CCMStudents->BelongsTo->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BelongsTo->FldCaption() ?></td> <td<?php echo $CCMStudents->BelongsTo->CellAttributes() ?>><span id="el_BelongsTo"> <input type="text" name="x_BelongsTo" id="x_BelongsTo" title="<?php echo $CCMStudents->BelongsTo->FldTitle() ?>" size="30" maxlength="20" value="<?php echo $CCMStudents->BelongsTo->EditValue ?>"<?php echo $CCMStudents->BelongsTo->EditAttributes() ?>> </span><?php echo $CCMStudents->BelongsTo->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->CESA_SABTACO_MemNum->Visible) { // CESA_SABTACO_MemNum ?> <tr<?php echo $CCMStudents->CESA_SABTACO_MemNum->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->CESA_SABTACO_MemNum->FldCaption() ?></td> <td<?php echo $CCMStudents->CESA_SABTACO_MemNum->CellAttributes() ?>><span id="el_CESA_SABTACO_MemNum"> <input type="text" name="x_CESA_SABTACO_MemNum" id="x_CESA_SABTACO_MemNum" title="<?php echo $CCMStudents->CESA_SABTACO_MemNum->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->CESA_SABTACO_MemNum->EditValue ?>"<?php echo $CCMStudents->CESA_SABTACO_MemNum->EditAttributes() ?>> </span><?php echo $CCMStudents->CESA_SABTACO_MemNum->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->AreaDiscipline->Visible) { // AreaDiscipline ?> <tr<?php echo $CCMStudents->AreaDiscipline->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->AreaDiscipline->FldCaption() ?></td> <td<?php echo $CCMStudents->AreaDiscipline->CellAttributes() ?>><span id="el_AreaDiscipline"> <input type="text" name="x_AreaDiscipline" id="x_AreaDiscipline" title="<?php echo $CCMStudents->AreaDiscipline->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->AreaDiscipline->EditValue ?>"<?php echo $CCMStudents->AreaDiscipline->EditAttributes() ?>> </span><?php echo $CCMStudents->AreaDiscipline->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->AreaSubDiscipline->Visible) { // AreaSubDiscipline ?> <tr<?php echo $CCMStudents->AreaSubDiscipline->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->AreaSubDiscipline->FldCaption() ?></td> <td<?php echo $CCMStudents->AreaSubDiscipline->CellAttributes() ?>><span id="el_AreaSubDiscipline"> <input type="text" name="x_AreaSubDiscipline" id="x_AreaSubDiscipline" title="<?php echo $CCMStudents->AreaSubDiscipline->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->AreaSubDiscipline->EditValue ?>"<?php echo $CCMStudents->AreaSubDiscipline->EditAttributes() ?>> </span><?php echo $CCMStudents->AreaSubDiscipline->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Salary->Visible) { // Salary ?> <tr<?php echo $CCMStudents->Salary->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Salary->FldCaption() ?></td> <td<?php echo $CCMStudents->Salary->CellAttributes() ?>><span id="el_Salary"> <input type="text" name="x_Salary" id="x_Salary" title="<?php echo $CCMStudents->Salary->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Salary->EditValue ?>"<?php echo $CCMStudents->Salary->EditAttributes() ?>> </span><?php echo $CCMStudents->Salary->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Payslip->Visible) { // Payslip ?> <tr<?php echo $CCMStudents->Payslip->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Payslip->FldCaption() ?></td> <td<?php echo $CCMStudents->Payslip->CellAttributes() ?>><span id="el_Payslip"> <div id="old_x_Payslip"> <?php if ($CCMStudents->Payslip->HrefValue <> "" || $CCMStudents->Payslip->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->Payslip->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->Payslip->HrefValue ?>"><?php echo $CCMStudents->Payslip->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->Payslip->Upload->DbValue)) { ?> <?php echo $CCMStudents->Payslip->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_Payslip"> <?php if (!empty($CCMStudents->Payslip->Upload->DbValue)) { ?> <label><input type="radio" name="a_Payslip" id="a_Payslip" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_Payslip" id="a_Payslip" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_Payslip" id="a_Payslip" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->Payslip->EditAttrs["onchange"] = "this.form.a_Payslip[2].checked=true;" . @$CCMStudents->Payslip->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_Payslip" id="a_Payslip" value="3"> <?php } ?> <input type="file" name="x_Payslip" id="x_Payslip" title="<?php echo $CCMStudents->Payslip->FldTitle() ?>" size="30"<?php echo $CCMStudents->Payslip->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->Payslip->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BankAccountName->Visible) { // BankAccountName ?> <tr<?php echo $CCMStudents->BankAccountName->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BankAccountName->FldCaption() ?></td> <td<?php echo $CCMStudents->BankAccountName->CellAttributes() ?>><span id="el_BankAccountName"> <input type="text" name="x_BankAccountName" id="x_BankAccountName" title="<?php echo $CCMStudents->BankAccountName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BankAccountName->EditValue ?>"<?php echo $CCMStudents->BankAccountName->EditAttributes() ?>> </span><?php echo $CCMStudents->BankAccountName->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BankAccountBank->Visible) { // BankAccountBank ?> <tr<?php echo $CCMStudents->BankAccountBank->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BankAccountBank->FldCaption() ?></td> <td<?php echo $CCMStudents->BankAccountBank->CellAttributes() ?>><span id="el_BankAccountBank"> <input type="text" name="x_BankAccountBank" id="x_BankAccountBank" title="<?php echo $CCMStudents->BankAccountBank->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BankAccountBank->EditValue ?>"<?php echo $CCMStudents->BankAccountBank->EditAttributes() ?>> </span><?php echo $CCMStudents->BankAccountBank->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BankAccountBranch->Visible) { // BankAccountBranch ?> <tr<?php echo $CCMStudents->BankAccountBranch->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BankAccountBranch->FldCaption() ?></td> <td<?php echo $CCMStudents->BankAccountBranch->CellAttributes() ?>><span id="el_BankAccountBranch"> <input type="text" name="x_BankAccountBranch" id="x_BankAccountBranch" title="<?php echo $CCMStudents->BankAccountBranch->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BankAccountBranch->EditValue ?>"<?php echo $CCMStudents->BankAccountBranch->EditAttributes() ?>> </span><?php echo $CCMStudents->BankAccountBranch->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BankAccountNo->Visible) { // BankAccountNo ?> <tr<?php echo $CCMStudents->BankAccountNo->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BankAccountNo->FldCaption() ?></td> <td<?php echo $CCMStudents->BankAccountNo->CellAttributes() ?>><span id="el_BankAccountNo"> <input type="text" name="x_BankAccountNo" id="x_BankAccountNo" title="<?php echo $CCMStudents->BankAccountNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BankAccountNo->EditValue ?>"<?php echo $CCMStudents->BankAccountNo->EditAttributes() ?>> </span><?php echo $CCMStudents->BankAccountNo->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BankAccountProof->Visible) { // BankAccountProof ?> <tr<?php echo $CCMStudents->BankAccountProof->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BankAccountProof->FldCaption() ?></td> <td<?php echo $CCMStudents->BankAccountProof->CellAttributes() ?>><span id="el_BankAccountProof"> <div id="old_x_BankAccountProof"> <?php if ($CCMStudents->BankAccountProof->HrefValue <> "" || $CCMStudents->BankAccountProof->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->BankAccountProof->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->BankAccountProof->HrefValue ?>"><?php echo $CCMStudents->BankAccountProof->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->BankAccountProof->Upload->DbValue)) { ?> <?php echo $CCMStudents->BankAccountProof->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_BankAccountProof"> <?php if (!empty($CCMStudents->BankAccountProof->Upload->DbValue)) { ?> <label><input type="radio" name="a_BankAccountProof" id="a_BankAccountProof" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_BankAccountProof" id="a_BankAccountProof" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_BankAccountProof" id="a_BankAccountProof" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->BankAccountProof->EditAttrs["onchange"] = "this.form.a_BankAccountProof[2].checked=true;" . @$CCMStudents->BankAccountProof->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_BankAccountProof" id="a_BankAccountProof" value="3"> <?php } ?> <input type="file" name="x_BankAccountProof" id="x_BankAccountProof" title="<?php echo $CCMStudents->BankAccountProof->FldTitle() ?>" size="30"<?php echo $CCMStudents->BankAccountProof->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->BankAccountProof->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Funding->Visible) { // Funding ?> <tr<?php echo $CCMStudents->Funding->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Funding->FldCaption() ?></td> <td<?php echo $CCMStudents->Funding->CellAttributes() ?>><span id="el_Funding"> <input type="text" name="x_Funding" id="x_Funding" title="<?php echo $CCMStudents->Funding->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Funding->EditValue ?>"<?php echo $CCMStudents->Funding->EditAttributes() ?>> </span><?php echo $CCMStudents->Funding->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->CWDTP->Visible) { // CWDTP ?> <tr<?php echo $CCMStudents->CWDTP->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->CWDTP->FldCaption() ?><?php echo $Language->Phrase("FieldRequiredIndicator") ?></td> <td<?php echo $CCMStudents->CWDTP->CellAttributes() ?>><span id="el_CWDTP"> <input type="text" name="x_CWDTP" id="x_CWDTP" title="<?php echo $CCMStudents->CWDTP->FldTitle() ?>" size="30" maxlength="1" value="<?php echo $CCMStudents->CWDTP->EditValue ?>"<?php echo $CCMStudents->CWDTP->EditAttributes() ?>> </span><?php echo $CCMStudents->CWDTP->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BookedByName->Visible) { // BookedByName ?> <tr<?php echo $CCMStudents->BookedByName->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BookedByName->FldCaption() ?></td> <td<?php echo $CCMStudents->BookedByName->CellAttributes() ?>><span id="el_BookedByName"> <input type="text" name="x_BookedByName" id="x_BookedByName" title="<?php echo $CCMStudents->BookedByName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByName->EditValue ?>"<?php echo $CCMStudents->BookedByName->EditAttributes() ?>> </span><?php echo $CCMStudents->BookedByName->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BookedByDesignation->Visible) { // BookedByDesignation ?> <tr<?php echo $CCMStudents->BookedByDesignation->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BookedByDesignation->FldCaption() ?></td> <td<?php echo $CCMStudents->BookedByDesignation->CellAttributes() ?>><span id="el_BookedByDesignation"> <input type="text" name="x_BookedByDesignation" id="x_BookedByDesignation" title="<?php echo $CCMStudents->BookedByDesignation->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByDesignation->EditValue ?>"<?php echo $CCMStudents->BookedByDesignation->EditAttributes() ?>> </span><?php echo $CCMStudents->BookedByDesignation->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BookedByTelNo->Visible) { // BookedByTelNo ?> <tr<?php echo $CCMStudents->BookedByTelNo->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BookedByTelNo->FldCaption() ?></td> <td<?php echo $CCMStudents->BookedByTelNo->CellAttributes() ?>><span id="el_BookedByTelNo"> <input type="text" name="x_BookedByTelNo" id="x_BookedByTelNo" title="<?php echo $CCMStudents->BookedByTelNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByTelNo->EditValue ?>"<?php echo $CCMStudents->BookedByTelNo->EditAttributes() ?>> </span><?php echo $CCMStudents->BookedByTelNo->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BookedByFaxNo->Visible) { // BookedByFaxNo ?> <tr<?php echo $CCMStudents->BookedByFaxNo->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BookedByFaxNo->FldCaption() ?></td> <td<?php echo $CCMStudents->BookedByFaxNo->CellAttributes() ?>><span id="el_BookedByFaxNo"> <input type="text" name="x_BookedByFaxNo" id="x_BookedByFaxNo" title="<?php echo $CCMStudents->BookedByFaxNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByFaxNo->EditValue ?>"<?php echo $CCMStudents->BookedByFaxNo->EditAttributes() ?>> </span><?php echo $CCMStudents->BookedByFaxNo->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BookedByCellNo->Visible) { // BookedByCellNo ?> <tr<?php echo $CCMStudents->BookedByCellNo->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BookedByCellNo->FldCaption() ?></td> <td<?php echo $CCMStudents->BookedByCellNo->CellAttributes() ?>><span id="el_BookedByCellNo"> <input type="text" name="x_BookedByCellNo" id="x_BookedByCellNo" title="<?php echo $CCMStudents->BookedByCellNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByCellNo->EditValue ?>"<?php echo $CCMStudents->BookedByCellNo->EditAttributes() ?>> </span><?php echo $CCMStudents->BookedByCellNo->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BookedByEmail->Visible) { // BookedByEmail ?> <tr<?php echo $CCMStudents->BookedByEmail->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BookedByEmail->FldCaption() ?></td> <td<?php echo $CCMStudents->BookedByEmail->CellAttributes() ?>><span id="el_BookedByEmail"> <input type="text" name="x_BookedByEmail" id="x_BookedByEmail" title="<?php echo $CCMStudents->BookedByEmail->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByEmail->EditValue ?>"<?php echo $CCMStudents->BookedByEmail->EditAttributes() ?>> </span><?php echo $CCMStudents->BookedByEmail->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->MentorID->Visible) { // MentorID ?> <tr<?php echo $CCMStudents->MentorID->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->MentorID->FldCaption() ?></td> <td<?php echo $CCMStudents->MentorID->CellAttributes() ?>><span id="el_MentorID"> <select id="x_MentorID" name="x_MentorID" title="<?php echo $CCMStudents->MentorID->FldTitle() ?>"<?php echo $CCMStudents->MentorID->EditAttributes() ?>> <?php if (is_array($CCMStudents->MentorID->EditValue)) { $arwrk = $CCMStudents->MentorID->EditValue; $rowswrk = count($arwrk); $emptywrk = TRUE; for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) { $selwrk = (strval($CCMStudents->MentorID->CurrentValue) == strval($arwrk[$rowcntwrk][0])) ? " selected=\"selected\"" : ""; if ($selwrk <> "") $emptywrk = FALSE; ?> <option value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?>> <?php echo $arwrk[$rowcntwrk][1] ?> <?php if ($arwrk[$rowcntwrk][2] <> "") { ?> <?php echo ew_ValueSeparator($rowcntwrk) ?><?php echo $arwrk[$rowcntwrk][2] ?> <?php } ?> </option> <?php } } ?> </select> </span><?php echo $CCMStudents->MentorID->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->EmployerID->Visible) { // EmployerID ?> <tr<?php echo $CCMStudents->EmployerID->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->EmployerID->FldCaption() ?></td> <td<?php echo $CCMStudents->EmployerID->CellAttributes() ?>><span id="el_EmployerID"> <select id="x_EmployerID" name="x_EmployerID" title="<?php echo $CCMStudents->EmployerID->FldTitle() ?>"<?php echo $CCMStudents->EmployerID->EditAttributes() ?>> <?php if (is_array($CCMStudents->EmployerID->EditValue)) { $arwrk = $CCMStudents->EmployerID->EditValue; $rowswrk = count($arwrk); $emptywrk = TRUE; for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) { $selwrk = (strval($CCMStudents->EmployerID->CurrentValue) == strval($arwrk[$rowcntwrk][0])) ? " selected=\"selected\"" : ""; if ($selwrk <> "") $emptywrk = FALSE; ?> <option value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?>> <?php echo $arwrk[$rowcntwrk][1] ?> <?php if ($arwrk[$rowcntwrk][2] <> "") { ?> <?php echo ew_ValueSeparator($rowcntwrk) ?><?php echo $arwrk[$rowcntwrk][2] ?> <?php } ?> </option> <?php } } ?> </select> </span><?php echo $CCMStudents->EmployerID->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->HRManagerName->Visible) { // HRManagerName ?> <tr<?php echo $CCMStudents->HRManagerName->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->HRManagerName->FldCaption() ?></td> <td<?php echo $CCMStudents->HRManagerName->CellAttributes() ?>><span id="el_HRManagerName"> <input type="text" name="x_HRManagerName" id="x_HRManagerName" title="<?php echo $CCMStudents->HRManagerName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->HRManagerName->EditValue ?>"<?php echo $CCMStudents->HRManagerName->EditAttributes() ?>> </span><?php echo $CCMStudents->HRManagerName->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->HRManagerDesignation->Visible) { // HRManagerDesignation ?> <tr<?php echo $CCMStudents->HRManagerDesignation->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->HRManagerDesignation->FldCaption() ?></td> <td<?php echo $CCMStudents->HRManagerDesignation->CellAttributes() ?>><span id="el_HRManagerDesignation"> <input type="text" name="x_HRManagerDesignation" id="x_HRManagerDesignation" title="<?php echo $CCMStudents->HRManagerDesignation->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->HRManagerDesignation->EditValue ?>"<?php echo $CCMStudents->HRManagerDesignation->EditAttributes() ?>> </span><?php echo $CCMStudents->HRManagerDesignation->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->HRManagerTelNo->Visible) { // HRManagerTelNo ?> <tr<?php echo $CCMStudents->HRManagerTelNo->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->HRManagerTelNo->FldCaption() ?></td> <td<?php echo $CCMStudents->HRManagerTelNo->CellAttributes() ?>><span id="el_HRManagerTelNo"> <input type="text" name="x_HRManagerTelNo" id="x_HRManagerTelNo" title="<?php echo $CCMStudents->HRManagerTelNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->HRManagerTelNo->EditValue ?>"<?php echo $CCMStudents->HRManagerTelNo->EditAttributes() ?>> </span><?php echo $CCMStudents->HRManagerTelNo->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->HRManagerCellNo->Visible) { // HRManagerCellNo ?> <tr<?php echo $CCMStudents->HRManagerCellNo->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->HRManagerCellNo->FldCaption() ?></td> <td<?php echo $CCMStudents->HRManagerCellNo->CellAttributes() ?>><span id="el_HRManagerCellNo"> <input type="text" name="x_HRManagerCellNo" id="x_HRManagerCellNo" title="<?php echo $CCMStudents->HRManagerCellNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->HRManagerCellNo->EditValue ?>"<?php echo $CCMStudents->HRManagerCellNo->EditAttributes() ?>> </span><?php echo $CCMStudents->HRManagerCellNo->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->HRManagerEmail->Visible) { // HRManagerEmail ?> <tr<?php echo $CCMStudents->HRManagerEmail->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->HRManagerEmail->FldCaption() ?></td> <td<?php echo $CCMStudents->HRManagerEmail->CellAttributes() ?>><span id="el_HRManagerEmail"> <input type="text" name="x_HRManagerEmail" id="x_HRManagerEmail" title="<?php echo $CCMStudents->HRManagerEmail->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->HRManagerEmail->EditValue ?>"<?php echo $CCMStudents->HRManagerEmail->EditAttributes() ?>> </span><?php echo $CCMStudents->HRManagerEmail->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->SupervisorName->Visible) { // SupervisorName ?> <tr<?php echo $CCMStudents->SupervisorName->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->SupervisorName->FldCaption() ?></td> <td<?php echo $CCMStudents->SupervisorName->CellAttributes() ?>><span id="el_SupervisorName"> <input type="text" name="x_SupervisorName" id="x_SupervisorName" title="<?php echo $CCMStudents->SupervisorName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorName->EditValue ?>"<?php echo $CCMStudents->SupervisorName->EditAttributes() ?>> </span><?php echo $CCMStudents->SupervisorName->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->SupervisorDesig->Visible) { // SupervisorDesig ?> <tr<?php echo $CCMStudents->SupervisorDesig->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->SupervisorDesig->FldCaption() ?></td> <td<?php echo $CCMStudents->SupervisorDesig->CellAttributes() ?>><span id="el_SupervisorDesig"> <input type="text" name="x_SupervisorDesig" id="x_SupervisorDesig" title="<?php echo $CCMStudents->SupervisorDesig->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorDesig->EditValue ?>"<?php echo $CCMStudents->SupervisorDesig->EditAttributes() ?>> </span><?php echo $CCMStudents->SupervisorDesig->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->SupervisorProfRegNo->Visible) { // SupervisorProfRegNo ?> <tr<?php echo $CCMStudents->SupervisorProfRegNo->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->SupervisorProfRegNo->FldCaption() ?></td> <td<?php echo $CCMStudents->SupervisorProfRegNo->CellAttributes() ?>><span id="el_SupervisorProfRegNo"> <input type="text" name="x_SupervisorProfRegNo" id="x_SupervisorProfRegNo" title="<?php echo $CCMStudents->SupervisorProfRegNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorProfRegNo->EditValue ?>"<?php echo $CCMStudents->SupervisorProfRegNo->EditAttributes() ?>> </span><?php echo $CCMStudents->SupervisorProfRegNo->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->SupervisorTelNo->Visible) { // SupervisorTelNo ?> <tr<?php echo $CCMStudents->SupervisorTelNo->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->SupervisorTelNo->FldCaption() ?></td> <td<?php echo $CCMStudents->SupervisorTelNo->CellAttributes() ?>><span id="el_SupervisorTelNo"> <input type="text" name="x_SupervisorTelNo" id="x_SupervisorTelNo" title="<?php echo $CCMStudents->SupervisorTelNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorTelNo->EditValue ?>"<?php echo $CCMStudents->SupervisorTelNo->EditAttributes() ?>> </span><?php echo $CCMStudents->SupervisorTelNo->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->SupervisorCellNo->Visible) { // SupervisorCellNo ?> <tr<?php echo $CCMStudents->SupervisorCellNo->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->SupervisorCellNo->FldCaption() ?></td> <td<?php echo $CCMStudents->SupervisorCellNo->CellAttributes() ?>><span id="el_SupervisorCellNo"> <input type="text" name="x_SupervisorCellNo" id="x_SupervisorCellNo" title="<?php echo $CCMStudents->SupervisorCellNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorCellNo->EditValue ?>"<?php echo $CCMStudents->SupervisorCellNo->EditAttributes() ?>> </span><?php echo $CCMStudents->SupervisorCellNo->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->SupervisorEmail->Visible) { // SupervisorEmail ?> <tr<?php echo $CCMStudents->SupervisorEmail->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->SupervisorEmail->FldCaption() ?></td> <td<?php echo $CCMStudents->SupervisorEmail->CellAttributes() ?>><span id="el_SupervisorEmail"> <input type="text" name="x_SupervisorEmail" id="x_SupervisorEmail" title="<?php echo $CCMStudents->SupervisorEmail->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorEmail->EditValue ?>"<?php echo $CCMStudents->SupervisorEmail->EditAttributes() ?>> </span><?php echo $CCMStudents->SupervisorEmail->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->EducationalInst->Visible) { // EducationalInst ?> <tr<?php echo $CCMStudents->EducationalInst->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->EducationalInst->FldCaption() ?></td> <td<?php echo $CCMStudents->EducationalInst->CellAttributes() ?>><span id="el_EducationalInst"> <input type="text" name="x_EducationalInst" id="x_EducationalInst" title="<?php echo $CCMStudents->EducationalInst->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->EducationalInst->EditValue ?>"<?php echo $CCMStudents->EducationalInst->EditAttributes() ?>> </span><?php echo $CCMStudents->EducationalInst->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Qualifications->Visible) { // Qualifications ?> <tr<?php echo $CCMStudents->Qualifications->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Qualifications->FldCaption() ?></td> <td<?php echo $CCMStudents->Qualifications->CellAttributes() ?>><span id="el_Qualifications"> <textarea name="x_Qualifications" id="x_Qualifications" title="<?php echo $CCMStudents->Qualifications->FldTitle() ?>" cols="35" rows="4"<?php echo $CCMStudents->Qualifications->EditAttributes() ?>><?php echo $CCMStudents->Qualifications->EditValue ?></textarea> </span><?php echo $CCMStudents->Qualifications->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->DateFinalExam->Visible) { // DateFinalExam ?> <tr<?php echo $CCMStudents->DateFinalExam->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->DateFinalExam->FldCaption() ?></td> <td<?php echo $CCMStudents->DateFinalExam->CellAttributes() ?>><span id="el_DateFinalExam"> <input type="text" name="x_DateFinalExam" id="x_DateFinalExam" title="<?php echo $CCMStudents->DateFinalExam->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->DateFinalExam->EditValue ?>"<?php echo $CCMStudents->DateFinalExam->EditAttributes() ?>> </span><?php echo $CCMStudents->DateFinalExam->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->IDFile->Visible) { // IDFile ?> <tr<?php echo $CCMStudents->IDFile->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->IDFile->FldCaption() ?></td> <td<?php echo $CCMStudents->IDFile->CellAttributes() ?>><span id="el_IDFile"> <div id="old_x_IDFile"> <?php if ($CCMStudents->IDFile->HrefValue <> "" || $CCMStudents->IDFile->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->IDFile->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->IDFile->HrefValue ?>"><?php echo $CCMStudents->IDFile->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->IDFile->Upload->DbValue)) { ?> <?php echo $CCMStudents->IDFile->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_IDFile"> <?php if (!empty($CCMStudents->IDFile->Upload->DbValue)) { ?> <label><input type="radio" name="a_IDFile" id="a_IDFile" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_IDFile" id="a_IDFile" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_IDFile" id="a_IDFile" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->IDFile->EditAttrs["onchange"] = "this.form.a_IDFile[2].checked=true;" . @$CCMStudents->IDFile->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_IDFile" id="a_IDFile" value="3"> <?php } ?> <input type="file" name="x_IDFile" id="x_IDFile" title="<?php echo $CCMStudents->IDFile->FldTitle() ?>" size="30"<?php echo $CCMStudents->IDFile->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->IDFile->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->CVFile->Visible) { // CVFile ?> <tr<?php echo $CCMStudents->CVFile->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->CVFile->FldCaption() ?></td> <td<?php echo $CCMStudents->CVFile->CellAttributes() ?>><span id="el_CVFile"> <div id="old_x_CVFile"> <?php if ($CCMStudents->CVFile->HrefValue <> "" || $CCMStudents->CVFile->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->CVFile->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->CVFile->HrefValue ?>"><?php echo $CCMStudents->CVFile->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->CVFile->Upload->DbValue)) { ?> <?php echo $CCMStudents->CVFile->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_CVFile"> <?php if (!empty($CCMStudents->CVFile->Upload->DbValue)) { ?> <label><input type="radio" name="a_CVFile" id="a_CVFile" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_CVFile" id="a_CVFile" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_CVFile" id="a_CVFile" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->CVFile->EditAttrs["onchange"] = "this.form.a_CVFile[2].checked=true;" . @$CCMStudents->CVFile->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_CVFile" id="a_CVFile" value="3"> <?php } ?> <input type="file" name="x_CVFile" id="x_CVFile" title="<?php echo $CCMStudents->CVFile->FldTitle() ?>" size="30"<?php echo $CCMStudents->CVFile->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->CVFile->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->QualCertificate1->Visible) { // QualCertificate1 ?> <tr<?php echo $CCMStudents->QualCertificate1->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->QualCertificate1->FldCaption() ?></td> <td<?php echo $CCMStudents->QualCertificate1->CellAttributes() ?>><span id="el_QualCertificate1"> <div id="old_x_QualCertificate1"> <?php if ($CCMStudents->QualCertificate1->HrefValue <> "" || $CCMStudents->QualCertificate1->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->QualCertificate1->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->QualCertificate1->HrefValue ?>"><?php echo $CCMStudents->QualCertificate1->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->QualCertificate1->Upload->DbValue)) { ?> <?php echo $CCMStudents->QualCertificate1->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_QualCertificate1"> <?php if (!empty($CCMStudents->QualCertificate1->Upload->DbValue)) { ?> <label><input type="radio" name="a_QualCertificate1" id="a_QualCertificate1" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_QualCertificate1" id="a_QualCertificate1" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_QualCertificate1" id="a_QualCertificate1" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->QualCertificate1->EditAttrs["onchange"] = "this.form.a_QualCertificate1[2].checked=true;" . @$CCMStudents->QualCertificate1->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_QualCertificate1" id="a_QualCertificate1" value="3"> <?php } ?> <input type="file" name="x_QualCertificate1" id="x_QualCertificate1" title="<?php echo $CCMStudents->QualCertificate1->FldTitle() ?>" size="30"<?php echo $CCMStudents->QualCertificate1->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->QualCertificate1->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->QualCertificate2->Visible) { // QualCertificate2 ?> <tr<?php echo $CCMStudents->QualCertificate2->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->QualCertificate2->FldCaption() ?></td> <td<?php echo $CCMStudents->QualCertificate2->CellAttributes() ?>><span id="el_QualCertificate2"> <div id="old_x_QualCertificate2"> <?php if ($CCMStudents->QualCertificate2->HrefValue <> "" || $CCMStudents->QualCertificate2->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->QualCertificate2->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->QualCertificate2->HrefValue ?>"><?php echo $CCMStudents->QualCertificate2->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->QualCertificate2->Upload->DbValue)) { ?> <?php echo $CCMStudents->QualCertificate2->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_QualCertificate2"> <?php if (!empty($CCMStudents->QualCertificate2->Upload->DbValue)) { ?> <label><input type="radio" name="a_QualCertificate2" id="a_QualCertificate2" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_QualCertificate2" id="a_QualCertificate2" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_QualCertificate2" id="a_QualCertificate2" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->QualCertificate2->EditAttrs["onchange"] = "this.form.a_QualCertificate2[2].checked=true;" . @$CCMStudents->QualCertificate2->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_QualCertificate2" id="a_QualCertificate2" value="3"> <?php } ?> <input type="file" name="x_QualCertificate2" id="x_QualCertificate2" title="<?php echo $CCMStudents->QualCertificate2->FldTitle() ?>" size="30"<?php echo $CCMStudents->QualCertificate2->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->QualCertificate2->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->QualCertificate3->Visible) { // QualCertificate3 ?> <tr<?php echo $CCMStudents->QualCertificate3->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->QualCertificate3->FldCaption() ?></td> <td<?php echo $CCMStudents->QualCertificate3->CellAttributes() ?>><span id="el_QualCertificate3"> <div id="old_x_QualCertificate3"> <?php if ($CCMStudents->QualCertificate3->HrefValue <> "" || $CCMStudents->QualCertificate3->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->QualCertificate3->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->QualCertificate3->HrefValue ?>"><?php echo $CCMStudents->QualCertificate3->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->QualCertificate3->Upload->DbValue)) { ?> <?php echo $CCMStudents->QualCertificate3->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_QualCertificate3"> <?php if (!empty($CCMStudents->QualCertificate3->Upload->DbValue)) { ?> <label><input type="radio" name="a_QualCertificate3" id="a_QualCertificate3" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_QualCertificate3" id="a_QualCertificate3" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_QualCertificate3" id="a_QualCertificate3" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->QualCertificate3->EditAttrs["onchange"] = "this.form.a_QualCertificate3[2].checked=true;" . @$CCMStudents->QualCertificate3->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_QualCertificate3" id="a_QualCertificate3" value="3"> <?php } ?> <input type="file" name="x_QualCertificate3" id="x_QualCertificate3" title="<?php echo $CCMStudents->QualCertificate3->FldTitle() ?>" size="30"<?php echo $CCMStudents->QualCertificate3->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->QualCertificate3->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->MentorUndertaking->Visible) { // MentorUndertaking ?> <tr<?php echo $CCMStudents->MentorUndertaking->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->MentorUndertaking->FldCaption() ?></td> <td<?php echo $CCMStudents->MentorUndertaking->CellAttributes() ?>><span id="el_MentorUndertaking"> <div id="old_x_MentorUndertaking"> <?php if ($CCMStudents->MentorUndertaking->HrefValue <> "" || $CCMStudents->MentorUndertaking->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->MentorUndertaking->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->MentorUndertaking->HrefValue ?>"><?php echo $CCMStudents->MentorUndertaking->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->MentorUndertaking->Upload->DbValue)) { ?> <?php echo $CCMStudents->MentorUndertaking->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_MentorUndertaking"> <?php if (!empty($CCMStudents->MentorUndertaking->Upload->DbValue)) { ?> <label><input type="radio" name="a_MentorUndertaking" id="a_MentorUndertaking" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_MentorUndertaking" id="a_MentorUndertaking" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_MentorUndertaking" id="a_MentorUndertaking" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->MentorUndertaking->EditAttrs["onchange"] = "this.form.a_MentorUndertaking[2].checked=true;" . @$CCMStudents->MentorUndertaking->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_MentorUndertaking" id="a_MentorUndertaking" value="3"> <?php } ?> <input type="file" name="x_MentorUndertaking" id="x_MentorUndertaking" title="<?php echo $CCMStudents->MentorUndertaking->FldTitle() ?>" size="30"<?php echo $CCMStudents->MentorUndertaking->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->MentorUndertaking->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->CandUUndertaking->Visible) { // CandUUndertaking ?> <tr<?php echo $CCMStudents->CandUUndertaking->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->CandUUndertaking->FldCaption() ?></td> <td<?php echo $CCMStudents->CandUUndertaking->CellAttributes() ?>><span id="el_CandUUndertaking"> <div id="old_x_CandUUndertaking"> <?php if ($CCMStudents->CandUUndertaking->HrefValue <> "" || $CCMStudents->CandUUndertaking->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->CandUUndertaking->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->CandUUndertaking->HrefValue ?>"><?php echo $CCMStudents->CandUUndertaking->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->CandUUndertaking->Upload->DbValue)) { ?> <?php echo $CCMStudents->CandUUndertaking->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_CandUUndertaking"> <?php if (!empty($CCMStudents->CandUUndertaking->Upload->DbValue)) { ?> <label><input type="radio" name="a_CandUUndertaking" id="a_CandUUndertaking" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_CandUUndertaking" id="a_CandUUndertaking" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_CandUUndertaking" id="a_CandUUndertaking" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->CandUUndertaking->EditAttrs["onchange"] = "this.form.a_CandUUndertaking[2].checked=true;" . @$CCMStudents->CandUUndertaking->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_CandUUndertaking" id="a_CandUUndertaking" value="3"> <?php } ?> <input type="file" name="x_CandUUndertaking" id="x_CandUUndertaking" title="<?php echo $CCMStudents->CandUUndertaking->FldTitle() ?>" size="30"<?php echo $CCMStudents->CandUUndertaking->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->CandUUndertaking->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->CompanyCandidatePolicy->Visible) { // CompanyCandidatePolicy ?> <tr<?php echo $CCMStudents->CompanyCandidatePolicy->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->CompanyCandidatePolicy->FldCaption() ?></td> <td<?php echo $CCMStudents->CompanyCandidatePolicy->CellAttributes() ?>><span id="el_CompanyCandidatePolicy"> <div id="old_x_CompanyCandidatePolicy"> <?php if ($CCMStudents->CompanyCandidatePolicy->HrefValue <> "" || $CCMStudents->CompanyCandidatePolicy->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->CompanyCandidatePolicy->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->CompanyCandidatePolicy->HrefValue ?>"><?php echo $CCMStudents->CompanyCandidatePolicy->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->CompanyCandidatePolicy->Upload->DbValue)) { ?> <?php echo $CCMStudents->CompanyCandidatePolicy->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_CompanyCandidatePolicy"> <?php if (!empty($CCMStudents->CompanyCandidatePolicy->Upload->DbValue)) { ?> <label><input type="radio" name="a_CompanyCandidatePolicy" id="a_CompanyCandidatePolicy" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_CompanyCandidatePolicy" id="a_CompanyCandidatePolicy" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_CompanyCandidatePolicy" id="a_CompanyCandidatePolicy" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->CompanyCandidatePolicy->EditAttrs["onchange"] = "this.form.a_CompanyCandidatePolicy[2].checked=true;" . @$CCMStudents->CompanyCandidatePolicy->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_CompanyCandidatePolicy" id="a_CompanyCandidatePolicy" value="3"> <?php } ?> <input type="file" name="x_CompanyCandidatePolicy" id="x_CompanyCandidatePolicy" title="<?php echo $CCMStudents->CompanyCandidatePolicy->FldTitle() ?>" size="30"<?php echo $CCMStudents->CompanyCandidatePolicy->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->CompanyCandidatePolicy->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->ResidenceProof->Visible) { // ResidenceProof ?> <tr<?php echo $CCMStudents->ResidenceProof->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->ResidenceProof->FldCaption() ?></td> <td<?php echo $CCMStudents->ResidenceProof->CellAttributes() ?>><span id="el_ResidenceProof"> <div id="old_x_ResidenceProof"> <?php if ($CCMStudents->ResidenceProof->HrefValue <> "" || $CCMStudents->ResidenceProof->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->ResidenceProof->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->ResidenceProof->HrefValue ?>"><?php echo $CCMStudents->ResidenceProof->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->ResidenceProof->Upload->DbValue)) { ?> <?php echo $CCMStudents->ResidenceProof->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_ResidenceProof"> <?php if (!empty($CCMStudents->ResidenceProof->Upload->DbValue)) { ?> <label><input type="radio" name="a_ResidenceProof" id="a_ResidenceProof" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_ResidenceProof" id="a_ResidenceProof" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_ResidenceProof" id="a_ResidenceProof" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->ResidenceProof->EditAttrs["onchange"] = "this.form.a_ResidenceProof[2].checked=true;" . @$CCMStudents->ResidenceProof->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_ResidenceProof" id="a_ResidenceProof" value="3"> <?php } ?> <input type="file" name="x_ResidenceProof" id="x_ResidenceProof" title="<?php echo $CCMStudents->ResidenceProof->FldTitle() ?>" size="30"<?php echo $CCMStudents->ResidenceProof->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->ResidenceProof->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->SignedAppForm->Visible) { // SignedAppForm ?> <tr<?php echo $CCMStudents->SignedAppForm->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->SignedAppForm->FldCaption() ?></td> <td<?php echo $CCMStudents->SignedAppForm->CellAttributes() ?>><span id="el_SignedAppForm"> <div id="old_x_SignedAppForm"> <?php if ($CCMStudents->SignedAppForm->HrefValue <> "" || $CCMStudents->SignedAppForm->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->SignedAppForm->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->SignedAppForm->HrefValue ?>"><?php echo $CCMStudents->SignedAppForm->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->SignedAppForm->Upload->DbValue)) { ?> <?php echo $CCMStudents->SignedAppForm->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_SignedAppForm"> <?php if (!empty($CCMStudents->SignedAppForm->Upload->DbValue)) { ?> <label><input type="radio" name="a_SignedAppForm" id="a_SignedAppForm" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_SignedAppForm" id="a_SignedAppForm" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_SignedAppForm" id="a_SignedAppForm" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->SignedAppForm->EditAttrs["onchange"] = "this.form.a_SignedAppForm[2].checked=true;" . @$CCMStudents->SignedAppForm->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_SignedAppForm" id="a_SignedAppForm" value="3"> <?php } ?> <input type="file" name="x_SignedAppForm" id="x_SignedAppForm" title="<?php echo $CCMStudents->SignedAppForm->FldTitle() ?>" size="30"<?php echo $CCMStudents->SignedAppForm->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->SignedAppForm->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Photograph->Visible) { // Photograph ?> <tr<?php echo $CCMStudents->Photograph->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Photograph->FldCaption() ?></td> <td<?php echo $CCMStudents->Photograph->CellAttributes() ?>><span id="el_Photograph"> <div id="old_x_Photograph"> <?php if ($CCMStudents->Photograph->HrefValue <> "" || $CCMStudents->Photograph->TooltipValue <> "") { ?> <?php if (!empty($CCMStudents->Photograph->Upload->DbValue)) { ?> <a href="<?php echo $CCMStudents->Photograph->HrefValue ?>"><?php echo $CCMStudents->Photograph->EditValue ?></a> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } else { ?> <?php if (!empty($CCMStudents->Photograph->Upload->DbValue)) { ?> <?php echo $CCMStudents->Photograph->EditValue ?> <?php } elseif (!in_array($CCMStudents->CurrentAction, array("I", "edit", "gridedit"))) { ?> <?php } ?> <?php } ?> </div> <div id="new_x_Photograph"> <?php if (!empty($CCMStudents->Photograph->Upload->DbValue)) { ?> <label><input type="radio" name="a_Photograph" id="a_Photograph" value="1" checked="checked"><?php echo $Language->Phrase("Keep") ?></label> <label><input type="radio" name="a_Photograph" id="a_Photograph" value="2"><?php echo $Language->Phrase("Remove") ?></label> <label><input type="radio" name="a_Photograph" id="a_Photograph" value="3"><?php echo $Language->Phrase("Replace") ?><br></label> <?php $CCMStudents->Photograph->EditAttrs["onchange"] = "this.form.a_Photograph[2].checked=true;" . @$CCMStudents->Photograph->EditAttrs["onchange"]; ?> <?php } else { ?> <input type="hidden" name="a_Photograph" id="a_Photograph" value="3"> <?php } ?> <input type="file" name="x_Photograph" id="x_Photograph" title="<?php echo $CCMStudents->Photograph->FldTitle() ?>" size="30"<?php echo $CCMStudents->Photograph->EditAttributes() ?>> </div> </span><?php echo $CCMStudents->Photograph->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->StudentNumber->Visible) { // StudentNumber ?> <tr<?php echo $CCMStudents->StudentNumber->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->StudentNumber->FldCaption() ?></td> <td<?php echo $CCMStudents->StudentNumber->CellAttributes() ?>><span id="el_StudentNumber"> <input type="text" name="x_StudentNumber" id="x_StudentNumber" title="<?php echo $CCMStudents->StudentNumber->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->StudentNumber->EditValue ?>"<?php echo $CCMStudents->StudentNumber->EditAttributes() ?>> </span><?php echo $CCMStudents->StudentNumber->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->WebUsername->Visible) { // WebUsername ?> <tr<?php echo $CCMStudents->WebUsername->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->WebUsername->FldCaption() ?></td> <td<?php echo $CCMStudents->WebUsername->CellAttributes() ?>><span id="el_WebUsername"> <input type="text" name="x_WebUsername" id="x_WebUsername" title="<?php echo $CCMStudents->WebUsername->FldTitle() ?>" size="30" maxlength="20" value="<?php echo $CCMStudents->WebUsername->EditValue ?>"<?php echo $CCMStudents->WebUsername->EditAttributes() ?>> </span><?php echo $CCMStudents->WebUsername->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->WebPassword->Visible) { // WebPassword ?> <tr<?php echo $CCMStudents->WebPassword->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->WebPassword->FldCaption() ?></td> <td<?php echo $CCMStudents->WebPassword->CellAttributes() ?>><span id="el_WebPassword"> <input type="text" name="x_WebPassword" id="x_WebPassword" title="<?php echo $CCMStudents->WebPassword->FldTitle() ?>" size="30" maxlength="20" value="<?php echo $CCMStudents->WebPassword->EditValue ?>"<?php echo $CCMStudents->WebPassword->EditAttributes() ?>> </span><?php echo $CCMStudents->WebPassword->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->BlockAccess->Visible) { // BlockAccess ?> <tr<?php echo $CCMStudents->BlockAccess->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->BlockAccess->FldCaption() ?><?php echo $Language->Phrase("FieldRequiredIndicator") ?></td> <td<?php echo $CCMStudents->BlockAccess->CellAttributes() ?>><span id="el_BlockAccess"> <div id="tp_x_BlockAccess" class="<?php echo EW_ITEM_TEMPLATE_CLASSNAME ?>"><label><input type="radio" name="x_BlockAccess" id="x_BlockAccess" title="<?php echo $CCMStudents->BlockAccess->FldTitle() ?>" value="{value}"<?php echo $CCMStudents->BlockAccess->EditAttributes() ?>></label></div> <div id="dsl_x_BlockAccess" repeatcolumn="5"> <?php $arwrk = $CCMStudents->BlockAccess->EditValue; if (is_array($arwrk)) { $rowswrk = count($arwrk); $emptywrk = TRUE; for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) { $selwrk = (strval($CCMStudents->BlockAccess->CurrentValue) == strval($arwrk[$rowcntwrk][0])) ? " checked=\"checked\"" : ""; if ($selwrk <> "") $emptywrk = FALSE; // Note: No spacing within the LABEL tag ?> <?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 1) ?> <label><input type="radio" name="x_BlockAccess" id="x_BlockAccess" title="<?php echo $CCMStudents->BlockAccess->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $CCMStudents->BlockAccess->EditAttributes() ?>><?php echo $arwrk[$rowcntwrk][1] ?></label> <?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 2) ?> <?php } } ?> </div> </span><?php echo $CCMStudents->BlockAccess->CustomMsg ?></td> </tr> <?php } ?> <?php if ($CCMStudents->Archived->Visible) { // Archived ?> <tr<?php echo $CCMStudents->Archived->RowAttributes ?>> <td class="ewTableHeader"><?php echo $CCMStudents->Archived->FldCaption() ?><?php echo $Language->Phrase("FieldRequiredIndicator") ?></td> <td<?php echo $CCMStudents->Archived->CellAttributes() ?>><span id="el_Archived"> <div id="tp_x_Archived" class="<?php echo EW_ITEM_TEMPLATE_CLASSNAME ?>"><label><input type="radio" name="x_Archived" id="x_Archived" title="<?php echo $CCMStudents->Archived->FldTitle() ?>" value="{value}"<?php echo $CCMStudents->Archived->EditAttributes() ?>></label></div> <div id="dsl_x_Archived" repeatcolumn="5"> <?php $arwrk = $CCMStudents->Archived->EditValue; if (is_array($arwrk)) { $rowswrk = count($arwrk); $emptywrk = TRUE; for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) { $selwrk = (strval($CCMStudents->Archived->CurrentValue) == strval($arwrk[$rowcntwrk][0])) ? " checked=\"checked\"" : ""; if ($selwrk <> "") $emptywrk = FALSE; // Note: No spacing within the LABEL tag ?> <?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 1) ?> <label><input type="radio" name="x_Archived" id="x_Archived" title="<?php echo $CCMStudents->Archived->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $CCMStudents->Archived->EditAttributes() ?>><?php echo $arwrk[$rowcntwrk][1] ?></label> <?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 2) ?> <?php } } ?> </div> </span><?php echo $CCMStudents->Archived->CustomMsg ?></td> </tr> <?php } ?> </table> </div> </td></tr></table> <p> <input type="submit" name="btnAction" id="btnAction" value="<?php echo ew_BtnCaption($Language->Phrase("EditBtn")) ?>"> </form> <script language="JavaScript" type="text/javascript"> <!-- // Write your table-specific startup script here // document.write("page loaded"); //--> </script> <?php include "footer.php" ?> <?php $CCMStudents_edit->Page_Terminate(); ?> <?php // // Page class // class cCCMStudents_edit { // Page ID var $PageID = 'edit'; // Table name var $TableName = 'CCMStudents'; // Page object name var $PageObjName = 'CCMStudents_edit'; // Page name function PageName() { return ew_CurrentPage(); } // Page URL function PageUrl() { $PageUrl = ew_CurrentPage() . "?"; global $CCMStudents; if ($CCMStudents->UseTokenInUrl) $PageUrl .= "t=" . $CCMStudents->TableVar . "&"; // Add page token return $PageUrl; } // Page URLs var $AddUrl; var $EditUrl; var $CopyUrl; var $DeleteUrl; var $ViewUrl; var $ListUrl; // Export URLs var $ExportPrintUrl; var $ExportHtmlUrl; var $ExportExcelUrl; var $ExportWordUrl; var $ExportXmlUrl; var $ExportCsvUrl; // Update URLs var $InlineAddUrl; var $InlineCopyUrl; var $InlineEditUrl; var $GridAddUrl; var $GridEditUrl; var $MultiDeleteUrl; var $MultiUpdateUrl; // Message function getMessage() { return @$_SESSION[EW_SESSION_MESSAGE]; } function setMessage($v) { if (@$_SESSION[EW_SESSION_MESSAGE] <> "") { // Append $_SESSION[EW_SESSION_MESSAGE] .= "<br>" . $v; } else { $_SESSION[EW_SESSION_MESSAGE] = $v; } } // Show message function ShowMessage() { $sMessage = $this->getMessage(); $this->Message_Showing($sMessage); if ($sMessage <> "") { // Message in Session, display echo "<p><span class=\"ewMessage\">" . $sMessage . "</span></p>"; $_SESSION[EW_SESSION_MESSAGE] = ""; // Clear message in Session } } // Validate page request function IsPageRequest() { global $objForm, $CCMStudents; if ($CCMStudents->UseTokenInUrl) { if ($objForm) return ($CCMStudents->TableVar == $objForm->GetValue("t")); if (@$_GET["t"] <> "") return ($CCMStudents->TableVar == $_GET["t"]); } else { return TRUE; } } // // Page class constructor // function cCCMStudents_edit() { global $conn, $Language; // Language object $Language = new cLanguage(); // Table object (CCMStudents) $GLOBALS["CCMStudents"] = new cCCMStudents(); // Table object (CCMUsers) $GLOBALS['CCMUsers'] = new cCCMUsers(); // Page ID if (!defined("EW_PAGE_ID")) define("EW_PAGE_ID", 'edit', TRUE); // Table name (for backward compatibility) if (!defined("EW_TABLE_NAME")) define("EW_TABLE_NAME", 'CCMStudents', TRUE); // Start timer $GLOBALS["gsTimer"] = new cTimer(); // Open connection $conn = ew_Connect(); } // // Page_Init // function Page_Init() { global $gsExport, $gsExportFile, $UserProfile, $Language, $Security, $objForm; global $CCMStudents; // Security $Security = new cAdvancedSecurity(); if (!$Security->IsLoggedIn()) $Security->AutoLogin(); if (!$Security->IsLoggedIn()) { $Security->SaveLastUrl(); $this->Page_Terminate("login.php"); } $Security->TablePermission_Loading(); $Security->LoadCurrentUserLevel($this->TableName); $Security->TablePermission_Loaded(); if (!$Security->IsLoggedIn()) { $Security->SaveLastUrl(); $this->Page_Terminate("login.php"); } if (!$Security->CanEdit()) { $Security->SaveLastUrl(); $this->Page_Terminate("CCMStudentslist.php"); } // Create form object $objForm = new cFormObj(); // Global Page Loading event (in userfn*.php) Page_Loading(); // Page Load event $this->Page_Load(); } // // Page_Terminate // function Page_Terminate($url = "") { global $conn; // Page Unload event $this->Page_Unload(); // Global Page Unloaded event (in userfn*.php) Page_Unloaded(); // Close connection $conn->Close(); // Go to URL if specified $this->Page_Redirecting($url); if ($url <> "") { if (!EW_DEBUG_ENABLED && ob_get_length()) ob_end_clean(); header("Location: " . $url); } exit(); } var $sDbMasterFilter; var $sDbDetailFilter; // // Page main // function Page_Main() { global $objForm, $Language, $gsFormError, $CCMStudents; // Load key from QueryString if (@$_GET["CCMStudentID"] <> "") $CCMStudents->CCMStudentID->setQueryStringValue($_GET["CCMStudentID"]); if (@$_POST["a_edit"] <> "") { $CCMStudents->CurrentAction = $_POST["a_edit"]; // Get action code $this->GetUploadFiles(); // Get upload files $this->LoadFormValues(); // Get form values // Validate form if (!$this->ValidateForm()) { $CCMStudents->CurrentAction = ""; // Form error, reset action $this->setMessage($gsFormError); $CCMStudents->EventCancelled = TRUE; // Event cancelled $this->RestoreFormValues(); } } else { $CCMStudents->CurrentAction = "I"; // Default action is display } // Check if valid key if ($CCMStudents->CCMStudentID->CurrentValue == "") $this->Page_Terminate("CCMStudentslist.php"); // Invalid key, return to list switch ($CCMStudents->CurrentAction) { case "I": // Get a record to display if (!$this->LoadRow()) { // Load record based on key $this->setMessage($Language->Phrase("NoRecord")); // No record found $this->Page_Terminate("CCMStudentslist.php"); // No matching record, return to list } break; Case "U": // Update $CCMStudents->SendEmail = TRUE; // Send email on update success if ($this->EditRow()) { // Update record based on key $this->setMessage($Language->Phrase("UpdateSuccess")); // Update success $sReturnUrl = $CCMStudents->getReturnUrl(); if (ew_GetPageName($sReturnUrl) == "CCMStudentsview.php") $sReturnUrl = $CCMStudents->ViewUrl(); // View paging, return to View page directly $this->Page_Terminate($sReturnUrl); // Return to caller } else { $CCMStudents->EventCancelled = TRUE; // Event cancelled $this->RestoreFormValues(); // Restore form values if update failed } } // Render the record $CCMStudents->RowType = EW_ROWTYPE_EDIT; // Render as Edit $this->RenderRow(); } // Get upload files function GetUploadFiles() { global $objForm, $CCMStudents; // Get upload data if ($CCMStudents->DisabilityCertificate->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->DisabilityCertificate->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->Payslip->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->Payslip->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->BankAccountProof->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->BankAccountProof->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->IDFile->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->IDFile->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->CVFile->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->CVFile->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->QualCertificate1->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->QualCertificate1->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->QualCertificate2->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->QualCertificate2->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->QualCertificate3->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->QualCertificate3->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->MentorUndertaking->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->MentorUndertaking->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->CandUUndertaking->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->CandUUndertaking->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->CompanyCandidatePolicy->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->CompanyCandidatePolicy->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->ResidenceProof->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->ResidenceProof->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->SignedAppForm->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->SignedAppForm->Upload->Message; $this->Page_Terminate(); exit(); } if ($CCMStudents->Photograph->Upload->UploadFile()) { // No action required } else { echo $CCMStudents->Photograph->Upload->Message; $this->Page_Terminate(); exit(); } } // Load form values function LoadFormValues() { // Load from form global $objForm, $CCMStudents; $CCMStudents->CCMStudentID->setFormValue($objForm->GetValue("x_CCMStudentID")); $CCMStudents->SelectionCategory->setFormValue($objForm->GetValue("x_SelectionCategory")); $CCMStudents->Title->setFormValue($objForm->GetValue("x_Title")); $CCMStudents->Initials->setFormValue($objForm->GetValue("x_Initials")); $CCMStudents->FirstName->setFormValue($objForm->GetValue("x_FirstName")); $CCMStudents->Surname->setFormValue($objForm->GetValue("x_Surname")); $CCMStudents->KnownAs->setFormValue($objForm->GetValue("x_KnownAs")); $CCMStudents->IDNumber->setFormValue($objForm->GetValue("x_IDNumber")); $CCMStudents->Telephone->setFormValue($objForm->GetValue("x_Telephone")); $CCMStudents->Cellphone->setFormValue($objForm->GetValue("x_Cellphone")); $CCMStudents->EmailAddress->setFormValue($objForm->GetValue("x_EmailAddress")); $CCMStudents->WorkAddress->setFormValue($objForm->GetValue("x_WorkAddress")); $CCMStudents->PostalAddress->setFormValue($objForm->GetValue("x_PostalAddress")); $CCMStudents->Department->setFormValue($objForm->GetValue("x_Department")); $CCMStudents->Organisation->setFormValue($objForm->GetValue("x_Organisation")); $CCMStudents->VATNo->setFormValue($objForm->GetValue("x_VATNo")); $CCMStudents->JobTitle->setFormValue($objForm->GetValue("x_JobTitle")); $CCMStudents->DateofBirth->setFormValue($objForm->GetValue("x_DateofBirth")); $CCMStudents->DateofBirth->CurrentValue = ew_UnFormatDateTime($CCMStudents->DateofBirth->CurrentValue, 5); $CCMStudents->PlaceofBirth->setFormValue($objForm->GetValue("x_PlaceofBirth")); $CCMStudents->CountryofBirth->setFormValue($objForm->GetValue("x_CountryofBirth")); $CCMStudents->Province->setFormValue($objForm->GetValue("x_Province")); $CCMStudents->MaleorFemale->setFormValue($objForm->GetValue("x_MaleorFemale")); $CCMStudents->RaceGroup->setFormValue($objForm->GetValue("x_RaceGroup")); $CCMStudents->Disability->setFormValue($objForm->GetValue("x_Disability")); $CCMStudents->DisabilityNature->setFormValue($objForm->GetValue("x_DisabilityNature")); $CCMStudents->ProfessionalCouncil->setFormValue($objForm->GetValue("x_ProfessionalCouncil")); $CCMStudents->CategoryReg->setFormValue($objForm->GetValue("x_CategoryReg")); $CCMStudents->CouncilRegNumber->setFormValue($objForm->GetValue("x_CouncilRegNumber")); $CCMStudents->LengthCandidateReg->setFormValue($objForm->GetValue("x_LengthCandidateReg")); $CCMStudents->YearsToProfReg->setFormValue($objForm->GetValue("x_YearsToProfReg")); $CCMStudents->FirstJobStart->setFormValue($objForm->GetValue("x_FirstJobStart")); $CCMStudents->VolAssociations->setFormValue($objForm->GetValue("x_VolAssociations")); $CCMStudents->BelongsTo->setFormValue($objForm->GetValue("x_BelongsTo")); $CCMStudents->CESA_SABTACO_MemNum->setFormValue($objForm->GetValue("x_CESA_SABTACO_MemNum")); $CCMStudents->AreaDiscipline->setFormValue($objForm->GetValue("x_AreaDiscipline")); $CCMStudents->AreaSubDiscipline->setFormValue($objForm->GetValue("x_AreaSubDiscipline")); $CCMStudents->Salary->setFormValue($objForm->GetValue("x_Salary")); $CCMStudents->BankAccountName->setFormValue($objForm->GetValue("x_BankAccountName")); $CCMStudents->BankAccountBank->setFormValue($objForm->GetValue("x_BankAccountBank")); $CCMStudents->BankAccountBranch->setFormValue($objForm->GetValue("x_BankAccountBranch")); $CCMStudents->BankAccountNo->setFormValue($objForm->GetValue("x_BankAccountNo")); $CCMStudents->Funding->setFormValue($objForm->GetValue("x_Funding")); $CCMStudents->CWDTP->setFormValue($objForm->GetValue("x_CWDTP")); $CCMStudents->BookedByName->setFormValue($objForm->GetValue("x_BookedByName")); $CCMStudents->BookedByDesignation->setFormValue($objForm->GetValue("x_BookedByDesignation")); $CCMStudents->BookedByTelNo->setFormValue($objForm->GetValue("x_BookedByTelNo")); $CCMStudents->BookedByFaxNo->setFormValue($objForm->GetValue("x_BookedByFaxNo")); $CCMStudents->BookedByCellNo->setFormValue($objForm->GetValue("x_BookedByCellNo")); $CCMStudents->BookedByEmail->setFormValue($objForm->GetValue("x_BookedByEmail")); $CCMStudents->MentorID->setFormValue($objForm->GetValue("x_MentorID")); $CCMStudents->EmployerID->setFormValue($objForm->GetValue("x_EmployerID")); $CCMStudents->HRManagerName->setFormValue($objForm->GetValue("x_HRManagerName")); $CCMStudents->HRManagerDesignation->setFormValue($objForm->GetValue("x_HRManagerDesignation")); $CCMStudents->HRManagerTelNo->setFormValue($objForm->GetValue("x_HRManagerTelNo")); $CCMStudents->HRManagerCellNo->setFormValue($objForm->GetValue("x_HRManagerCellNo")); $CCMStudents->HRManagerEmail->setFormValue($objForm->GetValue("x_HRManagerEmail")); $CCMStudents->SupervisorName->setFormValue($objForm->GetValue("x_SupervisorName")); $CCMStudents->SupervisorDesig->setFormValue($objForm->GetValue("x_SupervisorDesig")); $CCMStudents->SupervisorProfRegNo->setFormValue($objForm->GetValue("x_SupervisorProfRegNo")); $CCMStudents->SupervisorTelNo->setFormValue($objForm->GetValue("x_SupervisorTelNo")); $CCMStudents->SupervisorCellNo->setFormValue($objForm->GetValue("x_SupervisorCellNo")); $CCMStudents->SupervisorEmail->setFormValue($objForm->GetValue("x_SupervisorEmail")); $CCMStudents->EducationalInst->setFormValue($objForm->GetValue("x_EducationalInst")); $CCMStudents->Qualifications->setFormValue($objForm->GetValue("x_Qualifications")); $CCMStudents->DateFinalExam->setFormValue($objForm->GetValue("x_DateFinalExam")); $CCMStudents->StudentNumber->setFormValue($objForm->GetValue("x_StudentNumber")); $CCMStudents->WebUsername->setFormValue($objForm->GetValue("x_WebUsername")); $CCMStudents->WebPassword->setFormValue($objForm->GetValue("x_WebPassword")); $CCMStudents->BlockAccess->setFormValue($objForm->GetValue("x_BlockAccess")); $CCMStudents->Archived->setFormValue($objForm->GetValue("x_Archived")); } // Restore form values function RestoreFormValues() { global $objForm, $CCMStudents; $this->LoadRow(); $CCMStudents->CCMStudentID->CurrentValue = $CCMStudents->CCMStudentID->FormValue; $CCMStudents->SelectionCategory->CurrentValue = $CCMStudents->SelectionCategory->FormValue; $CCMStudents->Title->CurrentValue = $CCMStudents->Title->FormValue; $CCMStudents->Initials->CurrentValue = $CCMStudents->Initials->FormValue; $CCMStudents->FirstName->CurrentValue = $CCMStudents->FirstName->FormValue; $CCMStudents->Surname->CurrentValue = $CCMStudents->Surname->FormValue; $CCMStudents->KnownAs->CurrentValue = $CCMStudents->KnownAs->FormValue; $CCMStudents->IDNumber->CurrentValue = $CCMStudents->IDNumber->FormValue; $CCMStudents->Telephone->CurrentValue = $CCMStudents->Telephone->FormValue; $CCMStudents->Cellphone->CurrentValue = $CCMStudents->Cellphone->FormValue; $CCMStudents->EmailAddress->CurrentValue = $CCMStudents->EmailAddress->FormValue; $CCMStudents->WorkAddress->CurrentValue = $CCMStudents->WorkAddress->FormValue; $CCMStudents->PostalAddress->CurrentValue = $CCMStudents->PostalAddress->FormValue; $CCMStudents->Department->CurrentValue = $CCMStudents->Department->FormValue; $CCMStudents->Organisation->CurrentValue = $CCMStudents->Organisation->FormValue; $CCMStudents->VATNo->CurrentValue = $CCMStudents->VATNo->FormValue; $CCMStudents->JobTitle->CurrentValue = $CCMStudents->JobTitle->FormValue; $CCMStudents->DateofBirth->CurrentValue = $CCMStudents->DateofBirth->FormValue; $CCMStudents->DateofBirth->CurrentValue = ew_UnFormatDateTime($CCMStudents->DateofBirth->CurrentValue, 5); $CCMStudents->PlaceofBirth->CurrentValue = $CCMStudents->PlaceofBirth->FormValue; $CCMStudents->CountryofBirth->CurrentValue = $CCMStudents->CountryofBirth->FormValue; $CCMStudents->Province->CurrentValue = $CCMStudents->Province->FormValue; $CCMStudents->MaleorFemale->CurrentValue = $CCMStudents->MaleorFemale->FormValue; $CCMStudents->RaceGroup->CurrentValue = $CCMStudents->RaceGroup->FormValue; $CCMStudents->Disability->CurrentValue = $CCMStudents->Disability->FormValue; $CCMStudents->DisabilityNature->CurrentValue = $CCMStudents->DisabilityNature->FormValue; $CCMStudents->ProfessionalCouncil->CurrentValue = $CCMStudents->ProfessionalCouncil->FormValue; $CCMStudents->CategoryReg->CurrentValue = $CCMStudents->CategoryReg->FormValue; $CCMStudents->CouncilRegNumber->CurrentValue = $CCMStudents->CouncilRegNumber->FormValue; $CCMStudents->LengthCandidateReg->CurrentValue = $CCMStudents->LengthCandidateReg->FormValue; $CCMStudents->YearsToProfReg->CurrentValue = $CCMStudents->YearsToProfReg->FormValue; $CCMStudents->FirstJobStart->CurrentValue = $CCMStudents->FirstJobStart->FormValue; $CCMStudents->VolAssociations->CurrentValue = $CCMStudents->VolAssociations->FormValue; $CCMStudents->BelongsTo->CurrentValue = $CCMStudents->BelongsTo->FormValue; $CCMStudents->CESA_SABTACO_MemNum->CurrentValue = $CCMStudents->CESA_SABTACO_MemNum->FormValue; $CCMStudents->AreaDiscipline->CurrentValue = $CCMStudents->AreaDiscipline->FormValue; $CCMStudents->AreaSubDiscipline->CurrentValue = $CCMStudents->AreaSubDiscipline->FormValue; $CCMStudents->Salary->CurrentValue = $CCMStudents->Salary->FormValue; $CCMStudents->BankAccountName->CurrentValue = $CCMStudents->BankAccountName->FormValue; $CCMStudents->BankAccountBank->CurrentValue = $CCMStudents->BankAccountBank->FormValue; $CCMStudents->BankAccountBranch->CurrentValue = $CCMStudents->BankAccountBranch->FormValue; $CCMStudents->BankAccountNo->CurrentValue = $CCMStudents->BankAccountNo->FormValue; $CCMStudents->Funding->CurrentValue = $CCMStudents->Funding->FormValue; $CCMStudents->CWDTP->CurrentValue = $CCMStudents->CWDTP->FormValue; $CCMStudents->BookedByName->CurrentValue = $CCMStudents->BookedByName->FormValue; $CCMStudents->BookedByDesignation->CurrentValue = $CCMStudents->BookedByDesignation->FormValue; $CCMStudents->BookedByTelNo->CurrentValue = $CCMStudents->BookedByTelNo->FormValue; $CCMStudents->BookedByFaxNo->CurrentValue = $CCMStudents->BookedByFaxNo->FormValue; $CCMStudents->BookedByCellNo->CurrentValue = $CCMStudents->BookedByCellNo->FormValue; $CCMStudents->BookedByEmail->CurrentValue = $CCMStudents->BookedByEmail->FormValue; $CCMStudents->MentorID->CurrentValue = $CCMStudents->MentorID->FormValue; $CCMStudents->EmployerID->CurrentValue = $CCMStudents->EmployerID->FormValue; $CCMStudents->HRManagerName->CurrentValue = $CCMStudents->HRManagerName->FormValue; $CCMStudents->HRManagerDesignation->CurrentValue = $CCMStudents->HRManagerDesignation->FormValue; $CCMStudents->HRManagerTelNo->CurrentValue = $CCMStudents->HRManagerTelNo->FormValue; $CCMStudents->HRManagerCellNo->CurrentValue = $CCMStudents->HRManagerCellNo->FormValue; $CCMStudents->HRManagerEmail->CurrentValue = $CCMStudents->HRManagerEmail->FormValue; $CCMStudents->SupervisorName->CurrentValue = $CCMStudents->SupervisorName->FormValue; $CCMStudents->SupervisorDesig->CurrentValue = $CCMStudents->SupervisorDesig->FormValue; $CCMStudents->SupervisorProfRegNo->CurrentValue = $CCMStudents->SupervisorProfRegNo->FormValue; $CCMStudents->SupervisorTelNo->CurrentValue = $CCMStudents->SupervisorTelNo->FormValue; $CCMStudents->SupervisorCellNo->CurrentValue = $CCMStudents->SupervisorCellNo->FormValue; $CCMStudents->SupervisorEmail->CurrentValue = $CCMStudents->SupervisorEmail->FormValue; $CCMStudents->EducationalInst->CurrentValue = $CCMStudents->EducationalInst->FormValue; $CCMStudents->Qualifications->CurrentValue = $CCMStudents->Qualifications->FormValue; $CCMStudents->DateFinalExam->CurrentValue = $CCMStudents->DateFinalExam->FormValue; $CCMStudents->StudentNumber->CurrentValue = $CCMStudents->StudentNumber->FormValue; $CCMStudents->WebUsername->CurrentValue = $CCMStudents->WebUsername->FormValue; $CCMStudents->WebPassword->CurrentValue = $CCMStudents->WebPassword->FormValue; $CCMStudents->BlockAccess->CurrentValue = $CCMStudents->BlockAccess->FormValue; $CCMStudents->Archived->CurrentValue = $CCMStudents->Archived->FormValue; } // Load row based on key values function LoadRow() { global $conn, $Security, $CCMStudents; $sFilter = $CCMStudents->KeyFilter(); // Call Row Selecting event $CCMStudents->Row_Selecting($sFilter); // Load SQL based on filter $CCMStudents->CurrentFilter = $sFilter; $sSql = $CCMStudents->SQL(); $res = FALSE; $rs = ew_LoadRecordset($sSql); if ($rs && !$rs->EOF) { $res = TRUE; $this->LoadRowValues($rs); // Load row values // Call Row Selected event $CCMStudents->Row_Selected($rs); $rs->Close(); } return $res; } // Load row values from recordset function LoadRowValues(&$rs) { global $conn, $CCMStudents; $CCMStudents->CCMStudentID->setDbValue($rs->fields('CCMStudentID')); $CCMStudents->SelectionCategory->setDbValue($rs->fields('SelectionCategory')); $CCMStudents->Title->setDbValue($rs->fields('Title')); $CCMStudents->Initials->setDbValue($rs->fields('Initials')); $CCMStudents->FirstName->setDbValue($rs->fields('FirstName')); $CCMStudents->Surname->setDbValue($rs->fields('Surname')); $CCMStudents->KnownAs->setDbValue($rs->fields('KnownAs')); $CCMStudents->IDNumber->setDbValue($rs->fields('IDNumber')); $CCMStudents->Telephone->setDbValue($rs->fields('Telephone')); $CCMStudents->Cellphone->setDbValue($rs->fields('Cellphone')); $CCMStudents->EmailAddress->setDbValue($rs->fields('EmailAddress')); $CCMStudents->WorkAddress->setDbValue($rs->fields('WorkAddress')); $CCMStudents->PostalAddress->setDbValue($rs->fields('PostalAddress')); $CCMStudents->Department->setDbValue($rs->fields('Department')); $CCMStudents->Organisation->setDbValue($rs->fields('Organisation')); $CCMStudents->VATNo->setDbValue($rs->fields('VATNo')); $CCMStudents->JobTitle->setDbValue($rs->fields('JobTitle')); $CCMStudents->DateofBirth->setDbValue($rs->fields('DateofBirth')); $CCMStudents->PlaceofBirth->setDbValue($rs->fields('PlaceofBirth')); $CCMStudents->CountryofBirth->setDbValue($rs->fields('CountryofBirth')); $CCMStudents->Province->setDbValue($rs->fields('Province')); $CCMStudents->MaleorFemale->setDbValue($rs->fields('MaleorFemale')); $CCMStudents->RaceGroup->setDbValue($rs->fields('RaceGroup')); $CCMStudents->Disability->setDbValue($rs->fields('Disability')); $CCMStudents->DisabilityNature->setDbValue($rs->fields('DisabilityNature')); $CCMStudents->DisabilityCertificate->Upload->DbValue = $rs->fields('DisabilityCertificate'); $CCMStudents->ProfessionalCouncil->setDbValue($rs->fields('ProfessionalCouncil')); $CCMStudents->CategoryReg->setDbValue($rs->fields('CategoryReg')); $CCMStudents->CouncilRegNumber->setDbValue($rs->fields('CouncilRegNumber')); $CCMStudents->LengthCandidateReg->setDbValue($rs->fields('LengthCandidateReg')); $CCMStudents->YearsToProfReg->setDbValue($rs->fields('YearsToProfReg')); $CCMStudents->FirstJobStart->setDbValue($rs->fields('FirstJobStart')); $CCMStudents->VolAssociations->setDbValue($rs->fields('VolAssociations')); $CCMStudents->BelongsTo->setDbValue($rs->fields('BelongsTo')); $CCMStudents->CESA_SABTACO_MemNum->setDbValue($rs->fields('CESA_SABTACO_MemNum')); $CCMStudents->AreaDiscipline->setDbValue($rs->fields('AreaDiscipline')); $CCMStudents->AreaSubDiscipline->setDbValue($rs->fields('AreaSubDiscipline')); $CCMStudents->Salary->setDbValue($rs->fields('Salary')); $CCMStudents->Payslip->Upload->DbValue = $rs->fields('Payslip'); $CCMStudents->BankAccountName->setDbValue($rs->fields('BankAccountName')); $CCMStudents->BankAccountBank->setDbValue($rs->fields('BankAccountBank')); $CCMStudents->BankAccountBranch->setDbValue($rs->fields('BankAccountBranch')); $CCMStudents->BankAccountNo->setDbValue($rs->fields('BankAccountNo')); $CCMStudents->BankAccountProof->Upload->DbValue = $rs->fields('BankAccountProof'); $CCMStudents->Funding->setDbValue($rs->fields('Funding')); $CCMStudents->CWDTP->setDbValue($rs->fields('CWDTP')); $CCMStudents->BookedByName->setDbValue($rs->fields('BookedByName')); $CCMStudents->BookedByDesignation->setDbValue($rs->fields('BookedByDesignation')); $CCMStudents->BookedByTelNo->setDbValue($rs->fields('BookedByTelNo')); $CCMStudents->BookedByFaxNo->setDbValue($rs->fields('BookedByFaxNo')); $CCMStudents->BookedByCellNo->setDbValue($rs->fields('BookedByCellNo')); $CCMStudents->BookedByEmail->setDbValue($rs->fields('BookedByEmail')); $CCMStudents->MentorID->setDbValue($rs->fields('MentorID')); $CCMStudents->MentorName->setDbValue($rs->fields('MentorName')); $CCMStudents->MentorDesig->setDbValue($rs->fields('MentorDesig')); $CCMStudents->MentorProfRegNo->setDbValue($rs->fields('MentorProfRegNo')); $CCMStudents->MentorRegNo->setDbValue($rs->fields('MentorRegNo')); $CCMStudents->MentorTel->setDbValue($rs->fields('MentorTel')); $CCMStudents->MentorCell->setDbValue($rs->fields('MentorCell')); $CCMStudents->MentorEmail->setDbValue($rs->fields('MentorEmail')); $CCMStudents->EmployerID->setDbValue($rs->fields('EmployerID')); $CCMStudents->HRManagerName->setDbValue($rs->fields('HRManagerName')); $CCMStudents->HRManagerDesignation->setDbValue($rs->fields('HRManagerDesignation')); $CCMStudents->HRManagerTelNo->setDbValue($rs->fields('HRManagerTelNo')); $CCMStudents->HRManagerCellNo->setDbValue($rs->fields('HRManagerCellNo')); $CCMStudents->HRManagerEmail->setDbValue($rs->fields('HRManagerEmail')); $CCMStudents->SupervisorName->setDbValue($rs->fields('SupervisorName')); $CCMStudents->SupervisorDesig->setDbValue($rs->fields('SupervisorDesig')); $CCMStudents->SupervisorProfRegNo->setDbValue($rs->fields('SupervisorProfRegNo')); $CCMStudents->SupervisorTelNo->setDbValue($rs->fields('SupervisorTelNo')); $CCMStudents->SupervisorCellNo->setDbValue($rs->fields('SupervisorCellNo')); $CCMStudents->SupervisorEmail->setDbValue($rs->fields('SupervisorEmail')); $CCMStudents->EducationalInst->setDbValue($rs->fields('EducationalInst')); $CCMStudents->Qualifications->setDbValue($rs->fields('Qualifications')); $CCMStudents->DateFinalExam->setDbValue($rs->fields('DateFinalExam')); $CCMStudents->IDFile->Upload->DbValue = $rs->fields('IDFile'); $CCMStudents->CVFile->Upload->DbValue = $rs->fields('CVFile'); $CCMStudents->QualCertificate1->Upload->DbValue = $rs->fields('QualCertificate1'); $CCMStudents->QualCertificate2->Upload->DbValue = $rs->fields('QualCertificate2'); $CCMStudents->QualCertificate3->Upload->DbValue = $rs->fields('QualCertificate3'); $CCMStudents->MentorUndertaking->Upload->DbValue = $rs->fields('MentorUndertaking'); $CCMStudents->CandUUndertaking->Upload->DbValue = $rs->fields('CandUUndertaking'); $CCMStudents->CompanyCandidatePolicy->Upload->DbValue = $rs->fields('CompanyCandidatePolicy'); $CCMStudents->ResidenceProof->Upload->DbValue = $rs->fields('ResidenceProof'); $CCMStudents->SignedAppForm->Upload->DbValue = $rs->fields('SignedAppForm'); $CCMStudents->Photograph->Upload->DbValue = $rs->fields('Photograph'); $CCMStudents->StudentNumber->setDbValue($rs->fields('StudentNumber')); $CCMStudents->WebUsername->setDbValue($rs->fields('WebUsername')); $CCMStudents->WebPassword->setDbValue($rs->fields('WebPassword')); $CCMStudents->BlockAccess->setDbValue($rs->fields('BlockAccess')); $CCMStudents->SABTACO->setDbValue($rs->fields('SABTACO')); $CCMStudents->CESA->setDbValue($rs->fields('CESA')); $CCMStudents->Archived->setDbValue($rs->fields('Archived')); } // Render row values based on field settings function RenderRow() { global $conn, $Security, $Language, $CCMStudents; // Initialize URLs // Call Row_Rendering event $CCMStudents->Row_Rendering(); // Common render codes for all row types // CCMStudentID $CCMStudents->CCMStudentID->CellCssStyle = ""; $CCMStudents->CCMStudentID->CellCssClass = ""; $CCMStudents->CCMStudentID->CellAttrs = array(); $CCMStudents->CCMStudentID->ViewAttrs = array(); $CCMStudents->CCMStudentID->EditAttrs = array(); // SelectionCategory $CCMStudents->SelectionCategory->CellCssStyle = ""; $CCMStudents->SelectionCategory->CellCssClass = ""; $CCMStudents->SelectionCategory->CellAttrs = array(); $CCMStudents->SelectionCategory->ViewAttrs = array(); $CCMStudents->SelectionCategory->EditAttrs = array(); // Title $CCMStudents->Title->CellCssStyle = ""; $CCMStudents->Title->CellCssClass = ""; $CCMStudents->Title->CellAttrs = array(); $CCMStudents->Title->ViewAttrs = array(); $CCMStudents->Title->EditAttrs = array(); // Initials $CCMStudents->Initials->CellCssStyle = ""; $CCMStudents->Initials->CellCssClass = ""; $CCMStudents->Initials->CellAttrs = array(); $CCMStudents->Initials->ViewAttrs = array(); $CCMStudents->Initials->EditAttrs = array(); // FirstName $CCMStudents->FirstName->CellCssStyle = ""; $CCMStudents->FirstName->CellCssClass = ""; $CCMStudents->FirstName->CellAttrs = array(); $CCMStudents->FirstName->ViewAttrs = array(); $CCMStudents->FirstName->EditAttrs = array(); // Surname $CCMStudents->Surname->CellCssStyle = ""; $CCMStudents->Surname->CellCssClass = ""; $CCMStudents->Surname->CellAttrs = array(); $CCMStudents->Surname->ViewAttrs = array(); $CCMStudents->Surname->EditAttrs = array(); // KnownAs $CCMStudents->KnownAs->CellCssStyle = ""; $CCMStudents->KnownAs->CellCssClass = ""; $CCMStudents->KnownAs->CellAttrs = array(); $CCMStudents->KnownAs->ViewAttrs = array(); $CCMStudents->KnownAs->EditAttrs = array(); // IDNumber $CCMStudents->IDNumber->CellCssStyle = ""; $CCMStudents->IDNumber->CellCssClass = ""; $CCMStudents->IDNumber->CellAttrs = array(); $CCMStudents->IDNumber->ViewAttrs = array(); $CCMStudents->IDNumber->EditAttrs = array(); // Telephone $CCMStudents->Telephone->CellCssStyle = ""; $CCMStudents->Telephone->CellCssClass = ""; $CCMStudents->Telephone->CellAttrs = array(); $CCMStudents->Telephone->ViewAttrs = array(); $CCMStudents->Telephone->EditAttrs = array(); // Cellphone $CCMStudents->Cellphone->CellCssStyle = ""; $CCMStudents->Cellphone->CellCssClass = ""; $CCMStudents->Cellphone->CellAttrs = array(); $CCMStudents->Cellphone->ViewAttrs = array(); $CCMStudents->Cellphone->EditAttrs = array(); // EmailAddress $CCMStudents->EmailAddress->CellCssStyle = ""; $CCMStudents->EmailAddress->CellCssClass = ""; $CCMStudents->EmailAddress->CellAttrs = array(); $CCMStudents->EmailAddress->ViewAttrs = array(); $CCMStudents->EmailAddress->EditAttrs = array(); // WorkAddress $CCMStudents->WorkAddress->CellCssStyle = ""; $CCMStudents->WorkAddress->CellCssClass = ""; $CCMStudents->WorkAddress->CellAttrs = array(); $CCMStudents->WorkAddress->ViewAttrs = array(); $CCMStudents->WorkAddress->EditAttrs = array(); // PostalAddress $CCMStudents->PostalAddress->CellCssStyle = ""; $CCMStudents->PostalAddress->CellCssClass = ""; $CCMStudents->PostalAddress->CellAttrs = array(); $CCMStudents->PostalAddress->ViewAttrs = array(); $CCMStudents->PostalAddress->EditAttrs = array(); // Department $CCMStudents->Department->CellCssStyle = ""; $CCMStudents->Department->CellCssClass = ""; $CCMStudents->Department->CellAttrs = array(); $CCMStudents->Department->ViewAttrs = array(); $CCMStudents->Department->EditAttrs = array(); // Organisation $CCMStudents->Organisation->CellCssStyle = ""; $CCMStudents->Organisation->CellCssClass = ""; $CCMStudents->Organisation->CellAttrs = array(); $CCMStudents->Organisation->ViewAttrs = array(); $CCMStudents->Organisation->EditAttrs = array(); // VATNo $CCMStudents->VATNo->CellCssStyle = ""; $CCMStudents->VATNo->CellCssClass = ""; $CCMStudents->VATNo->CellAttrs = array(); $CCMStudents->VATNo->ViewAttrs = array(); $CCMStudents->VATNo->EditAttrs = array(); // JobTitle $CCMStudents->JobTitle->CellCssStyle = ""; $CCMStudents->JobTitle->CellCssClass = ""; $CCMStudents->JobTitle->CellAttrs = array(); $CCMStudents->JobTitle->ViewAttrs = array(); $CCMStudents->JobTitle->EditAttrs = array(); // DateofBirth $CCMStudents->DateofBirth->CellCssStyle = ""; $CCMStudents->DateofBirth->CellCssClass = ""; $CCMStudents->DateofBirth->CellAttrs = array(); $CCMStudents->DateofBirth->ViewAttrs = array(); $CCMStudents->DateofBirth->EditAttrs = array(); // PlaceofBirth $CCMStudents->PlaceofBirth->CellCssStyle = ""; $CCMStudents->PlaceofBirth->CellCssClass = ""; $CCMStudents->PlaceofBirth->CellAttrs = array(); $CCMStudents->PlaceofBirth->ViewAttrs = array(); $CCMStudents->PlaceofBirth->EditAttrs = array(); // CountryofBirth $CCMStudents->CountryofBirth->CellCssStyle = ""; $CCMStudents->CountryofBirth->CellCssClass = ""; $CCMStudents->CountryofBirth->CellAttrs = array(); $CCMStudents->CountryofBirth->ViewAttrs = array(); $CCMStudents->CountryofBirth->EditAttrs = array(); // Province $CCMStudents->Province->CellCssStyle = ""; $CCMStudents->Province->CellCssClass = ""; $CCMStudents->Province->CellAttrs = array(); $CCMStudents->Province->ViewAttrs = array(); $CCMStudents->Province->EditAttrs = array(); // MaleorFemale $CCMStudents->MaleorFemale->CellCssStyle = ""; $CCMStudents->MaleorFemale->CellCssClass = ""; $CCMStudents->MaleorFemale->CellAttrs = array(); $CCMStudents->MaleorFemale->ViewAttrs = array(); $CCMStudents->MaleorFemale->EditAttrs = array(); // RaceGroup $CCMStudents->RaceGroup->CellCssStyle = ""; $CCMStudents->RaceGroup->CellCssClass = ""; $CCMStudents->RaceGroup->CellAttrs = array(); $CCMStudents->RaceGroup->ViewAttrs = array(); $CCMStudents->RaceGroup->EditAttrs = array(); // Disability $CCMStudents->Disability->CellCssStyle = ""; $CCMStudents->Disability->CellCssClass = ""; $CCMStudents->Disability->CellAttrs = array(); $CCMStudents->Disability->ViewAttrs = array(); $CCMStudents->Disability->EditAttrs = array(); // DisabilityNature $CCMStudents->DisabilityNature->CellCssStyle = ""; $CCMStudents->DisabilityNature->CellCssClass = ""; $CCMStudents->DisabilityNature->CellAttrs = array(); $CCMStudents->DisabilityNature->ViewAttrs = array(); $CCMStudents->DisabilityNature->EditAttrs = array(); // DisabilityCertificate $CCMStudents->DisabilityCertificate->CellCssStyle = ""; $CCMStudents->DisabilityCertificate->CellCssClass = ""; $CCMStudents->DisabilityCertificate->CellAttrs = array(); $CCMStudents->DisabilityCertificate->ViewAttrs = array(); $CCMStudents->DisabilityCertificate->EditAttrs = array(); // ProfessionalCouncil $CCMStudents->ProfessionalCouncil->CellCssStyle = ""; $CCMStudents->ProfessionalCouncil->CellCssClass = ""; $CCMStudents->ProfessionalCouncil->CellAttrs = array(); $CCMStudents->ProfessionalCouncil->ViewAttrs = array(); $CCMStudents->ProfessionalCouncil->EditAttrs = array(); // CategoryReg $CCMStudents->CategoryReg->CellCssStyle = ""; $CCMStudents->CategoryReg->CellCssClass = ""; $CCMStudents->CategoryReg->CellAttrs = array(); $CCMStudents->CategoryReg->ViewAttrs = array(); $CCMStudents->CategoryReg->EditAttrs = array(); // CouncilRegNumber $CCMStudents->CouncilRegNumber->CellCssStyle = ""; $CCMStudents->CouncilRegNumber->CellCssClass = ""; $CCMStudents->CouncilRegNumber->CellAttrs = array(); $CCMStudents->CouncilRegNumber->ViewAttrs = array(); $CCMStudents->CouncilRegNumber->EditAttrs = array(); // LengthCandidateReg $CCMStudents->LengthCandidateReg->CellCssStyle = ""; $CCMStudents->LengthCandidateReg->CellCssClass = ""; $CCMStudents->LengthCandidateReg->CellAttrs = array(); $CCMStudents->LengthCandidateReg->ViewAttrs = array(); $CCMStudents->LengthCandidateReg->EditAttrs = array(); // YearsToProfReg $CCMStudents->YearsToProfReg->CellCssStyle = ""; $CCMStudents->YearsToProfReg->CellCssClass = ""; $CCMStudents->YearsToProfReg->CellAttrs = array(); $CCMStudents->YearsToProfReg->ViewAttrs = array(); $CCMStudents->YearsToProfReg->EditAttrs = array(); // FirstJobStart $CCMStudents->FirstJobStart->CellCssStyle = ""; $CCMStudents->FirstJobStart->CellCssClass = ""; $CCMStudents->FirstJobStart->CellAttrs = array(); $CCMStudents->FirstJobStart->ViewAttrs = array(); $CCMStudents->FirstJobStart->EditAttrs = array(); // VolAssociations $CCMStudents->VolAssociations->CellCssStyle = ""; $CCMStudents->VolAssociations->CellCssClass = ""; $CCMStudents->VolAssociations->CellAttrs = array(); $CCMStudents->VolAssociations->ViewAttrs = array(); $CCMStudents->VolAssociations->EditAttrs = array(); // BelongsTo $CCMStudents->BelongsTo->CellCssStyle = ""; $CCMStudents->BelongsTo->CellCssClass = ""; $CCMStudents->BelongsTo->CellAttrs = array(); $CCMStudents->BelongsTo->ViewAttrs = array(); $CCMStudents->BelongsTo->EditAttrs = array(); // CESA_SABTACO_MemNum $CCMStudents->CESA_SABTACO_MemNum->CellCssStyle = ""; $CCMStudents->CESA_SABTACO_MemNum->CellCssClass = ""; $CCMStudents->CESA_SABTACO_MemNum->CellAttrs = array(); $CCMStudents->CESA_SABTACO_MemNum->ViewAttrs = array(); $CCMStudents->CESA_SABTACO_MemNum->EditAttrs = array(); // AreaDiscipline $CCMStudents->AreaDiscipline->CellCssStyle = ""; $CCMStudents->AreaDiscipline->CellCssClass = ""; $CCMStudents->AreaDiscipline->CellAttrs = array(); $CCMStudents->AreaDiscipline->ViewAttrs = array(); $CCMStudents->AreaDiscipline->EditAttrs = array(); // AreaSubDiscipline $CCMStudents->AreaSubDiscipline->CellCssStyle = ""; $CCMStudents->AreaSubDiscipline->CellCssClass = ""; $CCMStudents->AreaSubDiscipline->CellAttrs = array(); $CCMStudents->AreaSubDiscipline->ViewAttrs = array(); $CCMStudents->AreaSubDiscipline->EditAttrs = array(); // Salary $CCMStudents->Salary->CellCssStyle = ""; $CCMStudents->Salary->CellCssClass = ""; $CCMStudents->Salary->CellAttrs = array(); $CCMStudents->Salary->ViewAttrs = array(); $CCMStudents->Salary->EditAttrs = array(); // Payslip $CCMStudents->Payslip->CellCssStyle = ""; $CCMStudents->Payslip->CellCssClass = ""; $CCMStudents->Payslip->CellAttrs = array(); $CCMStudents->Payslip->ViewAttrs = array(); $CCMStudents->Payslip->EditAttrs = array(); // BankAccountName $CCMStudents->BankAccountName->CellCssStyle = ""; $CCMStudents->BankAccountName->CellCssClass = ""; $CCMStudents->BankAccountName->CellAttrs = array(); $CCMStudents->BankAccountName->ViewAttrs = array(); $CCMStudents->BankAccountName->EditAttrs = array(); // BankAccountBank $CCMStudents->BankAccountBank->CellCssStyle = ""; $CCMStudents->BankAccountBank->CellCssClass = ""; $CCMStudents->BankAccountBank->CellAttrs = array(); $CCMStudents->BankAccountBank->ViewAttrs = array(); $CCMStudents->BankAccountBank->EditAttrs = array(); // BankAccountBranch $CCMStudents->BankAccountBranch->CellCssStyle = ""; $CCMStudents->BankAccountBranch->CellCssClass = ""; $CCMStudents->BankAccountBranch->CellAttrs = array(); $CCMStudents->BankAccountBranch->ViewAttrs = array(); $CCMStudents->BankAccountBranch->EditAttrs = array(); // BankAccountNo $CCMStudents->BankAccountNo->CellCssStyle = ""; $CCMStudents->BankAccountNo->CellCssClass = ""; $CCMStudents->BankAccountNo->CellAttrs = array(); $CCMStudents->BankAccountNo->ViewAttrs = array(); $CCMStudents->BankAccountNo->EditAttrs = array(); // BankAccountProof $CCMStudents->BankAccountProof->CellCssStyle = ""; $CCMStudents->BankAccountProof->CellCssClass = ""; $CCMStudents->BankAccountProof->CellAttrs = array(); $CCMStudents->BankAccountProof->ViewAttrs = array(); $CCMStudents->BankAccountProof->EditAttrs = array(); // Funding $CCMStudents->Funding->CellCssStyle = ""; $CCMStudents->Funding->CellCssClass = ""; $CCMStudents->Funding->CellAttrs = array(); $CCMStudents->Funding->ViewAttrs = array(); $CCMStudents->Funding->EditAttrs = array(); // CWDTP $CCMStudents->CWDTP->CellCssStyle = ""; $CCMStudents->CWDTP->CellCssClass = ""; $CCMStudents->CWDTP->CellAttrs = array(); $CCMStudents->CWDTP->ViewAttrs = array(); $CCMStudents->CWDTP->EditAttrs = array(); // BookedByName $CCMStudents->BookedByName->CellCssStyle = ""; $CCMStudents->BookedByName->CellCssClass = ""; $CCMStudents->BookedByName->CellAttrs = array(); $CCMStudents->BookedByName->ViewAttrs = array(); $CCMStudents->BookedByName->EditAttrs = array(); // BookedByDesignation $CCMStudents->BookedByDesignation->CellCssStyle = ""; $CCMStudents->BookedByDesignation->CellCssClass = ""; $CCMStudents->BookedByDesignation->CellAttrs = array(); $CCMStudents->BookedByDesignation->ViewAttrs = array(); $CCMStudents->BookedByDesignation->EditAttrs = array(); // BookedByTelNo $CCMStudents->BookedByTelNo->CellCssStyle = ""; $CCMStudents->BookedByTelNo->CellCssClass = ""; $CCMStudents->BookedByTelNo->CellAttrs = array(); $CCMStudents->BookedByTelNo->ViewAttrs = array(); $CCMStudents->BookedByTelNo->EditAttrs = array(); // BookedByFaxNo $CCMStudents->BookedByFaxNo->CellCssStyle = ""; $CCMStudents->BookedByFaxNo->CellCssClass = ""; $CCMStudents->BookedByFaxNo->CellAttrs = array(); $CCMStudents->BookedByFaxNo->ViewAttrs = array(); $CCMStudents->BookedByFaxNo->EditAttrs = array(); // BookedByCellNo $CCMStudents->BookedByCellNo->CellCssStyle = ""; $CCMStudents->BookedByCellNo->CellCssClass = ""; $CCMStudents->BookedByCellNo->CellAttrs = array(); $CCMStudents->BookedByCellNo->ViewAttrs = array(); $CCMStudents->BookedByCellNo->EditAttrs = array(); // BookedByEmail $CCMStudents->BookedByEmail->CellCssStyle = ""; $CCMStudents->BookedByEmail->CellCssClass = ""; $CCMStudents->BookedByEmail->CellAttrs = array(); $CCMStudents->BookedByEmail->ViewAttrs = array(); $CCMStudents->BookedByEmail->EditAttrs = array(); // MentorID $CCMStudents->MentorID->CellCssStyle = ""; $CCMStudents->MentorID->CellCssClass = ""; $CCMStudents->MentorID->CellAttrs = array(); $CCMStudents->MentorID->ViewAttrs = array(); $CCMStudents->MentorID->EditAttrs = array(); // EmployerID $CCMStudents->EmployerID->CellCssStyle = ""; $CCMStudents->EmployerID->CellCssClass = ""; $CCMStudents->EmployerID->CellAttrs = array(); $CCMStudents->EmployerID->ViewAttrs = array(); $CCMStudents->EmployerID->EditAttrs = array(); // HRManagerName $CCMStudents->HRManagerName->CellCssStyle = ""; $CCMStudents->HRManagerName->CellCssClass = ""; $CCMStudents->HRManagerName->CellAttrs = array(); $CCMStudents->HRManagerName->ViewAttrs = array(); $CCMStudents->HRManagerName->EditAttrs = array(); // HRManagerDesignation $CCMStudents->HRManagerDesignation->CellCssStyle = ""; $CCMStudents->HRManagerDesignation->CellCssClass = ""; $CCMStudents->HRManagerDesignation->CellAttrs = array(); $CCMStudents->HRManagerDesignation->ViewAttrs = array(); $CCMStudents->HRManagerDesignation->EditAttrs = array(); // HRManagerTelNo $CCMStudents->HRManagerTelNo->CellCssStyle = ""; $CCMStudents->HRManagerTelNo->CellCssClass = ""; $CCMStudents->HRManagerTelNo->CellAttrs = array(); $CCMStudents->HRManagerTelNo->ViewAttrs = array(); $CCMStudents->HRManagerTelNo->EditAttrs = array(); // HRManagerCellNo $CCMStudents->HRManagerCellNo->CellCssStyle = ""; $CCMStudents->HRManagerCellNo->CellCssClass = ""; $CCMStudents->HRManagerCellNo->CellAttrs = array(); $CCMStudents->HRManagerCellNo->ViewAttrs = array(); $CCMStudents->HRManagerCellNo->EditAttrs = array(); // HRManagerEmail $CCMStudents->HRManagerEmail->CellCssStyle = ""; $CCMStudents->HRManagerEmail->CellCssClass = ""; $CCMStudents->HRManagerEmail->CellAttrs = array(); $CCMStudents->HRManagerEmail->ViewAttrs = array(); $CCMStudents->HRManagerEmail->EditAttrs = array(); // SupervisorName $CCMStudents->SupervisorName->CellCssStyle = ""; $CCMStudents->SupervisorName->CellCssClass = ""; $CCMStudents->SupervisorName->CellAttrs = array(); $CCMStudents->SupervisorName->ViewAttrs = array(); $CCMStudents->SupervisorName->EditAttrs = array(); // SupervisorDesig $CCMStudents->SupervisorDesig->CellCssStyle = ""; $CCMStudents->SupervisorDesig->CellCssClass = ""; $CCMStudents->SupervisorDesig->CellAttrs = array(); $CCMStudents->SupervisorDesig->ViewAttrs = array(); $CCMStudents->SupervisorDesig->EditAttrs = array(); // SupervisorProfRegNo $CCMStudents->SupervisorProfRegNo->CellCssStyle = ""; $CCMStudents->SupervisorProfRegNo->CellCssClass = ""; $CCMStudents->SupervisorProfRegNo->CellAttrs = array(); $CCMStudents->SupervisorProfRegNo->ViewAttrs = array(); $CCMStudents->SupervisorProfRegNo->EditAttrs = array(); // SupervisorTelNo $CCMStudents->SupervisorTelNo->CellCssStyle = ""; $CCMStudents->SupervisorTelNo->CellCssClass = ""; $CCMStudents->SupervisorTelNo->CellAttrs = array(); $CCMStudents->SupervisorTelNo->ViewAttrs = array(); $CCMStudents->SupervisorTelNo->EditAttrs = array(); // SupervisorCellNo $CCMStudents->SupervisorCellNo->CellCssStyle = ""; $CCMStudents->SupervisorCellNo->CellCssClass = ""; $CCMStudents->SupervisorCellNo->CellAttrs = array(); $CCMStudents->SupervisorCellNo->ViewAttrs = array(); $CCMStudents->SupervisorCellNo->EditAttrs = array(); // SupervisorEmail $CCMStudents->SupervisorEmail->CellCssStyle = ""; $CCMStudents->SupervisorEmail->CellCssClass = ""; $CCMStudents->SupervisorEmail->CellAttrs = array(); $CCMStudents->SupervisorEmail->ViewAttrs = array(); $CCMStudents->SupervisorEmail->EditAttrs = array(); // EducationalInst $CCMStudents->EducationalInst->CellCssStyle = ""; $CCMStudents->EducationalInst->CellCssClass = ""; $CCMStudents->EducationalInst->CellAttrs = array(); $CCMStudents->EducationalInst->ViewAttrs = array(); $CCMStudents->EducationalInst->EditAttrs = array(); // Qualifications $CCMStudents->Qualifications->CellCssStyle = ""; $CCMStudents->Qualifications->CellCssClass = ""; $CCMStudents->Qualifications->CellAttrs = array(); $CCMStudents->Qualifications->ViewAttrs = array(); $CCMStudents->Qualifications->EditAttrs = array(); // DateFinalExam $CCMStudents->DateFinalExam->CellCssStyle = ""; $CCMStudents->DateFinalExam->CellCssClass = ""; $CCMStudents->DateFinalExam->CellAttrs = array(); $CCMStudents->DateFinalExam->ViewAttrs = array(); $CCMStudents->DateFinalExam->EditAttrs = array(); // IDFile $CCMStudents->IDFile->CellCssStyle = ""; $CCMStudents->IDFile->CellCssClass = ""; $CCMStudents->IDFile->CellAttrs = array(); $CCMStudents->IDFile->ViewAttrs = array(); $CCMStudents->IDFile->EditAttrs = array(); // CVFile $CCMStudents->CVFile->CellCssStyle = ""; $CCMStudents->CVFile->CellCssClass = ""; $CCMStudents->CVFile->CellAttrs = array(); $CCMStudents->CVFile->ViewAttrs = array(); $CCMStudents->CVFile->EditAttrs = array(); // QualCertificate1 $CCMStudents->QualCertificate1->CellCssStyle = ""; $CCMStudents->QualCertificate1->CellCssClass = ""; $CCMStudents->QualCertificate1->CellAttrs = array(); $CCMStudents->QualCertificate1->ViewAttrs = array(); $CCMStudents->QualCertificate1->EditAttrs = array(); // QualCertificate2 $CCMStudents->QualCertificate2->CellCssStyle = ""; $CCMStudents->QualCertificate2->CellCssClass = ""; $CCMStudents->QualCertificate2->CellAttrs = array(); $CCMStudents->QualCertificate2->ViewAttrs = array(); $CCMStudents->QualCertificate2->EditAttrs = array(); // QualCertificate3 $CCMStudents->QualCertificate3->CellCssStyle = ""; $CCMStudents->QualCertificate3->CellCssClass = ""; $CCMStudents->QualCertificate3->CellAttrs = array(); $CCMStudents->QualCertificate3->ViewAttrs = array(); $CCMStudents->QualCertificate3->EditAttrs = array(); // MentorUndertaking $CCMStudents->MentorUndertaking->CellCssStyle = ""; $CCMStudents->MentorUndertaking->CellCssClass = ""; $CCMStudents->MentorUndertaking->CellAttrs = array(); $CCMStudents->MentorUndertaking->ViewAttrs = array(); $CCMStudents->MentorUndertaking->EditAttrs = array(); // CandUUndertaking $CCMStudents->CandUUndertaking->CellCssStyle = ""; $CCMStudents->CandUUndertaking->CellCssClass = ""; $CCMStudents->CandUUndertaking->CellAttrs = array(); $CCMStudents->CandUUndertaking->ViewAttrs = array(); $CCMStudents->CandUUndertaking->EditAttrs = array(); // CompanyCandidatePolicy $CCMStudents->CompanyCandidatePolicy->CellCssStyle = ""; $CCMStudents->CompanyCandidatePolicy->CellCssClass = ""; $CCMStudents->CompanyCandidatePolicy->CellAttrs = array(); $CCMStudents->CompanyCandidatePolicy->ViewAttrs = array(); $CCMStudents->CompanyCandidatePolicy->EditAttrs = array(); // ResidenceProof $CCMStudents->ResidenceProof->CellCssStyle = ""; $CCMStudents->ResidenceProof->CellCssClass = ""; $CCMStudents->ResidenceProof->CellAttrs = array(); $CCMStudents->ResidenceProof->ViewAttrs = array(); $CCMStudents->ResidenceProof->EditAttrs = array(); // SignedAppForm $CCMStudents->SignedAppForm->CellCssStyle = ""; $CCMStudents->SignedAppForm->CellCssClass = ""; $CCMStudents->SignedAppForm->CellAttrs = array(); $CCMStudents->SignedAppForm->ViewAttrs = array(); $CCMStudents->SignedAppForm->EditAttrs = array(); // Photograph $CCMStudents->Photograph->CellCssStyle = ""; $CCMStudents->Photograph->CellCssClass = ""; $CCMStudents->Photograph->CellAttrs = array(); $CCMStudents->Photograph->ViewAttrs = array(); $CCMStudents->Photograph->EditAttrs = array(); // StudentNumber $CCMStudents->StudentNumber->CellCssStyle = ""; $CCMStudents->StudentNumber->CellCssClass = ""; $CCMStudents->StudentNumber->CellAttrs = array(); $CCMStudents->StudentNumber->ViewAttrs = array(); $CCMStudents->StudentNumber->EditAttrs = array(); // WebUsername $CCMStudents->WebUsername->CellCssStyle = ""; $CCMStudents->WebUsername->CellCssClass = ""; $CCMStudents->WebUsername->CellAttrs = array(); $CCMStudents->WebUsername->ViewAttrs = array(); $CCMStudents->WebUsername->EditAttrs = array(); // WebPassword $CCMStudents->WebPassword->CellCssStyle = ""; $CCMStudents->WebPassword->CellCssClass = ""; $CCMStudents->WebPassword->CellAttrs = array(); $CCMStudents->WebPassword->ViewAttrs = array(); $CCMStudents->WebPassword->EditAttrs = array(); // BlockAccess $CCMStudents->BlockAccess->CellCssStyle = ""; $CCMStudents->BlockAccess->CellCssClass = ""; $CCMStudents->BlockAccess->CellAttrs = array(); $CCMStudents->BlockAccess->ViewAttrs = array(); $CCMStudents->BlockAccess->EditAttrs = array(); // Archived $CCMStudents->Archived->CellCssStyle = ""; $CCMStudents->Archived->CellCssClass = ""; $CCMStudents->Archived->CellAttrs = array(); $CCMStudents->Archived->ViewAttrs = array(); $CCMStudents->Archived->EditAttrs = array(); if ($CCMStudents->RowType == EW_ROWTYPE_VIEW) { // View row // CCMStudentID $CCMStudents->CCMStudentID->ViewValue = $CCMStudents->CCMStudentID->CurrentValue; $CCMStudents->CCMStudentID->CssStyle = ""; $CCMStudents->CCMStudentID->CssClass = ""; $CCMStudents->CCMStudentID->ViewCustomAttributes = ""; // SelectionCategory $CCMStudents->SelectionCategory->ViewValue = $CCMStudents->SelectionCategory->CurrentValue; $CCMStudents->SelectionCategory->CssStyle = ""; $CCMStudents->SelectionCategory->CssClass = ""; $CCMStudents->SelectionCategory->ViewCustomAttributes = ""; // Title $CCMStudents->Title->ViewValue = $CCMStudents->Title->CurrentValue; $CCMStudents->Title->CssStyle = ""; $CCMStudents->Title->CssClass = ""; $CCMStudents->Title->ViewCustomAttributes = ""; // Initials $CCMStudents->Initials->ViewValue = $CCMStudents->Initials->CurrentValue; $CCMStudents->Initials->CssStyle = ""; $CCMStudents->Initials->CssClass = ""; $CCMStudents->Initials->ViewCustomAttributes = ""; // FirstName $CCMStudents->FirstName->ViewValue = $CCMStudents->FirstName->CurrentValue; $CCMStudents->FirstName->CssStyle = ""; $CCMStudents->FirstName->CssClass = ""; $CCMStudents->FirstName->ViewCustomAttributes = ""; // Surname $CCMStudents->Surname->ViewValue = $CCMStudents->Surname->CurrentValue; $CCMStudents->Surname->CssStyle = ""; $CCMStudents->Surname->CssClass = ""; $CCMStudents->Surname->ViewCustomAttributes = ""; // KnownAs $CCMStudents->KnownAs->ViewValue = $CCMStudents->KnownAs->CurrentValue; $CCMStudents->KnownAs->CssStyle = ""; $CCMStudents->KnownAs->CssClass = ""; $CCMStudents->KnownAs->ViewCustomAttributes = ""; // IDNumber $CCMStudents->IDNumber->ViewValue = $CCMStudents->IDNumber->CurrentValue; $CCMStudents->IDNumber->CssStyle = ""; $CCMStudents->IDNumber->CssClass = ""; $CCMStudents->IDNumber->ViewCustomAttributes = "mso-number-format:General"; // Telephone $CCMStudents->Telephone->ViewValue = $CCMStudents->Telephone->CurrentValue; $CCMStudents->Telephone->CssStyle = ""; $CCMStudents->Telephone->CssClass = ""; $CCMStudents->Telephone->ViewCustomAttributes = "mso-number-format:General"; // Cellphone $CCMStudents->Cellphone->ViewValue = $CCMStudents->Cellphone->CurrentValue; $CCMStudents->Cellphone->CssStyle = ""; $CCMStudents->Cellphone->CssClass = ""; $CCMStudents->Cellphone->ViewCustomAttributes = "mso-number-format:General"; // EmailAddress $CCMStudents->EmailAddress->ViewValue = $CCMStudents->EmailAddress->CurrentValue; $CCMStudents->EmailAddress->CssStyle = ""; $CCMStudents->EmailAddress->CssClass = ""; $CCMStudents->EmailAddress->ViewCustomAttributes = ""; // WorkAddress $CCMStudents->WorkAddress->ViewValue = $CCMStudents->WorkAddress->CurrentValue; $CCMStudents->WorkAddress->CssStyle = ""; $CCMStudents->WorkAddress->CssClass = ""; $CCMStudents->WorkAddress->ViewCustomAttributes = ""; // PostalAddress $CCMStudents->PostalAddress->ViewValue = $CCMStudents->PostalAddress->CurrentValue; $CCMStudents->PostalAddress->CssStyle = ""; $CCMStudents->PostalAddress->CssClass = ""; $CCMStudents->PostalAddress->ViewCustomAttributes = ""; // Department $CCMStudents->Department->ViewValue = $CCMStudents->Department->CurrentValue; $CCMStudents->Department->CssStyle = ""; $CCMStudents->Department->CssClass = ""; $CCMStudents->Department->ViewCustomAttributes = ""; // Organisation $CCMStudents->Organisation->ViewValue = $CCMStudents->Organisation->CurrentValue; $CCMStudents->Organisation->CssStyle = ""; $CCMStudents->Organisation->CssClass = ""; $CCMStudents->Organisation->ViewCustomAttributes = ""; // VATNo $CCMStudents->VATNo->ViewValue = $CCMStudents->VATNo->CurrentValue; $CCMStudents->VATNo->CssStyle = ""; $CCMStudents->VATNo->CssClass = ""; $CCMStudents->VATNo->ViewCustomAttributes = ""; // JobTitle $CCMStudents->JobTitle->ViewValue = $CCMStudents->JobTitle->CurrentValue; $CCMStudents->JobTitle->CssStyle = ""; $CCMStudents->JobTitle->CssClass = ""; $CCMStudents->JobTitle->ViewCustomAttributes = ""; // DateofBirth $CCMStudents->DateofBirth->ViewValue = $CCMStudents->DateofBirth->CurrentValue; $CCMStudents->DateofBirth->ViewValue = ew_FormatDateTime($CCMStudents->DateofBirth->ViewValue, 5); $CCMStudents->DateofBirth->CssStyle = ""; $CCMStudents->DateofBirth->CssClass = ""; $CCMStudents->DateofBirth->ViewCustomAttributes = ""; // PlaceofBirth $CCMStudents->PlaceofBirth->ViewValue = $CCMStudents->PlaceofBirth->CurrentValue; $CCMStudents->PlaceofBirth->CssStyle = ""; $CCMStudents->PlaceofBirth->CssClass = ""; $CCMStudents->PlaceofBirth->ViewCustomAttributes = ""; // CountryofBirth $CCMStudents->CountryofBirth->ViewValue = $CCMStudents->CountryofBirth->CurrentValue; $CCMStudents->CountryofBirth->CssStyle = ""; $CCMStudents->CountryofBirth->CssClass = ""; $CCMStudents->CountryofBirth->ViewCustomAttributes = ""; // Province if (strval($CCMStudents->Province->CurrentValue) <> "") { $sFilterWrk = "`LookupValue` = '" . ew_AdjustSql($CCMStudents->Province->CurrentValue) . "'"; $sSqlWrk = "SELECT `LookupValue` FROM `Lookups`"; $sWhereWrk = ""; if ($sWhereWrk <> "") $sWhereWrk .= " AND "; $sWhereWrk .= "(" . "LookupName='Province'" . ")"; if ($sFilterWrk <> "") { if ($sWhereWrk <> "") $sWhereWrk .= " AND "; $sWhereWrk .= "(" . $sFilterWrk . ")"; } if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk; $sSqlWrk .= " ORDER BY `LookupValue`"; $rswrk = $conn->Execute($sSqlWrk); if ($rswrk && !$rswrk->EOF) { // Lookup values found $CCMStudents->Province->ViewValue = $rswrk->fields('LookupValue'); $rswrk->Close(); } else { $CCMStudents->Province->ViewValue = $CCMStudents->Province->CurrentValue; } } else { $CCMStudents->Province->ViewValue = NULL; } $CCMStudents->Province->CssStyle = ""; $CCMStudents->Province->CssClass = ""; $CCMStudents->Province->ViewCustomAttributes = ""; // MaleorFemale $CCMStudents->MaleorFemale->ViewValue = $CCMStudents->MaleorFemale->CurrentValue; $CCMStudents->MaleorFemale->CssStyle = ""; $CCMStudents->MaleorFemale->CssClass = ""; $CCMStudents->MaleorFemale->ViewCustomAttributes = ""; // RaceGroup $CCMStudents->RaceGroup->ViewValue = $CCMStudents->RaceGroup->CurrentValue; $CCMStudents->RaceGroup->CssStyle = ""; $CCMStudents->RaceGroup->CssClass = ""; $CCMStudents->RaceGroup->ViewCustomAttributes = ""; // Disability if (strval($CCMStudents->Disability->CurrentValue) <> "") { switch ($CCMStudents->Disability->CurrentValue) { case "y": $CCMStudents->Disability->ViewValue = "Yes"; break; case "n": $CCMStudents->Disability->ViewValue = "No"; break; default: $CCMStudents->Disability->ViewValue = $CCMStudents->Disability->CurrentValue; } } else { $CCMStudents->Disability->ViewValue = NULL; } $CCMStudents->Disability->CssStyle = ""; $CCMStudents->Disability->CssClass = ""; $CCMStudents->Disability->ViewCustomAttributes = ""; // DisabilityNature $CCMStudents->DisabilityNature->ViewValue = $CCMStudents->DisabilityNature->CurrentValue; $CCMStudents->DisabilityNature->CssStyle = ""; $CCMStudents->DisabilityNature->CssClass = ""; $CCMStudents->DisabilityNature->ViewCustomAttributes = ""; // DisabilityCertificate if (!ew_Empty($CCMStudents->DisabilityCertificate->Upload->DbValue)) { $CCMStudents->DisabilityCertificate->ViewValue = $CCMStudents->DisabilityCertificate->Upload->DbValue; } else { $CCMStudents->DisabilityCertificate->ViewValue = ""; } $CCMStudents->DisabilityCertificate->CssStyle = ""; $CCMStudents->DisabilityCertificate->CssClass = ""; $CCMStudents->DisabilityCertificate->ViewCustomAttributes = ""; // ProfessionalCouncil $CCMStudents->ProfessionalCouncil->ViewValue = $CCMStudents->ProfessionalCouncil->CurrentValue; $CCMStudents->ProfessionalCouncil->CssStyle = ""; $CCMStudents->ProfessionalCouncil->CssClass = ""; $CCMStudents->ProfessionalCouncil->ViewCustomAttributes = ""; // CategoryReg $CCMStudents->CategoryReg->ViewValue = $CCMStudents->CategoryReg->CurrentValue; $CCMStudents->CategoryReg->CssStyle = ""; $CCMStudents->CategoryReg->CssClass = ""; $CCMStudents->CategoryReg->ViewCustomAttributes = ""; // CouncilRegNumber $CCMStudents->CouncilRegNumber->ViewValue = $CCMStudents->CouncilRegNumber->CurrentValue; $CCMStudents->CouncilRegNumber->CssStyle = ""; $CCMStudents->CouncilRegNumber->CssClass = ""; $CCMStudents->CouncilRegNumber->ViewCustomAttributes = ""; // LengthCandidateReg $CCMStudents->LengthCandidateReg->ViewValue = $CCMStudents->LengthCandidateReg->CurrentValue; $CCMStudents->LengthCandidateReg->CssStyle = ""; $CCMStudents->LengthCandidateReg->CssClass = ""; $CCMStudents->LengthCandidateReg->ViewCustomAttributes = ""; // YearsToProfReg $CCMStudents->YearsToProfReg->ViewValue = $CCMStudents->YearsToProfReg->CurrentValue; $CCMStudents->YearsToProfReg->CssStyle = ""; $CCMStudents->YearsToProfReg->CssClass = ""; $CCMStudents->YearsToProfReg->ViewCustomAttributes = ""; // FirstJobStart $CCMStudents->FirstJobStart->ViewValue = $CCMStudents->FirstJobStart->CurrentValue; $CCMStudents->FirstJobStart->CssStyle = ""; $CCMStudents->FirstJobStart->CssClass = ""; $CCMStudents->FirstJobStart->ViewCustomAttributes = ""; // VolAssociations $CCMStudents->VolAssociations->ViewValue = $CCMStudents->VolAssociations->CurrentValue; $CCMStudents->VolAssociations->CssStyle = ""; $CCMStudents->VolAssociations->CssClass = ""; $CCMStudents->VolAssociations->ViewCustomAttributes = ""; // BelongsTo $CCMStudents->BelongsTo->ViewValue = $CCMStudents->BelongsTo->CurrentValue; $CCMStudents->BelongsTo->CssStyle = ""; $CCMStudents->BelongsTo->CssClass = ""; $CCMStudents->BelongsTo->ViewCustomAttributes = ""; // CESA_SABTACO_MemNum $CCMStudents->CESA_SABTACO_MemNum->ViewValue = $CCMStudents->CESA_SABTACO_MemNum->CurrentValue; $CCMStudents->CESA_SABTACO_MemNum->CssStyle = ""; $CCMStudents->CESA_SABTACO_MemNum->CssClass = ""; $CCMStudents->CESA_SABTACO_MemNum->ViewCustomAttributes = ""; // AreaDiscipline $CCMStudents->AreaDiscipline->ViewValue = $CCMStudents->AreaDiscipline->CurrentValue; $CCMStudents->AreaDiscipline->CssStyle = ""; $CCMStudents->AreaDiscipline->CssClass = ""; $CCMStudents->AreaDiscipline->ViewCustomAttributes = ""; // AreaSubDiscipline $CCMStudents->AreaSubDiscipline->ViewValue = $CCMStudents->AreaSubDiscipline->CurrentValue; $CCMStudents->AreaSubDiscipline->CssStyle = ""; $CCMStudents->AreaSubDiscipline->CssClass = ""; $CCMStudents->AreaSubDiscipline->ViewCustomAttributes = ""; // Salary $CCMStudents->Salary->ViewValue = $CCMStudents->Salary->CurrentValue; $CCMStudents->Salary->CssStyle = ""; $CCMStudents->Salary->CssClass = ""; $CCMStudents->Salary->ViewCustomAttributes = ""; // Payslip if (!ew_Empty($CCMStudents->Payslip->Upload->DbValue)) { $CCMStudents->Payslip->ViewValue = $CCMStudents->Payslip->Upload->DbValue; } else { $CCMStudents->Payslip->ViewValue = ""; } $CCMStudents->Payslip->CssStyle = ""; $CCMStudents->Payslip->CssClass = ""; $CCMStudents->Payslip->ViewCustomAttributes = ""; // BankAccountName $CCMStudents->BankAccountName->ViewValue = $CCMStudents->BankAccountName->CurrentValue; $CCMStudents->BankAccountName->CssStyle = ""; $CCMStudents->BankAccountName->CssClass = ""; $CCMStudents->BankAccountName->ViewCustomAttributes = ""; // BankAccountBank $CCMStudents->BankAccountBank->ViewValue = $CCMStudents->BankAccountBank->CurrentValue; $CCMStudents->BankAccountBank->CssStyle = ""; $CCMStudents->BankAccountBank->CssClass = ""; $CCMStudents->BankAccountBank->ViewCustomAttributes = ""; // BankAccountBranch $CCMStudents->BankAccountBranch->ViewValue = $CCMStudents->BankAccountBranch->CurrentValue; $CCMStudents->BankAccountBranch->CssStyle = ""; $CCMStudents->BankAccountBranch->CssClass = ""; $CCMStudents->BankAccountBranch->ViewCustomAttributes = ""; // BankAccountNo $CCMStudents->BankAccountNo->ViewValue = $CCMStudents->BankAccountNo->CurrentValue; $CCMStudents->BankAccountNo->CssStyle = ""; $CCMStudents->BankAccountNo->CssClass = ""; $CCMStudents->BankAccountNo->ViewCustomAttributes = ""; // BankAccountProof if (!ew_Empty($CCMStudents->BankAccountProof->Upload->DbValue)) { $CCMStudents->BankAccountProof->ViewValue = $CCMStudents->BankAccountProof->Upload->DbValue; } else { $CCMStudents->BankAccountProof->ViewValue = ""; } $CCMStudents->BankAccountProof->CssStyle = ""; $CCMStudents->BankAccountProof->CssClass = ""; $CCMStudents->BankAccountProof->ViewCustomAttributes = ""; // Funding $CCMStudents->Funding->ViewValue = $CCMStudents->Funding->CurrentValue; $CCMStudents->Funding->CssStyle = ""; $CCMStudents->Funding->CssClass = ""; $CCMStudents->Funding->ViewCustomAttributes = ""; // CWDTP $CCMStudents->CWDTP->ViewValue = $CCMStudents->CWDTP->CurrentValue; $CCMStudents->CWDTP->CssStyle = ""; $CCMStudents->CWDTP->CssClass = ""; $CCMStudents->CWDTP->ViewCustomAttributes = ""; // BookedByName $CCMStudents->BookedByName->ViewValue = $CCMStudents->BookedByName->CurrentValue; $CCMStudents->BookedByName->CssStyle = ""; $CCMStudents->BookedByName->CssClass = ""; $CCMStudents->BookedByName->ViewCustomAttributes = ""; // BookedByDesignation $CCMStudents->BookedByDesignation->ViewValue = $CCMStudents->BookedByDesignation->CurrentValue; $CCMStudents->BookedByDesignation->CssStyle = ""; $CCMStudents->BookedByDesignation->CssClass = ""; $CCMStudents->BookedByDesignation->ViewCustomAttributes = ""; // BookedByTelNo $CCMStudents->BookedByTelNo->ViewValue = $CCMStudents->BookedByTelNo->CurrentValue; $CCMStudents->BookedByTelNo->CssStyle = ""; $CCMStudents->BookedByTelNo->CssClass = ""; $CCMStudents->BookedByTelNo->ViewCustomAttributes = ""; // BookedByFaxNo $CCMStudents->BookedByFaxNo->ViewValue = $CCMStudents->BookedByFaxNo->CurrentValue; $CCMStudents->BookedByFaxNo->CssStyle = ""; $CCMStudents->BookedByFaxNo->CssClass = ""; $CCMStudents->BookedByFaxNo->ViewCustomAttributes = ""; // BookedByCellNo $CCMStudents->BookedByCellNo->ViewValue = $CCMStudents->BookedByCellNo->CurrentValue; $CCMStudents->BookedByCellNo->CssStyle = ""; $CCMStudents->BookedByCellNo->CssClass = ""; $CCMStudents->BookedByCellNo->ViewCustomAttributes = ""; // BookedByEmail $CCMStudents->BookedByEmail->ViewValue = $CCMStudents->BookedByEmail->CurrentValue; $CCMStudents->BookedByEmail->CssStyle = ""; $CCMStudents->BookedByEmail->CssClass = ""; $CCMStudents->BookedByEmail->ViewCustomAttributes = ""; // MentorID if (strval($CCMStudents->MentorID->CurrentValue) <> "") { $sFilterWrk = "`CCMMentorID` = " . ew_AdjustSql($CCMStudents->MentorID->CurrentValue) . ""; $sSqlWrk = "SELECT `Surname`, `FirstName` FROM `CCMMentors`"; $sWhereWrk = ""; if ($sFilterWrk <> "") { if ($sWhereWrk <> "") $sWhereWrk .= " AND "; $sWhereWrk .= "(" . $sFilterWrk . ")"; } if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk; $sSqlWrk .= " ORDER BY `FirstName`"; $rswrk = $conn->Execute($sSqlWrk); if ($rswrk && !$rswrk->EOF) { // Lookup values found $CCMStudents->MentorID->ViewValue = $rswrk->fields('Surname'); $CCMStudents->MentorID->ViewValue .= ew_ValueSeparator(0) . $rswrk->fields('FirstName'); $rswrk->Close(); } else { $CCMStudents->MentorID->ViewValue = $CCMStudents->MentorID->CurrentValue; } } else { $CCMStudents->MentorID->ViewValue = NULL; } $CCMStudents->MentorID->CssStyle = ""; $CCMStudents->MentorID->CssClass = ""; $CCMStudents->MentorID->ViewCustomAttributes = ""; // MentorName $CCMStudents->MentorName->ViewValue = $CCMStudents->MentorName->CurrentValue; $CCMStudents->MentorName->CssStyle = ""; $CCMStudents->MentorName->CssClass = ""; $CCMStudents->MentorName->ViewCustomAttributes = ""; // MentorDesig $CCMStudents->MentorDesig->ViewValue = $CCMStudents->MentorDesig->CurrentValue; $CCMStudents->MentorDesig->CssStyle = ""; $CCMStudents->MentorDesig->CssClass = ""; $CCMStudents->MentorDesig->ViewCustomAttributes = ""; // MentorProfRegNo $CCMStudents->MentorProfRegNo->ViewValue = $CCMStudents->MentorProfRegNo->CurrentValue; $CCMStudents->MentorProfRegNo->CssStyle = ""; $CCMStudents->MentorProfRegNo->CssClass = ""; $CCMStudents->MentorProfRegNo->ViewCustomAttributes = ""; // MentorRegNo $CCMStudents->MentorRegNo->ViewValue = $CCMStudents->MentorRegNo->CurrentValue; $CCMStudents->MentorRegNo->CssStyle = ""; $CCMStudents->MentorRegNo->CssClass = ""; $CCMStudents->MentorRegNo->ViewCustomAttributes = ""; // MentorTel $CCMStudents->MentorTel->ViewValue = $CCMStudents->MentorTel->CurrentValue; $CCMStudents->MentorTel->CssStyle = ""; $CCMStudents->MentorTel->CssClass = ""; $CCMStudents->MentorTel->ViewCustomAttributes = ""; // MentorCell $CCMStudents->MentorCell->ViewValue = $CCMStudents->MentorCell->CurrentValue; $CCMStudents->MentorCell->CssStyle = ""; $CCMStudents->MentorCell->CssClass = ""; $CCMStudents->MentorCell->ViewCustomAttributes = ""; // MentorEmail $CCMStudents->MentorEmail->ViewValue = $CCMStudents->MentorEmail->CurrentValue; $CCMStudents->MentorEmail->CssStyle = ""; $CCMStudents->MentorEmail->CssClass = ""; $CCMStudents->MentorEmail->ViewCustomAttributes = ""; // EmployerID if (strval($CCMStudents->EmployerID->CurrentValue) <> "") { $sFilterWrk = "`CCMEmployerID` = " . ew_AdjustSql($CCMStudents->EmployerID->CurrentValue) . ""; $sSqlWrk = "SELECT `Organisation`, `Surname` FROM `CCMEmployers`"; $sWhereWrk = ""; if ($sFilterWrk <> "") { if ($sWhereWrk <> "") $sWhereWrk .= " AND "; $sWhereWrk .= "(" . $sFilterWrk . ")"; } if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk; $sSqlWrk .= " ORDER BY `Organisation`"; $rswrk = $conn->Execute($sSqlWrk); if ($rswrk && !$rswrk->EOF) { // Lookup values found $CCMStudents->EmployerID->ViewValue = $rswrk->fields('Organisation'); $CCMStudents->EmployerID->ViewValue .= ew_ValueSeparator(0) . $rswrk->fields('Surname'); $rswrk->Close(); } else { $CCMStudents->EmployerID->ViewValue = $CCMStudents->EmployerID->CurrentValue; } } else { $CCMStudents->EmployerID->ViewValue = NULL; } $CCMStudents->EmployerID->CssStyle = ""; $CCMStudents->EmployerID->CssClass = ""; $CCMStudents->EmployerID->ViewCustomAttributes = ""; // HRManagerName $CCMStudents->HRManagerName->ViewValue = $CCMStudents->HRManagerName->CurrentValue; $CCMStudents->HRManagerName->CssStyle = ""; $CCMStudents->HRManagerName->CssClass = ""; $CCMStudents->HRManagerName->ViewCustomAttributes = ""; // HRManagerDesignation $CCMStudents->HRManagerDesignation->ViewValue = $CCMStudents->HRManagerDesignation->CurrentValue; $CCMStudents->HRManagerDesignation->CssStyle = ""; $CCMStudents->HRManagerDesignation->CssClass = ""; $CCMStudents->HRManagerDesignation->ViewCustomAttributes = ""; // HRManagerTelNo $CCMStudents->HRManagerTelNo->ViewValue = $CCMStudents->HRManagerTelNo->CurrentValue; $CCMStudents->HRManagerTelNo->CssStyle = ""; $CCMStudents->HRManagerTelNo->CssClass = ""; $CCMStudents->HRManagerTelNo->ViewCustomAttributes = ""; // HRManagerCellNo $CCMStudents->HRManagerCellNo->ViewValue = $CCMStudents->HRManagerCellNo->CurrentValue; $CCMStudents->HRManagerCellNo->CssStyle = ""; $CCMStudents->HRManagerCellNo->CssClass = ""; $CCMStudents->HRManagerCellNo->ViewCustomAttributes = ""; // HRManagerEmail $CCMStudents->HRManagerEmail->ViewValue = $CCMStudents->HRManagerEmail->CurrentValue; $CCMStudents->HRManagerEmail->CssStyle = ""; $CCMStudents->HRManagerEmail->CssClass = ""; $CCMStudents->HRManagerEmail->ViewCustomAttributes = ""; // SupervisorName $CCMStudents->SupervisorName->ViewValue = $CCMStudents->SupervisorName->CurrentValue; $CCMStudents->SupervisorName->CssStyle = ""; $CCMStudents->SupervisorName->CssClass = ""; $CCMStudents->SupervisorName->ViewCustomAttributes = ""; // SupervisorDesig $CCMStudents->SupervisorDesig->ViewValue = $CCMStudents->SupervisorDesig->CurrentValue; $CCMStudents->SupervisorDesig->CssStyle = ""; $CCMStudents->SupervisorDesig->CssClass = ""; $CCMStudents->SupervisorDesig->ViewCustomAttributes = ""; // SupervisorProfRegNo $CCMStudents->SupervisorProfRegNo->ViewValue = $CCMStudents->SupervisorProfRegNo->CurrentValue; $CCMStudents->SupervisorProfRegNo->CssStyle = ""; $CCMStudents->SupervisorProfRegNo->CssClass = ""; $CCMStudents->SupervisorProfRegNo->ViewCustomAttributes = ""; // SupervisorTelNo $CCMStudents->SupervisorTelNo->ViewValue = $CCMStudents->SupervisorTelNo->CurrentValue; $CCMStudents->SupervisorTelNo->CssStyle = ""; $CCMStudents->SupervisorTelNo->CssClass = ""; $CCMStudents->SupervisorTelNo->ViewCustomAttributes = ""; // SupervisorCellNo $CCMStudents->SupervisorCellNo->ViewValue = $CCMStudents->SupervisorCellNo->CurrentValue; $CCMStudents->SupervisorCellNo->CssStyle = ""; $CCMStudents->SupervisorCellNo->CssClass = ""; $CCMStudents->SupervisorCellNo->ViewCustomAttributes = ""; // SupervisorEmail $CCMStudents->SupervisorEmail->ViewValue = $CCMStudents->SupervisorEmail->CurrentValue; $CCMStudents->SupervisorEmail->CssStyle = ""; $CCMStudents->SupervisorEmail->CssClass = ""; $CCMStudents->SupervisorEmail->ViewCustomAttributes = ""; // EducationalInst $CCMStudents->EducationalInst->ViewValue = $CCMStudents->EducationalInst->CurrentValue; $CCMStudents->EducationalInst->CssStyle = ""; $CCMStudents->EducationalInst->CssClass = ""; $CCMStudents->EducationalInst->ViewCustomAttributes = ""; // Qualifications $CCMStudents->Qualifications->ViewValue = $CCMStudents->Qualifications->CurrentValue; $CCMStudents->Qualifications->CssStyle = ""; $CCMStudents->Qualifications->CssClass = ""; $CCMStudents->Qualifications->ViewCustomAttributes = ""; // DateFinalExam $CCMStudents->DateFinalExam->ViewValue = $CCMStudents->DateFinalExam->CurrentValue; $CCMStudents->DateFinalExam->CssStyle = ""; $CCMStudents->DateFinalExam->CssClass = ""; $CCMStudents->DateFinalExam->ViewCustomAttributes = ""; // IDFile if (!ew_Empty($CCMStudents->IDFile->Upload->DbValue)) { $CCMStudents->IDFile->ViewValue = $CCMStudents->IDFile->Upload->DbValue; } else { $CCMStudents->IDFile->ViewValue = ""; } $CCMStudents->IDFile->CssStyle = ""; $CCMStudents->IDFile->CssClass = ""; $CCMStudents->IDFile->ViewCustomAttributes = ""; // CVFile if (!ew_Empty($CCMStudents->CVFile->Upload->DbValue)) { $CCMStudents->CVFile->ViewValue = $CCMStudents->CVFile->Upload->DbValue; } else { $CCMStudents->CVFile->ViewValue = ""; } $CCMStudents->CVFile->CssStyle = ""; $CCMStudents->CVFile->CssClass = ""; $CCMStudents->CVFile->ViewCustomAttributes = ""; // QualCertificate1 if (!ew_Empty($CCMStudents->QualCertificate1->Upload->DbValue)) { $CCMStudents->QualCertificate1->ViewValue = $CCMStudents->QualCertificate1->Upload->DbValue; } else { $CCMStudents->QualCertificate1->ViewValue = ""; } $CCMStudents->QualCertificate1->CssStyle = ""; $CCMStudents->QualCertificate1->CssClass = ""; $CCMStudents->QualCertificate1->ViewCustomAttributes = ""; // QualCertificate2 if (!ew_Empty($CCMStudents->QualCertificate2->Upload->DbValue)) { $CCMStudents->QualCertificate2->ViewValue = $CCMStudents->QualCertificate2->Upload->DbValue; } else { $CCMStudents->QualCertificate2->ViewValue = ""; } $CCMStudents->QualCertificate2->CssStyle = ""; $CCMStudents->QualCertificate2->CssClass = ""; $CCMStudents->QualCertificate2->ViewCustomAttributes = ""; // QualCertificate3 if (!ew_Empty($CCMStudents->QualCertificate3->Upload->DbValue)) { $CCMStudents->QualCertificate3->ViewValue = $CCMStudents->QualCertificate3->Upload->DbValue; } else { $CCMStudents->QualCertificate3->ViewValue = ""; } $CCMStudents->QualCertificate3->CssStyle = ""; $CCMStudents->QualCertificate3->CssClass = ""; $CCMStudents->QualCertificate3->ViewCustomAttributes = ""; // MentorUndertaking if (!ew_Empty($CCMStudents->MentorUndertaking->Upload->DbValue)) { $CCMStudents->MentorUndertaking->ViewValue = $CCMStudents->MentorUndertaking->Upload->DbValue; } else { $CCMStudents->MentorUndertaking->ViewValue = ""; } $CCMStudents->MentorUndertaking->CssStyle = ""; $CCMStudents->MentorUndertaking->CssClass = ""; $CCMStudents->MentorUndertaking->ViewCustomAttributes = ""; // CandUUndertaking if (!ew_Empty($CCMStudents->CandUUndertaking->Upload->DbValue)) { $CCMStudents->CandUUndertaking->ViewValue = $CCMStudents->CandUUndertaking->Upload->DbValue; } else { $CCMStudents->CandUUndertaking->ViewValue = ""; } $CCMStudents->CandUUndertaking->CssStyle = ""; $CCMStudents->CandUUndertaking->CssClass = ""; $CCMStudents->CandUUndertaking->ViewCustomAttributes = ""; // CompanyCandidatePolicy if (!ew_Empty($CCMStudents->CompanyCandidatePolicy->Upload->DbValue)) { $CCMStudents->CompanyCandidatePolicy->ViewValue = $CCMStudents->CompanyCandidatePolicy->Upload->DbValue; } else { $CCMStudents->CompanyCandidatePolicy->ViewValue = ""; } $CCMStudents->CompanyCandidatePolicy->CssStyle = ""; $CCMStudents->CompanyCandidatePolicy->CssClass = ""; $CCMStudents->CompanyCandidatePolicy->ViewCustomAttributes = ""; // ResidenceProof if (!ew_Empty($CCMStudents->ResidenceProof->Upload->DbValue)) { $CCMStudents->ResidenceProof->ViewValue = $CCMStudents->ResidenceProof->Upload->DbValue; } else { $CCMStudents->ResidenceProof->ViewValue = ""; } $CCMStudents->ResidenceProof->CssStyle = ""; $CCMStudents->ResidenceProof->CssClass = ""; $CCMStudents->ResidenceProof->ViewCustomAttributes = ""; // SignedAppForm if (!ew_Empty($CCMStudents->SignedAppForm->Upload->DbValue)) { $CCMStudents->SignedAppForm->ViewValue = $CCMStudents->SignedAppForm->Upload->DbValue; } else { $CCMStudents->SignedAppForm->ViewValue = ""; } $CCMStudents->SignedAppForm->CssStyle = ""; $CCMStudents->SignedAppForm->CssClass = ""; $CCMStudents->SignedAppForm->ViewCustomAttributes = ""; // Photograph if (!ew_Empty($CCMStudents->Photograph->Upload->DbValue)) { $CCMStudents->Photograph->ViewValue = $CCMStudents->Photograph->Upload->DbValue; } else { $CCMStudents->Photograph->ViewValue = ""; } $CCMStudents->Photograph->CssStyle = ""; $CCMStudents->Photograph->CssClass = ""; $CCMStudents->Photograph->ViewCustomAttributes = ""; // StudentNumber $CCMStudents->StudentNumber->ViewValue = $CCMStudents->StudentNumber->CurrentValue; $CCMStudents->StudentNumber->CssStyle = ""; $CCMStudents->StudentNumber->CssClass = ""; $CCMStudents->StudentNumber->ViewCustomAttributes = ""; // WebUsername $CCMStudents->WebUsername->ViewValue = $CCMStudents->WebUsername->CurrentValue; $CCMStudents->WebUsername->CssStyle = ""; $CCMStudents->WebUsername->CssClass = ""; $CCMStudents->WebUsername->ViewCustomAttributes = ""; // WebPassword $CCMStudents->WebPassword->ViewValue = $CCMStudents->WebPassword->CurrentValue; $CCMStudents->WebPassword->CssStyle = ""; $CCMStudents->WebPassword->CssClass = ""; $CCMStudents->WebPassword->ViewCustomAttributes = ""; // BlockAccess if (strval($CCMStudents->BlockAccess->CurrentValue) <> "") { switch ($CCMStudents->BlockAccess->CurrentValue) { case "y": $CCMStudents->BlockAccess->ViewValue = "Yes"; break; case "n": $CCMStudents->BlockAccess->ViewValue = "No"; break; default: $CCMStudents->BlockAccess->ViewValue = $CCMStudents->BlockAccess->CurrentValue; } } else { $CCMStudents->BlockAccess->ViewValue = NULL; } $CCMStudents->BlockAccess->CssStyle = ""; $CCMStudents->BlockAccess->CssClass = ""; $CCMStudents->BlockAccess->ViewCustomAttributes = ""; // SABTACO $CCMStudents->SABTACO->ViewValue = $CCMStudents->SABTACO->CurrentValue; $CCMStudents->SABTACO->CssStyle = ""; $CCMStudents->SABTACO->CssClass = ""; $CCMStudents->SABTACO->ViewCustomAttributes = ""; // CESA $CCMStudents->CESA->ViewValue = $CCMStudents->CESA->CurrentValue; $CCMStudents->CESA->CssStyle = ""; $CCMStudents->CESA->CssClass = ""; $CCMStudents->CESA->ViewCustomAttributes = ""; // Archived if (strval($CCMStudents->Archived->CurrentValue) <> "") { switch ($CCMStudents->Archived->CurrentValue) { case "1": $CCMStudents->Archived->ViewValue = "Yes"; break; case "0": $CCMStudents->Archived->ViewValue = "No"; break; default: $CCMStudents->Archived->ViewValue = $CCMStudents->Archived->CurrentValue; } } else { $CCMStudents->Archived->ViewValue = NULL; } $CCMStudents->Archived->CssStyle = ""; $CCMStudents->Archived->CssClass = ""; $CCMStudents->Archived->ViewCustomAttributes = ""; // CCMStudentID $CCMStudents->CCMStudentID->HrefValue = ""; $CCMStudents->CCMStudentID->TooltipValue = ""; // SelectionCategory $CCMStudents->SelectionCategory->HrefValue = ""; $CCMStudents->SelectionCategory->TooltipValue = ""; // Title $CCMStudents->Title->HrefValue = ""; $CCMStudents->Title->TooltipValue = ""; // Initials $CCMStudents->Initials->HrefValue = ""; $CCMStudents->Initials->TooltipValue = ""; // FirstName $CCMStudents->FirstName->HrefValue = ""; $CCMStudents->FirstName->TooltipValue = ""; // Surname $CCMStudents->Surname->HrefValue = ""; $CCMStudents->Surname->TooltipValue = ""; // KnownAs $CCMStudents->KnownAs->HrefValue = ""; $CCMStudents->KnownAs->TooltipValue = ""; // IDNumber $CCMStudents->IDNumber->HrefValue = ""; $CCMStudents->IDNumber->TooltipValue = ""; // Telephone $CCMStudents->Telephone->HrefValue = ""; $CCMStudents->Telephone->TooltipValue = ""; // Cellphone $CCMStudents->Cellphone->HrefValue = ""; $CCMStudents->Cellphone->TooltipValue = ""; // EmailAddress $CCMStudents->EmailAddress->HrefValue = ""; $CCMStudents->EmailAddress->TooltipValue = ""; // WorkAddress $CCMStudents->WorkAddress->HrefValue = ""; $CCMStudents->WorkAddress->TooltipValue = ""; // PostalAddress $CCMStudents->PostalAddress->HrefValue = ""; $CCMStudents->PostalAddress->TooltipValue = ""; // Department $CCMStudents->Department->HrefValue = ""; $CCMStudents->Department->TooltipValue = ""; // Organisation $CCMStudents->Organisation->HrefValue = ""; $CCMStudents->Organisation->TooltipValue = ""; // VATNo $CCMStudents->VATNo->HrefValue = ""; $CCMStudents->VATNo->TooltipValue = ""; // JobTitle $CCMStudents->JobTitle->HrefValue = ""; $CCMStudents->JobTitle->TooltipValue = ""; // DateofBirth $CCMStudents->DateofBirth->HrefValue = ""; $CCMStudents->DateofBirth->TooltipValue = ""; // PlaceofBirth $CCMStudents->PlaceofBirth->HrefValue = ""; $CCMStudents->PlaceofBirth->TooltipValue = ""; // CountryofBirth $CCMStudents->CountryofBirth->HrefValue = ""; $CCMStudents->CountryofBirth->TooltipValue = ""; // Province $CCMStudents->Province->HrefValue = ""; $CCMStudents->Province->TooltipValue = ""; // MaleorFemale $CCMStudents->MaleorFemale->HrefValue = ""; $CCMStudents->MaleorFemale->TooltipValue = ""; // RaceGroup $CCMStudents->RaceGroup->HrefValue = ""; $CCMStudents->RaceGroup->TooltipValue = ""; // Disability $CCMStudents->Disability->HrefValue = ""; $CCMStudents->Disability->TooltipValue = ""; // DisabilityNature $CCMStudents->DisabilityNature->HrefValue = ""; $CCMStudents->DisabilityNature->TooltipValue = ""; // DisabilityCertificate if (!ew_Empty($CCMStudents->DisabilityCertificate->Upload->DbValue)) { $CCMStudents->DisabilityCertificate->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->DisabilityCertificate->UploadPath) . ((!empty($CCMStudents->DisabilityCertificate->ViewValue)) ? $CCMStudents->DisabilityCertificate->ViewValue : $CCMStudents->DisabilityCertificate->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->DisabilityCertificate->HrefValue = ew_ConvertFullUrl($CCMStudents->DisabilityCertificate->HrefValue); } else { $CCMStudents->DisabilityCertificate->HrefValue = ""; } $CCMStudents->DisabilityCertificate->TooltipValue = ""; // ProfessionalCouncil $CCMStudents->ProfessionalCouncil->HrefValue = ""; $CCMStudents->ProfessionalCouncil->TooltipValue = ""; // CategoryReg $CCMStudents->CategoryReg->HrefValue = ""; $CCMStudents->CategoryReg->TooltipValue = ""; // CouncilRegNumber $CCMStudents->CouncilRegNumber->HrefValue = ""; $CCMStudents->CouncilRegNumber->TooltipValue = ""; // LengthCandidateReg $CCMStudents->LengthCandidateReg->HrefValue = ""; $CCMStudents->LengthCandidateReg->TooltipValue = ""; // YearsToProfReg $CCMStudents->YearsToProfReg->HrefValue = ""; $CCMStudents->YearsToProfReg->TooltipValue = ""; // FirstJobStart $CCMStudents->FirstJobStart->HrefValue = ""; $CCMStudents->FirstJobStart->TooltipValue = ""; // VolAssociations $CCMStudents->VolAssociations->HrefValue = ""; $CCMStudents->VolAssociations->TooltipValue = ""; // BelongsTo $CCMStudents->BelongsTo->HrefValue = ""; $CCMStudents->BelongsTo->TooltipValue = ""; // CESA_SABTACO_MemNum $CCMStudents->CESA_SABTACO_MemNum->HrefValue = ""; $CCMStudents->CESA_SABTACO_MemNum->TooltipValue = ""; // AreaDiscipline $CCMStudents->AreaDiscipline->HrefValue = ""; $CCMStudents->AreaDiscipline->TooltipValue = ""; // AreaSubDiscipline $CCMStudents->AreaSubDiscipline->HrefValue = ""; $CCMStudents->AreaSubDiscipline->TooltipValue = ""; // Salary $CCMStudents->Salary->HrefValue = ""; $CCMStudents->Salary->TooltipValue = ""; // Payslip if (!ew_Empty($CCMStudents->Payslip->Upload->DbValue)) { $CCMStudents->Payslip->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->Payslip->UploadPath) . ((!empty($CCMStudents->Payslip->ViewValue)) ? $CCMStudents->Payslip->ViewValue : $CCMStudents->Payslip->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->Payslip->HrefValue = ew_ConvertFullUrl($CCMStudents->Payslip->HrefValue); } else { $CCMStudents->Payslip->HrefValue = ""; } $CCMStudents->Payslip->TooltipValue = ""; // BankAccountName $CCMStudents->BankAccountName->HrefValue = ""; $CCMStudents->BankAccountName->TooltipValue = ""; // BankAccountBank $CCMStudents->BankAccountBank->HrefValue = ""; $CCMStudents->BankAccountBank->TooltipValue = ""; // BankAccountBranch $CCMStudents->BankAccountBranch->HrefValue = ""; $CCMStudents->BankAccountBranch->TooltipValue = ""; // BankAccountNo $CCMStudents->BankAccountNo->HrefValue = ""; $CCMStudents->BankAccountNo->TooltipValue = ""; // BankAccountProof if (!ew_Empty($CCMStudents->BankAccountProof->Upload->DbValue)) { $CCMStudents->BankAccountProof->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->BankAccountProof->UploadPath) . ((!empty($CCMStudents->BankAccountProof->ViewValue)) ? $CCMStudents->BankAccountProof->ViewValue : $CCMStudents->BankAccountProof->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->BankAccountProof->HrefValue = ew_ConvertFullUrl($CCMStudents->BankAccountProof->HrefValue); } else { $CCMStudents->BankAccountProof->HrefValue = ""; } $CCMStudents->BankAccountProof->TooltipValue = ""; // Funding $CCMStudents->Funding->HrefValue = ""; $CCMStudents->Funding->TooltipValue = ""; // CWDTP $CCMStudents->CWDTP->HrefValue = ""; $CCMStudents->CWDTP->TooltipValue = ""; // BookedByName $CCMStudents->BookedByName->HrefValue = ""; $CCMStudents->BookedByName->TooltipValue = ""; // BookedByDesignation $CCMStudents->BookedByDesignation->HrefValue = ""; $CCMStudents->BookedByDesignation->TooltipValue = ""; // BookedByTelNo $CCMStudents->BookedByTelNo->HrefValue = ""; $CCMStudents->BookedByTelNo->TooltipValue = ""; // BookedByFaxNo $CCMStudents->BookedByFaxNo->HrefValue = ""; $CCMStudents->BookedByFaxNo->TooltipValue = ""; // BookedByCellNo $CCMStudents->BookedByCellNo->HrefValue = ""; $CCMStudents->BookedByCellNo->TooltipValue = ""; // BookedByEmail $CCMStudents->BookedByEmail->HrefValue = ""; $CCMStudents->BookedByEmail->TooltipValue = ""; // MentorID $CCMStudents->MentorID->HrefValue = ""; $CCMStudents->MentorID->TooltipValue = ""; // EmployerID $CCMStudents->EmployerID->HrefValue = ""; $CCMStudents->EmployerID->TooltipValue = ""; // HRManagerName $CCMStudents->HRManagerName->HrefValue = ""; $CCMStudents->HRManagerName->TooltipValue = ""; // HRManagerDesignation $CCMStudents->HRManagerDesignation->HrefValue = ""; $CCMStudents->HRManagerDesignation->TooltipValue = ""; // HRManagerTelNo $CCMStudents->HRManagerTelNo->HrefValue = ""; $CCMStudents->HRManagerTelNo->TooltipValue = ""; // HRManagerCellNo $CCMStudents->HRManagerCellNo->HrefValue = ""; $CCMStudents->HRManagerCellNo->TooltipValue = ""; // HRManagerEmail $CCMStudents->HRManagerEmail->HrefValue = ""; $CCMStudents->HRManagerEmail->TooltipValue = ""; // SupervisorName $CCMStudents->SupervisorName->HrefValue = ""; $CCMStudents->SupervisorName->TooltipValue = ""; // SupervisorDesig $CCMStudents->SupervisorDesig->HrefValue = ""; $CCMStudents->SupervisorDesig->TooltipValue = ""; // SupervisorProfRegNo $CCMStudents->SupervisorProfRegNo->HrefValue = ""; $CCMStudents->SupervisorProfRegNo->TooltipValue = ""; // SupervisorTelNo $CCMStudents->SupervisorTelNo->HrefValue = ""; $CCMStudents->SupervisorTelNo->TooltipValue = ""; // SupervisorCellNo $CCMStudents->SupervisorCellNo->HrefValue = ""; $CCMStudents->SupervisorCellNo->TooltipValue = ""; // SupervisorEmail $CCMStudents->SupervisorEmail->HrefValue = ""; $CCMStudents->SupervisorEmail->TooltipValue = ""; // EducationalInst $CCMStudents->EducationalInst->HrefValue = ""; $CCMStudents->EducationalInst->TooltipValue = ""; // Qualifications $CCMStudents->Qualifications->HrefValue = ""; $CCMStudents->Qualifications->TooltipValue = ""; // DateFinalExam $CCMStudents->DateFinalExam->HrefValue = ""; $CCMStudents->DateFinalExam->TooltipValue = ""; // IDFile if (!ew_Empty($CCMStudents->IDFile->Upload->DbValue)) { $CCMStudents->IDFile->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->IDFile->UploadPath) . ((!empty($CCMStudents->IDFile->ViewValue)) ? $CCMStudents->IDFile->ViewValue : $CCMStudents->IDFile->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->IDFile->HrefValue = ew_ConvertFullUrl($CCMStudents->IDFile->HrefValue); } else { $CCMStudents->IDFile->HrefValue = ""; } $CCMStudents->IDFile->TooltipValue = ""; // CVFile if (!ew_Empty($CCMStudents->CVFile->Upload->DbValue)) { $CCMStudents->CVFile->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->CVFile->UploadPath) . ((!empty($CCMStudents->CVFile->ViewValue)) ? $CCMStudents->CVFile->ViewValue : $CCMStudents->CVFile->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->CVFile->HrefValue = ew_ConvertFullUrl($CCMStudents->CVFile->HrefValue); } else { $CCMStudents->CVFile->HrefValue = ""; } $CCMStudents->CVFile->TooltipValue = ""; // QualCertificate1 if (!ew_Empty($CCMStudents->QualCertificate1->Upload->DbValue)) { $CCMStudents->QualCertificate1->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->QualCertificate1->UploadPath) . ((!empty($CCMStudents->QualCertificate1->ViewValue)) ? $CCMStudents->QualCertificate1->ViewValue : $CCMStudents->QualCertificate1->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->QualCertificate1->HrefValue = ew_ConvertFullUrl($CCMStudents->QualCertificate1->HrefValue); } else { $CCMStudents->QualCertificate1->HrefValue = ""; } $CCMStudents->QualCertificate1->TooltipValue = ""; // QualCertificate2 if (!ew_Empty($CCMStudents->QualCertificate2->Upload->DbValue)) { $CCMStudents->QualCertificate2->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->QualCertificate2->UploadPath) . ((!empty($CCMStudents->QualCertificate2->ViewValue)) ? $CCMStudents->QualCertificate2->ViewValue : $CCMStudents->QualCertificate2->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->QualCertificate2->HrefValue = ew_ConvertFullUrl($CCMStudents->QualCertificate2->HrefValue); } else { $CCMStudents->QualCertificate2->HrefValue = ""; } $CCMStudents->QualCertificate2->TooltipValue = ""; // QualCertificate3 if (!ew_Empty($CCMStudents->QualCertificate3->Upload->DbValue)) { $CCMStudents->QualCertificate3->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->QualCertificate3->UploadPath) . ((!empty($CCMStudents->QualCertificate3->ViewValue)) ? $CCMStudents->QualCertificate3->ViewValue : $CCMStudents->QualCertificate3->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->QualCertificate3->HrefValue = ew_ConvertFullUrl($CCMStudents->QualCertificate3->HrefValue); } else { $CCMStudents->QualCertificate3->HrefValue = ""; } $CCMStudents->QualCertificate3->TooltipValue = ""; // MentorUndertaking if (!ew_Empty($CCMStudents->MentorUndertaking->Upload->DbValue)) { $CCMStudents->MentorUndertaking->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->MentorUndertaking->UploadPath) . ((!empty($CCMStudents->MentorUndertaking->ViewValue)) ? $CCMStudents->MentorUndertaking->ViewValue : $CCMStudents->MentorUndertaking->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->MentorUndertaking->HrefValue = ew_ConvertFullUrl($CCMStudents->MentorUndertaking->HrefValue); } else { $CCMStudents->MentorUndertaking->HrefValue = ""; } $CCMStudents->MentorUndertaking->TooltipValue = ""; // CandUUndertaking if (!ew_Empty($CCMStudents->CandUUndertaking->Upload->DbValue)) { $CCMStudents->CandUUndertaking->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->CandUUndertaking->UploadPath) . ((!empty($CCMStudents->CandUUndertaking->ViewValue)) ? $CCMStudents->CandUUndertaking->ViewValue : $CCMStudents->CandUUndertaking->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->CandUUndertaking->HrefValue = ew_ConvertFullUrl($CCMStudents->CandUUndertaking->HrefValue); } else { $CCMStudents->CandUUndertaking->HrefValue = ""; } $CCMStudents->CandUUndertaking->TooltipValue = ""; // CompanyCandidatePolicy if (!ew_Empty($CCMStudents->CompanyCandidatePolicy->Upload->DbValue)) { $CCMStudents->CompanyCandidatePolicy->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->CompanyCandidatePolicy->UploadPath) . ((!empty($CCMStudents->CompanyCandidatePolicy->ViewValue)) ? $CCMStudents->CompanyCandidatePolicy->ViewValue : $CCMStudents->CompanyCandidatePolicy->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->CompanyCandidatePolicy->HrefValue = ew_ConvertFullUrl($CCMStudents->CompanyCandidatePolicy->HrefValue); } else { $CCMStudents->CompanyCandidatePolicy->HrefValue = ""; } $CCMStudents->CompanyCandidatePolicy->TooltipValue = ""; // ResidenceProof if (!ew_Empty($CCMStudents->ResidenceProof->Upload->DbValue)) { $CCMStudents->ResidenceProof->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->ResidenceProof->UploadPath) . ((!empty($CCMStudents->ResidenceProof->ViewValue)) ? $CCMStudents->ResidenceProof->ViewValue : $CCMStudents->ResidenceProof->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->ResidenceProof->HrefValue = ew_ConvertFullUrl($CCMStudents->ResidenceProof->HrefValue); } else { $CCMStudents->ResidenceProof->HrefValue = ""; } $CCMStudents->ResidenceProof->TooltipValue = ""; // SignedAppForm if (!ew_Empty($CCMStudents->SignedAppForm->Upload->DbValue)) { $CCMStudents->SignedAppForm->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->SignedAppForm->UploadPath) . ((!empty($CCMStudents->SignedAppForm->ViewValue)) ? $CCMStudents->SignedAppForm->ViewValue : $CCMStudents->SignedAppForm->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->SignedAppForm->HrefValue = ew_ConvertFullUrl($CCMStudents->SignedAppForm->HrefValue); } else { $CCMStudents->SignedAppForm->HrefValue = ""; } $CCMStudents->SignedAppForm->TooltipValue = ""; // Photograph if (!ew_Empty($CCMStudents->Photograph->Upload->DbValue)) { $CCMStudents->Photograph->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->Photograph->UploadPath) . ((!empty($CCMStudents->Photograph->ViewValue)) ? $CCMStudents->Photograph->ViewValue : $CCMStudents->Photograph->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->Photograph->HrefValue = ew_ConvertFullUrl($CCMStudents->Photograph->HrefValue); } else { $CCMStudents->Photograph->HrefValue = ""; } $CCMStudents->Photograph->TooltipValue = ""; // StudentNumber $CCMStudents->StudentNumber->HrefValue = ""; $CCMStudents->StudentNumber->TooltipValue = ""; // WebUsername $CCMStudents->WebUsername->HrefValue = ""; $CCMStudents->WebUsername->TooltipValue = ""; // WebPassword $CCMStudents->WebPassword->HrefValue = ""; $CCMStudents->WebPassword->TooltipValue = ""; // BlockAccess $CCMStudents->BlockAccess->HrefValue = ""; $CCMStudents->BlockAccess->TooltipValue = ""; // Archived $CCMStudents->Archived->HrefValue = ""; $CCMStudents->Archived->TooltipValue = ""; } elseif ($CCMStudents->RowType == EW_ROWTYPE_EDIT) { // Edit row // CCMStudentID $CCMStudents->CCMStudentID->EditCustomAttributes = ""; // SelectionCategory $CCMStudents->SelectionCategory->EditCustomAttributes = ""; $CCMStudents->SelectionCategory->EditValue = ew_HtmlEncode($CCMStudents->SelectionCategory->CurrentValue); // Title $CCMStudents->Title->EditCustomAttributes = ""; $CCMStudents->Title->EditValue = ew_HtmlEncode($CCMStudents->Title->CurrentValue); // Initials $CCMStudents->Initials->EditCustomAttributes = ""; $CCMStudents->Initials->EditValue = ew_HtmlEncode($CCMStudents->Initials->CurrentValue); // FirstName $CCMStudents->FirstName->EditCustomAttributes = ""; $CCMStudents->FirstName->EditValue = ew_HtmlEncode($CCMStudents->FirstName->CurrentValue); // Surname $CCMStudents->Surname->EditCustomAttributes = ""; $CCMStudents->Surname->EditValue = ew_HtmlEncode($CCMStudents->Surname->CurrentValue); // KnownAs $CCMStudents->KnownAs->EditCustomAttributes = ""; $CCMStudents->KnownAs->EditValue = ew_HtmlEncode($CCMStudents->KnownAs->CurrentValue); // IDNumber $CCMStudents->IDNumber->EditCustomAttributes = ""; $CCMStudents->IDNumber->EditValue = ew_HtmlEncode($CCMStudents->IDNumber->CurrentValue); // Telephone $CCMStudents->Telephone->EditCustomAttributes = ""; $CCMStudents->Telephone->EditValue = ew_HtmlEncode($CCMStudents->Telephone->CurrentValue); // Cellphone $CCMStudents->Cellphone->EditCustomAttributes = ""; $CCMStudents->Cellphone->EditValue = ew_HtmlEncode($CCMStudents->Cellphone->CurrentValue); // EmailAddress $CCMStudents->EmailAddress->EditCustomAttributes = ""; $CCMStudents->EmailAddress->EditValue = ew_HtmlEncode($CCMStudents->EmailAddress->CurrentValue); // WorkAddress $CCMStudents->WorkAddress->EditCustomAttributes = ""; $CCMStudents->WorkAddress->EditValue = ew_HtmlEncode($CCMStudents->WorkAddress->CurrentValue); // PostalAddress $CCMStudents->PostalAddress->EditCustomAttributes = ""; $CCMStudents->PostalAddress->EditValue = ew_HtmlEncode($CCMStudents->PostalAddress->CurrentValue); // Department $CCMStudents->Department->EditCustomAttributes = ""; $CCMStudents->Department->EditValue = ew_HtmlEncode($CCMStudents->Department->CurrentValue); // Organisation $CCMStudents->Organisation->EditCustomAttributes = ""; $CCMStudents->Organisation->EditValue = ew_HtmlEncode($CCMStudents->Organisation->CurrentValue); // VATNo $CCMStudents->VATNo->EditCustomAttributes = ""; $CCMStudents->VATNo->EditValue = ew_HtmlEncode($CCMStudents->VATNo->CurrentValue); // JobTitle $CCMStudents->JobTitle->EditCustomAttributes = ""; $CCMStudents->JobTitle->EditValue = ew_HtmlEncode($CCMStudents->JobTitle->CurrentValue); // DateofBirth $CCMStudents->DateofBirth->EditCustomAttributes = ""; $CCMStudents->DateofBirth->EditValue = ew_HtmlEncode(ew_FormatDateTime($CCMStudents->DateofBirth->CurrentValue, 5)); // PlaceofBirth $CCMStudents->PlaceofBirth->EditCustomAttributes = ""; $CCMStudents->PlaceofBirth->EditValue = ew_HtmlEncode($CCMStudents->PlaceofBirth->CurrentValue); // CountryofBirth $CCMStudents->CountryofBirth->EditCustomAttributes = ""; $CCMStudents->CountryofBirth->EditValue = ew_HtmlEncode($CCMStudents->CountryofBirth->CurrentValue); // Province $CCMStudents->Province->EditCustomAttributes = ""; $sFilterWrk = ""; $sSqlWrk = "SELECT `LookupValue`, `LookupValue`, '' AS Disp2Fld, '' AS SelectFilterFld FROM `Lookups`"; $sWhereWrk = ""; if ($sWhereWrk <> "") $sWhereWrk .= " AND "; $sWhereWrk .= "(" . "LookupName='Province'" . ")"; if ($sFilterWrk <> "") { if ($sWhereWrk <> "") $sWhereWrk .= " AND "; $sWhereWrk .= "(" . $sFilterWrk . ")"; } if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk; $sSqlWrk .= " ORDER BY `LookupValue`"; $rswrk = $conn->Execute($sSqlWrk); $arwrk = ($rswrk) ? $rswrk->GetRows() : array(); if ($rswrk) $rswrk->Close(); array_unshift($arwrk, array("", $Language->Phrase("PleaseSelect"))); $CCMStudents->Province->EditValue = $arwrk; // MaleorFemale $CCMStudents->MaleorFemale->EditCustomAttributes = ""; $CCMStudents->MaleorFemale->EditValue = ew_HtmlEncode($CCMStudents->MaleorFemale->CurrentValue); // RaceGroup $CCMStudents->RaceGroup->EditCustomAttributes = ""; $CCMStudents->RaceGroup->EditValue = ew_HtmlEncode($CCMStudents->RaceGroup->CurrentValue); // Disability $CCMStudents->Disability->EditCustomAttributes = ""; $arwrk = array(); $arwrk[] = array("y", "Yes"); $arwrk[] = array("n", "No"); $CCMStudents->Disability->EditValue = $arwrk; // DisabilityNature $CCMStudents->DisabilityNature->EditCustomAttributes = ""; $CCMStudents->DisabilityNature->EditValue = ew_HtmlEncode($CCMStudents->DisabilityNature->CurrentValue); // DisabilityCertificate $CCMStudents->DisabilityCertificate->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->DisabilityCertificate->Upload->DbValue)) { $CCMStudents->DisabilityCertificate->EditValue = $CCMStudents->DisabilityCertificate->Upload->DbValue; } else { $CCMStudents->DisabilityCertificate->EditValue = ""; } // ProfessionalCouncil $CCMStudents->ProfessionalCouncil->EditCustomAttributes = ""; $CCMStudents->ProfessionalCouncil->EditValue = ew_HtmlEncode($CCMStudents->ProfessionalCouncil->CurrentValue); // CategoryReg $CCMStudents->CategoryReg->EditCustomAttributes = ""; $CCMStudents->CategoryReg->EditValue = ew_HtmlEncode($CCMStudents->CategoryReg->CurrentValue); // CouncilRegNumber $CCMStudents->CouncilRegNumber->EditCustomAttributes = ""; $CCMStudents->CouncilRegNumber->EditValue = ew_HtmlEncode($CCMStudents->CouncilRegNumber->CurrentValue); // LengthCandidateReg $CCMStudents->LengthCandidateReg->EditCustomAttributes = ""; $CCMStudents->LengthCandidateReg->EditValue = ew_HtmlEncode($CCMStudents->LengthCandidateReg->CurrentValue); // YearsToProfReg $CCMStudents->YearsToProfReg->EditCustomAttributes = ""; $CCMStudents->YearsToProfReg->EditValue = ew_HtmlEncode($CCMStudents->YearsToProfReg->CurrentValue); // FirstJobStart $CCMStudents->FirstJobStart->EditCustomAttributes = ""; $CCMStudents->FirstJobStart->EditValue = ew_HtmlEncode($CCMStudents->FirstJobStart->CurrentValue); // VolAssociations $CCMStudents->VolAssociations->EditCustomAttributes = ""; $CCMStudents->VolAssociations->EditValue = ew_HtmlEncode($CCMStudents->VolAssociations->CurrentValue); // BelongsTo $CCMStudents->BelongsTo->EditCustomAttributes = ""; $CCMStudents->BelongsTo->EditValue = ew_HtmlEncode($CCMStudents->BelongsTo->CurrentValue); // CESA_SABTACO_MemNum $CCMStudents->CESA_SABTACO_MemNum->EditCustomAttributes = ""; $CCMStudents->CESA_SABTACO_MemNum->EditValue = ew_HtmlEncode($CCMStudents->CESA_SABTACO_MemNum->CurrentValue); // AreaDiscipline $CCMStudents->AreaDiscipline->EditCustomAttributes = ""; $CCMStudents->AreaDiscipline->EditValue = ew_HtmlEncode($CCMStudents->AreaDiscipline->CurrentValue); // AreaSubDiscipline $CCMStudents->AreaSubDiscipline->EditCustomAttributes = ""; $CCMStudents->AreaSubDiscipline->EditValue = ew_HtmlEncode($CCMStudents->AreaSubDiscipline->CurrentValue); // Salary $CCMStudents->Salary->EditCustomAttributes = ""; $CCMStudents->Salary->EditValue = ew_HtmlEncode($CCMStudents->Salary->CurrentValue); // Payslip $CCMStudents->Payslip->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->Payslip->Upload->DbValue)) { $CCMStudents->Payslip->EditValue = $CCMStudents->Payslip->Upload->DbValue; } else { $CCMStudents->Payslip->EditValue = ""; } // BankAccountName $CCMStudents->BankAccountName->EditCustomAttributes = ""; $CCMStudents->BankAccountName->EditValue = ew_HtmlEncode($CCMStudents->BankAccountName->CurrentValue); // BankAccountBank $CCMStudents->BankAccountBank->EditCustomAttributes = ""; $CCMStudents->BankAccountBank->EditValue = ew_HtmlEncode($CCMStudents->BankAccountBank->CurrentValue); // BankAccountBranch $CCMStudents->BankAccountBranch->EditCustomAttributes = ""; $CCMStudents->BankAccountBranch->EditValue = ew_HtmlEncode($CCMStudents->BankAccountBranch->CurrentValue); // BankAccountNo $CCMStudents->BankAccountNo->EditCustomAttributes = ""; $CCMStudents->BankAccountNo->EditValue = ew_HtmlEncode($CCMStudents->BankAccountNo->CurrentValue); // BankAccountProof $CCMStudents->BankAccountProof->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->BankAccountProof->Upload->DbValue)) { $CCMStudents->BankAccountProof->EditValue = $CCMStudents->BankAccountProof->Upload->DbValue; } else { $CCMStudents->BankAccountProof->EditValue = ""; } // Funding $CCMStudents->Funding->EditCustomAttributes = ""; $CCMStudents->Funding->EditValue = ew_HtmlEncode($CCMStudents->Funding->CurrentValue); // CWDTP $CCMStudents->CWDTP->EditCustomAttributes = ""; $CCMStudents->CWDTP->EditValue = ew_HtmlEncode($CCMStudents->CWDTP->CurrentValue); // BookedByName $CCMStudents->BookedByName->EditCustomAttributes = ""; $CCMStudents->BookedByName->EditValue = ew_HtmlEncode($CCMStudents->BookedByName->CurrentValue); // BookedByDesignation $CCMStudents->BookedByDesignation->EditCustomAttributes = ""; $CCMStudents->BookedByDesignation->EditValue = ew_HtmlEncode($CCMStudents->BookedByDesignation->CurrentValue); // BookedByTelNo $CCMStudents->BookedByTelNo->EditCustomAttributes = ""; $CCMStudents->BookedByTelNo->EditValue = ew_HtmlEncode($CCMStudents->BookedByTelNo->CurrentValue); // BookedByFaxNo $CCMStudents->BookedByFaxNo->EditCustomAttributes = ""; $CCMStudents->BookedByFaxNo->EditValue = ew_HtmlEncode($CCMStudents->BookedByFaxNo->CurrentValue); // BookedByCellNo $CCMStudents->BookedByCellNo->EditCustomAttributes = ""; $CCMStudents->BookedByCellNo->EditValue = ew_HtmlEncode($CCMStudents->BookedByCellNo->CurrentValue); // BookedByEmail $CCMStudents->BookedByEmail->EditCustomAttributes = ""; $CCMStudents->BookedByEmail->EditValue = ew_HtmlEncode($CCMStudents->BookedByEmail->CurrentValue); // MentorID $CCMStudents->MentorID->EditCustomAttributes = ""; $sFilterWrk = ""; $sSqlWrk = "SELECT `CCMMentorID`, `Surname`, `FirstName`, '' AS SelectFilterFld FROM `CCMMentors`"; $sWhereWrk = ""; if ($sFilterWrk <> "") { if ($sWhereWrk <> "") $sWhereWrk .= " AND "; $sWhereWrk .= "(" . $sFilterWrk . ")"; } if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk; $sSqlWrk .= " ORDER BY `FirstName`"; $rswrk = $conn->Execute($sSqlWrk); $arwrk = ($rswrk) ? $rswrk->GetRows() : array(); if ($rswrk) $rswrk->Close(); array_unshift($arwrk, array("", $Language->Phrase("PleaseSelect"), "")); $CCMStudents->MentorID->EditValue = $arwrk; // EmployerID $CCMStudents->EmployerID->EditCustomAttributes = ""; $sFilterWrk = ""; $sSqlWrk = "SELECT `CCMEmployerID`, `Organisation`, `Surname`, '' AS SelectFilterFld FROM `CCMEmployers`"; $sWhereWrk = ""; if ($sFilterWrk <> "") { if ($sWhereWrk <> "") $sWhereWrk .= " AND "; $sWhereWrk .= "(" . $sFilterWrk . ")"; } if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk; $sSqlWrk .= " ORDER BY `Organisation`"; $rswrk = $conn->Execute($sSqlWrk); $arwrk = ($rswrk) ? $rswrk->GetRows() : array(); if ($rswrk) $rswrk->Close(); array_unshift($arwrk, array("", $Language->Phrase("PleaseSelect"), "")); $CCMStudents->EmployerID->EditValue = $arwrk; // HRManagerName $CCMStudents->HRManagerName->EditCustomAttributes = ""; $CCMStudents->HRManagerName->EditValue = ew_HtmlEncode($CCMStudents->HRManagerName->CurrentValue); // HRManagerDesignation $CCMStudents->HRManagerDesignation->EditCustomAttributes = ""; $CCMStudents->HRManagerDesignation->EditValue = ew_HtmlEncode($CCMStudents->HRManagerDesignation->CurrentValue); // HRManagerTelNo $CCMStudents->HRManagerTelNo->EditCustomAttributes = ""; $CCMStudents->HRManagerTelNo->EditValue = ew_HtmlEncode($CCMStudents->HRManagerTelNo->CurrentValue); // HRManagerCellNo $CCMStudents->HRManagerCellNo->EditCustomAttributes = ""; $CCMStudents->HRManagerCellNo->EditValue = ew_HtmlEncode($CCMStudents->HRManagerCellNo->CurrentValue); // HRManagerEmail $CCMStudents->HRManagerEmail->EditCustomAttributes = ""; $CCMStudents->HRManagerEmail->EditValue = ew_HtmlEncode($CCMStudents->HRManagerEmail->CurrentValue); // SupervisorName $CCMStudents->SupervisorName->EditCustomAttributes = ""; $CCMStudents->SupervisorName->EditValue = ew_HtmlEncode($CCMStudents->SupervisorName->CurrentValue); // SupervisorDesig $CCMStudents->SupervisorDesig->EditCustomAttributes = ""; $CCMStudents->SupervisorDesig->EditValue = ew_HtmlEncode($CCMStudents->SupervisorDesig->CurrentValue); // SupervisorProfRegNo $CCMStudents->SupervisorProfRegNo->EditCustomAttributes = ""; $CCMStudents->SupervisorProfRegNo->EditValue = ew_HtmlEncode($CCMStudents->SupervisorProfRegNo->CurrentValue); // SupervisorTelNo $CCMStudents->SupervisorTelNo->EditCustomAttributes = ""; $CCMStudents->SupervisorTelNo->EditValue = ew_HtmlEncode($CCMStudents->SupervisorTelNo->CurrentValue); // SupervisorCellNo $CCMStudents->SupervisorCellNo->EditCustomAttributes = ""; $CCMStudents->SupervisorCellNo->EditValue = ew_HtmlEncode($CCMStudents->SupervisorCellNo->CurrentValue); // SupervisorEmail $CCMStudents->SupervisorEmail->EditCustomAttributes = ""; $CCMStudents->SupervisorEmail->EditValue = ew_HtmlEncode($CCMStudents->SupervisorEmail->CurrentValue); // EducationalInst $CCMStudents->EducationalInst->EditCustomAttributes = ""; $CCMStudents->EducationalInst->EditValue = ew_HtmlEncode($CCMStudents->EducationalInst->CurrentValue); // Qualifications $CCMStudents->Qualifications->EditCustomAttributes = ""; $CCMStudents->Qualifications->EditValue = ew_HtmlEncode($CCMStudents->Qualifications->CurrentValue); // DateFinalExam $CCMStudents->DateFinalExam->EditCustomAttributes = ""; $CCMStudents->DateFinalExam->EditValue = ew_HtmlEncode($CCMStudents->DateFinalExam->CurrentValue); // IDFile $CCMStudents->IDFile->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->IDFile->Upload->DbValue)) { $CCMStudents->IDFile->EditValue = $CCMStudents->IDFile->Upload->DbValue; } else { $CCMStudents->IDFile->EditValue = ""; } // CVFile $CCMStudents->CVFile->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->CVFile->Upload->DbValue)) { $CCMStudents->CVFile->EditValue = $CCMStudents->CVFile->Upload->DbValue; } else { $CCMStudents->CVFile->EditValue = ""; } // QualCertificate1 $CCMStudents->QualCertificate1->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->QualCertificate1->Upload->DbValue)) { $CCMStudents->QualCertificate1->EditValue = $CCMStudents->QualCertificate1->Upload->DbValue; } else { $CCMStudents->QualCertificate1->EditValue = ""; } // QualCertificate2 $CCMStudents->QualCertificate2->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->QualCertificate2->Upload->DbValue)) { $CCMStudents->QualCertificate2->EditValue = $CCMStudents->QualCertificate2->Upload->DbValue; } else { $CCMStudents->QualCertificate2->EditValue = ""; } // QualCertificate3 $CCMStudents->QualCertificate3->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->QualCertificate3->Upload->DbValue)) { $CCMStudents->QualCertificate3->EditValue = $CCMStudents->QualCertificate3->Upload->DbValue; } else { $CCMStudents->QualCertificate3->EditValue = ""; } // MentorUndertaking $CCMStudents->MentorUndertaking->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->MentorUndertaking->Upload->DbValue)) { $CCMStudents->MentorUndertaking->EditValue = $CCMStudents->MentorUndertaking->Upload->DbValue; } else { $CCMStudents->MentorUndertaking->EditValue = ""; } // CandUUndertaking $CCMStudents->CandUUndertaking->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->CandUUndertaking->Upload->DbValue)) { $CCMStudents->CandUUndertaking->EditValue = $CCMStudents->CandUUndertaking->Upload->DbValue; } else { $CCMStudents->CandUUndertaking->EditValue = ""; } // CompanyCandidatePolicy $CCMStudents->CompanyCandidatePolicy->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->CompanyCandidatePolicy->Upload->DbValue)) { $CCMStudents->CompanyCandidatePolicy->EditValue = $CCMStudents->CompanyCandidatePolicy->Upload->DbValue; } else { $CCMStudents->CompanyCandidatePolicy->EditValue = ""; } // ResidenceProof $CCMStudents->ResidenceProof->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->ResidenceProof->Upload->DbValue)) { $CCMStudents->ResidenceProof->EditValue = $CCMStudents->ResidenceProof->Upload->DbValue; } else { $CCMStudents->ResidenceProof->EditValue = ""; } // SignedAppForm $CCMStudents->SignedAppForm->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->SignedAppForm->Upload->DbValue)) { $CCMStudents->SignedAppForm->EditValue = $CCMStudents->SignedAppForm->Upload->DbValue; } else { $CCMStudents->SignedAppForm->EditValue = ""; } // Photograph $CCMStudents->Photograph->EditCustomAttributes = ""; if (!ew_Empty($CCMStudents->Photograph->Upload->DbValue)) { $CCMStudents->Photograph->EditValue = $CCMStudents->Photograph->Upload->DbValue; } else { $CCMStudents->Photograph->EditValue = ""; } // StudentNumber $CCMStudents->StudentNumber->EditCustomAttributes = ""; $CCMStudents->StudentNumber->EditValue = ew_HtmlEncode($CCMStudents->StudentNumber->CurrentValue); // WebUsername $CCMStudents->WebUsername->EditCustomAttributes = ""; $CCMStudents->WebUsername->EditValue = ew_HtmlEncode($CCMStudents->WebUsername->CurrentValue); // WebPassword $CCMStudents->WebPassword->EditCustomAttributes = ""; $CCMStudents->WebPassword->EditValue = ew_HtmlEncode($CCMStudents->WebPassword->CurrentValue); // BlockAccess $CCMStudents->BlockAccess->EditCustomAttributes = ""; $arwrk = array(); $arwrk[] = array("y", "Yes"); $arwrk[] = array("n", "No"); $CCMStudents->BlockAccess->EditValue = $arwrk; // Archived $CCMStudents->Archived->EditCustomAttributes = ""; $arwrk = array(); $arwrk[] = array("1", "Yes"); $arwrk[] = array("0", "No"); $CCMStudents->Archived->EditValue = $arwrk; // Edit refer script // CCMStudentID $CCMStudents->CCMStudentID->HrefValue = ""; // SelectionCategory $CCMStudents->SelectionCategory->HrefValue = ""; // Title $CCMStudents->Title->HrefValue = ""; // Initials $CCMStudents->Initials->HrefValue = ""; // FirstName $CCMStudents->FirstName->HrefValue = ""; // Surname $CCMStudents->Surname->HrefValue = ""; // KnownAs $CCMStudents->KnownAs->HrefValue = ""; // IDNumber $CCMStudents->IDNumber->HrefValue = ""; // Telephone $CCMStudents->Telephone->HrefValue = ""; // Cellphone $CCMStudents->Cellphone->HrefValue = ""; // EmailAddress $CCMStudents->EmailAddress->HrefValue = ""; // WorkAddress $CCMStudents->WorkAddress->HrefValue = ""; // PostalAddress $CCMStudents->PostalAddress->HrefValue = ""; // Department $CCMStudents->Department->HrefValue = ""; // Organisation $CCMStudents->Organisation->HrefValue = ""; // VATNo $CCMStudents->VATNo->HrefValue = ""; // JobTitle $CCMStudents->JobTitle->HrefValue = ""; // DateofBirth $CCMStudents->DateofBirth->HrefValue = ""; // PlaceofBirth $CCMStudents->PlaceofBirth->HrefValue = ""; // CountryofBirth $CCMStudents->CountryofBirth->HrefValue = ""; // Province $CCMStudents->Province->HrefValue = ""; // MaleorFemale $CCMStudents->MaleorFemale->HrefValue = ""; // RaceGroup $CCMStudents->RaceGroup->HrefValue = ""; // Disability $CCMStudents->Disability->HrefValue = ""; // DisabilityNature $CCMStudents->DisabilityNature->HrefValue = ""; // DisabilityCertificate if (!ew_Empty($CCMStudents->DisabilityCertificate->Upload->DbValue)) { $CCMStudents->DisabilityCertificate->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->DisabilityCertificate->UploadPath) . ((!empty($CCMStudents->DisabilityCertificate->EditValue)) ? $CCMStudents->DisabilityCertificate->EditValue : $CCMStudents->DisabilityCertificate->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->DisabilityCertificate->HrefValue = ew_ConvertFullUrl($CCMStudents->DisabilityCertificate->HrefValue); } else { $CCMStudents->DisabilityCertificate->HrefValue = ""; } // ProfessionalCouncil $CCMStudents->ProfessionalCouncil->HrefValue = ""; // CategoryReg $CCMStudents->CategoryReg->HrefValue = ""; // CouncilRegNumber $CCMStudents->CouncilRegNumber->HrefValue = ""; // LengthCandidateReg $CCMStudents->LengthCandidateReg->HrefValue = ""; // YearsToProfReg $CCMStudents->YearsToProfReg->HrefValue = ""; // FirstJobStart $CCMStudents->FirstJobStart->HrefValue = ""; // VolAssociations $CCMStudents->VolAssociations->HrefValue = ""; // BelongsTo $CCMStudents->BelongsTo->HrefValue = ""; // CESA_SABTACO_MemNum $CCMStudents->CESA_SABTACO_MemNum->HrefValue = ""; // AreaDiscipline $CCMStudents->AreaDiscipline->HrefValue = ""; // AreaSubDiscipline $CCMStudents->AreaSubDiscipline->HrefValue = ""; // Salary $CCMStudents->Salary->HrefValue = ""; // Payslip if (!ew_Empty($CCMStudents->Payslip->Upload->DbValue)) { $CCMStudents->Payslip->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->Payslip->UploadPath) . ((!empty($CCMStudents->Payslip->EditValue)) ? $CCMStudents->Payslip->EditValue : $CCMStudents->Payslip->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->Payslip->HrefValue = ew_ConvertFullUrl($CCMStudents->Payslip->HrefValue); } else { $CCMStudents->Payslip->HrefValue = ""; } // BankAccountName $CCMStudents->BankAccountName->HrefValue = ""; // BankAccountBank $CCMStudents->BankAccountBank->HrefValue = ""; // BankAccountBranch $CCMStudents->BankAccountBranch->HrefValue = ""; // BankAccountNo $CCMStudents->BankAccountNo->HrefValue = ""; // BankAccountProof if (!ew_Empty($CCMStudents->BankAccountProof->Upload->DbValue)) { $CCMStudents->BankAccountProof->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->BankAccountProof->UploadPath) . ((!empty($CCMStudents->BankAccountProof->EditValue)) ? $CCMStudents->BankAccountProof->EditValue : $CCMStudents->BankAccountProof->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->BankAccountProof->HrefValue = ew_ConvertFullUrl($CCMStudents->BankAccountProof->HrefValue); } else { $CCMStudents->BankAccountProof->HrefValue = ""; } // Funding $CCMStudents->Funding->HrefValue = ""; // CWDTP $CCMStudents->CWDTP->HrefValue = ""; // BookedByName $CCMStudents->BookedByName->HrefValue = ""; // BookedByDesignation $CCMStudents->BookedByDesignation->HrefValue = ""; // BookedByTelNo $CCMStudents->BookedByTelNo->HrefValue = ""; // BookedByFaxNo $CCMStudents->BookedByFaxNo->HrefValue = ""; // BookedByCellNo $CCMStudents->BookedByCellNo->HrefValue = ""; // BookedByEmail $CCMStudents->BookedByEmail->HrefValue = ""; // MentorID $CCMStudents->MentorID->HrefValue = ""; // EmployerID $CCMStudents->EmployerID->HrefValue = ""; // HRManagerName $CCMStudents->HRManagerName->HrefValue = ""; // HRManagerDesignation $CCMStudents->HRManagerDesignation->HrefValue = ""; // HRManagerTelNo $CCMStudents->HRManagerTelNo->HrefValue = ""; // HRManagerCellNo $CCMStudents->HRManagerCellNo->HrefValue = ""; // HRManagerEmail $CCMStudents->HRManagerEmail->HrefValue = ""; // SupervisorName $CCMStudents->SupervisorName->HrefValue = ""; // SupervisorDesig $CCMStudents->SupervisorDesig->HrefValue = ""; // SupervisorProfRegNo $CCMStudents->SupervisorProfRegNo->HrefValue = ""; // SupervisorTelNo $CCMStudents->SupervisorTelNo->HrefValue = ""; // SupervisorCellNo $CCMStudents->SupervisorCellNo->HrefValue = ""; // SupervisorEmail $CCMStudents->SupervisorEmail->HrefValue = ""; // EducationalInst $CCMStudents->EducationalInst->HrefValue = ""; // Qualifications $CCMStudents->Qualifications->HrefValue = ""; // DateFinalExam $CCMStudents->DateFinalExam->HrefValue = ""; // IDFile if (!ew_Empty($CCMStudents->IDFile->Upload->DbValue)) { $CCMStudents->IDFile->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->IDFile->UploadPath) . ((!empty($CCMStudents->IDFile->EditValue)) ? $CCMStudents->IDFile->EditValue : $CCMStudents->IDFile->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->IDFile->HrefValue = ew_ConvertFullUrl($CCMStudents->IDFile->HrefValue); } else { $CCMStudents->IDFile->HrefValue = ""; } // CVFile if (!ew_Empty($CCMStudents->CVFile->Upload->DbValue)) { $CCMStudents->CVFile->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->CVFile->UploadPath) . ((!empty($CCMStudents->CVFile->EditValue)) ? $CCMStudents->CVFile->EditValue : $CCMStudents->CVFile->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->CVFile->HrefValue = ew_ConvertFullUrl($CCMStudents->CVFile->HrefValue); } else { $CCMStudents->CVFile->HrefValue = ""; } // QualCertificate1 if (!ew_Empty($CCMStudents->QualCertificate1->Upload->DbValue)) { $CCMStudents->QualCertificate1->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->QualCertificate1->UploadPath) . ((!empty($CCMStudents->QualCertificate1->EditValue)) ? $CCMStudents->QualCertificate1->EditValue : $CCMStudents->QualCertificate1->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->QualCertificate1->HrefValue = ew_ConvertFullUrl($CCMStudents->QualCertificate1->HrefValue); } else { $CCMStudents->QualCertificate1->HrefValue = ""; } // QualCertificate2 if (!ew_Empty($CCMStudents->QualCertificate2->Upload->DbValue)) { $CCMStudents->QualCertificate2->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->QualCertificate2->UploadPath) . ((!empty($CCMStudents->QualCertificate2->EditValue)) ? $CCMStudents->QualCertificate2->EditValue : $CCMStudents->QualCertificate2->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->QualCertificate2->HrefValue = ew_ConvertFullUrl($CCMStudents->QualCertificate2->HrefValue); } else { $CCMStudents->QualCertificate2->HrefValue = ""; } // QualCertificate3 if (!ew_Empty($CCMStudents->QualCertificate3->Upload->DbValue)) { $CCMStudents->QualCertificate3->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->QualCertificate3->UploadPath) . ((!empty($CCMStudents->QualCertificate3->EditValue)) ? $CCMStudents->QualCertificate3->EditValue : $CCMStudents->QualCertificate3->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->QualCertificate3->HrefValue = ew_ConvertFullUrl($CCMStudents->QualCertificate3->HrefValue); } else { $CCMStudents->QualCertificate3->HrefValue = ""; } // MentorUndertaking if (!ew_Empty($CCMStudents->MentorUndertaking->Upload->DbValue)) { $CCMStudents->MentorUndertaking->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->MentorUndertaking->UploadPath) . ((!empty($CCMStudents->MentorUndertaking->EditValue)) ? $CCMStudents->MentorUndertaking->EditValue : $CCMStudents->MentorUndertaking->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->MentorUndertaking->HrefValue = ew_ConvertFullUrl($CCMStudents->MentorUndertaking->HrefValue); } else { $CCMStudents->MentorUndertaking->HrefValue = ""; } // CandUUndertaking if (!ew_Empty($CCMStudents->CandUUndertaking->Upload->DbValue)) { $CCMStudents->CandUUndertaking->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->CandUUndertaking->UploadPath) . ((!empty($CCMStudents->CandUUndertaking->EditValue)) ? $CCMStudents->CandUUndertaking->EditValue : $CCMStudents->CandUUndertaking->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->CandUUndertaking->HrefValue = ew_ConvertFullUrl($CCMStudents->CandUUndertaking->HrefValue); } else { $CCMStudents->CandUUndertaking->HrefValue = ""; } // CompanyCandidatePolicy if (!ew_Empty($CCMStudents->CompanyCandidatePolicy->Upload->DbValue)) { $CCMStudents->CompanyCandidatePolicy->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->CompanyCandidatePolicy->UploadPath) . ((!empty($CCMStudents->CompanyCandidatePolicy->EditValue)) ? $CCMStudents->CompanyCandidatePolicy->EditValue : $CCMStudents->CompanyCandidatePolicy->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->CompanyCandidatePolicy->HrefValue = ew_ConvertFullUrl($CCMStudents->CompanyCandidatePolicy->HrefValue); } else { $CCMStudents->CompanyCandidatePolicy->HrefValue = ""; } // ResidenceProof if (!ew_Empty($CCMStudents->ResidenceProof->Upload->DbValue)) { $CCMStudents->ResidenceProof->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->ResidenceProof->UploadPath) . ((!empty($CCMStudents->ResidenceProof->EditValue)) ? $CCMStudents->ResidenceProof->EditValue : $CCMStudents->ResidenceProof->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->ResidenceProof->HrefValue = ew_ConvertFullUrl($CCMStudents->ResidenceProof->HrefValue); } else { $CCMStudents->ResidenceProof->HrefValue = ""; } // SignedAppForm if (!ew_Empty($CCMStudents->SignedAppForm->Upload->DbValue)) { $CCMStudents->SignedAppForm->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->SignedAppForm->UploadPath) . ((!empty($CCMStudents->SignedAppForm->EditValue)) ? $CCMStudents->SignedAppForm->EditValue : $CCMStudents->SignedAppForm->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->SignedAppForm->HrefValue = ew_ConvertFullUrl($CCMStudents->SignedAppForm->HrefValue); } else { $CCMStudents->SignedAppForm->HrefValue = ""; } // Photograph if (!ew_Empty($CCMStudents->Photograph->Upload->DbValue)) { $CCMStudents->Photograph->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->Photograph->UploadPath) . ((!empty($CCMStudents->Photograph->EditValue)) ? $CCMStudents->Photograph->EditValue : $CCMStudents->Photograph->CurrentValue); if ($CCMStudents->Export <> "") $CCMStudents->Photograph->HrefValue = ew_ConvertFullUrl($CCMStudents->Photograph->HrefValue); } else { $CCMStudents->Photograph->HrefValue = ""; } // StudentNumber $CCMStudents->StudentNumber->HrefValue = ""; // WebUsername $CCMStudents->WebUsername->HrefValue = ""; // WebPassword $CCMStudents->WebPassword->HrefValue = ""; // BlockAccess $CCMStudents->BlockAccess->HrefValue = ""; // Archived $CCMStudents->Archived->HrefValue = ""; } // Call Row Rendered event if ($CCMStudents->RowType <> EW_ROWTYPE_AGGREGATEINIT) $CCMStudents->Row_Rendered(); } // Validate form function ValidateForm() { global $Language, $gsFormError, $CCMStudents; // Initialize form error message $gsFormError = ""; if (!ew_CheckFileType($CCMStudents->DisabilityCertificate->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->DisabilityCertificate->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->DisabilityCertificate->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->DisabilityCertificate->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->DisabilityCertificate->Upload->Error); } if (!ew_CheckFileType($CCMStudents->Payslip->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->Payslip->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->Payslip->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->Payslip->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->Payslip->Upload->Error); } if (!ew_CheckFileType($CCMStudents->BankAccountProof->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->BankAccountProof->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->BankAccountProof->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->BankAccountProof->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->BankAccountProof->Upload->Error); } if (!ew_CheckFileType($CCMStudents->IDFile->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->IDFile->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->IDFile->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->IDFile->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->IDFile->Upload->Error); } if (!ew_CheckFileType($CCMStudents->CVFile->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->CVFile->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->CVFile->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->CVFile->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->CVFile->Upload->Error); } if (!ew_CheckFileType($CCMStudents->QualCertificate1->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->QualCertificate1->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->QualCertificate1->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->QualCertificate1->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->QualCertificate1->Upload->Error); } if (!ew_CheckFileType($CCMStudents->QualCertificate2->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->QualCertificate2->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->QualCertificate2->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->QualCertificate2->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->QualCertificate2->Upload->Error); } if (!ew_CheckFileType($CCMStudents->QualCertificate3->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->QualCertificate3->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->QualCertificate3->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->QualCertificate3->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->QualCertificate3->Upload->Error); } if (!ew_CheckFileType($CCMStudents->MentorUndertaking->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->MentorUndertaking->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->MentorUndertaking->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->MentorUndertaking->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->MentorUndertaking->Upload->Error); } if (!ew_CheckFileType($CCMStudents->CandUUndertaking->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->CandUUndertaking->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->CandUUndertaking->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->CandUUndertaking->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->CandUUndertaking->Upload->Error); } if (!ew_CheckFileType($CCMStudents->CompanyCandidatePolicy->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->CompanyCandidatePolicy->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->CompanyCandidatePolicy->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->CompanyCandidatePolicy->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->CompanyCandidatePolicy->Upload->Error); } if (!ew_CheckFileType($CCMStudents->ResidenceProof->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->ResidenceProof->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->ResidenceProof->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->ResidenceProof->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->ResidenceProof->Upload->Error); } if (!ew_CheckFileType($CCMStudents->SignedAppForm->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->SignedAppForm->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->SignedAppForm->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->SignedAppForm->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->SignedAppForm->Upload->Error); } if (!ew_CheckFileType($CCMStudents->Photograph->Upload->FileName)) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("WrongFileType"); } if ($CCMStudents->Photograph->Upload->FileSize > 0 && EW_MAX_FILE_SIZE > 0 && $CCMStudents->Photograph->Upload->FileSize > EW_MAX_FILE_SIZE) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= str_replace("%s", EW_MAX_FILE_SIZE, $Language->Phrase("MaxFileSize")); } if (in_array($CCMStudents->Photograph->Upload->Error, array(1, 2, 3, 6, 7, 8))) { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("PhpUploadErr" . $CCMStudents->Photograph->Upload->Error); } // Check if validation required if (!EW_SERVER_VALIDATE) return ($gsFormError == ""); if (!is_null($CCMStudents->FirstName->FormValue) && $CCMStudents->FirstName->FormValue == "") { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("EnterRequiredField") . " - " . $CCMStudents->FirstName->FldCaption(); } if (!is_null($CCMStudents->Surname->FormValue) && $CCMStudents->Surname->FormValue == "") { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("EnterRequiredField") . " - " . $CCMStudents->Surname->FldCaption(); } if (!ew_CheckDate($CCMStudents->DateofBirth->FormValue)) { if ($gsFormError <> "") $gsFormError .= "<br>"; $gsFormError .= $CCMStudents->DateofBirth->FldErrMsg(); } // Return validate result $ValidateForm = ($gsFormError == ""); // Call Form_CustomValidate event $sFormCustomError = ""; $ValidateForm = $ValidateForm && $this->Form_CustomValidate($sFormCustomError); if ($sFormCustomError <> "") { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $sFormCustomError; } return $ValidateForm; } // Update record based on key values function EditRow() { global $conn, $Security, $Language, $CCMStudents; $sFilter = $CCMStudents->KeyFilter(); $CCMStudents->CurrentFilter = $sFilter; $sSql = $CCMStudents->SQL(); $conn->raiseErrorFn = 'ew_ErrorFn'; $rs = $conn->Execute($sSql); $conn->raiseErrorFn = ''; if ($rs === FALSE) return FALSE; if ($rs->EOF) { $EditRow = FALSE; // Update Failed } else { // Save old values $rsold =& $rs->fields; $rsnew = array(); // SelectionCategory $CCMStudents->SelectionCategory->SetDbValueDef($rsnew, $CCMStudents->SelectionCategory->CurrentValue, NULL, FALSE); // Title $CCMStudents->Title->SetDbValueDef($rsnew, $CCMStudents->Title->CurrentValue, NULL, FALSE); // Initials $CCMStudents->Initials->SetDbValueDef($rsnew, $CCMStudents->Initials->CurrentValue, NULL, FALSE); // FirstName $CCMStudents->FirstName->SetDbValueDef($rsnew, $CCMStudents->FirstName->CurrentValue, "", FALSE); // Surname $CCMStudents->Surname->SetDbValueDef($rsnew, $CCMStudents->Surname->CurrentValue, "", FALSE); // KnownAs $CCMStudents->KnownAs->SetDbValueDef($rsnew, $CCMStudents->KnownAs->CurrentValue, NULL, FALSE); // IDNumber $CCMStudents->IDNumber->SetDbValueDef($rsnew, $CCMStudents->IDNumber->CurrentValue, NULL, FALSE); // Telephone $CCMStudents->Telephone->SetDbValueDef($rsnew, $CCMStudents->Telephone->CurrentValue, NULL, FALSE); // Cellphone $CCMStudents->Cellphone->SetDbValueDef($rsnew, $CCMStudents->Cellphone->CurrentValue, NULL, FALSE); // EmailAddress $CCMStudents->EmailAddress->SetDbValueDef($rsnew, $CCMStudents->EmailAddress->CurrentValue, NULL, FALSE); // WorkAddress $CCMStudents->WorkAddress->SetDbValueDef($rsnew, $CCMStudents->WorkAddress->CurrentValue, NULL, FALSE); // PostalAddress $CCMStudents->PostalAddress->SetDbValueDef($rsnew, $CCMStudents->PostalAddress->CurrentValue, NULL, FALSE); // Department $CCMStudents->Department->SetDbValueDef($rsnew, $CCMStudents->Department->CurrentValue, NULL, FALSE); // Organisation $CCMStudents->Organisation->SetDbValueDef($rsnew, $CCMStudents->Organisation->CurrentValue, NULL, FALSE); // VATNo $CCMStudents->VATNo->SetDbValueDef($rsnew, $CCMStudents->VATNo->CurrentValue, NULL, FALSE); // JobTitle $CCMStudents->JobTitle->SetDbValueDef($rsnew, $CCMStudents->JobTitle->CurrentValue, NULL, FALSE); // DateofBirth $CCMStudents->DateofBirth->SetDbValueDef($rsnew, ew_UnFormatDateTime($CCMStudents->DateofBirth->CurrentValue, 5, FALSE), NULL); // PlaceofBirth $CCMStudents->PlaceofBirth->SetDbValueDef($rsnew, $CCMStudents->PlaceofBirth->CurrentValue, NULL, FALSE); // CountryofBirth $CCMStudents->CountryofBirth->SetDbValueDef($rsnew, $CCMStudents->CountryofBirth->CurrentValue, NULL, FALSE); // Province $CCMStudents->Province->SetDbValueDef($rsnew, $CCMStudents->Province->CurrentValue, NULL, FALSE); // MaleorFemale $CCMStudents->MaleorFemale->SetDbValueDef($rsnew, $CCMStudents->MaleorFemale->CurrentValue, NULL, FALSE); // RaceGroup $CCMStudents->RaceGroup->SetDbValueDef($rsnew, $CCMStudents->RaceGroup->CurrentValue, NULL, FALSE); // Disability $CCMStudents->Disability->SetDbValueDef($rsnew, $CCMStudents->Disability->CurrentValue, "", FALSE); // DisabilityNature $CCMStudents->DisabilityNature->SetDbValueDef($rsnew, $CCMStudents->DisabilityNature->CurrentValue, NULL, FALSE); // DisabilityCertificate $CCMStudents->DisabilityCertificate->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->DisabilityCertificate->Upload->Action == "2" || $CCMStudents->DisabilityCertificate->Upload->Action == "3") { // Update/Remove $CCMStudents->DisabilityCertificate->Upload->DbValue = $rs->fields('DisabilityCertificate'); // Get original value if (is_null($CCMStudents->DisabilityCertificate->Upload->Value)) { $rsnew['DisabilityCertificate'] = NULL; } else { $rsnew['DisabilityCertificate'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->DisabilityCertificate->UploadPath), $CCMStudents->DisabilityCertificate->Upload->FileName); } } // ProfessionalCouncil $CCMStudents->ProfessionalCouncil->SetDbValueDef($rsnew, $CCMStudents->ProfessionalCouncil->CurrentValue, NULL, FALSE); // CategoryReg $CCMStudents->CategoryReg->SetDbValueDef($rsnew, $CCMStudents->CategoryReg->CurrentValue, NULL, FALSE); // CouncilRegNumber $CCMStudents->CouncilRegNumber->SetDbValueDef($rsnew, $CCMStudents->CouncilRegNumber->CurrentValue, NULL, FALSE); // LengthCandidateReg $CCMStudents->LengthCandidateReg->SetDbValueDef($rsnew, $CCMStudents->LengthCandidateReg->CurrentValue, NULL, FALSE); // YearsToProfReg $CCMStudents->YearsToProfReg->SetDbValueDef($rsnew, $CCMStudents->YearsToProfReg->CurrentValue, NULL, FALSE); // FirstJobStart $CCMStudents->FirstJobStart->SetDbValueDef($rsnew, $CCMStudents->FirstJobStart->CurrentValue, NULL, FALSE); // VolAssociations $CCMStudents->VolAssociations->SetDbValueDef($rsnew, $CCMStudents->VolAssociations->CurrentValue, NULL, FALSE); // BelongsTo $CCMStudents->BelongsTo->SetDbValueDef($rsnew, $CCMStudents->BelongsTo->CurrentValue, NULL, FALSE); // CESA_SABTACO_MemNum $CCMStudents->CESA_SABTACO_MemNum->SetDbValueDef($rsnew, $CCMStudents->CESA_SABTACO_MemNum->CurrentValue, NULL, FALSE); // AreaDiscipline $CCMStudents->AreaDiscipline->SetDbValueDef($rsnew, $CCMStudents->AreaDiscipline->CurrentValue, NULL, FALSE); // AreaSubDiscipline $CCMStudents->AreaSubDiscipline->SetDbValueDef($rsnew, $CCMStudents->AreaSubDiscipline->CurrentValue, NULL, FALSE); // Salary $CCMStudents->Salary->SetDbValueDef($rsnew, $CCMStudents->Salary->CurrentValue, NULL, FALSE); // Payslip $CCMStudents->Payslip->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->Payslip->Upload->Action == "2" || $CCMStudents->Payslip->Upload->Action == "3") { // Update/Remove $CCMStudents->Payslip->Upload->DbValue = $rs->fields('Payslip'); // Get original value if (is_null($CCMStudents->Payslip->Upload->Value)) { $rsnew['Payslip'] = NULL; } else { $rsnew['Payslip'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->Payslip->UploadPath), $CCMStudents->Payslip->Upload->FileName); } } // BankAccountName $CCMStudents->BankAccountName->SetDbValueDef($rsnew, $CCMStudents->BankAccountName->CurrentValue, NULL, FALSE); // BankAccountBank $CCMStudents->BankAccountBank->SetDbValueDef($rsnew, $CCMStudents->BankAccountBank->CurrentValue, NULL, FALSE); // BankAccountBranch $CCMStudents->BankAccountBranch->SetDbValueDef($rsnew, $CCMStudents->BankAccountBranch->CurrentValue, NULL, FALSE); // BankAccountNo $CCMStudents->BankAccountNo->SetDbValueDef($rsnew, $CCMStudents->BankAccountNo->CurrentValue, NULL, FALSE); // BankAccountProof $CCMStudents->BankAccountProof->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->BankAccountProof->Upload->Action == "2" || $CCMStudents->BankAccountProof->Upload->Action == "3") { // Update/Remove $CCMStudents->BankAccountProof->Upload->DbValue = $rs->fields('BankAccountProof'); // Get original value if (is_null($CCMStudents->BankAccountProof->Upload->Value)) { $rsnew['BankAccountProof'] = NULL; } else { $rsnew['BankAccountProof'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->BankAccountProof->UploadPath), $CCMStudents->BankAccountProof->Upload->FileName); } } // Funding $CCMStudents->Funding->SetDbValueDef($rsnew, $CCMStudents->Funding->CurrentValue, NULL, FALSE); // CWDTP $CCMStudents->CWDTP->SetDbValueDef($rsnew, $CCMStudents->CWDTP->CurrentValue, "", FALSE); // BookedByName $CCMStudents->BookedByName->SetDbValueDef($rsnew, $CCMStudents->BookedByName->CurrentValue, NULL, FALSE); // BookedByDesignation $CCMStudents->BookedByDesignation->SetDbValueDef($rsnew, $CCMStudents->BookedByDesignation->CurrentValue, NULL, FALSE); // BookedByTelNo $CCMStudents->BookedByTelNo->SetDbValueDef($rsnew, $CCMStudents->BookedByTelNo->CurrentValue, NULL, FALSE); // BookedByFaxNo $CCMStudents->BookedByFaxNo->SetDbValueDef($rsnew, $CCMStudents->BookedByFaxNo->CurrentValue, NULL, FALSE); // BookedByCellNo $CCMStudents->BookedByCellNo->SetDbValueDef($rsnew, $CCMStudents->BookedByCellNo->CurrentValue, NULL, FALSE); // BookedByEmail $CCMStudents->BookedByEmail->SetDbValueDef($rsnew, $CCMStudents->BookedByEmail->CurrentValue, NULL, FALSE); // MentorID $CCMStudents->MentorID->SetDbValueDef($rsnew, $CCMStudents->MentorID->CurrentValue, NULL, FALSE); // EmployerID $CCMStudents->EmployerID->SetDbValueDef($rsnew, $CCMStudents->EmployerID->CurrentValue, NULL, FALSE); // HRManagerName $CCMStudents->HRManagerName->SetDbValueDef($rsnew, $CCMStudents->HRManagerName->CurrentValue, NULL, FALSE); // HRManagerDesignation $CCMStudents->HRManagerDesignation->SetDbValueDef($rsnew, $CCMStudents->HRManagerDesignation->CurrentValue, NULL, FALSE); // HRManagerTelNo $CCMStudents->HRManagerTelNo->SetDbValueDef($rsnew, $CCMStudents->HRManagerTelNo->CurrentValue, NULL, FALSE); // HRManagerCellNo $CCMStudents->HRManagerCellNo->SetDbValueDef($rsnew, $CCMStudents->HRManagerCellNo->CurrentValue, NULL, FALSE); // HRManagerEmail $CCMStudents->HRManagerEmail->SetDbValueDef($rsnew, $CCMStudents->HRManagerEmail->CurrentValue, NULL, FALSE); // SupervisorName $CCMStudents->SupervisorName->SetDbValueDef($rsnew, $CCMStudents->SupervisorName->CurrentValue, NULL, FALSE); // SupervisorDesig $CCMStudents->SupervisorDesig->SetDbValueDef($rsnew, $CCMStudents->SupervisorDesig->CurrentValue, NULL, FALSE); // SupervisorProfRegNo $CCMStudents->SupervisorProfRegNo->SetDbValueDef($rsnew, $CCMStudents->SupervisorProfRegNo->CurrentValue, NULL, FALSE); // SupervisorTelNo $CCMStudents->SupervisorTelNo->SetDbValueDef($rsnew, $CCMStudents->SupervisorTelNo->CurrentValue, NULL, FALSE); // SupervisorCellNo $CCMStudents->SupervisorCellNo->SetDbValueDef($rsnew, $CCMStudents->SupervisorCellNo->CurrentValue, NULL, FALSE); // SupervisorEmail $CCMStudents->SupervisorEmail->SetDbValueDef($rsnew, $CCMStudents->SupervisorEmail->CurrentValue, NULL, FALSE); // EducationalInst $CCMStudents->EducationalInst->SetDbValueDef($rsnew, $CCMStudents->EducationalInst->CurrentValue, NULL, FALSE); // Qualifications $CCMStudents->Qualifications->SetDbValueDef($rsnew, $CCMStudents->Qualifications->CurrentValue, NULL, FALSE); // DateFinalExam $CCMStudents->DateFinalExam->SetDbValueDef($rsnew, $CCMStudents->DateFinalExam->CurrentValue, NULL, FALSE); // IDFile $CCMStudents->IDFile->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->IDFile->Upload->Action == "2" || $CCMStudents->IDFile->Upload->Action == "3") { // Update/Remove $CCMStudents->IDFile->Upload->DbValue = $rs->fields('IDFile'); // Get original value if (is_null($CCMStudents->IDFile->Upload->Value)) { $rsnew['IDFile'] = NULL; } else { $rsnew['IDFile'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->IDFile->UploadPath), $CCMStudents->IDFile->Upload->FileName); } } // CVFile $CCMStudents->CVFile->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->CVFile->Upload->Action == "2" || $CCMStudents->CVFile->Upload->Action == "3") { // Update/Remove $CCMStudents->CVFile->Upload->DbValue = $rs->fields('CVFile'); // Get original value if (is_null($CCMStudents->CVFile->Upload->Value)) { $rsnew['CVFile'] = NULL; } else { $rsnew['CVFile'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->CVFile->UploadPath), $CCMStudents->CVFile->Upload->FileName); } } // QualCertificate1 $CCMStudents->QualCertificate1->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->QualCertificate1->Upload->Action == "2" || $CCMStudents->QualCertificate1->Upload->Action == "3") { // Update/Remove $CCMStudents->QualCertificate1->Upload->DbValue = $rs->fields('QualCertificate1'); // Get original value if (is_null($CCMStudents->QualCertificate1->Upload->Value)) { $rsnew['QualCertificate1'] = NULL; } else { $rsnew['QualCertificate1'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->QualCertificate1->UploadPath), $CCMStudents->QualCertificate1->Upload->FileName); } } // QualCertificate2 $CCMStudents->QualCertificate2->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->QualCertificate2->Upload->Action == "2" || $CCMStudents->QualCertificate2->Upload->Action == "3") { // Update/Remove $CCMStudents->QualCertificate2->Upload->DbValue = $rs->fields('QualCertificate2'); // Get original value if (is_null($CCMStudents->QualCertificate2->Upload->Value)) { $rsnew['QualCertificate2'] = NULL; } else { $rsnew['QualCertificate2'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->QualCertificate2->UploadPath), $CCMStudents->QualCertificate2->Upload->FileName); } } // QualCertificate3 $CCMStudents->QualCertificate3->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->QualCertificate3->Upload->Action == "2" || $CCMStudents->QualCertificate3->Upload->Action == "3") { // Update/Remove $CCMStudents->QualCertificate3->Upload->DbValue = $rs->fields('QualCertificate3'); // Get original value if (is_null($CCMStudents->QualCertificate3->Upload->Value)) { $rsnew['QualCertificate3'] = NULL; } else { $rsnew['QualCertificate3'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->QualCertificate3->UploadPath), $CCMStudents->QualCertificate3->Upload->FileName); } } // MentorUndertaking $CCMStudents->MentorUndertaking->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->MentorUndertaking->Upload->Action == "2" || $CCMStudents->MentorUndertaking->Upload->Action == "3") { // Update/Remove $CCMStudents->MentorUndertaking->Upload->DbValue = $rs->fields('MentorUndertaking'); // Get original value if (is_null($CCMStudents->MentorUndertaking->Upload->Value)) { $rsnew['MentorUndertaking'] = NULL; } else { $rsnew['MentorUndertaking'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->MentorUndertaking->UploadPath), $CCMStudents->MentorUndertaking->Upload->FileName); } } // CandUUndertaking $CCMStudents->CandUUndertaking->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->CandUUndertaking->Upload->Action == "2" || $CCMStudents->CandUUndertaking->Upload->Action == "3") { // Update/Remove $CCMStudents->CandUUndertaking->Upload->DbValue = $rs->fields('CandUUndertaking'); // Get original value if (is_null($CCMStudents->CandUUndertaking->Upload->Value)) { $rsnew['CandUUndertaking'] = NULL; } else { $rsnew['CandUUndertaking'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->CandUUndertaking->UploadPath), $CCMStudents->CandUUndertaking->Upload->FileName); } } // CompanyCandidatePolicy $CCMStudents->CompanyCandidatePolicy->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->CompanyCandidatePolicy->Upload->Action == "2" || $CCMStudents->CompanyCandidatePolicy->Upload->Action == "3") { // Update/Remove $CCMStudents->CompanyCandidatePolicy->Upload->DbValue = $rs->fields('CompanyCandidatePolicy'); // Get original value if (is_null($CCMStudents->CompanyCandidatePolicy->Upload->Value)) { $rsnew['CompanyCandidatePolicy'] = NULL; } else { $rsnew['CompanyCandidatePolicy'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->CompanyCandidatePolicy->UploadPath), $CCMStudents->CompanyCandidatePolicy->Upload->FileName); } } // ResidenceProof $CCMStudents->ResidenceProof->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->ResidenceProof->Upload->Action == "2" || $CCMStudents->ResidenceProof->Upload->Action == "3") { // Update/Remove $CCMStudents->ResidenceProof->Upload->DbValue = $rs->fields('ResidenceProof'); // Get original value if (is_null($CCMStudents->ResidenceProof->Upload->Value)) { $rsnew['ResidenceProof'] = NULL; } else { $rsnew['ResidenceProof'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->ResidenceProof->UploadPath), $CCMStudents->ResidenceProof->Upload->FileName); } } // SignedAppForm $CCMStudents->SignedAppForm->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->SignedAppForm->Upload->Action == "2" || $CCMStudents->SignedAppForm->Upload->Action == "3") { // Update/Remove $CCMStudents->SignedAppForm->Upload->DbValue = $rs->fields('SignedAppForm'); // Get original value if (is_null($CCMStudents->SignedAppForm->Upload->Value)) { $rsnew['SignedAppForm'] = NULL; } else { $rsnew['SignedAppForm'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->SignedAppForm->UploadPath), $CCMStudents->SignedAppForm->Upload->FileName); } } // Photograph $CCMStudents->Photograph->Upload->SaveToSession(); // Save file value to Session if ($CCMStudents->Photograph->Upload->Action == "2" || $CCMStudents->Photograph->Upload->Action == "3") { // Update/Remove $CCMStudents->Photograph->Upload->DbValue = $rs->fields('Photograph'); // Get original value if (is_null($CCMStudents->Photograph->Upload->Value)) { $rsnew['Photograph'] = NULL; } else { $rsnew['Photograph'] = ew_UploadFileNameEx(ew_UploadPathEx(TRUE, $CCMStudents->Photograph->UploadPath), $CCMStudents->Photograph->Upload->FileName); } } // StudentNumber $CCMStudents->StudentNumber->SetDbValueDef($rsnew, $CCMStudents->StudentNumber->CurrentValue, NULL, FALSE); // WebUsername $CCMStudents->WebUsername->SetDbValueDef($rsnew, $CCMStudents->WebUsername->CurrentValue, NULL, FALSE); // WebPassword $CCMStudents->WebPassword->SetDbValueDef($rsnew, $CCMStudents->WebPassword->CurrentValue, NULL, FALSE); // BlockAccess $CCMStudents->BlockAccess->SetDbValueDef($rsnew, $CCMStudents->BlockAccess->CurrentValue, "", FALSE); // Archived $CCMStudents->Archived->SetDbValueDef($rsnew, $CCMStudents->Archived->CurrentValue, 0, FALSE); // Call Row Updating event $bUpdateRow = $CCMStudents->Row_Updating($rsold, $rsnew); if ($bUpdateRow) { if (!ew_Empty($CCMStudents->DisabilityCertificate->Upload->Value)) { $CCMStudents->DisabilityCertificate->Upload->SaveToFile($CCMStudents->DisabilityCertificate->UploadPath, $rsnew['DisabilityCertificate'], FALSE); } if (!ew_Empty($CCMStudents->Payslip->Upload->Value)) { $CCMStudents->Payslip->Upload->SaveToFile($CCMStudents->Payslip->UploadPath, $rsnew['Payslip'], FALSE); } if (!ew_Empty($CCMStudents->BankAccountProof->Upload->Value)) { $CCMStudents->BankAccountProof->Upload->SaveToFile($CCMStudents->BankAccountProof->UploadPath, $rsnew['BankAccountProof'], FALSE); } if (!ew_Empty($CCMStudents->IDFile->Upload->Value)) { $CCMStudents->IDFile->Upload->SaveToFile($CCMStudents->IDFile->UploadPath, $rsnew['IDFile'], FALSE); } if (!ew_Empty($CCMStudents->CVFile->Upload->Value)) { $CCMStudents->CVFile->Upload->SaveToFile($CCMStudents->CVFile->UploadPath, $rsnew['CVFile'], FALSE); } if (!ew_Empty($CCMStudents->QualCertificate1->Upload->Value)) { $CCMStudents->QualCertificate1->Upload->SaveToFile($CCMStudents->QualCertificate1->UploadPath, $rsnew['QualCertificate1'], FALSE); } if (!ew_Empty($CCMStudents->QualCertificate2->Upload->Value)) { $CCMStudents->QualCertificate2->Upload->SaveToFile($CCMStudents->QualCertificate2->UploadPath, $rsnew['QualCertificate2'], FALSE); } if (!ew_Empty($CCMStudents->QualCertificate3->Upload->Value)) { $CCMStudents->QualCertificate3->Upload->SaveToFile($CCMStudents->QualCertificate3->UploadPath, $rsnew['QualCertificate3'], FALSE); } if (!ew_Empty($CCMStudents->MentorUndertaking->Upload->Value)) { $CCMStudents->MentorUndertaking->Upload->SaveToFile($CCMStudents->MentorUndertaking->UploadPath, $rsnew['MentorUndertaking'], FALSE); } if (!ew_Empty($CCMStudents->CandUUndertaking->Upload->Value)) { $CCMStudents->CandUUndertaking->Upload->SaveToFile($CCMStudents->CandUUndertaking->UploadPath, $rsnew['CandUUndertaking'], FALSE); } if (!ew_Empty($CCMStudents->CompanyCandidatePolicy->Upload->Value)) { $CCMStudents->CompanyCandidatePolicy->Upload->SaveToFile($CCMStudents->CompanyCandidatePolicy->UploadPath, $rsnew['CompanyCandidatePolicy'], FALSE); } if (!ew_Empty($CCMStudents->ResidenceProof->Upload->Value)) { $CCMStudents->ResidenceProof->Upload->SaveToFile($CCMStudents->ResidenceProof->UploadPath, $rsnew['ResidenceProof'], FALSE); } if (!ew_Empty($CCMStudents->SignedAppForm->Upload->Value)) { $CCMStudents->SignedAppForm->Upload->SaveToFile($CCMStudents->SignedAppForm->UploadPath, $rsnew['SignedAppForm'], FALSE); } if (!ew_Empty($CCMStudents->Photograph->Upload->Value)) { $CCMStudents->Photograph->Upload->SaveToFile($CCMStudents->Photograph->UploadPath, $rsnew['Photograph'], FALSE); } $conn->raiseErrorFn = 'ew_ErrorFn'; $EditRow = $conn->Execute($CCMStudents->UpdateSQL($rsnew)); $conn->raiseErrorFn = ''; } else { if ($CCMStudents->CancelMessage <> "") { $this->setMessage($CCMStudents->CancelMessage); $CCMStudents->CancelMessage = ""; } else { $this->setMessage($Language->Phrase("UpdateCancelled")); } $EditRow = FALSE; } } // Call Row_Updated event if ($EditRow) $CCMStudents->Row_Updated($rsold, $rsnew); $rs->Close(); // DisabilityCertificate $CCMStudents->DisabilityCertificate->Upload->RemoveFromSession(); // Remove file value from Session // Payslip $CCMStudents->Payslip->Upload->RemoveFromSession(); // Remove file value from Session // BankAccountProof $CCMStudents->BankAccountProof->Upload->RemoveFromSession(); // Remove file value from Session // IDFile $CCMStudents->IDFile->Upload->RemoveFromSession(); // Remove file value from Session // CVFile $CCMStudents->CVFile->Upload->RemoveFromSession(); // Remove file value from Session // QualCertificate1 $CCMStudents->QualCertificate1->Upload->RemoveFromSession(); // Remove file value from Session // QualCertificate2 $CCMStudents->QualCertificate2->Upload->RemoveFromSession(); // Remove file value from Session // QualCertificate3 $CCMStudents->QualCertificate3->Upload->RemoveFromSession(); // Remove file value from Session // MentorUndertaking $CCMStudents->MentorUndertaking->Upload->RemoveFromSession(); // Remove file value from Session // CandUUndertaking $CCMStudents->CandUUndertaking->Upload->RemoveFromSession(); // Remove file value from Session // CompanyCandidatePolicy $CCMStudents->CompanyCandidatePolicy->Upload->RemoveFromSession(); // Remove file value from Session // ResidenceProof $CCMStudents->ResidenceProof->Upload->RemoveFromSession(); // Remove file value from Session // SignedAppForm $CCMStudents->SignedAppForm->Upload->RemoveFromSession(); // Remove file value from Session // Photograph $CCMStudents->Photograph->Upload->RemoveFromSession(); // Remove file value from Session return $EditRow; } // Page Load event function Page_Load() { //echo "Page Load"; } // Page Unload event function Page_Unload() { //echo "Page Unload"; } // Page Redirecting event function Page_Redirecting(&$url) { // Example: //$url = "your URL"; } // Message Showing event function Message_Showing(&$msg) { // Example: //$msg = "your new message"; } // Form Custom Validate event function Form_CustomValidate(&$CustomError) { // Return error message in CustomError return TRUE; } } ?>