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