本帖最后由 imoonner 于 2009-4-25 17:32 编辑
在制作主题的时候,
为什么主菜单信息字样旁边偶尔会跑出来这个请问大侠们应该怎么解决
还有个问题,
这个是原模板的header的代码- <div class="menuk">
- <ul class="menu">
- <!--{if $_SGLOBAL[supe_uid]}-->
- <li><a href="space.php?do=home">我的首页</a></li>
- <li><a href="space.php">空间</a></li>
- <li><a href="space.php?do=friend">好友</a></li>
- <li><a href="network.php">看情况</a></li>
- <li><a href="http://playkm.net/kmtv" target="_blank">我挨你说</a></li>
-
-
- <li><a href="space.php?do=pm">消息<!--{if !empty($_SGLOBAL['member']['newpm'])}-->(新)<!--{/if}--></a></li>
- <!--{if !empty($_SGLOBAL['member']['notenum'])}--><li class="notify"><a href="space.php?do=notice">{$_SGLOBAL['member']['notenum']}条新通知</a></li><!--{/if}-->
- <!--{else}-->
- <li><a href="index.php">首页</a></li>
- <li><a href="network.php">看情况</a></li>
- <li><a href="help.php">帮助</a></li>
- <!--{/if}-->
- </ul>
复制代码 这个是我的,- <div id="navbar" class="clearfloat">
- <ul id="page-bar" class="left clearfloat">
- <!--{if $_SGLOBAL[supe_uid]}-->
- <li class="page_item"><a href="space.php?do=home" title="我的首页">HOME</a></li>
- <li class="page_item"><a href="space.php" title="MY space">个人空间</a></li>
- <li class="page_item"><a href="space.php?do=friend" title="any friends?">好友</a></li>
- <li class="page_item"><a href="#" title="社区">HL社区</a></li>
- <li class="page_item"><a href="space.php?do=pm" title="messages">短信<!--{if !empty($_SGLOBAL['member']['newpm'])}-->new<!--{/if}--></a></li>
- <!--{if !empty($_SGLOBAL['member']['notenum'])}--><li class="notify"><a href="space.php?do=notice">{$_SGLOBAL['member']['notenum']}条</a></li><!--{/if}-->
- <li class="page_item"><a href="index.php" title="Concept Art World Home">首页</a></li>
- <li class="page_item"><a href="network.php" title="Concept Artists">随便看看</a></li>
- <li class="page_item"><a href="action.php" title="Concept Art Studios">活动</a></li>
- <li class="page_item"><a href="http://playkm.net/kmtv" title="Concept Art Careers" target="_blank">论坛</a></li>
- <li><a href="http://playkm.net/ss" title="Contact Concept Art World" target="_blank">SS</a></li>
- <!--{else}--><!--{/if}-->
- </ul>
- <div class="clearfloat">
- <!--{if $_SGLOBAL[supe_uid]}-->
- <div class="left clearfloat"><a href="space.php?uid=$_SGLOBAL[supe_uid]"><img src="<!--{avatar($_SGLOBAL[supe_uid],small)}-->" alt="{$_SN[$_SGLOBAL[supe_uid]]}" width="20" height="20" /></a></div>
- <a href="space.php?uid=$_SGLOBAL[supe_uid]" class="loginName">{$_SN[$_SGLOBAL[supe_uid]]}</a>
- <!--{if $_SN[$_SGLOBAL[supe_uid]]!=$_SGLOBAL['username']}--><span style="padding-right:10px;">($_SGLOBAL[supe_username])</span><!--{/if}-->
-
- <!--{if empty($_SCONFIG['closeinvite'])}--><a href="cp.php?ac=invite">邀请</a> | <!--{/if}--><a href="cp.php">设置</a> | <a href="cp.php?ac=privacy">隐私</a> | <a href="cp.php?ac=common&op=logout">退出</a>
- <!--{else}-->
- <div class="left clearfloat"><a href="do.php?ac=$_SCONFIG[register_action]"><img src="<!--{avatar($_SGLOBAL[supe_uid],small)}-->" width="20" height="20" /></a></div>
- <li class="page_item"><span>欢迎您</span>
- <a href="do.php?ac=$_SCONFIG[login_action]">LOG IN</a>
- <a href="do.php?ac=$_SCONFIG[register_action]">SIGN UP</a></li>
- <!--{/if}-->
- </div>
复制代码 我的代码有什么问题么?? 我换成我的以后,未登录情况下,直接不显示菜单, 而且只有在INDEX上不显示 !
请问是什么问题, 跟CSS有关系么!?
谢谢了! |