//=============================main.php=========================
<?php
include("../libs/smarty.class.php");
define('smarty_ROOT', '../');
$tpl = new smarty();
$tpl->template_dir = smarty_ROOT."templates/";
$tpl->compile_dir = smarty_ROOT."templates_c/";
$tpl->config_dir = smarty_ROOT."configs/";
$tpl->cache_dir = smarty_ROOT."cache/";
$tpl->caching=0;
$tpl->cache_lifetime=60*60*24;
$tpl->left_delimiter = '<{';
$tpl->right_delimiter = '}>';
?>