View Single Post
Old 10-15-2005, 11:05 AM   #3
supafunk
Green Mole
 
Join Date: Oct 2005
Posts: 9
yep, the code I have there is:

Code:
$templates_array = array('black.html','bluegrey.html','corporate.html','green.html','grey.html  ','lightgreen.html','linear.html','newspaper.html','phpdig.html','simple.ht  ml','terminal.html','yellow.html','gaagle.html');
if(isset($template_demo) && in_array($template_demo, $templates_array)) {
    $template = "$relative_script_path/templates/cthinker.html";
} else {
    $template = "$relative_script_path/templates/cthinker.html";
}
the whole template code seems to be getting repeated over and over again for some reason....

any more help would be gratefully received.
cheers
supafunk is offline   Reply With Quote