Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- *
- * 网站框架首页文件
- *
- * @author Arthur(ArthurXF@gmail.com)
- * @copyright (c) 2006 by bizeway.com
- * @version $Id$
- * @package ArthurXF
- */
- require_once('config/config.inc.php');
- $objWebInit = new ArthurXF();
- if(empty($arrGPdoDB['db_name']) || empty($arrGPdoDB['db_user'])){
- header("Location: $arrGWeb[WEB_ROOT_pre]/install/");
- exit;
- }
- //数据库连接参数
- $objWebInit->setDBG($arrGPdoDB);
- $objWebInit->db();
- //smarty参数
- $objWebInit->arrGSmarty = $arrGSmarty;
- //产品分类
- include 'product/block/top_index.php';
- include 'product/block/index_type.php';
- include 'brand/block/top_index.php';
- //单页信息
- include 'archives/block/top_index.php';
- //include 'download/block/top_index.php';
- // 新闻
- //include 'news/block/top_index.php';
- //客户
- include 'client/block/top_index.php';
- //风采
- include 'grace/block/top_index.php';
- //积分
- include 'largess/block/top_index.php';
- //资质
- include 'qualification/block/top_index.php';
- //友情图片链结
- //include 'links/block/top_index.php';
- //友情文字链结
- include 'links/block/topwordlink.php';
- //全站公用block
- @include '_block.php';
- //输出到模板
- $arrMOutput["smarty_assign"]['MAIN'] = 'index.html';
- $objWebInit->output($arrMOutput);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement