run(); // Setup login status SetClientVar("login", LoginStatus()); // Global Page Rendering event (in userfn*.php) Page_Rendering(); // Page Rendering event $viewfoto_list->Page_Render(); ?> isExport()) { ?> isExport()) { ?>
TotalRecords > 0 && $viewfoto_list->ExportOptions->visible()) { ?> ExportOptions->render("body") ?> ImportOptions->visible()) { ?> ImportOptions->render("body") ?>
renderOtherOptions(); ?> showPageHeader(); ?> showMessage(); ?> TotalRecords > 0 || $viewfoto->CurrentAction) { ?>
CheckToken) { ?> " value="Token ?>">
TotalRecords > 0 || $viewfoto_list->isGridEdit()) { ?> RowType = ROWTYPE_HEADER; // Render list options $viewfoto_list->renderListOptions(); // Render list options (header, left) $viewfoto_list->ListOptions->render("header", "left", "", "block", $viewfoto->TableVar, "viewfotolist"); ?> id->Visible) { // id ?> SortUrl($viewfoto_list->id) == "") { ?> nome->Visible) { // nome ?> SortUrl($viewfoto_list->nome) == "") { ?> citta->Visible) { // citta ?> SortUrl($viewfoto_list->citta) == "") { ?> percorso->Visible) { // percorso ?> SortUrl($viewfoto_list->percorso) == "") { ?> filename->Visible) { // filename ?> SortUrl($viewfoto_list->filename) == "") { ?> ListOptions->render("header", "right", "", "block", $viewfoto->TableVar, "viewfotolist"); ?> ExportAll && $viewfoto_list->isExport()) { $viewfoto_list->StopRecord = $viewfoto_list->TotalRecords; } else { // Set the last record to display if ($viewfoto_list->TotalRecords > $viewfoto_list->StartRecord + $viewfoto_list->DisplayRecords - 1) $viewfoto_list->StopRecord = $viewfoto_list->StartRecord + $viewfoto_list->DisplayRecords - 1; else $viewfoto_list->StopRecord = $viewfoto_list->TotalRecords; } $viewfoto_list->RecordCount = $viewfoto_list->StartRecord - 1; if ($viewfoto_list->Recordset && !$viewfoto_list->Recordset->EOF) { $viewfoto_list->Recordset->moveFirst(); $selectLimit = $viewfoto_list->UseSelectLimit; if (!$selectLimit && $viewfoto_list->StartRecord > 1) $viewfoto_list->Recordset->move($viewfoto_list->StartRecord - 1); } elseif (!$viewfoto->AllowAddDeleteRow && $viewfoto_list->StopRecord == 0) { $viewfoto_list->StopRecord = $viewfoto->GridAddRowCount; } // Initialize aggregate $viewfoto->RowType = ROWTYPE_AGGREGATEINIT; $viewfoto->resetAttributes(); $viewfoto_list->renderRow(); while ($viewfoto_list->RecordCount < $viewfoto_list->StopRecord) { $viewfoto_list->RecordCount++; if ($viewfoto_list->RecordCount >= $viewfoto_list->StartRecord) { $viewfoto_list->RowCount++; // Set up key count $viewfoto_list->KeyCount = $viewfoto_list->RowIndex; // Init row class and style $viewfoto->resetAttributes(); $viewfoto->CssClass = ""; if ($viewfoto_list->isGridAdd()) { } else { $viewfoto_list->loadRowValues($viewfoto_list->Recordset); // Load row values } $viewfoto->RowType = ROWTYPE_VIEW; // Render view // Set up row id / data-rowindex $viewfoto->RowAttrs->merge(["data-rowindex" => $viewfoto_list->RowCount, "id" => "r" . $viewfoto_list->RowCount . "_viewfoto", "data-rowtype" => $viewfoto->RowType]); // Render row $viewfoto_list->renderRow(); // Render list options $viewfoto_list->renderListOptions(); // Save row and cell attributes $viewfoto_list->Attrs[$viewfoto_list->RowCount] = ["row_attrs" => $viewfoto->rowAttributes(), "cell_attrs" => []]; $viewfoto_list->Attrs[$viewfoto_list->RowCount]["cell_attrs"] = $viewfoto->fieldCellAttributes(); ?> rowAttributes() ?>> ListOptions->render("body", "left", $viewfoto_list->RowCount, "block", $viewfoto->TableVar, "viewfotolist"); ?> id->Visible) { // id ?> nome->Visible) { // nome ?> citta->Visible) { // citta ?> percorso->Visible) { // percorso ?> filename->Visible) { // filename ?> ListOptions->render("body", "right", $viewfoto_list->RowCount, "block", $viewfoto->TableVar, "viewfotolist"); ?> isGridAdd()) $viewfoto_list->Recordset->moveNext(); } ?>
id->cellAttributes() ?>> nome->cellAttributes() ?>> citta->cellAttributes() ?>> percorso->cellAttributes() ?>> filename->cellAttributes() ?>>
CurrentAction) { ?>
Recordset) $viewfoto_list->Recordset->Close(); ?> isExport()) { ?>
TotalRecords == 0 && !$viewfoto->CurrentAction) { // Show other options ?>
OtherOptions->render("body") ?>
showPageFooter(); if (Config("DEBUG")) echo GetDebugMessage(); ?> isExport()) { ?> terminate(); ?>