<?php
!function_exists('readover') && exit('Forbidden');

$nav_head = array(
	'initiator'		=> '創始人',
	'config'		=> '核 心',
	'forums'		=> '版 塊',
	'member'		=> '用 戶',
	'read'			=> '帖 子',
	'wholemanager'	=> '管 理',
	'hackstyle'		=> '風格插件',
	'others'		=> '輔 助',
	'system'		=> '工 具',
	'extend'		=> '擴 展',
	'mode'			=> '模 式',
);
$nav_manager = array(
	'name'			=> '創始人選項',
	'option'		=> array(
		'rightset'		=> array('後台權限管理',"$admin_file?adminjob=rightset"),
		'manager'		=> array('創始人管理',"$admin_file?adminjob=manager"),
		'code'			=> array('PHPWind.APP',"$admin_file?adminjob=code"),
		'ystats'		=> array('雅虎統計',"$admin_file?adminjob=ystats&action=config"),
		'diyoption'		=> array('常用選項定制',"$admin_file?adminjob=diyoption"),
		'optimize'		=> array('優化方案',"$admin_file?adminjob=optimize"),
	),
);

$nav_left = array(
	'config' => array(
		'settings' => array(
			'name' => '核心設置',
			'option' => array(
				'settings'	=> array(
					'basic'		=> array('常規設置',"$admin_file?adminjob=settings&admintype=basic"),
					'safe'		=> array('安全與優化',"$admin_file?adminjob=settings&admintype=safe"),
					'att'		=> array('附件與FTP',"$admin_file?adminjob=settings&admintype=att"),
					'credit'	=> array('積分設置',"$admin_file?adminjob=settings&admintype=credit"),
					'reg'		=> array('用戶注冊',"$admin_file?adminjob=settings&admintype=reg"),
					'member'	=> array('會員相關',"$admin_file?adminjob=settings&admintype=member"),
					'pcache'	=> array('頁面緩存',"$admin_file?adminjob=settings&admintype=pcache"),
					'index'		=> array('首頁細節',"$admin_file?adminjob=settings&admintype=index"),
					'thread'	=> array('主題列表細節',"$admin_file?adminjob=settings&admintype=thread"),
					'read'		=> array('帖子閱讀細節',"$admin_file?adminjob=settings&admintype=read"),
					'other'		=> array('其他設置',"$admin_file?adminjob=settings&admintype=other"),
				),
			),
		),
	),
	'forums' => array(
		'forummaneger'=>array(
			'name'	=> '版塊管理',
			'option'=> array(
				'setforum'		=> array('版塊管理',"$admin_file?adminjob=setforum"),
				'uniteforum'	=> array('版塊合並',"$admin_file?adminjob=uniteforum"),
				'creathtm'		=> array('生成htm',"$admin_file?adminjob=creathtm"),
				'forumsell'		=> array('版塊出售記錄',"$admin_file?adminjob=forumsell"),
				'singleright'	=> array('版塊用戶權限',"$admin_file?adminjob=singleright"),
			),
		),
	),
	'read' => array(
		'artmanager' => array(
			'name'	=> '帖子管理',
			'option'=> array(
				'tpccheck'		=> array('審核主題',"$admin_file?adminjob=tpccheck"),
				'postcheck'		=> array('審核回復',"$admin_file?adminjob=postcheck"),
				'tagset'		=> array('標簽管理',"$admin_file?adminjob=tagset"),
				'report'		=> array('報告管理',"$admin_file?adminjob=report"),
				'pwcode'		=> array('自定義代碼',"$admin_file?adminjob=pwcode"),
				'setbwd'		=> array('詞語過濾',"$admin_file?adminjob=setbwd"),
				'setform'		=> array('預設帖子格式',"$admin_file?adminjob=setform"),
				'urlcheck'		=> array('外鏈提醒白名單',"$admin_file?adminjob=urlcheck"),
			),
		),
		'attmanager'=>array(
			'name'	=> '附件管理',
			'option'=> array(
				'attachment'	=> array('附件管理',"$admin_file?adminjob=attachment"),
				'attachstats'	=> array('附件統計',"$admin_file?adminjob=attachstats"),
				'attachrenew'	=> array('附件修復',"$admin_file?adminjob=attachrenew"),
			),
		),
	),
	'member' => array(
		'members'	=> array(
			'name'	=> '會員管理',
			'option'=>array(
				'setuser'		=> array('會員管理',"$admin_file?adminjob=setuser"),
				'unituser'		=> array('合並會員',"$admin_file?adminjob=unituser"),
				'usercheck'		=> array(
					'checkreg'		=> array('注冊審核',"$admin_file?adminjob=usercheck&admintype=checkreg"),
					'checkemail'	=> array('郵件審核',"$admin_file?adminjob=usercheck&admintype=checkemail"),
				),
				'banuser'		=> array('會員禁言',"$admin_file?adminjob=banuser"),
				'viewban'		=> array('查看禁言會員',"$admin_file?adminjob=viewban"),
				'customcredit'	=> array('自定義積分',"$admin_file?adminjob=customcredit"),
			),
		),
		'groups'	=> array(
			'name'	=> '用戶組管理',
			'option'=> array(
				'level'			=> array('用戶組權限',"$admin_file?adminjob=level"),
				'userstats'		=> array('成員統計',"$admin_file?adminjob=userstats"),
				'upgrade'		=> array('會員組提升方案',"$admin_file?adminjob=upgrade"),
				'editgroup'		=> array('批量添加',"$admin_file?adminjob=editgroup"),
				'uptime'		=> array('有效期設置',"$admin_file?adminjob=uptime"),
			),
		),
	),
	'wholemanager' => array(
		'wholemanager'=> array(
			'name'		=> '統籌管理',
			'option'	=> array(
				'sethtm'		=> array('靜態目錄部署',"$admin_file?adminjob=sethtm"),
				'datastate'		=> array('數據統計',"$admin_file?adminjob=datastate"),
				'sitemap'		=> array('網站地圖',"$admin_file?adminjob=sitemap"),
				'postcache'		=> array('動作表情',"$admin_file?adminjob=postcache"),
				'ipban'			=> array('IP 禁止',"$admin_file?adminjob=ipban"),
				'ipstates'		=> array('IP 統計',"$admin_file?adminjob=ipstates"),
				'ipsearch'		=> array('IP 檢索',"$admin_file?adminjob=ipsearch"),
				'customfield'	=> array('用戶欄目',"$admin_file?adminjob=customfield"),
				'updatecache'	=> array('緩存管理',"$admin_file?adminjob=updatecache"),
				'credit'		=> array('自定義積分',"$admin_file?adminjob=credit"),
				'creditchange'	=> array('積分轉換',"$admin_file?adminjob=creditchange"),
				'rebang'		=> array('熱榜排行',"$admin_file?adminjob=rebang"),
				'pwcache'		=> array('pw緩存庫',"$admin_file?adminjob=pwcache"),
			),
		),
		'log'=>array(
			'name'	=> '管理日志',
			'option'	=> array(
				'record'		=> array(
					'adminlog'	=> array('後台管理日志',"$admin_file?adminjob=record&admintype=adminlog"),
				),
				'forumlog'		=> array('前台管理日志',"$admin_file?adminjob=forumlog"),
				'creditlog'		=> array('積分流通日志',"$admin_file?adminjob=creditlog"),
				'adminrecord'		=> array('後台管理記錄',"$admin_file?adminjob=adminrecord"),
			),
		),
	),
	'hackstyle' => array(
		'hackstyle'=> array(
			'name'	=> '插件風格',
			'option'=> array(
				'hackcenter'	=> array('插件中心',"$admin_file?adminjob=hackcenter"),
				'setstyles'		=> array('風格模版',"$admin_file?adminjob=setstyles"),
			),
		),
	),
	'others' => array(
		'info'	=> array(
			'name'	=> '信息管理',
			'option'=> array(
				'announcement'	=> array('公告管理',"$admin_file?adminjob=announcement"),
				'draftset'		=> array('草稿箱管理',"$admin_file?adminjob=draftset"),
				'sendmail'		=> array('郵件群發',"$admin_file?adminjob=sendmail"),
				'sendmsg'		=> array('消息群發',"$admin_file?adminjob=sendmsg"),
				'present'		=> array('節日送禮',"$admin_file?adminjob=present"),
			),
		),
		'assistant'=> array(
			'name'	=> '輔助管理',
			'option'=> array(
				'setads'		=> array('宣傳設置',"$admin_file?adminjob=setads"),
				'share'			=> array('友情鏈接',"$admin_file?adminjob=share"),
				'viewtody'		=> array('今日到訪會員',"job.php?action=viewtody"),
				'chmod'			=> array('文件屬性檢查',"$admin_file?adminjob=chmod"),
				'safecheck'		=> array('文件安全檢查',"$admin_file?adminjob=safecheck"),
				'help'			=> array('自定義幫助文檔',"$admin_file?adminjob=help"),
			),
		),
	),
	'system' => array(
		'supdel' => array(
			'name'	=> '批量刪除',
			'option'=> array(
				'superdel'		=> array(
					'article'		=> array('刪除帖子',"$admin_file?adminjob=superdel&admintype=article"),
					'member'		=> array('刪除用戶',"$admin_file?adminjob=superdel&admintype=member"),
					'message'		=> array('刪除短消息',"$admin_file?adminjob=superdel&admintype=message"),
				),
				'guestdir'		=> array('緩存文件',"$admin_file?adminjob=guestdir"),
				'recycle'		=> array('回收站',"$admin_file?adminjob=recycle"),
			),
		),
		'task'	=> array(
			'name'	=> '計劃任務',
			'option'=> array(
				'plantodo'		=> array('計劃任務管理',"$admin_file?adminjob=plantodo"),
				'addplan'		=> array('添加新任務',"$admin_file?adminjob=addplan"),
			),
		),
		'database'=>array(
			'name'	=> '數據庫',
			'option'=> array(
				'bakup'		=> array(
					'bakout'		=> array('數據備份',"$admin_file?adminjob=bakup&admintype=bakout"),
					'bakin'			=> array('數據恢復',"$admin_file?adminjob=bakup&admintype=bakin"),
				),
				'repair'		=> array('數據修復',"$admin_file?adminjob=repair"),
				'ptable'		=> array('數據庫分卷',"$admin_file?adminjob=ptable"),
			),
		),
	),
	'extend' => array(
		'onlinepay' => array(
			'name'	=> '網上支付設置',
			'option'=> array(
				'userpay'		=> array('網上支付',"$admin_file?adminjob=userpay"),
				'orderlist'		=> array('訂單管理',"$admin_file?adminjob=orderlist"),
			),
		),
	),
	'mode' => array(
		'modemanage'=> array(
			'name'	=> '模式管理',
			'option'=> array(
				'modeset'		=> array('模式設置',"$admin_file?adminjob=modeset"),
				'modestamp'		=> array('模塊分類設置',"$admin_file?adminjob=modestamp"),
				'modepush'		=> array('推送帖子管理',"$admin_file?adminjob=modepush"),
			),
		),
	),
);

