exit; //after return xml shall not run more code. break; case "lookup": //return xml table to grid include_once "../simantz/class/EBAGetHandler.php"; $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 religion_id>0"; $o->showLookupReligion($wherestring); exit; //after return xml shall not run more code. break; case "save": //process submited xml data from grid $o->saveReligion(); 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");