Voor het maken van een nieuwe pagina op mijn site gebruik ik deze twee bestanden.
template.php
Code: Selecteer alles
<?php
// standard hack prevent
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
// standard session management
$userdata = session_pagestart($user_ip, PAGE_TEMPLATE);
init_userprefs($userdata);
// set page title
$page_title = 'TEMPLATE';
// standard page header
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
// assign template
$template->set_filenames(array(
'body' => 'template.tpl')
);
$template->pparse('body');
// standard page footer
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Code: Selecteer alles
<HTML>
CONTENT GOES HERE
<HTML>
Ik kan de template.tpl dus vullen met code.
Nou zou ik graag deze site willen tonen op mijn site maar in mijn eigen template.
http://skichallenge.orf.at/schweiz/group/11977/
Is er iemand die mij kan vertellen hoe ik dat kan doen?
Alvast onwijs bedankt.
Groet,
Farid