Ejemplo n.º 1
0
if ($_SESSION['UserGroup'] != $Settings['GuestGroup'] || $GroupInfo['CanEditProfile'] == "yes") {
    if ($_GET['act'] == null || $_GET['act'] == "notepad") {
        $_GET['act'] = "view";
    }
    if (!in_array($_GET['act'], $idbactcheck)) {
        $_GET['act'] = "view";
    }
    if ($_GET['act'] == "view" || $_GET['act'] == "signature" || $_GET['act'] == "avatar" || $_GET['act'] == "settings" || $_GET['act'] == "profile" || $_GET['act'] == "userinfo") {
        require $SettDir['inc'] . 'profilemain.php';
    }
}
$iWrappers['CONTENT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
require $SettDir['inc'] . 'endpage.php';
$iWrappers['COPYRIGHT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
if (!isset($profiletitle)) {
    $profiletitle = null;
}
?>
</body>
</html>
<?php 
$iWrappers['HTMLEND'] = ob_get_clean();
require $SettDir['inc'] . 'iwrapper.php';
if ($profiletitle == null) {
    fix_amp($Settings['use_gzip'], $GZipEncode['Type']);
}
if ($profiletitle != null) {
    change_title($Settings['board_name'] . $profiletitle, $Settings['use_gzip'], $GZipEncode['Type']);
}
Ejemplo n.º 2
0
    $AdminMenu = "categories";
    require $SettDir['admin'] . 'categories.php';
}
if ($_GET['act'] == "validate" || $_GET['act'] == "editmember" || $_GET['act'] == "deletemember") {
    $AdminMenu = "members";
    require $SettDir['admin'] . 'members.php';
}
if ($_GET['act'] == "addgroup" || $_GET['act'] == "editgroup" || $_GET['act'] == "deletegroup") {
    $AdminMenu = "groups";
    require $SettDir['admin'] . 'groups.php';
}
$iWrappers['CONTENT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
require $SettDir['inc'] . 'endpage.php';
$iWrappers['COPYRIGHT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
if (!isset($admincptitle)) {
    $admincptitle = null;
}
?>
</body>
</html>
<?php 
$iWrappers['HTMLEND'] = ob_get_clean();
require $SettDir['inc'] . 'iwrapper.php';
if ($admincptitle == null) {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Admin CP", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($admincptitle != null) {
    change_title($Settings['board_name'] . $admincptitle, $Settings['use_gzip'], $GZipEncode['Type']);
}
Ejemplo n.º 3
0
    redirect("location", $rbasedir . url_maker($exfile['rss'], $Settings['file_ext'], "act=" . $_GET['act'] . "&id=" . $_GET['id'], $Settings['qstr'], $Settings['qsep'], $prexqstr['rss'], $exqstr['rss'], FALSE));
    ob_clean();
    header("Content-Type: text/plain; charset=" . $Settings['charset']);
    $urlstatus = 302;
    gzip_page($Settings['use_gzip'], $GZipEncode['Type']);
    session_write_close();
    die;
}
$iWrappers['CONTENT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
require $SettDir['inc'] . 'endpage.php';
$iWrappers['COPYRIGHT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
if (!isset($ForumName)) {
    $ForumName = null;
}
?>
</body>
</html>
<?php 
$iWrappers['HTMLEND'] = ob_get_clean();
require $SettDir['inc'] . 'iwrapper.php';
if ($_GET['act'] == "view" || $_GET['act'] == "lowview") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " " . $ForumName, $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "create") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Making a Topic", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "maketopic" && $_POST['act'] == "maketopics") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Making a Topic", $Settings['use_gzip'], $GZipEncode['Type']);
}
Ejemplo n.º 4
0
if ($_GET['act'] == "view") {
    require $SettDir['inc'] . 'subforums.php';
}
if ($_GET['act'] == "lowview") {
    require $SettDir['inc'] . 'lowsubforums.php';
}
if ($_GET['act'] == "oldrss" || $_GET['act'] == "rss" || $_GET['act'] == "atom" || $_GET['act'] == "opml") {
    redirect("location", $rbasedir . url_maker($exfile['rss'], $Settings['file_ext'], "act=" . $_GET['act'] . "&id=" . $_GET['id'], $Settings['qstr'], $Settings['qsep'], $prexqstr['rss'], $exqstr['rss'], FALSE));
    ob_clean();
    header("Content-Type: text/plain; charset=" . $Settings['charset']);
    $urlstatus = 302;
    gzip_page($Settings['use_gzip'], $GZipEncode['Type']);
    session_write_close();
    die;
}
$iWrappers['CONTENT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
require $SettDir['inc'] . 'endpage.php';
$iWrappers['COPYRIGHT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
if (!isset($ForumName)) {
    $ForumName = null;
}
?>
</body>
</html>
<?php 
$iWrappers['HTMLEND'] = ob_get_clean();
require $SettDir['inc'] . 'iwrapper.php';
change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " " . $ForumName, $Settings['use_gzip'], $GZipEncode['Type']);
Ejemplo n.º 5
0
    }
}
if ($_GET['act'] == "opensearch") {
    redirect("location", $rbasedir . url_maker($exfile['rss'], $Settings['file_ext'], "act=" . $_GET['act'], $Settings['qstr'], $Settings['qsep'], $prexqstr['rss'], $exqstr['rss'], FALSE));
    ob_clean();
    header("Content-Type: text/plain; charset=" . $Settings['charset']);
    $urlstatus = 302;
    gzip_page($Settings['use_gzip'], $GZipEncode['Type']);
    session_write_close();
    die;
}
$iWrappers['CONTENT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
require $SettDir['inc'] . 'endpage.php';
$iWrappers['COPYRIGHT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
if (!isset($_GET['search'])) {
    $_GET['search'] = null;
}
?>
</body>
</html>
<?php 
$iWrappers['HTMLEND'] = ob_get_clean();
require $SettDir['inc'] . 'iwrapper.php';
if ($_GET['search'] == null && $_GET['type'] == null) {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Searching", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['search'] != null && $_GET['type'] != null) {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " " . $_GET['search'], $Settings['use_gzip'], $GZipEncode['Type']);
}
Ejemplo n.º 6
0
 * - LOcalisation
 * - sicherheitschecks
 *
 */
/******************************************************************************
 * MAIN
 *****************************************************************************/
include "../application.php";
checklogin();
$session['notice'] = '';
/* form has been submitted, try to create the new user account */
if (match_referer() && isset($HTTP_POST_VARS)) {
    $frm = $HTTP_POST_VARS;
    $frm['file'] = nvl($HTTP_POST_FILES['file']);
    if (!empty($frm['title'])) {
        if (change_title($frm['id'], $frm['title'])) {
            $session['notice'] .= "Titel erfolgreich ge&auml;ndert!<br>";
        } else {
            $session['notice'] .= "Titel nicht ge&auml;ndert!<br>";
        }
    }
    if (!empty($frm['abstract'])) {
        if (change_abstract($frm['id'], $frm['abstract'])) {
            $session['notice'] .= "Kurzbeschreibung erfolgreich ge&auml;ndert!<br>";
        } else {
            $session['notice'] .= "Kurzbeschreibung nicht ge&auml;ndert!<br>";
        }
    }
    if (isset($frm['upload'])) {
        $errormsg = validate_form($frm, $errors);
        //print_r($frm);
Ejemplo n.º 7
0
    }
}
$iWrappers['CONTENT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
require $SettDir['inc'] . 'endpage.php';
$iWrappers['COPYRIGHT'] = ob_get_clean();
ob_start("idb_suboutput_handler");
if (!isset($MessageName)) {
    $MessageName = null;
}
?>
</body>
</html>
<?php 
$iWrappers['HTMLEND'] = ob_get_clean();
require $SettDir['inc'] . 'iwrapper.php';
if ($_GET['act'] == "read") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " " . $MessageName, $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "viewsent") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Viewing Sent MailBox", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "view") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Viewing MailBox", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "create") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Making a Message", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "sendmessage" && $_POST['act'] == "sendmessages") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Seanding a Message", $Settings['use_gzip'], $GZipEncode['Type']);
}
Ejemplo n.º 8
0
}
if ($_GET['act'] == "create") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Replying to " . $TopicName, $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "delete") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Deleting a Post", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "edit") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Editing a Post", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "editreply" && $_POST['act'] == "editreplies") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Editing a Post", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "pin") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Pinning a Topic", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "unpin") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Unpinning a Topic", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "open") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Opening a Topic", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "close") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Closing a Topic", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "move") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Moving a Topic", $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "makereply" && $_POST['act'] == "makereplies") {
    change_title($Settings['board_name'] . " " . $ThemeSet['TitleDivider'] . " Replying to " . $TopicName, $Settings['use_gzip'], $GZipEncode['Type']);
}