$nav_left['mode']['area'] = array(
	'name'	=> '門戶模式',
	'option'=> array(
		'area_forumtype'	=> array('版塊類型',"$admin_file?adminjob=mode&admintype=area_forumtype"),
		'area_indexforum'	=> array('首頁版塊展示',"$admin_file?adminjob=mode&admintype=area_indexforum"),
	),
);

$nav_left['mode']['o'] = array(
	'name'	=> '圈子模式',
	'option'=> array(
		'o_global'		=> array('圈子核心',"$admin_file?adminjob=mode&admintype=o_global"),
		'o_diary'		=> array('日志',"$admin_file?adminjob=mode&admintype=o_diary"),
		'o_groups'		=> array('群組',"$admin_file?adminjob=mode&admintype=o_groups"),
		'o_photos'		=> array('相冊',"$admin_file?adminjob=mode&admintype=o_photos"),
		//'o_app'			=> array('app應用',"$admin_file?adminjob=mode&admintype=o_app"),
	),
);


if (file_exists('c_global.php')) {
	$nav_left['extend']['cms'] = array(
		'name'	=> '文章系統',
		'option'=> array(
			'c_set'		=> array('參數設置',"$admin_file?adminjob=c_set"),
			'c_forum'	=> array('分類管理',"$admin_file?adminjob=c_forum"),
			'c_atc'		=> array('內容管理',"$admin_file?adminjob=c_atc"),
			'c_unite'	=> array('合並分類',"$admin_file?adminjob=c_unite"),
			'c_htm'		=> array('生成htm',"$admin_file?adminjob=c_htm"),
		),
	);
}
?>