Ejemplo n.º 1
0
    $logout = "options.php";
    $page_name = "options";
    // Include header if "on" in config.php.
    if ($head == "on") {
        include "header.php";
    }
    session_destroy();
    session_unset($_SESSION['pass_hash_admin']);
    echo "<script type=\"text/javascript\">\n<!--\nvar URL   = \"options.php\"\nvar speed = {$edit_redirect}\nfunction reload() {\nlocation = URL\n}\nsetTimeout(\"reload()\", speed);\n//-->\n</script>\n{$p}\n{$l_global10}\n{$p2}\n{$p}\n{$l_global11}\n{$p2}";
    // Include footer if "on" in config.php.
    if ($head == "on") {
        include "footer.php";
    }
}
switch (@$_REQUEST['cmd']) {
    default:
        options();
        break;
    case "options2":
        options2($_POST['jscript2'], $_POST['pwdhashadmin'], $_POST['pwdhashupload'], $_POST['opt_language'], $_POST['opt_page_title'], $_POST['opt_password_protect'], $_POST['opt_admin_password'], $_POST['opt_upload_password'], $_POST['opt_empty_admin_password'], $_POST['opt_empty_upload_password'], $_POST['opt_fileupload'], $_POST['opt_fileupload_dir_name'], $_POST['opt_up_ignore1'], $_POST['opt_up_ignore2'], $_POST['opt_up_ignore3'], $_POST['opt_up_ignore4'], $_POST['opt_up_ignore5'], $_POST['opt_hide'], $_POST['opt_rename_file'], $_POST['opt_delete_file'], $_POST['fileindex'], $_POST['fileindexview'], $_POST['fileindexdelete'], $_POST['opt_edit_redirect'], $_POST['opt_admin_redirect'], $_POST['opt_head'], $_POST['opt_textdir'], $_POST['opt_datadir'], $_POST['opt_pagepath'], $_POST['opt_p'], $_POST['opt_p2']);
        break;
    case "setup1":
        setup1();
        break;
    case "setup2":
        setup2($_POST['php_upload_size'], $_POST['php_globals']);
        break;
    case "logout":
        logout();
        break;
}
Ejemplo n.º 2
0
                                        <tr>
                                            <td><span><input type="checkbox" name="popups" value="ON" />Superscript</span></td>
                                            <td><span><input type="checkbox" name="popups" value="ON" />Emboss</span></td></tr>
                                        <tr>
                                            <td><span><input type="checkbox" name="popups" value="ON" />Engrave</span></td>
                                            <td><span><input type="checkbox" name="popups" value="ON" />Subscript</span></td></tr></table>
                                    <span id="buttons_tutorial_two"><input type="submit" value="Cancel" name="frame4_cancel" /><input type="submit" value="Submit" name="frame4_submit" /></span>
                                </div>

                                <div id="answer"></div>
                            </div>

                            <!--Frame 25-->
                            <div id="25" style="width:100%; display: none;">
                                <?php 
echo options2();
?>
                                <div id="tutorial_two_mult" ><span id="mult" style="margin-left: 15px; margin-right: 15px;">2</span>
                                    x <span id="mult" style="margin-left: 35px; margin-right: 35px;">2</span> 
                                    x <span id="mult" style="margin-left: 10px; margin-right: 5px;">2</span>
                                    x <span style="margin-left: 20px; margin-right: 18px;">2</span>
                                    x <span style="margin-left: 18px; margin-right: 18px;">2</span>
                                    x <span style="margin-left: 18px; margin-right: 18px;">2</span>
                                    x <span style="margin-left: 18px; margin-right: 18px;">2</span>
                                    x <span style="margin-left: 14px; margin-right: 14px;">2</span></div>
                                <div id="contentBox_wide"><p>Here you can see how we multiplied all
                                        of our options to get the total number of configurations.<br
                                            /><br /> The question is what to do with this information?</p></div>
                            </div>

                            <!--Frame 26-->