Oto moje pliki:
class/template_class.php
<?php class template { var $theme = 'Default'; var $template_content = ''; var $template_html = NULL; function add_file ($template_file) { $template_path = "./templates/$this->theme/$template_file"; { } else { } } function set_block_template ($block_name, $array) { { $block_count = 0; foreach ($array as $key => $value) { $temp_array[$key] = $value; $block_count++; } $this->block_name[$block_name][] = $temp_array; } else { } } function set_template ($array) { foreach ($array as $key => $value) { } foreach ($this->assigned_vars as $key => $value) { } } ?>
index.php
<?php $template = new template; $template-> add_file("header.tpl"); $template-> add_file("index.tpl"); $template-> add_file("footer.tpl"); $user['lang'] = 'polish'; include ($keybb_path . "language/" . $user['lang'] . ".php"); "L_POWERED_INFO" => $lang['powered_info'], "ALL_POSTS" => $result_1, )); ?>
header.tpl
Zamiast napisu {L_POWERED_INFO} powinno pojawiać się na stronie Strona oparta o skrypt, jednak tak się nie dzieje. Próbuję to rozgryźć kilka dni i nadal nic

Pomocy