Esempio n. 1
0
             $flts->add($flt);
         }
         $mngr->setFilters($flts);
     }
     break;
 case "clearfiltertime":
     if (isset($_REQUEST['no'])) {
         $mngr->clearFilterTime($_REQUEST['no']);
     }
     $val = array();
     break;
 case "getdesc":
     $dataType = "text/xml";
     $val = '';
     if (isset($_REQUEST['rss']) && isset($_REQUEST['href'])) {
         $val = $mngr->getDescription($_REQUEST['rss'], $_REQUEST['href']);
     }
     break;
 case "mark":
     if (!isset($HTTP_RAW_POST_DATA)) {
         $HTTP_RAW_POST_DATA = file_get_contents("php://input");
     }
     if (isset($HTTP_RAW_POST_DATA) && isset($_REQUEST['state'])) {
         $urls = array();
         $times = array();
         $vars = explode('&', $HTTP_RAW_POST_DATA);
         foreach ($vars as $var) {
             $parts = explode("=", $var);
             if ($parts[0] == "url") {
                 $urls[] = rawurldecode($parts[1]);
             } else {