Beispiel #1
0
             break;
         case 'changecurrency':
             $_SESSION['currency_unit'] = $_GET['currency'];
             //var_dump( $_SESSION['currency_unit']);
             echo 'ok';
             break;
     }
     break;
 case 'report':
     $rptctrl = new ReportController();
     switch ($action) {
         case 'list':
             $rptctrl->_list();
             break;
         case 'more':
             $rptctrl->More($_POST['id']);
             break;
     }
     break;
 case 'bank':
     $bnkctrl = new BankController();
     switch ($action) {
         case 'callback':
             $pst = array();
             $get = array();
             foreach ($_POST as $k => $v) {
                 $pst[$k] = $v;
             }
             foreach ($_GET as $k => $v) {
                 $get[$k] = $v;
             }