<?php 


/** 
***************************************************
*欢迎使用免费版SiteTeam企业建站软件！
*这是一个专业为搜索引擎营销而设计的，极稳定、极易维护的建站软件！
*官方客服：help@php.net.cn
*官方下载网址：http://www.SiteTeam.cn 
***************************************************
**/




 require_once "include/common.inc.php"; $setting = cache_read("setting"); extract($setting); unset($password, $domain[$site_url]['password']); if (!empty($site_admin) && $site_admin == 4) siteteam_sys_msg(4); if (isset($site_index_url) && !empty($site_index_url)) { $site_home_url = SITE_PATH . "/?{$site_index_url}.html"; } else { $site_home_url = SITE_PATH . "/"; } if ($mod == $site_product_list_url) { require_once SITE_ROOT . "/include/mod_product_list.inc.php"; } elseif ($mod == $site_product_url) { require_once SITE_ROOT . "/include/mod_product.inc.php"; } elseif (array_key_exists($mod, $article_category)) { require_once SITE_ROOT . "/include/mod_article.inc.php"; } elseif (empty($mod)) { if (isset($site_index_url) && !empty($site_index_url)) { require_once SITE_ROOT . "/include/mod_start.inc.php"; } else { require_once SITE_ROOT . "/include/mod_first.inc.php"; } } elseif ($mod == $site_index_url) { require_once SITE_ROOT . "/include/mod_first.inc.php"; } else { require_once SITE_ROOT . "/include/mod_404.inc.php"; } ?>