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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 可以帮助很多新人的问题:怎么在最新发布的帖子前加个图标

[复制链接]
logeto 发表于 2012-8-3 00:16:41 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2.5
浏览器: IE8 
使用模板: 官方模板
BUG地址: http://www.znanv.info
例如这样的效果:我已经把板块搞定了,用的是这种方法:https://discuz.dismall.com/forum.php?mod=viewthread&tid=2830089


具体要怎么修改啊!求各位能详细点解答!




还有就是:论坛上传图片:上传不一样尺寸的图片,怎么样可以在帖子中以同样的尺寸来显示呢?
我设置了略缩图为300*200好像不顶用啊!
求各位帮帮忙,要怎么设置啊,或者用其他方式,:例如一个帖子里面有10张长宽尺寸不一样的图片,进入帖子后,不点击任何图片,帖子里的10张图片就可以幻灯片的形式来显示!求详细点解说!


还有就是论坛内容调用:我用的是DZX2.5灰红色简介模版...
点击右上角的→ DIY高级模式 →选择一个模块→点击编辑→选择属性→选择数据来源→问题在这里:我要调用全部板块的热门回复帖,但是模版数据来源中没有这个...我要怎么添加才可以呢?求详细点解答!

真的非常感谢....求大家帮帮忙!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
briskvoice 发表于 2012-8-3 01:02:23 | 显示全部楼层
在 discuz.htm里面改
回复

使用道具 举报

 楼主| logeto 发表于 2012-8-3 13:27:31 | 显示全部楼层
briskvoice 发表于 2012-8-3 01:02
在 discuz.htm里面改

