Your IP : 216.73.217.79


Current Path : /var/www/cesa.co.za/cceadmin/
Upload File :
Current File : /var/www/cesa.co.za/cceadmin/cstFutureStudentssrch.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 "cstFutureStudentsinfo.php" ?>
<?php include "CCEUsersinfo.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
$cstFutureStudents_search = new ccstFutureStudents_search();
$Page =& $cstFutureStudents_search;

// Page init
$cstFutureStudents_search->Page_Init();

// Page main
$cstFutureStudents_search->Page_Main();
?>
<?php include "header.php" ?>
<script type="text/javascript">
<!--

// Create page object
var cstFutureStudents_search = new ew_Page("cstFutureStudents_search");

// page properties
cstFutureStudents_search.PageID = "search"; // page ID
cstFutureStudents_search.FormID = "fcstFutureStudentssearch"; // form ID
var EW_PAGE_ID = cstFutureStudents_search.PageID; // for backward compatibility

// extend page with validate function for search
cstFutureStudents_search.ValidateSearch = function(fobj) {
	ew_PostAutoSuggest(fobj);
	if (this.ValidateRequired) {
		var infix = "";

		// 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
cstFutureStudents_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) { ?>
cstFutureStudents_search.ValidateRequired = true; // uses JavaScript validation
<?php } else { ?>
cstFutureStudents_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") ?>&nbsp;<?php echo $Language->Phrase("TblTypeCUSTOMVIEW") ?><?php echo $cstFutureStudents->TableCaption() ?><br><br>
<a href="<?php echo $cstFutureStudents->getReturnUrl() ?>"><?php echo $Language->Phrase("BackToList") ?></a></span></p>
<?php
if (EW_DEBUG_ENABLED)
	echo ew_DebugMsg();
$cstFutureStudents_search->ShowMessage();
?>
<form name="fcstFutureStudentssearch" id="fcstFutureStudentssearch" action="<?php echo ew_CurrentPage() ?>" method="post" onsubmit="return cstFutureStudents_search.ValidateSearch(this);">
<p>
<input type="hidden" name="t" id="t" value="cstFutureStudents">
<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 $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->CCEStudentID->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->CCEStudentID->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_CCEStudentID" id="z_CCEStudentID" value="="></span></td>
		<td<?php echo $cstFutureStudents->CCEStudentID->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_CCEStudentID" id="x_CCEStudentID" title="<?php echo $cstFutureStudents->CCEStudentID->FldTitle() ?>" value="<?php echo $cstFutureStudents->CCEStudentID->EditValue ?>"<?php echo $cstFutureStudents->CCEStudentID->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->Title->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->Title->FldTitle() ?>" size="30" maxlength="20" value="<?php echo $cstFutureStudents->Title->EditValue ?>"<?php echo $cstFutureStudents->Title->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->FirstName->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->FirstName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->FirstName->EditValue ?>"<?php echo $cstFutureStudents->FirstName->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->Surname->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->Surname->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->Surname->EditValue ?>"<?php echo $cstFutureStudents->Surname->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->KnownAs->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->KnownAs->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->KnownAs->EditValue ?>"<?php echo $cstFutureStudents->KnownAs->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->Organisation->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->Organisation->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->Organisation->EditValue ?>"<?php echo $cstFutureStudents->Organisation->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->OrganisationType->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->OrganisationType->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_OrganisationType" id="z_OrganisationType" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->OrganisationType->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_OrganisationType" id="x_OrganisationType" title="<?php echo $cstFutureStudents->OrganisationType->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->OrganisationType->EditValue ?>"<?php echo $cstFutureStudents->OrganisationType->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->LengthEmploy->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->LengthEmploy->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_LengthEmploy" id="z_LengthEmploy" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->LengthEmploy->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_LengthEmploy" id="x_LengthEmploy" title="<?php echo $cstFutureStudents->LengthEmploy->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->LengthEmploy->EditValue ?>"<?php echo $cstFutureStudents->LengthEmploy->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->OtherCEFirms->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->OtherCEFirms->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_OtherCEFirms" id="z_OtherCEFirms" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->OtherCEFirms->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<textarea name="x_OtherCEFirms" id="x_OtherCEFirms" title="<?php echo $cstFutureStudents->OtherCEFirms->FldTitle() ?>" cols="35" rows="4"<?php echo $cstFutureStudents->OtherCEFirms->EditAttributes() ?>><?php echo $cstFutureStudents->OtherCEFirms->EditValue ?></textarea>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->StudentNumber->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->StudentNumber->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->StudentNumber->EditValue ?>"<?php echo $cstFutureStudents->StudentNumber->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->CCEFacilitatorID->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->CCEFacilitatorID->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_CCEFacilitatorID" id="z_CCEFacilitatorID" value="="></span></td>
		<td<?php echo $cstFutureStudents->CCEFacilitatorID->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<select id="x_CCEFacilitatorID" name="x_CCEFacilitatorID" title="<?php echo $cstFutureStudents->CCEFacilitatorID->FldTitle() ?>"<?php echo $cstFutureStudents->CCEFacilitatorID->EditAttributes() ?>>
<?php
if (is_array($cstFutureStudents->CCEFacilitatorID->EditValue)) {
	$arwrk = $cstFutureStudents->CCEFacilitatorID->EditValue;
	$rowswrk = count($arwrk);
	$emptywrk = TRUE;
	for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
		$selwrk = (strval($cstFutureStudents->CCEFacilitatorID->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 $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->Project->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->Project->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_Project" id="z_Project" value="="></span></td>
		<td<?php echo $cstFutureStudents->Project->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<select id="x_Project" name="x_Project" title="<?php echo $cstFutureStudents->Project->FldTitle() ?>"<?php echo $cstFutureStudents->Project->EditAttributes() ?>>
<?php
if (is_array($cstFutureStudents->Project->EditValue)) {
	$arwrk = $cstFutureStudents->Project->EditValue;
	$rowswrk = count($arwrk);
	$emptywrk = TRUE;
	for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
		$selwrk = (strval($cstFutureStudents->Project->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 $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->ProjectDiscipline->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->ProjectDiscipline->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_ProjectDiscipline" id="z_ProjectDiscipline" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->ProjectDiscipline->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_ProjectDiscipline" id="x_ProjectDiscipline" title="<?php echo $cstFutureStudents->ProjectDiscipline->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->ProjectDiscipline->EditValue ?>"<?php echo $cstFutureStudents->ProjectDiscipline->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->IDNumber->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->IDNumber->FldTitle() ?>" size="30" maxlength="50" value="<?php echo $cstFutureStudents->IDNumber->EditValue ?>"<?php echo $cstFutureStudents->IDNumber->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->ECSARegistered->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->ECSARegistered->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_ECSARegistered" id="z_ECSARegistered" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->ECSARegistered->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<div id="tp_x_ECSARegistered" class="<?php echo EW_ITEM_TEMPLATE_CLASSNAME ?>"><label><input type="radio" name="x_ECSARegistered" id="x_ECSARegistered" title="<?php echo $cstFutureStudents->ECSARegistered->FldTitle() ?>" value="{value}"<?php echo $cstFutureStudents->ECSARegistered->EditAttributes() ?>></label></div>
<div id="dsl_x_ECSARegistered" repeatcolumn="5">
<?php
$arwrk = $cstFutureStudents->ECSARegistered->EditValue;
if (is_array($arwrk)) {
	$rowswrk = count($arwrk);
	$emptywrk = TRUE;
	for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
		$selwrk = (strval($cstFutureStudents->ECSARegistered->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_ECSARegistered" id="x_ECSARegistered" title="<?php echo $cstFutureStudents->ECSARegistered->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $cstFutureStudents->ECSARegistered->EditAttributes() ?>><?php echo $arwrk[$rowcntwrk][1] ?></label>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 2) ?>
<?php
	}
}
?>
</div>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->ECSACategory->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->ECSACategory->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_ECSACategory" id="z_ECSACategory" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->ECSACategory->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_ECSACategory" id="x_ECSACategory" title="<?php echo $cstFutureStudents->ECSACategory->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->ECSACategory->EditValue ?>"<?php echo $cstFutureStudents->ECSACategory->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->ECSANumber->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->ECSANumber->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_ECSANumber" id="z_ECSANumber" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->ECSANumber->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_ECSANumber" id="x_ECSANumber" title="<?php echo $cstFutureStudents->ECSANumber->FldTitle() ?>" size="30" maxlength="50" value="<?php echo $cstFutureStudents->ECSANumber->EditValue ?>"<?php echo $cstFutureStudents->ECSANumber->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->OtherStatutoryBodyRegistered->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->OtherStatutoryBodyRegistered->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_OtherStatutoryBodyRegistered" id="z_OtherStatutoryBodyRegistered" value="="></span></td>
		<td<?php echo $cstFutureStudents->OtherStatutoryBodyRegistered->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<div id="tp_x_OtherStatutoryBodyRegistered" class="<?php echo EW_ITEM_TEMPLATE_CLASSNAME ?>"><label><input type="radio" name="x_OtherStatutoryBodyRegistered" id="x_OtherStatutoryBodyRegistered" title="<?php echo $cstFutureStudents->OtherStatutoryBodyRegistered->FldTitle() ?>" value="{value}"<?php echo $cstFutureStudents->OtherStatutoryBodyRegistered->EditAttributes() ?>></label></div>
<div id="dsl_x_OtherStatutoryBodyRegistered" repeatcolumn="5">
<?php
$arwrk = $cstFutureStudents->OtherStatutoryBodyRegistered->EditValue;
if (is_array($arwrk)) {
	$rowswrk = count($arwrk);
	$emptywrk = TRUE;
	for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
		$selwrk = (strval($cstFutureStudents->OtherStatutoryBodyRegistered->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_OtherStatutoryBodyRegistered" id="x_OtherStatutoryBodyRegistered" title="<?php echo $cstFutureStudents->OtherStatutoryBodyRegistered->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $cstFutureStudents->OtherStatutoryBodyRegistered->EditAttributes() ?>><?php echo $arwrk[$rowcntwrk][1] ?></label>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 2) ?>
<?php
	}
}
?>
</div>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->OtherStatutoryBodyName->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->OtherStatutoryBodyName->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_OtherStatutoryBodyName" id="z_OtherStatutoryBodyName" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->OtherStatutoryBodyName->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_OtherStatutoryBodyName" id="x_OtherStatutoryBodyName" title="<?php echo $cstFutureStudents->OtherStatutoryBodyName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->OtherStatutoryBodyName->EditValue ?>"<?php echo $cstFutureStudents->OtherStatutoryBodyName->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->OtherStatutoryBodyNumber->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->OtherStatutoryBodyNumber->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_OtherStatutoryBodyNumber" id="z_OtherStatutoryBodyNumber" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->OtherStatutoryBodyNumber->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_OtherStatutoryBodyNumber" id="x_OtherStatutoryBodyNumber" title="<?php echo $cstFutureStudents->OtherStatutoryBodyNumber->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->OtherStatutoryBodyNumber->EditValue ?>"<?php echo $cstFutureStudents->OtherStatutoryBodyNumber->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->Age->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->Age->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_Age" id="z_Age" value="="></span></td>
		<td<?php echo $cstFutureStudents->Age->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<div id="tp_x_Age" class="<?php echo EW_ITEM_TEMPLATE_CLASSNAME ?>"><label><input type="radio" name="x_Age" id="x_Age" title="<?php echo $cstFutureStudents->Age->FldTitle() ?>" value="{value}"<?php echo $cstFutureStudents->Age->EditAttributes() ?>></label></div>
<div id="dsl_x_Age" repeatcolumn="5">
<?php
$arwrk = $cstFutureStudents->Age->EditValue;
if (is_array($arwrk)) {
	$rowswrk = count($arwrk);
	$emptywrk = TRUE;
	for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
		$selwrk = (strval($cstFutureStudents->Age->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_Age" id="x_Age" title="<?php echo $cstFutureStudents->Age->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $cstFutureStudents->Age->EditAttributes() ?>><?php echo $arwrk[$rowcntwrk][1] ?></label>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 2) ?>
<?php
	}
}
?>
</div>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->HighestQual->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->HighestQual->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_HighestQual" id="z_HighestQual" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->HighestQual->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_HighestQual" id="x_HighestQual" title="<?php echo $cstFutureStudents->HighestQual->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->HighestQual->EditValue ?>"<?php echo $cstFutureStudents->HighestQual->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->AreaDiscipline->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->AreaDiscipline->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->AreaDiscipline->EditValue ?>"<?php echo $cstFutureStudents->AreaDiscipline->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->Telephone->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->Telephone->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->Telephone->EditValue ?>"<?php echo $cstFutureStudents->Telephone->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->Cellphone->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->Cellphone->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->Cellphone->EditValue ?>"<?php echo $cstFutureStudents->Cellphone->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->EmailAddress->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->EmailAddress->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->EmailAddress->EditValue ?>"<?php echo $cstFutureStudents->EmailAddress->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->HomeAddress->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->HomeAddress->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_HomeAddress" id="z_HomeAddress" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->HomeAddress->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<textarea name="x_HomeAddress" id="x_HomeAddress" title="<?php echo $cstFutureStudents->HomeAddress->FldTitle() ?>" cols="35" rows="4"<?php echo $cstFutureStudents->HomeAddress->EditAttributes() ?>><?php echo $cstFutureStudents->HomeAddress->EditValue ?></textarea>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->WorkAddress->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->WorkAddress->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<textarea name="x_WorkAddress" id="x_WorkAddress" title="<?php echo $cstFutureStudents->WorkAddress->FldTitle() ?>" cols="35" rows="4"<?php echo $cstFutureStudents->WorkAddress->EditAttributes() ?>><?php echo $cstFutureStudents->WorkAddress->EditValue ?></textarea>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->PostalAddress->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->PostalAddress->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<textarea name="x_PostalAddress" id="x_PostalAddress" title="<?php echo $cstFutureStudents->PostalAddress->FldTitle() ?>" cols="35" rows="4"<?php echo $cstFutureStudents->PostalAddress->EditAttributes() ?>><?php echo $cstFutureStudents->PostalAddress->EditValue ?></textarea>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->Designation->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->Designation->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_Designation" id="z_Designation" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->Designation->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_Designation" id="x_Designation" title="<?php echo $cstFutureStudents->Designation->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->Designation->EditValue ?>"<?php echo $cstFutureStudents->Designation->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->Department->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->Department->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->Department->EditValue ?>"<?php echo $cstFutureStudents->Department->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->CESAMemberFirm->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->CESAMemberFirm->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_CESAMemberFirm" id="z_CESAMemberFirm" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->CESAMemberFirm->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<div id="tp_x_CESAMemberFirm" class="<?php echo EW_ITEM_TEMPLATE_CLASSNAME ?>"><label><input type="radio" name="x_CESAMemberFirm" id="x_CESAMemberFirm" title="<?php echo $cstFutureStudents->CESAMemberFirm->FldTitle() ?>" value="{value}"<?php echo $cstFutureStudents->CESAMemberFirm->EditAttributes() ?>></label></div>
<div id="dsl_x_CESAMemberFirm" repeatcolumn="5">
<?php
$arwrk = $cstFutureStudents->CESAMemberFirm->EditValue;
if (is_array($arwrk)) {
	$rowswrk = count($arwrk);
	$emptywrk = TRUE;
	for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
		$selwrk = (strval($cstFutureStudents->CESAMemberFirm->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_CESAMemberFirm" id="x_CESAMemberFirm" title="<?php echo $cstFutureStudents->CESAMemberFirm->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $cstFutureStudents->CESAMemberFirm->EditAttributes() ?>><?php echo $arwrk[$rowcntwrk][1] ?></label>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 2) ?>
<?php
	}
}
?>
</div>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->CESAAccountNo->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->CESAAccountNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_CESAAccountNo" id="z_CESAAccountNo" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->CESAAccountNo->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_CESAAccountNo" id="x_CESAAccountNo" title="<?php echo $cstFutureStudents->CESAAccountNo->FldTitle() ?>" size="30" maxlength="50" value="<?php echo $cstFutureStudents->CESAAccountNo->EditValue ?>"<?php echo $cstFutureStudents->CESAAccountNo->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->VATNo->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->VATNo->FldTitle() ?>" size="30" maxlength="50" value="<?php echo $cstFutureStudents->VATNo->EditValue ?>"<?php echo $cstFutureStudents->VATNo->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->DietaryRequirements->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->DietaryRequirements->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_DietaryRequirements" id="z_DietaryRequirements" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->DietaryRequirements->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_DietaryRequirements" id="x_DietaryRequirements" title="<?php echo $cstFutureStudents->DietaryRequirements->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->DietaryRequirements->EditValue ?>"<?php echo $cstFutureStudents->DietaryRequirements->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->OrderNo->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->OrderNo->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_OrderNo" id="z_OrderNo" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->OrderNo->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_OrderNo" id="x_OrderNo" title="<?php echo $cstFutureStudents->OrderNo->FldTitle() ?>" size="30" maxlength="50" value="<?php echo $cstFutureStudents->OrderNo->EditValue ?>"<?php echo $cstFutureStudents->OrderNo->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->BookedByName->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->BookedByName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->BookedByName->EditValue ?>"<?php echo $cstFutureStudents->BookedByName->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->BookedByDesignation->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->BookedByDesignation->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->BookedByDesignation->EditValue ?>"<?php echo $cstFutureStudents->BookedByDesignation->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->BookedByTelNo->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->BookedByTelNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->BookedByTelNo->EditValue ?>"<?php echo $cstFutureStudents->BookedByTelNo->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->BookedByFaxNo->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->BookedByFaxNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->BookedByFaxNo->EditValue ?>"<?php echo $cstFutureStudents->BookedByFaxNo->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->BookedByCellNo->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->BookedByCellNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->BookedByCellNo->EditValue ?>"<?php echo $cstFutureStudents->BookedByCellNo->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->BookedByEmail->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->BookedByEmail->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->BookedByEmail->EditValue ?>"<?php echo $cstFutureStudents->BookedByEmail->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->WebUsername->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->WebUsername->FldTitle() ?>" size="30" maxlength="20" value="<?php echo $cstFutureStudents->WebUsername->EditValue ?>"<?php echo $cstFutureStudents->WebUsername->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->WebPassword->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->WebPassword->FldTitle() ?>" size="30" maxlength="20" value="<?php echo $cstFutureStudents->WebPassword->EditValue ?>"<?php echo $cstFutureStudents->WebPassword->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->MentorDesig->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->MentorDesig->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->MentorDesig->EditValue ?>"<?php echo $cstFutureStudents->MentorDesig->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->MentorTel->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->MentorTel->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->MentorTel->EditValue ?>"<?php echo $cstFutureStudents->MentorTel->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->MentorCell->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->MentorCell->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->MentorCell->EditValue ?>"<?php echo $cstFutureStudents->MentorCell->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->MentorEmail->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->MentorEmail->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->MentorEmail->EditValue ?>"<?php echo $cstFutureStudents->MentorEmail->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->HRManagerName->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->HRManagerName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->HRManagerName->EditValue ?>"<?php echo $cstFutureStudents->HRManagerName->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->HRManagerDesignation->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->HRManagerDesignation->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->HRManagerDesignation->EditValue ?>"<?php echo $cstFutureStudents->HRManagerDesignation->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->HRManagerTelNo->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->HRManagerTelNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->HRManagerTelNo->EditValue ?>"<?php echo $cstFutureStudents->HRManagerTelNo->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->HRManagerCellNo->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->HRManagerCellNo->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->HRManagerCellNo->EditValue ?>"<?php echo $cstFutureStudents->HRManagerCellNo->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->HRManagerEmail->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->HRManagerEmail->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->HRManagerEmail->EditValue ?>"<?php echo $cstFutureStudents->HRManagerEmail->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->BlockAccess->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->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 $cstFutureStudents->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 $cstFutureStudents->BlockAccess->FldTitle() ?>" value="{value}"<?php echo $cstFutureStudents->BlockAccess->EditAttributes() ?>></label></div>
<div id="dsl_x_BlockAccess" repeatcolumn="5">
<?php
$arwrk = $cstFutureStudents->BlockAccess->EditValue;
if (is_array($arwrk)) {
	$rowswrk = count($arwrk);
	$emptywrk = TRUE;
	for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
		$selwrk = (strval($cstFutureStudents->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 $cstFutureStudents->BlockAccess->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $cstFutureStudents->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 $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->Archived->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->Archived->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("=") ?><input type="hidden" name="z_Archived" id="z_Archived" value="="></span></td>
		<td<?php echo $cstFutureStudents->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; ?>"><input type="checkbox" name="x_Archived[]" id="x_Archived[]" title="<?php echo $cstFutureStudents->Archived->FldTitle() ?>" value="{value}"<?php echo $cstFutureStudents->Archived->EditAttributes() ?>></div>
<div id="dsl_x_Archived" repeatcolumn="5">
<?php
$arwrk = $cstFutureStudents->Archived->EditValue;
if (is_array($arwrk)) {
	$armultiwrk= explode(",", strval($cstFutureStudents->Archived->AdvancedSearch->SearchValue));
	$rowswrk = count($arwrk);
	$emptywrk = TRUE;
	for ($rowcntwrk = 0; $rowcntwrk < $rowswrk; $rowcntwrk++) {
		$selwrk = "";
		for ($ari = 0; $ari < count($armultiwrk); $ari++) {
			if (strval($arwrk[$rowcntwrk][0]) == trim(strval($armultiwrk[$ari]))) {
				$selwrk = " checked=\"checked\"";
				if ($selwrk <> "") $emptywrk = FALSE;
				break;
			}
		}

		// Note: No spacing within the LABEL tag
?>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 1) ?>
<label><input type="checkbox" name="x_Archived[]" id="x_Archived[]" title="<?php echo $cstFutureStudents->Archived->FldTitle() ?>" value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?><?php echo $cstFutureStudents->Archived->EditAttributes() ?>><?php echo $arwrk[$rowcntwrk][1] ?></label>
<?php echo ew_RepeatColumnTable($rowswrk, $rowcntwrk, 5, 2) ?>
<?php
	}
}
?>
</div>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->MentorFirstName->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->MentorFirstName->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_MentorFirstName" id="z_MentorFirstName" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->MentorFirstName->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_MentorFirstName" id="x_MentorFirstName" title="<?php echo $cstFutureStudents->MentorFirstName->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->MentorFirstName->EditValue ?>"<?php echo $cstFutureStudents->MentorFirstName->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
	<tr<?php echo $cstFutureStudents->RowAttributes() ?>>
		<td class="ewTableHeader"><?php echo $cstFutureStudents->MentorSurname->FldCaption() ?></td>
		<td<?php echo $cstFutureStudents->MentorSurname->CellAttributes() ?>><span class="ewSearchOpr"><?php echo $Language->Phrase("LIKE") ?><input type="hidden" name="z_MentorSurname" id="z_MentorSurname" value="LIKE"></span></td>
		<td<?php echo $cstFutureStudents->MentorSurname->CellAttributes() ?>>
			<div style="white-space: nowrap;">
				<span class="phpmaker" style="float: left;">
<input type="text" name="x_MentorSurname" id="x_MentorSurname" title="<?php echo $cstFutureStudents->MentorSurname->FldTitle() ?>" size="30" maxlength="255" value="<?php echo $cstFutureStudents->MentorSurname->EditValue ?>"<?php echo $cstFutureStudents->MentorSurname->EditAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
</table>
</div>
</td></tr></table>
<p>
<input type="submit" name="Action" id="Action" value="<?php echo ew_BtnCaption($Language->Phrase("Search")) ?>">
<input type="button" name="Reset" id="Reset" value="<?php echo ew_BtnCaption($Language->Phrase("Reset")) ?>" onclick="ew_ClearForm(this.form);">
</form>
<script language="JavaScript" type="text/javascript">
<!--

// Write your table-specific startup script here
// document.write("page loaded");
//-->

</script>
<?php include "footer.php" ?>
<?php
$cstFutureStudents_search->Page_Terminate();
?>
<?php

//
// Page class
//
class ccstFutureStudents_search {

	// Page ID
	var $PageID = 'search';

	// Table name
	var $TableName = 'cstFutureStudents';

	// Page object name
	var $PageObjName = 'cstFutureStudents_search';

	// Page name
	function PageName() {
		return ew_CurrentPage();
	}

	// Page URL
	function PageUrl() {
		$PageUrl = ew_CurrentPage() . "?";
		global $cstFutureStudents;
		if ($cstFutureStudents->UseTokenInUrl) $PageUrl .= "t=" . $cstFutureStudents->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, $cstFutureStudents;
		if ($cstFutureStudents->UseTokenInUrl) {
			if ($objForm)
				return ($cstFutureStudents->TableVar == $objForm->GetValue("t"));
			if (@$_GET["t"] <> "")
				return ($cstFutureStudents->TableVar == $_GET["t"]);
		} else {
			return TRUE;
		}
	}

	//
	// Page class constructor
	//
	function __construct() {
		global $conn, $Language;

		// Language object
		$Language = new cLanguage();

		// Table object (cstFutureStudents)
		$GLOBALS["cstFutureStudents"] = new ccstFutureStudents();

		// Table object (CCEUsers)
		$GLOBALS['CCEUsers'] = new cCCEUsers();

		// 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", 'cstFutureStudents', 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 $cstFutureStudents;

		// 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("cstFutureStudentslist.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, $cstFutureStudents;
		if ($this->IsPageRequest()) { // Validate request

			// Get action
			$cstFutureStudents->CurrentAction = $objForm->GetValue("a_search");
			switch ($cstFutureStudents->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 = $cstFutureStudents->UrlParm($sSrchStr);
						$this->Page_Terminate("cstFutureStudentslist.php" . "?" . $sSrchStr); // Go to list page
					}
			}
		}

		// Restore search settings from Session
		if ($gsSearchError == "")
			$this->LoadAdvancedSearch();

		// Render row for search
		$cstFutureStudents->RowType = EW_ROWTYPE_SEARCH;
		$this->RenderRow();
	}

// Build advanced search
function BuildAdvancedSearch() {
	global $cstFutureStudents;
	$sSrchUrl = "";
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->CCEStudentID); // CCEStudentID
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->Title); // Title
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->FirstName); // FirstName
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->Surname); // Surname
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->KnownAs); // KnownAs
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->Organisation); // Organisation
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->OrganisationType); // OrganisationType
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->LengthEmploy); // LengthEmploy
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->OtherCEFirms); // OtherCEFirms
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->StudentNumber); // StudentNumber
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->CCEFacilitatorID); // CCEFacilitatorID
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->Project); // Project
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->ProjectDiscipline); // ProjectDiscipline
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->IDNumber); // IDNumber
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->ECSARegistered); // ECSARegistered
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->ECSACategory); // ECSACategory
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->ECSANumber); // ECSANumber
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->OtherStatutoryBodyRegistered); // OtherStatutoryBodyRegistered
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->OtherStatutoryBodyName); // OtherStatutoryBodyName
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->OtherStatutoryBodyNumber); // OtherStatutoryBodyNumber
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->Age); // Age
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->HighestQual); // HighestQual
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->AreaDiscipline); // AreaDiscipline
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->Telephone); // Telephone
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->Cellphone); // Cellphone
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->EmailAddress); // EmailAddress
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->HomeAddress); // HomeAddress
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->WorkAddress); // WorkAddress
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->PostalAddress); // PostalAddress
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->Designation); // Designation
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->Department); // Department
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->CESAMemberFirm); // CESAMemberFirm
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->CESAAccountNo); // CESAAccountNo
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->VATNo); // VATNo
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->DietaryRequirements); // DietaryRequirements
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->OrderNo); // OrderNo
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->BookedByName); // BookedByName
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->BookedByDesignation); // BookedByDesignation
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->BookedByTelNo); // BookedByTelNo
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->BookedByFaxNo); // BookedByFaxNo
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->BookedByCellNo); // BookedByCellNo
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->BookedByEmail); // BookedByEmail
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->WebUsername); // WebUsername
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->WebPassword); // WebPassword
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->MentorDesig); // MentorDesig
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->MentorTel); // MentorTel
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->MentorCell); // MentorCell
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->MentorEmail); // MentorEmail
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->HRManagerName); // HRManagerName
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->HRManagerDesignation); // HRManagerDesignation
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->HRManagerTelNo); // HRManagerTelNo
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->HRManagerCellNo); // HRManagerCellNo
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->HRManagerEmail); // HRManagerEmail
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->BlockAccess); // BlockAccess
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->Archived); // Archived
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->MentorFirstName); // MentorFirstName
	$this->BuildSearchUrl($sSrchUrl, $cstFutureStudents->MentorSurname); // MentorSurname
	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, $cstFutureStudents;

		// Load search values
		// CCEStudentID

		$cstFutureStudents->CCEStudentID->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_CCEStudentID"));
		$cstFutureStudents->CCEStudentID->AdvancedSearch->SearchOperator = $objForm->GetValue("z_CCEStudentID");

		// Title
		$cstFutureStudents->Title->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Title"));
		$cstFutureStudents->Title->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Title");

		// FirstName
		$cstFutureStudents->FirstName->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_FirstName"));
		$cstFutureStudents->FirstName->AdvancedSearch->SearchOperator = $objForm->GetValue("z_FirstName");

		// Surname
		$cstFutureStudents->Surname->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Surname"));
		$cstFutureStudents->Surname->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Surname");

		// KnownAs
		$cstFutureStudents->KnownAs->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_KnownAs"));
		$cstFutureStudents->KnownAs->AdvancedSearch->SearchOperator = $objForm->GetValue("z_KnownAs");

		// Organisation
		$cstFutureStudents->Organisation->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Organisation"));
		$cstFutureStudents->Organisation->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Organisation");

		// OrganisationType
		$cstFutureStudents->OrganisationType->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_OrganisationType"));
		$cstFutureStudents->OrganisationType->AdvancedSearch->SearchOperator = $objForm->GetValue("z_OrganisationType");

		// LengthEmploy
		$cstFutureStudents->LengthEmploy->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_LengthEmploy"));
		$cstFutureStudents->LengthEmploy->AdvancedSearch->SearchOperator = $objForm->GetValue("z_LengthEmploy");

		// OtherCEFirms
		$cstFutureStudents->OtherCEFirms->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_OtherCEFirms"));
		$cstFutureStudents->OtherCEFirms->AdvancedSearch->SearchOperator = $objForm->GetValue("z_OtherCEFirms");

		// StudentNumber
		$cstFutureStudents->StudentNumber->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_StudentNumber"));
		$cstFutureStudents->StudentNumber->AdvancedSearch->SearchOperator = $objForm->GetValue("z_StudentNumber");

		// CCEFacilitatorID
		$cstFutureStudents->CCEFacilitatorID->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_CCEFacilitatorID"));
		$cstFutureStudents->CCEFacilitatorID->AdvancedSearch->SearchOperator = $objForm->GetValue("z_CCEFacilitatorID");

		// Project
		$cstFutureStudents->Project->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Project"));
		$cstFutureStudents->Project->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Project");

		// ProjectDiscipline
		$cstFutureStudents->ProjectDiscipline->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_ProjectDiscipline"));
		$cstFutureStudents->ProjectDiscipline->AdvancedSearch->SearchOperator = $objForm->GetValue("z_ProjectDiscipline");

		// IDNumber
		$cstFutureStudents->IDNumber->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_IDNumber"));
		$cstFutureStudents->IDNumber->AdvancedSearch->SearchOperator = $objForm->GetValue("z_IDNumber");

		// ECSARegistered
		$cstFutureStudents->ECSARegistered->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_ECSARegistered"));
		$cstFutureStudents->ECSARegistered->AdvancedSearch->SearchOperator = $objForm->GetValue("z_ECSARegistered");

		// ECSACategory
		$cstFutureStudents->ECSACategory->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_ECSACategory"));
		$cstFutureStudents->ECSACategory->AdvancedSearch->SearchOperator = $objForm->GetValue("z_ECSACategory");

		// ECSANumber
		$cstFutureStudents->ECSANumber->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_ECSANumber"));
		$cstFutureStudents->ECSANumber->AdvancedSearch->SearchOperator = $objForm->GetValue("z_ECSANumber");

		// OtherStatutoryBodyRegistered
		$cstFutureStudents->OtherStatutoryBodyRegistered->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_OtherStatutoryBodyRegistered"));
		$cstFutureStudents->OtherStatutoryBodyRegistered->AdvancedSearch->SearchOperator = $objForm->GetValue("z_OtherStatutoryBodyRegistered");

		// OtherStatutoryBodyName
		$cstFutureStudents->OtherStatutoryBodyName->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_OtherStatutoryBodyName"));
		$cstFutureStudents->OtherStatutoryBodyName->AdvancedSearch->SearchOperator = $objForm->GetValue("z_OtherStatutoryBodyName");

		// OtherStatutoryBodyNumber
		$cstFutureStudents->OtherStatutoryBodyNumber->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_OtherStatutoryBodyNumber"));
		$cstFutureStudents->OtherStatutoryBodyNumber->AdvancedSearch->SearchOperator = $objForm->GetValue("z_OtherStatutoryBodyNumber");

		// Age
		$cstFutureStudents->Age->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Age"));
		$cstFutureStudents->Age->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Age");

		// HighestQual
		$cstFutureStudents->HighestQual->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HighestQual"));
		$cstFutureStudents->HighestQual->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HighestQual");

		// AreaDiscipline
		$cstFutureStudents->AreaDiscipline->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_AreaDiscipline"));
		$cstFutureStudents->AreaDiscipline->AdvancedSearch->SearchOperator = $objForm->GetValue("z_AreaDiscipline");

		// Telephone
		$cstFutureStudents->Telephone->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Telephone"));
		$cstFutureStudents->Telephone->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Telephone");

		// Cellphone
		$cstFutureStudents->Cellphone->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Cellphone"));
		$cstFutureStudents->Cellphone->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Cellphone");

		// EmailAddress
		$cstFutureStudents->EmailAddress->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_EmailAddress"));
		$cstFutureStudents->EmailAddress->AdvancedSearch->SearchOperator = $objForm->GetValue("z_EmailAddress");

		// HomeAddress
		$cstFutureStudents->HomeAddress->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HomeAddress"));
		$cstFutureStudents->HomeAddress->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HomeAddress");

		// WorkAddress
		$cstFutureStudents->WorkAddress->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_WorkAddress"));
		$cstFutureStudents->WorkAddress->AdvancedSearch->SearchOperator = $objForm->GetValue("z_WorkAddress");

		// PostalAddress
		$cstFutureStudents->PostalAddress->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_PostalAddress"));
		$cstFutureStudents->PostalAddress->AdvancedSearch->SearchOperator = $objForm->GetValue("z_PostalAddress");

		// Designation
		$cstFutureStudents->Designation->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Designation"));
		$cstFutureStudents->Designation->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Designation");

		// Department
		$cstFutureStudents->Department->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Department"));
		$cstFutureStudents->Department->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Department");

		// CESAMemberFirm
		$cstFutureStudents->CESAMemberFirm->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_CESAMemberFirm"));
		$cstFutureStudents->CESAMemberFirm->AdvancedSearch->SearchOperator = $objForm->GetValue("z_CESAMemberFirm");

		// CESAAccountNo
		$cstFutureStudents->CESAAccountNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_CESAAccountNo"));
		$cstFutureStudents->CESAAccountNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_CESAAccountNo");

		// VATNo
		$cstFutureStudents->VATNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_VATNo"));
		$cstFutureStudents->VATNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_VATNo");

		// DietaryRequirements
		$cstFutureStudents->DietaryRequirements->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_DietaryRequirements"));
		$cstFutureStudents->DietaryRequirements->AdvancedSearch->SearchOperator = $objForm->GetValue("z_DietaryRequirements");

		// OrderNo
		$cstFutureStudents->OrderNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_OrderNo"));
		$cstFutureStudents->OrderNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_OrderNo");

		// BookedByName
		$cstFutureStudents->BookedByName->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByName"));
		$cstFutureStudents->BookedByName->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByName");

		// BookedByDesignation
		$cstFutureStudents->BookedByDesignation->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByDesignation"));
		$cstFutureStudents->BookedByDesignation->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByDesignation");

		// BookedByTelNo
		$cstFutureStudents->BookedByTelNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByTelNo"));
		$cstFutureStudents->BookedByTelNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByTelNo");

		// BookedByFaxNo
		$cstFutureStudents->BookedByFaxNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByFaxNo"));
		$cstFutureStudents->BookedByFaxNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByFaxNo");

		// BookedByCellNo
		$cstFutureStudents->BookedByCellNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByCellNo"));
		$cstFutureStudents->BookedByCellNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByCellNo");

		// BookedByEmail
		$cstFutureStudents->BookedByEmail->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BookedByEmail"));
		$cstFutureStudents->BookedByEmail->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BookedByEmail");

		// WebUsername
		$cstFutureStudents->WebUsername->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_WebUsername"));
		$cstFutureStudents->WebUsername->AdvancedSearch->SearchOperator = $objForm->GetValue("z_WebUsername");

		// WebPassword
		$cstFutureStudents->WebPassword->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_WebPassword"));
		$cstFutureStudents->WebPassword->AdvancedSearch->SearchOperator = $objForm->GetValue("z_WebPassword");

		// MentorDesig
		$cstFutureStudents->MentorDesig->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorDesig"));
		$cstFutureStudents->MentorDesig->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorDesig");

		// MentorTel
		$cstFutureStudents->MentorTel->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorTel"));
		$cstFutureStudents->MentorTel->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorTel");

		// MentorCell
		$cstFutureStudents->MentorCell->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorCell"));
		$cstFutureStudents->MentorCell->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorCell");

		// MentorEmail
		$cstFutureStudents->MentorEmail->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorEmail"));
		$cstFutureStudents->MentorEmail->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorEmail");

		// HRManagerName
		$cstFutureStudents->HRManagerName->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HRManagerName"));
		$cstFutureStudents->HRManagerName->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HRManagerName");

		// HRManagerDesignation
		$cstFutureStudents->HRManagerDesignation->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HRManagerDesignation"));
		$cstFutureStudents->HRManagerDesignation->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HRManagerDesignation");

		// HRManagerTelNo
		$cstFutureStudents->HRManagerTelNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HRManagerTelNo"));
		$cstFutureStudents->HRManagerTelNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HRManagerTelNo");

		// HRManagerCellNo
		$cstFutureStudents->HRManagerCellNo->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HRManagerCellNo"));
		$cstFutureStudents->HRManagerCellNo->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HRManagerCellNo");

		// HRManagerEmail
		$cstFutureStudents->HRManagerEmail->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_HRManagerEmail"));
		$cstFutureStudents->HRManagerEmail->AdvancedSearch->SearchOperator = $objForm->GetValue("z_HRManagerEmail");

		// BlockAccess
		$cstFutureStudents->BlockAccess->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_BlockAccess"));
		$cstFutureStudents->BlockAccess->AdvancedSearch->SearchOperator = $objForm->GetValue("z_BlockAccess");

		// Archived
		$cstFutureStudents->Archived->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_Archived"));
		$cstFutureStudents->Archived->AdvancedSearch->SearchOperator = $objForm->GetValue("z_Archived");

		// MentorFirstName
		$cstFutureStudents->MentorFirstName->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorFirstName"));
		$cstFutureStudents->MentorFirstName->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorFirstName");

		// MentorSurname
		$cstFutureStudents->MentorSurname->AdvancedSearch->SearchValue = ew_StripSlashes($objForm->GetValue("x_MentorSurname"));
		$cstFutureStudents->MentorSurname->AdvancedSearch->SearchOperator = $objForm->GetValue("z_MentorSurname");
	}

	// Render row values based on field settings
	function RenderRow() {
		global $conn, $Security, $Language, $cstFutureStudents;

		// Initialize URLs
		// Call Row_Rendering event

		$cstFutureStudents->Row_Rendering();

		// Common render codes for all row types
		// CCEStudentID

		$cstFutureStudents->CCEStudentID->CellCssStyle = ""; $cstFutureStudents->CCEStudentID->CellCssClass = "";
		$cstFutureStudents->CCEStudentID->CellAttrs = array(); $cstFutureStudents->CCEStudentID->ViewAttrs = array(); $cstFutureStudents->CCEStudentID->EditAttrs = array();

		// Title
		$cstFutureStudents->Title->CellCssStyle = ""; $cstFutureStudents->Title->CellCssClass = "";
		$cstFutureStudents->Title->CellAttrs = array(); $cstFutureStudents->Title->ViewAttrs = array(); $cstFutureStudents->Title->EditAttrs = array();

		// FirstName
		$cstFutureStudents->FirstName->CellCssStyle = ""; $cstFutureStudents->FirstName->CellCssClass = "";
		$cstFutureStudents->FirstName->CellAttrs = array(); $cstFutureStudents->FirstName->ViewAttrs = array(); $cstFutureStudents->FirstName->EditAttrs = array();

		// Surname
		$cstFutureStudents->Surname->CellCssStyle = ""; $cstFutureStudents->Surname->CellCssClass = "";
		$cstFutureStudents->Surname->CellAttrs = array(); $cstFutureStudents->Surname->ViewAttrs = array(); $cstFutureStudents->Surname->EditAttrs = array();

		// KnownAs
		$cstFutureStudents->KnownAs->CellCssStyle = ""; $cstFutureStudents->KnownAs->CellCssClass = "";
		$cstFutureStudents->KnownAs->CellAttrs = array(); $cstFutureStudents->KnownAs->ViewAttrs = array(); $cstFutureStudents->KnownAs->EditAttrs = array();

		// Organisation
		$cstFutureStudents->Organisation->CellCssStyle = ""; $cstFutureStudents->Organisation->CellCssClass = "";
		$cstFutureStudents->Organisation->CellAttrs = array(); $cstFutureStudents->Organisation->ViewAttrs = array(); $cstFutureStudents->Organisation->EditAttrs = array();

		// OrganisationType
		$cstFutureStudents->OrganisationType->CellCssStyle = ""; $cstFutureStudents->OrganisationType->CellCssClass = "";
		$cstFutureStudents->OrganisationType->CellAttrs = array(); $cstFutureStudents->OrganisationType->ViewAttrs = array(); $cstFutureStudents->OrganisationType->EditAttrs = array();

		// LengthEmploy
		$cstFutureStudents->LengthEmploy->CellCssStyle = ""; $cstFutureStudents->LengthEmploy->CellCssClass = "";
		$cstFutureStudents->LengthEmploy->CellAttrs = array(); $cstFutureStudents->LengthEmploy->ViewAttrs = array(); $cstFutureStudents->LengthEmploy->EditAttrs = array();

		// OtherCEFirms
		$cstFutureStudents->OtherCEFirms->CellCssStyle = ""; $cstFutureStudents->OtherCEFirms->CellCssClass = "";
		$cstFutureStudents->OtherCEFirms->CellAttrs = array(); $cstFutureStudents->OtherCEFirms->ViewAttrs = array(); $cstFutureStudents->OtherCEFirms->EditAttrs = array();

		// StudentNumber
		$cstFutureStudents->StudentNumber->CellCssStyle = ""; $cstFutureStudents->StudentNumber->CellCssClass = "";
		$cstFutureStudents->StudentNumber->CellAttrs = array(); $cstFutureStudents->StudentNumber->ViewAttrs = array(); $cstFutureStudents->StudentNumber->EditAttrs = array();

		// CCEFacilitatorID
		$cstFutureStudents->CCEFacilitatorID->CellCssStyle = ""; $cstFutureStudents->CCEFacilitatorID->CellCssClass = "";
		$cstFutureStudents->CCEFacilitatorID->CellAttrs = array(); $cstFutureStudents->CCEFacilitatorID->ViewAttrs = array(); $cstFutureStudents->CCEFacilitatorID->EditAttrs = array();

		// Project
		$cstFutureStudents->Project->CellCssStyle = ""; $cstFutureStudents->Project->CellCssClass = "";
		$cstFutureStudents->Project->CellAttrs = array(); $cstFutureStudents->Project->ViewAttrs = array(); $cstFutureStudents->Project->EditAttrs = array();

		// ProjectDiscipline
		$cstFutureStudents->ProjectDiscipline->CellCssStyle = ""; $cstFutureStudents->ProjectDiscipline->CellCssClass = "";
		$cstFutureStudents->ProjectDiscipline->CellAttrs = array(); $cstFutureStudents->ProjectDiscipline->ViewAttrs = array(); $cstFutureStudents->ProjectDiscipline->EditAttrs = array();

		// IDNumber
		$cstFutureStudents->IDNumber->CellCssStyle = ""; $cstFutureStudents->IDNumber->CellCssClass = "";
		$cstFutureStudents->IDNumber->CellAttrs = array(); $cstFutureStudents->IDNumber->ViewAttrs = array(); $cstFutureStudents->IDNumber->EditAttrs = array();

		// ECSARegistered
		$cstFutureStudents->ECSARegistered->CellCssStyle = ""; $cstFutureStudents->ECSARegistered->CellCssClass = "";
		$cstFutureStudents->ECSARegistered->CellAttrs = array(); $cstFutureStudents->ECSARegistered->ViewAttrs = array(); $cstFutureStudents->ECSARegistered->EditAttrs = array();

		// ECSACategory
		$cstFutureStudents->ECSACategory->CellCssStyle = ""; $cstFutureStudents->ECSACategory->CellCssClass = "";
		$cstFutureStudents->ECSACategory->CellAttrs = array(); $cstFutureStudents->ECSACategory->ViewAttrs = array(); $cstFutureStudents->ECSACategory->EditAttrs = array();

		// ECSANumber
		$cstFutureStudents->ECSANumber->CellCssStyle = ""; $cstFutureStudents->ECSANumber->CellCssClass = "";
		$cstFutureStudents->ECSANumber->CellAttrs = array(); $cstFutureStudents->ECSANumber->ViewAttrs = array(); $cstFutureStudents->ECSANumber->EditAttrs = array();

		// OtherStatutoryBodyRegistered
		$cstFutureStudents->OtherStatutoryBodyRegistered->CellCssStyle = ""; $cstFutureStudents->OtherStatutoryBodyRegistered->CellCssClass = "";
		$cstFutureStudents->OtherStatutoryBodyRegistered->CellAttrs = array(); $cstFutureStudents->OtherStatutoryBodyRegistered->ViewAttrs = array(); $cstFutureStudents->OtherStatutoryBodyRegistered->EditAttrs = array();

		// OtherStatutoryBodyName
		$cstFutureStudents->OtherStatutoryBodyName->CellCssStyle = ""; $cstFutureStudents->OtherStatutoryBodyName->CellCssClass = "";
		$cstFutureStudents->OtherStatutoryBodyName->CellAttrs = array(); $cstFutureStudents->OtherStatutoryBodyName->ViewAttrs = array(); $cstFutureStudents->OtherStatutoryBodyName->EditAttrs = array();

		// OtherStatutoryBodyNumber
		$cstFutureStudents->OtherStatutoryBodyNumber->CellCssStyle = ""; $cstFutureStudents->OtherStatutoryBodyNumber->CellCssClass = "";
		$cstFutureStudents->OtherStatutoryBodyNumber->CellAttrs = array(); $cstFutureStudents->OtherStatutoryBodyNumber->ViewAttrs = array(); $cstFutureStudents->OtherStatutoryBodyNumber->EditAttrs = array();

		// Age
		$cstFutureStudents->Age->CellCssStyle = ""; $cstFutureStudents->Age->CellCssClass = "";
		$cstFutureStudents->Age->CellAttrs = array(); $cstFutureStudents->Age->ViewAttrs = array(); $cstFutureStudents->Age->EditAttrs = array();

		// HighestQual
		$cstFutureStudents->HighestQual->CellCssStyle = ""; $cstFutureStudents->HighestQual->CellCssClass = "";
		$cstFutureStudents->HighestQual->CellAttrs = array(); $cstFutureStudents->HighestQual->ViewAttrs = array(); $cstFutureStudents->HighestQual->EditAttrs = array();

		// AreaDiscipline
		$cstFutureStudents->AreaDiscipline->CellCssStyle = ""; $cstFutureStudents->AreaDiscipline->CellCssClass = "";
		$cstFutureStudents->AreaDiscipline->CellAttrs = array(); $cstFutureStudents->AreaDiscipline->ViewAttrs = array(); $cstFutureStudents->AreaDiscipline->EditAttrs = array();

		// Telephone
		$cstFutureStudents->Telephone->CellCssStyle = ""; $cstFutureStudents->Telephone->CellCssClass = "";
		$cstFutureStudents->Telephone->CellAttrs = array(); $cstFutureStudents->Telephone->ViewAttrs = array(); $cstFutureStudents->Telephone->EditAttrs = array();

		// Cellphone
		$cstFutureStudents->Cellphone->CellCssStyle = ""; $cstFutureStudents->Cellphone->CellCssClass = "";
		$cstFutureStudents->Cellphone->CellAttrs = array(); $cstFutureStudents->Cellphone->ViewAttrs = array(); $cstFutureStudents->Cellphone->EditAttrs = array();

		// EmailAddress
		$cstFutureStudents->EmailAddress->CellCssStyle = ""; $cstFutureStudents->EmailAddress->CellCssClass = "";
		$cstFutureStudents->EmailAddress->CellAttrs = array(); $cstFutureStudents->EmailAddress->ViewAttrs = array(); $cstFutureStudents->EmailAddress->EditAttrs = array();

		// HomeAddress
		$cstFutureStudents->HomeAddress->CellCssStyle = ""; $cstFutureStudents->HomeAddress->CellCssClass = "";
		$cstFutureStudents->HomeAddress->CellAttrs = array(); $cstFutureStudents->HomeAddress->ViewAttrs = array(); $cstFutureStudents->HomeAddress->EditAttrs = array();

		// WorkAddress
		$cstFutureStudents->WorkAddress->CellCssStyle = ""; $cstFutureStudents->WorkAddress->CellCssClass = "";
		$cstFutureStudents->WorkAddress->CellAttrs = array(); $cstFutureStudents->WorkAddress->ViewAttrs = array(); $cstFutureStudents->WorkAddress->EditAttrs = array();

		// PostalAddress
		$cstFutureStudents->PostalAddress->CellCssStyle = ""; $cstFutureStudents->PostalAddress->CellCssClass = "";
		$cstFutureStudents->PostalAddress->CellAttrs = array(); $cstFutureStudents->PostalAddress->ViewAttrs = array(); $cstFutureStudents->PostalAddress->EditAttrs = array();

		// Designation
		$cstFutureStudents->Designation->CellCssStyle = ""; $cstFutureStudents->Designation->CellCssClass = "";
		$cstFutureStudents->Designation->CellAttrs = array(); $cstFutureStudents->Designation->ViewAttrs = array(); $cstFutureStudents->Designation->EditAttrs = array();

		// Department
		$cstFutureStudents->Department->CellCssStyle = ""; $cstFutureStudents->Department->CellCssClass = "";
		$cstFutureStudents->Department->CellAttrs = array(); $cstFutureStudents->Department->ViewAttrs = array(); $cstFutureStudents->Department->EditAttrs = array();

		// CESAMemberFirm
		$cstFutureStudents->CESAMemberFirm->CellCssStyle = ""; $cstFutureStudents->CESAMemberFirm->CellCssClass = "";
		$cstFutureStudents->CESAMemberFirm->CellAttrs = array(); $cstFutureStudents->CESAMemberFirm->ViewAttrs = array(); $cstFutureStudents->CESAMemberFirm->EditAttrs = array();

		// CESAAccountNo
		$cstFutureStudents->CESAAccountNo->CellCssStyle = ""; $cstFutureStudents->CESAAccountNo->CellCssClass = "";
		$cstFutureStudents->CESAAccountNo->CellAttrs = array(); $cstFutureStudents->CESAAccountNo->ViewAttrs = array(); $cstFutureStudents->CESAAccountNo->EditAttrs = array();

		// VATNo
		$cstFutureStudents->VATNo->CellCssStyle = ""; $cstFutureStudents->VATNo->CellCssClass = "";
		$cstFutureStudents->VATNo->CellAttrs = array(); $cstFutureStudents->VATNo->ViewAttrs = array(); $cstFutureStudents->VATNo->EditAttrs = array();

		// DietaryRequirements
		$cstFutureStudents->DietaryRequirements->CellCssStyle = ""; $cstFutureStudents->DietaryRequirements->CellCssClass = "";
		$cstFutureStudents->DietaryRequirements->CellAttrs = array(); $cstFutureStudents->DietaryRequirements->ViewAttrs = array(); $cstFutureStudents->DietaryRequirements->EditAttrs = array();

		// IDFile
		$cstFutureStudents->IDFile->CellCssStyle = ""; $cstFutureStudents->IDFile->CellCssClass = "";
		$cstFutureStudents->IDFile->CellAttrs = array(); $cstFutureStudents->IDFile->ViewAttrs = array(); $cstFutureStudents->IDFile->EditAttrs = array();

		// CVFile
		$cstFutureStudents->CVFile->CellCssStyle = ""; $cstFutureStudents->CVFile->CellCssClass = "";
		$cstFutureStudents->CVFile->CellAttrs = array(); $cstFutureStudents->CVFile->ViewAttrs = array(); $cstFutureStudents->CVFile->EditAttrs = array();

		// QualCertificate1
		$cstFutureStudents->QualCertificate1->CellCssStyle = ""; $cstFutureStudents->QualCertificate1->CellCssClass = "";
		$cstFutureStudents->QualCertificate1->CellAttrs = array(); $cstFutureStudents->QualCertificate1->ViewAttrs = array(); $cstFutureStudents->QualCertificate1->EditAttrs = array();

		// QualCertificate2
		$cstFutureStudents->QualCertificate2->CellCssStyle = ""; $cstFutureStudents->QualCertificate2->CellCssClass = "";
		$cstFutureStudents->QualCertificate2->CellAttrs = array(); $cstFutureStudents->QualCertificate2->ViewAttrs = array(); $cstFutureStudents->QualCertificate2->EditAttrs = array();

		// QualCertificate3
		$cstFutureStudents->QualCertificate3->CellCssStyle = ""; $cstFutureStudents->QualCertificate3->CellCssClass = "";
		$cstFutureStudents->QualCertificate3->CellAttrs = array(); $cstFutureStudents->QualCertificate3->ViewAttrs = array(); $cstFutureStudents->QualCertificate3->EditAttrs = array();

		// MemorandumFile
		$cstFutureStudents->MemorandumFile->CellCssStyle = ""; $cstFutureStudents->MemorandumFile->CellCssClass = "";
		$cstFutureStudents->MemorandumFile->CellAttrs = array(); $cstFutureStudents->MemorandumFile->ViewAttrs = array(); $cstFutureStudents->MemorandumFile->EditAttrs = array();

		// AgreementFile
		$cstFutureStudents->AgreementFile->CellCssStyle = ""; $cstFutureStudents->AgreementFile->CellCssClass = "";
		$cstFutureStudents->AgreementFile->CellAttrs = array(); $cstFutureStudents->AgreementFile->ViewAttrs = array(); $cstFutureStudents->AgreementFile->EditAttrs = array();

		// OrderNo
		$cstFutureStudents->OrderNo->CellCssStyle = ""; $cstFutureStudents->OrderNo->CellCssClass = "";
		$cstFutureStudents->OrderNo->CellAttrs = array(); $cstFutureStudents->OrderNo->ViewAttrs = array(); $cstFutureStudents->OrderNo->EditAttrs = array();

		// BookedByName
		$cstFutureStudents->BookedByName->CellCssStyle = ""; $cstFutureStudents->BookedByName->CellCssClass = "";
		$cstFutureStudents->BookedByName->CellAttrs = array(); $cstFutureStudents->BookedByName->ViewAttrs = array(); $cstFutureStudents->BookedByName->EditAttrs = array();

		// BookedByDesignation
		$cstFutureStudents->BookedByDesignation->CellCssStyle = ""; $cstFutureStudents->BookedByDesignation->CellCssClass = "";
		$cstFutureStudents->BookedByDesignation->CellAttrs = array(); $cstFutureStudents->BookedByDesignation->ViewAttrs = array(); $cstFutureStudents->BookedByDesignation->EditAttrs = array();

		// BookedByTelNo
		$cstFutureStudents->BookedByTelNo->CellCssStyle = ""; $cstFutureStudents->BookedByTelNo->CellCssClass = "";
		$cstFutureStudents->BookedByTelNo->CellAttrs = array(); $cstFutureStudents->BookedByTelNo->ViewAttrs = array(); $cstFutureStudents->BookedByTelNo->EditAttrs = array();

		// BookedByFaxNo
		$cstFutureStudents->BookedByFaxNo->CellCssStyle = ""; $cstFutureStudents->BookedByFaxNo->CellCssClass = "";
		$cstFutureStudents->BookedByFaxNo->CellAttrs = array(); $cstFutureStudents->BookedByFaxNo->ViewAttrs = array(); $cstFutureStudents->BookedByFaxNo->EditAttrs = array();

		// BookedByCellNo
		$cstFutureStudents->BookedByCellNo->CellCssStyle = ""; $cstFutureStudents->BookedByCellNo->CellCssClass = "";
		$cstFutureStudents->BookedByCellNo->CellAttrs = array(); $cstFutureStudents->BookedByCellNo->ViewAttrs = array(); $cstFutureStudents->BookedByCellNo->EditAttrs = array();

		// BookedByEmail
		$cstFutureStudents->BookedByEmail->CellCssStyle = ""; $cstFutureStudents->BookedByEmail->CellCssClass = "";
		$cstFutureStudents->BookedByEmail->CellAttrs = array(); $cstFutureStudents->BookedByEmail->ViewAttrs = array(); $cstFutureStudents->BookedByEmail->EditAttrs = array();

		// WebUsername
		$cstFutureStudents->WebUsername->CellCssStyle = ""; $cstFutureStudents->WebUsername->CellCssClass = "";
		$cstFutureStudents->WebUsername->CellAttrs = array(); $cstFutureStudents->WebUsername->ViewAttrs = array(); $cstFutureStudents->WebUsername->EditAttrs = array();

		// WebPassword
		$cstFutureStudents->WebPassword->CellCssStyle = ""; $cstFutureStudents->WebPassword->CellCssClass = "";
		$cstFutureStudents->WebPassword->CellAttrs = array(); $cstFutureStudents->WebPassword->ViewAttrs = array(); $cstFutureStudents->WebPassword->EditAttrs = array();

		// MentorDesig
		$cstFutureStudents->MentorDesig->CellCssStyle = ""; $cstFutureStudents->MentorDesig->CellCssClass = "";
		$cstFutureStudents->MentorDesig->CellAttrs = array(); $cstFutureStudents->MentorDesig->ViewAttrs = array(); $cstFutureStudents->MentorDesig->EditAttrs = array();

		// MentorTel
		$cstFutureStudents->MentorTel->CellCssStyle = ""; $cstFutureStudents->MentorTel->CellCssClass = "";
		$cstFutureStudents->MentorTel->CellAttrs = array(); $cstFutureStudents->MentorTel->ViewAttrs = array(); $cstFutureStudents->MentorTel->EditAttrs = array();

		// MentorCell
		$cstFutureStudents->MentorCell->CellCssStyle = ""; $cstFutureStudents->MentorCell->CellCssClass = "";
		$cstFutureStudents->MentorCell->CellAttrs = array(); $cstFutureStudents->MentorCell->ViewAttrs = array(); $cstFutureStudents->MentorCell->EditAttrs = array();

		// MentorEmail
		$cstFutureStudents->MentorEmail->CellCssStyle = ""; $cstFutureStudents->MentorEmail->CellCssClass = "";
		$cstFutureStudents->MentorEmail->CellAttrs = array(); $cstFutureStudents->MentorEmail->ViewAttrs = array(); $cstFutureStudents->MentorEmail->EditAttrs = array();

		// HRManagerName
		$cstFutureStudents->HRManagerName->CellCssStyle = ""; $cstFutureStudents->HRManagerName->CellCssClass = "";
		$cstFutureStudents->HRManagerName->CellAttrs = array(); $cstFutureStudents->HRManagerName->ViewAttrs = array(); $cstFutureStudents->HRManagerName->EditAttrs = array();

		// HRManagerDesignation
		$cstFutureStudents->HRManagerDesignation->CellCssStyle = ""; $cstFutureStudents->HRManagerDesignation->CellCssClass = "";
		$cstFutureStudents->HRManagerDesignation->CellAttrs = array(); $cstFutureStudents->HRManagerDesignation->ViewAttrs = array(); $cstFutureStudents->HRManagerDesignation->EditAttrs = array();

		// HRManagerTelNo
		$cstFutureStudents->HRManagerTelNo->CellCssStyle = ""; $cstFutureStudents->HRManagerTelNo->CellCssClass = "";
		$cstFutureStudents->HRManagerTelNo->CellAttrs = array(); $cstFutureStudents->HRManagerTelNo->ViewAttrs = array(); $cstFutureStudents->HRManagerTelNo->EditAttrs = array();

		// HRManagerCellNo
		$cstFutureStudents->HRManagerCellNo->CellCssStyle = ""; $cstFutureStudents->HRManagerCellNo->CellCssClass = "";
		$cstFutureStudents->HRManagerCellNo->CellAttrs = array(); $cstFutureStudents->HRManagerCellNo->ViewAttrs = array(); $cstFutureStudents->HRManagerCellNo->EditAttrs = array();

		// HRManagerEmail
		$cstFutureStudents->HRManagerEmail->CellCssStyle = ""; $cstFutureStudents->HRManagerEmail->CellCssClass = "";
		$cstFutureStudents->HRManagerEmail->CellAttrs = array(); $cstFutureStudents->HRManagerEmail->ViewAttrs = array(); $cstFutureStudents->HRManagerEmail->EditAttrs = array();

		// BlockAccess
		$cstFutureStudents->BlockAccess->CellCssStyle = ""; $cstFutureStudents->BlockAccess->CellCssClass = "";
		$cstFutureStudents->BlockAccess->CellAttrs = array(); $cstFutureStudents->BlockAccess->ViewAttrs = array(); $cstFutureStudents->BlockAccess->EditAttrs = array();

		// Archived
		$cstFutureStudents->Archived->CellCssStyle = ""; $cstFutureStudents->Archived->CellCssClass = "";
		$cstFutureStudents->Archived->CellAttrs = array(); $cstFutureStudents->Archived->ViewAttrs = array(); $cstFutureStudents->Archived->EditAttrs = array();

		// MentorFirstName
		$cstFutureStudents->MentorFirstName->CellCssStyle = ""; $cstFutureStudents->MentorFirstName->CellCssClass = "";
		$cstFutureStudents->MentorFirstName->CellAttrs = array(); $cstFutureStudents->MentorFirstName->ViewAttrs = array(); $cstFutureStudents->MentorFirstName->EditAttrs = array();

		// MentorSurname
		$cstFutureStudents->MentorSurname->CellCssStyle = ""; $cstFutureStudents->MentorSurname->CellCssClass = "";
		$cstFutureStudents->MentorSurname->CellAttrs = array(); $cstFutureStudents->MentorSurname->ViewAttrs = array(); $cstFutureStudents->MentorSurname->EditAttrs = array();
		if ($cstFutureStudents->RowType == EW_ROWTYPE_VIEW) { // View row

			// CCEStudentID
			$cstFutureStudents->CCEStudentID->ViewValue = $cstFutureStudents->CCEStudentID->CurrentValue;
			$cstFutureStudents->CCEStudentID->CssStyle = "";
			$cstFutureStudents->CCEStudentID->CssClass = "";
			$cstFutureStudents->CCEStudentID->ViewCustomAttributes = "";

			// Title
			$cstFutureStudents->Title->ViewValue = $cstFutureStudents->Title->CurrentValue;
			$cstFutureStudents->Title->CssStyle = "";
			$cstFutureStudents->Title->CssClass = "";
			$cstFutureStudents->Title->ViewCustomAttributes = "";

			// FirstName
			$cstFutureStudents->FirstName->ViewValue = $cstFutureStudents->FirstName->CurrentValue;
			$cstFutureStudents->FirstName->CssStyle = "";
			$cstFutureStudents->FirstName->CssClass = "";
			$cstFutureStudents->FirstName->ViewCustomAttributes = "";

			// Surname
			$cstFutureStudents->Surname->ViewValue = $cstFutureStudents->Surname->CurrentValue;
			$cstFutureStudents->Surname->CssStyle = "";
			$cstFutureStudents->Surname->CssClass = "";
			$cstFutureStudents->Surname->ViewCustomAttributes = "";

			// KnownAs
			$cstFutureStudents->KnownAs->ViewValue = $cstFutureStudents->KnownAs->CurrentValue;
			$cstFutureStudents->KnownAs->CssStyle = "";
			$cstFutureStudents->KnownAs->CssClass = "";
			$cstFutureStudents->KnownAs->ViewCustomAttributes = "";

			// Organisation
			$cstFutureStudents->Organisation->ViewValue = $cstFutureStudents->Organisation->CurrentValue;
			$cstFutureStudents->Organisation->CssStyle = "";
			$cstFutureStudents->Organisation->CssClass = "";
			$cstFutureStudents->Organisation->ViewCustomAttributes = "";

			// OrganisationType
			$cstFutureStudents->OrganisationType->ViewValue = $cstFutureStudents->OrganisationType->CurrentValue;
			$cstFutureStudents->OrganisationType->CssStyle = "";
			$cstFutureStudents->OrganisationType->CssClass = "";
			$cstFutureStudents->OrganisationType->ViewCustomAttributes = "";

			// LengthEmploy
			$cstFutureStudents->LengthEmploy->ViewValue = $cstFutureStudents->LengthEmploy->CurrentValue;
			$cstFutureStudents->LengthEmploy->CssStyle = "";
			$cstFutureStudents->LengthEmploy->CssClass = "";
			$cstFutureStudents->LengthEmploy->ViewCustomAttributes = "";

			// OtherCEFirms
			$cstFutureStudents->OtherCEFirms->ViewValue = $cstFutureStudents->OtherCEFirms->CurrentValue;
			$cstFutureStudents->OtherCEFirms->CssStyle = "";
			$cstFutureStudents->OtherCEFirms->CssClass = "";
			$cstFutureStudents->OtherCEFirms->ViewCustomAttributes = "";

			// StudentNumber
			$cstFutureStudents->StudentNumber->ViewValue = $cstFutureStudents->StudentNumber->CurrentValue;
			$cstFutureStudents->StudentNumber->CssStyle = "";
			$cstFutureStudents->StudentNumber->CssClass = "";
			$cstFutureStudents->StudentNumber->ViewCustomAttributes = "";

			// CCEFacilitatorID
			if (strval($cstFutureStudents->CCEFacilitatorID->CurrentValue) <> "") {
				$sFilterWrk = "`FacilitatorID` = " . ew_AdjustSql($cstFutureStudents->CCEFacilitatorID->CurrentValue) . "";
			$sSqlWrk = "SELECT `FacilitatorName` FROM `CCEFacilitators`";
			$sWhereWrk = "";
			if ($sFilterWrk <> "") {
				if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
				$sWhereWrk .= "(" . $sFilterWrk . ")";
			}
			if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk;
			$sSqlWrk .= " ORDER BY `FacilitatorName`";
				$rswrk = $conn->Execute($sSqlWrk);
				if ($rswrk && !$rswrk->EOF) { // Lookup values found
					$cstFutureStudents->CCEFacilitatorID->ViewValue = $rswrk->fields('FacilitatorName');
					$rswrk->Close();
				} else {
					$cstFutureStudents->CCEFacilitatorID->ViewValue = $cstFutureStudents->CCEFacilitatorID->CurrentValue;
				}
			} else {
				$cstFutureStudents->CCEFacilitatorID->ViewValue = NULL;
			}
			$cstFutureStudents->CCEFacilitatorID->CssStyle = "";
			$cstFutureStudents->CCEFacilitatorID->CssClass = "";
			$cstFutureStudents->CCEFacilitatorID->ViewCustomAttributes = "";

			// Project
			if (strval($cstFutureStudents->Project->CurrentValue) <> "") {
				$sFilterWrk = "`CCEProjectID` = " . ew_AdjustSql($cstFutureStudents->Project->CurrentValue) . "";
			$sSqlWrk = "SELECT `Project` FROM `CCEProjects`";
			$sWhereWrk = "";
			if ($sFilterWrk <> "") {
				if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
				$sWhereWrk .= "(" . $sFilterWrk . ")";
			}
			if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk;
			$sSqlWrk .= " ORDER BY `DisplayOrder`";
				$rswrk = $conn->Execute($sSqlWrk);
				if ($rswrk && !$rswrk->EOF) { // Lookup values found
					$cstFutureStudents->Project->ViewValue = $rswrk->fields('Project');
					$rswrk->Close();
				} else {
					$cstFutureStudents->Project->ViewValue = $cstFutureStudents->Project->CurrentValue;
				}
			} else {
				$cstFutureStudents->Project->ViewValue = NULL;
			}
			$cstFutureStudents->Project->CssStyle = "";
			$cstFutureStudents->Project->CssClass = "";
			$cstFutureStudents->Project->ViewCustomAttributes = "";

			// ProjectDiscipline
			$cstFutureStudents->ProjectDiscipline->ViewValue = $cstFutureStudents->ProjectDiscipline->CurrentValue;
			$cstFutureStudents->ProjectDiscipline->CssStyle = "";
			$cstFutureStudents->ProjectDiscipline->CssClass = "";
			$cstFutureStudents->ProjectDiscipline->ViewCustomAttributes = "";

			// IDNumber
			$cstFutureStudents->IDNumber->ViewValue = $cstFutureStudents->IDNumber->CurrentValue;
			$cstFutureStudents->IDNumber->CssStyle = "";
			$cstFutureStudents->IDNumber->CssClass = "";
			$cstFutureStudents->IDNumber->ViewCustomAttributes = "mso-number-format:General";

			// ECSARegistered
			if (strval($cstFutureStudents->ECSARegistered->CurrentValue) <> "") {
				switch ($cstFutureStudents->ECSARegistered->CurrentValue) {
					case "c":
						$cstFutureStudents->ECSARegistered->ViewValue = "Yes - Candidate Engineer";
						break;
					case "p":
						$cstFutureStudents->ECSARegistered->ViewValue = "Yes - Professional Engineer";
						break;
					case "n":
						$cstFutureStudents->ECSARegistered->ViewValue = "No";
						break;
					case "y":
						$cstFutureStudents->ECSARegistered->ViewValue = "Yes";
						break;
					default:
						$cstFutureStudents->ECSARegistered->ViewValue = $cstFutureStudents->ECSARegistered->CurrentValue;
				}
			} else {
				$cstFutureStudents->ECSARegistered->ViewValue = NULL;
			}
			$cstFutureStudents->ECSARegistered->CssStyle = "";
			$cstFutureStudents->ECSARegistered->CssClass = "";
			$cstFutureStudents->ECSARegistered->ViewCustomAttributes = "";

			// ECSACategory
			$cstFutureStudents->ECSACategory->ViewValue = $cstFutureStudents->ECSACategory->CurrentValue;
			$cstFutureStudents->ECSACategory->CssStyle = "";
			$cstFutureStudents->ECSACategory->CssClass = "";
			$cstFutureStudents->ECSACategory->ViewCustomAttributes = "";

			// ECSANumber
			$cstFutureStudents->ECSANumber->ViewValue = $cstFutureStudents->ECSANumber->CurrentValue;
			$cstFutureStudents->ECSANumber->CssStyle = "";
			$cstFutureStudents->ECSANumber->CssClass = "";
			$cstFutureStudents->ECSANumber->ViewCustomAttributes = "";

			// OtherStatutoryBodyRegistered
			if (strval($cstFutureStudents->OtherStatutoryBodyRegistered->CurrentValue) <> "") {
				switch ($cstFutureStudents->OtherStatutoryBodyRegistered->CurrentValue) {
					case "1":
						$cstFutureStudents->OtherStatutoryBodyRegistered->ViewValue = "Yes";
						break;
					case "0":
						$cstFutureStudents->OtherStatutoryBodyRegistered->ViewValue = "No";
						break;
					default:
						$cstFutureStudents->OtherStatutoryBodyRegistered->ViewValue = $cstFutureStudents->OtherStatutoryBodyRegistered->CurrentValue;
				}
			} else {
				$cstFutureStudents->OtherStatutoryBodyRegistered->ViewValue = NULL;
			}
			$cstFutureStudents->OtherStatutoryBodyRegistered->CssStyle = "";
			$cstFutureStudents->OtherStatutoryBodyRegistered->CssClass = "";
			$cstFutureStudents->OtherStatutoryBodyRegistered->ViewCustomAttributes = "";

			// OtherStatutoryBodyName
			$cstFutureStudents->OtherStatutoryBodyName->ViewValue = $cstFutureStudents->OtherStatutoryBodyName->CurrentValue;
			$cstFutureStudents->OtherStatutoryBodyName->CssStyle = "";
			$cstFutureStudents->OtherStatutoryBodyName->CssClass = "";
			$cstFutureStudents->OtherStatutoryBodyName->ViewCustomAttributes = "";

			// OtherStatutoryBodyNumber
			$cstFutureStudents->OtherStatutoryBodyNumber->ViewValue = $cstFutureStudents->OtherStatutoryBodyNumber->CurrentValue;
			$cstFutureStudents->OtherStatutoryBodyNumber->CssStyle = "";
			$cstFutureStudents->OtherStatutoryBodyNumber->CssClass = "";
			$cstFutureStudents->OtherStatutoryBodyNumber->ViewCustomAttributes = "";

			// Age
			if (strval($cstFutureStudents->Age->CurrentValue) <> "") {
				switch ($cstFutureStudents->Age->CurrentValue) {
					case "1":
						$cstFutureStudents->Age->ViewValue = "Yes";
						break;
					case "0":
						$cstFutureStudents->Age->ViewValue = "No";
						break;
					default:
						$cstFutureStudents->Age->ViewValue = $cstFutureStudents->Age->CurrentValue;
				}
			} else {
				$cstFutureStudents->Age->ViewValue = NULL;
			}
			$cstFutureStudents->Age->CssStyle = "";
			$cstFutureStudents->Age->CssClass = "";
			$cstFutureStudents->Age->ViewCustomAttributes = "";

			// HighestQual
			$cstFutureStudents->HighestQual->ViewValue = $cstFutureStudents->HighestQual->CurrentValue;
			$cstFutureStudents->HighestQual->CssStyle = "";
			$cstFutureStudents->HighestQual->CssClass = "";
			$cstFutureStudents->HighestQual->ViewCustomAttributes = "";

			// AreaDiscipline
			$cstFutureStudents->AreaDiscipline->ViewValue = $cstFutureStudents->AreaDiscipline->CurrentValue;
			$cstFutureStudents->AreaDiscipline->CssStyle = "";
			$cstFutureStudents->AreaDiscipline->CssClass = "";
			$cstFutureStudents->AreaDiscipline->ViewCustomAttributes = "";

			// Telephone
			$cstFutureStudents->Telephone->ViewValue = $cstFutureStudents->Telephone->CurrentValue;
			$cstFutureStudents->Telephone->CssStyle = "";
			$cstFutureStudents->Telephone->CssClass = "";
			$cstFutureStudents->Telephone->ViewCustomAttributes = "mso-number-format:General";

			// Cellphone
			$cstFutureStudents->Cellphone->ViewValue = $cstFutureStudents->Cellphone->CurrentValue;
			$cstFutureStudents->Cellphone->CssStyle = "";
			$cstFutureStudents->Cellphone->CssClass = "";
			$cstFutureStudents->Cellphone->ViewCustomAttributes = "mso-number-format:General";

			// EmailAddress
			$cstFutureStudents->EmailAddress->ViewValue = $cstFutureStudents->EmailAddress->CurrentValue;
			$cstFutureStudents->EmailAddress->CssStyle = "";
			$cstFutureStudents->EmailAddress->CssClass = "";
			$cstFutureStudents->EmailAddress->ViewCustomAttributes = "";

			// HomeAddress
			$cstFutureStudents->HomeAddress->ViewValue = $cstFutureStudents->HomeAddress->CurrentValue;
			$cstFutureStudents->HomeAddress->CssStyle = "";
			$cstFutureStudents->HomeAddress->CssClass = "";
			$cstFutureStudents->HomeAddress->ViewCustomAttributes = "";

			// WorkAddress
			$cstFutureStudents->WorkAddress->ViewValue = $cstFutureStudents->WorkAddress->CurrentValue;
			$cstFutureStudents->WorkAddress->CssStyle = "";
			$cstFutureStudents->WorkAddress->CssClass = "";
			$cstFutureStudents->WorkAddress->ViewCustomAttributes = "";

			// PostalAddress
			$cstFutureStudents->PostalAddress->ViewValue = $cstFutureStudents->PostalAddress->CurrentValue;
			$cstFutureStudents->PostalAddress->CssStyle = "";
			$cstFutureStudents->PostalAddress->CssClass = "";
			$cstFutureStudents->PostalAddress->ViewCustomAttributes = "";

			// Designation
			$cstFutureStudents->Designation->ViewValue = $cstFutureStudents->Designation->CurrentValue;
			$cstFutureStudents->Designation->CssStyle = "";
			$cstFutureStudents->Designation->CssClass = "";
			$cstFutureStudents->Designation->ViewCustomAttributes = "";

			// Department
			$cstFutureStudents->Department->ViewValue = $cstFutureStudents->Department->CurrentValue;
			$cstFutureStudents->Department->CssStyle = "";
			$cstFutureStudents->Department->CssClass = "";
			$cstFutureStudents->Department->ViewCustomAttributes = "";

			// CESAMemberFirm
			if (strval($cstFutureStudents->CESAMemberFirm->CurrentValue) <> "") {
				switch ($cstFutureStudents->CESAMemberFirm->CurrentValue) {
					case "y":
						$cstFutureStudents->CESAMemberFirm->ViewValue = "Yes";
						break;
					case "n":
						$cstFutureStudents->CESAMemberFirm->ViewValue = "No";
						break;
					default:
						$cstFutureStudents->CESAMemberFirm->ViewValue = $cstFutureStudents->CESAMemberFirm->CurrentValue;
				}
			} else {
				$cstFutureStudents->CESAMemberFirm->ViewValue = NULL;
			}
			$cstFutureStudents->CESAMemberFirm->CssStyle = "";
			$cstFutureStudents->CESAMemberFirm->CssClass = "";
			$cstFutureStudents->CESAMemberFirm->ViewCustomAttributes = "";

			// CESAAccountNo
			$cstFutureStudents->CESAAccountNo->ViewValue = $cstFutureStudents->CESAAccountNo->CurrentValue;
			$cstFutureStudents->CESAAccountNo->CssStyle = "";
			$cstFutureStudents->CESAAccountNo->CssClass = "";
			$cstFutureStudents->CESAAccountNo->ViewCustomAttributes = "";

			// VATNo
			$cstFutureStudents->VATNo->ViewValue = $cstFutureStudents->VATNo->CurrentValue;
			$cstFutureStudents->VATNo->CssStyle = "";
			$cstFutureStudents->VATNo->CssClass = "";
			$cstFutureStudents->VATNo->ViewCustomAttributes = "mso-number-format:General";

			// DietaryRequirements
			$cstFutureStudents->DietaryRequirements->ViewValue = $cstFutureStudents->DietaryRequirements->CurrentValue;
			$cstFutureStudents->DietaryRequirements->CssStyle = "";
			$cstFutureStudents->DietaryRequirements->CssClass = "";
			$cstFutureStudents->DietaryRequirements->ViewCustomAttributes = "";

			// IDFile
			if (!ew_Empty($cstFutureStudents->IDFile->Upload->DbValue)) {
				$cstFutureStudents->IDFile->ViewValue = $cstFutureStudents->IDFile->Upload->DbValue;
			} else {
				$cstFutureStudents->IDFile->ViewValue = "";
			}
			$cstFutureStudents->IDFile->CssStyle = "";
			$cstFutureStudents->IDFile->CssClass = "";
			$cstFutureStudents->IDFile->ViewCustomAttributes = "";

			// CVFile
			if (!ew_Empty($cstFutureStudents->CVFile->Upload->DbValue)) {
				$cstFutureStudents->CVFile->ViewValue = $cstFutureStudents->CVFile->Upload->DbValue;
			} else {
				$cstFutureStudents->CVFile->ViewValue = "";
			}
			$cstFutureStudents->CVFile->CssStyle = "";
			$cstFutureStudents->CVFile->CssClass = "";
			$cstFutureStudents->CVFile->ViewCustomAttributes = "";

			// QualCertificate1
			if (!ew_Empty($cstFutureStudents->QualCertificate1->Upload->DbValue)) {
				$cstFutureStudents->QualCertificate1->ViewValue = $cstFutureStudents->QualCertificate1->Upload->DbValue;
			} else {
				$cstFutureStudents->QualCertificate1->ViewValue = "";
			}
			$cstFutureStudents->QualCertificate1->CssStyle = "";
			$cstFutureStudents->QualCertificate1->CssClass = "";
			$cstFutureStudents->QualCertificate1->ViewCustomAttributes = "";

			// QualCertificate2
			if (!ew_Empty($cstFutureStudents->QualCertificate2->Upload->DbValue)) {
				$cstFutureStudents->QualCertificate2->ViewValue = $cstFutureStudents->QualCertificate2->Upload->DbValue;
			} else {
				$cstFutureStudents->QualCertificate2->ViewValue = "";
			}
			$cstFutureStudents->QualCertificate2->CssStyle = "";
			$cstFutureStudents->QualCertificate2->CssClass = "";
			$cstFutureStudents->QualCertificate2->ViewCustomAttributes = "";

			// QualCertificate3
			if (!ew_Empty($cstFutureStudents->QualCertificate3->Upload->DbValue)) {
				$cstFutureStudents->QualCertificate3->ViewValue = $cstFutureStudents->QualCertificate3->Upload->DbValue;
			} else {
				$cstFutureStudents->QualCertificate3->ViewValue = "";
			}
			$cstFutureStudents->QualCertificate3->CssStyle = "";
			$cstFutureStudents->QualCertificate3->CssClass = "";
			$cstFutureStudents->QualCertificate3->ViewCustomAttributes = "";

			// MemorandumFile
			if (!ew_Empty($cstFutureStudents->MemorandumFile->Upload->DbValue)) {
				$cstFutureStudents->MemorandumFile->ViewValue = $cstFutureStudents->MemorandumFile->Upload->DbValue;
			} else {
				$cstFutureStudents->MemorandumFile->ViewValue = "";
			}
			$cstFutureStudents->MemorandumFile->CssStyle = "";
			$cstFutureStudents->MemorandumFile->CssClass = "";
			$cstFutureStudents->MemorandumFile->ViewCustomAttributes = "";

			// AgreementFile
			if (!ew_Empty($cstFutureStudents->AgreementFile->Upload->DbValue)) {
				$cstFutureStudents->AgreementFile->ViewValue = $cstFutureStudents->AgreementFile->Upload->DbValue;
			} else {
				$cstFutureStudents->AgreementFile->ViewValue = "";
			}
			$cstFutureStudents->AgreementFile->CssStyle = "";
			$cstFutureStudents->AgreementFile->CssClass = "";
			$cstFutureStudents->AgreementFile->ViewCustomAttributes = "";

			// OrderNo
			$cstFutureStudents->OrderNo->ViewValue = $cstFutureStudents->OrderNo->CurrentValue;
			$cstFutureStudents->OrderNo->CssStyle = "";
			$cstFutureStudents->OrderNo->CssClass = "";
			$cstFutureStudents->OrderNo->ViewCustomAttributes = "";

			// BookedByName
			$cstFutureStudents->BookedByName->ViewValue = $cstFutureStudents->BookedByName->CurrentValue;
			$cstFutureStudents->BookedByName->CssStyle = "";
			$cstFutureStudents->BookedByName->CssClass = "";
			$cstFutureStudents->BookedByName->ViewCustomAttributes = "";

			// BookedByDesignation
			$cstFutureStudents->BookedByDesignation->ViewValue = $cstFutureStudents->BookedByDesignation->CurrentValue;
			$cstFutureStudents->BookedByDesignation->CssStyle = "";
			$cstFutureStudents->BookedByDesignation->CssClass = "";
			$cstFutureStudents->BookedByDesignation->ViewCustomAttributes = "";

			// BookedByTelNo
			$cstFutureStudents->BookedByTelNo->ViewValue = $cstFutureStudents->BookedByTelNo->CurrentValue;
			$cstFutureStudents->BookedByTelNo->CssStyle = "";
			$cstFutureStudents->BookedByTelNo->CssClass = "";
			$cstFutureStudents->BookedByTelNo->ViewCustomAttributes = "mso-number-format:General";

			// BookedByFaxNo
			$cstFutureStudents->BookedByFaxNo->ViewValue = $cstFutureStudents->BookedByFaxNo->CurrentValue;
			$cstFutureStudents->BookedByFaxNo->CssStyle = "";
			$cstFutureStudents->BookedByFaxNo->CssClass = "";
			$cstFutureStudents->BookedByFaxNo->ViewCustomAttributes = "mso-number-format:General";

			// BookedByCellNo
			$cstFutureStudents->BookedByCellNo->ViewValue = $cstFutureStudents->BookedByCellNo->CurrentValue;
			$cstFutureStudents->BookedByCellNo->CssStyle = "";
			$cstFutureStudents->BookedByCellNo->CssClass = "";
			$cstFutureStudents->BookedByCellNo->ViewCustomAttributes = "mso-number-format:General";

			// BookedByEmail
			$cstFutureStudents->BookedByEmail->ViewValue = $cstFutureStudents->BookedByEmail->CurrentValue;
			$cstFutureStudents->BookedByEmail->CssStyle = "";
			$cstFutureStudents->BookedByEmail->CssClass = "";
			$cstFutureStudents->BookedByEmail->ViewCustomAttributes = "";

			// WebUsername
			$cstFutureStudents->WebUsername->ViewValue = $cstFutureStudents->WebUsername->CurrentValue;
			$cstFutureStudents->WebUsername->CssStyle = "";
			$cstFutureStudents->WebUsername->CssClass = "";
			$cstFutureStudents->WebUsername->ViewCustomAttributes = "";

			// WebPassword
			$cstFutureStudents->WebPassword->ViewValue = $cstFutureStudents->WebPassword->CurrentValue;
			$cstFutureStudents->WebPassword->CssStyle = "";
			$cstFutureStudents->WebPassword->CssClass = "";
			$cstFutureStudents->WebPassword->ViewCustomAttributes = "";

			// MentorDesig
			$cstFutureStudents->MentorDesig->ViewValue = $cstFutureStudents->MentorDesig->CurrentValue;
			$cstFutureStudents->MentorDesig->CssStyle = "";
			$cstFutureStudents->MentorDesig->CssClass = "";
			$cstFutureStudents->MentorDesig->ViewCustomAttributes = "";

			// MentorTel
			$cstFutureStudents->MentorTel->ViewValue = $cstFutureStudents->MentorTel->CurrentValue;
			$cstFutureStudents->MentorTel->CssStyle = "";
			$cstFutureStudents->MentorTel->CssClass = "";
			$cstFutureStudents->MentorTel->ViewCustomAttributes = "";

			// MentorCell
			$cstFutureStudents->MentorCell->ViewValue = $cstFutureStudents->MentorCell->CurrentValue;
			$cstFutureStudents->MentorCell->CssStyle = "";
			$cstFutureStudents->MentorCell->CssClass = "";
			$cstFutureStudents->MentorCell->ViewCustomAttributes = "";

			// MentorEmail
			$cstFutureStudents->MentorEmail->ViewValue = $cstFutureStudents->MentorEmail->CurrentValue;
			$cstFutureStudents->MentorEmail->CssStyle = "";
			$cstFutureStudents->MentorEmail->CssClass = "";
			$cstFutureStudents->MentorEmail->ViewCustomAttributes = "";

			// HRManagerName
			$cstFutureStudents->HRManagerName->ViewValue = $cstFutureStudents->HRManagerName->CurrentValue;
			$cstFutureStudents->HRManagerName->CssStyle = "";
			$cstFutureStudents->HRManagerName->CssClass = "";
			$cstFutureStudents->HRManagerName->ViewCustomAttributes = "";

			// HRManagerDesignation
			$cstFutureStudents->HRManagerDesignation->ViewValue = $cstFutureStudents->HRManagerDesignation->CurrentValue;
			$cstFutureStudents->HRManagerDesignation->CssStyle = "";
			$cstFutureStudents->HRManagerDesignation->CssClass = "";
			$cstFutureStudents->HRManagerDesignation->ViewCustomAttributes = "";

			// HRManagerTelNo
			$cstFutureStudents->HRManagerTelNo->ViewValue = $cstFutureStudents->HRManagerTelNo->CurrentValue;
			$cstFutureStudents->HRManagerTelNo->CssStyle = "";
			$cstFutureStudents->HRManagerTelNo->CssClass = "";
			$cstFutureStudents->HRManagerTelNo->ViewCustomAttributes = "";

			// HRManagerCellNo
			$cstFutureStudents->HRManagerCellNo->ViewValue = $cstFutureStudents->HRManagerCellNo->CurrentValue;
			$cstFutureStudents->HRManagerCellNo->CssStyle = "";
			$cstFutureStudents->HRManagerCellNo->CssClass = "";
			$cstFutureStudents->HRManagerCellNo->ViewCustomAttributes = "";

			// HRManagerEmail
			$cstFutureStudents->HRManagerEmail->ViewValue = $cstFutureStudents->HRManagerEmail->CurrentValue;
			$cstFutureStudents->HRManagerEmail->CssStyle = "";
			$cstFutureStudents->HRManagerEmail->CssClass = "";
			$cstFutureStudents->HRManagerEmail->ViewCustomAttributes = "";

			// BlockAccess
			if (strval($cstFutureStudents->BlockAccess->CurrentValue) <> "") {
				switch ($cstFutureStudents->BlockAccess->CurrentValue) {
					case "y":
						$cstFutureStudents->BlockAccess->ViewValue = "Yes";
						break;
					case "n":
						$cstFutureStudents->BlockAccess->ViewValue = "No";
						break;
					default:
						$cstFutureStudents->BlockAccess->ViewValue = $cstFutureStudents->BlockAccess->CurrentValue;
				}
			} else {
				$cstFutureStudents->BlockAccess->ViewValue = NULL;
			}
			$cstFutureStudents->BlockAccess->CssStyle = "";
			$cstFutureStudents->BlockAccess->CssClass = "";
			$cstFutureStudents->BlockAccess->ViewCustomAttributes = "";

			// Archived
			if (strval($cstFutureStudents->Archived->CurrentValue) <> "") {
				$cstFutureStudents->Archived->ViewValue = "";
				$arwrk = explode(",", strval($cstFutureStudents->Archived->CurrentValue));
				for ($ari = 0; $ari < count($arwrk); $ari++) {
					switch (trim($arwrk[$ari])) {
						case "1":
							$cstFutureStudents->Archived->ViewValue .= "Yes";
							break;
						default:
							$cstFutureStudents->Archived->ViewValue .= trim($arwrk[$ari]);
					}
					if ($ari < count($arwrk)-1) $cstFutureStudents->Archived->ViewValue .= ew_ViewOptionSeparator($ari);
				}
			} else {
				$cstFutureStudents->Archived->ViewValue = NULL;
			}
			$cstFutureStudents->Archived->CssStyle = "";
			$cstFutureStudents->Archived->CssClass = "";
			$cstFutureStudents->Archived->ViewCustomAttributes = "";

			// MentorFirstName
			$cstFutureStudents->MentorFirstName->ViewValue = $cstFutureStudents->MentorFirstName->CurrentValue;
			$cstFutureStudents->MentorFirstName->CssStyle = "";
			$cstFutureStudents->MentorFirstName->CssClass = "";
			$cstFutureStudents->MentorFirstName->ViewCustomAttributes = "";

			// MentorSurname
			$cstFutureStudents->MentorSurname->ViewValue = $cstFutureStudents->MentorSurname->CurrentValue;
			$cstFutureStudents->MentorSurname->CssStyle = "";
			$cstFutureStudents->MentorSurname->CssClass = "";
			$cstFutureStudents->MentorSurname->ViewCustomAttributes = "";

			// CCEStudentID
			$cstFutureStudents->CCEStudentID->HrefValue = "";
			$cstFutureStudents->CCEStudentID->TooltipValue = "";

			// Title
			$cstFutureStudents->Title->HrefValue = "";
			$cstFutureStudents->Title->TooltipValue = "";

			// FirstName
			$cstFutureStudents->FirstName->HrefValue = "";
			$cstFutureStudents->FirstName->TooltipValue = "";

			// Surname
			$cstFutureStudents->Surname->HrefValue = "";
			$cstFutureStudents->Surname->TooltipValue = "";

			// KnownAs
			$cstFutureStudents->KnownAs->HrefValue = "";
			$cstFutureStudents->KnownAs->TooltipValue = "";

			// Organisation
			$cstFutureStudents->Organisation->HrefValue = "";
			$cstFutureStudents->Organisation->TooltipValue = "";

			// OrganisationType
			$cstFutureStudents->OrganisationType->HrefValue = "";
			$cstFutureStudents->OrganisationType->TooltipValue = "";

			// LengthEmploy
			$cstFutureStudents->LengthEmploy->HrefValue = "";
			$cstFutureStudents->LengthEmploy->TooltipValue = "";

			// OtherCEFirms
			$cstFutureStudents->OtherCEFirms->HrefValue = "";
			$cstFutureStudents->OtherCEFirms->TooltipValue = "";

			// StudentNumber
			$cstFutureStudents->StudentNumber->HrefValue = "";
			$cstFutureStudents->StudentNumber->TooltipValue = "";

			// CCEFacilitatorID
			$cstFutureStudents->CCEFacilitatorID->HrefValue = "";
			$cstFutureStudents->CCEFacilitatorID->TooltipValue = "";

			// Project
			$cstFutureStudents->Project->HrefValue = "";
			$cstFutureStudents->Project->TooltipValue = "";

			// ProjectDiscipline
			$cstFutureStudents->ProjectDiscipline->HrefValue = "";
			$cstFutureStudents->ProjectDiscipline->TooltipValue = "";

			// IDNumber
			$cstFutureStudents->IDNumber->HrefValue = "";
			$cstFutureStudents->IDNumber->TooltipValue = "";

			// ECSARegistered
			$cstFutureStudents->ECSARegistered->HrefValue = "";
			$cstFutureStudents->ECSARegistered->TooltipValue = "";

			// ECSACategory
			$cstFutureStudents->ECSACategory->HrefValue = "";
			$cstFutureStudents->ECSACategory->TooltipValue = "";

			// ECSANumber
			$cstFutureStudents->ECSANumber->HrefValue = "";
			$cstFutureStudents->ECSANumber->TooltipValue = "";

			// OtherStatutoryBodyRegistered
			$cstFutureStudents->OtherStatutoryBodyRegistered->HrefValue = "";
			$cstFutureStudents->OtherStatutoryBodyRegistered->TooltipValue = "";

			// OtherStatutoryBodyName
			$cstFutureStudents->OtherStatutoryBodyName->HrefValue = "";
			$cstFutureStudents->OtherStatutoryBodyName->TooltipValue = "";

			// OtherStatutoryBodyNumber
			$cstFutureStudents->OtherStatutoryBodyNumber->HrefValue = "";
			$cstFutureStudents->OtherStatutoryBodyNumber->TooltipValue = "";

			// Age
			$cstFutureStudents->Age->HrefValue = "";
			$cstFutureStudents->Age->TooltipValue = "";

			// HighestQual
			$cstFutureStudents->HighestQual->HrefValue = "";
			$cstFutureStudents->HighestQual->TooltipValue = "";

			// AreaDiscipline
			$cstFutureStudents->AreaDiscipline->HrefValue = "";
			$cstFutureStudents->AreaDiscipline->TooltipValue = "";

			// Telephone
			$cstFutureStudents->Telephone->HrefValue = "";
			$cstFutureStudents->Telephone->TooltipValue = "";

			// Cellphone
			$cstFutureStudents->Cellphone->HrefValue = "";
			$cstFutureStudents->Cellphone->TooltipValue = "";

			// EmailAddress
			$cstFutureStudents->EmailAddress->HrefValue = "";
			$cstFutureStudents->EmailAddress->TooltipValue = "";

			// HomeAddress
			$cstFutureStudents->HomeAddress->HrefValue = "";
			$cstFutureStudents->HomeAddress->TooltipValue = "";

			// WorkAddress
			$cstFutureStudents->WorkAddress->HrefValue = "";
			$cstFutureStudents->WorkAddress->TooltipValue = "";

			// PostalAddress
			$cstFutureStudents->PostalAddress->HrefValue = "";
			$cstFutureStudents->PostalAddress->TooltipValue = "";

			// Designation
			$cstFutureStudents->Designation->HrefValue = "";
			$cstFutureStudents->Designation->TooltipValue = "";

			// Department
			$cstFutureStudents->Department->HrefValue = "";
			$cstFutureStudents->Department->TooltipValue = "";

			// CESAMemberFirm
			$cstFutureStudents->CESAMemberFirm->HrefValue = "";
			$cstFutureStudents->CESAMemberFirm->TooltipValue = "";

			// CESAAccountNo
			$cstFutureStudents->CESAAccountNo->HrefValue = "";
			$cstFutureStudents->CESAAccountNo->TooltipValue = "";

			// VATNo
			$cstFutureStudents->VATNo->HrefValue = "";
			$cstFutureStudents->VATNo->TooltipValue = "";

			// DietaryRequirements
			$cstFutureStudents->DietaryRequirements->HrefValue = "";
			$cstFutureStudents->DietaryRequirements->TooltipValue = "";

			// IDFile
			if (!ew_Empty($cstFutureStudents->IDFile->Upload->DbValue)) {
				$cstFutureStudents->IDFile->HrefValue = ew_UploadPathEx(FALSE, $cstFutureStudents->IDFile->UploadPath) . ((!empty($cstFutureStudents->IDFile->ViewValue)) ? $cstFutureStudents->IDFile->ViewValue : $cstFutureStudents->IDFile->CurrentValue);
				if ($cstFutureStudents->Export <> "") $cstFutureStudents->IDFile->HrefValue = ew_ConvertFullUrl($cstFutureStudents->IDFile->HrefValue);
			} else {
				$cstFutureStudents->IDFile->HrefValue = "";
			}
			$cstFutureStudents->IDFile->TooltipValue = "";

			// CVFile
			if (!ew_Empty($cstFutureStudents->CVFile->Upload->DbValue)) {
				$cstFutureStudents->CVFile->HrefValue = ew_UploadPathEx(FALSE, $cstFutureStudents->CVFile->UploadPath) . ((!empty($cstFutureStudents->CVFile->ViewValue)) ? $cstFutureStudents->CVFile->ViewValue : $cstFutureStudents->CVFile->CurrentValue);
				if ($cstFutureStudents->Export <> "") $cstFutureStudents->CVFile->HrefValue = ew_ConvertFullUrl($cstFutureStudents->CVFile->HrefValue);
			} else {
				$cstFutureStudents->CVFile->HrefValue = "";
			}
			$cstFutureStudents->CVFile->TooltipValue = "";

			// QualCertificate1
			if (!ew_Empty($cstFutureStudents->QualCertificate1->Upload->DbValue)) {
				$cstFutureStudents->QualCertificate1->HrefValue = ew_UploadPathEx(FALSE, $cstFutureStudents->QualCertificate1->UploadPath) . ((!empty($cstFutureStudents->QualCertificate1->ViewValue)) ? $cstFutureStudents->QualCertificate1->ViewValue : $cstFutureStudents->QualCertificate1->CurrentValue);
				if ($cstFutureStudents->Export <> "") $cstFutureStudents->QualCertificate1->HrefValue = ew_ConvertFullUrl($cstFutureStudents->QualCertificate1->HrefValue);
			} else {
				$cstFutureStudents->QualCertificate1->HrefValue = "";
			}
			$cstFutureStudents->QualCertificate1->TooltipValue = "";

			// QualCertificate2
			if (!ew_Empty($cstFutureStudents->QualCertificate2->Upload->DbValue)) {
				$cstFutureStudents->QualCertificate2->HrefValue = ew_UploadPathEx(FALSE, $cstFutureStudents->QualCertificate2->UploadPath) . ((!empty($cstFutureStudents->QualCertificate2->ViewValue)) ? $cstFutureStudents->QualCertificate2->ViewValue : $cstFutureStudents->QualCertificate2->CurrentValue);
				if ($cstFutureStudents->Export <> "") $cstFutureStudents->QualCertificate2->HrefValue = ew_ConvertFullUrl($cstFutureStudents->QualCertificate2->HrefValue);
			} else {
				$cstFutureStudents->QualCertificate2->HrefValue = "";
			}
			$cstFutureStudents->QualCertificate2->TooltipValue = "";

			// QualCertificate3
			if (!ew_Empty($cstFutureStudents->QualCertificate3->Upload->DbValue)) {
				$cstFutureStudents->QualCertificate3->HrefValue = ew_UploadPathEx(FALSE, $cstFutureStudents->QualCertificate3->UploadPath) . ((!empty($cstFutureStudents->QualCertificate3->ViewValue)) ? $cstFutureStudents->QualCertificate3->ViewValue : $cstFutureStudents->QualCertificate3->CurrentValue);
				if ($cstFutureStudents->Export <> "") $cstFutureStudents->QualCertificate3->HrefValue = ew_ConvertFullUrl($cstFutureStudents->QualCertificate3->HrefValue);
			} else {
				$cstFutureStudents->QualCertificate3->HrefValue = "";
			}
			$cstFutureStudents->QualCertificate3->TooltipValue = "";

			// MemorandumFile
			if (!ew_Empty($cstFutureStudents->MemorandumFile->Upload->DbValue)) {
				$cstFutureStudents->MemorandumFile->HrefValue = ew_UploadPathEx(FALSE, $cstFutureStudents->MemorandumFile->UploadPath) . ((!empty($cstFutureStudents->MemorandumFile->ViewValue)) ? $cstFutureStudents->MemorandumFile->ViewValue : $cstFutureStudents->MemorandumFile->CurrentValue);
				if ($cstFutureStudents->Export <> "") $cstFutureStudents->MemorandumFile->HrefValue = ew_ConvertFullUrl($cstFutureStudents->MemorandumFile->HrefValue);
			} else {
				$cstFutureStudents->MemorandumFile->HrefValue = "";
			}
			$cstFutureStudents->MemorandumFile->TooltipValue = "";

			// AgreementFile
			if (!ew_Empty($cstFutureStudents->AgreementFile->Upload->DbValue)) {
				$cstFutureStudents->AgreementFile->HrefValue = ew_UploadPathEx(FALSE, $cstFutureStudents->AgreementFile->UploadPath) . ((!empty($cstFutureStudents->AgreementFile->ViewValue)) ? $cstFutureStudents->AgreementFile->ViewValue : $cstFutureStudents->AgreementFile->CurrentValue);
				if ($cstFutureStudents->Export <> "") $cstFutureStudents->AgreementFile->HrefValue = ew_ConvertFullUrl($cstFutureStudents->AgreementFile->HrefValue);
			} else {
				$cstFutureStudents->AgreementFile->HrefValue = "";
			}
			$cstFutureStudents->AgreementFile->TooltipValue = "";

			// OrderNo
			$cstFutureStudents->OrderNo->HrefValue = "";
			$cstFutureStudents->OrderNo->TooltipValue = "";

			// BookedByName
			$cstFutureStudents->BookedByName->HrefValue = "";
			$cstFutureStudents->BookedByName->TooltipValue = "";

			// BookedByDesignation
			$cstFutureStudents->BookedByDesignation->HrefValue = "";
			$cstFutureStudents->BookedByDesignation->TooltipValue = "";

			// BookedByTelNo
			$cstFutureStudents->BookedByTelNo->HrefValue = "";
			$cstFutureStudents->BookedByTelNo->TooltipValue = "";

			// BookedByFaxNo
			$cstFutureStudents->BookedByFaxNo->HrefValue = "";
			$cstFutureStudents->BookedByFaxNo->TooltipValue = "";

			// BookedByCellNo
			$cstFutureStudents->BookedByCellNo->HrefValue = "";
			$cstFutureStudents->BookedByCellNo->TooltipValue = "";

			// BookedByEmail
			$cstFutureStudents->BookedByEmail->HrefValue = "";
			$cstFutureStudents->BookedByEmail->TooltipValue = "";

			// WebUsername
			$cstFutureStudents->WebUsername->HrefValue = "";
			$cstFutureStudents->WebUsername->TooltipValue = "";

			// WebPassword
			$cstFutureStudents->WebPassword->HrefValue = "";
			$cstFutureStudents->WebPassword->TooltipValue = "";

			// MentorDesig
			$cstFutureStudents->MentorDesig->HrefValue = "";
			$cstFutureStudents->MentorDesig->TooltipValue = "";

			// MentorTel
			$cstFutureStudents->MentorTel->HrefValue = "";
			$cstFutureStudents->MentorTel->TooltipValue = "";

			// MentorCell
			$cstFutureStudents->MentorCell->HrefValue = "";
			$cstFutureStudents->MentorCell->TooltipValue = "";

			// MentorEmail
			$cstFutureStudents->MentorEmail->HrefValue = "";
			$cstFutureStudents->MentorEmail->TooltipValue = "";

			// HRManagerName
			$cstFutureStudents->HRManagerName->HrefValue = "";
			$cstFutureStudents->HRManagerName->TooltipValue = "";

			// HRManagerDesignation
			$cstFutureStudents->HRManagerDesignation->HrefValue = "";
			$cstFutureStudents->HRManagerDesignation->TooltipValue = "";

			// HRManagerTelNo
			$cstFutureStudents->HRManagerTelNo->HrefValue = "";
			$cstFutureStudents->HRManagerTelNo->TooltipValue = "";

			// HRManagerCellNo
			$cstFutureStudents->HRManagerCellNo->HrefValue = "";
			$cstFutureStudents->HRManagerCellNo->TooltipValue = "";

			// HRManagerEmail
			$cstFutureStudents->HRManagerEmail->HrefValue = "";
			$cstFutureStudents->HRManagerEmail->TooltipValue = "";

			// BlockAccess
			$cstFutureStudents->BlockAccess->HrefValue = "";
			$cstFutureStudents->BlockAccess->TooltipValue = "";

			// Archived
			$cstFutureStudents->Archived->HrefValue = "";
			$cstFutureStudents->Archived->TooltipValue = "";

			// MentorFirstName
			$cstFutureStudents->MentorFirstName->HrefValue = "";
			$cstFutureStudents->MentorFirstName->TooltipValue = "";

			// MentorSurname
			$cstFutureStudents->MentorSurname->HrefValue = "";
			$cstFutureStudents->MentorSurname->TooltipValue = "";
		} elseif ($cstFutureStudents->RowType == EW_ROWTYPE_SEARCH) { // Search row

			// CCEStudentID
			$cstFutureStudents->CCEStudentID->EditCustomAttributes = "";
			$cstFutureStudents->CCEStudentID->EditValue = ew_HtmlEncode($cstFutureStudents->CCEStudentID->AdvancedSearch->SearchValue);

			// Title
			$cstFutureStudents->Title->EditCustomAttributes = "";
			$cstFutureStudents->Title->EditValue = ew_HtmlEncode($cstFutureStudents->Title->AdvancedSearch->SearchValue);

			// FirstName
			$cstFutureStudents->FirstName->EditCustomAttributes = "";
			$cstFutureStudents->FirstName->EditValue = ew_HtmlEncode($cstFutureStudents->FirstName->AdvancedSearch->SearchValue);

			// Surname
			$cstFutureStudents->Surname->EditCustomAttributes = "";
			$cstFutureStudents->Surname->EditValue = ew_HtmlEncode($cstFutureStudents->Surname->AdvancedSearch->SearchValue);

			// KnownAs
			$cstFutureStudents->KnownAs->EditCustomAttributes = "";
			$cstFutureStudents->KnownAs->EditValue = ew_HtmlEncode($cstFutureStudents->KnownAs->AdvancedSearch->SearchValue);

			// Organisation
			$cstFutureStudents->Organisation->EditCustomAttributes = "";
			$cstFutureStudents->Organisation->EditValue = ew_HtmlEncode($cstFutureStudents->Organisation->AdvancedSearch->SearchValue);

			// OrganisationType
			$cstFutureStudents->OrganisationType->EditCustomAttributes = "";
			$cstFutureStudents->OrganisationType->EditValue = ew_HtmlEncode($cstFutureStudents->OrganisationType->AdvancedSearch->SearchValue);

			// LengthEmploy
			$cstFutureStudents->LengthEmploy->EditCustomAttributes = "";
			$cstFutureStudents->LengthEmploy->EditValue = ew_HtmlEncode($cstFutureStudents->LengthEmploy->AdvancedSearch->SearchValue);

			// OtherCEFirms
			$cstFutureStudents->OtherCEFirms->EditCustomAttributes = "";
			$cstFutureStudents->OtherCEFirms->EditValue = ew_HtmlEncode($cstFutureStudents->OtherCEFirms->AdvancedSearch->SearchValue);

			// StudentNumber
			$cstFutureStudents->StudentNumber->EditCustomAttributes = "";
			$cstFutureStudents->StudentNumber->EditValue = ew_HtmlEncode($cstFutureStudents->StudentNumber->AdvancedSearch->SearchValue);

			// CCEFacilitatorID
			$cstFutureStudents->CCEFacilitatorID->EditCustomAttributes = "";
				$sFilterWrk = "";
			$sSqlWrk = "SELECT `FacilitatorID`, `FacilitatorName`, '' AS Disp2Fld, '' AS SelectFilterFld FROM `CCEFacilitators`";
			$sWhereWrk = "";
			if ($sFilterWrk <> "") {
				if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
				$sWhereWrk .= "(" . $sFilterWrk . ")";
			}
			if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk;
			$sSqlWrk .= " ORDER BY `FacilitatorName`";
			$rswrk = $conn->Execute($sSqlWrk);
			$arwrk = ($rswrk) ? $rswrk->GetRows() : array();
			if ($rswrk) $rswrk->Close();
			array_unshift($arwrk, array("", $Language->Phrase("PleaseSelect")));
			$cstFutureStudents->CCEFacilitatorID->EditValue = $arwrk;

			// Project
			$cstFutureStudents->Project->EditCustomAttributes = "";
				$sFilterWrk = "";
			$sSqlWrk = "SELECT `CCEProjectID`, `Project`, '' AS Disp2Fld, '' AS SelectFilterFld FROM `CCEProjects`";
			$sWhereWrk = "";
			if ($sFilterWrk <> "") {
				if ($sWhereWrk <> "") $sWhereWrk .= " AND ";
				$sWhereWrk .= "(" . $sFilterWrk . ")";
			}
			if ($sWhereWrk <> "") $sSqlWrk .= " WHERE " . $sWhereWrk;
			$sSqlWrk .= " ORDER BY `DisplayOrder`";
			$rswrk = $conn->Execute($sSqlWrk);
			$arwrk = ($rswrk) ? $rswrk->GetRows() : array();
			if ($rswrk) $rswrk->Close();
			array_unshift($arwrk, array("", $Language->Phrase("PleaseSelect")));
			$cstFutureStudents->Project->EditValue = $arwrk;

			// ProjectDiscipline
			$cstFutureStudents->ProjectDiscipline->EditCustomAttributes = "";
			$cstFutureStudents->ProjectDiscipline->EditValue = ew_HtmlEncode($cstFutureStudents->ProjectDiscipline->AdvancedSearch->SearchValue);

			// IDNumber
			$cstFutureStudents->IDNumber->EditCustomAttributes = "";
			$cstFutureStudents->IDNumber->EditValue = ew_HtmlEncode($cstFutureStudents->IDNumber->AdvancedSearch->SearchValue);

			// ECSARegistered
			$cstFutureStudents->ECSARegistered->EditCustomAttributes = "";
			$arwrk = array();
			$arwrk[] = array("c", "Yes - Candidate Engineer");
			$arwrk[] = array("p", "Yes - Professional Engineer");
			$arwrk[] = array("n", "No");
			$arwrk[] = array("y", "Yes");
			$cstFutureStudents->ECSARegistered->EditValue = $arwrk;

			// ECSACategory
			$cstFutureStudents->ECSACategory->EditCustomAttributes = "";
			$cstFutureStudents->ECSACategory->EditValue = ew_HtmlEncode($cstFutureStudents->ECSACategory->AdvancedSearch->SearchValue);

			// ECSANumber
			$cstFutureStudents->ECSANumber->EditCustomAttributes = "";
			$cstFutureStudents->ECSANumber->EditValue = ew_HtmlEncode($cstFutureStudents->ECSANumber->AdvancedSearch->SearchValue);

			// OtherStatutoryBodyRegistered
			$cstFutureStudents->OtherStatutoryBodyRegistered->EditCustomAttributes = "";
			$arwrk = array();
			$arwrk[] = array("1", "Yes");
			$arwrk[] = array("0", "No");
			$cstFutureStudents->OtherStatutoryBodyRegistered->EditValue = $arwrk;

			// OtherStatutoryBodyName
			$cstFutureStudents->OtherStatutoryBodyName->EditCustomAttributes = "";
			$cstFutureStudents->OtherStatutoryBodyName->EditValue = ew_HtmlEncode($cstFutureStudents->OtherStatutoryBodyName->AdvancedSearch->SearchValue);

			// OtherStatutoryBodyNumber
			$cstFutureStudents->OtherStatutoryBodyNumber->EditCustomAttributes = "";
			$cstFutureStudents->OtherStatutoryBodyNumber->EditValue = ew_HtmlEncode($cstFutureStudents->OtherStatutoryBodyNumber->AdvancedSearch->SearchValue);

			// Age
			$cstFutureStudents->Age->EditCustomAttributes = "";
			$arwrk = array();
			$arwrk[] = array("1", "Yes");
			$arwrk[] = array("0", "No");
			$cstFutureStudents->Age->EditValue = $arwrk;

			// HighestQual
			$cstFutureStudents->HighestQual->EditCustomAttributes = "";
			$cstFutureStudents->HighestQual->EditValue = ew_HtmlEncode($cstFutureStudents->HighestQual->AdvancedSearch->SearchValue);

			// AreaDiscipline
			$cstFutureStudents->AreaDiscipline->EditCustomAttributes = "";
			$cstFutureStudents->AreaDiscipline->EditValue = ew_HtmlEncode($cstFutureStudents->AreaDiscipline->AdvancedSearch->SearchValue);

			// Telephone
			$cstFutureStudents->Telephone->EditCustomAttributes = "";
			$cstFutureStudents->Telephone->EditValue = ew_HtmlEncode($cstFutureStudents->Telephone->AdvancedSearch->SearchValue);

			// Cellphone
			$cstFutureStudents->Cellphone->EditCustomAttributes = "";
			$cstFutureStudents->Cellphone->EditValue = ew_HtmlEncode($cstFutureStudents->Cellphone->AdvancedSearch->SearchValue);

			// EmailAddress
			$cstFutureStudents->EmailAddress->EditCustomAttributes = "";
			$cstFutureStudents->EmailAddress->EditValue = ew_HtmlEncode($cstFutureStudents->EmailAddress->AdvancedSearch->SearchValue);

			// HomeAddress
			$cstFutureStudents->HomeAddress->EditCustomAttributes = "";
			$cstFutureStudents->HomeAddress->EditValue = ew_HtmlEncode($cstFutureStudents->HomeAddress->AdvancedSearch->SearchValue);

			// WorkAddress
			$cstFutureStudents->WorkAddress->EditCustomAttributes = "";
			$cstFutureStudents->WorkAddress->EditValue = ew_HtmlEncode($cstFutureStudents->WorkAddress->AdvancedSearch->SearchValue);

			// PostalAddress
			$cstFutureStudents->PostalAddress->EditCustomAttributes = "";
			$cstFutureStudents->PostalAddress->EditValue = ew_HtmlEncode($cstFutureStudents->PostalAddress->AdvancedSearch->SearchValue);

			// Designation
			$cstFutureStudents->Designation->EditCustomAttributes = "";
			$cstFutureStudents->Designation->EditValue = ew_HtmlEncode($cstFutureStudents->Designation->AdvancedSearch->SearchValue);

			// Department
			$cstFutureStudents->Department->EditCustomAttributes = "";
			$cstFutureStudents->Department->EditValue = ew_HtmlEncode($cstFutureStudents->Department->AdvancedSearch->SearchValue);

			// CESAMemberFirm
			$cstFutureStudents->CESAMemberFirm->EditCustomAttributes = "";
			$arwrk = array();
			$arwrk[] = array("y", "Yes");
			$arwrk[] = array("n", "No");
			$cstFutureStudents->CESAMemberFirm->EditValue = $arwrk;

			// CESAAccountNo
			$cstFutureStudents->CESAAccountNo->EditCustomAttributes = "";
			$cstFutureStudents->CESAAccountNo->EditValue = ew_HtmlEncode($cstFutureStudents->CESAAccountNo->AdvancedSearch->SearchValue);

			// VATNo
			$cstFutureStudents->VATNo->EditCustomAttributes = "";
			$cstFutureStudents->VATNo->EditValue = ew_HtmlEncode($cstFutureStudents->VATNo->AdvancedSearch->SearchValue);

			// DietaryRequirements
			$cstFutureStudents->DietaryRequirements->EditCustomAttributes = "";
			$cstFutureStudents->DietaryRequirements->EditValue = ew_HtmlEncode($cstFutureStudents->DietaryRequirements->AdvancedSearch->SearchValue);

			// IDFile
			$cstFutureStudents->IDFile->EditCustomAttributes = "";
			if (!ew_Empty($cstFutureStudents->IDFile->Upload->DbValue)) {
				$cstFutureStudents->IDFile->EditValue = $cstFutureStudents->IDFile->Upload->DbValue;
			} else {
				$cstFutureStudents->IDFile->EditValue = "";
			}

			// CVFile
			$cstFutureStudents->CVFile->EditCustomAttributes = "";
			if (!ew_Empty($cstFutureStudents->CVFile->Upload->DbValue)) {
				$cstFutureStudents->CVFile->EditValue = $cstFutureStudents->CVFile->Upload->DbValue;
			} else {
				$cstFutureStudents->CVFile->EditValue = "";
			}

			// QualCertificate1
			$cstFutureStudents->QualCertificate1->EditCustomAttributes = "";
			if (!ew_Empty($cstFutureStudents->QualCertificate1->Upload->DbValue)) {
				$cstFutureStudents->QualCertificate1->EditValue = $cstFutureStudents->QualCertificate1->Upload->DbValue;
			} else {
				$cstFutureStudents->QualCertificate1->EditValue = "";
			}

			// QualCertificate2
			$cstFutureStudents->QualCertificate2->EditCustomAttributes = "";
			if (!ew_Empty($cstFutureStudents->QualCertificate2->Upload->DbValue)) {
				$cstFutureStudents->QualCertificate2->EditValue = $cstFutureStudents->QualCertificate2->Upload->DbValue;
			} else {
				$cstFutureStudents->QualCertificate2->EditValue = "";
			}

			// QualCertificate3
			$cstFutureStudents->QualCertificate3->EditCustomAttributes = "";
			if (!ew_Empty($cstFutureStudents->QualCertificate3->Upload->DbValue)) {
				$cstFutureStudents->QualCertificate3->EditValue = $cstFutureStudents->QualCertificate3->Upload->DbValue;
			} else {
				$cstFutureStudents->QualCertificate3->EditValue = "";
			}

			// MemorandumFile
			$cstFutureStudents->MemorandumFile->EditCustomAttributes = "";
			if (!ew_Empty($cstFutureStudents->MemorandumFile->Upload->DbValue)) {
				$cstFutureStudents->MemorandumFile->EditValue = $cstFutureStudents->MemorandumFile->Upload->DbValue;
			} else {
				$cstFutureStudents->MemorandumFile->EditValue = "";
			}

			// AgreementFile
			$cstFutureStudents->AgreementFile->EditCustomAttributes = "";
			if (!ew_Empty($cstFutureStudents->AgreementFile->Upload->DbValue)) {
				$cstFutureStudents->AgreementFile->EditValue = $cstFutureStudents->AgreementFile->Upload->DbValue;
			} else {
				$cstFutureStudents->AgreementFile->EditValue = "";
			}

			// OrderNo
			$cstFutureStudents->OrderNo->EditCustomAttributes = "";
			$cstFutureStudents->OrderNo->EditValue = ew_HtmlEncode($cstFutureStudents->OrderNo->AdvancedSearch->SearchValue);

			// BookedByName
			$cstFutureStudents->BookedByName->EditCustomAttributes = "";
			$cstFutureStudents->BookedByName->EditValue = ew_HtmlEncode($cstFutureStudents->BookedByName->AdvancedSearch->SearchValue);

			// BookedByDesignation
			$cstFutureStudents->BookedByDesignation->EditCustomAttributes = "";
			$cstFutureStudents->BookedByDesignation->EditValue = ew_HtmlEncode($cstFutureStudents->BookedByDesignation->AdvancedSearch->SearchValue);

			// BookedByTelNo
			$cstFutureStudents->BookedByTelNo->EditCustomAttributes = "";
			$cstFutureStudents->BookedByTelNo->EditValue = ew_HtmlEncode($cstFutureStudents->BookedByTelNo->AdvancedSearch->SearchValue);

			// BookedByFaxNo
			$cstFutureStudents->BookedByFaxNo->EditCustomAttributes = "";
			$cstFutureStudents->BookedByFaxNo->EditValue = ew_HtmlEncode($cstFutureStudents->BookedByFaxNo->AdvancedSearch->SearchValue);

			// BookedByCellNo
			$cstFutureStudents->BookedByCellNo->EditCustomAttributes = "";
			$cstFutureStudents->BookedByCellNo->EditValue = ew_HtmlEncode($cstFutureStudents->BookedByCellNo->AdvancedSearch->SearchValue);

			// BookedByEmail
			$cstFutureStudents->BookedByEmail->EditCustomAttributes = "";
			$cstFutureStudents->BookedByEmail->EditValue = ew_HtmlEncode($cstFutureStudents->BookedByEmail->AdvancedSearch->SearchValue);

			// WebUsername
			$cstFutureStudents->WebUsername->EditCustomAttributes = "";
			$cstFutureStudents->WebUsername->EditValue = ew_HtmlEncode($cstFutureStudents->WebUsername->AdvancedSearch->SearchValue);

			// WebPassword
			$cstFutureStudents->WebPassword->EditCustomAttributes = "";
			$cstFutureStudents->WebPassword->EditValue = ew_HtmlEncode($cstFutureStudents->WebPassword->AdvancedSearch->SearchValue);

			// MentorDesig
			$cstFutureStudents->MentorDesig->EditCustomAttributes = "";
			$cstFutureStudents->MentorDesig->EditValue = ew_HtmlEncode($cstFutureStudents->MentorDesig->AdvancedSearch->SearchValue);

			// MentorTel
			$cstFutureStudents->MentorTel->EditCustomAttributes = "";
			$cstFutureStudents->MentorTel->EditValue = ew_HtmlEncode($cstFutureStudents->MentorTel->AdvancedSearch->SearchValue);

			// MentorCell
			$cstFutureStudents->MentorCell->EditCustomAttributes = "";
			$cstFutureStudents->MentorCell->EditValue = ew_HtmlEncode($cstFutureStudents->MentorCell->AdvancedSearch->SearchValue);

			// MentorEmail
			$cstFutureStudents->MentorEmail->EditCustomAttributes = "";
			$cstFutureStudents->MentorEmail->EditValue = ew_HtmlEncode($cstFutureStudents->MentorEmail->AdvancedSearch->SearchValue);

			// HRManagerName
			$cstFutureStudents->HRManagerName->EditCustomAttributes = "";
			$cstFutureStudents->HRManagerName->EditValue = ew_HtmlEncode($cstFutureStudents->HRManagerName->AdvancedSearch->SearchValue);

			// HRManagerDesignation
			$cstFutureStudents->HRManagerDesignation->EditCustomAttributes = "";
			$cstFutureStudents->HRManagerDesignation->EditValue = ew_HtmlEncode($cstFutureStudents->HRManagerDesignation->AdvancedSearch->SearchValue);

			// HRManagerTelNo
			$cstFutureStudents->HRManagerTelNo->EditCustomAttributes = "";
			$cstFutureStudents->HRManagerTelNo->EditValue = ew_HtmlEncode($cstFutureStudents->HRManagerTelNo->AdvancedSearch->SearchValue);

			// HRManagerCellNo
			$cstFutureStudents->HRManagerCellNo->EditCustomAttributes = "";
			$cstFutureStudents->HRManagerCellNo->EditValue = ew_HtmlEncode($cstFutureStudents->HRManagerCellNo->AdvancedSearch->SearchValue);

			// HRManagerEmail
			$cstFutureStudents->HRManagerEmail->EditCustomAttributes = "";
			$cstFutureStudents->HRManagerEmail->EditValue = ew_HtmlEncode($cstFutureStudents->HRManagerEmail->AdvancedSearch->SearchValue);

			// BlockAccess
			$cstFutureStudents->BlockAccess->EditCustomAttributes = "";
			$arwrk = array();
			$arwrk[] = array("y", "Yes");
			$arwrk[] = array("n", "No");
			$cstFutureStudents->BlockAccess->EditValue = $arwrk;

			// Archived
			$cstFutureStudents->Archived->EditCustomAttributes = "";
			$arwrk = array();
			$arwrk[] = array("1", "Yes");
			$cstFutureStudents->Archived->EditValue = $arwrk;

			// MentorFirstName
			$cstFutureStudents->MentorFirstName->EditCustomAttributes = "";
			$cstFutureStudents->MentorFirstName->EditValue = ew_HtmlEncode($cstFutureStudents->MentorFirstName->AdvancedSearch->SearchValue);

			// MentorSurname
			$cstFutureStudents->MentorSurname->EditCustomAttributes = "";
			$cstFutureStudents->MentorSurname->EditValue = ew_HtmlEncode($cstFutureStudents->MentorSurname->AdvancedSearch->SearchValue);
		}

		// Call Row Rendered event
		if ($cstFutureStudents->RowType <> EW_ROWTYPE_AGGREGATEINIT)
			$cstFutureStudents->Row_Rendered();
	}

	// Validate search
	function ValidateSearch() {
		global $gsSearchError, $cstFutureStudents;

		// Initialize
		$gsSearchError = "";

		// Check if validation required
		if (!EW_SERVER_VALIDATE)
			return TRUE;

		// 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 $cstFutureStudents;
		$cstFutureStudents->CCEStudentID->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_CCEStudentID");
		$cstFutureStudents->Title->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_Title");
		$cstFutureStudents->FirstName->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_FirstName");
		$cstFutureStudents->Surname->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_Surname");
		$cstFutureStudents->KnownAs->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_KnownAs");
		$cstFutureStudents->Organisation->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_Organisation");
		$cstFutureStudents->OrganisationType->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_OrganisationType");
		$cstFutureStudents->LengthEmploy->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_LengthEmploy");
		$cstFutureStudents->OtherCEFirms->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_OtherCEFirms");
		$cstFutureStudents->StudentNumber->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_StudentNumber");
		$cstFutureStudents->CCEFacilitatorID->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_CCEFacilitatorID");
		$cstFutureStudents->Project->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_Project");
		$cstFutureStudents->ProjectDiscipline->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_ProjectDiscipline");
		$cstFutureStudents->IDNumber->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_IDNumber");
		$cstFutureStudents->ECSARegistered->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_ECSARegistered");
		$cstFutureStudents->ECSACategory->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_ECSACategory");
		$cstFutureStudents->ECSANumber->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_ECSANumber");
		$cstFutureStudents->OtherStatutoryBodyRegistered->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_OtherStatutoryBodyRegistered");
		$cstFutureStudents->OtherStatutoryBodyName->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_OtherStatutoryBodyName");
		$cstFutureStudents->OtherStatutoryBodyNumber->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_OtherStatutoryBodyNumber");
		$cstFutureStudents->Age->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_Age");
		$cstFutureStudents->HighestQual->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_HighestQual");
		$cstFutureStudents->AreaDiscipline->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_AreaDiscipline");
		$cstFutureStudents->Telephone->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_Telephone");
		$cstFutureStudents->Cellphone->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_Cellphone");
		$cstFutureStudents->EmailAddress->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_EmailAddress");
		$cstFutureStudents->HomeAddress->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_HomeAddress");
		$cstFutureStudents->WorkAddress->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_WorkAddress");
		$cstFutureStudents->PostalAddress->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_PostalAddress");
		$cstFutureStudents->Designation->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_Designation");
		$cstFutureStudents->Department->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_Department");
		$cstFutureStudents->CESAMemberFirm->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_CESAMemberFirm");
		$cstFutureStudents->CESAAccountNo->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_CESAAccountNo");
		$cstFutureStudents->VATNo->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_VATNo");
		$cstFutureStudents->DietaryRequirements->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_DietaryRequirements");
		$cstFutureStudents->OrderNo->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_OrderNo");
		$cstFutureStudents->BookedByName->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_BookedByName");
		$cstFutureStudents->BookedByDesignation->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_BookedByDesignation");
		$cstFutureStudents->BookedByTelNo->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_BookedByTelNo");
		$cstFutureStudents->BookedByFaxNo->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_BookedByFaxNo");
		$cstFutureStudents->BookedByCellNo->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_BookedByCellNo");
		$cstFutureStudents->BookedByEmail->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_BookedByEmail");
		$cstFutureStudents->WebUsername->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_WebUsername");
		$cstFutureStudents->WebPassword->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_WebPassword");
		$cstFutureStudents->MentorDesig->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_MentorDesig");
		$cstFutureStudents->MentorTel->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_MentorTel");
		$cstFutureStudents->MentorCell->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_MentorCell");
		$cstFutureStudents->MentorEmail->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_MentorEmail");
		$cstFutureStudents->HRManagerName->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_HRManagerName");
		$cstFutureStudents->HRManagerDesignation->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_HRManagerDesignation");
		$cstFutureStudents->HRManagerTelNo->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_HRManagerTelNo");
		$cstFutureStudents->HRManagerCellNo->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_HRManagerCellNo");
		$cstFutureStudents->HRManagerEmail->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_HRManagerEmail");
		$cstFutureStudents->BlockAccess->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_BlockAccess");
		$cstFutureStudents->Archived->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_Archived");
		$cstFutureStudents->MentorFirstName->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_MentorFirstName");
		$cstFutureStudents->MentorSurname->AdvancedSearch->SearchValue = $cstFutureStudents->getAdvancedSearch("x_MentorSurname");
	}

	// 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;
	}
}
?>