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/avantmaj.alliancerealty.nb.ca/adminAR/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alliancerealtynb/avantmaj.alliancerealty.nb.ca/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");
});
</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 } ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php
$property_notes_list->renderOtherOptions();
?>
<?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