博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

织梦源码分析--- 后台目录结构(一)

Posted on 2014-08-09 11:29  SmarTom  阅读(514)  评论(0编辑  收藏  举报

1.左侧导航条

  ①:index_menu.php

require(dirname(__FILE__).'/config.php');
require(DEDEADMIN.'/inc/inc_menu.php');
require(DEDEADMIN.'/inc/inc_menu_func.php');
$openitem = (empty($openitem) ? 1 : $openitem);
include DedeInclude('templets/index_menu2.htm');

  ②:catalog_main.php

require_once(dirname(__FILE__)."/config.php");
require_once(DEDEINC."/typeunit.class.admin.php");
$userChannel = $cuserLogin->getUserChannel();
include DedeInclude('templets/catalog_main.htm');