1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 12:14:06 +02:00

phpBB 2 is started

git-svn-id: file:///svn/phpbb/trunk@13 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson
2001-02-22 06:10:12 +00:00
parent 658df35cd4
commit 8918532a13
6 changed files with 474 additions and 8 deletions

View File

@@ -23,5 +23,28 @@
***************************************************************************/
switch($pagetype)
{
case 'index':
$page_title = "Forum Index";
$template->set_file(array("overall_header" => "overall_header.tpl",
"header" => "index_header.tpl",
"body" => "index_body.tpl",
"footer" => "index_footer.tpl",
"overall_footer" => "overall_footer.tpl"));
$template->set_var(array("SITENAME" => $sitename,
"PAGE_TITLE" => $page_title,
"META_INFO" => $meta_tags,
"TOTAL_POSTS" => $total_posts,
"TOTAL_USERS" => $total_users,
"NEWEST_USER" => $newest_user,
"NEWEST_UID" => $newest_uid,
"USERS_BROWSING" => $users_browsing));
$template->pparse("output", "overall_header");
$template->pparse("output", "header");
break;
}
?>