TotalRecords > 0 || $viewfoto_list->isGridEdit()) { ?>
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 ?>
| id->cellAttributes() ?>>
|
nome->Visible) { // nome ?>
nome->cellAttributes() ?>>
|
citta->Visible) { // citta ?>
citta->cellAttributes() ?>>
|
percorso->Visible) { // percorso ?>
percorso->cellAttributes() ?>>
|
filename->Visible) { // filename ?>
filename->cellAttributes() ?>>
|
ListOptions->render("body", "right", $viewfoto_list->RowCount, "block", $viewfoto->TableVar, "viewfotolist");
?>
isGridAdd())
$viewfoto_list->Recordset->moveNext();
}
?>
CurrentAction) { ?>