Example #1
0
}
$bSelectLimit = EW_SELECT_LIMIT;
if ($bSelectLimit) {
    $montos_list->TotalRecs = $montos->SelectRecordCount();
} else {
    if ($montos_list->Recordset = $montos_list->LoadRecordset()) {
        $montos_list->TotalRecs = $montos_list->Recordset->RecordCount();
    }
}
$montos_list->StartRec = 1;
if ($montos_list->DisplayRecs <= 0 || $montos->Export != "" && $montos->ExportAll) {
    // Display all records
    $montos_list->DisplayRecs = $montos_list->TotalRecs;
}
if (!($montos->Export != "" && $montos->ExportAll)) {
    $montos_list->SetUpStartRec();
}
// Set up start record position
if ($bSelectLimit) {
    $montos_list->Recordset = $montos_list->LoadRecordset($montos_list->StartRec - 1, $montos_list->DisplayRecs);
}
$montos_list->RenderOtherOptions();
if ($Security->IsLoggedIn()) {
    if ($montos->Export == "" && $montos->CurrentAction == "") {
        ?>
<form name="fmontoslistsrch" id="fmontoslistsrch" class="ewForm form-inline" action="<?php 
        echo ew_CurrentPage();
        ?>
">
<table class="ewSearchTable"><tr><td>
<div class="accordion" id="fmontoslistsrch_SearchGroup">