Heray-Was-Here
Server : Apache
System : Linux hybrid3195.ca.ns.planethoster.net 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
User : alliancerealtynb ( 1004)
PHP Version : 7.4.33
Disable Function : noop
Directory :  /home/alliancerealtynb/www/adminAR/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alliancerealtynb/www/adminAR/property_noteslist.php
<?php
namespace PHPMaker2020\Alliance;

// Autoload
include_once "autoload.php";

// Session
if (session_status() !== PHP_SESSION_ACTIVE)
	\Delight\Cookie\Session::start(Config("COOKIE_SAMESITE")); // Init session data

// Output buffering
ob_start();
?>
<?php

// Write header
WriteHeader(FALSE);

// Create page object
$property_notes_list = new property_notes_list();

// Run the page
$property_notes_list->run();

// Setup login status
SetupLoginStatus();
SetClientVar("login", LoginStatus());

// Global Page Rendering event (in userfn*.php)
Page_Rendering();

// Page Rendering event
$property_notes_list->Page_Render();
?>
<?php include_once "header.php"; ?>
<?php if (!$property_notes_list->isExport()) { ?>
<script>
var fproperty_noteslist, currentPageID;
loadjs.ready("head", function() {

	// Form object
	currentPageID = ew.PAGE_ID = "list";
	fproperty_noteslist = currentForm = new ew.Form("fproperty_noteslist", "list");
	fproperty_noteslist.formKeyCountName = '<?php echo $property_notes_list->FormKeyCountName ?>';
	loadjs.done("fproperty_noteslist");
});
var fproperty_noteslistsrch;
loadjs.ready("head", function() {

	// Form object for search
	fproperty_noteslistsrch = currentSearchForm = new ew.Form("fproperty_noteslistsrch");

	// Validate function for search
	fproperty_noteslistsrch.validate = function(fobj) {
		if (!this.validateRequired)
			return true; // Ignore validation
		fobj = fobj || this._form;
		var infix = "";
		elm = this.getElements("x" + infix + "_OwnerID");
		if (elm && !ew.checkInteger(elm.value))
			return this.onError(elm, "<?php echo JsEncode($property_notes_list->OwnerID->errorMessage()) ?>");

		// Call Form_CustomValidate event
		if (!this.Form_CustomValidate(fobj))
			return false;
		return true;
	}

	// Form_CustomValidate
	fproperty_noteslistsrch.Form_CustomValidate = function(fobj) { // DO NOT CHANGE THIS LINE!

		// Your custom validation code here, return false if invalid.
		return true;
	}

	// Use JavaScript validation or not
	fproperty_noteslistsrch.validateRequired = <?php echo Config("CLIENT_VALIDATE") ? "true" : "false" ?>;

	// Dynamic selection lists
	fproperty_noteslistsrch.lists["x_OwnerID"] = <?php echo $property_notes_list->OwnerID->Lookup->toClientList($property_notes_list) ?>;
	fproperty_noteslistsrch.lists["x_OwnerID"].options = <?php echo JsonEncode($property_notes_list->OwnerID->lookupOptions()) ?>;
	fproperty_noteslistsrch.autoSuggests["x_OwnerID"] = <?php echo json_encode(["data" => "ajax=autosuggest"]) ?>;

	// Filters
	fproperty_noteslistsrch.filterList = <?php echo $property_notes_list->getFilterList() ?>;
	loadjs.done("fproperty_noteslistsrch");
});
</script>
<script>
loadjs.ready("head", function() {

	// Client script
	// Write your client script here, no need to add script tags.

});
</script>
<?php } ?>
<?php if (!$property_notes_list->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php if ($property_notes_list->TotalRecords > 0 && $property_notes_list->ExportOptions->visible()) { ?>
<?php $property_notes_list->ExportOptions->render("body") ?>
<?php } ?>
<?php if ($property_notes_list->ImportOptions->visible()) { ?>
<?php $property_notes_list->ImportOptions->render("body") ?>
<?php } ?>
<?php if ($property_notes_list->SearchOptions->visible()) { ?>
<?php $property_notes_list->SearchOptions->render("body") ?>
<?php } ?>
<?php if ($property_notes_list->FilterOptions->visible()) { ?>
<?php $property_notes_list->FilterOptions->render("body") ?>
<?php } ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php
$property_notes_list->renderOtherOptions();
?>
<?php if ($Security->CanSearch()) { ?>
<?php if (!$property_notes_list->isExport() && !$property_notes->CurrentAction) { ?>
<form name="fproperty_noteslistsrch" id="fproperty_noteslistsrch" class="form-inline ew-form ew-ext-search-form" action="<?php echo CurrentPageName() ?>">
<div id="fproperty_noteslistsrch-search-panel" class="<?php echo $property_notes_list->SearchPanelClass ?>">
<input type="hidden" name="cmd" value="search">
<input type="hidden" name="t" value="property_notes">
	<div class="ew-extended-search">
<?php

// Render search row
$property_notes->RowType = ROWTYPE_SEARCH;
$property_notes->resetAttributes();
$property_notes_list->renderRow();
?>
<?php if ($property_notes_list->OwnerID->Visible) { // OwnerID ?>
	<?php
		$property_notes_list->SearchColumnCount++;
		if (($property_notes_list->SearchColumnCount - 1) % $property_notes_list->SearchFieldsPerRow == 0) {
			$property_notes_list->SearchRowCount++;
	?>
<div id="xsr_<?php echo $property_notes_list->SearchRowCount ?>" class="ew-row d-sm-flex">
	<?php
		}
	 ?>
	<div id="xsc_OwnerID" class="ew-cell form-group">
		<label class="ew-search-caption ew-label"><?php echo $property_notes_list->OwnerID->caption() ?></label>
		<span class="ew-search-operator">
<?php echo $Language->phrase("=") ?>
<input type="hidden" name="z_OwnerID" id="z_OwnerID" value="=">
</span>
		<span id="el_property_notes_OwnerID" class="ew-search-field">
<?php
$onchange = $property_notes_list->OwnerID->EditAttrs->prepend("onchange", "");
$onchange = ($onchange) ? ' onchange="' . JsEncode($onchange) . '"' : '';
$property_notes_list->OwnerID->EditAttrs["onchange"] = "";
?>
<span id="as_x_OwnerID">
	<input type="text" class="form-control" name="sv_x_OwnerID" id="sv_x_OwnerID" value="<?php echo RemoveHtml($property_notes_list->OwnerID->EditValue) ?>" size="30" maxlength="11" placeholder="<?php echo HtmlEncode($property_notes_list->OwnerID->getPlaceHolder()) ?>" data-placeholder="<?php echo HtmlEncode($property_notes_list->OwnerID->getPlaceHolder()) ?>"<?php echo $property_notes_list->OwnerID->editAttributes() ?>>
</span>
<input type="hidden" data-table="property_notes" data-field="x_OwnerID" data-value-separator="<?php echo $property_notes_list->OwnerID->displayValueSeparatorAttribute() ?>" name="x_OwnerID" id="x_OwnerID" value="<?php echo HtmlEncode($property_notes_list->OwnerID->AdvancedSearch->SearchValue) ?>"<?php echo $onchange ?>>
<script>
loadjs.ready(["fproperty_noteslistsrch"], function() {
	fproperty_noteslistsrch.createAutoSuggest({"id":"x_OwnerID","forceSelect":false});
});
</script>
<?php echo $property_notes_list->OwnerID->Lookup->getParamTag($property_notes_list, "p_x_OwnerID") ?>
</span>
	</div>
	<?php if ($property_notes_list->SearchColumnCount % $property_notes_list->SearchFieldsPerRow == 0) { ?>
</div>
	<?php } ?>
<?php } ?>
	<?php if ($property_notes_list->SearchColumnCount % $property_notes_list->SearchFieldsPerRow > 0) { ?>
</div>
	<?php } ?>
<div id="xsr_<?php echo $property_notes_list->SearchRowCount + 1 ?>" class="ew-row d-sm-flex">
	<button class="btn btn-primary" name="btn-submit" id="btn-submit" type="submit"><?php echo $Language->phrase("SearchBtn") ?></button>
</div>
	</div><!-- /.ew-extended-search -->
</div><!-- /.ew-search-panel -->
</form>
<?php } ?>
<?php } ?>
<?php $property_notes_list->showPageHeader(); ?>
<?php
$property_notes_list->showMessage();
?>
<?php if ($property_notes_list->TotalRecords > 0 || $property_notes->CurrentAction) { ?>
<div class="card ew-card ew-grid<?php if ($property_notes_list->isAddOrEdit()) { ?> ew-grid-add-edit<?php } ?> property_notes">
<?php if (!$property_notes_list->isExport()) { ?>
<div class="card-header ew-grid-upper-panel">
<?php if (!$property_notes_list->isGridAdd()) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?php echo CurrentPageName() ?>">
<?php echo $property_notes_list->Pager->render() ?>
</form>
<?php } ?>
<div class="ew-list-other-options">
<?php $property_notes_list->OtherOptions->render("body") ?>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
<form name="fproperty_noteslist" id="fproperty_noteslist" class="form-inline ew-form ew-list-form" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($Page->CheckToken) { ?>
<input type="hidden" name="<?php echo Config("TOKEN_NAME") ?>" value="<?php echo $Page->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="property_notes">
<div id="gmp_property_notes" class="<?php echo ResponsiveTableClass() ?>card-body ew-grid-middle-panel">
<?php if ($property_notes_list->TotalRecords > 0 || $property_notes_list->isGridEdit()) { ?>
<table id="tbl_property_noteslist" class="table ew-table"><!-- .ew-table -->
<thead>
	<tr class="ew-table-header">
<?php

// Header row
$property_notes->RowType = ROWTYPE_HEADER;

// Render list options
$property_notes_list->renderListOptions();

// Render list options (header, left)
$property_notes_list->ListOptions->render("header", "left");
?>
<?php if ($property_notes_list->OwnerID->Visible) { // OwnerID ?>
	<?php if ($property_notes_list->SortUrl($property_notes_list->OwnerID) == "") { ?>
		<th data-name="OwnerID" class="<?php echo $property_notes_list->OwnerID->headerCellClass() ?>"><div id="elh_property_notes_OwnerID" class="property_notes_OwnerID"><div class="ew-table-header-caption"><?php echo $property_notes_list->OwnerID->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="OwnerID" class="<?php echo $property_notes_list->OwnerID->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $property_notes_list->SortUrl($property_notes_list->OwnerID) ?>', 2);"><div id="elh_property_notes_OwnerID" class="property_notes_OwnerID">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $property_notes_list->OwnerID->caption() ?></span><span class="ew-table-header-sort"><?php if ($property_notes_list->OwnerID->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($property_notes_list->OwnerID->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($property_notes_list->Address->Visible) { // Address ?>
	<?php if ($property_notes_list->SortUrl($property_notes_list->Address) == "") { ?>
		<th data-name="Address" class="<?php echo $property_notes_list->Address->headerCellClass() ?>"><div id="elh_property_notes_Address" class="property_notes_Address"><div class="ew-table-header-caption"><?php echo $property_notes_list->Address->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Address" class="<?php echo $property_notes_list->Address->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $property_notes_list->SortUrl($property_notes_list->Address) ?>', 2);"><div id="elh_property_notes_Address" class="property_notes_Address">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $property_notes_list->Address->caption() ?></span><span class="ew-table-header-sort"><?php if ($property_notes_list->Address->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($property_notes_list->Address->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($property_notes_list->Town->Visible) { // Town ?>
	<?php if ($property_notes_list->SortUrl($property_notes_list->Town) == "") { ?>
		<th data-name="Town" class="<?php echo $property_notes_list->Town->headerCellClass() ?>"><div id="elh_property_notes_Town" class="property_notes_Town"><div class="ew-table-header-caption"><?php echo $property_notes_list->Town->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Town" class="<?php echo $property_notes_list->Town->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $property_notes_list->SortUrl($property_notes_list->Town) ?>', 2);"><div id="elh_property_notes_Town" class="property_notes_Town">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $property_notes_list->Town->caption() ?></span><span class="ew-table-header-sort"><?php if ($property_notes_list->Town->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($property_notes_list->Town->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($property_notes_list->Agent->Visible) { // Agent ?>
	<?php if ($property_notes_list->SortUrl($property_notes_list->Agent) == "") { ?>
		<th data-name="Agent" class="<?php echo $property_notes_list->Agent->headerCellClass() ?>"><div id="elh_property_notes_Agent" class="property_notes_Agent"><div class="ew-table-header-caption"><?php echo $property_notes_list->Agent->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Agent" class="<?php echo $property_notes_list->Agent->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $property_notes_list->SortUrl($property_notes_list->Agent) ?>', 2);"><div id="elh_property_notes_Agent" class="property_notes_Agent">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $property_notes_list->Agent->caption() ?></span><span class="ew-table-header-sort"><?php if ($property_notes_list->Agent->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($property_notes_list->Agent->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($property_notes_list->NoteDate->Visible) { // NoteDate ?>
	<?php if ($property_notes_list->SortUrl($property_notes_list->NoteDate) == "") { ?>
		<th data-name="NoteDate" class="<?php echo $property_notes_list->NoteDate->headerCellClass() ?>"><div id="elh_property_notes_NoteDate" class="property_notes_NoteDate"><div class="ew-table-header-caption"><?php echo $property_notes_list->NoteDate->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="NoteDate" class="<?php echo $property_notes_list->NoteDate->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $property_notes_list->SortUrl($property_notes_list->NoteDate) ?>', 2);"><div id="elh_property_notes_NoteDate" class="property_notes_NoteDate">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $property_notes_list->NoteDate->caption() ?></span><span class="ew-table-header-sort"><?php if ($property_notes_list->NoteDate->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($property_notes_list->NoteDate->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($property_notes_list->NoteTime->Visible) { // NoteTime ?>
	<?php if ($property_notes_list->SortUrl($property_notes_list->NoteTime) == "") { ?>
		<th data-name="NoteTime" class="<?php echo $property_notes_list->NoteTime->headerCellClass() ?>"><div id="elh_property_notes_NoteTime" class="property_notes_NoteTime"><div class="ew-table-header-caption"><?php echo $property_notes_list->NoteTime->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="NoteTime" class="<?php echo $property_notes_list->NoteTime->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $property_notes_list->SortUrl($property_notes_list->NoteTime) ?>', 2);"><div id="elh_property_notes_NoteTime" class="property_notes_NoteTime">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $property_notes_list->NoteTime->caption() ?></span><span class="ew-table-header-sort"><?php if ($property_notes_list->NoteTime->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($property_notes_list->NoteTime->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($property_notes_list->Note->Visible) { // Note ?>
	<?php if ($property_notes_list->SortUrl($property_notes_list->Note) == "") { ?>
		<th data-name="Note" class="<?php echo $property_notes_list->Note->headerCellClass() ?>"><div id="elh_property_notes_Note" class="property_notes_Note"><div class="ew-table-header-caption"><?php echo $property_notes_list->Note->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Note" class="<?php echo $property_notes_list->Note->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $property_notes_list->SortUrl($property_notes_list->Note) ?>', 2);"><div id="elh_property_notes_Note" class="property_notes_Note">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $property_notes_list->Note->caption() ?></span><span class="ew-table-header-sort"><?php if ($property_notes_list->Note->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($property_notes_list->Note->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php

// Render list options (header, right)
$property_notes_list->ListOptions->render("header", "right");
?>
	</tr>
</thead>
<tbody>
<?php
if ($property_notes_list->ExportAll && $property_notes_list->isExport()) {
	$property_notes_list->StopRecord = $property_notes_list->TotalRecords;
} else {

	// Set the last record to display
	if ($property_notes_list->TotalRecords > $property_notes_list->StartRecord + $property_notes_list->DisplayRecords - 1)
		$property_notes_list->StopRecord = $property_notes_list->StartRecord + $property_notes_list->DisplayRecords - 1;
	else
		$property_notes_list->StopRecord = $property_notes_list->TotalRecords;
}
$property_notes_list->RecordCount = $property_notes_list->StartRecord - 1;
if ($property_notes_list->Recordset && !$property_notes_list->Recordset->EOF) {
	$property_notes_list->Recordset->moveFirst();
	$selectLimit = $property_notes_list->UseSelectLimit;
	if (!$selectLimit && $property_notes_list->StartRecord > 1)
		$property_notes_list->Recordset->move($property_notes_list->StartRecord - 1);
} elseif (!$property_notes->AllowAddDeleteRow && $property_notes_list->StopRecord == 0) {
	$property_notes_list->StopRecord = $property_notes->GridAddRowCount;
}

// Initialize aggregate
$property_notes->RowType = ROWTYPE_AGGREGATEINIT;
$property_notes->resetAttributes();
$property_notes_list->renderRow();
while ($property_notes_list->RecordCount < $property_notes_list->StopRecord) {
	$property_notes_list->RecordCount++;
	if ($property_notes_list->RecordCount >= $property_notes_list->StartRecord) {
		$property_notes_list->RowCount++;

		// Set up key count
		$property_notes_list->KeyCount = $property_notes_list->RowIndex;

		// Init row class and style
		$property_notes->resetAttributes();
		$property_notes->CssClass = "";
		if ($property_notes_list->isGridAdd()) {
		} else {
			$property_notes_list->loadRowValues($property_notes_list->Recordset); // Load row values
		}
		$property_notes->RowType = ROWTYPE_VIEW; // Render view

		// Set up row id / data-rowindex
		$property_notes->RowAttrs->merge(["data-rowindex" => $property_notes_list->RowCount, "id" => "r" . $property_notes_list->RowCount . "_property_notes", "data-rowtype" => $property_notes->RowType]);

		// Render row
		$property_notes_list->renderRow();

		// Render list options
		$property_notes_list->renderListOptions();
?>
	<tr <?php echo $property_notes->rowAttributes() ?>>
<?php

// Render list options (body, left)
$property_notes_list->ListOptions->render("body", "left", $property_notes_list->RowCount);
?>
	<?php if ($property_notes_list->OwnerID->Visible) { // OwnerID ?>
		<td data-name="OwnerID" <?php echo $property_notes_list->OwnerID->cellAttributes() ?>>
<span id="el<?php echo $property_notes_list->RowCount ?>_property_notes_OwnerID">
<span<?php echo $property_notes_list->OwnerID->viewAttributes() ?>><?php echo $property_notes_list->OwnerID->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($property_notes_list->Address->Visible) { // Address ?>
		<td data-name="Address" <?php echo $property_notes_list->Address->cellAttributes() ?>>
<span id="el<?php echo $property_notes_list->RowCount ?>_property_notes_Address">
<span<?php echo $property_notes_list->Address->viewAttributes() ?>><?php echo $property_notes_list->Address->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($property_notes_list->Town->Visible) { // Town ?>
		<td data-name="Town" <?php echo $property_notes_list->Town->cellAttributes() ?>>
<span id="el<?php echo $property_notes_list->RowCount ?>_property_notes_Town">
<span<?php echo $property_notes_list->Town->viewAttributes() ?>><?php echo $property_notes_list->Town->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($property_notes_list->Agent->Visible) { // Agent ?>
		<td data-name="Agent" <?php echo $property_notes_list->Agent->cellAttributes() ?>>
<span id="el<?php echo $property_notes_list->RowCount ?>_property_notes_Agent">
<span<?php echo $property_notes_list->Agent->viewAttributes() ?>><?php echo $property_notes_list->Agent->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($property_notes_list->NoteDate->Visible) { // NoteDate ?>
		<td data-name="NoteDate" <?php echo $property_notes_list->NoteDate->cellAttributes() ?>>
<span id="el<?php echo $property_notes_list->RowCount ?>_property_notes_NoteDate">
<span<?php echo $property_notes_list->NoteDate->viewAttributes() ?>><?php echo $property_notes_list->NoteDate->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($property_notes_list->NoteTime->Visible) { // NoteTime ?>
		<td data-name="NoteTime" <?php echo $property_notes_list->NoteTime->cellAttributes() ?>>
<span id="el<?php echo $property_notes_list->RowCount ?>_property_notes_NoteTime">
<span<?php echo $property_notes_list->NoteTime->viewAttributes() ?>><?php echo $property_notes_list->NoteTime->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($property_notes_list->Note->Visible) { // Note ?>
		<td data-name="Note" <?php echo $property_notes_list->Note->cellAttributes() ?>>
<span id="el<?php echo $property_notes_list->RowCount ?>_property_notes_Note">
<span<?php echo $property_notes_list->Note->viewAttributes() ?>><?php echo $property_notes_list->Note->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
<?php

// Render list options (body, right)
$property_notes_list->ListOptions->render("body", "right", $property_notes_list->RowCount);
?>
	</tr>
<?php
	}
	if (!$property_notes_list->isGridAdd())
		$property_notes_list->Recordset->moveNext();
}
?>
</tbody>
</table><!-- /.ew-table -->
<?php } ?>
</div><!-- /.ew-grid-middle-panel -->
<?php if (!$property_notes->CurrentAction) { ?>
<input type="hidden" name="action" id="action" value="">
<?php } ?>
</form><!-- /.ew-list-form -->
<?php

// Close recordset
if ($property_notes_list->Recordset)
	$property_notes_list->Recordset->Close();
?>
<?php if (!$property_notes_list->isExport()) { ?>
<div class="card-footer ew-grid-lower-panel">
<?php if (!$property_notes_list->isGridAdd()) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?php echo CurrentPageName() ?>">
<?php echo $property_notes_list->Pager->render() ?>
</form>
<?php } ?>
<div class="ew-list-other-options">
<?php $property_notes_list->OtherOptions->render("body", "bottom") ?>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
</div><!-- /.ew-grid -->
<?php } ?>
<?php if ($property_notes_list->TotalRecords == 0 && !$property_notes->CurrentAction) { // Show other options ?>
<div class="ew-list-other-options">
<?php $property_notes_list->OtherOptions->render("body") ?>
</div>
<div class="clearfix"></div>
<?php } ?>
<?php
$property_notes_list->showPageFooter();
if (Config("DEBUG"))
	echo GetDebugMessage();
?>
<?php if (!$property_notes_list->isExport()) { ?>
<script>
loadjs.ready("load", function() {

	// Startup script
	// Write your table-specific startup script here
	// console.log("page loaded");

});
</script>
<?php } ?>
<?php include_once "footer.php"; ?>
<?php
$property_notes_list->terminate();
?>

Hry