Page_Init(); // Page main $tofferers_grid->Page_Main(); // Global Page Rendering event (in userfn*.php) Page_Rendering(); // Page Rendering event $tofferers_grid->Page_Render(); ?> Export == "") { ?> CurrentAction == "gridadd") { if ($tofferers->CurrentMode == "copy") { $bSelectLimit = $tofferers_grid->UseSelectLimit; if ($bSelectLimit) { $tofferers_grid->TotalRecs = $tofferers->SelectRecordCount(); $tofferers_grid->Recordset = $tofferers_grid->LoadRecordset($tofferers_grid->StartRec-1, $tofferers_grid->DisplayRecs); } else { if ($tofferers_grid->Recordset = $tofferers_grid->LoadRecordset()) $tofferers_grid->TotalRecs = $tofferers_grid->Recordset->RecordCount(); } $tofferers_grid->StartRec = 1; $tofferers_grid->DisplayRecs = $tofferers_grid->TotalRecs; } else { $tofferers->CurrentFilter = "0=1"; $tofferers_grid->StartRec = 1; $tofferers_grid->DisplayRecs = $tofferers->GridAddRowCount; } $tofferers_grid->TotalRecs = $tofferers_grid->DisplayRecs; $tofferers_grid->StopRec = $tofferers_grid->DisplayRecs; } else { $bSelectLimit = $tofferers_grid->UseSelectLimit; if ($bSelectLimit) { if ($tofferers_grid->TotalRecs <= 0) $tofferers_grid->TotalRecs = $tofferers->SelectRecordCount(); } else { if (!$tofferers_grid->Recordset && ($tofferers_grid->Recordset = $tofferers_grid->LoadRecordset())) $tofferers_grid->TotalRecs = $tofferers_grid->Recordset->RecordCount(); } $tofferers_grid->StartRec = 1; $tofferers_grid->DisplayRecs = $tofferers_grid->TotalRecs; // Display all records if ($bSelectLimit) $tofferers_grid->Recordset = $tofferers_grid->LoadRecordset($tofferers_grid->StartRec-1, $tofferers_grid->DisplayRecs); // Set no record found message if ($tofferers->CurrentAction == "" && $tofferers_grid->TotalRecs == 0) { if (!$Security->CanList()) $tofferers_grid->setWarningMessage(ew_DeniedMsg()); if ($tofferers_grid->SearchWhere == "0=101") $tofferers_grid->setWarningMessage($Language->Phrase("EnterSearchCriteria")); else $tofferers_grid->setWarningMessage($Language->Phrase("NoRecord")); } } $tofferers_grid->RenderOtherOptions(); ?> ShowPageHeader(); ?> ShowMessage(); ?> TotalRecs > 0 || $tofferers->CurrentAction <> "") { ?>
Name->FldCaption() ?> |
Name->FldCaption() ?>Name->getSort() == "ASC") { ?>Name->getSort() == "DESC") { ?>
|
Surname->Visible) { // Surname ?>
SortUrl($tofferers->Surname) == "") { ?>
Surname->FldCaption() ?> |
Surname->FldCaption() ?>Surname->getSort() == "ASC") { ?>Surname->getSort() == "DESC") { ?>
|
Institution_Type->Visible) { // Institution_Type ?>
SortUrl($tofferers->Institution_Type) == "") { ?>
Institution_Type->FldCaption() ?> |
Institution_Type->FldCaption() ?>Institution_Type->getSort() == "ASC") { ?>Institution_Type->getSort() == "DESC") { ?>
|
Institution_Name->Visible) { // Institution_Name ?>
SortUrl($tofferers->Institution_Name) == "") { ?>
Institution_Name->FldCaption() ?> |
Institution_Name->FldCaption() ?>Institution_Name->getSort() == "ASC") { ?>Institution_Name->getSort() == "DESC") { ?>
|
Address->Visible) { // Address ?>
SortUrl($tofferers->Address) == "") { ?>
Address->FldCaption() ?> |
Address->FldCaption() ?>Address->getSort() == "ASC") { ?>Address->getSort() == "DESC") { ?>
|
Phone->Visible) { // Phone ?>
SortUrl($tofferers->Phone) == "") { ?>
Phone->FldCaption() ?> |
Phone->FldCaption() ?>Phone->getSort() == "ASC") { ?>Phone->getSort() == "DESC") { ?>
|
Phone_Mobile->Visible) { // Phone_Mobile ?>
SortUrl($tofferers->Phone_Mobile) == "") { ?>
Phone_Mobile->FldCaption() ?> |
Phone_Mobile->FldCaption() ?>Phone_Mobile->getSort() == "ASC") { ?>Phone_Mobile->getSort() == "DESC") { ?>
|
Town->Visible) { // Town ?>
SortUrl($tofferers->Town) == "") { ?>
Town->FldCaption() ?> |
Town->FldCaption() ?>Town->getSort() == "ASC") { ?>Town->getSort() == "DESC") { ?>
|
ListOptions->Render("header", "right");
?>
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name->CellAttributes() ?>> RowType == EW_ROWTYPE_ADD) { // Add record ?> Name->EditAttributes() ?>> RowType == EW_ROWTYPE_EDIT) { // Edit record ?> Name->EditAttributes() ?>> RowType == EW_ROWTYPE_VIEW) { // View record ?> Name->ViewAttributes() ?>> Name->ListViewValue() ?> CurrentAction <> "F") { ?> RowCnt ?>"> | RowType == EW_ROWTYPE_ADD) { // Add record ?> RowType == EW_ROWTYPE_EDIT || $tofferers->CurrentMode == "edit") { ?> Surname->Visible) { // Surname ?>Surname->CellAttributes() ?>> RowType == EW_ROWTYPE_ADD) { // Add record ?> Surname->EditAttributes() ?>> RowType == EW_ROWTYPE_EDIT) { // Edit record ?> Surname->EditAttributes() ?>> RowType == EW_ROWTYPE_VIEW) { // View record ?> Surname->ViewAttributes() ?>> Surname->ListViewValue() ?> CurrentAction <> "F") { ?> | Institution_Type->Visible) { // Institution_Type ?>Institution_Type->CellAttributes() ?>> RowType == EW_ROWTYPE_ADD) { // Add record ?> RowType == EW_ROWTYPE_EDIT) { // Edit record ?> RowType == EW_ROWTYPE_VIEW) { // View record ?> Institution_Type->ViewAttributes() ?>> Institution_Type->ListViewValue() ?> CurrentAction <> "F") { ?> | Institution_Name->Visible) { // Institution_Name ?>Institution_Name->CellAttributes() ?>> RowType == EW_ROWTYPE_ADD) { // Add record ?> Institution_Name->EditAttributes() ?>> RowType == EW_ROWTYPE_EDIT) { // Edit record ?> Institution_Name->EditAttributes() ?>> RowType == EW_ROWTYPE_VIEW) { // View record ?> Institution_Name->ViewAttributes() ?>> Institution_Name->ListViewValue() ?> CurrentAction <> "F") { ?> | Address->Visible) { // Address ?>Address->CellAttributes() ?>> RowType == EW_ROWTYPE_ADD) { // Add record ?> Address->EditAttributes() ?>> RowType == EW_ROWTYPE_EDIT) { // Edit record ?> Address->EditAttributes() ?>> RowType == EW_ROWTYPE_VIEW) { // View record ?> Address->ViewAttributes() ?>> Address->ListViewValue() ?> CurrentAction <> "F") { ?> | Phone->Visible) { // Phone ?>Phone->CellAttributes() ?>> RowType == EW_ROWTYPE_ADD) { // Add record ?> Phone->EditAttributes() ?>> RowType == EW_ROWTYPE_EDIT) { // Edit record ?> Phone->EditAttributes() ?>> RowType == EW_ROWTYPE_VIEW) { // View record ?> Phone->ViewAttributes() ?>> Phone->ListViewValue() ?> CurrentAction <> "F") { ?> | Phone_Mobile->Visible) { // Phone_Mobile ?>Phone_Mobile->CellAttributes() ?>> RowType == EW_ROWTYPE_ADD) { // Add record ?> Phone_Mobile->EditAttributes() ?>> RowType == EW_ROWTYPE_EDIT) { // Edit record ?> Phone_Mobile->EditAttributes() ?>> RowType == EW_ROWTYPE_VIEW) { // View record ?> Phone_Mobile->ViewAttributes() ?>> Phone_Mobile->ListViewValue() ?> CurrentAction <> "F") { ?> | Town->Visible) { // Town ?>Town->CellAttributes() ?>> RowType == EW_ROWTYPE_ADD) { // Add record ?> Town->EditAttributes() ?>> RowType == EW_ROWTYPE_EDIT) { // Edit record ?> Town->EditAttributes() ?>> RowType == EW_ROWTYPE_VIEW) { // View record ?> Town->ViewAttributes() ?>> Town->ListViewValue() ?> CurrentAction <> "F") { ?> | ListOptions->Render("body", "right", $tofferers_grid->RowCnt); ?>||||||||
|
CurrentAction <> "F") { ?>
Name->EditAttributes() ?>>
Name->ViewAttributes() ?>>
Name->ViewValue ?> |
Surname->Visible) { // Surname ?>
CurrentAction <> "F") { ?>
Surname->EditAttributes() ?>>
Surname->ViewAttributes() ?>>
Surname->ViewValue ?> |
Institution_Type->Visible) { // Institution_Type ?>
CurrentAction <> "F") { ?>
Institution_Type->ViewAttributes() ?>>
Institution_Type->ViewValue ?> |
Institution_Name->Visible) { // Institution_Name ?>
CurrentAction <> "F") { ?>
Institution_Name->EditAttributes() ?>>
Institution_Name->ViewAttributes() ?>>
Institution_Name->ViewValue ?> |
Address->Visible) { // Address ?>
CurrentAction <> "F") { ?>
Address->EditAttributes() ?>>
Address->ViewAttributes() ?>>
Address->ViewValue ?> |
Phone->Visible) { // Phone ?>
CurrentAction <> "F") { ?>
Phone->EditAttributes() ?>>
Phone->ViewAttributes() ?>>
Phone->ViewValue ?> |
Phone_Mobile->Visible) { // Phone_Mobile ?>
CurrentAction <> "F") { ?>
Phone_Mobile->EditAttributes() ?>>
Phone_Mobile->ViewAttributes() ?>>
Phone_Mobile->ViewValue ?> |
Town->Visible) { // Town ?>
CurrentAction <> "F") { ?>
Town->EditAttributes() ?>>
Town->ViewAttributes() ?>>
Town->ViewValue ?> |
ListOptions->Render("body", "right", $tofferers_grid->RowCnt);
?>