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 /
php /
includes /
Delete
Unzip
Name
Size
Permission
Date
Action
error_handling
[ DIR ]
drwxr-sr-x
2025-07-07 15:54
mail
[ DIR ]
drwxr-sr-x
2025-06-14 11:17
ADQAnswers.php
3.16
KB
-rw-r--r--
2026-06-03 05:55
ADQAudit.php
6.51
KB
-rw-r--r--
2026-06-03 05:55
ADQAuditAnswers.php
1.21
KB
-rw-r--r--
2026-06-03 05:55
ADQFirms.php
18.41
KB
-rw-r--r--
2025-12-31 10:56
ADQuestionnairesAnswers.php
1.05
KB
-rw-r--r--
2026-06-03 05:55
ADQuestionnairesAudit.php
2.01
KB
-rw-r--r--
2026-06-03 05:55
ADecQuestionnaires.php
3.31
KB
-rw-r--r--
2026-06-03 05:55
ADecQuestions.php
541
B
-rw-r--r--
2026-06-03 05:55
ADec_Contacts.php
1.61
KB
-rw-r--r--
2026-06-03 05:55
ADec_OfficeContacts.php
7.43
KB
-rw-r--r--
2026-06-03 05:55
ADec_PIUnderwriters.php
742
B
-rw-r--r--
2026-06-03 05:55
ADec_Transformation.php
817
B
-rw-r--r--
2026-06-03 05:55
ADec_tblMemberFirmOffices.php
1.49
KB
-rw-r--r--
2026-06-03 05:55
ADec_tblMemberFirmSkills.php
2.38
KB
-rw-r--r--
2026-06-03 05:55
ADec_tblMemberFirms.php
19.37
KB
-rw-r--r--
2026-06-03 05:55
AnonRespondees.php
4.25
KB
-rw-r--r--
2026-06-05 11:41
AwardsEntries.php
2.4
KB
-rw-r--r--
2026-06-06 10:48
BaseTableClass.php
950
B
-rw-r--r--
2026-04-26 08:24
BatchJob.php
4.46
KB
-rw-r--r--
2026-06-03 05:55
BceAssignmentFeedbackFormsReportService.php
6.77
KB
-rw-r--r--
2026-05-25 13:06
CCEAssignment.php
12.44
KB
-rw-r--r--
2026-05-26 14:26
CCEAssignmentMarking.php
26.26
KB
-rw-r--r--
2026-08-14 12:06
CCEBooks.php
524
B
-rw-r--r--
2026-06-03 05:55
CCEConvenorAuth.php
3.06
KB
-rw-r--r--
2026-08-19 11:18
CCECourseSchedules.php
579
B
-rw-r--r--
2026-06-03 05:55
CCEDocCategories.php
529
B
-rw-r--r--
2026-06-03 05:55
CCEDocuments.php
8.15
KB
-rw-r--r--
2026-08-20 12:16
CCEExam.php
15.87
KB
-rw-r--r--
2026-06-03 06:35
CCEExamQuestion.php
1.76
KB
-rw-r--r--
2026-06-03 05:55
CCEFacilitatorUser.php
931
B
-rw-r--r--
2026-06-03 05:55
CCEMessageLog.php
951
B
-rw-r--r--
2026-06-03 05:55
CCEMessages.php
8.88
KB
-rw-r--r--
2026-07-01 13:20
CCEModuleMarksService.php
7.16
KB
-rw-r--r--
2026-05-26 10:30
CCEModules.php
1.16
KB
-rw-r--r--
2026-06-03 05:55
CCEResourceGroups.php
591
B
-rw-r--r--
2026-06-03 05:55
CCEResources.php
896
B
-rw-r--r--
2026-06-03 05:55
CCESetup.php
256
B
-rw-r--r--
2026-02-09 16:20
CCEStAssigExtension.php
2.07
KB
-rw-r--r--
2026-06-03 05:55
CCEStAssigExtensionRequest.php
6.65
KB
-rw-r--r--
2026-06-03 05:55
CCEStudentAssignment.php
16.61
KB
-rw-r--r--
2026-07-15 14:44
CCEStudentCourses.php
611
B
-rw-r--r--
2026-06-03 05:55
CCEStudentDisplayOrder.php
4.96
KB
-rw-r--r--
2026-05-26 09:32
CCEStudents.php
8.4
KB
-rw-r--r--
2026-08-19 11:18
CCETemplates.php
896
B
-rw-r--r--
2026-06-03 05:55
CCEWeeklySessions.php
2.27
KB
-rw-r--r--
2026-02-09 16:25
CPDSPReview.php
624
B
-rw-r--r--
2026-06-03 05:55
CPDServiceProvider.php
4.57
KB
-rw-r--r--
2026-06-12 11:48
CPDTrainingMaterial.php
3.96
KB
-rw-r--r--
2026-06-12 11:48
CceUploadedFileService.php
34.9
KB
-rw-r--r--
2026-06-24 12:03
Certificates.php
8.93
KB
-rw-r--r--
2026-08-18 15:42
Contact.php
690
B
-rw-r--r--
2026-06-03 05:55
ErrorLog.php
1.22
KB
-rw-r--r--
2026-08-24 10:12
EventSchedules.php
5.39
KB
-rw-r--r--
2025-12-20 10:03
FileUploads.php
2.1
KB
-rw-r--r--
2026-06-03 05:55
HTMLHelper.php
17.2
KB
-rw-r--r--
2026-06-03 05:55
KeyValue.php
4.9
KB
-rw-r--r--
2026-04-25 09:34
Mailer.php
12.78
KB
-rw-r--r--
2026-07-15 09:50
MarketingAttendees.php
36.87
KB
-rw-r--r--
2026-08-14 12:06
MarketingPayments.php
2.52
KB
-rw-r--r--
2026-06-03 05:55
MemberContact.php
1.04
KB
-rw-r--r--
2026-06-03 05:55
MemberFirm.php
17.71
KB
-rw-r--r--
2026-06-03 05:55
MemberFirmOffices.php
752
B
-rw-r--r--
2026-06-03 05:55
MemberFirmSkill.php
18.04
KB
-rw-r--r--
2026-06-03 05:55
MemberPortalTransformationProxy.php
4.44
KB
-rw-r--r--
2026-05-20 09:08
MemberPortalUrls.php
1.82
KB
-rw-r--r--
2026-05-20 09:53
MsgAttachFileService.php
4.92
KB
-rw-r--r--
2026-06-22 08:37
OfficeContact.php
1.01
KB
-rw-r--r--
2026-06-03 05:55
Picklists.php
539
B
-rw-r--r--
2026-06-03 05:55
Questionnaires.php
849
B
-rw-r--r--
2026-01-23 12:39
SchoolAttendeeBulkMailerService.php
34.26
KB
-rw-r--r--
2026-08-11 10:45
SchoolAttendees.php
73.21
KB
-rw-r--r--
2026-08-11 10:45
SchoolCourses.php
7.98
KB
-rw-r--r--
2026-08-19 11:59
SchoolEvents.php
45.54
KB
-rw-r--r--
2026-08-18 15:42
SchoolPayments.php
4.48
KB
-rw-r--r--
2026-04-13 09:33
SchoolPresenters.php
1.86
KB
-rw-r--r--
2026-01-23 12:43
SchoolWeeksCoursesDashboardProxy.php
10.69
KB
-rw-r--r--
2026-08-14 12:32
TrainingProvider.php
8.06
KB
-rw-r--r--
2026-01-23 12:43
TrainingProviderDoc.php
554
B
-rw-r--r--
2026-06-03 05:55
Transformation.php
10.87
KB
-rw-r--r--
2026-05-13 09:36
UnempPractitioners.php
1.43
KB
-rw-r--r--
2026-06-03 05:55
Utils.php
13.72
KB
-rw-r--r--
2026-07-23 07:28
WeeklySessionsParser.php
7.87
KB
-rw-r--r--
2026-02-09 16:20
cceMessageAttachmentUpload.inc.php
5.12
KB
-rw-r--r--
2026-06-03 05:55
cceMessageEditor.inc.php
9.26
KB
-rw-r--r--
2026-07-01 13:20
cce_file_download_endpoint.php
1.75
KB
-rw-r--r--
2026-06-24 08:38
cstUnreadMessages.php
2.1
KB
-rw-r--r--
2026-07-01 13:20
cstWeeksCourses.php
1.84
KB
-rw-r--r--
2026-08-14 12:06
load_phpmailer.php
742
B
-rw-r--r--
2026-07-17 14:57
maill.php
19.45
KB
-rw-r--r--
2026-08-19 12:23
require_ewmysql.php
1.2
KB
-rw-r--r--
2026-08-24 10:12
sqlFunctions.php
10.48
KB
-rw-r--r--
2026-08-24 10:12
Save
Rename
<?php /* * Contact otto@igotafrica.com for details */ /** * HTML helper functions * * @author otto */ class HTMLHelper { public static function drawSelect($conf = array()) { if (!isset($conf['name'])) { $conf['name'] = 'select_box'; } if (!isset($conf['id'])) { $conf['id'] = $conf['name']; } if (!isset($conf['value'])) { $conf['value'] = ''; } if (!isset($conf['required'])) { $conf['required'] = false; } if (!isset($conf['choices']) || !is_array($conf['choices'])) { $conf['choices'] = array(); } if (!isset($conf['first_item'])) { $conf['first_item'] = ''; } if (!isset($conf['attr']) || !is_array($conf['attr'])) { $conf['attr'] = array(); } // echo count($conf['choices']); // exit; ob_start(); if (isset($conf['expanded']) && $conf['expanded']) { ?> <table width="100%" border="0" cellspacing="0" cellpadding="2" class="table-radio-checkbox"> <tbody> <tr> <?php $cnt = 0; foreach ($conf['choices'] as $key => $val) { if ($cnt % 2 == 0) { ?></tr> <tr> <?php } ?> <td width="20%" align="center"> <input type="radio" id="<?php echo $conf['name']; ?>_<?php echo $val; ?>" name="<?php echo $conf['name']; ?>" <?php echo ($conf['required']) ? 'required' : ''; ?> value="<?php echo $val; ?>" <?php echo ($conf['value'] == $val) ? 'checked="checked"' : ''; ?> /> </td> <td width="4%"></td> <td align="left"> <label for="<?php echo $conf['name']; ?>_<?php echo $val; ?>" class="required"><?php echo $key; ?></label> </td> <?php $cnt++; } //foreach ?> </tr> </tbody> </table> <?php } else { ?> <select name="<?php echo $conf['name']; ?>" id="<?php echo $conf['id']; ?>" <?php echo ($conf['required']) ? 'required' : ''; foreach ($conf['attr'] as $key => $val) { echo ' ' . $key . '="' . $val . '"'; } ?>> <?php if (!$conf['required']) { ?> <option value=""><?php echo $conf['first_item'] ?></option> <?php } foreach ($conf['choices'] as $key => $val) { if ($val == '' && $key == '') { continue; } ?> <option value="<?php echo $val; ?>" <?php echo ($conf['value'] == $val) ? 'selected' : ''; ?>><?php echo $key ?></option> <?php } ?> </select> <?php } return ob_get_clean(); } public static function drawInput($type, $name, $value, $id = '', $conf = array()) { if ($id == '') { $id = $name; } $confString = ''; foreach ($conf as $prop => $val) { $confString .= ' ' . $prop . '="' . $val . '"'; } return '<input type="' . $type . '" name="' . $name . '" id="' . $id . '" value="' . $value . '"' . $confString . ' />'; } public static function getPaginated($sqlf, $sqlAfterFrom, $orderBy = array(), $numPerPage = 20, $pageNum = 1, $conf = array()) { $return = array('records' => array(), 'numPages' => 0, 'totalRecords' => 0, 'pageSentences' => '', 'pageNav' => '', 'error' => ''); if (!isset($conf['select-all-class'])) { $conf['select-all-class'] = ''; } $countRecs = $sqlf->getRow("SELECT COUNT(*) AS Cntr FROM " . $sqlAfterFrom); if (!is_array($countRecs) || $sqlf->getLastError() > 0) { $return['error'] = '<div class="alert alert-danger">Error fetching data: ' . $sqlAfterFrom . '</div>'; return $return; } $return['totalRecords'] = $countRecs['Cntr']; $return['numPages'] = ceil($return['totalRecords'] / $numPerPage); $finalSQL = "SELECT * FROM " . $sqlAfterFrom; $orderSQL = ""; if (count($orderBy) > 0) { foreach ($orderBy as $fieldName => $direction) { if (strlen($orderSQL) <= 0) { $orderSQL .= " ORDER BY"; } else { $orderSQL .= ", "; } $orderSQL .= " " . $fieldName . " " . $direction; } } $finalSQL .= $orderSQL . " LIMIT " . (($pageNum - 1) * $numPerPage) . ", " . $numPerPage; $return['records'] = $sqlf->getAll($finalSQL); if (!is_array($return) || $sqlf->getLastError() > 0) { $return['error'] = '<div class="alert alert-danger">Error fetching data: ' . $finalSQL . '</div>'; return $return; } if ($return['totalRecords'] > 1) { $totalDisplayed = $pageNum * $numPerPage; if ($totalDisplayed > count($return['records'])) { $totalDisplayed = count($return['records']); } $return['pageSentences'] = '<div class="pageSentences">' . 'Showing records ' . formatNumber((($pageNum - 1) * $numPerPage) + 1) . ' to ' . formatNumber($totalDisplayed) . ' of ' . formatNumber($return['totalRecords']) . ' '; } if (count($return['records']) < $return['totalRecords']) { $return['pageSentences'] .= '| Showing page ' . formatNumber($pageNum) . ' of ' . formatNumber($return['numPages']) . '.'; if (strlen($conf['href']) <= 0) { $conf['href'] = $_REQUEST['REQUEST_URI']; } $prevPage = $pageNum - 1; if ($prevPage <= 0) { $prevPage = 1; } $nextPage = $pageNum + 1; if ($nextPage > $return['numPages']) { $nextPage = $return['numPages']; } $startAtPage = $pageNum - 4; if ($startAtPage <= 0) { $startAtPage = 1; } $endAtPage = $startAtPage + 9; if ($endAtPage > $return['numPages']) { $endAtPage = $return['numPages']; } $return['pageNav'] = '<div class="pageNav"> ' . '<a href="' . $conf['href'] . '?pageNum=1" class="pager-links pager-first-page ' . $conf['select-all-class'] . '" data-page-num="1"><<</a> ' . '<a href="' . $conf['href'] . '?pageNum=' . $prevPage . '" class="pager-links pager-prev-page ' . $conf['select-all-class'] . '" ' . 'data-page-num="' . $prevPage . '"><</a> '; if ($startAtPage > 1) { $return['pageNav'] .= ' ... '; } for ($pCnt = $startAtPage; $pCnt <= $endAtPage; $pCnt++) { $return['pageNav'] .= '<a href="' . $conf['href'] . '?pageNum=' . $pCnt . '" class="pager-links pager-page-num'; if ($pCnt == $pageNum) { $return['pageNav'] .= ' pager-page-current'; } $return['pageNav'] .= ' ' . $conf['select-all-class'] . '" data-page-num="' . $pCnt . '">' . formatNumber($pCnt) . '</a> '; } if ($endAtPage < $return['numPages']) { $return['pageNav'] .= ' ... '; } $return['pageNav'] .= '<a href="' . $conf['href'] . '?pageNum=' . $nextPage . '" class="pager-links pager-next-page ' . $conf['select-all-class'] . '" ' . 'data-page-num="' . $nextPage . '">></a> ' . '<a href="' . $conf['href'] . '?pageNum=' . $return['numPages'] . '" class="pager-links pager-last-page ' . $conf['select-all-class'] . '" ' . 'data-page-num="' . $return['numPages'] . '">>></a></div>'; } if (strlen($return['pageSentences']) > 0) { $return['pageSentences'] .= '</div>'; } return $return; } public static function getCountrySelect($options = []) { $countries = array( 'Afghanistan' => 'Afghanistan', 'Albania' => 'Albania', 'Algeria' => 'Algeria', 'Andorra' => 'Andorra', 'Angola' => 'Angola', 'Antigua and Barbuda' => 'Antigua and Barbuda', 'Argentina' => 'Argentina', 'Armenia' => 'Armenia', 'Australia' => 'Australia', 'Austria' => 'Austria', 'Azerbaijan' => 'Azerbaijan', 'Bahamas' => 'Bahamas', 'Bahrain' => 'Bahrain', 'Bangladesh' => 'Bangladesh', 'Barbados' => 'Barbados', 'Belarus' => 'Belarus', 'Belgium' => 'Belgium', 'Belize' => 'Belize', 'Benin' => 'Benin', 'Bhutan' => 'Bhutan', 'Bolivia' => 'Bolivia', 'Bosnia and Herzegovina' => 'Bosnia and Herzegovina', 'Botswana' => 'Botswana', 'Brazil' => 'Brazil', 'Brunei' => 'Brunei', 'Bulgaria' => 'Bulgaria', 'Burkina Faso' => 'Burkina Faso', 'Burundi' => 'Burundi', 'Cambodia' => 'Cambodia', 'Cameroon' => 'Cameroon', 'Canada' => 'Canada', 'Cape Verde' => 'Cape Verde', 'Central African Republic' => 'Central African Republic', 'Chad' => 'Chad', 'Chile' => 'Chile', 'China' => 'China', 'Colombia' => 'Colombia', 'Comoros' => 'Comoros', 'Congo (Brazzaville)' => 'Congo (Brazzaville)', 'Congo (Kinshasa)' => 'Congo (Kinshasa)', 'Costa Rica' => 'Costa Rica', 'Côte d\'Ivoire' => 'Côte d\'Ivoire', 'Croatia' => 'Croatia', 'Cuba' => 'Cuba', 'Cyprus' => 'Cyprus', 'Czech Republic' => 'Czech Republic', 'Denmark' => 'Denmark', 'Djibouti' => 'Djibouti', 'Dominica' => 'Dominica', 'Dominican Republic' => 'Dominican Republic', 'Ecuador' => 'Ecuador', 'Egypt' => 'Egypt', 'El Salvador' => 'El Salvador', 'Equatorial Guinea' => 'Equatorial Guinea', 'Eritrea' => 'Eritrea', 'Estonia' => 'Estonia', 'Ethiopia' => 'Ethiopia', 'Falkland Islands' => 'Falkland Islands', 'Fiji' => 'Fiji', 'Finland' => 'Finland', 'France' => 'France', 'French Guiana' => 'French Guiana', 'French Polynesia' => 'French Polynesia', 'Gabon' => 'Gabon', 'Gambia' => 'Gambia', 'Georgia' => 'Georgia', 'Germany' => 'Germany', 'Ghana' => 'Ghana', 'Gibraltar' => 'Gibraltar', 'Greece' => 'Greece', 'Greenland' => 'Greenland', 'Grenada' => 'Grenada', 'Guadeloupe' => 'Guadeloupe', 'Guam' => 'Guam', 'Guatemala' => 'Guatemala', 'Guinea' => 'Guinea', 'Guinea-Bissau' => 'Guinea-Bissau', 'Guyana' => 'Guyana', 'Haiti' => 'Haiti', 'Holy See' => 'Holy See', 'Honduras' => 'Honduras', 'Hong Kong' => 'Hong Kong', 'Hungary' => 'Hungary', 'Iceland' => 'Iceland', 'India' => 'India', 'Indonesia' => 'Indonesia', 'Iran' => 'Iran', 'Iraq' => 'Iraq', 'Ireland' => 'Ireland', 'Israel' => 'Israel', 'Italy' => 'Italy', 'Jamaica' => 'Jamaica', 'Japan' => 'Japan', 'Jordan' => 'Jordan', 'Kazakhstan' => 'Kazakhstan', 'Kenya' => 'Kenya', 'Kiribati' => 'Kiribati', 'Kosovo' => 'Kosovo', 'Kuwait' => 'Kuwait', 'Kyrgyzstan' => 'Kyrgyzstan', 'Laos' => 'Laos', 'Latvia' => 'Latvia', 'Lebanon' => 'Lebanon', 'Lesotho' => 'Lesotho', 'Liberia' => 'Liberia', 'Libya' => 'Libya', 'Liechtenstein' => 'Liechtenstein', 'Lithuania' => 'Lithuania', 'Luxembourg' => 'Luxembourg', 'Macedonia' => 'Macedonia', 'Madagascar' => 'Madagascar', 'Malawi' => 'Malawi', 'Malaysia' => 'Malaysia', 'Maldives' => 'Maldives', 'Mali' => 'Mali', 'Malta' => 'Malta', 'Marshall Islands' => 'Marshall Islands', 'Martinique' => 'Martinique', 'Mauritania' => 'Mauritania', 'Mauritius' => 'Mauritius', 'Mexico' => 'Mexico', 'Micronesia' => 'Micronesia', 'Moldova' => 'Moldova', 'Monaco' => 'Monaco', 'Mongolia' => 'Mongolia', 'Montenegro' => 'Montenegro', 'Montserrat' => 'Montserrat', 'Morocco' => 'Morocco', 'Mozambique' => 'Mozambique', 'Myanmar' => 'Myanmar', 'Namibia' => 'Namibia', 'Nauru' => 'Nauru', 'Nepal' => 'Nepal', 'Netherlands' => 'Netherlands', 'Netherlands Antilles' => 'Netherlands Antilles', 'New Caledonia' => 'New Caledonia', 'New Zealand' => 'New Zealand', 'Nicaragua' => 'Nicaragua', 'Niger' => 'Niger', 'Nigeria' => 'Nigeria', 'Niue' => 'Niue', 'Norway' => 'Norway', 'Oman' => 'Oman', 'Pakistan' => 'Pakistan', 'Palau' => 'Palau', 'Panama' => 'Panama', 'Papua New Guinea' => 'Papua New Guinea', 'Paraguay' => 'Paraguay', 'Peru' => 'Peru', 'Philippines' => 'Philippines', 'Poland' => 'Poland', 'Portugal' => 'Portugal', 'Puerto Rico' => 'Puerto Rico', 'Qatar' => 'Qatar', 'Romania' => 'Romania', 'Russia' => 'Russia', 'Rwanda' => 'Rwanda', 'Saint Kitts and Nevis' => 'Saint Kitts and Nevis', 'Saint Lucia' => 'Saint Lucia', 'Saint Vincent and the Grenadines' => 'Saint Vincent and the Grenadines', 'Samoa' => 'Samoa', 'San Marino' => 'San Marino', 'Sao Tome and Principe' => 'Sao Tome and Principe', 'Saudi Arabia' => 'Saudi Arabia', 'Senegal' => 'Senegal', 'Serbia' => 'Serbia', 'Seychelles' => 'Seychelles', 'Sierra Leone' => 'Sierra Leone', 'Singapore' => 'Singapore', 'Slovakia' => 'Slovakia', 'Slovenia' => 'Slovenia', 'Solomon Islands' => 'Solomon Islands', 'Somalia' => 'Somalia', 'South Africa' => 'South Africa', 'South Korea' => 'South Korea', 'South Sudan' => 'South Sudan', 'Spain' => 'Spain', 'Sri Lanka' => 'Sri Lanka', 'Sudan' => 'Sudan', 'Suriname' => 'Suriname', 'Swaziland' => 'Swaziland', 'Sweden' => 'Sweden', 'Switzerland' => 'Switzerland', 'Syria' => 'Syria', 'Tajikistan' => 'Tajikistan', 'Tanzania' => 'Tanzania', 'Thailand' => 'Thailand', 'Timor-Leste' => 'Timor-Leste', 'Togo' => 'Togo', 'Tonga' => 'Tonga', 'Trinidad and Tobago' => 'Trinidad and Tobago', 'Tunisia' => 'Tunisia', 'Turkey' => 'Turkey', 'Turkmenistan' => 'Turkmenistan', 'Turks and Caicos Islands' => 'Turks and Caicos Islands', 'Tuvalu' => 'Tuvalu', 'Uganda' => 'Uganda', 'Ukraine' => 'Ukraine', 'United Arab Emirates' => 'United Arab Emirates', 'United Kingdom' => 'United Kingdom', 'United States of America' => 'United States of America', 'Uruguay' => 'Uruguay', 'Uzbekistan' => 'Uzbekistan', 'Vanuatu' => 'Vanuatu', 'Venezuela' => 'Venezuela', 'Vietnam' => 'Vietnam', 'Wallis and Futuna' => 'Wallis and Futuna', 'Western Sahara' => 'Western Sahara', 'Yemen' => 'Yemen', 'Zambia' => 'Zambia', 'Zimbabwe' => 'Zimbabwe' ); if (!isset($options['value']) || strlen($options['value']) <= 0) { $options['value'] = 'South Africa'; } return self::drawSelect(array_merge($options, ['choices' => $countries])); } }