<!doctype html>
<html  {$html_attrs}>
	<head>
				<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>{$pagetitle}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base href="{$projectPath}">
		<link REL="stylesheet" href="styles/default.css?{$wizardBuildKey}" type="text/css">
	{BEGIN rtlCSS}
	<link REL="stylesheet" href="styles/defaultRTL.css?{$wizardBuildKey}" type="text/css">
	{END rtlCSS}
	{BEGIN styleCSSFiles}
	<link REL="stylesheet" href="{$stylepath}" type="text/css">
	{END styleCSSFiles}
	</head>
	<body class="{$stylename} function-list" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<style>
			{$containerCss}
		</style>
		<div class="r-topbar-page">
			<div data-menu-width="full" 
				 
				class="r-topheader" 
				data-resize-name="topbar"
				data-body-align="left"
			>
								{BEGIN supertop_block}
<nav class="navbar navbar-default" 
	data-location="supertop" id="form_supertop_{$pageid}" data-makeup="topbar" {$form_supertop} data-pageid="{$pageid}" >
			 
							 
				<span data-cellId="supertop_c1" data-pageid="{$pageid}" class="r-align-left navbar-header" data-itemid="logo" {$item_logo}>
				{BEGIN logo_block}
	<A data-itemtype="logo" data-itemid="logo" {$item_logo} data-pageid="{$pageid}" class="navbar-brand" href="{$home_link}" data-pageid="{$pageid}" {$logo_hiddenattr}>
		{$logo}
	</A>
{END logo_block}
				<button data-pageid="1" type="button" class="navbar-toggle collapsed" data-runner-toggle="collapse" data-target="[data-mobile-controlled]">	
					<span class="sr-only">Toggle navigation</span>	
					<span class="icon-bar"></span>					
				</button>				
			</span>
		 
				<span data-cellId="supertop_c1" data-pageid="{$pageid}" class="r-align-left navbar-collapse" data-itemtype="menu" data-itemid="menu" {$item_menu} data-pageid="{$pageid}">
				{$menu Scholarships horizontal}			</span>
							 
							 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="simple_search_field" {$item_simple_search_field} data-topcell-item-type="simple_search_field" >
				{$simpleSearchFieldCombo}			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="simple_search_option" {$item_simple_search_option} data-topcell-item-type="simple_search_option" >
				{$simpleSearchTypeCombo}			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="simple_search" {$item_simple_search} data-topcell-item-type="simple_search" >
				<span data-itemtype="simple_search" data-itemid="simple_search" {$item_simple_search} data-pageid="{$pageid}" class="form-group">

<div  class="input-group">
{BEGIN searchform_text}
	<input type="search" class="form-control" {$searchfor_attrs} size="25">
{END searchform_text}
	<span class="input-group-btn">
	{BEGIN searchform_showall}
		<button class="btn btn-default" {$showAllCont_attrs} {$showallbutton_attrs} title="Show all">
			<span class="glyphicon glyphicon-remove"></span>
		</button>
	{END searchform_showall}
	{BEGIN searchform_search}
	<button {$searchbutton_attrs} class="btn btn-primary" >
		<span class="glyphicon glyphicon-search"></span>
	</button>
	{END searchform_search}
	</span>
</div>
		
</span>			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="list_options" {$item_list_options} data-topcell-item-type="list_options" >
				<span data-itemtype="list_options" data-itemid="list_options" {$item_list_options} data-pageid="{$pageid}" data-small data-button-item>
	<span class="dropdown ">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
							<span class="glyphicon glyphicon-cog"></span>
									<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
								<li data-itemtype="edit_selected" data-itemid="edit_selected" {$item_edit_selected} data-pageid="{$pageid}" data-small >
				<a  href="#" {$editselectedlink_attrs} {$editselectedlink_span}  title="" >
				
		Edit selected		
		</a>
	</li>
							<li role="separator" class="divider"></li>								<li data-itemtype="advsearch_link" data-itemid="advsearch_link" {$item_advsearch_link} data-pageid="{$pageid}" data-small >
				<a   href="mpgsssearchnupload_search.php" {$advsearchlink_attrs}  title="" >
				
		Advanced search		
		</a>
	</li>
							<li role="separator" class="divider"></li>							{BEGIN searchPanelTopButtons}
	<li data-itemtype="show_search_panel" data-itemid="show_search_panel" {$item_show_search_panel} data-pageid="{$pageid}" data-small >
				<a  id="showOptPanel{$id}"  title="" >
				
		Show search panel		
		</a>
	</li>
{END searchPanelTopButtons}
							{BEGIN searchPanelTopButtons}
	<li data-itemtype="hide_search_panel" data-itemid="hide_search_panel" {$item_hide_search_panel} data-pageid="{$pageid}" data-small >
				<a  id="hideOptPanel{$id}"  title="" >
				
		Hide search panel		
		</a>
	</li>
{END searchPanelTopButtons}
					</ul>
	</span>
