Пример #1
0
     $defaultorganization_id = $_SESSION['defaultorganization_id'];
     $lookupdelay = 1000;
     $pagesize =& $_GET["pagesize"];
     $ordinalStart =& $_GET["startrecordindex"];
     $sortcolumn =& $_GET["sortcolumn"];
     $sortdirection =& $_GET["sortdirection"];
     $getHandler = new EBAGetHandler();
     $getHandler->ProcessRecords();
     $wherestring = " WHERE races_id>0";
     $o->showLookupRaces($wherestring);
     exit;
     //after return xml shall not run more code.
     break;
 case "save":
     //process submited xml data from grid
     $o->saveRaces();
     break;
 default:
     include "menu.php";
     $xoTheme->addStylesheet("{$url}/modules/simantz/include/popup.css");
     $xoTheme->addScript("{$url}/modules/simantz/include/popup.js");
     $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js');
     $xoTheme->addScript("{$url}/modules/simantz/include/nitobi/nitobi.toolkit.js");
     $xoTheme->addStylesheet("{$url}/modules/simantz/include/nitobi/nitobi.grid/nitobi.grid.css");
     $xoTheme->addScript("{$url}/modules/simantz/include/nitobi/nitobi.grid/nitobi.grid.js");
     $xoTheme->addScript("{$url}/modules/simantz/include/firefox3_6fix.js");
     $o->showSearchForm();
     //produce search form, comment here to hide search form
     if ($isadmin == 1) {
         $grIdColumn = 5;
         //define primary key column index, it will set as readonly afterwards (count from 0)