Dazu hab ich ne file erstellt mit dem Namen portal.php ins root verzeichnis. In diese datei hab ich header und footer und den Teil welches den body included hineingeschrieben. Nun sieht die Datei so aus:
Code: Alles auswählen
<?php
/***************************************************************************
* portal.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: login.php,v 1.47.2.15 2004/03/18 18:15:51 acydburn Exp $
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
//
// Start output of page
//
define('SHOW_ONLINE', true);
$page_title = $lang['Index'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array(
'body' => 'portal_body.tpl')
);
//
// Generate the page
//
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Code: Alles auswählen
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
{LAST_VISIT_DATE}<br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
</tr>
</table>
<!-- BEGIN PortalContent -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2" class="forumline">
<tr>
<td width="20%" class="row1">
Navigation
</td>
<td width="60%" class="row1">
{PORTAL_CONTENT}
</td>
<td width="20%" class="row1">
Navigation
</td>
</tr>
<tr>
<td width="20%" class="row2">
</td>
</table>
<!-- END PortalContent -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
<tr>
<td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td>
<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
<br clear="all" />
Code: Alles auswählen
<!-- BEGIN PortalContent -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2" class="forumline">
<tr>
<td width="20%" class="row1">
Navigation
</td>
<td width="60%" class="row1">
{PORTAL_CONTENT}
</td>
<td width="20%" class="row1">
Navigation
</td>
</tr>
<tr>
<td width="20%" class="row2">
</td>
</table>
<!-- END PortalContent -->
~edit~
ich hab im source jetzt mal alle leerzeilen rausgenommen ... bringt auch nix

Ach und er zeigt dengesamten Teil nicht an. Also nicht nur die Wörter oder so ( weil die noch nicht in der languagefile stehen.