Example #1
0
             }
             break;
         case "getIndicByMonth":
             $r->getIndicByMonth($_GET['month'], $_GET['year']);
             break;
         case "getHistoByMonth":
             $r->getHistoByMonth($_GET['month'], $_GET['year']);
             break;
         case "getTotalSaison":
             $r->getTotalSaison($_GET['id']);
             break;
         case "getSyntheseSaison":
             $r->getSyntheseSaison($_GET['id']);
             break;
         case "getSyntheseSaisonTable":
             $r->getSyntheseSaisonTable($_GET['id']);
             break;
         case "getAnnotationByDay":
             $r->getAnnotationByDay($_GET['day']);
             break;
     }
     break;
 case "rt":
     $rt = new realTime();
     switch ($_GET['action']) {
         case "getIndic":
             $rt->getIndic();
             break;
         case "getData":
             if (isset($_GET['idgraphe'])) {
                 $rt->getData($_GET['idgraphe']);
Example #2
0
             $r->getStockStatus();
             break;
         case "getAshtrayStatus":
             $r->getAshtrayStatus();
             break;
         case "getHistoByMonth":
             $r->getHistoByMonth($_GET['month'], $_GET['year']);
             break;
         case "getTotalSaison":
             $r->getTotalSaison($_GET['saison']);
             break;
         case "getSyntheseSaison":
             $r->getSyntheseSaison($_GET['saison']);
             break;
         case "getSyntheseSaisonTable":
             $r->getSyntheseSaisonTable($_GET['saison']);
             break;
         case "getAnnotationByDay":
             $r->getAnnotationByDay($_GET['jour']);
             break;
     }
     break;
 case "rt":
     $rt = new realTime();
     switch ($_GET['action']) {
         case "getIndic":
             $rt->getIndic();
             break;
         case "setOkoLogin":
             $rt->setOkoLogin($_POST['user'], $_POST['pass']);
             break;