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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 华西二级导航调用文件修改,请高手指点一下

[复制链接]
哈哈网 发表于 2013-2-2 20:09:47 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2.5
浏览器: 其他(帖子中请注明浏览器) 
使用模板: 其他模板(请在回帖中说明模板的名称或者是模板的下载地址)
BUG地址: http://www.hahaw.cn/
下面是二级导航调用文件:指定的是频道调用哪个文件图片
  1. <a href="forum.php" class="logo"></a>
  2. <!--{if $_GET['catid'] == '3'}-->
  3. <!-- 时尚购物 -->
  4. <link href="$_G['style']['styleimgdir']/channle_nav/forum/fashion/style.css?{VERHASH}"
  5. rel="stylesheet" type="text/css" />
  6. <ul><li><a href="forum-181-1.html"><i>潮男服饰</i></a></li>
  7. <li><a href="forum-178-1.html"><i>潮女服饰</i></a></li>
  8. <li><a href="forum-179-1.html"><i>美妆屋</i></a></li>
  9. <li><a href="forum-180-1.html"><i>达人秀场</i></a></li>
  10. <li><a href="forum-173-1.html"><i>整形美容</i></a></li>
  11. </ul>
  12. <!--{/if}-->
  13. <!--{if $_GET['catid'] == '68'}-->
  14. <!-- 美食江湖 -->
  15. <link href="$_G['style']['styleimgdir']/channle_nav/forum/food/style.css?{VERHASH}"
  16. rel="stylesheet" type="text/css" />
  17. <ul><li><a href="forum-172-1.html"><i>吃货探店</i></a></li>
  18. <li><a href="forum-183-1.html"><i>美食推荐</i></a></li>
  19. <li><a href="forum-184-1.html"><i>魔法厨房</i></a></li>
  20. <li><a href="forum-185-1.html"><i>美食八卦</i></a></li>
  21. </ul>
  22. <!--{/if}-->
  23. <!--{if $_GET['catid'] == '2'}-->
  24. <!-- 谈婚论嫁 -->
  25. <link href="$_G['style']['styleimgdir']/channle_nav/forum/marriage/style.css?{VERHASH}"
  26. rel="stylesheet" type="text/css" />
  27. <ul><li><a href="forum-189-1.html"><i>单身男女</i></a></li>
  28. <li><a href="forum-187-1.html"><i>结婚指南</i></a></li>
  29. <li><a href="forum-188-1.html"><i>情感茶话</i></a></li>
  30. </ul>
  31. <!--{/if}-->
  32. <!--{if $_GET['catid'] == '69'}-->
  33. <!-- 亲子教育 -->
  34. <link href="$_G['style']['styleimgdir']/channle_nav/forum/baby/style.css?{VERHASH}"
  35. rel="stylesheet" type="text/css" />
  36. <ul><li><a href="forum-192-1.html"><i>孕前产后</i></a></li>
  37. <li><a href="forum-193-1.html"><i>育儿话题</i></a></li>
  38. <li><a href="forum-194-1.html"><i>家有学童</i></a></li>
  39. <li><a href="forum-195-1.html"><i>辣妈Q宝秀</i></a></li>
  40. </ul>
  41. <!--{/if}-->
  42. <!--{if $_GET['catid'] == '70'}-->
  43. <!-- 旅游生活 -->
  44. <link href="$_G['style']['styleimgdir']/channle_nav/forum/tourism/style.css?{VERHASH}"
  45. rel="stylesheet" type="text/css" />
  46. <ul><li><a href="forum-196-1.html"><i>出游情报站</i></a></li>
  47. <li><a href="forum-197-1.html"><i>相约同游</i></a></li>
  48. <li><a href="forum-198-1.html"><i>游记分享</i></a></li>
  49. <li><a href="forum-199-1.html"><i>爱游问答</i></a></li>
  50. </ul>
  51. <!--{/if}-->
  52. <!--{if $_GET['catid'] == '201'}-->
  53. <!-- 汽车频道 -->
  54. <link href="$_G['style']['styleimgdir']/channle_nav/forum/car/style.css?{VERHASH}"
  55. rel="stylesheet" type="text/css" />
  56. <ul><li><a href="forum-201-1.html"><i>车友俱乐部</i></a></li>
  57. <li><a href="forum-202-1.html"><i>车市信息</i></a></li>
  58. </ul>
  59. <!--{/if}-->
  60. <!--{if $_GET['catid'] == '72'}-->
  61. <!-- 家居房产 -->
  62. <link href="$_G['style']['styleimgdir']/channle_nav/forum/house/style.css?{VERHASH}"
  63. rel="stylesheet" type="text/css" />
  64. <ul><li><a href="forum-204-1.html"><i>买房互助</i></a></li>
  65. <li><a href="forum-205-1.html"><i>家居装修</i></a></li>
  66. <li><a href="forum-206-1.html"><i>益阳租房</i></a></li>
  67. </ul>
  68. <!--{/if}-->
  69. <!--{if $_GET['catid'] == '170'}-->
  70. <!-- 娱乐八卦 -->
  71. <link href="$_G['style']['styleimgdir']/channle_nav/forum/entertainment/style.css?{VERHASH}"
  72. rel="stylesheet" type="text/css" />
  73. <ul><li><a href="#"><i>明星八卦</i></a></li>
  74. <li><a href="#"><i>影视综艺</i></a></li>
  75. <li><a href="#"><i>自娱自乐</i></a></li>
  76. <li><a href="#"><i>悦读</i></a></li>
  77. </ul>
  78. <!--{/if}-->
  79. <!--{if $_GET['catid'] == '74'}-->
  80. <!-- 图片摄影 -->
  81. <link href="$_G['style']['styleimgdir']/channle_nav/forum/photo/style.css?{VERHASH}"
  82. rel="stylesheet" type="text/css" />
  83. <ul><li><a href="#"><i>摄影作品</i></a></li>
  84. <li><a href="#"><i>摄影活动</i></a></li>
  85. <li><a href="#"><i>华西星女郎</i></a></li>
  86. <li><a href="#"><i>摄影学堂</i></a></li>
  87. <li><a href="#"><i>数码器材</i></a></li>
  88. </ul>
  89. <!--{/if}-->
  90. <!--{if $_GET['catid'] == '75'}-->
  91. <!-- 城市读本 -->
  92. <link href="$_G['style']['styleimgdir']/channle_nav/forum/city/style.css?{VERHASH}"
  93. rel="stylesheet" type="text/css" />
  94. <ul><li><a href="forum.php?mod=forumdisplay&fid=78&filter=typeid&typeid=188"><i>益阳市
  95. </i></a></li>
  96. <li><a href="forum.php?mod=forumdisplay&fid=78&filter=typeid&typeid=190"><i>桃江县
  97. </i></a></li>
  98. <li><a href="forum.php?mod=forumdisplay&fid=78&filter=typeid&typeid=191"><i>安化县
  99. </i></a></li>
  100. <li><a href="forum.php?mod=forumdisplay&fid=78&filter=typeid&typeid=192"><i>南县</i></a></li>
  101. <li><a href="forum.php?mod=forumdisplay&fid=78&filter=typeid&typeid=189"><i>沅江市
  102. </i></a></li>
  103. </ul>
  104. <!--{/if}-->
