Location: PHPKode > projects > OsQuestions > osQuestions-0.5.0.0/show_question.php
<?

require_once("init.php");

$questionId = $_REQUEST["qid"];

$question = DBMessage::loadQuestion($questionId, $db);

require_once(OSQ_CONTROLLERS_DIR . "sub_controllers.php");

$t->assign("SUB_TITLE", $question->title);
$t->assign('question', $question);
$t->assign('rendered_page', $t->fetch('question.tpl'));

$t->display('index.tpl');

?>
Return current item: OsQuestions