</span>
			</span>
								</nav>
{END supertop_block}
					{$locking}
			</div>	
			<div data-body-align="left"  data-body-width="standard" class="r-body" data-resize-top="topbar" >
				<div class="r-top">
								{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="topbar" {$form_top} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	
">
		 
		{BEGIN breadcrumb}
<ol class="breadcrumb" data-itemtype="breadcrumb" data-itemid="breadcrumb" {$item_breadcrumb} data-pageid="{$pageid}">
<li ><a href="{$crumb_home_link}"><span class="glyphicon glyphicon-home"></span></a>{$crumb_dropdown}</li>
{BEGIN crumb}
  <li class="{$crumb_item_class}">
{BEGIN crumb_title_link}
	<a {$crumb_attrs}>{$crumb_title}</a>
{END crumb_title_link}
{BEGIN crumb_title_span}
	<span {$crumb_attrs}>{$crumb_title}</span>
{END crumb_title_span}	
	{$crumb_dropdown}
  </li>
{END crumb}
</ol>
{END breadcrumb}		</div>					</div>
	</div>		
{END top_block}
					</div>
				<div class="r-content">
										<div class="r-left" {$blockattr_left} {$form_left} >
										{BEGIN left_block}
<table class="r-fluid r-form" data-location="left" id="form_left_{$pageid}" data-makeup="topbar" {$form_left} data-pageid="{$pageid}" >
						<tbody>
			
								<tr>
									<td 
	class=" r-ori-vert			"
			 
	data-cellId="left_c1" data-pageid="{$pageid}">
 
<!-- Begin Search panel content -->
<div class="searchOptions panel panel-primary searchPanelContainer " {$srchOpt_attrs} data-itemtype="search_panel" data-itemid="search_panel" {$item_search_panel} data-pageid="{$pageid}" >

	<div class="panel-heading">
		<div class="btn-group" id="addSearchFieldButton{$id}">
			<button id="showHideControlChooseMenu{$id}" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
			Search in			<span class="caret"></span>
			</button>
		</div>


		<div class="btn-group searchpanel-options" id="searchPanelOptions{$id}">
			<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
				<span class="glyphicon glyphicon glyphicon-option-vertical"></span>
			</button>
			<ul class="dropdown-menu dropdown-left">
				<li id="showHideSearchType{$id}" {$showHideCtrlsOpt_attrs}><a>Show options</a></li>
				<li role="separator" class="divider"></li>
				<li class="srchCritTop" style="display: none;"><a><input type="radio" name="srchType{$id}" id="radioAll" {$all_checkbox}><label for="radioAll"><span class="glyphicon">&nbsp;</span>all conditions</label></a></li>
				<li class="srchCritTop" style="display: none;"><a><input type="radio" name="srchType{$id}" id="radioAny" {$any_checkbox}><label for="radioAny"><span class="glyphicon">&nbsp;</span>any condition</label></a></li>
				<li role="separator" class="divider"></li>
				<li><a class="close-button"><span class="glyphicon glyphicon-remove">&nbsp;</span>hide</a></li>
			</ul>
		</div>


		</div>
	<div class="panel-body controlsBlock" {$bottomSearchButt_attrs} >


		
		{BEGIN searchCtrlBlock}
		<div class="srchPanelRow form-group" {$filterRow_attrs}>
			<label>{$fLabel}</label>	{$delCtrlButt}
				<span class="rnr-searchtype">{$searchtype}</span>
				<span class="rnr-searchcontrol">{$searchcontrol}</span>
				<span class="rnr-searchcontrol">{$searchcontrol1}</span>
		</div>
		{END searchCtrlBlock}
																		{BEGIN searchCtrlBlock_Surname}


		<div class="form-group srchPanelRow {$filterRow_class_Surname}" {$filterRow_attrs_Surname}>
			<label>{$label mpgsssearchnupload Surname }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Surname}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Surname}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Surname}</span>
						</div>
		{END searchCtrlBlock_Surname}
																{BEGIN searchCtrlBlock_natid}


		<div class="form-group srchPanelRow {$filterRow_class_natid}" {$filterRow_attrs_natid}>
			<label>{$label mpgsssearchnupload natid }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_natid}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_natid}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_natid}</span>
						</div>
		{END searchCtrlBlock_natid}
																{BEGIN searchCtrlBlock_StudentSchoolID}


		<div class="form-group srchPanelRow {$filterRow_class_StudentSchoolID}" {$filterRow_attrs_StudentSchoolID}>
			<label>{$label mpgsssearchnupload StudentSchoolID }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_StudentSchoolID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_StudentSchoolID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_StudentSchoolID}</span>
						</div>
		{END searchCtrlBlock_StudentSchoolID}
																{BEGIN searchCtrlBlock_1styear}


		<div class="form-group srchPanelRow {$filterRow_class_1styear}" {$filterRow_attrs_1styear}>
			<label>{$label mpgsssearchnupload 1styear }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_1styear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_1styear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_1styear}</span>
						</div>
		{END searchCtrlBlock_1styear}
																{BEGIN searchCtrlBlock_ProgramCode}


		<div class="form-group srchPanelRow {$filterRow_class_ProgramCode}" {$filterRow_attrs_ProgramCode}>
			<label>{$label mpgsssearchnupload ProgramCode }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_ProgramCode}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_ProgramCode}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_ProgramCode}</span>
						</div>
		{END searchCtrlBlock_ProgramCode}
																{BEGIN searchCtrlBlock_ProgramName}


		<div class="form-group srchPanelRow {$filterRow_class_ProgramName}" {$filterRow_attrs_ProgramName}>
			<label>{$label mpgsssearchnupload ProgramName }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_ProgramName}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_ProgramName}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_ProgramName}</span>
						</div>
		{END searchCtrlBlock_ProgramName}
																{BEGIN searchCtrlBlock_TertiaryInstitutionAdmitted}


		<div class="form-group srchPanelRow {$filterRow_class_TertiaryInstitutionAdmitted}" {$filterRow_attrs_TertiaryInstitutionAdmitted}>
			<label>{$label mpgsssearchnupload TertiaryInstitutionAdmitted }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_TertiaryInstitutionAdmitted}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_TertiaryInstitutionAdmitted}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_TertiaryInstitutionAdmitted}</span>
						</div>
		{END searchCtrlBlock_TertiaryInstitutionAdmitted}
																{BEGIN searchCtrlBlock_FatherDistrict}


		<div class="form-group srchPanelRow {$filterRow_class_FatherDistrict}" {$filterRow_attrs_FatherDistrict}>
			<label>{$label mpgsssearchnupload FatherDistrict }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_FatherDistrict}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_FatherDistrict}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_FatherDistrict}</span>
						</div>
		{END searchCtrlBlock_FatherDistrict}
																{BEGIN searchCtrlBlock_MPGID}


		<div class="form-group srchPanelRow {$filterRow_class_MPGID}" {$filterRow_attrs_MPGID}>
			<label>{$label mpgsssearchnupload MPGID }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_MPGID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_MPGID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_MPGID}</span>
						</div>
		{END searchCtrlBlock_MPGID}
																{BEGIN searchCtrlBlock_FirstName}


		<div class="form-group srchPanelRow {$filterRow_class_FirstName}" {$filterRow_attrs_FirstName}>
			<label>{$label mpgsssearchnupload FirstName }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_FirstName}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_FirstName}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_FirstName}</span>
						</div>
		{END searchCtrlBlock_FirstName}
		

	</div>

	<div class="panel-footer bottomSearchButt" {$bottomSearchButt_attrs}>
		<button class="btn btn-primary" id="searchButton{$id}" {$searchbutton_attrs}>Search</button>
		<button class="btn btn-default" {$showAllCont_attrs} {$showallbutton_attrs}>Show all</button>
	</div>
