require_once 'include/DatabaseUtil.php'; require_once 'modules/ListViewReport/ListViewReport.php'; global $app_strings, $mod_strings, $list_max_entries_per_page, $theme, $adb; $theme_path = "themes/" . $theme . "/"; $image_path = $theme_path . "images/"; $focus = new $currentModule(); $other_text = array(); $url_string = ''; // assigning http url string //<<<<<<<<<<<<<<<<<<< sorting - stored in session >>>>>>>>>>>>>>>>>>>> $sorder = $focus->getSortOrder(); $order_by = $focus->getOrderBy(); $collectcolumnhtml = true; $picklistreporthtml = true; $listviewreport = new ListViewReport($currentModule); $allcustomreports = $listviewreport->getAllModReportInf(); $allmodulepicklists = $listviewreport->getModulePicklists(); if ($currentModule == 'Products' || $currentModule == 'Faq' || $currentModule == "PriceBooks") { if (count($allmodulepicklists) + count($allcustomreports) == 0) { $picklistreporthtml = false; } } //<<<<cutomview>>>>>>> $oCustomView = new CustomView($currentModule); $viewid = $oCustomView->getViewId($currentModule); $viewnamedesc = $oCustomView->getCustomViewByCvid($viewid); if (isset($_REQUEST['query']) && $_REQUEST['query'] == 'true') { list($where, $ustring) = explode("#@@#", getWhereCondition($currentModule)); } elseif (isset($_SESSION['LiveViewSearch'][$currentModule])) { // if($viewid==$_SESSION['LiveViewSearch'][$currentModule][0]) // {