Example #1
0
                    }
                } else {
                    echo _gettext('Incorrect password.') . '<br />';
                }
            } else {
                do_redirect(KU_BOARDSPATH . '/' . $board_class->board['name'] . '/');
            }
        }
    }
    do_redirect(KU_BOARDSPATH . '/' . $board_class->board['name'] . '/');
    die;
} elseif (isset($_GET['postoek'])) {
    $board_class->OekakiHeader($_GET['replyto'], $_GET['postoek']);
    die;
} else {
    do_redirect(KU_BOARDSPATH . '/' . $board_class->board['name'] . '/');
}
if (KU_RSS) {
    require_once KU_ROOTDIR . 'inc/classes/rss.class.php';
    $rss_class = new RSS();
    print_page(KU_BOARDSDIR . $_POST['board'] . '/rss.xml', $rss_class->GenerateRSS($_POST['board'], $board_class->board['id']), $_POST['board']);
}
if ($board_class->board['redirecttothread'] == 1 || $_POST['em'] == 'return' || $_POST['em'] == 'noko') {
    if ($thread_replyto == "0") {
        do_redirect(KU_BOARDSPATH . '/' . $board_class->board['name'] . '/res/' . $post_id . '.html', true, $imagefile_name);
    } else {
        do_redirect(KU_BOARDSPATH . '/' . $board_class->board['name'] . '/res/' . $thread_replyto . '.html', true, $imagefile_name);
    }
} else {
    do_redirect(KU_BOARDSPATH . '/' . $board_class->board['name'] . '/', true, $imagefile_name);
}