コード例 #1
0
            break;
        case 'deltemplom':
            $tartalom = miserend_deltemplom();
            break;
        case 'deletetemplom':
            $tartalom = miserend_deletetemplom();
            break;
        case 'delmise':
            $tartalom = miserend_delmise();
            break;
        case 'deletemise':
            $tartalom = miserend_deletemise();
            break;
        case 'events':
            if (isset($_REQUEST['save'])) {
                events_save($_REQUEST);
            }
            if (isset($_REQUEST['order']) and in_array($_REQUEST['order'], array('year, date', 'name'))) {
                $order = $_REQUEST['order'];
            }
            $form = events_form($order);
            $form['m_id'] = $m_id;
            $form['template'] = 'admin_editevents';
            $tartalom = $form;
            break;
        default:
            $tartalom = miserend_modtemplom();
            //$tartalom=miserend_index();
            break;
    }
} else {
コード例 #2
0
ファイル: roundcube.hacks.php プロジェクト: BillTheBest/1.6.x
    exit;
}
if (isset($_GET["main"])) {
    main();
    exit;
}
if (isset($_GET["RoundCubeHackEnabled"])) {
    save();
    exit;
}
if (isset($_GET["events"])) {
    events();
    exit;
}
if (isset($_GET["ip-enabled"])) {
    events_save();
    exit;
}
if (isset($_GET["delete-ip"])) {
    delete_ip();
    exit;
}
js();
function js()
{
    $tpl = new templates();
    $page = CurrentPageName();
    $title = $tpl->_ENGINE_parse_body('{APP_ROUNDCUBE}::Anti-Hacks');
    $html = "YahooWin3('600','{$page}?popup=yes','{$title}');";
    echo $html;
}