示例#1
0
     }
     echo "</Result>";
     break;
 case "ajaxselectaccounts":
     $o->accounts_id = $_GET['accounts_id'];
     if ($o->accounts_id == "") {
         $o->accounts_id = 0;
     }
     echo $o->getSelectPlaceHolderAccounts($o->accounts_id);
     break;
 case "ajaxselectaccounttype":
     $accounttype = $_GET['account_type'];
     if ($accounttype == "") {
         $accounttype = 1;
     }
     echo $o->returnAccountsTypeXML($accounttype);
     break;
 case "ajaxselectaccountgroup":
     $accountgroup_id = $_GET['accountgroup_id'];
     if ($accountgroup_id == "") {
         $accountgroup_id = 0;
     }
     include "class/AccountGroup.php";
     $ag = new AccountGroup();
     $accgroupoptionlist = $ag->getSelectAccountGroup($accountgroup_id);
     echo $accgroupoptionlist;
     break;
 default:
     $xoTheme->addStylesheet("{$url}/modules/simantz/include/window.css");
     $xoTheme->addStylesheet("{$url}/modules/simantz/include/popup.css");
     $xoTheme->addScript("{$url}/modules/simantz/include/popup.js");