$system->xorg->smarty->assign("toolbar", $system->xorg->smarty->fetch($settings[commonTpl] . 'toolbar' . $settings[ext4])); ################################ # Shop # ################################ require_once "module/product/model/product.php"; $product = new m_product(); $product->m_hierarchicalListCategory(0); $system->xorg->smarty->assign("category", "<ul id='productTreeMenu' style='padding-right: 20px;'>\n" . $product->tree . "<ul>\n"); ################################ # Post # ################################ require_once "module/post/config/config.php"; require_once "module/post/model/post.php"; $post = new m_post(); //$system->xorg->smarty->assign("postList", $post->m_listObject('showList', $_GET[filter])); $system->xorg->smarty->assign("news", $post->m_feedObject("http://brandsaz.persianblog.ir/rss.xml", 9)); ################################ # Main # ################################ if ($sysVar[op] && $sysVar[mode]) { $system->module->loadModule(); $content = $system->xorg->smarty->fetchedVar; $system->seo->seo($content); $system->seo->scan(); $system->xorg->smarty->assign("keywords", $system->seo->metaKeywordMaker()); $system->xorg->smarty->assign("description", $system->seo->metaDescriptionMaker()); $system->xorg->smarty->assign("title", $system->seo->titleMaker('best')); $system->xorg->smarty->assign("main", $content); } ################################ # Link List #