Smarty error: unable to read resource

Warning: Smarty error: unable to read resource: "'header.tpl'" in C:\Program Files\EasyPHP 3.0\www\classes\lib\external\Smarty-2.6.19\libs\Smarty.class.php on line 1092

Warning: Smarty error: unable to read resource: "'topic_list.tpl'" in C:\Program Files\EasyPHP 3.0\www\classes\lib\external\Smarty-2.6.19\libs\Smarty.class.php on line 1092

Warning: Smarty error: unable to read resource: "'footer.tpl'" in C:\Program Files\EasyPHP 3.0\www\classes\lib\external\Smarty-2.6.19\libs\Smarty.class.php on line 1092

— PHP version: 5.2.8

Запускаю — <?php
$smarty = new Smarty();
$smarty->template_dir = «templates/skin/new»;
$myfile = $smarty->template_dir. "/header.tpl";
readfile($myfile);
?>

Получаю —
{if $aHtmlRssAlternate} {/if} {literal} {/literal}
{include file=header_top.tpl} {include file=header_nav.tpl}
{if !$noShowSystemMessage} {include file='system_message.tpl'} {/if}

— Куда копать, господа?

Отображение кода только на главной

Как реализовать отображение кода только на главной?
Либо на тех страницах, где есть сайдбар с прямым эфиром, облаком тегов и топом блогов?

В общем задача, чтобы код не всплывал на тех страницах, где отображение сайдбара не предусмотрено.