Topic: Have trouble with integrating my sitedesign on to my forum!!!

Hi everybody I have trouble integrating my pagedesign to my forum. I use includes for top and bottom on my pages. I tried to modify the template for "main.tpl", but it wont work. here is the page, URL: http://web.znitz.eu/projects/betaid/pag … /index.php . I need help hmm

Here is my code for the template "main.tpl"

<?php

// Sidspecifik PHP-kod här

////////////// [TOP] //////////////
$title = 'betaid - arkiv (beta)';

$headextra = '<pun_head>';

$bodyextra = '';
include("../../../../pagestructure/top.php");
?>

<!----- [MAIN CONTENT] ----->

<table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
        <td width="22.5"> </td>
       
<!-- sidebar - 210px -->
       
        <td width="210" valign="top">
       
        <div class="leftrubr">fotbollskanalen.se</div>
       
        <div class="leftsb">
       
<?php

include('../../../../functions/news_rss/get_fotbollskanalen.php');

?>

        </div>
        </td>
        <td width="22.5"> </td>
       
<!-- content - 450px -->
       
        <td width="450" valign="top">
        <div class="mainrubr">forum</div>
       
        <div class="mainsb">
       
       
       
        <div id="punwrap">
<div id="pun<pun_page>" class="pun">

<div id="brdheader" class="block">
    <div class="box">
        <div id="brdtitle" class="inbox">
            <pun_title>
            <pun_desc>
        </div>
        <pun_navlinks>
        <pun_status>
    </div>
</div>

<pun_announcement>

<pun_main>

<pun_footer>

</div>
</div>


       
        </div>
       
        </td>
       
        <td width="22.5"> </td>

<!-- ad - 250px -->
       
        <td width="250" valign="top" class="annonsplats">
        <div class="rightrubr">annonsplats</div>
       
        <td width="22.5"> </td>
    </tr>
</table>


<?php
////////////// [BOTTOM] //////////////
include("../../../../pagestructure/bottom.php");
?>

Can anyone see any errors?

2 (edited by Utchin 2007-12-13 09:48)

Re: Have trouble with integrating my sitedesign on to my forum!!!

.tpl files cannot have php code in. you gotta remove them and use <pun_include "FILENAME">

Sorry. Unactive due to personal life.