function __construct() { list($cate, $args) = CORE::$args; self::$temp = CORE::$temp_main; CORE::common_resource(); CORE::res_init('blog/data_list', 'css'); self::$temp["MAIN"] = 'ogs-blog-tpl.html'; if (!empty($cate)) { self::$cate = SEO::origin('blog_cate', $cate); self::$temp["MAIN"] = 'ogs-blog-tpl.html'; $func++; } if (!empty($args)) { self::$id = SEO::origin('blog', $args); self::$temp["MAIN"] = 'ogs-blog-detail-tpl.html'; $func++; } if ($func <= 1) { self::row(); } else { self::detail(); } self::nav(); self::hot(self::$id); self::$temp['NAV'] = ''; new VIEW(CORE::$temp_option["HULL"], self::$temp, false, false); }
function __construct() { list($cate, $args) = CORE::$args; self::$temp = CORE::$temp_main; CORE::common_resource(); self::$temp["MAIN"] = 'ogs-gallery-tpl.html'; if (!empty($cate)) { self::$cate = SEO::origin('gallery_cate', $cate); self::$temp["MAIN"] = 'ogs-gallery-tpl.html'; $func++; } if (!empty($args)) { self::$id = SEO::origin('gallery', $args); self::$temp["MAIN"] = 'ogs-gallery-detail-tpl.html'; $func++; } if ($func <= 1) { self::row(); } else { self::detail(); } VIEW::assignGlobal(array('TAG_FUNC_STR_ENG' => 'GALLERY', 'TAG_GALLERY_ACTIVE' => 'class="li1"')); self::nav(); new VIEW(CORE::$temp_option["HULL"], self::$temp, false, false); }
function __construct() { list($args) = CORE::$args; self::$temp = CORE::$temp_main; self::$id = SEO::origin('intro', $args); self::$temp["MAIN"] = 'ogs-intro-tpl.html'; self::row(); self::nav(); CORE::common_resource(); CORE::res_init('about/data', 'css'); new VIEW(CORE::$temp_option["HULL"], self::$temp, false, false); }
function __construct() { list($args) = CORE::$args; self::$temp = CORE::$temp_main; if (!empty($args)) { self::$id = SEO::origin('faq', $args); } self::$temp["MAIN"] = 'ogs-faq-tpl.html'; self::row(); self::nav(); new VIEW(CORE::$temp_option["HULL"], self::$temp, false, false); }
function __construct() { list($cate, $args) = CORE::$args; self::$temp = CORE::$temp_main; if (!empty($cate)) { self::$cate = SEO::origin('products_cate', $cate); $func++; } if (!empty($args)) { self::$id = SEO::origin('products', $args); $func++; } switch ($func) { case 0: self::$temp["MAIN"] = 'ogs-products-tpl.html'; AD::$cate = 4; new AD(); SEO::load('products'); if (empty(SEO::$data["h1"])) { SEO::$data["h1"] = CORE::$lang["products"]; } SEO::output(); CRUMBS::fetch('products'); break; case 1: self::$temp["MAIN"] = 'ogs-products-list-tpl.html'; self::row(); break; default: self::$temp["MAIN"] = 'ogs-products-detail-tpl.html'; self::detail(); break; } self::nav(); CORE::res_init('fix', 'css'); new VIEW(CORE::$temp_option["HULL"], self::$temp, false, false); }
function __construct() { list($cate, $args) = CORE::$args; self::$temp = CORE::$temp_main; CORE::common_resource(); self::$temp["MAIN"] = 'ogs-news-tpl.html'; if (!empty($cate)) { self::$cate = SEO::origin('news_cate', $cate); self::$temp["MAIN"] = 'ogs-news-tpl.html'; $func++; } if (!empty($args)) { self::$id = SEO::origin('news', $args); self::$temp["MAIN"] = 'ogs-news-detail-tpl.html'; $func++; } if ($func <= 1) { self::row(); } else { self::detail(); } self::nav(); new VIEW(CORE::$temp_option["HULL"], self::$temp, false, false); }