Beispiel #1
0
    fclose($file);
    Header("Location: admin.php?op=sections");
}
// Fonctions Param du menu barre des sections
switch ($op) {
    case "new_rub_section":
        new_rub_section($type);
        break;
    case "sections":
        sections();
        break;
    case "sectionedit":
        sectionedit($secid);
        break;
    case "sectionmake":
        sectionmake($secname, $image, $members, $Mmembers, $rubref, $introd);
        break;
    case "sectiondelete":
        sectiondelete($secid, $ok);
        break;
    case "sectionchange":
        sectionchange($secid, $secname, $image, $members, $Mmembers, $rubref, $introd);
        break;
    case "rubriquedit":
        rubriquedit($rubid);
        break;
    case "rubriquemake":
        rubriquemake($rubname, $introc);
        break;
    case "rubriquedelete":
        rubriquedelete($rubid, $ok);
Beispiel #2
0
    if (isset($HTTP_GET_VARS['artid'])) {
        $artid = intval($HTTP_GET_VARS['artid']);
    }
    if (isset($HTTP_GET_VARS['secid'])) {
        $secid = intval($HTTP_GET_VARS['secid']);
    }
}
switch ($op) {
    case "sections":
        sections();
        break;
    case "sectionedit":
        sectionedit($secid);
        break;
    case "sectionmake":
        sectionmake($secname, $image);
        break;
    case "sectiondelete":
        sectiondelete($secid, $ok);
        break;
    case "sectionchange":
        sectionchange($secid, $secname, $image);
        break;
    case "secarticleadd":
        secarticleadd($secid, $title, $content);
        break;
    case "secartedit":
        secartedit($artid);
        break;
    case "secartchange":
        secartchange($artid, $secid, $title, $content);