Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已答复] 去掉导航条后显示网页上有错误。求高手帮忙卡看。

[复制链接]
chinawulian 发表于 2008-12-19 16:52:39 | 显示全部楼层 |阅读模式
本帖最后由 chinawulian 于 2008-12-19 17:49 编辑
  1. <!--{template header}-->
  2. <!--{eval $ads = getad('system', 'indexad', '1'); }-->
  3. <h2><a href="{S_URL}/"><img src="{S_URL}/images/logo.gif" alt="$_SCONFIG[sitename]"

  4. /></a></h2>
  5. <!--{if !empty($ads['pageheadad']) }-->
  6. <div class="ad_header">$ads[pageheadad]</div>
  7. <!--{/if}-->
  8. </div>
  9. </div>
  10. <div id="pagebody">



  11. <div class="column">
  12. <div id="supehot">
  13. <!--{block name="spacenews"

  14. parameter="haveattach/2/order/i.dateline

  15. DESC/limit/0,4/cachetime/83400/subjectlen/40/subjectdot/1/cachename/hotnewspic"}-->
  16. <div class="box_l" id="index_focus_turn">
  17. <!--{if !empty($_SBLOCK['hotnewspic'])}-->
  18. <div id="index_focus_turn_pic">
  19. <div id="index_focus_turn_picList"

  20. style="left:0; top:0;">
  21. <ul>
  22. <!--{loop $_SBLOCK

  23. ['hotnewspic'] $pkey $pvalue}-->
  24. <li><a href="$pvalue

  25. [url]"><img src="$pvalue['a_filepath']" alt="" /></a></li>
  26. <!--{/loop}-->
  27. </ul>
  28. </div>
  29. <div id="index_focus_turn_opvdiv"></div>
  30. <div id="index_focus_turn_tx">
  31. <ul>
  32. <!--{eval $i = 0}-->
  33. <!--{loop $_SBLOCK['hotnewspic']

  34. $key $value}-->
  35. <!--{eval $current = ($i ==

  36. 0 ? 'current' : 'normal');}-->
  37. <li

  38. class="$current">$value[subject]</li>
  39. <!--{eval $i++}-->
  40. <!--{/loop}-->
  41. </ul>
  42. </div>
  43. </div>
  44. <div id="index_focus_turn_btn">
  45. <ul>
  46. <!--{eval $i = 0}-->
  47. <!--{loop $_SBLOCK['hotnewspic']

  48. $bkey $bvalue}-->
  49. <!--{eval $current = ($i == 0 ?

  50. 'current' : 'normal');}-->
  51. <li class="$current"><img

  52. src="$bvalue[a_thumbpath]" alt="" /></li>
  53. <!--{eval $i++}-->
  54. <!--{/loop}-->
  55. </ul>
  56. </div>
  57. <!--{/if}-->
  58. </div>

  59. <div class="box_r">
  60. <div class="supehot_txbox">
  61. <div class="supehot_txbox_caption">
  62. <ul>
  63. <li class="current"><em>五

  64. 莲新闻</em></li>
  65. </ul>
  66. </div>
  67. <div class="supehot_txbox_content">
  68. <!--{block name="spacenews"

  69. parameter="catid/6/order/i.dateline

  70. DESC/limit/0,9/cachetime/85400/subjectlen/40/subjectdot/1/cachename/hotnews1"}-->
  71. <ul class="current"

  72. id="supehot_list_1">
  73. <!--{loop $_SBLOCK['hotnews1']

  74. $value}-->
  75. <li><span

  76. class="box_r">#date('m.d',$value['dateline'])#</span><a href="$value[url]">$value

  77. [subject]</a></li>
  78. <!--{/loop}-->
  79. </ul>
  80. </div>
  81. </div>
  82. </div>
  83. </div><!--supehot end -->

  84. <div id="supespecial">
  85. <ul>
  86. <!--{block name="poll" parameter="order/dateline

  87. DESC/limit/0,1/cachetime/80000/cachename/poll"}-->
  88. <!--{if empty($_SBLOCK['poll'])}-->
  89. <li>暂时没有调查</li>
  90. <!--{else}-->
  91. <!--{loop $_SBLOCK['poll'] $value}-->
  92. <li>调查:<a href="$value[url]"

  93. target="_blank">$value[subject]</a></li>
  94. <!--{/loop}-->
  95. <!--{/if}-->
  96. <!--{block name="announcement"

  97. parameter="order/displayorder DESC,starttime

  98. DESC/limit/0,1/cachetime/96400/subjectlen/40/subjectdot/1/cachename/announce"}-->
  99. <!--{if empty($_SBLOCK['announce'])}-->
  100. <li>暂时没有公告</li>
  101. <!--{else}-->
  102. <!--{loop $_SBLOCK['announce'] $value}-->
  103. <li>公告:<a href="$value[url]"

  104. target="_blank">$value[subject]</a>
  105. <!--{/loop}-->
  106. <!--{/if}-->
  107. <li class="supesearch">
  108. <form id="searchform"

  109. action="{S_URL}/batch.search.php" method="post">
  110. <label>搜索:</label>
  111. <input type="text" id="searchkey" name="searchkey"

  112. size="23" class="input_tx"/>
  113. <input type="hidden" value="news" name="type">
  114. <input type="submit" value="搜索" id="submit"

  115. class="input_search" name="searchbtn"/>
  116. <input type="hidden" name="subjectsearch"

  117. value="true" />
  118. </form>
  119. </li>
  120. </ul>
  121. </div><!--supespecial end-->

  122. <div id="supenews" class="supe_globalmodule">
  123. <div class="supe_globalmodule_l">
  124. <div class="global_caption"><h3>资 讯</h3><a

  125. href="#action/news#">更多&gt;&gt;</a></div>
  126. <!--{block name="spacenews"

  127. parameter="dateline/2592000/haveattach/2/order/i.viewnum

  128. DESC/limit/0,2/cachetime/86900/subjectlen/26/subjectdot/1/showdetail/1/messagelen/1

  129. 00/messagedot/1/cachename/imagenews"}-->
  130. <!--{if !empty($_SBLOCK['imagenews'])}-->
  131. <div class="supenews_pic">
  132. <!--{loop $_SBLOCK['imagenews'] $value}-->
  133. <dl>
  134. <dt><a href="$value[url]"><img

  135. src="$value[a_thumbpath]" alt="$value[a_subjectall]" /></a></dt>
  136. <dd>
  137. <h5><a href="$value

  138. [url]">$value[subject]</a></h5>
  139. <p>$value[message]</p>
  140. </dd>
  141. </dl>
  142. <!--{/loop}-->
  143. </div>
  144. <!--{block name="spacenews"

  145. parameter="dateline/2592000/order/i.viewnum

  146. DESC/limit/0,14/cachetime/97200/subjectlen/40/subjectdot/1/cachename/hotnews2"}-->
  147. <!--{else}-->
  148. <!--{block name="spacenews"

  149. parameter="dateline/2592000/order/i.viewnum

  150. DESC/limit/0,24/cachetime/97200/subjectlen/40/subjectdot/1/cachename/hotnews2"}-->
  151. <!--{/if}-->
  152. <div class="supenews_tx">
  153. <ul>
  154. <!--{loop $_SBLOCK['hotnews2']

  155. $value}-->
  156. <li><span class="box_r">#date

  157. ('m.d',$value['dateline'])#</span><a href="$value[url]">$value[subject]</a></li>
  158. <!--{/loop}-->
  159. </ul>
  160. </div>
  161. </div>

  162. <!--{block name="model"

  163. parameter="name/yp/order/i.dateline

  164. DESC/limit/0,10/cachetime/3600/subjectlen/40/subjectdot/1/cachename/hotnews2"}-->
  165. <div class="supe_globalmodule_r">
  166. <div class="supe_globalcaption"><h3>最新黄页

  167. </h3></div>
  168. <div class="supebbs_top10 supenews_top10_ext">
  169. <ul>
  170. <!--{loop $_SBLOCK['hotnews2']

  171. $value}-->
  172. <li><a href="$value[url]">$value

  173. [subject]</a></li>
  174. <!--{/loop}-->
  175. </ul>
  176. </div>
  177. </div>
  178. </div><!--supenews end-->

  179. <!--{if !empty($channels['menus']['uchimage'])}-->
  180. <!--{block name="uchphoto"

  181. parameter="updatetime/2592000/order/updatetime

  182. DESC/limit/0,9/cachetime/86585/subjectlen/12/cachename/uchphoto"}-->
  183. <div id="supepic" class="supe_globalmodule">
  184. <div class="supe_globalmodule_l">
  185. <div class="global_caption"><h3>相 册</h3><a

  186. href="#action/uchimage#">更多&gt;&gt;</a></div>
  187. <!--{if !empty($_SBLOCK['uchphoto'])}-->
  188. <!--{eval $uchphoto = array_shift($_SBLOCK

  189. ['uchphoto'])}-->

  190. <div class="top_pic">
  191. <div><a href="$uchphoto[url]"

  192. target="_blank">
  193. <!--{if substr($uchphoto['pic'], -10) ==

  194. '.thumb.jpg'}-->
  195. <img src="<!--{eval echo substr($uchphoto

  196. ['pic'], 0, -10)}-->" alt="" />
  197. <!--{else}-->
  198. <img src="$uchphoto[pic]" alt="" />
  199. <!--{/if}-->
  200. </a></div>
  201. <span><a href="$uchphoto[url]"

  202. target="_blank">$uchphoto[albumname]</a></span></div>
  203. <div class="supe_piclist">
  204. <ul>
  205. <!--{loop $_SBLOCK['uchphoto'] $key

  206. $value}-->
  207. <li><div><a href="$value[url]"

  208. target="_blank"><img src="$value['pic']" alt="" /></a></div><span><a href="$value

  209. [url]" target="_blank">$value[albumname]</a></span></li>
  210. <!--{/loop}-->
  211. </ul>
  212. </div>
  213. <!--{/if}-->
  214. </div>

  215. <!--{block name="model"

  216. parameter="name/fenlei/order/i.dateline

  217. DESC/limit/0,10/cachetime/3600/subjectlen/40/subjectdot/1/cachename/hotnews2"}-->
  218. <div class="supe_globalmodule_r">
  219. <div class="supe_globalcaption"><h3>分类信息

  220. </h3></div>
  221. <div class="supebbs_top10 supenews_top10_ext">
  222. <ul>
  223. <!--{loop $_SBLOCK['hotnews2']

  224. $value}-->
  225. <li><a href="$value[url]">$value

  226. [subject]</a></li>
  227. <!--{/loop}-->
  228. </ul>
  229. </div>
  230. </div>
  231. </div><!--supenews end-->
  232. <!--{/if}-->

  233. <!--{if !empty($ads['pagecenterad'])}-->
  234. <div class="ad_pagebody">$ads[pagecenterad]</div>
  235. <!--{/if}-->

  236. <!--{if !empty($channels['menus']['bbs'])}-->
  237. <div id="supebbs" class="supe_globalmodule">
  238. <div class="supe_globalmodule_l">
  239. <div class="global_caption"><h3>论 坛</h3><a

  240. href="#action/bbs#">更多&gt;&gt;</a></div>
  241. <!--{block name="bbsattachment"

  242. parameter="dateline/2592000/filetype/image/order/t.views

  243. DESC/limit/0,4/subjectlen/20/cachetime/38200/cachename/imagethread"}-->
  244. <!--{if !empty($_SBLOCK['imagethread'])}-->
  245. <div class="supebbs_pic">
  246. <ul>
  247. <!--{eval $i = 1;}-->
  248. <!--{loop $_SBLOCK['imagethread']

  249. $value}-->
  250. <li <!--{if $i == 4}-->

  251. style="margin-right:0;"<!--{/if}-->><a href="$value[url]" target="_blank"><img

  252. src="$value[attachment]" alt="$value[subjectall]" title="$value[subjectall]"

  253. /></a><h5><a href="$value[url]" target="_blank">$value[subject]</a></h5></li>
  254. <!--{eval $i++;}-->
  255. <!--{/loop}-->
  256. </ul>
  257. </div>
  258. <!--{block name="bbsthread"

  259. parameter="order/t.dateline

  260. DESC/subjectlen/40/subjectdot/1/limit/0,12/cachetime/5630/cachename/newthread"}-->
  261. <!--{else}-->
  262. <!--{block name="bbsthread"

  263. parameter="order/t.dateline

  264. DESC/subjectlen/40/subjectdot/1/limit/0,24/cachetime/5630/cachename/newthread"}-->
  265. <!--{/if}-->
  266. <div class="supebbs_tx">
  267. <ul>
  268. <!--{loop $_SBLOCK['newthread']

  269. $value}-->
  270. <li><span class="box_r"><a

  271. href="{S_URL}/space.php?uid=$value[authorid]" target="_blank">$value[author]

  272. </a></span><a href="$value[url]" target="_blank">$value[subject]</a></li>
  273. <!--{/loop}-->
  274. </ul>
  275. </div>
  276. </div>

  277. <!--{block name="bbsmember" parameter="order/m.posts

  278. DESC/limit/0,10/cachetime/86400/cachename/hotmembers/tpl/data"}-->
  279. <div class="supe_globalmodule_r">
  280. <div class="supe_globalcaption"><h3>发贴排行

  281. </h3></div>
  282. <div class="supebbs_top10 supenews_top10_ext">
  283. <ul>
  284. <!--{loop $_SBLOCK['hotmembers'] $value}-->
  285. <li><span class="num">$value

  286. [posts]</span><a href="$value[url]" target="_blank">$value[username]</a></li>
  287. <!--{/loop}-->
  288. </ul>
  289. </div>
  290. </div>
  291. </div><!--supebbs end-->
  292. <!--{/if}-->

  293. <!--{if !empty($channels['menus']['uchblog'])}-->
  294. <!--{block name="uchblog" parameter="picflag/2/order/dateline

  295. DESC/limit/0,2/cachetime/900/subjectlen/39/subjectdot/1/showdetail/1/messagelen/80/

  296. messagedot/1/cachename/uchblog"}-->
  297. <div id="supeblog" class="supe_globalmodule">
  298. <div class="supe_globalmodule_l">
  299. <div class="global_caption"><h3>日 志</h3><a

  300. href="#action/uchblog#">更多&gt;&gt;</a></div>
  301. <div class="supeblog_top">
  302. <!--{loop $_SBLOCK['uchblog'] $key $value}

  303. -->
  304. <dl>
  305. <dt><a href="$_SC

  306. [uchurl]/space.php?uid=$value[uid]" target="_blank"><img src="{UC_API}/avatar.php?

  307. uid=$value[uid]&size=small" alt="" /></a></dt>
  308. <dd>
  309. <h5><a href="$value[url]"

  310. target="_blank">$value['subject']</a></h5>
  311. <p>$value[message]</p>
  312. </dd>
  313. </dl>
  314. <!--{/loop}-->
  315. </div><!--supeblog_top end-->
  316. <!--{block name="uchblog" parameter="order/dateline

  317. DESC/subjectlen/40/subjectdot/1/limit/0,14/cachetime/18400/cachename/hotblog"}-->
  318. <div class="supeblog_txlist">
  319. <ul>
  320. <!--{loop $_SBLOCK['hotblog']

  321. $value}-->
  322. <li><span><a href="$_SC

  323. [uchurl]/space.php?uid=$value[uid]" target="_blank">$value[username]</a></span><a

  324. href="$value[url]" target="_blank">$value[subject]</a></li>
  325. <!--{/loop}-->
  326. </ul>
  327. </div><!--supeblog_txlist end-->
  328. </div>
  329. <!--{block name="uchspace" parameter="order/updatetime

  330. DESC/limit/0,12/cachetime/86430/cachename/uchspace"}-->
  331. <div class="supe_globalmodule_r">
  332. <div class="supe_globalcaption"><h3>最近更新

  333. </h3></div>
  334. <ul>
  335. <!--{loop $_SBLOCK['uchspace'] $value}-->
  336. <li><a href="$_SC[uchurl]/space.php?

  337. uid=$value[uid]" target="_blank"><img src="{UC_API}/avatar.php?uid=$value[uid]

  338. &size=small" alt="$value[username]" /></a><span><a href="$_SC[uchurl]/space.php?

  339. uid=$value[uid]" target="_blank">$value[username]</a></span></li>
  340. <!--{/loop}-->
  341. </ul>
  342. </div>
  343. </div><!--supeblog end-->
  344. <!--{/if}-->

  345. <!--{if !empty($ads['pagefootad'])}-->
  346. <div class="ad_pagebody">
  347. $ads[pagefootad]
  348. </div>
  349. <!--{/if}-->

  350. <!--{if !empty($_SCONFIG['showindex'])}-->
  351. <!--{block name="friendlink"

  352. parameter="order/displayorder/limit/0,$_SCONFIG

  353. ['showindex']/cachetime/11600/namelen/32/cachename/friendlink/tpl/data"}-->
  354. <!--{eval $imglink=$txtlink="";}-->
  355. <!--{loop $_SBLOCK['friendlink'] $value}-->
  356. <!--{if $value[logo]}-->
  357. <!--{eval $imglink .="<li><a href="".$value[url].""

  358. target="_blank"><img src="".$value[logo]."" alt="".$value[description].""

  359. /></a></li>";}-->
  360. <!--{else}-->
  361. <!--{eval $txtlink .= "<li><a href="".$value[url].""

  362. title="".$value[description]."" target="_blank">".$value[name]."</a></li>";}-->
  363. <!--{/if}-->
  364. <!--{/loop}-->
  365. <div id="links">
  366. <a class="more" href="#action/site/type/link#">更多

  367. 链接</a>
  368. <h3>友情链接</h3>

  369. <ul class="text">
  370. $txtlink
  371. </ul>
  372. </div>
  373. <!--{/if}-->

  374. <!--column end-->
  375. </div><!--pagebody end-->

  376. <!--{if !empty($ads['pagemovead']) || !empty($ads['pageoutad'])}-->
  377. <!--{if !empty($ads['pagemovead'])}-->
  378. <div id="coupleBannerAdv" style="z-index: 10; position: absolute;

  379. width:100px;left:10px;top:10px;display:none">
  380. <div style="position: absolute; left: 6px; top: 6px;">
  381. $ads[pagemovead]
  382. <br />
  383. <img src="{S_URL}/images/base/advclose.gif"

  384. onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
  385. </div>
  386. <div style="position: absolute; right: 6px; top: 6px;">
  387. $ads[pagemovead]
  388. <br />
  389. <img src="{S_URL}/images/base/advclose.gif"

  390. onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
  391. </div>
  392. </div>
  393. <!--{/if}-->
  394. <!--{if !empty($ads['pageoutad'])}-->
  395. <div id="floatAdv" style="z-index: 10; position: absolute;

  396. width:100px;left:10px;top:10px;display:none">
  397. <div id="floatFloor" style="position: absolute; right: 6px; bottom:-700px">
  398. $ads[pageoutad]
  399. </div>
  400. </div>
  401. <!--{/if}-->
  402. <script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
  403. <script type="text/javascript">
  404. <!--{if !empty($ads['pageoutad'])}-->
  405. var lengthobj = getWindowSize();
  406. lsfloatdiv('floatAdv', 0, 0, 'floatFloor' , -lengthobj.winHeight).floatIt();
  407. <!--{/if}-->
  408. <!--{if !empty($ads['pagemovead'])}-->
  409. lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt();
  410. <!--{/if}-->
  411. </script>
  412. <!--{/if}-->

  413. <!--{if !empty($ads['pageoutindex'])}-->
  414. $ads[pageoutindex]
  415. <!--{/if}-->

  416. <!--{template footer}-->
复制代码
www.wl265.cn
不是很喜欢官方的那个黑色的导航棍,所以给去掉了

不过显示网页上有错误。高人给看看。。是哪里除了问题
谢谢拉
紫琼 发表于 2008-12-19 17:28:28 | 显示全部楼层
不要直接去掉,不喜欢就修改颜色和样式~
回复

使用道具 举报

cn73064 发表于 2008-12-19 17:30:28 | 显示全部楼层
default\images\header_bg.gif 修改这个文件或者在CSS中删除
回复

使用道具 举报

 楼主| chinawulian 发表于 2008-12-19 17:49:01 | 显示全部楼层
解决啦已经。。谢谢啦哈哈。。。
回复

使用道具 举报

toommy 发表于 2009-6-30 22:41:20 | 显示全部楼层
如何去掉的?
回复

使用道具 举报

toommy 发表于 2009-7-2 16:53:15 | 显示全部楼层
哈哈,终于解决了!!!
去掉导航但是不现实js错误!
www.maxyeah.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-1-8 20:13 , Processed in 0.024944 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表