$smarty->assign("APP", $app_strings); $smarty->assign("IMAGE_PATH", $image_path); $smarty->assign("MODULE", $currentModule); $smarty->assign("SINGLE_MOD", 'Maillisttmp'); $smarty->assign("BUTTONS", $other_text); $smarty->assign("CATEGORY", $category); //Retreive the list from Database //<<<<<<<<<customview>>>>>>>>> if (isset($where) && $where != '') { $_SESSION['export_where'] = $where; $where = ' and ' . $where; } else { unset($_SESSION['export_where']); } if ($viewid != "0") { $listquery = $focus->getListQuery($where); $query = $oCustomView->getModifiedCvListQuery($viewid, $listquery, "Maillisttmps"); } else { $query = $focus->getListQuery($where); } //<<<<<<<<customview>>>>>>>>> //Retreiving the no of rows $count_result = $adb->query(mkCountQuery($query)); $noofrows = $adb->query_result($count_result, 0, "count"); //Storing Listview session object if ($_SESSION['lvs'][$currentModule]) { setSessionVar($_SESSION['lvs'][$currentModule], $noofrows, $list_max_entries_per_page); } $start = $_SESSION['lvs'][$currentModule]['start']; //Retreive the Navigation array $navigation_array = getNavigationValues($start, $noofrows, $list_max_entries_per_page);