caching = true; $tpl->cache_lifetime = $cache_seconds; } $cacheid = md5($_SERVER["REQUEST_URI"]); $about_title = ''; if(!$tpl->isCached($tplfile,$cacheid)){ $catdir = Core_Fun::rec_post("catdir"); if(empty($catdir)){ $sql = 'SELECT `cname`,`catdir` FROM '.DB_PREFIX.'pagecate ORDER BY `orders` ASC LIMIT 1'; $result = $db->fetch_first($sql); $catdir = $result['catdir']; } require './source/module/app.php'; require './source/widget/about.php'; } $tpl->assign("runtime",Core_Fun::runtime()); $tpl->assign("LANVAR",$LANVAR); $tpl->display($tplfile,$cacheid); ?>