Example #1
0
}
if (!isset($RSS_ADMIN_IMPORT_FOOTER)) {
    $RSS_ADMIN_IMPORT_FOOTER = "\n\t</table>\n\t<div class='buttons-bar center'>\n\t\t" . $frm->admin_button('import_rss', RSS_LAN_ADMIN_17, 'submit') . "\n\t</div>\n\t</form>\n\t";
}
// Listing
if (e_QUERY) {
    $qs = explode(".", e_QUERY);
}
$action = varset($qs[0], 'list');
$field = varset($qs[1], '');
$feedID = intval(varset($qs[2], 0));
switch ($action) {
    case 'create':
        if ($_POST) {
            // List
            $rss->rssadminlist();
        } else {
            // Create
            $rss->rssadmincreate($field, $feedID);
        }
        break;
    case 'import':
        $rss->rssadminimport();
        break;
    case 'options':
        $rss->rssadminoptions();
        break;
    case 'r3':
        $rss->show_message('', RSS_LAN_ADMIN_31);
        // Intentionally fall straight through after showing message
    // Intentionally fall straight through after showing message