View file system/view/footer.php
<? /********************************** * @package: PerfCMS * * @year: 2012 * * @author: Artas * * @link: http://perfcms.pp.ua * **********************************/ if(!file_exists(TPL.'/themes/'.$tpl->type.'/'. $stylen .'/footer'. $tpl->format)) { ?> <div class="footer"><?=$stat->online();?></div> <?=$stat->ads('footer'); ?> <div class="foot"> <? $stat->footer(); ?> </div> </div> </body> </html> <? } else { $tpl->parse('footer'); $tpl->view(); }