复制代码
论坛版块调用:
  1. <!--{/if}-->
  2.          
  3. <!--{else}-->         

  4. <!--{if $_G['forum']['fup'] == '129' || $_GET['gid'] == '129'}-->
  5. <!-- 时尚购物 -->
  6. <link href="$_G['style']['styleimgdir']/channle_nav/forum/fashion/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  7. <!--{/if}-->

  8. <!--{if $_G['forum']['fup'] == '83' || $_GET['gid'] == '83'}-->
  9. <!-- 美食江湖 -->
  10. <link href="$_G['style']['styleimgdir']/channle_nav/forum/food/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  11. <!--{/if}-->

  12. <!--{if $_G['forum']['fup'] == '1' || $_GET['gid'] == '1'}-->
  13. <!-- 谈婚论嫁 -->
  14. <link href="$_G['style']['styleimgdir']/channle_nav/forum/marriage/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  15. <!--{/if}-->

  16. <!--{if $_G['forum']['fup'] == '98' || $_GET['gid'] == '98'}-->
  17. <!-- 妈咪宝贝 -->
  18. <link href="$_G['style']['styleimgdir']/channle_nav/forum/baby/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  19. <!--{/if}-->

  20. <!--{if $_G['forum']['fup'] == '89' || $_GET['gid'] == '89'}-->
  21. <!-- 旅游生活 -->
  22. <link href="$_G['style']['styleimgdir']/channle_nav/forum/tourism/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  23. <!--{/if}-->

  24. <!--{if $_G['forum']['fup'] == '134' || $_GET['gid'] == '134'}-->
  25. <!-- 汽车频道 -->
  26. <link href="$_G['style']['styleimgdir']/channle_nav/forum/car/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  27. <!--{/if}-->

  28. <!--{if $_G['forum']['fup'] == '99' || $_GET['gid'] == '99'}-->
  29. <!-- 家居房产 -->
  30. <link href="$_G['style']['styleimgdir']/channle_nav/forum/house/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  31. <!--{/if}-->

  32. <!--{if $_G['forum']['fup'] == '4' || $_GET['gid'] == '4'}-->
  33. <!-- 娱乐八卦 -->
  34. <link href="$_G['style']['styleimgdir']/channle_nav/forum/entertainment/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  35. <!--{/if}-->

  36. <!--{if $_G['forum']['fup'] == '102' || $_GET['gid'] == '102'}-->
  37. <!-- 图片摄影 -->
  38. <link href="$_G['style']['styleimgdir']/channle_nav/forum/photo/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  39. <!--{/if}-->

  40. <!--{if $_G['forum']['fup'] == '6' || $_GET['gid'] == '6'}-->
  41. <!-- 优品好店 -->
  42. <link href="$_G['style']['styleimgdir']/channle_nav/forum/brand/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  43. <!--{/if}-->

  44. <!--{if $_G['forum']['fup'] == '76' || $_GET['gid'] == '76'}-->
  45. <!-- 城市读本 -->
  46. <link href="$_G['style']['styleimgdir']/channle_nav/forum/city/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  47. <!--{/if}-->

  48. <!--{if $_G['forum']['fup'] == '38' || $_GET['gid'] == '38'}-->
  49. <!-- 网友互动 -->
  50. <link href="$_G['style']['styleimgdir']/channle_nav/forum/interaction/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  51. <!--{/if}-->

  52. <!--{if $_G['forum']['fup'] == '9' || $_GET['gid'] == '9'}-->
  53. <!-- 新闻茶馆 -->
  54. <link href="$_G['style']['styleimgdir']/channle_nav/forum/newstea/style.css?{VERHASH}" rel="stylesheet" type="text/css" />
  55. <!--{/if}-->

  56. <!-- 通用版块调用 -->
  57. <a href="forum.php" class="logo"></a>
  58. <ul>
  59. <!--{loop $_G['cache']['forums'] $bforum}-->
  60. <!--{if $bforum['fup'] == $_G['forum']['fup'] && $bforum['status']}-->
  61. <li {if $bforum['fid'] == $_G['fid']} class="active" {/if}><a href="forum.php?mod=forumdisplay&fid=$bforum[fid]"><i>$bforum['name']</i></a></li>
  62. <!--{/if}-->
  63. <!--{/loop}-->
  64. </ul>
  65. <!--{/if}-->
复制代码
我现在想要插件调用别外文件,而不是公用的应该怎么修改????
2009abc 发表于 2013-2-2 22:59:29 | 显示全部楼层
好像可以啊
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-25 13:52 , Processed in 0.021141 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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