LZ别只会自己顶自己了,
做下修正吧!
楼主提供的admin/tpl/header.htm会出错!!- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=$_SC[charset]" />
- <title>UCenter Home Control Panel</title>
- <link id="mastercss" rel="stylesheet" href="admin/tpl/style.css" type="text/css" media="screen" />
- <script language="javascript" type="text/javascript" src="source/script_common.js"></script>
- </head>
- <body>
- <div id="wrap">
- <div id="header">
- <h2><a href="index.php" title="$_SCONFIG[sitename]"><img src="admin/tpl/image/logo.gif" alt="$_SCONFIG[sitename]" /></a></h2>
-
- <div id="topmenu" class="gray">
- 欢迎您,<a href="space.php?uid=$_SGLOBAL[supe_uid]">$_SGLOBAL[username]</a> |
- <a href="space.php">我的空间</a> |
- <a href="cp.php?ac=common&op=logout">退出</a>
- </div>
- <!--{eval
- $_TPL['menunames'] = array(
- 'config' => '站点设置',
- 'privacy' => '隐私设置',
- 'usergroup' => '用户组',
- 'credit' => '积分规则',
- 'profilefield' => '用户栏目',
- 'profield' => '群组栏目',
- 'task' => '有奖活动',
- 'censor' => '词语屏蔽',
- 'ad' => '广告设置',
- 'userapp' => '多应用设置',
- 'app' => 'UC产品设置',
- 'network' => '随便看看设置',
- 'cache' => '缓存更新',
- 'space' => '用户',
- 'name' => '实名认证',
- 'feed' => '事件',
- 'share' => '分享',
- 'blog' => '日志',
- 'album' => '相册',
- 'pic' => '图片',
- 'comment' => '评论',
- 'thread' => '话题',
- 'post' => '回帖',
- 'doing' => '唠叨',
- 'tag' => '标签',
- 'mtag' => '群组',
- 'block' => '数据调用',
- 'template' => '模板编辑',
- 'backup' => '数据备份',
- 'stat' => '统计更新',
- 'mdate' => '活动',
- 'datepic' => '活动图片',
- 'slavetask' => '奴隶任务设置',
- 'slaveluck' => '奴隶运气设置',
- 'cron' => '系统计划任务'
- );
- }-->
- <ul id="menu">
- <li$menuactive[index]><a href="admincp.php">管理平台</a></li>
- <!--{loop $cmenus $value}-->
- <li$menuactive[$value]><a href="admincp.php?ac=$value">{$_TPL[menunames][$value]}</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <div id="content">
复制代码 必须改成下面的样子,- <!--{eval
- $_TPL['menunames'] = array(
- 'config' => '站点设置',
- 'privacy' => '隐私设置',
- 'usergroup' => '用户组',
- 'credit' => '积分规则',
- 'profilefield' => '用户栏目',
- 'profield' => '群组栏目',
- 'task' => '有奖活动',
- 'censor' => '词语屏蔽',
- 'ad' => '广告设置',
- 'userapp' => '多应用设置',
- 'app' => 'UC产品设置',
- 'network' => '随便看看设置',
- 'cache' => '缓存更新',
- 'space' => '用户',
- 'name' => '实名认证',
- 'feed' => '事件',
- 'share' => '分享',
- 'blog' => '日志',
- 'album' => '相册',
- 'pic' => '图片',
- 'comment' => '评论',
- 'thread' => '话题',
- 'post' => '回帖',
- 'doing' => '唠叨',
- 'tag' => '标签',
- 'mtag' => '群组',
- 'block' => '数据调用',
- 'template' => '模板编辑',
- 'backup' => '数据备份',
- 'stat' => '统计更新',
- 'mdate' => '活动',
- 'datepic' => '活动图片',
- 'slavetask' => '奴隶任务设置',
- 'slaveluck' => '奴隶运气设置',
- 'cron' => '系统计划任务'
- );
- }-->
- <!--{eval $_TPL['nosidebar']=1;}-->
- <!--{template header}-->
- <style type="text/css">
- @import url(admin/tpl/style.css);
- </style>
- <div id="cp_content">
复制代码 如果没装奴隶,可以将下面的删除:
'slavetask' => '奴隶任务设置',
'slaveluck' => '奴隶运气设置', |