我的Discuz.htm代码是
  1. <!--{subtemplate common/header}-->


  2. <div id="pt" class="bm cl">
  3.         <!--{if empty($gid) && $announcements}-->
  4.         <div class="y">
  5.                 <div id="an">
  6.                         <dl class="cl">
  7.                                 <dt class="z xw1">{lang announcements}:&nbsp;</dt>
  8.                                 <dd>
  9.                                         <div id="anc"><ul id="ancl">$announcements</ul></div>
  10.                                 </dd>
  11.                         </dl>
  12.                 </div>
  13.                 <script type="text/javascript">announcement();</script>
  14.         </div>
  15.         <!--{/if}-->
  16.         <div class="z">
  17.                 <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>&raquo;</em><a href="forum.php"{if $_G['setting']['forumjump']} id="fjump" onmouseover="delayShow(this, 'showForummenu($_G[fid])');" class="showmenu"{/if}>{$_G[setting][navs][2][navname]}</a>$navigation
  18.         </div>
  19.         <div class="z"><!--{hook/index_status_extra}--></div>
  20. </div>


  21. <!--{if empty($gid)}-->
  22.         <!--{ad/text/wp a_t}-->
  23. <!--{/if}-->

  24.         <style id="diy_style" type="text/css"></style>

  25. <!--{if empty($gid)}-->
  26.         <div class="wp">
  27.                 <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
  28.         </div>
  29. <!--{/if}-->

  30. <div id="ct" class="wp cl{if $_G['setting']['forumallowside']} ct2{/if}">
  31.         <!--{if empty($gid)}-->
  32.                 <div id="chart" class="bm bw0 cl">
  33.                         <p class="chart z">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: <em>$postdata[0]</em><span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span>{lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em><!--{if $_G['cache']['userstats']['newsetuser']}--><span class="pipe">|</span>{lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G['cache']['userstats']['newsetuser'])}" target="_blank" class="xi2">$_G['cache']['userstats']['newsetuser']</a></em><!--{/if}--></p>
  34.                         <div class="y">
  35.                                 <!--{hook/index_nav_extra}-->
  36.                                 <!--{if $_G['uid']}--><a href="forum.php?mod=guide&view=my" title="{lang my_posts}" class="xi2">{lang my_posts}</a><!--{/if}--><!--{if !empty($_G['setting']['search']['forum']['status'])}--><!--{if $_G['uid']}--><span class="pipe">|</span><!--{/if}--><a href="forum.php?mod=guide&view=new" title="{lang show_newthreads}" class="xi2">{lang show_newthreads}</a><!--{/if}-->
  37.                         </div>
  38.                 </div>
  39.         <!--{/if}-->

  40.         <div class="mn">
  41.                 <!--{hook/index_top}-->

  42.                 <!--{if !empty($_G['cache']['heats']['message'])}-->
  43.                         <div class="bm">
  44.                                 <div class="bm_h cl">
  45.                                         <h2>{lang hotthreads_forum}</h2>
  46.                                 </div>
  47.                                 <div class="bm_c cl">
  48.                                         <div class="heat z">
  49.                                                 <!--{loop $_G['cache']['heats']['message'] $data}-->
  50.                                                         <dl class="xld">
  51.                                                                 <dt><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}-->
  52.                                                                 <a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></dt>
  53.                                                                 <dd>$data[message]</dd>
  54.                                                         </dl>
  55.                                                 <!--{/loop}-->
  56.                                         </div>
  57.                                         <ul class="xl xl1 heatl">
  58.                                         <!--{loop $_G['cache']['heats']['subject'] $data}-->
  59.                                                 <li><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}-->&middot; <a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></li>
  60.                                         <!--{/loop}-->
  61.                                         </ul>
  62.                                 </div>
  63.                         </div>
  64.                 <!--{/if}-->

  65.                 <!--{hook/index_catlist_top}-->
  66.                 <div class="fl bm">
  67.                 <!--{if empty($gid) && !empty($forum_favlist)}-->
  68.                         <!--{eval $forumscount = count($forum_favlist);}-->
  69.                         <!--{eval $forumcolumns = $forumscount > 3 ? ($forumscount == 4 ? 4 : 5) : 1;}-->

  70.                         <!--{eval $forumcolwidth = (floor(100 / $forumcolumns) - 0.1).'%';}-->

  71.                         <div class="bm bmw {if $forumcolumns} flg{/if} cl">
  72.                                 <div class="bm_h cl">
  73.                                         <span class="o">
  74.                                                 <img id="category_0_img" src="{IMGDIR}/$collapse['collapseimg_0']" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_0');" />
  75.                                         </span>
  76.                                         <h2><a href="home.php?mod=space&do=favorite&type=forum">{lang forum_myfav}</a></h2>
  77.                                 </div>
  78.                                 <div id="category_0" class="bm_c" style="{echo $collapse['category_0']}">
  79.                                         <table cellspacing="0" cellpadding="0" class="fl_tb">
  80.                                                 <tr>
  81.                                                 <!--{eval $favorderid = 0;}-->
  82.                                                 <!--{loop $forum_favlist $key $favorite}-->
  83.                                                 <!--{if $favforumlist[$favorite[id]]}-->
  84.                                                 <!--{eval $forum=$favforumlist[$favorite[id]];}-->
  85.                                                 <!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
  86.                                                         <!--{if $forumcolumns>1}-->
  87.                                                                 <!--{if $favorderid && ($favorderid % $forumcolumns == 0)}-->
  88.                                                                         </tr>
  89.                                                                         <!--{if $favorderid < $forumscount}-->
  90.                                                                                 <tr class="fl_row">
  91.                                                                         <!--{/if}-->
  92.                                                                 <!--{/if}-->
  93.                                                                 <td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
  94.                                                                         <div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
  95.                                                                         <!--{if $forum[icon]}-->
  96.                                                                                 $forum[icon]
  97.                                                                         <!--{else}-->
  98.                                                                                 <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
  99.                                                                         <!--{/if}-->
  100.                                                                         </div>
  101.                                                                         <dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
  102.                                                                                 <dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
  103.                                                                                
  104.                                                                                 <!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em>, <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em></dd><!--{/if}-->
  105.                                                                                 <dd>
  106.                                                                                 <!--{if $forum['permission'] == 1}-->
  107.                                                                                         {lang private_forum}
  108.                                                                                 <!--{else}-->
  109.                                                                                         <!--{if $forum['redirect']}-->
  110.                                                                                                 <a href="$forumurl" class="xi2">{lang url_link}</a>
  111.                                                                                         <!--{elseif is_array($forum['lastpost'])}-->
  112.                                                                                                 <!--{if $forumcolumns < 3}-->
  113.                                                                                                         <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  114.                                                                                                 <!--{else}-->
  115.                                                                                                         <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
  116.                                                                                                 <!--{/if}-->
  117.                                                                                         <!--{else}-->
  118.                                                                                                 {lang never}
  119.                                                                                         <!--{/if}-->
  120.                                                                                 <!--{/if}-->
  121.                                                                                 </dd>
  122.                                                                                 <!--{hook/index_favforum_extra $forum[fid]}-->
  123.                                                                         </dl>
  124.                                                                 </td>
  125.                                                                 <!--{eval $favorderid++;}-->
  126.                                                         <!--{else}-->
  127.                                                                 <td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
  128.                                                                         <!--{if $forum[icon]}-->
  129.                                                                                 $forum[icon]
  130.                                                                         <!--{else}-->
  131.                                                                                 <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
  132.                                                                         <!--{/if}-->
  133.                                                                 </td>
  134.                                                                 <td>
  135.                                                                         <h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
  136.                                                                         <!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
  137.                                                                         <!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
  138.                                                                         <!--{if $forum['moderators']}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
  139.                                                                         <!--{hook/index_favforum_extra $forum[fid]}-->
  140.                                                                 </td>
  141.                                                                 <td class="fl_i">
  142.                                                                         <!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
  143.                                                                 </td>
  144.                                                                 <td class="fl_by">
  145.                                                                         <div>
  146.                                                                         <!--{if $forum['permission'] == 1}-->
  147.                                                                                 {lang private_forum}
  148.                                                                         <!--{else}-->
  149.                                                                                 <!--{if $forum['redirect']}-->
  150.                                                                                         <a href="$forumurl" class="xi2">{lang url_link}</a>
  151.                                                                                 <!--{elseif is_array($forum['lastpost'])}-->
  152.                                                                                         <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  153.                                                                                 <!--{else}-->
  154.                                                                                         {lang never}
  155.                                                                                 <!--{/if}-->
  156.                                                                         <!--{/if}-->
  157.                                                                         </div>
  158.                                                                 </td>
  159.                                                         </tr>
  160.                                                         <tr class="fl_row">

  161.                                                         <!--{/if}-->
  162.                                                 <!--{/if}-->
  163.                                                 <!--{/loop}-->
  164.                                                 <!--{if ($columnspad = $favorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width="$forumcolwidth"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
  165.                                                 </tr>
  166.                                         </table>

  167.                                 </div>
  168.                         </div>
  169.                         <!--{ad/intercat/bm a_c/-1}-->
  170.                 <!--{/if}-->
  171.                 <!--{loop $catlist $key $cat}-->
  172.                         <!--{hook/index_catlist $cat[fid]}-->
  173.                         <div class="bm bmw {if $cat['forumcolumns']} flg{/if} cl">
  174.                                 <div class="bm_h cl">
  175.                                         <span class="o">
  176.                                                 <img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_$cat[fid]');" />
  177.                                         </span>
  178.                                         <!--{if $cat['moderators']}--><span class="y">{lang forum_category_modedby}: $cat[moderators]</span><!--{/if}-->
  179.                                         <!--{eval $caturl = !empty($cat['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$cat['domain'].'.'.$_G['setting']['domain']['root']['forum'] : '';}-->
  180.                                         <h2><a href="{if !empty($caturl)}$caturl{else}forum.php?gid=$cat[fid]{/if}" style="{if $cat[extra][namecolor]}color: {$cat[extra][namecolor]};{/if}">$cat[name]</a></h2>
  181.                                 </div>
  182.                                 <div id="category_$cat[fid]" class="bm_c" style="{echo $collapse['category_'.$cat[fid]]}">
  183.                                         <table cellspacing="0" cellpadding="0" class="fl_tb">
  184.                                                 <tr>
  185.                                                 <!--{loop $cat[forums] $forumid}-->
  186.                                                 <!--{eval $forum=$forumlist[$forumid];}-->
  187.                                                 <!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
  188.                                                 <!--{if $cat['forumcolumns']}-->
  189.                                                         <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
  190.                                                                 </tr>
  191.                                                                 <!--{if $forum['orderid'] < $cat['forumscount']}-->
  192.                                                                         <tr class="fl_row">
  193.                                                                 <!--{/if}-->
  194.                                                         <!--{/if}-->
  195.                                                         <td class="fl_g" width="$cat[forumcolwidth]">
  196.                                                                 <div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
  197.                                                                 <!--{if $forum[icon]}-->
  198.                                                                         $forum[icon]
  199.                                                                 <!--{else}-->
  200.                                                                         <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
  201.                                                                 <!--{/if}-->
  202.                                                                 </div>
  203.                                                                 <dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
  204.                                                                         <dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
  205.                                                                         <!--{if $forum[description]}--><dd>$forum[description]</dd><!--{/if}-->
  206.                                                                        
  207.                                                                         <dd>
  208.                                                                         <!--{if $forum['permission'] == 1}-->
  209.                                                                                 {lang private_forum}
  210.                                                                         <!--{else}-->
  211.                                                                                 <!--{if $forum['redirect']}-->
  212.                                                                                         <a href="$forumurl" class="xi2">{lang url_link}</a>
  213.                                                                                 <!--{elseif is_array($forum['lastpost'])}-->
  214.                                                                                         <!--{if $cat['forumcolumns'] < 3}-->
  215.                                                                                                 <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  216.                                                                                         <!--{else}-->
  217.                                                                                                 <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 25)}--></a>

  218.                                                                                         <!--{/if}-->
  219.                                                                                 <!--{else}-->
  220.                                                                                         {lang never}
  221.                                                                                 <!--{/if}-->
  222.                                                                         <!--{/if}-->
  223.                                                                         </dd>
  224.                                                                         <!--{hook/index_forum_extra $forum[fid]}-->
  225.                                                                 </dl>
  226.                                                         </td>
  227.                                                 <!--{else}-->
  228.                                                         <td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
  229.                                                                 <!--{if $forum[icon]}-->
  230.                                                                         $forum[icon]
  231.                                                                 <!--{else}-->
  232.                                                                         <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
  233.                                                                 <!--{/if}-->
  234.                                                         </td>
  235.                                                         <td>
  236.                                                                 <h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
  237.                                                                 <!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
  238.                                                                 <!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
  239.                                                                 <!--{if $forum['moderators']}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
  240.                                                                 <!--{hook/index_forum_extra $forum[fid]}-->
  241.                                                         </td>
  242.                                                         <td class="fl_i">
  243.                                                                 <!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
  244.                                                         </td>
  245.                                                         <td class="fl_by">
  246.                                                                 <div>
  247.                                                                 <!--{if $forum['permission'] == 1}-->
  248.                                                                         {lang private_forum}
  249.                                                                 <!--{else}-->
  250.                                                                         <!--{if $forum['redirect']}-->
  251.                                                                                 <a href="$forumurl" class="xi2">{lang url_link}</a>
  252.                                                                         <!--{elseif is_array($forum['lastpost'])}-->
  253.                                                                                 <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  254.                                                                         <!--{else}-->
  255.                                                                                 {lang never}
  256.                                                                         <!--{/if}-->
  257.                                                                 <!--{/if}-->
  258.                                                                 </div>
  259.                                                         </td>
  260.                                                 </tr>
  261.                                                 <tr class="fl_row">
  262.                                                 <!--{/if}-->
  263.                                                 <!--{/loop}-->
  264.                                                 $cat['endrows']
  265.                                                 </tr>
  266.                                         </table>
  267.                                 </div>
  268.                         </div>
  269.                         <!--{ad/intercat/bm a_c/$cat[fid]}-->
  270.                 <!--{/loop}-->
  271.                 </div>

  272.                 <!--{hook/index_middle}-->
  273.                 <div class="wp mtn">
  274.                         <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
  275.                 </div>

  276.                 <!--{if empty($gid) && $_G['setting']['whosonlinestatus']}-->
  277.                         <div id="online" class="bm oll">
  278.                                 <div class="bm_h">
  279.                                 <!--{if $detailstatus}-->
  280.                                         <span class="o"><a href="forum.php?showoldetails=no#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_no.gif" alt="{lang spread}" /></a></span>
  281.                                         <h3>
  282.                                                 <strong><a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a></strong>
  283.                                                 <span class="xs1">- <strong>$onlinenum</strong> {lang onlines}
  284.                                                 - <strong>$membercount</strong> {lang index_members}(<strong>$invisiblecount</strong> {lang index_invisibles}),
  285.                                                 <strong>$guestcount</strong> {lang index_guests}
  286.                                                 - {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
  287.                                         </h3>
  288.                                 <!--{else}-->
  289.                                         <!--{if empty($_G['setting']['sessionclose'])}-->
  290.                                                 <span class="o"><a href="forum.php?showoldetails=yes#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_yes.gif" alt="{lang spread}" /></a></span>
  291.                                         <!--{/if}-->
  292.                                         <h3>
  293.                                                 <strong>
  294.                                                         <!--{if !empty($_G['setting']['whosonlinestatus'])}-->
  295.                                                                 {lang onlinemember}
  296.                                                         <!--{else}-->
  297.                                                                 <a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a>
  298.                                                         <!--{/if}-->
  299.                                                 </strong>
  300.                                                 <span class="xs1">- {lang total} <strong>$onlinenum</strong> {lang onlines}
  301.                                                 <!--{if $membercount}-->- <strong>$membercount</strong> {lang index_members},<strong>$guestcount</strong> {lang index_guests}<!--{/if}-->
  302.                                                 - {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
  303.                                         </h3>
  304.                                 <!--{/if}-->
  305.                                 </div>
  306.                         <!--{if $_G['setting']['whosonlinestatus'] && $detailstatus}-->
  307.                                 <dl id="onlinelist" class="bm_c">
  308.                                         <dt class="ptm pbm bbda">$_G[cache][onlinelist][legend]</dt>
  309.                                         <!--{if $detailstatus}-->
  310.                                                 <dd class="ptm pbm">
  311.                                                 <ul class="cl">
  312.                                                 <!--{if $whosonline}-->
  313.                                                         <!--{loop $whosonline $key $online}-->
  314.                                                                 <li title="{lang time}: $online[lastactivity]">
  315.                                                                 <img src="{STATICURL}image/common/$online[icon]" alt="icon" />
  316.                                                                 <!--{if $online['uid']}-->
  317.                                                                         <a href="home.php?mod=space&uid=$online[uid]">$online[username]</a>
  318.                                                                 <!--{else}-->
  319.                                                                         $online[username]
  320.                                                                 <!--{/if}-->
  321.                                                                 </li>
  322.                                                         <!--{/loop}-->
  323.                                                 <!--{else}-->
  324.                                                         <li style="width: auto">{lang online_only_guests}</li>
  325.                                                 <!--{/if}-->
  326.                                                 </ul>
  327.                                         </dd>
  328.                                         <!--{/if}-->
  329.                                 </dl>
  330.                         <!--{/if}-->
  331.                         </div>
  332.                 <!--{/if}-->

  333.                 <!--{if empty($gid) && ($_G['cache']['forumlinks'][0] || $_G['cache']['forumlinks'][1] || $_G['cache']['forumlinks'][2])}-->
  334.                 <div class="bm lk">
  335.                         <div id="category_lk" class="bm_c ptm">
  336.                                 <!--{if $_G['cache']['forumlinks'][0]}-->
  337.                                         <ul class="m mbn cl">$_G['cache']['forumlinks'][0]</ul>
  338.                                 <!--{/if}-->
  339.                                 <!--{if $_G['cache']['forumlinks'][1]}-->
  340.                                         <div class="mbn cl">
  341.                                                 $_G['cache']['forumlinks'][1]
  342.                                         </div>
  343.                                 <!--{/if}-->
  344.                                 <!--{if $_G['cache']['forumlinks'][2]}-->
  345.                                         <ul class="x mbm cl">
  346.                                                 $_G['cache']['forumlinks'][2]
  347.                                         </ul>
  348.                                 <!--{/if}-->
  349.                         </div>
  350.                 </div>
  351.                 <!--{/if}-->

  352.                 <!--{hook/index_bottom}-->
  353.         </div>

  354.         <!--{if $_G['setting']['forumallowside']}-->
  355.                 <div id="sd" class="sd">
  356.                         <!--{hook/index_side_top}-->
  357.                         <div class="drag">
  358.                                 <!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
  359.                         </div>
  360.                         <!--{hook/index_side_bottom}-->
  361.                 </div>
  362.         <!--{/if}-->
  363. </div>
  364. <!--{if $_G['group']['radminid'] == 1}-->
  365.         <!--{eval helper_manyou::checkupdate();}-->
  366. <!--{/if}-->
  367. <!--{subtemplate common/footer}-->
复制代码
要怎么修改啊!我把一个名为news_pot.gif的图标

现在所在位置为/web/template/comiis_x25jymf/css/comiis/news_pot.gif

要用哪一段代码调用啊?调用到Discuz.htm代码中的哪一段?具体什么位置啊?

求教求教....多谢
回复

使用道具 举报

briskvoice 发表于 2012-8-3 13:28:42 | 显示全部楼层
本帖最后由 briskvoice 于 2012-8-3 21:41 编辑

我看下啊
回复

使用道具 举报

 楼主| logeto 发表于 2012-8-3 18:37:21 | 显示全部楼层
briskvoice 发表于 2012-8-3 13:28

还是有点不会!
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-3-11 04:24 , Processed in 0.032323 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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