</div>
<!-- End Search panel content -->
</td>
							</tr>
					
					</tbody>
				</table>
{END left_block}
						</div>
										<div class="r-data-block" data-body-width="standard" >
						
										{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="topbar" {$form_above-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class="			col-md-6
	
">
		{BEGIN firstAboveGridCell}
		 
		{BEGIN inlineadd_link}
<span data-itemtype="inline_add" data-itemid="inline_add" {$item_inline_add} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$inlineaddlink_attrs} >
							Inline Add			</a>
</span>
{END inlineadd_link}
	 
		{BEGIN saveall_link}
<span data-itemtype="inline_save_all" data-itemid="inline_save_all" {$item_inline_save_all} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savealllink_attrs} {$savealllink_span} >
							Save all			</a>
</span>
{END saveall_link}
	 
		{BEGIN cancelall_link}
<span data-itemtype="inline_cancel_all" data-itemid="inline_cancel_all" {$item_inline_cancel_all} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$cancelalllink_attrs} {$cancelalllink_span} >
							Cancel			</a>
</span>
{END cancelall_link}
	 
		{BEGIN updateselected_link}
<span data-itemtype="update_selected" data-itemid="update_selected" {$item_update_selected} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$updateselectedlink_attrs} disabled data-popup >
							Update selected			</a>
