Example #1
0
     die;
 } else {
     if ($_GET['action'] == "getHomeIndex") {
         print $streams->getHomeIndex();
         die;
     } else {
         if ($_GET['action'] == "createPersonalRadio") {
             print $streams->createPersonalRadio($_GET['dir'], $_GET['num']);
             die;
         } else {
             if ($_GET['action'] == "startPersonalRadio") {
                 print $streams->startPersonalRadio($_GET['num'], $_GET['station']);
                 die;
             } else {
                 if ($_GET['action'] == "addToPersonalRadio") {
                     print $streams->addToPersonalRadio($_GET['dir']);
                     die;
                 } else {
                     if ($_GET['action'] == "removeFromPersonalRadio") {
                         print $streams->removeFromPersonalRadio($_GET['dir'], $_GET['station']);
                         die;
                     } else {
                         if ($_GET['action'] == "saveMyRadio") {
                             print $streams->saveMyRadio($_GET['name']);
                             die;
                         } else {
                             if ($_GET['action'] == "viewMyRadio") {
                                 print $streams->viewMyRadio();
                                 die;
                             } else {
                                 if ($_GET['action'] == "loadStation") {