Esempio n. 1
0
     NoMoveCategory($catid, $newcat);
     break;
 case "SaveEditCategory":
     SaveEditCategory($catid, $title);
     break;
 case "AddCategory":
     AddCategory();
     break;
 case "SaveCategory":
     SaveCategory($title);
     break;
 case "DisplayStory":
     displayStory($qid);
     break;
 case "PreviewAgain":
     previewStory($qid, $uid, $author, $subject, $hometext, $bodytext, $topic, $notes, $catid, $ihome, $members, $Mmembers, $deb_day, $deb_month, $deb_year, $deb_hour, $deb_min, $fin_day, $fin_month, $fin_year, $fin_hour, $fin_min, $epur);
     break;
 case "PostStory":
     if (!$date_debval) {
         if (strlen($deb_day) == 1) {
             $deb_day = "0{$deb_day}";
         }
         if (strlen($deb_month) == 1) {
             $deb_month = "0{$deb_month}";
         }
         $date_debval = "{$deb_year}-{$deb_month}-{$deb_day} {$deb_hour}:{$deb_min}:00";
     }
     if (!$date_finval) {
         if (strlen($fin_day) == 1) {
             $fin_day = "0{$fin_day}";
         }
Esempio n. 2
0
     SaveEditCategory($catid, $title);
     break;
 case "SelectCategory":
     SelectCategory($cat);
     break;
 case "AddCategory":
     AddCategory();
     break;
 case "SaveCategory":
     SaveCategory($title);
     break;
 case "DisplayStory":
     displayStory($qid);
     break;
 case "PreviewAgain":
     previewStory($automated, $year, $day, $month, $hour, $min, $qid, $uid, $author, $subject, $hometext, $bodytext, $topic, $notes, $catid, $ihome, $alanguage, $acomm, $pollTitle, $optionText, $assotop);
     break;
 case "PostStory":
     postStory($automated, $year, $day, $month, $hour, $min, $qid, $uid, $author, $subject, $hometext, $bodytext, $topic, $notes, $catid, $ihome, $alanguage, $acomm, $pollTitle, $optionText, $assotop);
     break;
 case "EditStory":
     editStory($sid);
     break;
 case "RemoveStory":
     removeStory($sid, $ok);
     break;
 case "ChangeStory":
     changeStory($sid, $subject, $hometext, $bodytext, $topic, $notes, $catid, $ihome, $alanguage, $acomm, $assotop);
     break;
 case "DeleteStory":
     deleteStory($qid);