</span>
{END updateselected_link}
			{END firstAboveGridCell}	
	</div>			 
				<div 
	data-cellId="above-grid_c2" data-pageid="{$pageid}"	{$cell_above-grid_c2}
	class="r-align-right			col-md-6
	
">
		 
		<span data-itemtype="details_found" data-itemid="details_found" {$item_details_found} data-pageid="{$pageid}" data-small >
{$details_found_labeldetails_found}
</span>	 
		<span data-itemtype="page_size" data-itemid="page_size" {$item_page_size} data-pageid="{$pageid}" >
		{$recsPerPage}
</span>		</div>					</div>
	</div>		
{END above-grid_block}
							
						<div class="r-grid">
										{BEGIN grid_block}
{BEGIN grid_tabs}
  <ul class="nav nav-tabs bsgrid_tabs">
	{$grid_tabs_content}
  </ul>
{END grid_tabs}
{BEGIN message_block}
<div data-grid-message data-pageid="{$pageid}" class="alert {$message_class}" role="alert" {$grid_message_attrs}>{$message}</div>
{END message_block}	<style>
@media screen and (max-width: 767px) {
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Surname"]:before {
		content: "{$label mpgsssearchnupload Surname}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="FirstName"]:before {
		content: "{$label mpgsssearchnupload FirstName}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="MPGID"]:before {
		content: "{$label mpgsssearchnupload MPGID}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Photo"]:before {
		content: "{$label mpgsssearchnupload Photo}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Documents"]:before {
		content: "{$label mpgsssearchnupload Documents}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Gender"]:before {
		content: "{$label mpgsssearchnupload Gender}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="DateofBirth"]:before {
		content: "{$label mpgsssearchnupload DateofBirth}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="PlaceofBirth"]:before {
		content: "{$label mpgsssearchnupload PlaceofBirth}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="FatherDistrict"]:before {
		content: "{$label mpgsssearchnupload FatherDistrict}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="MOTHERNAME"]:before {
		content: "{$label mpgsssearchnupload MOTHERNAME}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="MOTHERSURNAME"]:before {
		content: "{$label mpgsssearchnupload MOTHERSURNAME}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="MotherDistrict"]:before {
		content: "{$label mpgsssearchnupload MotherDistrict}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="FATHERSNAME"]:before {
		content: "{$label mpgsssearchnupload FATHERSNAME}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="FATHERSURNAME"]:before {
		content: "{$label mpgsssearchnupload FATHERSURNAME}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="TertiaryInstitutionAdmitted"]:before {
		content: "{$label mpgsssearchnupload TertiaryInstitutionAdmitted}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Reapply"]:before {
		content: "{$label mpgsssearchnupload Reapply}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="LastInstitutuonAttended"]:before {
		content: "{$label mpgsssearchnupload LastInstitutuonAttended}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="HighestGradeCompleted"]:before {
		content: "{$label mpgsssearchnupload HighestGradeCompleted}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="ProgramName"]:before {
		content: "{$label mpgsssearchnupload ProgramName}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="ProgramCode"]:before {
		content: "{$label mpgsssearchnupload ProgramCode}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="transcripts"]:before {
		content: "{$label mpgsssearchnupload transcripts}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="GPA"]:before {
		content: "{$label mpgsssearchnupload GPA}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="EmailAddrssAppl"]:before {
		content: "{$label mpgsssearchnupload EmailAddrssAppl}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="MobileNoAppl"]:before {
		content: "{$label mpgsssearchnupload MobileNoAppl}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="assessed"]:before {
		content: "{$label mpgsssearchnupload assessed}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="1styear"]:before {
		content: "{$label mpgsssearchnupload 1styear}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="StudentSchoolID"]:before {
		content: "{$label mpgsssearchnupload StudentSchoolID}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="natid"]:before {
		content: "{$label mpgsssearchnupload natid}";
	}
	
}
</style>
<table data-location="grid" id="form_grid_{$pageid}" data-makeup="topbar" {$form_grid} data-pageid="{$pageid}" class=" table {$grid_classes}  r-flexgrid rnr-b-grid rnr-gridtable" 
	cellpadding="0" 
	data-body-height="1"
