| Current Path : /var/www/cesa.co.za/ccmadmin/ |
| Current File : /var/www/cesa.co.za/ccmadmin/CCMStudentssrch.php |
<?php
session_start(); // Initialize Session data
ob_start(); // Turn on output buffering
?>
<?php include "ewcfg7.php" ?>
<?php include "ewmysql7.php" ?>
<?php include "phpfn7.php" ?>
<?php include "CCMStudentsinfo.php" ?>
<?php include "CCMUsersinfo.php" ?>
<?php include "userfn7.php" ?>
<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
?>
<?php
// Create page object
$CCMStudents_search = new cCCMStudents_search();
$Page =& $CCMStudents_search;
// Page init
$CCMStudents_search->Page_Init();
// Page main
$CCMStudents_search->Page_Main();
?>
<?php include "header.php" ?>
<script type="text/javascript">
<!--
// Create page object
var CCMStudents_search = new ew_Page("CCMStudents_search");
// page properties
CCMStudents_search.PageID = "search"; // page ID
CCMStudents_search.FormID = "fCCMStudentssearch"; // form ID
var EW_PAGE_ID = CCMStudents_search.PageID; // for backward compatibility
// extend page with validate function for search
CCMStudents_search.ValidateSearch = function(fobj) {
ew_PostAutoSuggest(fobj);
if (this.ValidateRequired) {
var infix = "";
elm = fobj.elements["x" + infix + "_DateofBirth"];
if (elm && !ew_CheckDate(elm.value))
return ew_OnError(this, elm, "<?php echo ew_JsEncode2($CCMStudents->DateofBirth->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
CCMStudents_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) { ?>
CCMStudents_search.ValidateRequired = true; // uses JavaScript validation
<?php } else { ?>
CCMStudents_search.ValidateRequired = false; // no JavaScript validation
<?php } ?>
//-->
</script>
<script type="text/javascript">
<!--
var ew_DHTMLEditors = [];
//-->
</script>
<script language="JavaScript" type="text/javascript">
<!--
// Write your client script here, no need to add script tags.
// To include another .js script, use:
// ew_ClientScriptInclude("my_javascript.js");
//-->
</script>
<p><span class="phpmaker"><?php echo $Language->Phrase("Search") ?> <?php echo $Language->Phrase("TblTypeTABLE") ?><?php echo $CCMStudents->TableCaption() ?><br><br>
<a href="<?php echo $CCMStudents->getReturnUrl() ?>"><?php echo $Language->Phrase("BackToList") ?></a></span></p>
<?php
if (EW_DEBUG_ENABLED)
echo ew_DebugMsg();
$CCMStudents_search->ShowMessage();
?>
<form name="fCCMStudentssearch" id="fCCMStudentssearch" action="<?php echo ew_CurrentPage() ?>" method="post" onsubmit="return CCMStudents_search.ValidateSearch(this);">
<p>
<input type="hidden" name="t" id="t" value="CCMStudents">
<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 $CCMStudents->CCMStudentID->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->CCMStudentID->FldCaption() ?></td>
<td<?php echo $CCMStudents->CCMStudentID->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_CCMStudentID" id="z_CCMStudentID" value="="></span></td>
<td<?php echo $CCMStudents->CCMStudentID->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_CCMStudentID" id="x_CCMStudentID" title="<?php echo $CCMStudents->CCMStudentID->FldTitle() ?>" value="<?php echo $CCMStudents->CCMStudentID->EditValue ?>"<?php echo $CCMStudents->CCMStudentID->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->SelectionCategory->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->SelectionCategory->FldCaption() ?></td>
<td<?php echo $CCMStudents->SelectionCategory->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_SelectionCategory" id="z_SelectionCategory" value="LIKE"></span></td>
<td<?php echo $CCMStudents->SelectionCategory->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_SelectionCategory" id="x_SelectionCategory" title="<?php echo $CCMStudents->SelectionCategory->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SelectionCategory->EditValue ?>"<?php echo $CCMStudents->SelectionCategory->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Title->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Title->FldCaption() ?></td>
<td<?php echo $CCMStudents->Title->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Title" id="z_Title" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Title->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_Title" id="x_Title" title="<?php echo $CCMStudents->Title->FldTitle() ?>" size="30" maxlength="20" value="<?php echo $CCMStudents->Title->EditValue ?>"<?php echo $CCMStudents->Title->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Initials->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Initials->FldCaption() ?></td>
<td<?php echo $CCMStudents->Initials->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Initials" id="z_Initials" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Initials->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_Initials" id="x_Initials" title="<?php echo $CCMStudents->Initials->FldTitle() ?>" size="30" maxlength="50" value="<?php echo $CCMStudents->Initials->EditValue ?>"<?php echo $CCMStudents->Initials->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->FirstName->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->FirstName->FldCaption() ?></td>
<td<?php echo $CCMStudents->FirstName->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_FirstName" id="z_FirstName" value="LIKE"></span></td>
<td<?php echo $CCMStudents->FirstName->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_FirstName" id="x_FirstName" title="<?php echo $CCMStudents->FirstName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->FirstName->EditValue ?>"<?php echo $CCMStudents->FirstName->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Surname->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Surname->FldCaption() ?></td>
<td<?php echo $CCMStudents->Surname->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Surname" id="z_Surname" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Surname->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_Surname" id="x_Surname" title="<?php echo $CCMStudents->Surname->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Surname->EditValue ?>"<?php echo $CCMStudents->Surname->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->KnownAs->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->KnownAs->FldCaption() ?></td>
<td<?php echo $CCMStudents->KnownAs->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_KnownAs" id="z_KnownAs" value="LIKE"></span></td>
<td<?php echo $CCMStudents->KnownAs->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_KnownAs" id="x_KnownAs" title="<?php echo $CCMStudents->KnownAs->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->KnownAs->EditValue ?>"<?php echo $CCMStudents->KnownAs->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->IDNumber->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->IDNumber->FldCaption() ?></td>
<td<?php echo $CCMStudents->IDNumber->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_IDNumber" id="z_IDNumber" value="LIKE"></span></td>
<td<?php echo $CCMStudents->IDNumber->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_IDNumber" id="x_IDNumber" title="<?php echo $CCMStudents->IDNumber->FldTitle() ?>" size="30" maxlength="50" value="<?php echo $CCMStudents->IDNumber->EditValue ?>"<?php echo $CCMStudents->IDNumber->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Telephone->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Telephone->FldCaption() ?></td>
<td<?php echo $CCMStudents->Telephone->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Telephone" id="z_Telephone" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Telephone->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_Telephone" id="x_Telephone" title="<?php echo $CCMStudents->Telephone->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Telephone->EditValue ?>"<?php echo $CCMStudents->Telephone->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Cellphone->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Cellphone->FldCaption() ?></td>
<td<?php echo $CCMStudents->Cellphone->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Cellphone" id="z_Cellphone" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Cellphone->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_Cellphone" id="x_Cellphone" title="<?php echo $CCMStudents->Cellphone->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Cellphone->EditValue ?>"<?php echo $CCMStudents->Cellphone->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->EmailAddress->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->EmailAddress->FldCaption() ?></td>
<td<?php echo $CCMStudents->EmailAddress->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_EmailAddress" id="z_EmailAddress" value="LIKE"></span></td>
<td<?php echo $CCMStudents->EmailAddress->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_EmailAddress" id="x_EmailAddress" title="<?php echo $CCMStudents->EmailAddress->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->EmailAddress->EditValue ?>"<?php echo $CCMStudents->EmailAddress->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->WorkAddress->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->WorkAddress->FldCaption() ?></td>
<td<?php echo $CCMStudents->WorkAddress->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_WorkAddress" id="z_WorkAddress" value="LIKE"></span></td>
<td<?php echo $CCMStudents->WorkAddress->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<textarea name="x_WorkAddress" id="x_WorkAddress" title="<?php echo $CCMStudents->WorkAddress->FldTitle() ?>" cols="35" rows="4"<?php echo $CCMStudents->WorkAddress->EditAttributes() ?>><?php echo $CCMStudents->WorkAddress->EditValue ?></textarea>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->PostalAddress->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->PostalAddress->FldCaption() ?></td>
<td<?php echo $CCMStudents->PostalAddress->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_PostalAddress" id="z_PostalAddress" value="LIKE"></span></td>
<td<?php echo $CCMStudents->PostalAddress->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<textarea name="x_PostalAddress" id="x_PostalAddress" title="<?php echo $CCMStudents->PostalAddress->FldTitle() ?>" cols="35" rows="4"<?php echo $CCMStudents->PostalAddress->EditAttributes() ?>><?php echo $CCMStudents->PostalAddress->EditValue ?></textarea>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Department->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Department->FldCaption() ?></td>
<td<?php echo $CCMStudents->Department->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Department" id="z_Department" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Department->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_Department" id="x_Department" title="<?php echo $CCMStudents->Department->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Department->EditValue ?>"<?php echo $CCMStudents->Department->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Organisation->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Organisation->FldCaption() ?></td>
<td<?php echo $CCMStudents->Organisation->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Organisation" id="z_Organisation" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Organisation->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_Organisation" id="x_Organisation" title="<?php echo $CCMStudents->Organisation->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Organisation->EditValue ?>"<?php echo $CCMStudents->Organisation->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->VATNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->VATNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->VATNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_VATNo" id="z_VATNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->VATNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_VATNo" id="x_VATNo" title="<?php echo $CCMStudents->VATNo->FldTitle() ?>" size="30" maxlength="50" value="<?php echo $CCMStudents->VATNo->EditValue ?>"<?php echo $CCMStudents->VATNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->JobTitle->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->JobTitle->FldCaption() ?></td>
<td<?php echo $CCMStudents->JobTitle->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_JobTitle" id="z_JobTitle" value="LIKE"></span></td>
<td<?php echo $CCMStudents->JobTitle->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_JobTitle" id="x_JobTitle" title="<?php echo $CCMStudents->JobTitle->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->JobTitle->EditValue ?>"<?php echo $CCMStudents->JobTitle->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->DateofBirth->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->DateofBirth->FldCaption() ?></td>
<td<?php echo $CCMStudents->DateofBirth->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_DateofBirth" id="z_DateofBirth" value="="></span></td>
<td<?php echo $CCMStudents->DateofBirth->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_DateofBirth" id="x_DateofBirth" title="<?php echo $CCMStudents->DateofBirth->FldTitle() ?>" value="<?php echo $CCMStudents->DateofBirth->EditValue ?>"<?php echo $CCMStudents->DateofBirth->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->PlaceofBirth->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->PlaceofBirth->FldCaption() ?></td>
<td<?php echo $CCMStudents->PlaceofBirth->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_PlaceofBirth" id="z_PlaceofBirth" value="LIKE"></span></td>
<td<?php echo $CCMStudents->PlaceofBirth->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_PlaceofBirth" id="x_PlaceofBirth" title="<?php echo $CCMStudents->PlaceofBirth->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->PlaceofBirth->EditValue ?>"<?php echo $CCMStudents->PlaceofBirth->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->CountryofBirth->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->CountryofBirth->FldCaption() ?></td>
<td<?php echo $CCMStudents->CountryofBirth->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_CountryofBirth" id="z_CountryofBirth" value="LIKE"></span></td>
<td<?php echo $CCMStudents->CountryofBirth->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_CountryofBirth" id="x_CountryofBirth" title="<?php echo $CCMStudents->CountryofBirth->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->CountryofBirth->EditValue ?>"<?php echo $CCMStudents->CountryofBirth->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Province->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Province->FldCaption() ?></td>
<td<?php echo $CCMStudents->Province->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Province" id="z_Province" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Province->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<select id="x_Province" name="x_Province" title="<?php echo $CCMStudents->Province->FldTitle() ?>"<?php echo $CCMStudents->Province->EditAttributes() ?>>
<?php
if (is_array($CCMStudents->Province->EditValue)) {
$arwrk = $CCMStudents->Province->EditValue;
$rowswrk = count($arwrk);
$emptywrk = TRUE;
for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
$selwrk = (strval($CCMStudents->Province->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 $CCMStudents->MaleorFemale->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->MaleorFemale->FldCaption() ?></td>
<td<?php echo $CCMStudents->MaleorFemale->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_MaleorFemale" id="z_MaleorFemale" value="LIKE"></span></td>
<td<?php echo $CCMStudents->MaleorFemale->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_MaleorFemale" id="x_MaleorFemale" title="<?php echo $CCMStudents->MaleorFemale->FldTitle() ?>" size="30" maxlength="1" value="<?php echo $CCMStudents->MaleorFemale->EditValue ?>"<?php echo $CCMStudents->MaleorFemale->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->RaceGroup->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->RaceGroup->FldCaption() ?></td>
<td<?php echo $CCMStudents->RaceGroup->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_RaceGroup" id="z_RaceGroup" value="LIKE"></span></td>
<td<?php echo $CCMStudents->RaceGroup->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_RaceGroup" id="x_RaceGroup" title="<?php echo $CCMStudents->RaceGroup->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->RaceGroup->EditValue ?>"<?php echo $CCMStudents->RaceGroup->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Disability->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Disability->FldCaption() ?></td>
<td<?php echo $CCMStudents->Disability->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Disability" id="z_Disability" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Disability->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<div id="tp_x_Disability" class="<?php echo EW_ITEM_TEMPLATE_CLASSNAME ?>"><label><input type="radio" name="x_Disability" id="x_Disability" title="<?php echo $CCMStudents->Disability->FldTitle() ?>" value="{value}"<?php echo $CCMStudents->Disability->EditAttributes() ?>></label></div>
<div id="dsl_x_Disability" repeatcolumn="5">
<?php
$arwrk = $CCMStudents->Disability->EditValue;
if (is_array($arwrk)) {
$rowswrk = count($arwrk);
$emptywrk = TRUE;
for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
$selwrk = (strval($CCMStudents->Disability->AdvancedSearch->SearchValue) == strval($arwrk[$rowcntwrk][0])) ? " checked=\"checked\"" : "";
if ($selwrk <> "") $emptywrk = FALSE;
// Note: No spacing within the LABEL tag
?>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 1) ?>
<label><input type="radio" name="x_Disability" id="x_Disability" title="<?php echo $CCMStudents->Disability->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $CCMStudents->Disability->EditAttributes() ?>><?php echo $arwrk[$rowcntwrk][1] ?></label>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 2) ?>
<?php
}
}
?>
</div>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->DisabilityNature->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->DisabilityNature->FldCaption() ?></td>
<td<?php echo $CCMStudents->DisabilityNature->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_DisabilityNature" id="z_DisabilityNature" value="LIKE"></span></td>
<td<?php echo $CCMStudents->DisabilityNature->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_DisabilityNature" id="x_DisabilityNature" title="<?php echo $CCMStudents->DisabilityNature->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->DisabilityNature->EditValue ?>"<?php echo $CCMStudents->DisabilityNature->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->ProfessionalCouncil->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->ProfessionalCouncil->FldCaption() ?></td>
<td<?php echo $CCMStudents->ProfessionalCouncil->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_ProfessionalCouncil" id="z_ProfessionalCouncil" value="LIKE"></span></td>
<td<?php echo $CCMStudents->ProfessionalCouncil->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_ProfessionalCouncil" id="x_ProfessionalCouncil" title="<?php echo $CCMStudents->ProfessionalCouncil->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->ProfessionalCouncil->EditValue ?>"<?php echo $CCMStudents->ProfessionalCouncil->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->CategoryReg->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->CategoryReg->FldCaption() ?></td>
<td<?php echo $CCMStudents->CategoryReg->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_CategoryReg" id="z_CategoryReg" value="LIKE"></span></td>
<td<?php echo $CCMStudents->CategoryReg->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_CategoryReg" id="x_CategoryReg" title="<?php echo $CCMStudents->CategoryReg->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->CategoryReg->EditValue ?>"<?php echo $CCMStudents->CategoryReg->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->CouncilRegNumber->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->CouncilRegNumber->FldCaption() ?></td>
<td<?php echo $CCMStudents->CouncilRegNumber->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_CouncilRegNumber" id="z_CouncilRegNumber" value="LIKE"></span></td>
<td<?php echo $CCMStudents->CouncilRegNumber->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_CouncilRegNumber" id="x_CouncilRegNumber" title="<?php echo $CCMStudents->CouncilRegNumber->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->CouncilRegNumber->EditValue ?>"<?php echo $CCMStudents->CouncilRegNumber->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->LengthCandidateReg->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->LengthCandidateReg->FldCaption() ?></td>
<td<?php echo $CCMStudents->LengthCandidateReg->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_LengthCandidateReg" id="z_LengthCandidateReg" value="LIKE"></span></td>
<td<?php echo $CCMStudents->LengthCandidateReg->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_LengthCandidateReg" id="x_LengthCandidateReg" title="<?php echo $CCMStudents->LengthCandidateReg->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->LengthCandidateReg->EditValue ?>"<?php echo $CCMStudents->LengthCandidateReg->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->YearsToProfReg->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->YearsToProfReg->FldCaption() ?></td>
<td<?php echo $CCMStudents->YearsToProfReg->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_YearsToProfReg" id="z_YearsToProfReg" value="LIKE"></span></td>
<td<?php echo $CCMStudents->YearsToProfReg->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_YearsToProfReg" id="x_YearsToProfReg" title="<?php echo $CCMStudents->YearsToProfReg->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->YearsToProfReg->EditValue ?>"<?php echo $CCMStudents->YearsToProfReg->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->FirstJobStart->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->FirstJobStart->FldCaption() ?></td>
<td<?php echo $CCMStudents->FirstJobStart->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_FirstJobStart" id="z_FirstJobStart" value="LIKE"></span></td>
<td<?php echo $CCMStudents->FirstJobStart->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_FirstJobStart" id="x_FirstJobStart" title="<?php echo $CCMStudents->FirstJobStart->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->FirstJobStart->EditValue ?>"<?php echo $CCMStudents->FirstJobStart->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->VolAssociations->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->VolAssociations->FldCaption() ?></td>
<td<?php echo $CCMStudents->VolAssociations->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_VolAssociations" id="z_VolAssociations" value="LIKE"></span></td>
<td<?php echo $CCMStudents->VolAssociations->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_VolAssociations" id="x_VolAssociations" title="<?php echo $CCMStudents->VolAssociations->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->VolAssociations->EditValue ?>"<?php echo $CCMStudents->VolAssociations->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BelongsTo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BelongsTo->FldCaption() ?></td>
<td<?php echo $CCMStudents->BelongsTo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BelongsTo" id="z_BelongsTo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BelongsTo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_BelongsTo" id="x_BelongsTo" title="<?php echo $CCMStudents->BelongsTo->FldTitle() ?>" size="30" maxlength="20" value="<?php echo $CCMStudents->BelongsTo->EditValue ?>"<?php echo $CCMStudents->BelongsTo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->CESA_SABTACO_MemNum->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->CESA_SABTACO_MemNum->FldCaption() ?></td>
<td<?php echo $CCMStudents->CESA_SABTACO_MemNum->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_CESA_SABTACO_MemNum" id="z_CESA_SABTACO_MemNum" value="LIKE"></span></td>
<td<?php echo $CCMStudents->CESA_SABTACO_MemNum->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_CESA_SABTACO_MemNum" id="x_CESA_SABTACO_MemNum" title="<?php echo $CCMStudents->CESA_SABTACO_MemNum->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->CESA_SABTACO_MemNum->EditValue ?>"<?php echo $CCMStudents->CESA_SABTACO_MemNum->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->AreaDiscipline->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->AreaDiscipline->FldCaption() ?></td>
<td<?php echo $CCMStudents->AreaDiscipline->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_AreaDiscipline" id="z_AreaDiscipline" value="LIKE"></span></td>
<td<?php echo $CCMStudents->AreaDiscipline->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_AreaDiscipline" id="x_AreaDiscipline" title="<?php echo $CCMStudents->AreaDiscipline->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->AreaDiscipline->EditValue ?>"<?php echo $CCMStudents->AreaDiscipline->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->AreaSubDiscipline->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->AreaSubDiscipline->FldCaption() ?></td>
<td<?php echo $CCMStudents->AreaSubDiscipline->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_AreaSubDiscipline" id="z_AreaSubDiscipline" value="LIKE"></span></td>
<td<?php echo $CCMStudents->AreaSubDiscipline->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_AreaSubDiscipline" id="x_AreaSubDiscipline" title="<?php echo $CCMStudents->AreaSubDiscipline->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->AreaSubDiscipline->EditValue ?>"<?php echo $CCMStudents->AreaSubDiscipline->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Salary->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Salary->FldCaption() ?></td>
<td<?php echo $CCMStudents->Salary->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Salary" id="z_Salary" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Salary->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_Salary" id="x_Salary" title="<?php echo $CCMStudents->Salary->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Salary->EditValue ?>"<?php echo $CCMStudents->Salary->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BankAccountName->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BankAccountName->FldCaption() ?></td>
<td<?php echo $CCMStudents->BankAccountName->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BankAccountName" id="z_BankAccountName" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BankAccountName->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_BankAccountName" id="x_BankAccountName" title="<?php echo $CCMStudents->BankAccountName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BankAccountName->EditValue ?>"<?php echo $CCMStudents->BankAccountName->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BankAccountBank->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BankAccountBank->FldCaption() ?></td>
<td<?php echo $CCMStudents->BankAccountBank->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BankAccountBank" id="z_BankAccountBank" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BankAccountBank->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_BankAccountBank" id="x_BankAccountBank" title="<?php echo $CCMStudents->BankAccountBank->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BankAccountBank->EditValue ?>"<?php echo $CCMStudents->BankAccountBank->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BankAccountBranch->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BankAccountBranch->FldCaption() ?></td>
<td<?php echo $CCMStudents->BankAccountBranch->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BankAccountBranch" id="z_BankAccountBranch" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BankAccountBranch->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_BankAccountBranch" id="x_BankAccountBranch" title="<?php echo $CCMStudents->BankAccountBranch->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BankAccountBranch->EditValue ?>"<?php echo $CCMStudents->BankAccountBranch->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BankAccountNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BankAccountNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->BankAccountNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BankAccountNo" id="z_BankAccountNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BankAccountNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_BankAccountNo" id="x_BankAccountNo" title="<?php echo $CCMStudents->BankAccountNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BankAccountNo->EditValue ?>"<?php echo $CCMStudents->BankAccountNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Funding->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Funding->FldCaption() ?></td>
<td<?php echo $CCMStudents->Funding->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Funding" id="z_Funding" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Funding->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_Funding" id="x_Funding" title="<?php echo $CCMStudents->Funding->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->Funding->EditValue ?>"<?php echo $CCMStudents->Funding->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->CWDTP->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->CWDTP->FldCaption() ?></td>
<td<?php echo $CCMStudents->CWDTP->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_CWDTP" id="z_CWDTP" value="LIKE"></span></td>
<td<?php echo $CCMStudents->CWDTP->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_CWDTP" id="x_CWDTP" title="<?php echo $CCMStudents->CWDTP->FldTitle() ?>" size="30" maxlength="1" value="<?php echo $CCMStudents->CWDTP->EditValue ?>"<?php echo $CCMStudents->CWDTP->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BookedByName->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BookedByName->FldCaption() ?></td>
<td<?php echo $CCMStudents->BookedByName->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BookedByName" id="z_BookedByName" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BookedByName->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_BookedByName" id="x_BookedByName" title="<?php echo $CCMStudents->BookedByName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByName->EditValue ?>"<?php echo $CCMStudents->BookedByName->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BookedByDesignation->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BookedByDesignation->FldCaption() ?></td>
<td<?php echo $CCMStudents->BookedByDesignation->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BookedByDesignation" id="z_BookedByDesignation" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BookedByDesignation->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_BookedByDesignation" id="x_BookedByDesignation" title="<?php echo $CCMStudents->BookedByDesignation->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByDesignation->EditValue ?>"<?php echo $CCMStudents->BookedByDesignation->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BookedByTelNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BookedByTelNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->BookedByTelNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BookedByTelNo" id="z_BookedByTelNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BookedByTelNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_BookedByTelNo" id="x_BookedByTelNo" title="<?php echo $CCMStudents->BookedByTelNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByTelNo->EditValue ?>"<?php echo $CCMStudents->BookedByTelNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BookedByFaxNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BookedByFaxNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->BookedByFaxNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BookedByFaxNo" id="z_BookedByFaxNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BookedByFaxNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_BookedByFaxNo" id="x_BookedByFaxNo" title="<?php echo $CCMStudents->BookedByFaxNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByFaxNo->EditValue ?>"<?php echo $CCMStudents->BookedByFaxNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BookedByCellNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BookedByCellNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->BookedByCellNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BookedByCellNo" id="z_BookedByCellNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BookedByCellNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_BookedByCellNo" id="x_BookedByCellNo" title="<?php echo $CCMStudents->BookedByCellNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByCellNo->EditValue ?>"<?php echo $CCMStudents->BookedByCellNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BookedByEmail->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BookedByEmail->FldCaption() ?></td>
<td<?php echo $CCMStudents->BookedByEmail->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BookedByEmail" id="z_BookedByEmail" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BookedByEmail->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_BookedByEmail" id="x_BookedByEmail" title="<?php echo $CCMStudents->BookedByEmail->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->BookedByEmail->EditValue ?>"<?php echo $CCMStudents->BookedByEmail->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->MentorID->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->MentorID->FldCaption() ?></td>
<td<?php echo $CCMStudents->MentorID->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_MentorID" id="z_MentorID" value="="></span></td>
<td<?php echo $CCMStudents->MentorID->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<select id="x_MentorID" name="x_MentorID" title="<?php echo $CCMStudents->MentorID->FldTitle() ?>"<?php echo $CCMStudents->MentorID->EditAttributes() ?>>
<?php
if (is_array($CCMStudents->MentorID->EditValue)) {
$arwrk = $CCMStudents->MentorID->EditValue;
$rowswrk = count($arwrk);
$emptywrk = TRUE;
for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
$selwrk = (strval($CCMStudents->MentorID->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] ?>
<?php if ($arwrk[$rowcntwrk][2] <> "") { ?>
<?php echo ew_ValueSeparator($rowcntwrk) ?><?php echo $arwrk[$rowcntwrk][2] ?>
<?php } ?>
</option>
<?php
}
}
?>
</select>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->MentorName->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->MentorName->FldCaption() ?></td>
<td<?php echo $CCMStudents->MentorName->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_MentorName" id="z_MentorName" value="LIKE"></span></td>
<td<?php echo $CCMStudents->MentorName->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_MentorName" id="x_MentorName" title="<?php echo $CCMStudents->MentorName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->MentorName->EditValue ?>"<?php echo $CCMStudents->MentorName->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->MentorDesig->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->MentorDesig->FldCaption() ?></td>
<td<?php echo $CCMStudents->MentorDesig->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_MentorDesig" id="z_MentorDesig" value="LIKE"></span></td>
<td<?php echo $CCMStudents->MentorDesig->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_MentorDesig" id="x_MentorDesig" title="<?php echo $CCMStudents->MentorDesig->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->MentorDesig->EditValue ?>"<?php echo $CCMStudents->MentorDesig->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->MentorProfRegNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->MentorProfRegNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->MentorProfRegNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_MentorProfRegNo" id="z_MentorProfRegNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->MentorProfRegNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_MentorProfRegNo" id="x_MentorProfRegNo" title="<?php echo $CCMStudents->MentorProfRegNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->MentorProfRegNo->EditValue ?>"<?php echo $CCMStudents->MentorProfRegNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->MentorRegNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->MentorRegNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->MentorRegNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_MentorRegNo" id="z_MentorRegNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->MentorRegNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_MentorRegNo" id="x_MentorRegNo" title="<?php echo $CCMStudents->MentorRegNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->MentorRegNo->EditValue ?>"<?php echo $CCMStudents->MentorRegNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->MentorTel->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->MentorTel->FldCaption() ?></td>
<td<?php echo $CCMStudents->MentorTel->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_MentorTel" id="z_MentorTel" value="LIKE"></span></td>
<td<?php echo $CCMStudents->MentorTel->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_MentorTel" id="x_MentorTel" title="<?php echo $CCMStudents->MentorTel->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->MentorTel->EditValue ?>"<?php echo $CCMStudents->MentorTel->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->MentorCell->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->MentorCell->FldCaption() ?></td>
<td<?php echo $CCMStudents->MentorCell->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_MentorCell" id="z_MentorCell" value="LIKE"></span></td>
<td<?php echo $CCMStudents->MentorCell->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_MentorCell" id="x_MentorCell" title="<?php echo $CCMStudents->MentorCell->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->MentorCell->EditValue ?>"<?php echo $CCMStudents->MentorCell->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->MentorEmail->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->MentorEmail->FldCaption() ?></td>
<td<?php echo $CCMStudents->MentorEmail->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_MentorEmail" id="z_MentorEmail" value="LIKE"></span></td>
<td<?php echo $CCMStudents->MentorEmail->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_MentorEmail" id="x_MentorEmail" title="<?php echo $CCMStudents->MentorEmail->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->MentorEmail->EditValue ?>"<?php echo $CCMStudents->MentorEmail->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->EmployerID->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->EmployerID->FldCaption() ?></td>
<td<?php echo $CCMStudents->EmployerID->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_EmployerID" id="z_EmployerID" value="="></span></td>
<td<?php echo $CCMStudents->EmployerID->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<select id="x_EmployerID" name="x_EmployerID" title="<?php echo $CCMStudents->EmployerID->FldTitle() ?>"<?php echo $CCMStudents->EmployerID->EditAttributes() ?>>
<?php
if (is_array($CCMStudents->EmployerID->EditValue)) {
$arwrk = $CCMStudents->EmployerID->EditValue;
$rowswrk = count($arwrk);
$emptywrk = TRUE;
for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
$selwrk = (strval($CCMStudents->EmployerID->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] ?>
<?php if ($arwrk[$rowcntwrk][2] <> "") { ?>
<?php echo ew_ValueSeparator($rowcntwrk) ?><?php echo $arwrk[$rowcntwrk][2] ?>
<?php } ?>
</option>
<?php
}
}
?>
</select>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->HRManagerName->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->HRManagerName->FldCaption() ?></td>
<td<?php echo $CCMStudents->HRManagerName->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_HRManagerName" id="z_HRManagerName" value="LIKE"></span></td>
<td<?php echo $CCMStudents->HRManagerName->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_HRManagerName" id="x_HRManagerName" title="<?php echo $CCMStudents->HRManagerName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->HRManagerName->EditValue ?>"<?php echo $CCMStudents->HRManagerName->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->HRManagerDesignation->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->HRManagerDesignation->FldCaption() ?></td>
<td<?php echo $CCMStudents->HRManagerDesignation->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_HRManagerDesignation" id="z_HRManagerDesignation" value="LIKE"></span></td>
<td<?php echo $CCMStudents->HRManagerDesignation->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_HRManagerDesignation" id="x_HRManagerDesignation" title="<?php echo $CCMStudents->HRManagerDesignation->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->HRManagerDesignation->EditValue ?>"<?php echo $CCMStudents->HRManagerDesignation->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->HRManagerTelNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->HRManagerTelNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->HRManagerTelNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_HRManagerTelNo" id="z_HRManagerTelNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->HRManagerTelNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_HRManagerTelNo" id="x_HRManagerTelNo" title="<?php echo $CCMStudents->HRManagerTelNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->HRManagerTelNo->EditValue ?>"<?php echo $CCMStudents->HRManagerTelNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->HRManagerCellNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->HRManagerCellNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->HRManagerCellNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_HRManagerCellNo" id="z_HRManagerCellNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->HRManagerCellNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_HRManagerCellNo" id="x_HRManagerCellNo" title="<?php echo $CCMStudents->HRManagerCellNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->HRManagerCellNo->EditValue ?>"<?php echo $CCMStudents->HRManagerCellNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->HRManagerEmail->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->HRManagerEmail->FldCaption() ?></td>
<td<?php echo $CCMStudents->HRManagerEmail->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_HRManagerEmail" id="z_HRManagerEmail" value="LIKE"></span></td>
<td<?php echo $CCMStudents->HRManagerEmail->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_HRManagerEmail" id="x_HRManagerEmail" title="<?php echo $CCMStudents->HRManagerEmail->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->HRManagerEmail->EditValue ?>"<?php echo $CCMStudents->HRManagerEmail->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->SupervisorName->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->SupervisorName->FldCaption() ?></td>
<td<?php echo $CCMStudents->SupervisorName->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_SupervisorName" id="z_SupervisorName" value="LIKE"></span></td>
<td<?php echo $CCMStudents->SupervisorName->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_SupervisorName" id="x_SupervisorName" title="<?php echo $CCMStudents->SupervisorName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorName->EditValue ?>"<?php echo $CCMStudents->SupervisorName->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->SupervisorDesig->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->SupervisorDesig->FldCaption() ?></td>
<td<?php echo $CCMStudents->SupervisorDesig->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_SupervisorDesig" id="z_SupervisorDesig" value="LIKE"></span></td>
<td<?php echo $CCMStudents->SupervisorDesig->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_SupervisorDesig" id="x_SupervisorDesig" title="<?php echo $CCMStudents->SupervisorDesig->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorDesig->EditValue ?>"<?php echo $CCMStudents->SupervisorDesig->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->SupervisorProfRegNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->SupervisorProfRegNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->SupervisorProfRegNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_SupervisorProfRegNo" id="z_SupervisorProfRegNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->SupervisorProfRegNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_SupervisorProfRegNo" id="x_SupervisorProfRegNo" title="<?php echo $CCMStudents->SupervisorProfRegNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorProfRegNo->EditValue ?>"<?php echo $CCMStudents->SupervisorProfRegNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->SupervisorTelNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->SupervisorTelNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->SupervisorTelNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_SupervisorTelNo" id="z_SupervisorTelNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->SupervisorTelNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_SupervisorTelNo" id="x_SupervisorTelNo" title="<?php echo $CCMStudents->SupervisorTelNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorTelNo->EditValue ?>"<?php echo $CCMStudents->SupervisorTelNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->SupervisorCellNo->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->SupervisorCellNo->FldCaption() ?></td>
<td<?php echo $CCMStudents->SupervisorCellNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_SupervisorCellNo" id="z_SupervisorCellNo" value="LIKE"></span></td>
<td<?php echo $CCMStudents->SupervisorCellNo->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_SupervisorCellNo" id="x_SupervisorCellNo" title="<?php echo $CCMStudents->SupervisorCellNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorCellNo->EditValue ?>"<?php echo $CCMStudents->SupervisorCellNo->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->SupervisorEmail->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->SupervisorEmail->FldCaption() ?></td>
<td<?php echo $CCMStudents->SupervisorEmail->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_SupervisorEmail" id="z_SupervisorEmail" value="LIKE"></span></td>
<td<?php echo $CCMStudents->SupervisorEmail->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_SupervisorEmail" id="x_SupervisorEmail" title="<?php echo $CCMStudents->SupervisorEmail->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->SupervisorEmail->EditValue ?>"<?php echo $CCMStudents->SupervisorEmail->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->EducationalInst->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->EducationalInst->FldCaption() ?></td>
<td<?php echo $CCMStudents->EducationalInst->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_EducationalInst" id="z_EducationalInst" value="LIKE"></span></td>
<td<?php echo $CCMStudents->EducationalInst->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_EducationalInst" id="x_EducationalInst" title="<?php echo $CCMStudents->EducationalInst->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->EducationalInst->EditValue ?>"<?php echo $CCMStudents->EducationalInst->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Qualifications->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Qualifications->FldCaption() ?></td>
<td<?php echo $CCMStudents->Qualifications->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Qualifications" id="z_Qualifications" value="LIKE"></span></td>
<td<?php echo $CCMStudents->Qualifications->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<textarea name="x_Qualifications" id="x_Qualifications" title="<?php echo $CCMStudents->Qualifications->FldTitle() ?>" cols="35" rows="4"<?php echo $CCMStudents->Qualifications->EditAttributes() ?>><?php echo $CCMStudents->Qualifications->EditValue ?></textarea>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->DateFinalExam->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->DateFinalExam->FldCaption() ?></td>
<td<?php echo $CCMStudents->DateFinalExam->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_DateFinalExam" id="z_DateFinalExam" value="LIKE"></span></td>
<td<?php echo $CCMStudents->DateFinalExam->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_DateFinalExam" id="x_DateFinalExam" title="<?php echo $CCMStudents->DateFinalExam->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->DateFinalExam->EditValue ?>"<?php echo $CCMStudents->DateFinalExam->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->StudentNumber->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->StudentNumber->FldCaption() ?></td>
<td<?php echo $CCMStudents->StudentNumber->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_StudentNumber" id="z_StudentNumber" value="LIKE"></span></td>
<td<?php echo $CCMStudents->StudentNumber->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_StudentNumber" id="x_StudentNumber" title="<?php echo $CCMStudents->StudentNumber->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $CCMStudents->StudentNumber->EditValue ?>"<?php echo $CCMStudents->StudentNumber->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->WebUsername->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->WebUsername->FldCaption() ?></td>
<td<?php echo $CCMStudents->WebUsername->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_WebUsername" id="z_WebUsername" value="LIKE"></span></td>
<td<?php echo $CCMStudents->WebUsername->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_WebUsername" id="x_WebUsername" title="<?php echo $CCMStudents->WebUsername->FldTitle() ?>" size="30" maxlength="20" value="<?php echo $CCMStudents->WebUsername->EditValue ?>"<?php echo $CCMStudents->WebUsername->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->WebPassword->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->WebPassword->FldCaption() ?></td>
<td<?php echo $CCMStudents->WebPassword->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_WebPassword" id="z_WebPassword" value="LIKE"></span></td>
<td<?php echo $CCMStudents->WebPassword->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<input type="text" name="x_WebPassword" id="x_WebPassword" title="<?php echo $CCMStudents->WebPassword->FldTitle() ?>" size="30" maxlength="20" value="<?php echo $CCMStudents->WebPassword->EditValue ?>"<?php echo $CCMStudents->WebPassword->EditAttributes() ?>>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->BlockAccess->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->BlockAccess->FldCaption() ?></td>
<td<?php echo $CCMStudents->BlockAccess->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_BlockAccess" id="z_BlockAccess" value="LIKE"></span></td>
<td<?php echo $CCMStudents->BlockAccess->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<div id="tp_x_BlockAccess" class="<?php echo EW_ITEM_TEMPLATE_CLASSNAME ?>"><label><input type="radio" name="x_BlockAccess" id="x_BlockAccess" title="<?php echo $CCMStudents->BlockAccess->FldTitle() ?>" value="{value}"<?php echo $CCMStudents->BlockAccess->EditAttributes() ?>></label></div>
<div id="dsl_x_BlockAccess" repeatcolumn="5">
<?php
$arwrk = $CCMStudents->BlockAccess->EditValue;
if (is_array($arwrk)) {
$rowswrk = count($arwrk);
$emptywrk = TRUE;
for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
$selwrk = (strval($CCMStudents->BlockAccess->AdvancedSearch->SearchValue) == strval($arwrk[$rowcntwrk][0])) ? " checked=\"checked\"" : "";
if ($selwrk <> "") $emptywrk = FALSE;
// Note: No spacing within the LABEL tag
?>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 1) ?>
<label><input type="radio" name="x_BlockAccess" id="x_BlockAccess" title="<?php echo $CCMStudents->BlockAccess->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $CCMStudents->BlockAccess->EditAttributes() ?>><?php echo $arwrk[$rowcntwrk][1] ?></label>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 2) ?>
<?php
}
}
?>
</div>
</span>
</div>
</td>
</tr>
<tr<?php echo $CCMStudents->Archived->RowAttributes ?>>
<td class="ewTableHeader"><?php echo $CCMStudents->Archived->FldCaption() ?></td>
<td<?php echo $CCMStudents->Archived->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_Archived" id="z_Archived" value="="></span></td>
<td<?php echo $CCMStudents->Archived->CellAttributes() ?>>
<div style="white-space: nowrap;">
<span class="phpmaker" style="float: left;">
<div id="tp_x_Archived" class="<?php echo EW_ITEM_TEMPLATE_CLASSNAME ?>"><label><input type="radio" name="x_Archived" id="x_Archived" title="<?php echo $CCMStudents->Archived->FldTitle() ?>" value="{value}"<?php echo $CCMStudents->Archived->EditAttributes() ?>></label></div>
<div id="dsl_x_Archived" repeatcolumn="5">
<?php
$arwrk = $CCMStudents->Archived->EditValue;
if (is_array($arwrk)) {
$rowswrk = count($arwrk);
$emptywrk = TRUE;
for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
$selwrk = (strval($CCMStudents->Archived->AdvancedSearch->SearchValue) == strval($arwrk[$rowcntwrk][0])) ? " checked=\"checked\"" : "";
if ($selwrk <> "") $emptywrk = FALSE;
// Note: No spacing within the LABEL tag
?>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 1) ?>
<label><input type="radio" name="x_Archived" id="x_Archived" title="<?php echo $CCMStudents->Archived->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $CCMStudents->Archived->EditAttributes() ?>><?php echo $arwrk[$rowcntwrk][1] ?></label>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 2) ?>
<?php
}
}
?>
</div>
</span>
</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
$CCMStudents_search->Page_Terminate();
?>
<?php
//
// Page class
//
class cCCMStudents_search {
// Page ID
var $PageID = 'search';
// Table name
var $TableName = 'CCMStudents';
// Page object name
var $PageObjName = 'CCMStudents_search';
// Page name
function PageName() {
return ew_CurrentPage();
}
// Page URL
function PageUrl() {
$PageUrl = ew_CurrentPage() . "?";
global $CCMStudents;
if ($CCMStudents->UseTokenInUrl) $PageUrl .= "t=" . $CCMStudents->TableVar . "&"; // Add page token
return $PageUrl;
}
// Page URLs
var $AddUrl;
var $EditUrl;
var $CopyUrl;
var $DeleteUrl;
var $ViewUrl;
var $ListUrl;
// Export URLs
var $ExportPrintUrl;
var $ExportHtmlUrl;
var $ExportExcelUrl;
var $ExportWordUrl;
var $ExportXmlUrl;
var $ExportCsvUrl;
// Update URLs
var $InlineAddUrl;
var $InlineCopyUrl;
var $InlineEditUrl;
var $GridAddUrl;
var $GridEditUrl;
var $MultiDeleteUrl;
var $MultiUpdateUrl;
// Message
function getMessage() {
return @$_SESSION[EW_SESSION_MESSAGE];
}
function setMessage($v) {
if (@$_SESSION[EW_SESSION_MESSAGE] <> "") { // Append
$_SESSION[EW_SESSION_MESSAGE] .= "<br>" . $v;
} else {
$_SESSION[EW_SESSION_MESSAGE] = $v;
}
}
// Show message
function ShowMessage() {
$sMessage = $this->getMessage();
$this->Message_Showing($sMessage);
if ($sMessage <> "") { // Message in Session, display
echo "<p><span class=\"ewMessage\">" . $sMessage . "</span></p>";
$_SESSION[EW_SESSION_MESSAGE] = ""; // Clear message in Session
}
}
// Validate page request
function IsPageRequest() {
global $objForm, $CCMStudents;
if ($CCMStudents->UseTokenInUrl) {
if ($objForm)
return ($CCMStudents->TableVar == $objForm->GetValue("t"));
if (@$_GET["t"] <> "")
return ($CCMStudents->TableVar == $_GET["t"]);
} else {
return TRUE;
}
}
//
// Page class constructor
//
function cCCMStudents_search() {
global $conn, $Language;
// Language object
$Language = new cLanguage();
// Table object (CCMStudents)
$GLOBALS["CCMStudents"] = new cCCMStudents();
// Table object (CCMUsers)
$GLOBALS['CCMUsers'] = new cCCMUsers();
// Page ID
if (!defined("EW_PAGE_ID"))
define("EW_PAGE_ID", 'search', TRUE);
// Table name (for backward compatibility)
if (!defined("EW_TABLE_NAME"))
define("EW_TABLE_NAME", 'CCMStudents', TRUE);
// Start timer
$GLOBALS["gsTimer"] = new cTimer();
// Open connection
$conn = ew_Connect();
}
//
// Page_Init
//
function Page_Init() {
global $gsExport, $gsExportFile, $UserProfile, $Language, $Security, $objForm;
global $CCMStudents;
// Security
$Security = new cAdvancedSecurity();
if (!$Security->IsLoggedIn()) $Security->AutoLogin();
if (!$Security->IsLoggedIn()) {
$Security->SaveLastUrl();
$this->Page_Terminate("login.php");
}
$Security->TablePermission_Loading();
$Security->LoadCurrentUserLevel($this->TableName);
$Security->TablePermission_Loaded();
if (!$Security->IsLoggedIn()) {
$Security->SaveLastUrl();
$this->Page_Terminate("login.php");
}
if (!$Security->CanSearch()) {
$Security->SaveLastUrl();
$this->Page_Terminate("CCMStudentslist.php");
}
// Create form object
$objForm = new cFormObj();
// Global Page Loading event (in userfn*.php)
Page_Loading();
// Page Load event
$this->Page_Load();
}
//
// Page_Terminate
//
function Page_Terminate($url = "") {
global $conn;
// Page Unload event
$this->Page_Unload();
// Global Page Unloaded event (in userfn*.php)
Page_Unloaded();
// Close connection
$conn->Close();
// Go to URL if specified
$this->Page_Redirecting($url);
if ($url <> "") {
if (!EW_DEBUG_ENABLED && ob_get_length())
ob_end_clean();
header("Location: " . $url);
}
exit();
}
//
// Page main
//
function Page_Main() {
global $objForm, $Language, $gsSearchError, $CCMStudents;
if ($this->IsPageRequest()) { // Validate request
// Get action
$CCMStudents->CurrentAction = $objForm->GetValue("a_search");
switch ($CCMStudents->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 = $CCMStudents->UrlParm($sSrchStr);
$this->Page_Terminate("CCMStudentslist.php" . "?" . $sSrchStr); // Go to list page
}
}
}
// Restore search settings from Session
if ($gsSearchError == "")
$this->LoadAdvancedSearch();
// Render row for search
$CCMStudents->RowType = EW_ROWTYPE_SEARCH;
$this->RenderRow();
}
// Build advanced search
function BuildAdvancedSearch() {
global $CCMStudents;
$sSrchUrl = "";
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->CCMStudentID); // CCMStudentID
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->SelectionCategory); // SelectionCategory
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Title); // Title
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Initials); // Initials
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->FirstName); // FirstName
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Surname); // Surname
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->KnownAs); // KnownAs
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->IDNumber); // IDNumber
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Telephone); // Telephone
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Cellphone); // Cellphone
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->EmailAddress); // EmailAddress
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->WorkAddress); // WorkAddress
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->PostalAddress); // PostalAddress
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Department); // Department
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Organisation); // Organisation
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->VATNo); // VATNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->JobTitle); // JobTitle
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->DateofBirth); // DateofBirth
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->PlaceofBirth); // PlaceofBirth
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->CountryofBirth); // CountryofBirth
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Province); // Province
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->MaleorFemale); // MaleorFemale
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->RaceGroup); // RaceGroup
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Disability); // Disability
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->DisabilityNature); // DisabilityNature
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->ProfessionalCouncil); // ProfessionalCouncil
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->CategoryReg); // CategoryReg
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->CouncilRegNumber); // CouncilRegNumber
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->LengthCandidateReg); // LengthCandidateReg
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->YearsToProfReg); // YearsToProfReg
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->FirstJobStart); // FirstJobStart
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->VolAssociations); // VolAssociations
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BelongsTo); // BelongsTo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->CESA_SABTACO_MemNum); // CESA_SABTACO_MemNum
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->AreaDiscipline); // AreaDiscipline
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->AreaSubDiscipline); // AreaSubDiscipline
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Salary); // Salary
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BankAccountName); // BankAccountName
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BankAccountBank); // BankAccountBank
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BankAccountBranch); // BankAccountBranch
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BankAccountNo); // BankAccountNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Funding); // Funding
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->CWDTP); // CWDTP
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BookedByName); // BookedByName
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BookedByDesignation); // BookedByDesignation
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BookedByTelNo); // BookedByTelNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BookedByFaxNo); // BookedByFaxNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BookedByCellNo); // BookedByCellNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BookedByEmail); // BookedByEmail
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->MentorID); // MentorID
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->MentorName); // MentorName
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->MentorDesig); // MentorDesig
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->MentorProfRegNo); // MentorProfRegNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->MentorRegNo); // MentorRegNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->MentorTel); // MentorTel
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->MentorCell); // MentorCell
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->MentorEmail); // MentorEmail
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->EmployerID); // EmployerID
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->HRManagerName); // HRManagerName
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->HRManagerDesignation); // HRManagerDesignation
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->HRManagerTelNo); // HRManagerTelNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->HRManagerCellNo); // HRManagerCellNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->HRManagerEmail); // HRManagerEmail
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->SupervisorName); // SupervisorName
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->SupervisorDesig); // SupervisorDesig
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->SupervisorProfRegNo); // SupervisorProfRegNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->SupervisorTelNo); // SupervisorTelNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->SupervisorCellNo); // SupervisorCellNo
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->SupervisorEmail); // SupervisorEmail
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->EducationalInst); // EducationalInst
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Qualifications); // Qualifications
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->DateFinalExam); // DateFinalExam
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->StudentNumber); // StudentNumber
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->WebUsername); // WebUsername
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->WebPassword); // WebPassword
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->BlockAccess); // BlockAccess
$this->BuildSearchUrl($sSrchUrl, $CCMStudents->Archived); // Archived
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, $CCMStudents;
// Load search values
// CCMStudentID
$CCMStudents->CCMStudentID->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_CCMStudentID"));
$CCMStudents->CCMStudentID->AdvancedSearch->SearchOperator = $objForm->GetValue("z_CCMStudentID");
// SelectionCategory
$CCMStudents->SelectionCategory->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_SelectionCategory"));
$CCMStudents->SelectionCategory->AdvancedSearch->SearchOperator = $objForm->GetValue("z_SelectionCategory");
// Title
$CCMStudents->Title->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Title"));
$CCMStudents->Title->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Title");
// Initials
$CCMStudents->Initials->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Initials"));
$CCMStudents->Initials->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Initials");
// FirstName
$CCMStudents->FirstName->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_FirstName"));
$CCMStudents->FirstName->AdvancedSearch->SearchOperator = $objForm->GetValue("z_FirstName");
// Surname
$CCMStudents->Surname->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Surname"));
$CCMStudents->Surname->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Surname");
// KnownAs
$CCMStudents->KnownAs->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_KnownAs"));
$CCMStudents->KnownAs->AdvancedSearch->SearchOperator = $objForm->GetValue("z_KnownAs");
// IDNumber
$CCMStudents->IDNumber->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_IDNumber"));
$CCMStudents->IDNumber->AdvancedSearch->SearchOperator = $objForm->GetValue("z_IDNumber");
// Telephone
$CCMStudents->Telephone->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Telephone"));
$CCMStudents->Telephone->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Telephone");
// Cellphone
$CCMStudents->Cellphone->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Cellphone"));
$CCMStudents->Cellphone->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Cellphone");
// EmailAddress
$CCMStudents->EmailAddress->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_EmailAddress"));
$CCMStudents->EmailAddress->AdvancedSearch->SearchOperator = $objForm->GetValue("z_EmailAddress");
// WorkAddress
$CCMStudents->WorkAddress->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_WorkAddress"));
$CCMStudents->WorkAddress->AdvancedSearch->SearchOperator = $objForm->GetValue("z_WorkAddress");
// PostalAddress
$CCMStudents->PostalAddress->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_PostalAddress"));
$CCMStudents->PostalAddress->AdvancedSearch->SearchOperator = $objForm->GetValue("z_PostalAddress");
// Department
$CCMStudents->Department->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Department"));
$CCMStudents->Department->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Department");
// Organisation
$CCMStudents->Organisation->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Organisation"));
$CCMStudents->Organisation->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Organisation");
// VATNo
$CCMStudents->VATNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_VATNo"));
$CCMStudents->VATNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_VATNo");
// JobTitle
$CCMStudents->JobTitle->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_JobTitle"));
$CCMStudents->JobTitle->AdvancedSearch->SearchOperator = $objForm->GetValue("z_JobTitle");
// DateofBirth
$CCMStudents->DateofBirth->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_DateofBirth"));
$CCMStudents->DateofBirth->AdvancedSearch->SearchOperator = $objForm->GetValue("z_DateofBirth");
// PlaceofBirth
$CCMStudents->PlaceofBirth->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_PlaceofBirth"));
$CCMStudents->PlaceofBirth->AdvancedSearch->SearchOperator = $objForm->GetValue("z_PlaceofBirth");
// CountryofBirth
$CCMStudents->CountryofBirth->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_CountryofBirth"));
$CCMStudents->CountryofBirth->AdvancedSearch->SearchOperator = $objForm->GetValue("z_CountryofBirth");
// Province
$CCMStudents->Province->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Province"));
$CCMStudents->Province->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Province");
// MaleorFemale
$CCMStudents->MaleorFemale->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MaleorFemale"));
$CCMStudents->MaleorFemale->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MaleorFemale");
// RaceGroup
$CCMStudents->RaceGroup->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_RaceGroup"));
$CCMStudents->RaceGroup->AdvancedSearch->SearchOperator = $objForm->GetValue("z_RaceGroup");
// Disability
$CCMStudents->Disability->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Disability"));
$CCMStudents->Disability->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Disability");
// DisabilityNature
$CCMStudents->DisabilityNature->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_DisabilityNature"));
$CCMStudents->DisabilityNature->AdvancedSearch->SearchOperator = $objForm->GetValue("z_DisabilityNature");
// ProfessionalCouncil
$CCMStudents->ProfessionalCouncil->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_ProfessionalCouncil"));
$CCMStudents->ProfessionalCouncil->AdvancedSearch->SearchOperator = $objForm->GetValue("z_ProfessionalCouncil");
// CategoryReg
$CCMStudents->CategoryReg->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_CategoryReg"));
$CCMStudents->CategoryReg->AdvancedSearch->SearchOperator = $objForm->GetValue("z_CategoryReg");
// CouncilRegNumber
$CCMStudents->CouncilRegNumber->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_CouncilRegNumber"));
$CCMStudents->CouncilRegNumber->AdvancedSearch->SearchOperator = $objForm->GetValue("z_CouncilRegNumber");
// LengthCandidateReg
$CCMStudents->LengthCandidateReg->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_LengthCandidateReg"));
$CCMStudents->LengthCandidateReg->AdvancedSearch->SearchOperator = $objForm->GetValue("z_LengthCandidateReg");
// YearsToProfReg
$CCMStudents->YearsToProfReg->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_YearsToProfReg"));
$CCMStudents->YearsToProfReg->AdvancedSearch->SearchOperator = $objForm->GetValue("z_YearsToProfReg");
// FirstJobStart
$CCMStudents->FirstJobStart->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_FirstJobStart"));
$CCMStudents->FirstJobStart->AdvancedSearch->SearchOperator = $objForm->GetValue("z_FirstJobStart");
// VolAssociations
$CCMStudents->VolAssociations->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_VolAssociations"));
$CCMStudents->VolAssociations->AdvancedSearch->SearchOperator = $objForm->GetValue("z_VolAssociations");
// BelongsTo
$CCMStudents->BelongsTo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BelongsTo"));
$CCMStudents->BelongsTo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BelongsTo");
// CESA_SABTACO_MemNum
$CCMStudents->CESA_SABTACO_MemNum->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_CESA_SABTACO_MemNum"));
$CCMStudents->CESA_SABTACO_MemNum->AdvancedSearch->SearchOperator = $objForm->GetValue("z_CESA_SABTACO_MemNum");
// AreaDiscipline
$CCMStudents->AreaDiscipline->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_AreaDiscipline"));
$CCMStudents->AreaDiscipline->AdvancedSearch->SearchOperator = $objForm->GetValue("z_AreaDiscipline");
// AreaSubDiscipline
$CCMStudents->AreaSubDiscipline->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_AreaSubDiscipline"));
$CCMStudents->AreaSubDiscipline->AdvancedSearch->SearchOperator = $objForm->GetValue("z_AreaSubDiscipline");
// Salary
$CCMStudents->Salary->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Salary"));
$CCMStudents->Salary->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Salary");
// BankAccountName
$CCMStudents->BankAccountName->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BankAccountName"));
$CCMStudents->BankAccountName->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BankAccountName");
// BankAccountBank
$CCMStudents->BankAccountBank->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BankAccountBank"));
$CCMStudents->BankAccountBank->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BankAccountBank");
// BankAccountBranch
$CCMStudents->BankAccountBranch->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BankAccountBranch"));
$CCMStudents->BankAccountBranch->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BankAccountBranch");
// BankAccountNo
$CCMStudents->BankAccountNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BankAccountNo"));
$CCMStudents->BankAccountNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BankAccountNo");
// Funding
$CCMStudents->Funding->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Funding"));
$CCMStudents->Funding->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Funding");
// CWDTP
$CCMStudents->CWDTP->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_CWDTP"));
$CCMStudents->CWDTP->AdvancedSearch->SearchOperator = $objForm->GetValue("z_CWDTP");
// BookedByName
$CCMStudents->BookedByName->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByName"));
$CCMStudents->BookedByName->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByName");
// BookedByDesignation
$CCMStudents->BookedByDesignation->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByDesignation"));
$CCMStudents->BookedByDesignation->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByDesignation");
// BookedByTelNo
$CCMStudents->BookedByTelNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByTelNo"));
$CCMStudents->BookedByTelNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByTelNo");
// BookedByFaxNo
$CCMStudents->BookedByFaxNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByFaxNo"));
$CCMStudents->BookedByFaxNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByFaxNo");
// BookedByCellNo
$CCMStudents->BookedByCellNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByCellNo"));
$CCMStudents->BookedByCellNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByCellNo");
// BookedByEmail
$CCMStudents->BookedByEmail->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByEmail"));
$CCMStudents->BookedByEmail->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByEmail");
// MentorID
$CCMStudents->MentorID->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorID"));
$CCMStudents->MentorID->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorID");
// MentorName
$CCMStudents->MentorName->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorName"));
$CCMStudents->MentorName->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorName");
// MentorDesig
$CCMStudents->MentorDesig->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorDesig"));
$CCMStudents->MentorDesig->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorDesig");
// MentorProfRegNo
$CCMStudents->MentorProfRegNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorProfRegNo"));
$CCMStudents->MentorProfRegNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorProfRegNo");
// MentorRegNo
$CCMStudents->MentorRegNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorRegNo"));
$CCMStudents->MentorRegNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorRegNo");
// MentorTel
$CCMStudents->MentorTel->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorTel"));
$CCMStudents->MentorTel->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorTel");
// MentorCell
$CCMStudents->MentorCell->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorCell"));
$CCMStudents->MentorCell->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorCell");
// MentorEmail
$CCMStudents->MentorEmail->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorEmail"));
$CCMStudents->MentorEmail->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorEmail");
// EmployerID
$CCMStudents->EmployerID->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_EmployerID"));
$CCMStudents->EmployerID->AdvancedSearch->SearchOperator = $objForm->GetValue("z_EmployerID");
// HRManagerName
$CCMStudents->HRManagerName->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HRManagerName"));
$CCMStudents->HRManagerName->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HRManagerName");
// HRManagerDesignation
$CCMStudents->HRManagerDesignation->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HRManagerDesignation"));
$CCMStudents->HRManagerDesignation->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HRManagerDesignation");
// HRManagerTelNo
$CCMStudents->HRManagerTelNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HRManagerTelNo"));
$CCMStudents->HRManagerTelNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HRManagerTelNo");
// HRManagerCellNo
$CCMStudents->HRManagerCellNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HRManagerCellNo"));
$CCMStudents->HRManagerCellNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HRManagerCellNo");
// HRManagerEmail
$CCMStudents->HRManagerEmail->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HRManagerEmail"));
$CCMStudents->HRManagerEmail->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HRManagerEmail");
// SupervisorName
$CCMStudents->SupervisorName->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_SupervisorName"));
$CCMStudents->SupervisorName->AdvancedSearch->SearchOperator = $objForm->GetValue("z_SupervisorName");
// SupervisorDesig
$CCMStudents->SupervisorDesig->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_SupervisorDesig"));
$CCMStudents->SupervisorDesig->AdvancedSearch->SearchOperator = $objForm->GetValue("z_SupervisorDesig");
// SupervisorProfRegNo
$CCMStudents->SupervisorProfRegNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_SupervisorProfRegNo"));
$CCMStudents->SupervisorProfRegNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_SupervisorProfRegNo");
// SupervisorTelNo
$CCMStudents->SupervisorTelNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_SupervisorTelNo"));
$CCMStudents->SupervisorTelNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_SupervisorTelNo");
// SupervisorCellNo
$CCMStudents->SupervisorCellNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_SupervisorCellNo"));
$CCMStudents->SupervisorCellNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_SupervisorCellNo");
// SupervisorEmail
$CCMStudents->SupervisorEmail->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_SupervisorEmail"));
$CCMStudents->SupervisorEmail->AdvancedSearch->SearchOperator = $objForm->GetValue("z_SupervisorEmail");
// EducationalInst
$CCMStudents->EducationalInst->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_EducationalInst"));
$CCMStudents->EducationalInst->AdvancedSearch->SearchOperator = $objForm->GetValue("z_EducationalInst");
// Qualifications
$CCMStudents->Qualifications->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Qualifications"));
$CCMStudents->Qualifications->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Qualifications");
// DateFinalExam
$CCMStudents->DateFinalExam->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_DateFinalExam"));
$CCMStudents->DateFinalExam->AdvancedSearch->SearchOperator = $objForm->GetValue("z_DateFinalExam");
// StudentNumber
$CCMStudents->StudentNumber->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_StudentNumber"));
$CCMStudents->StudentNumber->AdvancedSearch->SearchOperator = $objForm->GetValue("z_StudentNumber");
// WebUsername
$CCMStudents->WebUsername->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_WebUsername"));
$CCMStudents->WebUsername->AdvancedSearch->SearchOperator = $objForm->GetValue("z_WebUsername");
// WebPassword
$CCMStudents->WebPassword->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_WebPassword"));
$CCMStudents->WebPassword->AdvancedSearch->SearchOperator = $objForm->GetValue("z_WebPassword");
// BlockAccess
$CCMStudents->BlockAccess->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BlockAccess"));
$CCMStudents->BlockAccess->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BlockAccess");
// Archived
$CCMStudents->Archived->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Archived"));
$CCMStudents->Archived->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Archived");
}
// Render row values based on field settings
function RenderRow() {
global $conn, $Security, $Language, $CCMStudents;
// Initialize URLs
// Call Row_Rendering event
$CCMStudents->Row_Rendering();
// Common render codes for all row types
// CCMStudentID
$CCMStudents->CCMStudentID->CellCssStyle = ""; $CCMStudents->CCMStudentID->CellCssClass = "";
$CCMStudents->CCMStudentID->CellAttrs = array(); $CCMStudents->CCMStudentID->ViewAttrs = array(); $CCMStudents->CCMStudentID->EditAttrs = array();
// SelectionCategory
$CCMStudents->SelectionCategory->CellCssStyle = ""; $CCMStudents->SelectionCategory->CellCssClass = "";
$CCMStudents->SelectionCategory->CellAttrs = array(); $CCMStudents->SelectionCategory->ViewAttrs = array(); $CCMStudents->SelectionCategory->EditAttrs = array();
// Title
$CCMStudents->Title->CellCssStyle = ""; $CCMStudents->Title->CellCssClass = "";
$CCMStudents->Title->CellAttrs = array(); $CCMStudents->Title->ViewAttrs = array(); $CCMStudents->Title->EditAttrs = array();
// Initials
$CCMStudents->Initials->CellCssStyle = ""; $CCMStudents->Initials->CellCssClass = "";
$CCMStudents->Initials->CellAttrs = array(); $CCMStudents->Initials->ViewAttrs = array(); $CCMStudents->Initials->EditAttrs = array();
// FirstName
$CCMStudents->FirstName->CellCssStyle = ""; $CCMStudents->FirstName->CellCssClass = "";
$CCMStudents->FirstName->CellAttrs = array(); $CCMStudents->FirstName->ViewAttrs = array(); $CCMStudents->FirstName->EditAttrs = array();
// Surname
$CCMStudents->Surname->CellCssStyle = ""; $CCMStudents->Surname->CellCssClass = "";
$CCMStudents->Surname->CellAttrs = array(); $CCMStudents->Surname->ViewAttrs = array(); $CCMStudents->Surname->EditAttrs = array();
// KnownAs
$CCMStudents->KnownAs->CellCssStyle = ""; $CCMStudents->KnownAs->CellCssClass = "";
$CCMStudents->KnownAs->CellAttrs = array(); $CCMStudents->KnownAs->ViewAttrs = array(); $CCMStudents->KnownAs->EditAttrs = array();
// IDNumber
$CCMStudents->IDNumber->CellCssStyle = ""; $CCMStudents->IDNumber->CellCssClass = "";
$CCMStudents->IDNumber->CellAttrs = array(); $CCMStudents->IDNumber->ViewAttrs = array(); $CCMStudents->IDNumber->EditAttrs = array();
// Telephone
$CCMStudents->Telephone->CellCssStyle = ""; $CCMStudents->Telephone->CellCssClass = "";
$CCMStudents->Telephone->CellAttrs = array(); $CCMStudents->Telephone->ViewAttrs = array(); $CCMStudents->Telephone->EditAttrs = array();
// Cellphone
$CCMStudents->Cellphone->CellCssStyle = ""; $CCMStudents->Cellphone->CellCssClass = "";
$CCMStudents->Cellphone->CellAttrs = array(); $CCMStudents->Cellphone->ViewAttrs = array(); $CCMStudents->Cellphone->EditAttrs = array();
// EmailAddress
$CCMStudents->EmailAddress->CellCssStyle = ""; $CCMStudents->EmailAddress->CellCssClass = "";
$CCMStudents->EmailAddress->CellAttrs = array(); $CCMStudents->EmailAddress->ViewAttrs = array(); $CCMStudents->EmailAddress->EditAttrs = array();
// WorkAddress
$CCMStudents->WorkAddress->CellCssStyle = ""; $CCMStudents->WorkAddress->CellCssClass = "";
$CCMStudents->WorkAddress->CellAttrs = array(); $CCMStudents->WorkAddress->ViewAttrs = array(); $CCMStudents->WorkAddress->EditAttrs = array();
// PostalAddress
$CCMStudents->PostalAddress->CellCssStyle = ""; $CCMStudents->PostalAddress->CellCssClass = "";
$CCMStudents->PostalAddress->CellAttrs = array(); $CCMStudents->PostalAddress->ViewAttrs = array(); $CCMStudents->PostalAddress->EditAttrs = array();
// Department
$CCMStudents->Department->CellCssStyle = ""; $CCMStudents->Department->CellCssClass = "";
$CCMStudents->Department->CellAttrs = array(); $CCMStudents->Department->ViewAttrs = array(); $CCMStudents->Department->EditAttrs = array();
// Organisation
$CCMStudents->Organisation->CellCssStyle = ""; $CCMStudents->Organisation->CellCssClass = "";
$CCMStudents->Organisation->CellAttrs = array(); $CCMStudents->Organisation->ViewAttrs = array(); $CCMStudents->Organisation->EditAttrs = array();
// VATNo
$CCMStudents->VATNo->CellCssStyle = ""; $CCMStudents->VATNo->CellCssClass = "";
$CCMStudents->VATNo->CellAttrs = array(); $CCMStudents->VATNo->ViewAttrs = array(); $CCMStudents->VATNo->EditAttrs = array();
// JobTitle
$CCMStudents->JobTitle->CellCssStyle = ""; $CCMStudents->JobTitle->CellCssClass = "";
$CCMStudents->JobTitle->CellAttrs = array(); $CCMStudents->JobTitle->ViewAttrs = array(); $CCMStudents->JobTitle->EditAttrs = array();
// DateofBirth
$CCMStudents->DateofBirth->CellCssStyle = ""; $CCMStudents->DateofBirth->CellCssClass = "";
$CCMStudents->DateofBirth->CellAttrs = array(); $CCMStudents->DateofBirth->ViewAttrs = array(); $CCMStudents->DateofBirth->EditAttrs = array();
// PlaceofBirth
$CCMStudents->PlaceofBirth->CellCssStyle = ""; $CCMStudents->PlaceofBirth->CellCssClass = "";
$CCMStudents->PlaceofBirth->CellAttrs = array(); $CCMStudents->PlaceofBirth->ViewAttrs = array(); $CCMStudents->PlaceofBirth->EditAttrs = array();
// CountryofBirth
$CCMStudents->CountryofBirth->CellCssStyle = ""; $CCMStudents->CountryofBirth->CellCssClass = "";
$CCMStudents->CountryofBirth->CellAttrs = array(); $CCMStudents->CountryofBirth->ViewAttrs = array(); $CCMStudents->CountryofBirth->EditAttrs = array();
// Province
$CCMStudents->Province->CellCssStyle = ""; $CCMStudents->Province->CellCssClass = "";
$CCMStudents->Province->CellAttrs = array(); $CCMStudents->Province->ViewAttrs = array(); $CCMStudents->Province->EditAttrs = array();
// MaleorFemale
$CCMStudents->MaleorFemale->CellCssStyle = ""; $CCMStudents->MaleorFemale->CellCssClass = "";
$CCMStudents->MaleorFemale->CellAttrs = array(); $CCMStudents->MaleorFemale->ViewAttrs = array(); $CCMStudents->MaleorFemale->EditAttrs = array();
// RaceGroup
$CCMStudents->RaceGroup->CellCssStyle = ""; $CCMStudents->RaceGroup->CellCssClass = "";
$CCMStudents->RaceGroup->CellAttrs = array(); $CCMStudents->RaceGroup->ViewAttrs = array(); $CCMStudents->RaceGroup->EditAttrs = array();
// Disability
$CCMStudents->Disability->CellCssStyle = ""; $CCMStudents->Disability->CellCssClass = "";
$CCMStudents->Disability->CellAttrs = array(); $CCMStudents->Disability->ViewAttrs = array(); $CCMStudents->Disability->EditAttrs = array();
// DisabilityNature
$CCMStudents->DisabilityNature->CellCssStyle = ""; $CCMStudents->DisabilityNature->CellCssClass = "";
$CCMStudents->DisabilityNature->CellAttrs = array(); $CCMStudents->DisabilityNature->ViewAttrs = array(); $CCMStudents->DisabilityNature->EditAttrs = array();
// DisabilityCertificate
$CCMStudents->DisabilityCertificate->CellCssStyle = ""; $CCMStudents->DisabilityCertificate->CellCssClass = "";
$CCMStudents->DisabilityCertificate->CellAttrs = array(); $CCMStudents->DisabilityCertificate->ViewAttrs = array(); $CCMStudents->DisabilityCertificate->EditAttrs = array();
// ProfessionalCouncil
$CCMStudents->ProfessionalCouncil->CellCssStyle = ""; $CCMStudents->ProfessionalCouncil->CellCssClass = "";
$CCMStudents->ProfessionalCouncil->CellAttrs = array(); $CCMStudents->ProfessionalCouncil->ViewAttrs = array(); $CCMStudents->ProfessionalCouncil->EditAttrs = array();
// CategoryReg
$CCMStudents->CategoryReg->CellCssStyle = ""; $CCMStudents->CategoryReg->CellCssClass = "";
$CCMStudents->CategoryReg->CellAttrs = array(); $CCMStudents->CategoryReg->ViewAttrs = array(); $CCMStudents->CategoryReg->EditAttrs = array();
// CouncilRegNumber
$CCMStudents->CouncilRegNumber->CellCssStyle = ""; $CCMStudents->CouncilRegNumber->CellCssClass = "";
$CCMStudents->CouncilRegNumber->CellAttrs = array(); $CCMStudents->CouncilRegNumber->ViewAttrs = array(); $CCMStudents->CouncilRegNumber->EditAttrs = array();
// LengthCandidateReg
$CCMStudents->LengthCandidateReg->CellCssStyle = ""; $CCMStudents->LengthCandidateReg->CellCssClass = "";
$CCMStudents->LengthCandidateReg->CellAttrs = array(); $CCMStudents->LengthCandidateReg->ViewAttrs = array(); $CCMStudents->LengthCandidateReg->EditAttrs = array();
// YearsToProfReg
$CCMStudents->YearsToProfReg->CellCssStyle = ""; $CCMStudents->YearsToProfReg->CellCssClass = "";
$CCMStudents->YearsToProfReg->CellAttrs = array(); $CCMStudents->YearsToProfReg->ViewAttrs = array(); $CCMStudents->YearsToProfReg->EditAttrs = array();
// FirstJobStart
$CCMStudents->FirstJobStart->CellCssStyle = ""; $CCMStudents->FirstJobStart->CellCssClass = "";
$CCMStudents->FirstJobStart->CellAttrs = array(); $CCMStudents->FirstJobStart->ViewAttrs = array(); $CCMStudents->FirstJobStart->EditAttrs = array();
// VolAssociations
$CCMStudents->VolAssociations->CellCssStyle = ""; $CCMStudents->VolAssociations->CellCssClass = "";
$CCMStudents->VolAssociations->CellAttrs = array(); $CCMStudents->VolAssociations->ViewAttrs = array(); $CCMStudents->VolAssociations->EditAttrs = array();
// BelongsTo
$CCMStudents->BelongsTo->CellCssStyle = ""; $CCMStudents->BelongsTo->CellCssClass = "";
$CCMStudents->BelongsTo->CellAttrs = array(); $CCMStudents->BelongsTo->ViewAttrs = array(); $CCMStudents->BelongsTo->EditAttrs = array();
// CESA_SABTACO_MemNum
$CCMStudents->CESA_SABTACO_MemNum->CellCssStyle = ""; $CCMStudents->CESA_SABTACO_MemNum->CellCssClass = "";
$CCMStudents->CESA_SABTACO_MemNum->CellAttrs = array(); $CCMStudents->CESA_SABTACO_MemNum->ViewAttrs = array(); $CCMStudents->CESA_SABTACO_MemNum->EditAttrs = array();
// AreaDiscipline
$CCMStudents->AreaDiscipline->CellCssStyle = ""; $CCMStudents->AreaDiscipline->CellCssClass = "";
$CCMStudents->AreaDiscipline->CellAttrs = array(); $CCMStudents->AreaDiscipline->ViewAttrs = array(); $CCMStudents->AreaDiscipline->EditAttrs = array();
// AreaSubDiscipline
$CCMStudents->AreaSubDiscipline->CellCssStyle = ""; $CCMStudents->AreaSubDiscipline->CellCssClass = "";
$CCMStudents->AreaSubDiscipline->CellAttrs = array(); $CCMStudents->AreaSubDiscipline->ViewAttrs = array(); $CCMStudents->AreaSubDiscipline->EditAttrs = array();
// Salary
$CCMStudents->Salary->CellCssStyle = ""; $CCMStudents->Salary->CellCssClass = "";
$CCMStudents->Salary->CellAttrs = array(); $CCMStudents->Salary->ViewAttrs = array(); $CCMStudents->Salary->EditAttrs = array();
// Payslip
$CCMStudents->Payslip->CellCssStyle = ""; $CCMStudents->Payslip->CellCssClass = "";
$CCMStudents->Payslip->CellAttrs = array(); $CCMStudents->Payslip->ViewAttrs = array(); $CCMStudents->Payslip->EditAttrs = array();
// BankAccountName
$CCMStudents->BankAccountName->CellCssStyle = ""; $CCMStudents->BankAccountName->CellCssClass = "";
$CCMStudents->BankAccountName->CellAttrs = array(); $CCMStudents->BankAccountName->ViewAttrs = array(); $CCMStudents->BankAccountName->EditAttrs = array();
// BankAccountBank
$CCMStudents->BankAccountBank->CellCssStyle = ""; $CCMStudents->BankAccountBank->CellCssClass = "";
$CCMStudents->BankAccountBank->CellAttrs = array(); $CCMStudents->BankAccountBank->ViewAttrs = array(); $CCMStudents->BankAccountBank->EditAttrs = array();
// BankAccountBranch
$CCMStudents->BankAccountBranch->CellCssStyle = ""; $CCMStudents->BankAccountBranch->CellCssClass = "";
$CCMStudents->BankAccountBranch->CellAttrs = array(); $CCMStudents->BankAccountBranch->ViewAttrs = array(); $CCMStudents->BankAccountBranch->EditAttrs = array();
// BankAccountNo
$CCMStudents->BankAccountNo->CellCssStyle = ""; $CCMStudents->BankAccountNo->CellCssClass = "";
$CCMStudents->BankAccountNo->CellAttrs = array(); $CCMStudents->BankAccountNo->ViewAttrs = array(); $CCMStudents->BankAccountNo->EditAttrs = array();
// BankAccountProof
$CCMStudents->BankAccountProof->CellCssStyle = ""; $CCMStudents->BankAccountProof->CellCssClass = "";
$CCMStudents->BankAccountProof->CellAttrs = array(); $CCMStudents->BankAccountProof->ViewAttrs = array(); $CCMStudents->BankAccountProof->EditAttrs = array();
// Funding
$CCMStudents->Funding->CellCssStyle = ""; $CCMStudents->Funding->CellCssClass = "";
$CCMStudents->Funding->CellAttrs = array(); $CCMStudents->Funding->ViewAttrs = array(); $CCMStudents->Funding->EditAttrs = array();
// CWDTP
$CCMStudents->CWDTP->CellCssStyle = ""; $CCMStudents->CWDTP->CellCssClass = "";
$CCMStudents->CWDTP->CellAttrs = array(); $CCMStudents->CWDTP->ViewAttrs = array(); $CCMStudents->CWDTP->EditAttrs = array();
// BookedByName
$CCMStudents->BookedByName->CellCssStyle = ""; $CCMStudents->BookedByName->CellCssClass = "";
$CCMStudents->BookedByName->CellAttrs = array(); $CCMStudents->BookedByName->ViewAttrs = array(); $CCMStudents->BookedByName->EditAttrs = array();
// BookedByDesignation
$CCMStudents->BookedByDesignation->CellCssStyle = ""; $CCMStudents->BookedByDesignation->CellCssClass = "";
$CCMStudents->BookedByDesignation->CellAttrs = array(); $CCMStudents->BookedByDesignation->ViewAttrs = array(); $CCMStudents->BookedByDesignation->EditAttrs = array();
// BookedByTelNo
$CCMStudents->BookedByTelNo->CellCssStyle = ""; $CCMStudents->BookedByTelNo->CellCssClass = "";
$CCMStudents->BookedByTelNo->CellAttrs = array(); $CCMStudents->BookedByTelNo->ViewAttrs = array(); $CCMStudents->BookedByTelNo->EditAttrs = array();
// BookedByFaxNo
$CCMStudents->BookedByFaxNo->CellCssStyle = ""; $CCMStudents->BookedByFaxNo->CellCssClass = "";
$CCMStudents->BookedByFaxNo->CellAttrs = array(); $CCMStudents->BookedByFaxNo->ViewAttrs = array(); $CCMStudents->BookedByFaxNo->EditAttrs = array();
// BookedByCellNo
$CCMStudents->BookedByCellNo->CellCssStyle = ""; $CCMStudents->BookedByCellNo->CellCssClass = "";
$CCMStudents->BookedByCellNo->CellAttrs = array(); $CCMStudents->BookedByCellNo->ViewAttrs = array(); $CCMStudents->BookedByCellNo->EditAttrs = array();
// BookedByEmail
$CCMStudents->BookedByEmail->CellCssStyle = ""; $CCMStudents->BookedByEmail->CellCssClass = "";
$CCMStudents->BookedByEmail->CellAttrs = array(); $CCMStudents->BookedByEmail->ViewAttrs = array(); $CCMStudents->BookedByEmail->EditAttrs = array();
// MentorID
$CCMStudents->MentorID->CellCssStyle = ""; $CCMStudents->MentorID->CellCssClass = "";
$CCMStudents->MentorID->CellAttrs = array(); $CCMStudents->MentorID->ViewAttrs = array(); $CCMStudents->MentorID->EditAttrs = array();
// MentorName
$CCMStudents->MentorName->CellCssStyle = ""; $CCMStudents->MentorName->CellCssClass = "";
$CCMStudents->MentorName->CellAttrs = array(); $CCMStudents->MentorName->ViewAttrs = array(); $CCMStudents->MentorName->EditAttrs = array();
// MentorDesig
$CCMStudents->MentorDesig->CellCssStyle = ""; $CCMStudents->MentorDesig->CellCssClass = "";
$CCMStudents->MentorDesig->CellAttrs = array(); $CCMStudents->MentorDesig->ViewAttrs = array(); $CCMStudents->MentorDesig->EditAttrs = array();
// MentorProfRegNo
$CCMStudents->MentorProfRegNo->CellCssStyle = ""; $CCMStudents->MentorProfRegNo->CellCssClass = "";
$CCMStudents->MentorProfRegNo->CellAttrs = array(); $CCMStudents->MentorProfRegNo->ViewAttrs = array(); $CCMStudents->MentorProfRegNo->EditAttrs = array();
// MentorRegNo
$CCMStudents->MentorRegNo->CellCssStyle = ""; $CCMStudents->MentorRegNo->CellCssClass = "";
$CCMStudents->MentorRegNo->CellAttrs = array(); $CCMStudents->MentorRegNo->ViewAttrs = array(); $CCMStudents->MentorRegNo->EditAttrs = array();
// MentorTel
$CCMStudents->MentorTel->CellCssStyle = ""; $CCMStudents->MentorTel->CellCssClass = "";
$CCMStudents->MentorTel->CellAttrs = array(); $CCMStudents->MentorTel->ViewAttrs = array(); $CCMStudents->MentorTel->EditAttrs = array();
// MentorCell
$CCMStudents->MentorCell->CellCssStyle = ""; $CCMStudents->MentorCell->CellCssClass = "";
$CCMStudents->MentorCell->CellAttrs = array(); $CCMStudents->MentorCell->ViewAttrs = array(); $CCMStudents->MentorCell->EditAttrs = array();
// MentorEmail
$CCMStudents->MentorEmail->CellCssStyle = ""; $CCMStudents->MentorEmail->CellCssClass = "";
$CCMStudents->MentorEmail->CellAttrs = array(); $CCMStudents->MentorEmail->ViewAttrs = array(); $CCMStudents->MentorEmail->EditAttrs = array();
// EmployerID
$CCMStudents->EmployerID->CellCssStyle = ""; $CCMStudents->EmployerID->CellCssClass = "";
$CCMStudents->EmployerID->CellAttrs = array(); $CCMStudents->EmployerID->ViewAttrs = array(); $CCMStudents->EmployerID->EditAttrs = array();
// HRManagerName
$CCMStudents->HRManagerName->CellCssStyle = ""; $CCMStudents->HRManagerName->CellCssClass = "";
$CCMStudents->HRManagerName->CellAttrs = array(); $CCMStudents->HRManagerName->ViewAttrs = array(); $CCMStudents->HRManagerName->EditAttrs = array();
// HRManagerDesignation
$CCMStudents->HRManagerDesignation->CellCssStyle = ""; $CCMStudents->HRManagerDesignation->CellCssClass = "";
$CCMStudents->HRManagerDesignation->CellAttrs = array(); $CCMStudents->HRManagerDesignation->ViewAttrs = array(); $CCMStudents->HRManagerDesignation->EditAttrs = array();
// HRManagerTelNo
$CCMStudents->HRManagerTelNo->CellCssStyle = ""; $CCMStudents->HRManagerTelNo->CellCssClass = "";
$CCMStudents->HRManagerTelNo->CellAttrs = array(); $CCMStudents->HRManagerTelNo->ViewAttrs = array(); $CCMStudents->HRManagerTelNo->EditAttrs = array();
// HRManagerCellNo
$CCMStudents->HRManagerCellNo->CellCssStyle = ""; $CCMStudents->HRManagerCellNo->CellCssClass = "";
$CCMStudents->HRManagerCellNo->CellAttrs = array(); $CCMStudents->HRManagerCellNo->ViewAttrs = array(); $CCMStudents->HRManagerCellNo->EditAttrs = array();
// HRManagerEmail
$CCMStudents->HRManagerEmail->CellCssStyle = ""; $CCMStudents->HRManagerEmail->CellCssClass = "";
$CCMStudents->HRManagerEmail->CellAttrs = array(); $CCMStudents->HRManagerEmail->ViewAttrs = array(); $CCMStudents->HRManagerEmail->EditAttrs = array();
// SupervisorName
$CCMStudents->SupervisorName->CellCssStyle = ""; $CCMStudents->SupervisorName->CellCssClass = "";
$CCMStudents->SupervisorName->CellAttrs = array(); $CCMStudents->SupervisorName->ViewAttrs = array(); $CCMStudents->SupervisorName->EditAttrs = array();
// SupervisorDesig
$CCMStudents->SupervisorDesig->CellCssStyle = ""; $CCMStudents->SupervisorDesig->CellCssClass = "";
$CCMStudents->SupervisorDesig->CellAttrs = array(); $CCMStudents->SupervisorDesig->ViewAttrs = array(); $CCMStudents->SupervisorDesig->EditAttrs = array();
// SupervisorProfRegNo
$CCMStudents->SupervisorProfRegNo->CellCssStyle = ""; $CCMStudents->SupervisorProfRegNo->CellCssClass = "";
$CCMStudents->SupervisorProfRegNo->CellAttrs = array(); $CCMStudents->SupervisorProfRegNo->ViewAttrs = array(); $CCMStudents->SupervisorProfRegNo->EditAttrs = array();
// SupervisorTelNo
$CCMStudents->SupervisorTelNo->CellCssStyle = ""; $CCMStudents->SupervisorTelNo->CellCssClass = "";
$CCMStudents->SupervisorTelNo->CellAttrs = array(); $CCMStudents->SupervisorTelNo->ViewAttrs = array(); $CCMStudents->SupervisorTelNo->EditAttrs = array();
// SupervisorCellNo
$CCMStudents->SupervisorCellNo->CellCssStyle = ""; $CCMStudents->SupervisorCellNo->CellCssClass = "";
$CCMStudents->SupervisorCellNo->CellAttrs = array(); $CCMStudents->SupervisorCellNo->ViewAttrs = array(); $CCMStudents->SupervisorCellNo->EditAttrs = array();
// SupervisorEmail
$CCMStudents->SupervisorEmail->CellCssStyle = ""; $CCMStudents->SupervisorEmail->CellCssClass = "";
$CCMStudents->SupervisorEmail->CellAttrs = array(); $CCMStudents->SupervisorEmail->ViewAttrs = array(); $CCMStudents->SupervisorEmail->EditAttrs = array();
// EducationalInst
$CCMStudents->EducationalInst->CellCssStyle = ""; $CCMStudents->EducationalInst->CellCssClass = "";
$CCMStudents->EducationalInst->CellAttrs = array(); $CCMStudents->EducationalInst->ViewAttrs = array(); $CCMStudents->EducationalInst->EditAttrs = array();
// Qualifications
$CCMStudents->Qualifications->CellCssStyle = ""; $CCMStudents->Qualifications->CellCssClass = "";
$CCMStudents->Qualifications->CellAttrs = array(); $CCMStudents->Qualifications->ViewAttrs = array(); $CCMStudents->Qualifications->EditAttrs = array();
// DateFinalExam
$CCMStudents->DateFinalExam->CellCssStyle = ""; $CCMStudents->DateFinalExam->CellCssClass = "";
$CCMStudents->DateFinalExam->CellAttrs = array(); $CCMStudents->DateFinalExam->ViewAttrs = array(); $CCMStudents->DateFinalExam->EditAttrs = array();
// IDFile
$CCMStudents->IDFile->CellCssStyle = ""; $CCMStudents->IDFile->CellCssClass = "";
$CCMStudents->IDFile->CellAttrs = array(); $CCMStudents->IDFile->ViewAttrs = array(); $CCMStudents->IDFile->EditAttrs = array();
// CVFile
$CCMStudents->CVFile->CellCssStyle = ""; $CCMStudents->CVFile->CellCssClass = "";
$CCMStudents->CVFile->CellAttrs = array(); $CCMStudents->CVFile->ViewAttrs = array(); $CCMStudents->CVFile->EditAttrs = array();
// QualCertificate1
$CCMStudents->QualCertificate1->CellCssStyle = ""; $CCMStudents->QualCertificate1->CellCssClass = "";
$CCMStudents->QualCertificate1->CellAttrs = array(); $CCMStudents->QualCertificate1->ViewAttrs = array(); $CCMStudents->QualCertificate1->EditAttrs = array();
// QualCertificate2
$CCMStudents->QualCertificate2->CellCssStyle = ""; $CCMStudents->QualCertificate2->CellCssClass = "";
$CCMStudents->QualCertificate2->CellAttrs = array(); $CCMStudents->QualCertificate2->ViewAttrs = array(); $CCMStudents->QualCertificate2->EditAttrs = array();
// QualCertificate3
$CCMStudents->QualCertificate3->CellCssStyle = ""; $CCMStudents->QualCertificate3->CellCssClass = "";
$CCMStudents->QualCertificate3->CellAttrs = array(); $CCMStudents->QualCertificate3->ViewAttrs = array(); $CCMStudents->QualCertificate3->EditAttrs = array();
// MentorUndertaking
$CCMStudents->MentorUndertaking->CellCssStyle = ""; $CCMStudents->MentorUndertaking->CellCssClass = "";
$CCMStudents->MentorUndertaking->CellAttrs = array(); $CCMStudents->MentorUndertaking->ViewAttrs = array(); $CCMStudents->MentorUndertaking->EditAttrs = array();
// CandUUndertaking
$CCMStudents->CandUUndertaking->CellCssStyle = ""; $CCMStudents->CandUUndertaking->CellCssClass = "";
$CCMStudents->CandUUndertaking->CellAttrs = array(); $CCMStudents->CandUUndertaking->ViewAttrs = array(); $CCMStudents->CandUUndertaking->EditAttrs = array();
// CompanyCandidatePolicy
$CCMStudents->CompanyCandidatePolicy->CellCssStyle = ""; $CCMStudents->CompanyCandidatePolicy->CellCssClass = "";
$CCMStudents->CompanyCandidatePolicy->CellAttrs = array(); $CCMStudents->CompanyCandidatePolicy->ViewAttrs = array(); $CCMStudents->CompanyCandidatePolicy->EditAttrs = array();
// ResidenceProof
$CCMStudents->ResidenceProof->CellCssStyle = ""; $CCMStudents->ResidenceProof->CellCssClass = "";
$CCMStudents->ResidenceProof->CellAttrs = array(); $CCMStudents->ResidenceProof->ViewAttrs = array(); $CCMStudents->ResidenceProof->EditAttrs = array();
// SignedAppForm
$CCMStudents->SignedAppForm->CellCssStyle = ""; $CCMStudents->SignedAppForm->CellCssClass = "";
$CCMStudents->SignedAppForm->CellAttrs = array(); $CCMStudents->SignedAppForm->ViewAttrs = array(); $CCMStudents->SignedAppForm->EditAttrs = array();
// Photograph
$CCMStudents->Photograph->CellCssStyle = ""; $CCMStudents->Photograph->CellCssClass = "";
$CCMStudents->Photograph->CellAttrs = array(); $CCMStudents->Photograph->ViewAttrs = array(); $CCMStudents->Photograph->EditAttrs = array();
// StudentNumber
$CCMStudents->StudentNumber->CellCssStyle = ""; $CCMStudents->StudentNumber->CellCssClass = "";
$CCMStudents->StudentNumber->CellAttrs = array(); $CCMStudents->StudentNumber->ViewAttrs = array(); $CCMStudents->StudentNumber->EditAttrs = array();
// WebUsername
$CCMStudents->WebUsername->CellCssStyle = ""; $CCMStudents->WebUsername->CellCssClass = "";
$CCMStudents->WebUsername->CellAttrs = array(); $CCMStudents->WebUsername->ViewAttrs = array(); $CCMStudents->WebUsername->EditAttrs = array();
// WebPassword
$CCMStudents->WebPassword->CellCssStyle = ""; $CCMStudents->WebPassword->CellCssClass = "";
$CCMStudents->WebPassword->CellAttrs = array(); $CCMStudents->WebPassword->ViewAttrs = array(); $CCMStudents->WebPassword->EditAttrs = array();
// BlockAccess
$CCMStudents->BlockAccess->CellCssStyle = ""; $CCMStudents->BlockAccess->CellCssClass = "";
$CCMStudents->BlockAccess->CellAttrs = array(); $CCMStudents->BlockAccess->ViewAttrs = array(); $CCMStudents->BlockAccess->EditAttrs = array();
// Archived
$CCMStudents->Archived->CellCssStyle = ""; $CCMStudents->Archived->CellCssClass = "";
$CCMStudents->Archived->CellAttrs = array(); $CCMStudents->Archived->ViewAttrs = array(); $CCMStudents->Archived->EditAttrs = array();
if ($CCMStudents->RowType == EW_ROWTYPE_VIEW) { // View row
// CCMStudentID
$CCMStudents->CCMStudentID->ViewValue = $CCMStudents->CCMStudentID->CurrentValue;
$CCMStudents->CCMStudentID->CssStyle = "";
$CCMStudents->CCMStudentID->CssClass = "";
$CCMStudents->CCMStudentID->ViewCustomAttributes = "";
// SelectionCategory
$CCMStudents->SelectionCategory->ViewValue = $CCMStudents->SelectionCategory->CurrentValue;
$CCMStudents->SelectionCategory->CssStyle = "";
$CCMStudents->SelectionCategory->CssClass = "";
$CCMStudents->SelectionCategory->ViewCustomAttributes = "";
// Title
$CCMStudents->Title->ViewValue = $CCMStudents->Title->CurrentValue;
$CCMStudents->Title->CssStyle = "";
$CCMStudents->Title->CssClass = "";
$CCMStudents->Title->ViewCustomAttributes = "";
// Initials
$CCMStudents->Initials->ViewValue = $CCMStudents->Initials->CurrentValue;
$CCMStudents->Initials->CssStyle = "";
$CCMStudents->Initials->CssClass = "";
$CCMStudents->Initials->ViewCustomAttributes = "";
// FirstName
$CCMStudents->FirstName->ViewValue = $CCMStudents->FirstName->CurrentValue;
$CCMStudents->FirstName->CssStyle = "";
$CCMStudents->FirstName->CssClass = "";
$CCMStudents->FirstName->ViewCustomAttributes = "";
// Surname
$CCMStudents->Surname->ViewValue = $CCMStudents->Surname->CurrentValue;
$CCMStudents->Surname->CssStyle = "";
$CCMStudents->Surname->CssClass = "";
$CCMStudents->Surname->ViewCustomAttributes = "";
// KnownAs
$CCMStudents->KnownAs->ViewValue = $CCMStudents->KnownAs->CurrentValue;
$CCMStudents->KnownAs->CssStyle = "";
$CCMStudents->KnownAs->CssClass = "";
$CCMStudents->KnownAs->ViewCustomAttributes = "";
// IDNumber
$CCMStudents->IDNumber->ViewValue = $CCMStudents->IDNumber->CurrentValue;
$CCMStudents->IDNumber->CssStyle = "";
$CCMStudents->IDNumber->CssClass = "";
$CCMStudents->IDNumber->ViewCustomAttributes = "mso-number-format:General";
// Telephone
$CCMStudents->Telephone->ViewValue = $CCMStudents->Telephone->CurrentValue;
$CCMStudents->Telephone->CssStyle = "";
$CCMStudents->Telephone->CssClass = "";
$CCMStudents->Telephone->ViewCustomAttributes = "mso-number-format:General";
// Cellphone
$CCMStudents->Cellphone->ViewValue = $CCMStudents->Cellphone->CurrentValue;
$CCMStudents->Cellphone->CssStyle = "";
$CCMStudents->Cellphone->CssClass = "";
$CCMStudents->Cellphone->ViewCustomAttributes = "mso-number-format:General";
// EmailAddress
$CCMStudents->EmailAddress->ViewValue = $CCMStudents->EmailAddress->CurrentValue;
$CCMStudents->EmailAddress->CssStyle = "";
$CCMStudents->EmailAddress->CssClass = "";
$CCMStudents->EmailAddress->ViewCustomAttributes = "";
// WorkAddress
$CCMStudents->WorkAddress->ViewValue = $CCMStudents->WorkAddress->CurrentValue;
$CCMStudents->WorkAddress->CssStyle = "";
$CCMStudents->WorkAddress->CssClass = "";
$CCMStudents->WorkAddress->ViewCustomAttributes = "";
// PostalAddress
$CCMStudents->PostalAddress->ViewValue = $CCMStudents->PostalAddress->CurrentValue;
$CCMStudents->PostalAddress->CssStyle = "";
$CCMStudents->PostalAddress->CssClass = "";
$CCMStudents->PostalAddress->ViewCustomAttributes = "";
// Department
$CCMStudents->Department->ViewValue = $CCMStudents->Department->CurrentValue;
$CCMStudents->Department->CssStyle = "";
$CCMStudents->Department->CssClass = "";
$CCMStudents->Department->ViewCustomAttributes = "";
// Organisation
$CCMStudents->Organisation->ViewValue = $CCMStudents->Organisation->CurrentValue;
$CCMStudents->Organisation->CssStyle = "";
$CCMStudents->Organisation->CssClass = "";
$CCMStudents->Organisation->ViewCustomAttributes = "";
// VATNo
$CCMStudents->VATNo->ViewValue = $CCMStudents->VATNo->CurrentValue;
$CCMStudents->VATNo->CssStyle = "";
$CCMStudents->VATNo->CssClass = "";
$CCMStudents->VATNo->ViewCustomAttributes = "";
// JobTitle
$CCMStudents->JobTitle->ViewValue = $CCMStudents->JobTitle->CurrentValue;
$CCMStudents->JobTitle->CssStyle = "";
$CCMStudents->JobTitle->CssClass = "";
$CCMStudents->JobTitle->ViewCustomAttributes = "";
// DateofBirth
$CCMStudents->DateofBirth->ViewValue = $CCMStudents->DateofBirth->CurrentValue;
$CCMStudents->DateofBirth->ViewValue = ew_FormatDateTime($CCMStudents->DateofBirth->ViewValue, 5);
$CCMStudents->DateofBirth->CssStyle = "";
$CCMStudents->DateofBirth->CssClass = "";
$CCMStudents->DateofBirth->ViewCustomAttributes = "";
// PlaceofBirth
$CCMStudents->PlaceofBirth->ViewValue = $CCMStudents->PlaceofBirth->CurrentValue;
$CCMStudents->PlaceofBirth->CssStyle = "";
$CCMStudents->PlaceofBirth->CssClass = "";
$CCMStudents->PlaceofBirth->ViewCustomAttributes = "";
// CountryofBirth
$CCMStudents->CountryofBirth->ViewValue = $CCMStudents->CountryofBirth->CurrentValue;
$CCMStudents->CountryofBirth->CssStyle = "";
$CCMStudents->CountryofBirth->CssClass = "";
$CCMStudents->CountryofBirth->ViewCustomAttributes = "";
// Province
if (strval($CCMStudents->Province->CurrentValue) <> "") {
$sFilterWrk = "`LookupValue` = '" . ew_AdjustSql($CCMStudents->Province->CurrentValue) . "'";
$sSqlWrk = "SELECT `LookupValue` FROM `Lookups`";
$sWhereWrk = "";
if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
$sWhereWrk .= "(" . "LookupName='Province'" . ")";
if ($sFilterWrk <> "") {
if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
$sWhereWrk .= "(" . $sFilterWrk . ")";
}
if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk;
$sSqlWrk .= " ORDER BY `LookupValue`";
$rswrk = $conn->Execute($sSqlWrk);
if ($rswrk && !$rswrk->EOF) { // Lookup values found
$CCMStudents->Province->ViewValue = $rswrk->fields('LookupValue');
$rswrk->Close();
} else {
$CCMStudents->Province->ViewValue = $CCMStudents->Province->CurrentValue;
}
} else {
$CCMStudents->Province->ViewValue = NULL;
}
$CCMStudents->Province->CssStyle = "";
$CCMStudents->Province->CssClass = "";
$CCMStudents->Province->ViewCustomAttributes = "";
// MaleorFemale
$CCMStudents->MaleorFemale->ViewValue = $CCMStudents->MaleorFemale->CurrentValue;
$CCMStudents->MaleorFemale->CssStyle = "";
$CCMStudents->MaleorFemale->CssClass = "";
$CCMStudents->MaleorFemale->ViewCustomAttributes = "";
// RaceGroup
$CCMStudents->RaceGroup->ViewValue = $CCMStudents->RaceGroup->CurrentValue;
$CCMStudents->RaceGroup->CssStyle = "";
$CCMStudents->RaceGroup->CssClass = "";
$CCMStudents->RaceGroup->ViewCustomAttributes = "";
// Disability
if (strval($CCMStudents->Disability->CurrentValue) <> "") {
switch ($CCMStudents->Disability->CurrentValue) {
case "y":
$CCMStudents->Disability->ViewValue = "Yes";
break;
case "n":
$CCMStudents->Disability->ViewValue = "No";
break;
default:
$CCMStudents->Disability->ViewValue = $CCMStudents->Disability->CurrentValue;
}
} else {
$CCMStudents->Disability->ViewValue = NULL;
}
$CCMStudents->Disability->CssStyle = "";
$CCMStudents->Disability->CssClass = "";
$CCMStudents->Disability->ViewCustomAttributes = "";
// DisabilityNature
$CCMStudents->DisabilityNature->ViewValue = $CCMStudents->DisabilityNature->CurrentValue;
$CCMStudents->DisabilityNature->CssStyle = "";
$CCMStudents->DisabilityNature->CssClass = "";
$CCMStudents->DisabilityNature->ViewCustomAttributes = "";
// DisabilityCertificate
if (!ew_Empty($CCMStudents->DisabilityCertificate->Upload->DbValue)) {
$CCMStudents->DisabilityCertificate->ViewValue = $CCMStudents->DisabilityCertificate->Upload->DbValue;
} else {
$CCMStudents->DisabilityCertificate->ViewValue = "";
}
$CCMStudents->DisabilityCertificate->CssStyle = "";
$CCMStudents->DisabilityCertificate->CssClass = "";
$CCMStudents->DisabilityCertificate->ViewCustomAttributes = "";
// ProfessionalCouncil
$CCMStudents->ProfessionalCouncil->ViewValue = $CCMStudents->ProfessionalCouncil->CurrentValue;
$CCMStudents->ProfessionalCouncil->CssStyle = "";
$CCMStudents->ProfessionalCouncil->CssClass = "";
$CCMStudents->ProfessionalCouncil->ViewCustomAttributes = "";
// CategoryReg
$CCMStudents->CategoryReg->ViewValue = $CCMStudents->CategoryReg->CurrentValue;
$CCMStudents->CategoryReg->CssStyle = "";
$CCMStudents->CategoryReg->CssClass = "";
$CCMStudents->CategoryReg->ViewCustomAttributes = "";
// CouncilRegNumber
$CCMStudents->CouncilRegNumber->ViewValue = $CCMStudents->CouncilRegNumber->CurrentValue;
$CCMStudents->CouncilRegNumber->CssStyle = "";
$CCMStudents->CouncilRegNumber->CssClass = "";
$CCMStudents->CouncilRegNumber->ViewCustomAttributes = "";
// LengthCandidateReg
$CCMStudents->LengthCandidateReg->ViewValue = $CCMStudents->LengthCandidateReg->CurrentValue;
$CCMStudents->LengthCandidateReg->CssStyle = "";
$CCMStudents->LengthCandidateReg->CssClass = "";
$CCMStudents->LengthCandidateReg->ViewCustomAttributes = "";
// YearsToProfReg
$CCMStudents->YearsToProfReg->ViewValue = $CCMStudents->YearsToProfReg->CurrentValue;
$CCMStudents->YearsToProfReg->CssStyle = "";
$CCMStudents->YearsToProfReg->CssClass = "";
$CCMStudents->YearsToProfReg->ViewCustomAttributes = "";
// FirstJobStart
$CCMStudents->FirstJobStart->ViewValue = $CCMStudents->FirstJobStart->CurrentValue;
$CCMStudents->FirstJobStart->CssStyle = "";
$CCMStudents->FirstJobStart->CssClass = "";
$CCMStudents->FirstJobStart->ViewCustomAttributes = "";
// VolAssociations
$CCMStudents->VolAssociations->ViewValue = $CCMStudents->VolAssociations->CurrentValue;
$CCMStudents->VolAssociations->CssStyle = "";
$CCMStudents->VolAssociations->CssClass = "";
$CCMStudents->VolAssociations->ViewCustomAttributes = "";
// BelongsTo
$CCMStudents->BelongsTo->ViewValue = $CCMStudents->BelongsTo->CurrentValue;
$CCMStudents->BelongsTo->CssStyle = "";
$CCMStudents->BelongsTo->CssClass = "";
$CCMStudents->BelongsTo->ViewCustomAttributes = "";
// CESA_SABTACO_MemNum
$CCMStudents->CESA_SABTACO_MemNum->ViewValue = $CCMStudents->CESA_SABTACO_MemNum->CurrentValue;
$CCMStudents->CESA_SABTACO_MemNum->CssStyle = "";
$CCMStudents->CESA_SABTACO_MemNum->CssClass = "";
$CCMStudents->CESA_SABTACO_MemNum->ViewCustomAttributes = "";
// AreaDiscipline
$CCMStudents->AreaDiscipline->ViewValue = $CCMStudents->AreaDiscipline->CurrentValue;
$CCMStudents->AreaDiscipline->CssStyle = "";
$CCMStudents->AreaDiscipline->CssClass = "";
$CCMStudents->AreaDiscipline->ViewCustomAttributes = "";
// AreaSubDiscipline
$CCMStudents->AreaSubDiscipline->ViewValue = $CCMStudents->AreaSubDiscipline->CurrentValue;
$CCMStudents->AreaSubDiscipline->CssStyle = "";
$CCMStudents->AreaSubDiscipline->CssClass = "";
$CCMStudents->AreaSubDiscipline->ViewCustomAttributes = "";
// Salary
$CCMStudents->Salary->ViewValue = $CCMStudents->Salary->CurrentValue;
$CCMStudents->Salary->CssStyle = "";
$CCMStudents->Salary->CssClass = "";
$CCMStudents->Salary->ViewCustomAttributes = "";
// Payslip
if (!ew_Empty($CCMStudents->Payslip->Upload->DbValue)) {
$CCMStudents->Payslip->ViewValue = $CCMStudents->Payslip->Upload->DbValue;
} else {
$CCMStudents->Payslip->ViewValue = "";
}
$CCMStudents->Payslip->CssStyle = "";
$CCMStudents->Payslip->CssClass = "";
$CCMStudents->Payslip->ViewCustomAttributes = "";
// BankAccountName
$CCMStudents->BankAccountName->ViewValue = $CCMStudents->BankAccountName->CurrentValue;
$CCMStudents->BankAccountName->CssStyle = "";
$CCMStudents->BankAccountName->CssClass = "";
$CCMStudents->BankAccountName->ViewCustomAttributes = "";
// BankAccountBank
$CCMStudents->BankAccountBank->ViewValue = $CCMStudents->BankAccountBank->CurrentValue;
$CCMStudents->BankAccountBank->CssStyle = "";
$CCMStudents->BankAccountBank->CssClass = "";
$CCMStudents->BankAccountBank->ViewCustomAttributes = "";
// BankAccountBranch
$CCMStudents->BankAccountBranch->ViewValue = $CCMStudents->BankAccountBranch->CurrentValue;
$CCMStudents->BankAccountBranch->CssStyle = "";
$CCMStudents->BankAccountBranch->CssClass = "";
$CCMStudents->BankAccountBranch->ViewCustomAttributes = "";
// BankAccountNo
$CCMStudents->BankAccountNo->ViewValue = $CCMStudents->BankAccountNo->CurrentValue;
$CCMStudents->BankAccountNo->CssStyle = "";
$CCMStudents->BankAccountNo->CssClass = "";
$CCMStudents->BankAccountNo->ViewCustomAttributes = "";
// BankAccountProof
if (!ew_Empty($CCMStudents->BankAccountProof->Upload->DbValue)) {
$CCMStudents->BankAccountProof->ViewValue = $CCMStudents->BankAccountProof->Upload->DbValue;
} else {
$CCMStudents->BankAccountProof->ViewValue = "";
}
$CCMStudents->BankAccountProof->CssStyle = "";
$CCMStudents->BankAccountProof->CssClass = "";
$CCMStudents->BankAccountProof->ViewCustomAttributes = "";
// Funding
$CCMStudents->Funding->ViewValue = $CCMStudents->Funding->CurrentValue;
$CCMStudents->Funding->CssStyle = "";
$CCMStudents->Funding->CssClass = "";
$CCMStudents->Funding->ViewCustomAttributes = "";
// CWDTP
$CCMStudents->CWDTP->ViewValue = $CCMStudents->CWDTP->CurrentValue;
$CCMStudents->CWDTP->CssStyle = "";
$CCMStudents->CWDTP->CssClass = "";
$CCMStudents->CWDTP->ViewCustomAttributes = "";
// BookedByName
$CCMStudents->BookedByName->ViewValue = $CCMStudents->BookedByName->CurrentValue;
$CCMStudents->BookedByName->CssStyle = "";
$CCMStudents->BookedByName->CssClass = "";
$CCMStudents->BookedByName->ViewCustomAttributes = "";
// BookedByDesignation
$CCMStudents->BookedByDesignation->ViewValue = $CCMStudents->BookedByDesignation->CurrentValue;
$CCMStudents->BookedByDesignation->CssStyle = "";
$CCMStudents->BookedByDesignation->CssClass = "";
$CCMStudents->BookedByDesignation->ViewCustomAttributes = "";
// BookedByTelNo
$CCMStudents->BookedByTelNo->ViewValue = $CCMStudents->BookedByTelNo->CurrentValue;
$CCMStudents->BookedByTelNo->CssStyle = "";
$CCMStudents->BookedByTelNo->CssClass = "";
$CCMStudents->BookedByTelNo->ViewCustomAttributes = "";
// BookedByFaxNo
$CCMStudents->BookedByFaxNo->ViewValue = $CCMStudents->BookedByFaxNo->CurrentValue;
$CCMStudents->BookedByFaxNo->CssStyle = "";
$CCMStudents->BookedByFaxNo->CssClass = "";
$CCMStudents->BookedByFaxNo->ViewCustomAttributes = "";
// BookedByCellNo
$CCMStudents->BookedByCellNo->ViewValue = $CCMStudents->BookedByCellNo->CurrentValue;
$CCMStudents->BookedByCellNo->CssStyle = "";
$CCMStudents->BookedByCellNo->CssClass = "";
$CCMStudents->BookedByCellNo->ViewCustomAttributes = "";
// BookedByEmail
$CCMStudents->BookedByEmail->ViewValue = $CCMStudents->BookedByEmail->CurrentValue;
$CCMStudents->BookedByEmail->CssStyle = "";
$CCMStudents->BookedByEmail->CssClass = "";
$CCMStudents->BookedByEmail->ViewCustomAttributes = "";
// MentorID
if (strval($CCMStudents->MentorID->CurrentValue) <> "") {
$sFilterWrk = "`CCMMentorID` = " . ew_AdjustSql($CCMStudents->MentorID->CurrentValue) . "";
$sSqlWrk = "SELECT `Surname`, `FirstName` FROM `CCMMentors`";
$sWhereWrk = "";
if ($sFilterWrk <> "") {
if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
$sWhereWrk .= "(" . $sFilterWrk . ")";
}
if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk;
$sSqlWrk .= " ORDER BY `FirstName`";
$rswrk = $conn->Execute($sSqlWrk);
if ($rswrk && !$rswrk->EOF) { // Lookup values found
$CCMStudents->MentorID->ViewValue = $rswrk->fields('Surname');
$CCMStudents->MentorID->ViewValue .= ew_ValueSeparator(0) . $rswrk->fields('FirstName');
$rswrk->Close();
} else {
$CCMStudents->MentorID->ViewValue = $CCMStudents->MentorID->CurrentValue;
}
} else {
$CCMStudents->MentorID->ViewValue = NULL;
}
$CCMStudents->MentorID->CssStyle = "";
$CCMStudents->MentorID->CssClass = "";
$CCMStudents->MentorID->ViewCustomAttributes = "";
// MentorName
$CCMStudents->MentorName->ViewValue = $CCMStudents->MentorName->CurrentValue;
$CCMStudents->MentorName->CssStyle = "";
$CCMStudents->MentorName->CssClass = "";
$CCMStudents->MentorName->ViewCustomAttributes = "";
// MentorDesig
$CCMStudents->MentorDesig->ViewValue = $CCMStudents->MentorDesig->CurrentValue;
$CCMStudents->MentorDesig->CssStyle = "";
$CCMStudents->MentorDesig->CssClass = "";
$CCMStudents->MentorDesig->ViewCustomAttributes = "";
// MentorProfRegNo
$CCMStudents->MentorProfRegNo->ViewValue = $CCMStudents->MentorProfRegNo->CurrentValue;
$CCMStudents->MentorProfRegNo->CssStyle = "";
$CCMStudents->MentorProfRegNo->CssClass = "";
$CCMStudents->MentorProfRegNo->ViewCustomAttributes = "";
// MentorRegNo
$CCMStudents->MentorRegNo->ViewValue = $CCMStudents->MentorRegNo->CurrentValue;
$CCMStudents->MentorRegNo->CssStyle = "";
$CCMStudents->MentorRegNo->CssClass = "";
$CCMStudents->MentorRegNo->ViewCustomAttributes = "";
// MentorTel
$CCMStudents->MentorTel->ViewValue = $CCMStudents->MentorTel->CurrentValue;
$CCMStudents->MentorTel->CssStyle = "";
$CCMStudents->MentorTel->CssClass = "";
$CCMStudents->MentorTel->ViewCustomAttributes = "";
// MentorCell
$CCMStudents->MentorCell->ViewValue = $CCMStudents->MentorCell->CurrentValue;
$CCMStudents->MentorCell->CssStyle = "";
$CCMStudents->MentorCell->CssClass = "";
$CCMStudents->MentorCell->ViewCustomAttributes = "";
// MentorEmail
$CCMStudents->MentorEmail->ViewValue = $CCMStudents->MentorEmail->CurrentValue;
$CCMStudents->MentorEmail->CssStyle = "";
$CCMStudents->MentorEmail->CssClass = "";
$CCMStudents->MentorEmail->ViewCustomAttributes = "";
// EmployerID
if (strval($CCMStudents->EmployerID->CurrentValue) <> "") {
$sFilterWrk = "`CCMEmployerID` = " . ew_AdjustSql($CCMStudents->EmployerID->CurrentValue) . "";
$sSqlWrk = "SELECT `Organisation`, `Surname` FROM `CCMEmployers`";
$sWhereWrk = "";
if ($sFilterWrk <> "") {
if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
$sWhereWrk .= "(" . $sFilterWrk . ")";
}
if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk;
$sSqlWrk .= " ORDER BY `Organisation`";
$rswrk = $conn->Execute($sSqlWrk);
if ($rswrk && !$rswrk->EOF) { // Lookup values found
$CCMStudents->EmployerID->ViewValue = $rswrk->fields('Organisation');
$CCMStudents->EmployerID->ViewValue .= ew_ValueSeparator(0) . $rswrk->fields('Surname');
$rswrk->Close();
} else {
$CCMStudents->EmployerID->ViewValue = $CCMStudents->EmployerID->CurrentValue;
}
} else {
$CCMStudents->EmployerID->ViewValue = NULL;
}
$CCMStudents->EmployerID->CssStyle = "";
$CCMStudents->EmployerID->CssClass = "";
$CCMStudents->EmployerID->ViewCustomAttributes = "";
// HRManagerName
$CCMStudents->HRManagerName->ViewValue = $CCMStudents->HRManagerName->CurrentValue;
$CCMStudents->HRManagerName->CssStyle = "";
$CCMStudents->HRManagerName->CssClass = "";
$CCMStudents->HRManagerName->ViewCustomAttributes = "";
// HRManagerDesignation
$CCMStudents->HRManagerDesignation->ViewValue = $CCMStudents->HRManagerDesignation->CurrentValue;
$CCMStudents->HRManagerDesignation->CssStyle = "";
$CCMStudents->HRManagerDesignation->CssClass = "";
$CCMStudents->HRManagerDesignation->ViewCustomAttributes = "";
// HRManagerTelNo
$CCMStudents->HRManagerTelNo->ViewValue = $CCMStudents->HRManagerTelNo->CurrentValue;
$CCMStudents->HRManagerTelNo->CssStyle = "";
$CCMStudents->HRManagerTelNo->CssClass = "";
$CCMStudents->HRManagerTelNo->ViewCustomAttributes = "";
// HRManagerCellNo
$CCMStudents->HRManagerCellNo->ViewValue = $CCMStudents->HRManagerCellNo->CurrentValue;
$CCMStudents->HRManagerCellNo->CssStyle = "";
$CCMStudents->HRManagerCellNo->CssClass = "";
$CCMStudents->HRManagerCellNo->ViewCustomAttributes = "";
// HRManagerEmail
$CCMStudents->HRManagerEmail->ViewValue = $CCMStudents->HRManagerEmail->CurrentValue;
$CCMStudents->HRManagerEmail->CssStyle = "";
$CCMStudents->HRManagerEmail->CssClass = "";
$CCMStudents->HRManagerEmail->ViewCustomAttributes = "";
// SupervisorName
$CCMStudents->SupervisorName->ViewValue = $CCMStudents->SupervisorName->CurrentValue;
$CCMStudents->SupervisorName->CssStyle = "";
$CCMStudents->SupervisorName->CssClass = "";
$CCMStudents->SupervisorName->ViewCustomAttributes = "";
// SupervisorDesig
$CCMStudents->SupervisorDesig->ViewValue = $CCMStudents->SupervisorDesig->CurrentValue;
$CCMStudents->SupervisorDesig->CssStyle = "";
$CCMStudents->SupervisorDesig->CssClass = "";
$CCMStudents->SupervisorDesig->ViewCustomAttributes = "";
// SupervisorProfRegNo
$CCMStudents->SupervisorProfRegNo->ViewValue = $CCMStudents->SupervisorProfRegNo->CurrentValue;
$CCMStudents->SupervisorProfRegNo->CssStyle = "";
$CCMStudents->SupervisorProfRegNo->CssClass = "";
$CCMStudents->SupervisorProfRegNo->ViewCustomAttributes = "";
// SupervisorTelNo
$CCMStudents->SupervisorTelNo->ViewValue = $CCMStudents->SupervisorTelNo->CurrentValue;
$CCMStudents->SupervisorTelNo->CssStyle = "";
$CCMStudents->SupervisorTelNo->CssClass = "";
$CCMStudents->SupervisorTelNo->ViewCustomAttributes = "";
// SupervisorCellNo
$CCMStudents->SupervisorCellNo->ViewValue = $CCMStudents->SupervisorCellNo->CurrentValue;
$CCMStudents->SupervisorCellNo->CssStyle = "";
$CCMStudents->SupervisorCellNo->CssClass = "";
$CCMStudents->SupervisorCellNo->ViewCustomAttributes = "";
// SupervisorEmail
$CCMStudents->SupervisorEmail->ViewValue = $CCMStudents->SupervisorEmail->CurrentValue;
$CCMStudents->SupervisorEmail->CssStyle = "";
$CCMStudents->SupervisorEmail->CssClass = "";
$CCMStudents->SupervisorEmail->ViewCustomAttributes = "";
// EducationalInst
$CCMStudents->EducationalInst->ViewValue = $CCMStudents->EducationalInst->CurrentValue;
$CCMStudents->EducationalInst->CssStyle = "";
$CCMStudents->EducationalInst->CssClass = "";
$CCMStudents->EducationalInst->ViewCustomAttributes = "";
// Qualifications
$CCMStudents->Qualifications->ViewValue = $CCMStudents->Qualifications->CurrentValue;
$CCMStudents->Qualifications->CssStyle = "";
$CCMStudents->Qualifications->CssClass = "";
$CCMStudents->Qualifications->ViewCustomAttributes = "";
// DateFinalExam
$CCMStudents->DateFinalExam->ViewValue = $CCMStudents->DateFinalExam->CurrentValue;
$CCMStudents->DateFinalExam->CssStyle = "";
$CCMStudents->DateFinalExam->CssClass = "";
$CCMStudents->DateFinalExam->ViewCustomAttributes = "";
// IDFile
if (!ew_Empty($CCMStudents->IDFile->Upload->DbValue)) {
$CCMStudents->IDFile->ViewValue = $CCMStudents->IDFile->Upload->DbValue;
} else {
$CCMStudents->IDFile->ViewValue = "";
}
$CCMStudents->IDFile->CssStyle = "";
$CCMStudents->IDFile->CssClass = "";
$CCMStudents->IDFile->ViewCustomAttributes = "";
// CVFile
if (!ew_Empty($CCMStudents->CVFile->Upload->DbValue)) {
$CCMStudents->CVFile->ViewValue = $CCMStudents->CVFile->Upload->DbValue;
} else {
$CCMStudents->CVFile->ViewValue = "";
}
$CCMStudents->CVFile->CssStyle = "";
$CCMStudents->CVFile->CssClass = "";
$CCMStudents->CVFile->ViewCustomAttributes = "";
// QualCertificate1
if (!ew_Empty($CCMStudents->QualCertificate1->Upload->DbValue)) {
$CCMStudents->QualCertificate1->ViewValue = $CCMStudents->QualCertificate1->Upload->DbValue;
} else {
$CCMStudents->QualCertificate1->ViewValue = "";
}
$CCMStudents->QualCertificate1->CssStyle = "";
$CCMStudents->QualCertificate1->CssClass = "";
$CCMStudents->QualCertificate1->ViewCustomAttributes = "";
// QualCertificate2
if (!ew_Empty($CCMStudents->QualCertificate2->Upload->DbValue)) {
$CCMStudents->QualCertificate2->ViewValue = $CCMStudents->QualCertificate2->Upload->DbValue;
} else {
$CCMStudents->QualCertificate2->ViewValue = "";
}
$CCMStudents->QualCertificate2->CssStyle = "";
$CCMStudents->QualCertificate2->CssClass = "";
$CCMStudents->QualCertificate2->ViewCustomAttributes = "";
// QualCertificate3
if (!ew_Empty($CCMStudents->QualCertificate3->Upload->DbValue)) {
$CCMStudents->QualCertificate3->ViewValue = $CCMStudents->QualCertificate3->Upload->DbValue;
} else {
$CCMStudents->QualCertificate3->ViewValue = "";
}
$CCMStudents->QualCertificate3->CssStyle = "";
$CCMStudents->QualCertificate3->CssClass = "";
$CCMStudents->QualCertificate3->ViewCustomAttributes = "";
// MentorUndertaking
if (!ew_Empty($CCMStudents->MentorUndertaking->Upload->DbValue)) {
$CCMStudents->MentorUndertaking->ViewValue = $CCMStudents->MentorUndertaking->Upload->DbValue;
} else {
$CCMStudents->MentorUndertaking->ViewValue = "";
}
$CCMStudents->MentorUndertaking->CssStyle = "";
$CCMStudents->MentorUndertaking->CssClass = "";
$CCMStudents->MentorUndertaking->ViewCustomAttributes = "";
// CandUUndertaking
if (!ew_Empty($CCMStudents->CandUUndertaking->Upload->DbValue)) {
$CCMStudents->CandUUndertaking->ViewValue = $CCMStudents->CandUUndertaking->Upload->DbValue;
} else {
$CCMStudents->CandUUndertaking->ViewValue = "";
}
$CCMStudents->CandUUndertaking->CssStyle = "";
$CCMStudents->CandUUndertaking->CssClass = "";
$CCMStudents->CandUUndertaking->ViewCustomAttributes = "";
// CompanyCandidatePolicy
if (!ew_Empty($CCMStudents->CompanyCandidatePolicy->Upload->DbValue)) {
$CCMStudents->CompanyCandidatePolicy->ViewValue = $CCMStudents->CompanyCandidatePolicy->Upload->DbValue;
} else {
$CCMStudents->CompanyCandidatePolicy->ViewValue = "";
}
$CCMStudents->CompanyCandidatePolicy->CssStyle = "";
$CCMStudents->CompanyCandidatePolicy->CssClass = "";
$CCMStudents->CompanyCandidatePolicy->ViewCustomAttributes = "";
// ResidenceProof
if (!ew_Empty($CCMStudents->ResidenceProof->Upload->DbValue)) {
$CCMStudents->ResidenceProof->ViewValue = $CCMStudents->ResidenceProof->Upload->DbValue;
} else {
$CCMStudents->ResidenceProof->ViewValue = "";
}
$CCMStudents->ResidenceProof->CssStyle = "";
$CCMStudents->ResidenceProof->CssClass = "";
$CCMStudents->ResidenceProof->ViewCustomAttributes = "";
// SignedAppForm
if (!ew_Empty($CCMStudents->SignedAppForm->Upload->DbValue)) {
$CCMStudents->SignedAppForm->ViewValue = $CCMStudents->SignedAppForm->Upload->DbValue;
} else {
$CCMStudents->SignedAppForm->ViewValue = "";
}
$CCMStudents->SignedAppForm->CssStyle = "";
$CCMStudents->SignedAppForm->CssClass = "";
$CCMStudents->SignedAppForm->ViewCustomAttributes = "";
// Photograph
if (!ew_Empty($CCMStudents->Photograph->Upload->DbValue)) {
$CCMStudents->Photograph->ViewValue = $CCMStudents->Photograph->Upload->DbValue;
} else {
$CCMStudents->Photograph->ViewValue = "";
}
$CCMStudents->Photograph->CssStyle = "";
$CCMStudents->Photograph->CssClass = "";
$CCMStudents->Photograph->ViewCustomAttributes = "";
// StudentNumber
$CCMStudents->StudentNumber->ViewValue = $CCMStudents->StudentNumber->CurrentValue;
$CCMStudents->StudentNumber->CssStyle = "";
$CCMStudents->StudentNumber->CssClass = "";
$CCMStudents->StudentNumber->ViewCustomAttributes = "";
// WebUsername
$CCMStudents->WebUsername->ViewValue = $CCMStudents->WebUsername->CurrentValue;
$CCMStudents->WebUsername->CssStyle = "";
$CCMStudents->WebUsername->CssClass = "";
$CCMStudents->WebUsername->ViewCustomAttributes = "";
// WebPassword
$CCMStudents->WebPassword->ViewValue = $CCMStudents->WebPassword->CurrentValue;
$CCMStudents->WebPassword->CssStyle = "";
$CCMStudents->WebPassword->CssClass = "";
$CCMStudents->WebPassword->ViewCustomAttributes = "";
// BlockAccess
if (strval($CCMStudents->BlockAccess->CurrentValue) <> "") {
switch ($CCMStudents->BlockAccess->CurrentValue) {
case "y":
$CCMStudents->BlockAccess->ViewValue = "Yes";
break;
case "n":
$CCMStudents->BlockAccess->ViewValue = "No";
break;
default:
$CCMStudents->BlockAccess->ViewValue = $CCMStudents->BlockAccess->CurrentValue;
}
} else {
$CCMStudents->BlockAccess->ViewValue = NULL;
}
$CCMStudents->BlockAccess->CssStyle = "";
$CCMStudents->BlockAccess->CssClass = "";
$CCMStudents->BlockAccess->ViewCustomAttributes = "";
// SABTACO
$CCMStudents->SABTACO->ViewValue = $CCMStudents->SABTACO->CurrentValue;
$CCMStudents->SABTACO->CssStyle = "";
$CCMStudents->SABTACO->CssClass = "";
$CCMStudents->SABTACO->ViewCustomAttributes = "";
// CESA
$CCMStudents->CESA->ViewValue = $CCMStudents->CESA->CurrentValue;
$CCMStudents->CESA->CssStyle = "";
$CCMStudents->CESA->CssClass = "";
$CCMStudents->CESA->ViewCustomAttributes = "";
// Archived
if (strval($CCMStudents->Archived->CurrentValue) <> "") {
switch ($CCMStudents->Archived->CurrentValue) {
case "1":
$CCMStudents->Archived->ViewValue = "Yes";
break;
case "0":
$CCMStudents->Archived->ViewValue = "No";
break;
default:
$CCMStudents->Archived->ViewValue = $CCMStudents->Archived->CurrentValue;
}
} else {
$CCMStudents->Archived->ViewValue = NULL;
}
$CCMStudents->Archived->CssStyle = "";
$CCMStudents->Archived->CssClass = "";
$CCMStudents->Archived->ViewCustomAttributes = "";
// CCMStudentID
$CCMStudents->CCMStudentID->HrefValue = "";
$CCMStudents->CCMStudentID->TooltipValue = "";
// SelectionCategory
$CCMStudents->SelectionCategory->HrefValue = "";
$CCMStudents->SelectionCategory->TooltipValue = "";
// Title
$CCMStudents->Title->HrefValue = "";
$CCMStudents->Title->TooltipValue = "";
// Initials
$CCMStudents->Initials->HrefValue = "";
$CCMStudents->Initials->TooltipValue = "";
// FirstName
$CCMStudents->FirstName->HrefValue = "";
$CCMStudents->FirstName->TooltipValue = "";
// Surname
$CCMStudents->Surname->HrefValue = "";
$CCMStudents->Surname->TooltipValue = "";
// KnownAs
$CCMStudents->KnownAs->HrefValue = "";
$CCMStudents->KnownAs->TooltipValue = "";
// IDNumber
$CCMStudents->IDNumber->HrefValue = "";
$CCMStudents->IDNumber->TooltipValue = "";
// Telephone
$CCMStudents->Telephone->HrefValue = "";
$CCMStudents->Telephone->TooltipValue = "";
// Cellphone
$CCMStudents->Cellphone->HrefValue = "";
$CCMStudents->Cellphone->TooltipValue = "";
// EmailAddress
$CCMStudents->EmailAddress->HrefValue = "";
$CCMStudents->EmailAddress->TooltipValue = "";
// WorkAddress
$CCMStudents->WorkAddress->HrefValue = "";
$CCMStudents->WorkAddress->TooltipValue = "";
// PostalAddress
$CCMStudents->PostalAddress->HrefValue = "";
$CCMStudents->PostalAddress->TooltipValue = "";
// Department
$CCMStudents->Department->HrefValue = "";
$CCMStudents->Department->TooltipValue = "";
// Organisation
$CCMStudents->Organisation->HrefValue = "";
$CCMStudents->Organisation->TooltipValue = "";
// VATNo
$CCMStudents->VATNo->HrefValue = "";
$CCMStudents->VATNo->TooltipValue = "";
// JobTitle
$CCMStudents->JobTitle->HrefValue = "";
$CCMStudents->JobTitle->TooltipValue = "";
// DateofBirth
$CCMStudents->DateofBirth->HrefValue = "";
$CCMStudents->DateofBirth->TooltipValue = "";
// PlaceofBirth
$CCMStudents->PlaceofBirth->HrefValue = "";
$CCMStudents->PlaceofBirth->TooltipValue = "";
// CountryofBirth
$CCMStudents->CountryofBirth->HrefValue = "";
$CCMStudents->CountryofBirth->TooltipValue = "";
// Province
$CCMStudents->Province->HrefValue = "";
$CCMStudents->Province->TooltipValue = "";
// MaleorFemale
$CCMStudents->MaleorFemale->HrefValue = "";
$CCMStudents->MaleorFemale->TooltipValue = "";
// RaceGroup
$CCMStudents->RaceGroup->HrefValue = "";
$CCMStudents->RaceGroup->TooltipValue = "";
// Disability
$CCMStudents->Disability->HrefValue = "";
$CCMStudents->Disability->TooltipValue = "";
// DisabilityNature
$CCMStudents->DisabilityNature->HrefValue = "";
$CCMStudents->DisabilityNature->TooltipValue = "";
// DisabilityCertificate
if (!ew_Empty($CCMStudents->DisabilityCertificate->Upload->DbValue)) {
$CCMStudents->DisabilityCertificate->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->DisabilityCertificate->UploadPath) . ((!empty($CCMStudents->DisabilityCertificate->ViewValue)) ? $CCMStudents->DisabilityCertificate->ViewValue : $CCMStudents->DisabilityCertificate->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->DisabilityCertificate->HrefValue = ew_ConvertFullUrl($CCMStudents->DisabilityCertificate->HrefValue);
} else {
$CCMStudents->DisabilityCertificate->HrefValue = "";
}
$CCMStudents->DisabilityCertificate->TooltipValue = "";
// ProfessionalCouncil
$CCMStudents->ProfessionalCouncil->HrefValue = "";
$CCMStudents->ProfessionalCouncil->TooltipValue = "";
// CategoryReg
$CCMStudents->CategoryReg->HrefValue = "";
$CCMStudents->CategoryReg->TooltipValue = "";
// CouncilRegNumber
$CCMStudents->CouncilRegNumber->HrefValue = "";
$CCMStudents->CouncilRegNumber->TooltipValue = "";
// LengthCandidateReg
$CCMStudents->LengthCandidateReg->HrefValue = "";
$CCMStudents->LengthCandidateReg->TooltipValue = "";
// YearsToProfReg
$CCMStudents->YearsToProfReg->HrefValue = "";
$CCMStudents->YearsToProfReg->TooltipValue = "";
// FirstJobStart
$CCMStudents->FirstJobStart->HrefValue = "";
$CCMStudents->FirstJobStart->TooltipValue = "";
// VolAssociations
$CCMStudents->VolAssociations->HrefValue = "";
$CCMStudents->VolAssociations->TooltipValue = "";
// BelongsTo
$CCMStudents->BelongsTo->HrefValue = "";
$CCMStudents->BelongsTo->TooltipValue = "";
// CESA_SABTACO_MemNum
$CCMStudents->CESA_SABTACO_MemNum->HrefValue = "";
$CCMStudents->CESA_SABTACO_MemNum->TooltipValue = "";
// AreaDiscipline
$CCMStudents->AreaDiscipline->HrefValue = "";
$CCMStudents->AreaDiscipline->TooltipValue = "";
// AreaSubDiscipline
$CCMStudents->AreaSubDiscipline->HrefValue = "";
$CCMStudents->AreaSubDiscipline->TooltipValue = "";
// Salary
$CCMStudents->Salary->HrefValue = "";
$CCMStudents->Salary->TooltipValue = "";
// Payslip
if (!ew_Empty($CCMStudents->Payslip->Upload->DbValue)) {
$CCMStudents->Payslip->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->Payslip->UploadPath) . ((!empty($CCMStudents->Payslip->ViewValue)) ? $CCMStudents->Payslip->ViewValue : $CCMStudents->Payslip->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->Payslip->HrefValue = ew_ConvertFullUrl($CCMStudents->Payslip->HrefValue);
} else {
$CCMStudents->Payslip->HrefValue = "";
}
$CCMStudents->Payslip->TooltipValue = "";
// BankAccountName
$CCMStudents->BankAccountName->HrefValue = "";
$CCMStudents->BankAccountName->TooltipValue = "";
// BankAccountBank
$CCMStudents->BankAccountBank->HrefValue = "";
$CCMStudents->BankAccountBank->TooltipValue = "";
// BankAccountBranch
$CCMStudents->BankAccountBranch->HrefValue = "";
$CCMStudents->BankAccountBranch->TooltipValue = "";
// BankAccountNo
$CCMStudents->BankAccountNo->HrefValue = "";
$CCMStudents->BankAccountNo->TooltipValue = "";
// BankAccountProof
if (!ew_Empty($CCMStudents->BankAccountProof->Upload->DbValue)) {
$CCMStudents->BankAccountProof->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->BankAccountProof->UploadPath) . ((!empty($CCMStudents->BankAccountProof->ViewValue)) ? $CCMStudents->BankAccountProof->ViewValue : $CCMStudents->BankAccountProof->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->BankAccountProof->HrefValue = ew_ConvertFullUrl($CCMStudents->BankAccountProof->HrefValue);
} else {
$CCMStudents->BankAccountProof->HrefValue = "";
}
$CCMStudents->BankAccountProof->TooltipValue = "";
// Funding
$CCMStudents->Funding->HrefValue = "";
$CCMStudents->Funding->TooltipValue = "";
// CWDTP
$CCMStudents->CWDTP->HrefValue = "";
$CCMStudents->CWDTP->TooltipValue = "";
// BookedByName
$CCMStudents->BookedByName->HrefValue = "";
$CCMStudents->BookedByName->TooltipValue = "";
// BookedByDesignation
$CCMStudents->BookedByDesignation->HrefValue = "";
$CCMStudents->BookedByDesignation->TooltipValue = "";
// BookedByTelNo
$CCMStudents->BookedByTelNo->HrefValue = "";
$CCMStudents->BookedByTelNo->TooltipValue = "";
// BookedByFaxNo
$CCMStudents->BookedByFaxNo->HrefValue = "";
$CCMStudents->BookedByFaxNo->TooltipValue = "";
// BookedByCellNo
$CCMStudents->BookedByCellNo->HrefValue = "";
$CCMStudents->BookedByCellNo->TooltipValue = "";
// BookedByEmail
$CCMStudents->BookedByEmail->HrefValue = "";
$CCMStudents->BookedByEmail->TooltipValue = "";
// MentorID
$CCMStudents->MentorID->HrefValue = "";
$CCMStudents->MentorID->TooltipValue = "";
// MentorName
$CCMStudents->MentorName->HrefValue = "";
$CCMStudents->MentorName->TooltipValue = "";
// MentorDesig
$CCMStudents->MentorDesig->HrefValue = "";
$CCMStudents->MentorDesig->TooltipValue = "";
// MentorProfRegNo
$CCMStudents->MentorProfRegNo->HrefValue = "";
$CCMStudents->MentorProfRegNo->TooltipValue = "";
// MentorRegNo
$CCMStudents->MentorRegNo->HrefValue = "";
$CCMStudents->MentorRegNo->TooltipValue = "";
// MentorTel
$CCMStudents->MentorTel->HrefValue = "";
$CCMStudents->MentorTel->TooltipValue = "";
// MentorCell
$CCMStudents->MentorCell->HrefValue = "";
$CCMStudents->MentorCell->TooltipValue = "";
// MentorEmail
$CCMStudents->MentorEmail->HrefValue = "";
$CCMStudents->MentorEmail->TooltipValue = "";
// EmployerID
$CCMStudents->EmployerID->HrefValue = "";
$CCMStudents->EmployerID->TooltipValue = "";
// HRManagerName
$CCMStudents->HRManagerName->HrefValue = "";
$CCMStudents->HRManagerName->TooltipValue = "";
// HRManagerDesignation
$CCMStudents->HRManagerDesignation->HrefValue = "";
$CCMStudents->HRManagerDesignation->TooltipValue = "";
// HRManagerTelNo
$CCMStudents->HRManagerTelNo->HrefValue = "";
$CCMStudents->HRManagerTelNo->TooltipValue = "";
// HRManagerCellNo
$CCMStudents->HRManagerCellNo->HrefValue = "";
$CCMStudents->HRManagerCellNo->TooltipValue = "";
// HRManagerEmail
$CCMStudents->HRManagerEmail->HrefValue = "";
$CCMStudents->HRManagerEmail->TooltipValue = "";
// SupervisorName
$CCMStudents->SupervisorName->HrefValue = "";
$CCMStudents->SupervisorName->TooltipValue = "";
// SupervisorDesig
$CCMStudents->SupervisorDesig->HrefValue = "";
$CCMStudents->SupervisorDesig->TooltipValue = "";
// SupervisorProfRegNo
$CCMStudents->SupervisorProfRegNo->HrefValue = "";
$CCMStudents->SupervisorProfRegNo->TooltipValue = "";
// SupervisorTelNo
$CCMStudents->SupervisorTelNo->HrefValue = "";
$CCMStudents->SupervisorTelNo->TooltipValue = "";
// SupervisorCellNo
$CCMStudents->SupervisorCellNo->HrefValue = "";
$CCMStudents->SupervisorCellNo->TooltipValue = "";
// SupervisorEmail
$CCMStudents->SupervisorEmail->HrefValue = "";
$CCMStudents->SupervisorEmail->TooltipValue = "";
// EducationalInst
$CCMStudents->EducationalInst->HrefValue = "";
$CCMStudents->EducationalInst->TooltipValue = "";
// Qualifications
$CCMStudents->Qualifications->HrefValue = "";
$CCMStudents->Qualifications->TooltipValue = "";
// DateFinalExam
$CCMStudents->DateFinalExam->HrefValue = "";
$CCMStudents->DateFinalExam->TooltipValue = "";
// IDFile
if (!ew_Empty($CCMStudents->IDFile->Upload->DbValue)) {
$CCMStudents->IDFile->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->IDFile->UploadPath) . ((!empty($CCMStudents->IDFile->ViewValue)) ? $CCMStudents->IDFile->ViewValue : $CCMStudents->IDFile->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->IDFile->HrefValue = ew_ConvertFullUrl($CCMStudents->IDFile->HrefValue);
} else {
$CCMStudents->IDFile->HrefValue = "";
}
$CCMStudents->IDFile->TooltipValue = "";
// CVFile
if (!ew_Empty($CCMStudents->CVFile->Upload->DbValue)) {
$CCMStudents->CVFile->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->CVFile->UploadPath) . ((!empty($CCMStudents->CVFile->ViewValue)) ? $CCMStudents->CVFile->ViewValue : $CCMStudents->CVFile->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->CVFile->HrefValue = ew_ConvertFullUrl($CCMStudents->CVFile->HrefValue);
} else {
$CCMStudents->CVFile->HrefValue = "";
}
$CCMStudents->CVFile->TooltipValue = "";
// QualCertificate1
if (!ew_Empty($CCMStudents->QualCertificate1->Upload->DbValue)) {
$CCMStudents->QualCertificate1->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->QualCertificate1->UploadPath) . ((!empty($CCMStudents->QualCertificate1->ViewValue)) ? $CCMStudents->QualCertificate1->ViewValue : $CCMStudents->QualCertificate1->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->QualCertificate1->HrefValue = ew_ConvertFullUrl($CCMStudents->QualCertificate1->HrefValue);
} else {
$CCMStudents->QualCertificate1->HrefValue = "";
}
$CCMStudents->QualCertificate1->TooltipValue = "";
// QualCertificate2
if (!ew_Empty($CCMStudents->QualCertificate2->Upload->DbValue)) {
$CCMStudents->QualCertificate2->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->QualCertificate2->UploadPath) . ((!empty($CCMStudents->QualCertificate2->ViewValue)) ? $CCMStudents->QualCertificate2->ViewValue : $CCMStudents->QualCertificate2->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->QualCertificate2->HrefValue = ew_ConvertFullUrl($CCMStudents->QualCertificate2->HrefValue);
} else {
$CCMStudents->QualCertificate2->HrefValue = "";
}
$CCMStudents->QualCertificate2->TooltipValue = "";
// QualCertificate3
if (!ew_Empty($CCMStudents->QualCertificate3->Upload->DbValue)) {
$CCMStudents->QualCertificate3->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->QualCertificate3->UploadPath) . ((!empty($CCMStudents->QualCertificate3->ViewValue)) ? $CCMStudents->QualCertificate3->ViewValue : $CCMStudents->QualCertificate3->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->QualCertificate3->HrefValue = ew_ConvertFullUrl($CCMStudents->QualCertificate3->HrefValue);
} else {
$CCMStudents->QualCertificate3->HrefValue = "";
}
$CCMStudents->QualCertificate3->TooltipValue = "";
// MentorUndertaking
if (!ew_Empty($CCMStudents->MentorUndertaking->Upload->DbValue)) {
$CCMStudents->MentorUndertaking->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->MentorUndertaking->UploadPath) . ((!empty($CCMStudents->MentorUndertaking->ViewValue)) ? $CCMStudents->MentorUndertaking->ViewValue : $CCMStudents->MentorUndertaking->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->MentorUndertaking->HrefValue = ew_ConvertFullUrl($CCMStudents->MentorUndertaking->HrefValue);
} else {
$CCMStudents->MentorUndertaking->HrefValue = "";
}
$CCMStudents->MentorUndertaking->TooltipValue = "";
// CandUUndertaking
if (!ew_Empty($CCMStudents->CandUUndertaking->Upload->DbValue)) {
$CCMStudents->CandUUndertaking->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->CandUUndertaking->UploadPath) . ((!empty($CCMStudents->CandUUndertaking->ViewValue)) ? $CCMStudents->CandUUndertaking->ViewValue : $CCMStudents->CandUUndertaking->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->CandUUndertaking->HrefValue = ew_ConvertFullUrl($CCMStudents->CandUUndertaking->HrefValue);
} else {
$CCMStudents->CandUUndertaking->HrefValue = "";
}
$CCMStudents->CandUUndertaking->TooltipValue = "";
// CompanyCandidatePolicy
if (!ew_Empty($CCMStudents->CompanyCandidatePolicy->Upload->DbValue)) {
$CCMStudents->CompanyCandidatePolicy->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->CompanyCandidatePolicy->UploadPath) . ((!empty($CCMStudents->CompanyCandidatePolicy->ViewValue)) ? $CCMStudents->CompanyCandidatePolicy->ViewValue : $CCMStudents->CompanyCandidatePolicy->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->CompanyCandidatePolicy->HrefValue = ew_ConvertFullUrl($CCMStudents->CompanyCandidatePolicy->HrefValue);
} else {
$CCMStudents->CompanyCandidatePolicy->HrefValue = "";
}
$CCMStudents->CompanyCandidatePolicy->TooltipValue = "";
// ResidenceProof
if (!ew_Empty($CCMStudents->ResidenceProof->Upload->DbValue)) {
$CCMStudents->ResidenceProof->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->ResidenceProof->UploadPath) . ((!empty($CCMStudents->ResidenceProof->ViewValue)) ? $CCMStudents->ResidenceProof->ViewValue : $CCMStudents->ResidenceProof->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->ResidenceProof->HrefValue = ew_ConvertFullUrl($CCMStudents->ResidenceProof->HrefValue);
} else {
$CCMStudents->ResidenceProof->HrefValue = "";
}
$CCMStudents->ResidenceProof->TooltipValue = "";
// SignedAppForm
if (!ew_Empty($CCMStudents->SignedAppForm->Upload->DbValue)) {
$CCMStudents->SignedAppForm->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->SignedAppForm->UploadPath) . ((!empty($CCMStudents->SignedAppForm->ViewValue)) ? $CCMStudents->SignedAppForm->ViewValue : $CCMStudents->SignedAppForm->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->SignedAppForm->HrefValue = ew_ConvertFullUrl($CCMStudents->SignedAppForm->HrefValue);
} else {
$CCMStudents->SignedAppForm->HrefValue = "";
}
$CCMStudents->SignedAppForm->TooltipValue = "";
// Photograph
if (!ew_Empty($CCMStudents->Photograph->Upload->DbValue)) {
$CCMStudents->Photograph->HrefValue = ew_UploadPathEx(FALSE, $CCMStudents->Photograph->UploadPath) . ((!empty($CCMStudents->Photograph->ViewValue)) ? $CCMStudents->Photograph->ViewValue : $CCMStudents->Photograph->CurrentValue);
if ($CCMStudents->Export <> "") $CCMStudents->Photograph->HrefValue = ew_ConvertFullUrl($CCMStudents->Photograph->HrefValue);
} else {
$CCMStudents->Photograph->HrefValue = "";
}
$CCMStudents->Photograph->TooltipValue = "";
// StudentNumber
$CCMStudents->StudentNumber->HrefValue = "";
$CCMStudents->StudentNumber->TooltipValue = "";
// WebUsername
$CCMStudents->WebUsername->HrefValue = "";
$CCMStudents->WebUsername->TooltipValue = "";
// WebPassword
$CCMStudents->WebPassword->HrefValue = "";
$CCMStudents->WebPassword->TooltipValue = "";
// BlockAccess
$CCMStudents->BlockAccess->HrefValue = "";
$CCMStudents->BlockAccess->TooltipValue = "";
// Archived
$CCMStudents->Archived->HrefValue = "";
$CCMStudents->Archived->TooltipValue = "";
} elseif ($CCMStudents->RowType == EW_ROWTYPE_SEARCH) { // Search row
// CCMStudentID
$CCMStudents->CCMStudentID->EditCustomAttributes = "";
$CCMStudents->CCMStudentID->EditValue = ew_HtmlEncode($CCMStudents->CCMStudentID->AdvancedSearch->SearchValue);
// SelectionCategory
$CCMStudents->SelectionCategory->EditCustomAttributes = "";
$CCMStudents->SelectionCategory->EditValue = ew_HtmlEncode($CCMStudents->SelectionCategory->AdvancedSearch->SearchValue);
// Title
$CCMStudents->Title->EditCustomAttributes = "";
$CCMStudents->Title->EditValue = ew_HtmlEncode($CCMStudents->Title->AdvancedSearch->SearchValue);
// Initials
$CCMStudents->Initials->EditCustomAttributes = "";
$CCMStudents->Initials->EditValue = ew_HtmlEncode($CCMStudents->Initials->AdvancedSearch->SearchValue);
// FirstName
$CCMStudents->FirstName->EditCustomAttributes = "";
$CCMStudents->FirstName->EditValue = ew_HtmlEncode($CCMStudents->FirstName->AdvancedSearch->SearchValue);
// Surname
$CCMStudents->Surname->EditCustomAttributes = "";
$CCMStudents->Surname->EditValue = ew_HtmlEncode($CCMStudents->Surname->AdvancedSearch->SearchValue);
// KnownAs
$CCMStudents->KnownAs->EditCustomAttributes = "";
$CCMStudents->KnownAs->EditValue = ew_HtmlEncode($CCMStudents->KnownAs->AdvancedSearch->SearchValue);
// IDNumber
$CCMStudents->IDNumber->EditCustomAttributes = "";
$CCMStudents->IDNumber->EditValue = ew_HtmlEncode($CCMStudents->IDNumber->AdvancedSearch->SearchValue);
// Telephone
$CCMStudents->Telephone->EditCustomAttributes = "";
$CCMStudents->Telephone->EditValue = ew_HtmlEncode($CCMStudents->Telephone->AdvancedSearch->SearchValue);
// Cellphone
$CCMStudents->Cellphone->EditCustomAttributes = "";
$CCMStudents->Cellphone->EditValue = ew_HtmlEncode($CCMStudents->Cellphone->AdvancedSearch->SearchValue);
// EmailAddress
$CCMStudents->EmailAddress->EditCustomAttributes = "";
$CCMStudents->EmailAddress->EditValue = ew_HtmlEncode($CCMStudents->EmailAddress->AdvancedSearch->SearchValue);
// WorkAddress
$CCMStudents->WorkAddress->EditCustomAttributes = "";
$CCMStudents->WorkAddress->EditValue = ew_HtmlEncode($CCMStudents->WorkAddress->AdvancedSearch->SearchValue);
// PostalAddress
$CCMStudents->PostalAddress->EditCustomAttributes = "";
$CCMStudents->PostalAddress->EditValue = ew_HtmlEncode($CCMStudents->PostalAddress->AdvancedSearch->SearchValue);
// Department
$CCMStudents->Department->EditCustomAttributes = "";
$CCMStudents->Department->EditValue = ew_HtmlEncode($CCMStudents->Department->AdvancedSearch->SearchValue);
// Organisation
$CCMStudents->Organisation->EditCustomAttributes = "";
$CCMStudents->Organisation->EditValue = ew_HtmlEncode($CCMStudents->Organisation->AdvancedSearch->SearchValue);
// VATNo
$CCMStudents->VATNo->EditCustomAttributes = "";
$CCMStudents->VATNo->EditValue = ew_HtmlEncode($CCMStudents->VATNo->AdvancedSearch->SearchValue);
// JobTitle
$CCMStudents->JobTitle->EditCustomAttributes = "";
$CCMStudents->JobTitle->EditValue = ew_HtmlEncode($CCMStudents->JobTitle->AdvancedSearch->SearchValue);
// DateofBirth
$CCMStudents->DateofBirth->EditCustomAttributes = "";
$CCMStudents->DateofBirth->EditValue = ew_HtmlEncode(ew_FormatDateTime(ew_UnFormatDateTime($CCMStudents->DateofBirth->AdvancedSearch->SearchValue, 5), 5));
// PlaceofBirth
$CCMStudents->PlaceofBirth->EditCustomAttributes = "";
$CCMStudents->PlaceofBirth->EditValue = ew_HtmlEncode($CCMStudents->PlaceofBirth->AdvancedSearch->SearchValue);
// CountryofBirth
$CCMStudents->CountryofBirth->EditCustomAttributes = "";
$CCMStudents->CountryofBirth->EditValue = ew_HtmlEncode($CCMStudents->CountryofBirth->AdvancedSearch->SearchValue);
// Province
$CCMStudents->Province->EditCustomAttributes = "";
$sFilterWrk = "";
$sSqlWrk = "SELECT `LookupValue`, `LookupValue`, '' AS Disp2Fld, '' AS SelectFilterFld FROM `Lookups`";
$sWhereWrk = "";
if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
$sWhereWrk .= "(" . "LookupName='Province'" . ")";
if ($sFilterWrk <> "") {
if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
$sWhereWrk .= "(" . $sFilterWrk . ")";
}
if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk;
$sSqlWrk .= " ORDER BY `LookupValue`";
$rswrk = $conn->Execute($sSqlWrk);
$arwrk = ($rswrk) ? $rswrk->GetRows() : array();
if ($rswrk) $rswrk->Close();
array_unshift($arwrk, array("", $Language->Phrase("PleaseSelect")));
$CCMStudents->Province->EditValue = $arwrk;
// MaleorFemale
$CCMStudents->MaleorFemale->EditCustomAttributes = "";
$CCMStudents->MaleorFemale->EditValue = ew_HtmlEncode($CCMStudents->MaleorFemale->AdvancedSearch->SearchValue);
// RaceGroup
$CCMStudents->RaceGroup->EditCustomAttributes = "";
$CCMStudents->RaceGroup->EditValue = ew_HtmlEncode($CCMStudents->RaceGroup->AdvancedSearch->SearchValue);
// Disability
$CCMStudents->Disability->EditCustomAttributes = "";
$arwrk = array();
$arwrk[] = array("y", "Yes");
$arwrk[] = array("n", "No");
$CCMStudents->Disability->EditValue = $arwrk;
// DisabilityNature
$CCMStudents->DisabilityNature->EditCustomAttributes = "";
$CCMStudents->DisabilityNature->EditValue = ew_HtmlEncode($CCMStudents->DisabilityNature->AdvancedSearch->SearchValue);
// DisabilityCertificate
$CCMStudents->DisabilityCertificate->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->DisabilityCertificate->Upload->DbValue)) {
$CCMStudents->DisabilityCertificate->EditValue = $CCMStudents->DisabilityCertificate->Upload->DbValue;
} else {
$CCMStudents->DisabilityCertificate->EditValue = "";
}
// ProfessionalCouncil
$CCMStudents->ProfessionalCouncil->EditCustomAttributes = "";
$CCMStudents->ProfessionalCouncil->EditValue = ew_HtmlEncode($CCMStudents->ProfessionalCouncil->AdvancedSearch->SearchValue);
// CategoryReg
$CCMStudents->CategoryReg->EditCustomAttributes = "";
$CCMStudents->CategoryReg->EditValue = ew_HtmlEncode($CCMStudents->CategoryReg->AdvancedSearch->SearchValue);
// CouncilRegNumber
$CCMStudents->CouncilRegNumber->EditCustomAttributes = "";
$CCMStudents->CouncilRegNumber->EditValue = ew_HtmlEncode($CCMStudents->CouncilRegNumber->AdvancedSearch->SearchValue);
// LengthCandidateReg
$CCMStudents->LengthCandidateReg->EditCustomAttributes = "";
$CCMStudents->LengthCandidateReg->EditValue = ew_HtmlEncode($CCMStudents->LengthCandidateReg->AdvancedSearch->SearchValue);
// YearsToProfReg
$CCMStudents->YearsToProfReg->EditCustomAttributes = "";
$CCMStudents->YearsToProfReg->EditValue = ew_HtmlEncode($CCMStudents->YearsToProfReg->AdvancedSearch->SearchValue);
// FirstJobStart
$CCMStudents->FirstJobStart->EditCustomAttributes = "";
$CCMStudents->FirstJobStart->EditValue = ew_HtmlEncode($CCMStudents->FirstJobStart->AdvancedSearch->SearchValue);
// VolAssociations
$CCMStudents->VolAssociations->EditCustomAttributes = "";
$CCMStudents->VolAssociations->EditValue = ew_HtmlEncode($CCMStudents->VolAssociations->AdvancedSearch->SearchValue);
// BelongsTo
$CCMStudents->BelongsTo->EditCustomAttributes = "";
$CCMStudents->BelongsTo->EditValue = ew_HtmlEncode($CCMStudents->BelongsTo->AdvancedSearch->SearchValue);
// CESA_SABTACO_MemNum
$CCMStudents->CESA_SABTACO_MemNum->EditCustomAttributes = "";
$CCMStudents->CESA_SABTACO_MemNum->EditValue = ew_HtmlEncode($CCMStudents->CESA_SABTACO_MemNum->AdvancedSearch->SearchValue);
// AreaDiscipline
$CCMStudents->AreaDiscipline->EditCustomAttributes = "";
$CCMStudents->AreaDiscipline->EditValue = ew_HtmlEncode($CCMStudents->AreaDiscipline->AdvancedSearch->SearchValue);
// AreaSubDiscipline
$CCMStudents->AreaSubDiscipline->EditCustomAttributes = "";
$CCMStudents->AreaSubDiscipline->EditValue = ew_HtmlEncode($CCMStudents->AreaSubDiscipline->AdvancedSearch->SearchValue);
// Salary
$CCMStudents->Salary->EditCustomAttributes = "";
$CCMStudents->Salary->EditValue = ew_HtmlEncode($CCMStudents->Salary->AdvancedSearch->SearchValue);
// Payslip
$CCMStudents->Payslip->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->Payslip->Upload->DbValue)) {
$CCMStudents->Payslip->EditValue = $CCMStudents->Payslip->Upload->DbValue;
} else {
$CCMStudents->Payslip->EditValue = "";
}
// BankAccountName
$CCMStudents->BankAccountName->EditCustomAttributes = "";
$CCMStudents->BankAccountName->EditValue = ew_HtmlEncode($CCMStudents->BankAccountName->AdvancedSearch->SearchValue);
// BankAccountBank
$CCMStudents->BankAccountBank->EditCustomAttributes = "";
$CCMStudents->BankAccountBank->EditValue = ew_HtmlEncode($CCMStudents->BankAccountBank->AdvancedSearch->SearchValue);
// BankAccountBranch
$CCMStudents->BankAccountBranch->EditCustomAttributes = "";
$CCMStudents->BankAccountBranch->EditValue = ew_HtmlEncode($CCMStudents->BankAccountBranch->AdvancedSearch->SearchValue);
// BankAccountNo
$CCMStudents->BankAccountNo->EditCustomAttributes = "";
$CCMStudents->BankAccountNo->EditValue = ew_HtmlEncode($CCMStudents->BankAccountNo->AdvancedSearch->SearchValue);
// BankAccountProof
$CCMStudents->BankAccountProof->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->BankAccountProof->Upload->DbValue)) {
$CCMStudents->BankAccountProof->EditValue = $CCMStudents->BankAccountProof->Upload->DbValue;
} else {
$CCMStudents->BankAccountProof->EditValue = "";
}
// Funding
$CCMStudents->Funding->EditCustomAttributes = "";
$CCMStudents->Funding->EditValue = ew_HtmlEncode($CCMStudents->Funding->AdvancedSearch->SearchValue);
// CWDTP
$CCMStudents->CWDTP->EditCustomAttributes = "";
$CCMStudents->CWDTP->EditValue = ew_HtmlEncode($CCMStudents->CWDTP->AdvancedSearch->SearchValue);
// BookedByName
$CCMStudents->BookedByName->EditCustomAttributes = "";
$CCMStudents->BookedByName->EditValue = ew_HtmlEncode($CCMStudents->BookedByName->AdvancedSearch->SearchValue);
// BookedByDesignation
$CCMStudents->BookedByDesignation->EditCustomAttributes = "";
$CCMStudents->BookedByDesignation->EditValue = ew_HtmlEncode($CCMStudents->BookedByDesignation->AdvancedSearch->SearchValue);
// BookedByTelNo
$CCMStudents->BookedByTelNo->EditCustomAttributes = "";
$CCMStudents->BookedByTelNo->EditValue = ew_HtmlEncode($CCMStudents->BookedByTelNo->AdvancedSearch->SearchValue);
// BookedByFaxNo
$CCMStudents->BookedByFaxNo->EditCustomAttributes = "";
$CCMStudents->BookedByFaxNo->EditValue = ew_HtmlEncode($CCMStudents->BookedByFaxNo->AdvancedSearch->SearchValue);
// BookedByCellNo
$CCMStudents->BookedByCellNo->EditCustomAttributes = "";
$CCMStudents->BookedByCellNo->EditValue = ew_HtmlEncode($CCMStudents->BookedByCellNo->AdvancedSearch->SearchValue);
// BookedByEmail
$CCMStudents->BookedByEmail->EditCustomAttributes = "";
$CCMStudents->BookedByEmail->EditValue = ew_HtmlEncode($CCMStudents->BookedByEmail->AdvancedSearch->SearchValue);
// MentorID
$CCMStudents->MentorID->EditCustomAttributes = "";
$sFilterWrk = "";
$sSqlWrk = "SELECT `CCMMentorID`, `Surname`, `FirstName`, '' AS SelectFilterFld FROM `CCMMentors`";
$sWhereWrk = "";
if ($sFilterWrk <> "") {
if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
$sWhereWrk .= "(" . $sFilterWrk . ")";
}
if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk;
$sSqlWrk .= " ORDER BY `FirstName`";
$rswrk = $conn->Execute($sSqlWrk);
$arwrk = ($rswrk) ? $rswrk->GetRows() : array();
if ($rswrk) $rswrk->Close();
array_unshift($arwrk, array("", $Language->Phrase("PleaseSelect"), ""));
$CCMStudents->MentorID->EditValue = $arwrk;
// MentorName
$CCMStudents->MentorName->EditCustomAttributes = "";
$CCMStudents->MentorName->EditValue = ew_HtmlEncode($CCMStudents->MentorName->AdvancedSearch->SearchValue);
// MentorDesig
$CCMStudents->MentorDesig->EditCustomAttributes = "";
$CCMStudents->MentorDesig->EditValue = ew_HtmlEncode($CCMStudents->MentorDesig->AdvancedSearch->SearchValue);
// MentorProfRegNo
$CCMStudents->MentorProfRegNo->EditCustomAttributes = "";
$CCMStudents->MentorProfRegNo->EditValue = ew_HtmlEncode($CCMStudents->MentorProfRegNo->AdvancedSearch->SearchValue);
// MentorRegNo
$CCMStudents->MentorRegNo->EditCustomAttributes = "";
$CCMStudents->MentorRegNo->EditValue = ew_HtmlEncode($CCMStudents->MentorRegNo->AdvancedSearch->SearchValue);
// MentorTel
$CCMStudents->MentorTel->EditCustomAttributes = "";
$CCMStudents->MentorTel->EditValue = ew_HtmlEncode($CCMStudents->MentorTel->AdvancedSearch->SearchValue);
// MentorCell
$CCMStudents->MentorCell->EditCustomAttributes = "";
$CCMStudents->MentorCell->EditValue = ew_HtmlEncode($CCMStudents->MentorCell->AdvancedSearch->SearchValue);
// MentorEmail
$CCMStudents->MentorEmail->EditCustomAttributes = "";
$CCMStudents->MentorEmail->EditValue = ew_HtmlEncode($CCMStudents->MentorEmail->AdvancedSearch->SearchValue);
// EmployerID
$CCMStudents->EmployerID->EditCustomAttributes = "";
$sFilterWrk = "";
$sSqlWrk = "SELECT `CCMEmployerID`, `Organisation`, `Surname`, '' AS SelectFilterFld FROM `CCMEmployers`";
$sWhereWrk = "";
if ($sFilterWrk <> "") {
if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
$sWhereWrk .= "(" . $sFilterWrk . ")";
}
if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk;
$sSqlWrk .= " ORDER BY `Organisation`";
$rswrk = $conn->Execute($sSqlWrk);
$arwrk = ($rswrk) ? $rswrk->GetRows() : array();
if ($rswrk) $rswrk->Close();
array_unshift($arwrk, array("", $Language->Phrase("PleaseSelect"), ""));
$CCMStudents->EmployerID->EditValue = $arwrk;
// HRManagerName
$CCMStudents->HRManagerName->EditCustomAttributes = "";
$CCMStudents->HRManagerName->EditValue = ew_HtmlEncode($CCMStudents->HRManagerName->AdvancedSearch->SearchValue);
// HRManagerDesignation
$CCMStudents->HRManagerDesignation->EditCustomAttributes = "";
$CCMStudents->HRManagerDesignation->EditValue = ew_HtmlEncode($CCMStudents->HRManagerDesignation->AdvancedSearch->SearchValue);
// HRManagerTelNo
$CCMStudents->HRManagerTelNo->EditCustomAttributes = "";
$CCMStudents->HRManagerTelNo->EditValue = ew_HtmlEncode($CCMStudents->HRManagerTelNo->AdvancedSearch->SearchValue);
// HRManagerCellNo
$CCMStudents->HRManagerCellNo->EditCustomAttributes = "";
$CCMStudents->HRManagerCellNo->EditValue = ew_HtmlEncode($CCMStudents->HRManagerCellNo->AdvancedSearch->SearchValue);
// HRManagerEmail
$CCMStudents->HRManagerEmail->EditCustomAttributes = "";
$CCMStudents->HRManagerEmail->EditValue = ew_HtmlEncode($CCMStudents->HRManagerEmail->AdvancedSearch->SearchValue);
// SupervisorName
$CCMStudents->SupervisorName->EditCustomAttributes = "";
$CCMStudents->SupervisorName->EditValue = ew_HtmlEncode($CCMStudents->SupervisorName->AdvancedSearch->SearchValue);
// SupervisorDesig
$CCMStudents->SupervisorDesig->EditCustomAttributes = "";
$CCMStudents->SupervisorDesig->EditValue = ew_HtmlEncode($CCMStudents->SupervisorDesig->AdvancedSearch->SearchValue);
// SupervisorProfRegNo
$CCMStudents->SupervisorProfRegNo->EditCustomAttributes = "";
$CCMStudents->SupervisorProfRegNo->EditValue = ew_HtmlEncode($CCMStudents->SupervisorProfRegNo->AdvancedSearch->SearchValue);
// SupervisorTelNo
$CCMStudents->SupervisorTelNo->EditCustomAttributes = "";
$CCMStudents->SupervisorTelNo->EditValue = ew_HtmlEncode($CCMStudents->SupervisorTelNo->AdvancedSearch->SearchValue);
// SupervisorCellNo
$CCMStudents->SupervisorCellNo->EditCustomAttributes = "";
$CCMStudents->SupervisorCellNo->EditValue = ew_HtmlEncode($CCMStudents->SupervisorCellNo->AdvancedSearch->SearchValue);
// SupervisorEmail
$CCMStudents->SupervisorEmail->EditCustomAttributes = "";
$CCMStudents->SupervisorEmail->EditValue = ew_HtmlEncode($CCMStudents->SupervisorEmail->AdvancedSearch->SearchValue);
// EducationalInst
$CCMStudents->EducationalInst->EditCustomAttributes = "";
$CCMStudents->EducationalInst->EditValue = ew_HtmlEncode($CCMStudents->EducationalInst->AdvancedSearch->SearchValue);
// Qualifications
$CCMStudents->Qualifications->EditCustomAttributes = "";
$CCMStudents->Qualifications->EditValue = ew_HtmlEncode($CCMStudents->Qualifications->AdvancedSearch->SearchValue);
// DateFinalExam
$CCMStudents->DateFinalExam->EditCustomAttributes = "";
$CCMStudents->DateFinalExam->EditValue = ew_HtmlEncode($CCMStudents->DateFinalExam->AdvancedSearch->SearchValue);
// IDFile
$CCMStudents->IDFile->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->IDFile->Upload->DbValue)) {
$CCMStudents->IDFile->EditValue = $CCMStudents->IDFile->Upload->DbValue;
} else {
$CCMStudents->IDFile->EditValue = "";
}
// CVFile
$CCMStudents->CVFile->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->CVFile->Upload->DbValue)) {
$CCMStudents->CVFile->EditValue = $CCMStudents->CVFile->Upload->DbValue;
} else {
$CCMStudents->CVFile->EditValue = "";
}
// QualCertificate1
$CCMStudents->QualCertificate1->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->QualCertificate1->Upload->DbValue)) {
$CCMStudents->QualCertificate1->EditValue = $CCMStudents->QualCertificate1->Upload->DbValue;
} else {
$CCMStudents->QualCertificate1->EditValue = "";
}
// QualCertificate2
$CCMStudents->QualCertificate2->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->QualCertificate2->Upload->DbValue)) {
$CCMStudents->QualCertificate2->EditValue = $CCMStudents->QualCertificate2->Upload->DbValue;
} else {
$CCMStudents->QualCertificate2->EditValue = "";
}
// QualCertificate3
$CCMStudents->QualCertificate3->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->QualCertificate3->Upload->DbValue)) {
$CCMStudents->QualCertificate3->EditValue = $CCMStudents->QualCertificate3->Upload->DbValue;
} else {
$CCMStudents->QualCertificate3->EditValue = "";
}
// MentorUndertaking
$CCMStudents->MentorUndertaking->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->MentorUndertaking->Upload->DbValue)) {
$CCMStudents->MentorUndertaking->EditValue = $CCMStudents->MentorUndertaking->Upload->DbValue;
} else {
$CCMStudents->MentorUndertaking->EditValue = "";
}
// CandUUndertaking
$CCMStudents->CandUUndertaking->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->CandUUndertaking->Upload->DbValue)) {
$CCMStudents->CandUUndertaking->EditValue = $CCMStudents->CandUUndertaking->Upload->DbValue;
} else {
$CCMStudents->CandUUndertaking->EditValue = "";
}
// CompanyCandidatePolicy
$CCMStudents->CompanyCandidatePolicy->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->CompanyCandidatePolicy->Upload->DbValue)) {
$CCMStudents->CompanyCandidatePolicy->EditValue = $CCMStudents->CompanyCandidatePolicy->Upload->DbValue;
} else {
$CCMStudents->CompanyCandidatePolicy->EditValue = "";
}
// ResidenceProof
$CCMStudents->ResidenceProof->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->ResidenceProof->Upload->DbValue)) {
$CCMStudents->ResidenceProof->EditValue = $CCMStudents->ResidenceProof->Upload->DbValue;
} else {
$CCMStudents->ResidenceProof->EditValue = "";
}
// SignedAppForm
$CCMStudents->SignedAppForm->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->SignedAppForm->Upload->DbValue)) {
$CCMStudents->SignedAppForm->EditValue = $CCMStudents->SignedAppForm->Upload->DbValue;
} else {
$CCMStudents->SignedAppForm->EditValue = "";
}
// Photograph
$CCMStudents->Photograph->EditCustomAttributes = "";
if (!ew_Empty($CCMStudents->Photograph->Upload->DbValue)) {
$CCMStudents->Photograph->EditValue = $CCMStudents->Photograph->Upload->DbValue;
} else {
$CCMStudents->Photograph->EditValue = "";
}
// StudentNumber
$CCMStudents->StudentNumber->EditCustomAttributes = "";
$CCMStudents->StudentNumber->EditValue = ew_HtmlEncode($CCMStudents->StudentNumber->AdvancedSearch->SearchValue);
// WebUsername
$CCMStudents->WebUsername->EditCustomAttributes = "";
$CCMStudents->WebUsername->EditValue = ew_HtmlEncode($CCMStudents->WebUsername->AdvancedSearch->SearchValue);
// WebPassword
$CCMStudents->WebPassword->EditCustomAttributes = "";
$CCMStudents->WebPassword->EditValue = ew_HtmlEncode($CCMStudents->WebPassword->AdvancedSearch->SearchValue);
// BlockAccess
$CCMStudents->BlockAccess->EditCustomAttributes = "";
$arwrk = array();
$arwrk[] = array("y", "Yes");
$arwrk[] = array("n", "No");
$CCMStudents->BlockAccess->EditValue = $arwrk;
// Archived
$CCMStudents->Archived->EditCustomAttributes = "";
$arwrk = array();
$arwrk[] = array("1", "Yes");
$arwrk[] = array("0", "No");
$CCMStudents->Archived->EditValue = $arwrk;
}
// Call Row Rendered event
if ($CCMStudents->RowType <> EW_ROWTYPE_AGGREGATEINIT)
$CCMStudents->Row_Rendered();
}
// Validate search
function ValidateSearch() {
global $gsSearchError, $CCMStudents;
// Initialize
$gsSearchError = "";
// Check if validation required
if (!EW_SERVER_VALIDATE)
return TRUE;
if (!ew_CheckDate($CCMStudents->DateofBirth->AdvancedSearch->SearchValue)) {
if ($gsSearchError <> "") $gsSearchError .= "<br>";
$gsSearchError .= $CCMStudents->DateofBirth->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 $CCMStudents;
$CCMStudents->CCMStudentID->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_CCMStudentID");
$CCMStudents->SelectionCategory->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_SelectionCategory");
$CCMStudents->Title->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Title");
$CCMStudents->Initials->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Initials");
$CCMStudents->FirstName->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_FirstName");
$CCMStudents->Surname->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Surname");
$CCMStudents->KnownAs->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_KnownAs");
$CCMStudents->IDNumber->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_IDNumber");
$CCMStudents->Telephone->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Telephone");
$CCMStudents->Cellphone->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Cellphone");
$CCMStudents->EmailAddress->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_EmailAddress");
$CCMStudents->WorkAddress->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_WorkAddress");
$CCMStudents->PostalAddress->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_PostalAddress");
$CCMStudents->Department->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Department");
$CCMStudents->Organisation->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Organisation");
$CCMStudents->VATNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_VATNo");
$CCMStudents->JobTitle->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_JobTitle");
$CCMStudents->DateofBirth->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_DateofBirth");
$CCMStudents->PlaceofBirth->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_PlaceofBirth");
$CCMStudents->CountryofBirth->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_CountryofBirth");
$CCMStudents->Province->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Province");
$CCMStudents->MaleorFemale->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_MaleorFemale");
$CCMStudents->RaceGroup->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_RaceGroup");
$CCMStudents->Disability->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Disability");
$CCMStudents->DisabilityNature->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_DisabilityNature");
$CCMStudents->ProfessionalCouncil->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_ProfessionalCouncil");
$CCMStudents->CategoryReg->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_CategoryReg");
$CCMStudents->CouncilRegNumber->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_CouncilRegNumber");
$CCMStudents->LengthCandidateReg->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_LengthCandidateReg");
$CCMStudents->YearsToProfReg->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_YearsToProfReg");
$CCMStudents->FirstJobStart->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_FirstJobStart");
$CCMStudents->VolAssociations->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_VolAssociations");
$CCMStudents->BelongsTo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BelongsTo");
$CCMStudents->CESA_SABTACO_MemNum->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_CESA_SABTACO_MemNum");
$CCMStudents->AreaDiscipline->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_AreaDiscipline");
$CCMStudents->AreaSubDiscipline->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_AreaSubDiscipline");
$CCMStudents->Salary->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Salary");
$CCMStudents->BankAccountName->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BankAccountName");
$CCMStudents->BankAccountBank->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BankAccountBank");
$CCMStudents->BankAccountBranch->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BankAccountBranch");
$CCMStudents->BankAccountNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BankAccountNo");
$CCMStudents->Funding->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Funding");
$CCMStudents->CWDTP->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_CWDTP");
$CCMStudents->BookedByName->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BookedByName");
$CCMStudents->BookedByDesignation->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BookedByDesignation");
$CCMStudents->BookedByTelNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BookedByTelNo");
$CCMStudents->BookedByFaxNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BookedByFaxNo");
$CCMStudents->BookedByCellNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BookedByCellNo");
$CCMStudents->BookedByEmail->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BookedByEmail");
$CCMStudents->MentorID->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_MentorID");
$CCMStudents->MentorName->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_MentorName");
$CCMStudents->MentorDesig->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_MentorDesig");
$CCMStudents->MentorProfRegNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_MentorProfRegNo");
$CCMStudents->MentorRegNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_MentorRegNo");
$CCMStudents->MentorTel->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_MentorTel");
$CCMStudents->MentorCell->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_MentorCell");
$CCMStudents->MentorEmail->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_MentorEmail");
$CCMStudents->EmployerID->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_EmployerID");
$CCMStudents->HRManagerName->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_HRManagerName");
$CCMStudents->HRManagerDesignation->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_HRManagerDesignation");
$CCMStudents->HRManagerTelNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_HRManagerTelNo");
$CCMStudents->HRManagerCellNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_HRManagerCellNo");
$CCMStudents->HRManagerEmail->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_HRManagerEmail");
$CCMStudents->SupervisorName->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_SupervisorName");
$CCMStudents->SupervisorDesig->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_SupervisorDesig");
$CCMStudents->SupervisorProfRegNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_SupervisorProfRegNo");
$CCMStudents->SupervisorTelNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_SupervisorTelNo");
$CCMStudents->SupervisorCellNo->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_SupervisorCellNo");
$CCMStudents->SupervisorEmail->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_SupervisorEmail");
$CCMStudents->EducationalInst->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_EducationalInst");
$CCMStudents->Qualifications->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Qualifications");
$CCMStudents->DateFinalExam->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_DateFinalExam");
$CCMStudents->StudentNumber->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_StudentNumber");
$CCMStudents->WebUsername->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_WebUsername");
$CCMStudents->WebPassword->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_WebPassword");
$CCMStudents->BlockAccess->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_BlockAccess");
$CCMStudents->Archived->AdvancedSearch->SearchValue = $CCMStudents->getAdvancedSearch("x_Archived");
}
// 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;
}
}
?>