Topic: parsing PunBB into a page.
OK my site is at http://kafene.org/.
As you can see, each page has a consistent design, except the forum. What I want to do is make it so that the forum goes in the right side like everything else. Each page is parsed into the main div (the right side) depending on which page is requested.
Here is the part where it needs to be parsed:
<div id="main">
<?php
if ($url == copyright){
include "lic.php"; }
elseif ($url == atkafene) {
include "atkaf.php"; }
elseif ($url == contact) {
include "contact.php"; }
elseif ($url=="propaganda") {
include "prop.php"; }
elseif ($url=="forum") {
include "forum.php"; }
elseif ($url=="todo") {
include "todo.php"; }
elseif ($url=="blog") {
include "blog.php"; }
elseif ($url=="main") {
include "main.php"; }
elseif ($url=="") {
include "main.php"; }
else {
echo "That is not a valid location!"; }
?>
</div>
If anyone has any tips on stripping down the punbb source or something, please let me know. If you need the full page source, I can give that too, but it's a little big so i wont post it yet.
Thanks.