>
						<thead>
			{BEGIN grid_header}
					
		 
						<tr {$rowattrs} {$row_grid_0} class="{$rowclass} 
									{$gridHeader_class}
									
								r-gridrow
							">
				 
					{BEGIN cellblock_grid_headcell_icons}
	<th
	
	{$cell_grid_headcell_icons}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_headcell_icons" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="mpgsssearchnupload_list"		data-control-cell
	
	>

	
	</th>
	{END cellblock_grid_headcell_icons}
				 
					{BEGIN cellblock_grid_headcell_checkbox}
	<th
	
	{$cell_grid_headcell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_headcell_checkbox" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="mpgsssearchnupload_list"	
		data-checkbox-cell
	>

	 
		{BEGIN checkbox_column}
<span data-itemtype="grid_checkbox_head" data-itemid="grid_checkbox_head" {$item_grid_checkbox_head} data-pageid="{$pageid}" data-record-id="{$recId}" >
	<input type="checkbox" {$checkboxheader_attrs}>
</span>
{END checkbox_column}
	
	</th>
	{END cellblock_grid_headcell_checkbox}
				 
					{BEGIN cellblock_grid_headcell_field}
	<th
	
	{$cell_grid_headcell_field}
	{$recordattrs}
	class="
		 r-ori-vert				{$Surname_class}
			"

			data-field="Surname"
	
	data-cellId="grid_headcell_field" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Surname_fieldheadercolumn}
	{BEGIN Surname_fieldheader}
	<SPAN {$Surname_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field7" {$item_simple_grid_field7} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Surname">
	{$label mpgsssearchnupload Surname }	{$arrow_icon_Surname}
	</SPAN>
	{END Surname_fieldheader}
{END Surname_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field}
				 
					{BEGIN cellblock_grid_headcell_field1}
	<th
	
	{$cell_grid_headcell_field1}
	{$recordattrs}
	class="
		 r-ori-vert				{$FirstName_class}
			"

			data-field="FirstName"
	
	data-cellId="grid_headcell_field1" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN FirstName_fieldheadercolumn}
	{BEGIN FirstName_fieldheader}
	<SPAN {$FirstName_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field8" {$item_simple_grid_field8} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="FirstName">
	{$label mpgsssearchnupload FirstName }	{$arrow_icon_FirstName}
	</SPAN>
	{END FirstName_fieldheader}
{END FirstName_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field1}
				 
					{BEGIN cellblock_grid_headcell_field2}
	<th
	
	{$cell_grid_headcell_field2}
	{$recordattrs}
	class="
		 r-ori-vert				{$TertiaryInstitutionAdmitted_class}
			"

			data-field="TertiaryInstitutionAdmitted"
	
	data-cellId="grid_headcell_field2" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN TertiaryInstitutionAdmitted_fieldheadercolumn}
	{BEGIN TertiaryInstitutionAdmitted_fieldheader}
	<SPAN {$TertiaryInstitutionAdmitted_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field9" {$item_simple_grid_field9} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="TertiaryInstitutionAdmitted">
	{$label mpgsssearchnupload TertiaryInstitutionAdmitted }	{$arrow_icon_TertiaryInstitutionAdmitted}
	</SPAN>
	{END TertiaryInstitutionAdmitted_fieldheader}
{END TertiaryInstitutionAdmitted_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field2}
				 
					{BEGIN cellblock_grid_headcell_field3}
	<th
	
	{$cell_grid_headcell_field3}
	{$recordattrs}
	class="
		 r-ori-vert				{$ProgramName_class}
			"

			data-field="ProgramName"
	
	data-cellId="grid_headcell_field3" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN ProgramName_fieldheadercolumn}
	{BEGIN ProgramName_fieldheader}
	<SPAN {$ProgramName_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field10" {$item_simple_grid_field10} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="ProgramName">
	{$label mpgsssearchnupload ProgramName }	{$arrow_icon_ProgramName}
	</SPAN>
	{END ProgramName_fieldheader}
{END ProgramName_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field3}
				 
					{BEGIN cellblock_grid_headcell_field4}
	<th
	
	{$cell_grid_headcell_field4}
	{$recordattrs}
	class="
		 r-ori-vert				{$1styear_class}
			"

			data-field="1styear"
	
	data-cellId="grid_headcell_field4" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN 1styear_fieldheadercolumn}
	{BEGIN 1styear_fieldheader}
	<SPAN {$1styear_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field11" {$item_simple_grid_field11} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="1styear">
	{$label mpgsssearchnupload 1styear }	{$arrow_icon_1styear}
	</SPAN>
	{END 1styear_fieldheader}
{END 1styear_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field4}
				 
					{BEGIN cellblock_grid_headcell_field5}
	<th
	
	{$cell_grid_headcell_field5}
	{$recordattrs}
	class="
		 r-ori-vert				{$StudentSchoolID_class}
			"

			data-field="StudentSchoolID"
	
	data-cellId="grid_headcell_field5" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN StudentSchoolID_fieldheadercolumn}
	{BEGIN StudentSchoolID_fieldheader}
	<SPAN {$StudentSchoolID_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field12" {$item_simple_grid_field12} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="StudentSchoolID">
	{$label mpgsssearchnupload StudentSchoolID }	{$arrow_icon_StudentSchoolID}
	</SPAN>
	{END StudentSchoolID_fieldheader}
{END StudentSchoolID_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field5}
				 
					{BEGIN cellblock_grid_headcell_field6}
	<th
	
	{$cell_grid_headcell_field6}
	{$recordattrs}
	class="
		 r-ori-vert				{$natid_class}
			"

			data-field="natid"
	
	data-cellId="grid_headcell_field6" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN natid_fieldheadercolumn}
	{BEGIN natid_fieldheader}
	<SPAN {$natid_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field13" {$item_simple_grid_field13} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="natid">
	{$label mpgsssearchnupload natid }	{$arrow_icon_natid}
	</SPAN>
	{END natid_fieldheader}
{END natid_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field6}
							</tr>
					 
					 
					
					{END grid_header}
			</thead>
															<tbody>
					{BEGIN grid_row}
									
		 
					 
						<tr {$rowattrs} {$row_grid_1} class="{$rowclass} 
								
								r-gridrow
							">
				 
					{BEGIN cellblock_grid_cell_icons}
	<td
	
	{$cell_grid_cell_icons}
	{$recordattrs}
	class="
					"

	
	data-cellId="grid_cell_icons" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="mpgsssearchnupload_list"		data-control-cell
	
	>

	 
		{BEGIN edit_column}
{BEGIN edit_link}
<span data-itemtype="grid_edit" data-itemid="grid_edit" {$item_grid_edit} data-pageid="{$pageid}" data-record-id="{$recId}" data-small data-button-item>
	<a type="button" title="Edit" class="btn-link   
	 glyphicon glyphicon-pencil" href="mpgsssearchnupload_edit.php?{$editlink}" {$editlink_attrs} title="Edit" data-popup >		
				
								</a>
</span>
{END edit_link}
{END edit_column}
	 
		{BEGIN inlineedit_column}
{BEGIN inlineedit_link}
<span data-itemtype="grid_inline_edit" data-itemid="grid_inline_edit" {$item_grid_inline_edit} data-pageid="{$pageid}" data-record-id="{$recId}" data-small data-button-item>
	<a type="button" title="Inline Edit" class="btn-link   
	 glyphicon glyphicon-edit" {$inlineeditlink_attrs} title="Inline Edit" >		
				
								</a>
</span>
{END inlineedit_link}
{END inlineedit_column}
	 
		{BEGIN inline_save}
<span data-itemtype="grid_inline_save" data-itemid="grid_inline_save" {$item_grid_inline_save} data-pageid="{$pageid}" data-record-id="{$recId}" data-small data-button-item>
	<a type="button" title="Save" class="btn-link   
	 glyphicon glyphicon-ok" {$inlinesavelink_attrs} title="Save" >		
				
								</a>
</span>
{END inline_save}
	 
		{BEGIN inline_cancel}
<span data-itemtype="grid_inline_cancel" data-itemid="grid_inline_cancel" {$item_grid_inline_cancel} data-pageid="{$pageid}" data-record-id="{$recId}" data-small data-button-item>
	<a type="button" title="Cancel" class="btn-link   
	 glyphicon glyphicon-remove" {$inlinerevertlink_attrs} title="Cancel" >		
				
								</a>
</span>
{END inline_cancel}
	 
		{BEGIN view_column}
{BEGIN view_link}
<span data-itemtype="grid_view" data-itemid="grid_view" {$item_grid_view} data-pageid="{$pageid}" data-record-id="{$recId}" data-small data-button-item>
	<a type="button" title="View record" class="btn-link   
	 glyphicon glyphicon-search" href="mpgsssearchnupload_view.php?{$editlink}" {$viewlink_attrs} title="View" data-popup >		
				
								</a>
</span>
{END view_link}
{END view_column}
	
	</td>
	{END cellblock_grid_cell_icons}
				 
					{BEGIN cellblock_grid_cell_checkbox}
	<td
	
	{$cell_grid_cell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_cell_checkbox" data-pageid="{$pageid}" data-record-id="{$recId}"		data-control-cell
	
		data-checkbox-cell
	>

	 
		{BEGIN checkbox_column}
<span data-itemtype="grid_checkbox" data-itemid="grid_checkbox" {$item_grid_checkbox} data-pageid="{$pageid}" data-record-id="{$recId}" >
	<input type="checkbox" {$checkbox_attrs}>
</span>	
{END checkbox_column}
	
	</td>
	{END cellblock_grid_cell_checkbox}
				 
					{BEGIN cellblock_grid_cell_field}
	<td
	
	{$cell_grid_cell_field}
	{$recordattrs}
	class="
		 r-ori-vert				{$Surname_class}
			"

			data-field="Surname"
	
	data-cellId="grid_cell_field" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Surname_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field" {$item_simple_grid_field} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Surname" data-default-width >
{$Surname_value}
</span>
{END Surname_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field}
				 
					{BEGIN cellblock_grid_cell_field1}
	<td
	
	{$cell_grid_cell_field1}
	{$recordattrs}
	class="
		 r-ori-vert				{$FirstName_class}
			"

			data-field="FirstName"
	
	data-cellId="grid_cell_field1" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN FirstName_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field1" {$item_simple_grid_field1} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="FirstName" data-default-width >
{$FirstName_value}
</span>
{END FirstName_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field1}
				 
					{BEGIN cellblock_grid_cell_field2}
	<td
	
	{$cell_grid_cell_field2}
	{$recordattrs}
	class="
		 r-ori-vert				{$TertiaryInstitutionAdmitted_class}
			"

			data-field="TertiaryInstitutionAdmitted"
	
	data-cellId="grid_cell_field2" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN TertiaryInstitutionAdmitted_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field2" {$item_simple_grid_field2} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="TertiaryInstitutionAdmitted" data-default-width >
{$TertiaryInstitutionAdmitted_value}
</span>
{END TertiaryInstitutionAdmitted_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field2}
				 
					{BEGIN cellblock_grid_cell_field3}
	<td
	
	{$cell_grid_cell_field3}
	{$recordattrs}
	class="
		 r-ori-vert				{$ProgramName_class}
			"

			data-field="ProgramName"
	
	data-cellId="grid_cell_field3" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN ProgramName_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field3" {$item_simple_grid_field3} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="ProgramName" data-default-width >
{$ProgramName_value}
</span>
{END ProgramName_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field3}
				 
					{BEGIN cellblock_grid_cell_field4}
	<td
	
	{$cell_grid_cell_field4}
	{$recordattrs}
	class="
		 r-ori-vert				{$1styear_class}
			"

			data-field="1styear"
	
	data-cellId="grid_cell_field4" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN 1styear_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field4" {$item_simple_grid_field4} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="1styear" data-default-width >
{$1styear_value}
</span>
{END 1styear_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field4}
				 
					{BEGIN cellblock_grid_cell_field5}
	<td
	
	{$cell_grid_cell_field5}
	{$recordattrs}
	class="
		 r-ori-vert				{$StudentSchoolID_class}
			"

			data-field="StudentSchoolID"
	
	data-cellId="grid_cell_field5" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN StudentSchoolID_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field5" {$item_simple_grid_field5} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="StudentSchoolID" data-default-width >
{$StudentSchoolID_value}
</span>
{END StudentSchoolID_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field5}
				 
					{BEGIN cellblock_grid_cell_field6}
	<td
	
	{$cell_grid_cell_field6}
	{$recordattrs}
	class="
		 r-ori-vert				{$natid_class}
			"

			data-field="natid"
	
	data-cellId="grid_cell_field6" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN natid_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field6" {$item_simple_grid_field6} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="natid" data-default-width >
{$natid_value}
</span>
{END natid_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field6}
							</tr>
					 
					
											{END grid_row}
					</tbody>
													<tfoot>
					
		 
					 
					 
						<tr {$rowattrs} {$row_grid_2} class="{$rowclass} 
									{$gridFooter_class}
									
								r-gridrow
							">
				 
					{BEGIN cellblock_grid_footcell_icons}
	<td
	
	{$cell_grid_footcell_icons}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_icons" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	
	</td>
	{END cellblock_grid_footcell_icons}
				 
					{BEGIN cellblock_grid_footcell_checkbox}
	<td
	
	{$cell_grid_footcell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_checkbox" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	
	</td>
	{END cellblock_grid_footcell_checkbox}
				 
					{BEGIN cellblock_grid_footcell_field}
	<td
	
	{$cell_grid_footcell_field}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="mpgsssearchnupload_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field}
				 
					{BEGIN cellblock_grid_footcell_field1}
	<td
	
	{$cell_grid_footcell_field1}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field1" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="mpgsssearchnupload_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field1}
				 
					{BEGIN cellblock_grid_footcell_field2}
	<td
	
	{$cell_grid_footcell_field2}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field2" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="mpgsssearchnupload_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field2}
				 
					{BEGIN cellblock_grid_footcell_field3}
	<td
	
	{$cell_grid_footcell_field3}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field3" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="mpgsssearchnupload_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field3}
				 
					{BEGIN cellblock_grid_footcell_field4}
	<td
	
	{$cell_grid_footcell_field4}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field4" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="mpgsssearchnupload_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field4}
				 
					{BEGIN cellblock_grid_footcell_field5}
	<td
	
	{$cell_grid_footcell_field5}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field5" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="mpgsssearchnupload_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field5}
				 
					{BEGIN cellblock_grid_footcell_field6}
	<td
	
	{$cell_grid_footcell_field6}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field6" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="mpgsssearchnupload_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field6}
							</tr>
					
					</tfoot>
				</table>
{END grid_block}
							</div>
						
										{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="topbar" {$form_below-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="r-align-center r-ori-vert			col-md-12
	
">
		 
		{BEGIN pagination_block}
<span data-itemtype="pagination" data-itemid="pagination" {$item_pagination} data-pageid="{$pageid}" >
{$pagination}
</span>
{END pagination_block}
		</div>					</div>
	</div>		
{END below-grid_block}
							
					</div>
				</div>
			</div>
		</div>
		{$footer}
	{END body}
	</body>
</html>
