Quote:
Originally Posted by Boofo
Ok, I misunderstood you before. I thought you said you WANTED the pictures to show up before the header. Sorry about that. With your original script, use this:
PHP Code:
<? error_reporting(E_ALL & ~E_NOTICE); require_once('./global.php'); define('THIS_SCRIPT', 'gallery'); if(isset($page)){ if(is_file('/home/xxx/php/'.$page.'.php')) { include('/home/xxx/php/'.$page.'.php'); $file=$page.'.php'; } elseif(is_file('/home/xxx/php/'.$page)) { include('/home/xxx/php/'.$page); $file=$page; } else { echo "<font face=verdana size=1><b>Page \"$page\" is invalid."; } } else { include('/home/xxx/php/1.php'); $file='home'; } eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('gallery_main') . '");'); ?>
Then in the template 'gallery_main', add your code BELOW this:
PHP Code:
$header $navbar
|
There isnt any code to add, its stored in 10 files (1 through 10), each file contains links to 25 images...so I cant do that with one template. I am not sure how I could make it work.