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_search = new cechasl23_search(); $Page =& $echasl23_search; // Page init $echasl23_search->Page_Init(); // Page main $echasl23_search->Page_Main(); ?> <?php include "header.php" ?> <script type="text/javascript"> <!-- // Create page object var echasl23_search = new ew_Page("echasl23_search"); // page properties echasl23_search.PageID = "search"; // page ID echasl23_search.FormID = "fechasl23search"; // form ID var EW_PAGE_ID = echasl23_search.PageID; // for backward compatibility // extend page with validate function for search echasl23_search.ValidateSearch = function(fobj) { ew_PostAutoSuggest(fobj); if (this.ValidateRequired) { var infix = ""; elm = fobj.elements["x" + infix + "_adminuserid"]; if (elm && !ew_CheckInteger(elm.value)) return ew_OnError(this, elm, "<?php echo ew_JsEncode2($echasl23->adminuserid->FldErrMsg()) ?>"); 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; } for (var i=0; i<fobj.elements.length; i++) { var elem = fobj.elements[i]; if (elem.name.substring(0,2) == "s_" || elem.name.substring(0,3) == "sv_") elem.value = ""; } return true; } // extend page with Form_CustomValidate function echasl23_search.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_search.ValidateRequired = true; // uses JavaScript validation <?php } else { ?> echasl23_search.ValidateRequired = false; // no JavaScript validation <?php } ?> // search highlight properties echasl23_search.ShowHighlightText = ewLanguage.Phrase("ShowHighlight"); echasl23_search.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("Search") ?> <?php echo $Language->Phrase("TblTypeTABLE") ?><?php echo $echasl23->TableCaption() ?><br><br> <a href="<?php echo $echasl23->getReturnUrl() ?>"><?php echo $Language->Phrase("BackToList") ?></a></span></p> <?php if (EW_DEBUG_ENABLED) echo ew_DebugMsg(); $echasl23_search->ShowMessage(); ?> <form name="fechasl23search" id="fechasl23search" action="<?php echo ew_CurrentPage() ?>" method="post" onsubmit="return echasl23_search.ValidateSearch(this);"> <p> <input type="hidden" name="t" id="t" value="echasl23"> <input type="hidden" name="a_search" id="a_search" value="S"> <table cellspacing="0" class="ewGrid"><tr><td class="ewGridContent"> <div class="ewGridMiddlePanel"> <table cellspacing="0" class="ewTable"> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->adminuserid->FldCaption() ?></td> <td<?php echo $echasl23->adminuserid->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_adminuserid" id="z_adminuserid" value="="></span></td> <td<?php echo $echasl23->adminuserid->CellAttributes() ?>> <div style="white-space: nowrap;"> <span class="phpmaker" style="float: left;"> <?php if (!$Security->IsAdmin() && $Security->IsLoggedIn()) { // Non system admin ?> <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->AdvancedSearch->SearchValue) ?>"> <?php } else { ?> <input type="text" name="x_adminuserid" id="x_adminuserid" title="<?php echo $echasl23->adminuserid->FldTitle() ?>" value="<?php echo $echasl23->adminuserid->EditValue ?>"<?php echo $echasl23->adminuserid->EditAttributes() ?>> <?php } ?> </span> </div> </td> </tr> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->adminusername->FldCaption() ?></td> <td<?php echo $echasl23->adminusername->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_adminusername" id="z_adminusername" value="LIKE"></span></td> <td<?php echo $echasl23->adminusername->CellAttributes() ?>> <div style="white-space: nowrap;"> <span class="phpmaker" style="float: left;"> <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> </div> </td> </tr> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->adminpassword->FldCaption() ?></td> <td<?php echo $echasl23->adminpassword->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_adminpassword" id="z_adminpassword" value="LIKE"></span></td> <td<?php echo $echasl23->adminpassword->CellAttributes() ?>> <div style="white-space: nowrap;"> <span class="phpmaker" style="float: left;"> <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> </div> </td> </tr> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->profile->FldCaption() ?></td> <td<?php echo $echasl23->profile->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_profile" id="z_profile" value="LIKE"></span></td> <td<?php echo $echasl23->profile->CellAttributes() ?>> <div style="white-space: nowrap;"> <span class="phpmaker" style="float: left;"> <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> </div> </td> </tr> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->zemail->FldCaption() ?></td> <td<?php echo $echasl23->zemail->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_zemail" id="z_zemail" value="LIKE"></span></td> <td<?php echo $echasl23->zemail->CellAttributes() ?>> <div style="white-space: nowrap;"> <span class="phpmaker" style="float: left;"> <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> </div> </td> </tr> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->activated->FldCaption() ?></td> <td<?php echo $echasl23->activated->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_activated" id="z_activated" value="="></span></td> <td<?php echo $echasl23->activated->CellAttributes() ?>> <div style="white-space: nowrap;"> <span class="phpmaker" style="float: left;"> <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> </div> </td> </tr> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->level->FldCaption() ?></td> <td<?php echo $echasl23->level->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_level" id="z_level" value="="></span></td> <td<?php echo $echasl23->level->CellAttributes() ?>> <div style="white-space: nowrap;"> <span class="phpmaker" style="float: left;"> <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->AdvancedSearch->SearchValue) == 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> </div> </td> </tr> <tr<?php echo $echasl23->RowAttributes() ?>> <td class="ewTableHeader"><?php echo $echasl23->pwdchanged->FldCaption() ?></td> <td<?php echo $echasl23->pwdchanged->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_pwdchanged" id="z_pwdchanged" value="="></span></td> <td<?php echo $echasl23->pwdchanged->CellAttributes() ?>> <div style="white-space: nowrap;"> <span class="phpmaker" style="float: left;"> <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> </div> </td> </tr> </table> </div> </td></tr></table> <p> <input type="submit" name="Action" id="Action" value="<?php echo ew_BtnCaption($Language->Phrase("Search")) ?>"> <input type="button" name="Reset" id="Reset" value="<?php echo ew_BtnCaption($Language->Phrase("Reset")) ?>" onclick="ew_ClearForm(this.form);"> </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_search->Page_Terminate(); ?> <?php // // Page class // class cechasl23_search { // Page ID var $PageID = 'search'; // Table name var $TableName = 'echasl23'; // Page object name var $PageObjName = 'echasl23_search'; // 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", 'search', 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->CanSearch()) { $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(); } // // Page main // function Page_Main() { global $objForm, $Language, $gsSearchError, $echasl23; if ($this->IsPageRequest()) { // Validate request // Get action $echasl23->CurrentAction = $objForm->GetValue("a_search"); switch ($echasl23->CurrentAction) { case "S": // Get search criteria // Build search string for advanced search, remove blank field $this->LoadSearchValues(); // Get search values if ($this->ValidateSearch()) { $sSrchStr = $this->BuildAdvancedSearch(); } else { $sSrchStr = ""; $this->setMessage($gsSearchError); } if ($sSrchStr <> "") { $sSrchStr = $echasl23->UrlParm($sSrchStr); $this->Page_Terminate("echasl23list.php" . "?" . $sSrchStr); // Go to list page } } } // Restore search settings from Session if ($gsSearchError == "") $this->LoadAdvancedSearch(); // Render row for search $echasl23->RowType = EW_ROWTYPE_SEARCH; $this->RenderRow(); } // Build advanced search function BuildAdvancedSearch() { global $echasl23; $sSrchUrl = ""; $this->BuildSearchUrl($sSrchUrl, $echasl23->adminuserid); // adminuserid $this->BuildSearchUrl($sSrchUrl, $echasl23->adminusername); // adminusername $this->BuildSearchUrl($sSrchUrl, $echasl23->adminpassword); // adminpassword $this->BuildSearchUrl($sSrchUrl, $echasl23->profile); // profile $this->BuildSearchUrl($sSrchUrl, $echasl23->zemail); // email $this->BuildSearchUrl($sSrchUrl, $echasl23->activated); // activated $this->BuildSearchUrl($sSrchUrl, $echasl23->level); // level $this->BuildSearchUrl($sSrchUrl, $echasl23->pwdchanged); // pwdchanged return $sSrchUrl; } // Build search URL function BuildSearchUrl(&$Url, &$Fld) { global $objForm; $sWrk = ""; $FldParm = substr($Fld->FldVar, 2); $FldVal = $objForm->GetValue("x_$FldParm"); $FldOpr = $objForm->GetValue("z_$FldParm"); $FldCond = $objForm->GetValue("v_$FldParm"); $FldVal2 = $objForm->GetValue("y_$FldParm"); $FldOpr2 = $objForm->GetValue("w_$FldParm"); $FldVal = ew_StripSlashes($FldVal); if (is_array($FldVal)) $FldVal = implode(",", $FldVal); $FldVal2 = ew_StripSlashes($FldVal2); if (is_array($FldVal2)) $FldVal2 = implode(",", $FldVal2); $FldOpr = strtoupper(trim($FldOpr)); $lFldDataType = ($Fld->FldIsVirtual) ? EW_DATATYPE_STRING : $Fld->FldDataType; if ($FldOpr == "BETWEEN") { $IsValidValue = ($lFldDataType <> EW_DATATYPE_NUMBER) || ($lFldDataType == EW_DATATYPE_NUMBER && is_numeric($FldVal) && is_numeric($FldVal2)); if ($FldVal <> "" && $FldVal2 <> "" && $IsValidValue) { $sWrk = "x_" . $FldParm . "=" . urlencode($FldVal) . "&y_" . $FldParm . "=" . urlencode($FldVal2) . "&z_" . $FldParm . "=" . urlencode($FldOpr); } } elseif ($FldOpr == "IS NULL" || $FldOpr == "IS NOT NULL") { $sWrk = "x_" . $FldParm . "=" . urlencode($FldVal) . "&z_" . $FldParm . "=" . urlencode($FldOpr); } else { $IsValidValue = ($lFldDataType <> EW_DATATYPE_NUMBER) || ($lFldDataType == EW_DATATYPE_NUMBER && is_numeric($FldVal)); if ($FldVal <> "" && $IsValidValue && ew_IsValidOpr($FldOpr, $lFldDataType)) { //$FldVal = $this->ConvertSearchValue($Fld, $FldVal); $sWrk = "x_" . $FldParm . "=" . urlencode($FldVal) . "&z_" . $FldParm . "=" . urlencode($FldOpr); } $IsValidValue = ($lFldDataType <> EW_DATATYPE_NUMBER) || ($lFldDataType == EW_DATATYPE_NUMBER && is_numeric($FldVal2)); if ($FldVal2 <> "" && $IsValidValue && ew_IsValidOpr($FldOpr2, $lFldDataType)) { //$FldVal2 = $this->ConvertSearchValue($Fld, $FldVal2); if ($sWrk <> "") $sWrk .= "&v_" . $FldParm . "=" . urlencode($FldCond) . "&"; $sWrk .= "&y_" . $FldParm . "=" . urlencode($FldVal2) . "&w_" . $FldParm . "=" . urlencode($FldOpr2); } } if ($sWrk <> "") { if ($Url <> "") $Url .= "&"; $Url .= $sWrk; } } // Convert search value for date function ConvertSearchValue(&$Fld, $FldVal) { $Value = $FldVal; if ($Fld->FldDataType == EW_DATATYPE_DATE && $FldVal <> "") $Value = ew_UnFormatDateTime($FldVal, $Fld->FldDateTimeFormat); return $Value; } // Load search values for validation function LoadSearchValues() { global $objForm, $echasl23; // Load search values // adminuserid $echasl23->adminuserid->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_adminuserid")); $echasl23->adminuserid->AdvancedSearch->SearchOperator = $objForm->GetValue("z_adminuserid"); // adminusername $echasl23->adminusername->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_adminusername")); $echasl23->adminusername->AdvancedSearch->SearchOperator = $objForm->GetValue("z_adminusername"); // adminpassword $echasl23->adminpassword->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_adminpassword")); $echasl23->adminpassword->AdvancedSearch->SearchOperator = $objForm->GetValue("z_adminpassword"); // profile $echasl23->profile->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_profile")); $echasl23->profile->AdvancedSearch->SearchOperator = $objForm->GetValue("z_profile"); // email $echasl23->zemail->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_zemail")); $echasl23->zemail->AdvancedSearch->SearchOperator = $objForm->GetValue("z_zemail"); // activated $echasl23->activated->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_activated")); $echasl23->activated->AdvancedSearch->SearchOperator = $objForm->GetValue("z_activated"); // level $echasl23->level->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_level")); $echasl23->level->AdvancedSearch->SearchOperator = $objForm->GetValue("z_level"); // pwdchanged $echasl23->pwdchanged->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_pwdchanged")); $echasl23->pwdchanged->AdvancedSearch->SearchOperator = $objForm->GetValue("z_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_SEARCH) { // Search row // adminuserid $echasl23->adminuserid->EditCustomAttributes = ""; if (!$Security->IsAdmin() && $Security->IsLoggedIn()) { // Non system admin $echasl23->adminuserid->AdvancedSearch->SearchValue = $Security->CurrentUserID(); $echasl23->adminuserid->EditValue = $echasl23->adminuserid->AdvancedSearch->SearchValue; $echasl23->adminuserid->CssStyle = ""; $echasl23->adminuserid->CssClass = ""; $echasl23->adminuserid->ViewCustomAttributes = ""; } else { $echasl23->adminuserid->EditValue = ew_HtmlEncode($echasl23->adminuserid->AdvancedSearch->SearchValue); } // adminusername $echasl23->adminusername->EditCustomAttributes = ""; $echasl23->adminusername->EditValue = ew_HtmlEncode($echasl23->adminusername->AdvancedSearch->SearchValue); // adminpassword $echasl23->adminpassword->EditCustomAttributes = ""; $echasl23->adminpassword->EditValue = ew_HtmlEncode($echasl23->adminpassword->AdvancedSearch->SearchValue); // profile $echasl23->profile->EditCustomAttributes = ""; $echasl23->profile->EditValue = ew_HtmlEncode($echasl23->profile->AdvancedSearch->SearchValue); // email $echasl23->zemail->EditCustomAttributes = ""; $echasl23->zemail->EditValue = ew_HtmlEncode($echasl23->zemail->AdvancedSearch->SearchValue); // activated $echasl23->activated->EditCustomAttributes = ""; $echasl23->activated->EditValue = ew_HtmlEncode($echasl23->activated->AdvancedSearch->SearchValue); // 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(ew_UnFormatDateTime($echasl23->pwdchanged->AdvancedSearch->SearchValue, 5), 5)); } // Call Row Rendered event if ($echasl23->RowType <> EW_ROWTYPE_AGGREGATEINIT) $echasl23->Row_Rendered(); } // Validate search function ValidateSearch() { global $gsSearchError, $echasl23; // Initialize $gsSearchError = ""; // Check if validation required if (!EW_SERVER_VALIDATE) return TRUE; if (!ew_CheckInteger($echasl23->adminuserid->AdvancedSearch->SearchValue)) { if ($gsSearchError <> "") $gsSearchError .= "<br>"; $gsSearchError .= $echasl23->adminuserid->FldErrMsg(); } if (!ew_CheckInteger($echasl23->activated->AdvancedSearch->SearchValue)) { if ($gsSearchError <> "") $gsSearchError .= "<br>"; $gsSearchError .= $echasl23->activated->FldErrMsg(); } if (!ew_CheckDate($echasl23->pwdchanged->AdvancedSearch->SearchValue)) { if ($gsSearchError <> "") $gsSearchError .= "<br>"; $gsSearchError .= $echasl23->pwdchanged->FldErrMsg(); } // Return validate result $ValidateSearch = ($gsSearchError == ""); // Call Form_CustomValidate event $sFormCustomError = ""; $ValidateSearch = $ValidateSearch && $this->Form_CustomValidate($sFormCustomError); if ($sFormCustomError <> "") { if ($gsSearchError <> "") $gsSearchError .= "<br>"; $gsSearchError .= $sFormCustomError; } return $ValidateSearch; } // Load advanced search function LoadAdvancedSearch() { global $echasl23; $echasl23->adminuserid->AdvancedSearch->SearchValue = $echasl23->getAdvancedSearch("x_adminuserid"); $echasl23->adminusername->AdvancedSearch->SearchValue = $echasl23->getAdvancedSearch("x_adminusername"); $echasl23->adminpassword->AdvancedSearch->SearchValue = $echasl23->getAdvancedSearch("x_adminpassword"); $echasl23->profile->AdvancedSearch->SearchValue = $echasl23->getAdvancedSearch("x_profile"); $echasl23->zemail->AdvancedSearch->SearchValue = $echasl23->getAdvancedSearch("x_zemail"); $echasl23->activated->AdvancedSearch->SearchValue = $echasl23->getAdvancedSearch("x_activated"); $echasl23->level->AdvancedSearch->SearchValue = $echasl23->getAdvancedSearch("x_level"); $echasl23->pwdchanged->AdvancedSearch->SearchValue = $echasl23->getAdvancedSearch("x_pwdchanged"); } // 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; } } ?>