template_dir = 'tpl'; $smarty->compile_dir = 'tpl_c'; $smarty->cache_dir = 'cache'; if($_REQUEST['lang'] == 'en') { $index_tpl = 'index_en.tpl'; } else { $index_tpl = 'index_lt.tpl'; } require_once 'includes/content_loader.php'; $smarty->display($index_tpl); ?>