예제 #1
0
 public static function NsubscribeDialogue($type = "subscribe")
 {
     $stdout = "";
     switch ($type) {
         case "subscribe":
             $stdout .= "<div class='col c1of2'>\r\n" . news::subscribe() . "</div> <div class='col c2of2 divider'>\r\n" . functions::OutputWikiPage('0', '2462') . "</div><div style='clear:both'><br></div>\r\n";
             break;
         case "unsubscribe":
             $stdout .= "<div class='col c1of2'>\r\n" . news::unsubscribe() . "</div> <div class='col c2of2 divider'>\r\n" . functions::OutputWikiPage('0', '2464') . "</div><div style='clear:both'><br></div>\r\n";
             break;
     }
     // --------------------------------
     return $stdout;
 }