<?php
!function_exists('html') && exit('ERR');

unset($menudb,$base_menudb);
//$base_menudb['修改个人资料']['link']='userinfo.php?job=edit';

//$base_menudb['<font color=red>版主管理.稿件</font>']['link']='list.php';
//$base_menudb['<font color=red>版主管理.稿件</font>']['power']='2';

//$base_menudb['<font color=red>版主管理.评论</font>']['link']='comment.php?job=work';
//$base_menudb['<font color=red>版主管理.评论</font>']['power']='2';

$menudb['基本功能']['修改个人资料']['link']='userinfo.php?job=edit';
$menudb['基本功能']['站内短消息']['link']='pm.php?job=list';
$menudb['基本功能']['积分充值']['link']='money.php?job=list';
$menudb['基本功能']['购买会员等级']['link']='buygroup.php?job=list';
//$menudb['基本功能']['企业信息']['link']='company.php?job=edit';
$menudb['基本功能']['身份验证']['link']='yz.php?job=email';
$menudb['基本功能']['积分消费记录']['link']='moneylog.php?job=list';
$menudb['基本功能']['购买空间']['link']='buyspace.php';
$menudb['基本功能']['收款帐号设置']['link']='bank.php?job=set';
$menudb['基本功能']['我的财务信息']['link']='rmb.php?job=list';
$menudb['基本功能']['附件管理']['link']='upload_file.php?job=show';



$menudb['CMS频道']['发表文章']['link']='post.php?job=postnew&only=1&mid=0';
$menudb['CMS频道']['管理文章']['link']='myarticle.php?job=myarticle&only=1&mid=0';

$menudb['CMS频道']['发布图片']['link']='post.php?job=postnew&only=1&mid=100';
$menudb['CMS频道']['管理图片']['link']='myarticle.php?job=myarticle&only=1&mid=100';

$menudb['CMS频道']['发布软件']['link']='post.php?job=postnew&only=1&mid=101';
$menudb['CMS频道']['管理软件']['link']='myarticle.php?job=myarticle&only=1&mid=101';

$menudb['CMS频道']['发布视频']['link']='post.php?job=postnew&only=1&mid=102';
$menudb['CMS频道']['管理视频']['link']='myarticle.php?job=myarticle&only=1&mid=102';

$menudb['CMS频道']['发布商品']['link']='post.php?job=postnew&only=1&mid=103';
$menudb['CMS频道']['管理商品']['link']='myarticle.php?job=myarticle&only=1&mid=103';

$menudb['CMS频道']['发布FLASH']['link']='post.php?job=postnew&only=1&mid=104';
$menudb['CMS频道']['管理FLASH']['link']='myarticle.php?job=myarticle&only=1&mid=104';

$menudb['CMS频道']['收藏夹管理']['link']='collection.php?job=myarticle';
$menudb['CMS频道']['专题管理']['link']='special.php?job=listsp';
$menudb['CMS频道']['评论管理']['link']='comment.php?job=list';


//插件菜单
$query = $db->query("SELECT * FROM {$pre}hack ORDER BY list DESC");
while($rs = $db->fetch_array($query)){
	if($rs[keywords]=='sell_telephone')continue;//暂时隐藏电话广告位功能
	if(is_file(ROOT_PATH."hack/$rs[keywords]/member_menu.php")){
		$array = include(ROOT_PATH."hack/$rs[keywords]/member_menu.php");
		$menudb['插件功能']["$array[name]"]['link']=$array['url'];
	}
}

//@include(dirname(__FILE__)."/cms_menu.php");

?>