Exemplo n.º 1
0
                        }
                        if ($pid[0] == $thread) {
                            $postidquery .= " AND `parentid` = " . $tc_db->qstr($thread) . ")";
                        } else {
                            $postidquery .= ")";
                        }
                    }
                }
            }
            $i++;
        }
    } else {
        $postidquery .= "`id` = " . intval($postids[0]);
    }
}
$board_class->InitializeDwoo();
$board_class->dwoo_data->assign('board', $board_class->board);
$board_class->dwoo_data->assign('isread', true);
$board_class->dwoo_data->assign('file_path', getCLBoardPath($board_class->board['name'], $board_class->board['loadbalanceurl_formatted'], ''));
$page = '';
if (!$singlepost) {
    $page .= $board_class->PageHeader($thread, 0, -1, -1);
    $board_class->dwoo_data->assign('replythrad', $thread);
    $page .= $board_class->dwoo->get(KU_TEMPLATEDIR . '/' . $board_class->board['text_readable'] . '_reply_header.tpl', $board_class->dwoo_data);
} else {
    $tpl['title'] = '';
    $tpl['head'] = '';
    $page .= '<link rel="stylesheet" href="' . getCLBoardPath() . 'css/img_global.css" />';
}
if ($board_class->board['type'] == 1) {
    $relative_id = 0;