Reason being is that i have created a gallery, ( index.pl ) , and i want to use the layout of the forum to.
I've created a php called gallery.php
with :
<?php
error_reporting(7);
// ############################### start gallery ###############################
if ($action=="gallery") {
$templatesused = ""; // Only one template used so load it when called
include("./global.php");
$page = intval($page);
if (!$page)
$page = '';
eval("dooutput(\"".gettemplate("gallery")."\");");