} else { echo _gettext('There was an error in trying to delete your post') . '<br />'; } } } 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 { echo _gettext('There was an error in trying to delete your post') . '<br />'; } } } 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(intval($_GET['replyto']), intval($_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 ($board_class->board['redirecttothread'] == 1 || $_POST['em'] == 'return' || $_POST['em'] == 'noko' || $_POST["redirecttothread"] == 1) { 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);