mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
Moved include files
git-svn-id: file:///svn/phpbb/trunk@94 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/***************************************************************************
|
||||
* viewtopic.php
|
||||
* viewtopic.php
|
||||
* -------------------
|
||||
* begin : Saturday, Feb 13, 2001
|
||||
* copyright : (C) 2001 The phpBB Group
|
||||
@@ -23,6 +23,9 @@
|
||||
include('extension.inc');
|
||||
include('common.'.$phpEx);
|
||||
|
||||
$page_title = "View Topic - $topic_title";
|
||||
$topic_title = stripslashes($topic_info[0]["topic_title"]);
|
||||
|
||||
if(!isset($HTTP_GET_VARS['topic'])) // For backward compatibility
|
||||
{
|
||||
$topic_id = $HTTP_GET_VARS[POST_TOPIC_URL];
|
||||
@@ -73,11 +76,9 @@ for($x = 0; $x < $total_rows; $x++)
|
||||
// Add checking for private forums here
|
||||
//
|
||||
|
||||
$page_title = "View Topic - $topic_title";
|
||||
$topic_title = stripslashes($topic_info[0]["topic_title"]);
|
||||
$total_replies = $topic_info[0]["topic_replies"] + 1;
|
||||
$pagetype = "viewtopic";
|
||||
include('page_header.'.$phpEx);
|
||||
include('includes/page_header.'.$phpEx);
|
||||
|
||||
if(!isset($start))
|
||||
{
|
||||
@@ -252,6 +253,6 @@ $template->set_var(array("PAGES" => $pages,
|
||||
|
||||
$template->pparse("output", array("posts", "body"));
|
||||
|
||||
include('page_tail.'.$phpEx);
|
||||
include('includes/page_tail.'.$phpEx);
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user