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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[素材] 要在这段代码中加入一行字作为文章最后固定的一句话应该加在哪

[复制链接]
panking299 发表于 2012-12-26 22:07:57 | 显示全部楼层 |阅读模式
本帖最后由 panking299 于 2012-12-26 22:09 编辑
  1. <div class="blockcode"><blockquote><!--{subtemplate common/header}-->
  2. <!--[name]{lang portalcategory_viewtplname}[/name]-->

  3. <script type="text/javascript" src="{$_G['setting']['jspath']}forum_viewthread.js?{VERHASH}"></script>
  4. <script type="text/javascript">zoomstatus = parseInt($_G['setting']['zoomstatus']), imagemaxwidth = '{$_G['setting']['imagemaxwidth']}', aimgcount = new Array();</script>
  5. <div id="pt" class="bm cl">
  6.         <div class="z">
  7.                 <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&#8250;</em>
  8.                 <a href="$_G[setting][navs][1][filename]">{lang nav_index}</a> <em>&#8250;</em>
  9.                 <!--{loop $cat[ups] $value}-->
  10.                         <a href="{echo getportalcategoryurl($value[catid])}">$value[catname]</a><em>&#8250;</em>
  11.                 <!--{/loop}-->
  12.                 <a href="{echo getportalcategoryurl($cat[catid])}">$cat[catname]</a> <em>&#8250;</em>
  13.                 {lang view_content}
  14.         </div>
  15. </div>

  16. <!--{hook/view_article_top}-->
  17. <!--{ad/text/wp a_t}-->
  18. <style id="diy_style" type="text/css"></style>
  19. <div class="wp">
  20.         <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
  21. </div>
  22. <div id="ct" class="ct2 wp cl">
  23.         <div class="mn">
  24.                 <div class="bm vw">
  25.                         <div class="h hm">
  26.                                 <h1 class="ph">$article[title] <!--{if $article['status'] == 1}-->({lang moderate_need})<!--{elseif $article['status'] == 2}-->({lang ignored})<!--{/if}--></h1>
  27.                                 <p class="xg1">
  28.                                         $article[dateline]<span class="pipe">|</span>
  29.                                         {lang view_publisher}: <a href="home.php?mod=space&uid=$article[uid]">$article[username]</a><span class="pipe">|</span>
  30.                                         {lang view_views}: <!--{if $article[viewnum] > 0}-->$article[viewnum]<!--{else}-->0<!--{/if}--><span class="pipe">|</span>
  31.                                         {lang view_comments}: <!--{if $article[commentnum] > 0}--><a href="$common_url" title="{lang view_all_comments}">$article[commentnum]</a><!--{else}-->0<!--{/if}-->
  32.                                         <!--{if $article[author]}--><span class="pipe">|</span>{lang view_author_original}: $article[author]<!--{/if}-->
  33.                                         <!--{if $article[from]}--><span class="pipe">|</span>{lang from}: <!--{if $article[fromurl]}--><a href="$article[fromurl]" target="_blank">$article[from]</a><!--{else}-->$article[from]<!--{/if}--><!--{/if}-->

  34.                                         <!--{if $_G['group']['allowmanagearticle'] || ($_G['group']['allowpostarticle'] && $article['uid'] == $_G['uid'] && (empty($_G['group']['allowpostarticlemod']) || $_G['group']['allowpostarticlemod'] && $article['status'] == 1)) || $categoryperm[$value['catid']]['allowmanage']}-->
  35.                                                 <span class="pipe">|</span><a href="portal.php?mod=portalcp&ac=article&op=edit&aid=$article[aid]">{lang edit}</a>
  36.                                                 <!--{if $article[status]>0 && ($_G['group']['allowmanagearticle'] || $categoryperm[$value['catid']]['allowmanage'])}-->
  37.                                                         <span class="pipe">|</span><a href="portal.php?mod=portalcp&ac=article&op=verify&aid=$article[aid]" id="article_verify_$article[aid]" onclick="showWindow(this.id, this.href, 'get', 0);">{lang moderate}</a>
  38.                                                 <!--{else}-->
  39.                                                         <span class="pipe">|</span><a href="portal.php?mod=portalcp&ac=article&op=delete&aid=$article[aid]" id="article_delete_$article[aid]" onclick="showWindow(this.id, this.href, 'get', 0);">{lang delete}</a>
  40.                                                 <!--{/if}-->
  41.                                         <!--{/if}-->
  42.                                         <!--{hook/view_article_subtitle}-->
  43.                                 </p>
  44.                         </div>

  45.                         <!--[diy=diysummarytop]--><div id="diysummarytop" class="area"></div><!--[/diy]-->

  46.                         <!--{if $article[summary] && empty($cat[notshowarticlesummay])}--><div class="s"><div><strong>{lang article_description}</strong>: $article[summary]</div><!--{hook/view_article_summary}--></div><!--{/if}-->

  47.                         <!--[diy=diysummarybottom]--><div id="diysummarybottom" class="area"></div><!--[/diy]-->

  48.                         <div class="d">

  49.                                 <!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->

  50.                                 <table cellpadding="0" cellspacing="0" class="vwtb"><tr><td id="article_content">
  51.                                         <!--{ad/article/a_af/1}-->
  52.                                         <!--{if $content[title]}-->
  53.                                         <div class="vm_pagetitle xw1">$content[title]</div>
  54.                                         <!--{/if}-->
  55.                                         $content[content]
  56.                                 </td></tr></table>
  57.                                 <!--{hook/view_article_content}-->
  58.                                 <!--{if $multi}--><div class="ptw pbw cl">$multi</div><!--{/if}-->

  59.                                 <!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]-->

  60.                                 <script type="text/javascript" src="{$_G[setting][jspath]}home.js?{VERHASH}"></script>
  61.                                 <div id="click_div">
  62.                                         <!--{template home/space_click}-->
  63.                                 </div>

  64.                                 <!--{if !empty($contents)}-->
  65.                                 <div id="inner_nav" class="ptn xs1">
  66.                                         <h3>{lang article_inner_navigation}</h3>
  67.                                         <ul class="xl xl2 cl">
  68.                                                 <!--{loop $contents $key $value}-->
  69.                                                 <!--{eval $curpage = $key+1;}-->
  70.                                                 <li>&#8226; <a href="portal.php?mod=view&aid=$aid&page=$curpage"{if $key === $start} class="xi1"{/if}>{lang article_inner_page_pre} {$curpage} {lang article_inner_page} $value[title]</a></li>
  71.                                                 <!--{/loop}-->
  72.                                         </ul>
  73.                                 </div>
  74.                                 <!--{/if}-->

  75.                                 <!--[diy=diycontentclickbottom]--><div id="diycontentclickbottom" class="area"></div><!--[/diy]-->

  76.                         </div>
  77.                         <!--{if !empty($aimgs[$content[pid]])}-->
  78.                                 <script type="text/javascript" reload="1">aimgcount[{$content[pid]}] = [<!--{echo implode(',', $aimgs[$content[pid]]);}-->];attachimgshow($content[pid]);</script>
  79.                         <!--{/if}-->

  80.                         <!--{if !empty($_G['setting']['pluginhooks']['view_share_method'])}-->
  81.                                 <div class="tshare cl">
  82.                                         <strong>{lang viewthread_share_to}:</strong>
  83.                                         <!--{hook/view_share_method}-->
  84.                                 </div>
  85.                         <!--{/if}-->

  86.                         <div class="o cl ptm pbm">
  87.                                 <!--{hook/view_article_op_extra}-->
  88.                                 <a href="home.php?mod=spacecp&ac=favorite&type=article&id=$article[aid]&handlekey=favoritearticlehk_{$article[aid]}" id="a_favorite" onclick="showWindow(this.id, this.href, 'get', 0);" class="oshr ofav">{lang favorite}</a>
  89.                                 <!--{if helper_access::check_module('share')}-->
  90.                                 <a href="home.php?mod=spacecp&ac=share&type=article&id=$article[aid]&handlekey=sharearticlehk_{$article[aid]}" id="a_share" onclick="showWindow(this.id, this.href, 'get', 0);" class="oshr">{lang share}</a>
  91.                                 <!--{/if}-->
  92.                                 <a href="misc.php?mod=invite&action=article&id=$article[aid]" id="a_invite" onclick="showWindow('invite', this.href, 'get', 0);" class="oshr oivt">{lang invite}</a>
  93.                                 <!--{if $_G['group']['allowmanagearticle'] || ($_G['group']['allowpostarticle'] && $article['uid'] == $_G['uid'] && (empty($_G['group']['allowpostarticlemod']) || $_G['group']['allowpostarticlemod'] && $article['status'] == 1)) || $categoryperm[$value['catid']]['allowmanage']}-->
  94.                                         <a href="portal.php?mod=portalcp&ac=article&op=edit&aid=$article[aid]">{lang edit}</a><span class="pipe">|</span>
  95.                                         <a  id="related_article" href="portal.php?mod=portalcp&ac=related&aid=$article[aid]&catid=$article[catid]&update=1" onclick="showWindow(this.id, this.href, 'get', 0);return false;">{lang article_related}</a><span class="pipe">|</span>
  96.                                         <!--{if $article[status]>0 && ($_G['group']['allowmanagearticle'] || $categoryperm[$value['catid']]['allowmanage'])}-->
  97.                                                 <a href="portal.php?mod=portalcp&ac=article&op=verify&aid=$article[aid]" id="article_verify_$article[aid]" onclick="showWindow(this.id, this.href, 'get', 0);">{lang moderate}</a>
  98.                                         <!--{else}-->
  99.                                                 <a href="portal.php?mod=portalcp&ac=article&op=delete&aid=$article[aid]" id="article_delete_$article[aid]" onclick="showWindow(this.id, this.href, 'get', 0);">{lang delete}</a>
  100.                                         <!--{/if}-->
  101.                                         <span class="pipe">|</span>
  102.                                 <!--{/if}-->
  103.                                 <!--{if $article[status]==0 && ($_G['group']['allowdiy']  || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 5) || getstatus($_G['member']['allowadmincp'], 6))}-->
  104.                                 <a href="portal.php?mod=portalcp&ac=portalblock&op=recommend&idtype=aid&id=$article[aid]" onclick="showWindow('recommend', this.href, 'get', 0)">{lang blockdata_recommend}</a><span class="pipe">|</span>
  105.                                 <!--{/if}-->
  106.                         </div>

  107.                 </div>

  108.                 <!--[diy=diycontentrelatetop]--><div id="diycontentrelatetop" class="area"></div><!--[/diy]-->

  109.                 <!--{ad/article/mbm hm/2}--><!--{ad/article/mbm hm/3}-->

  110.                 <!--{if $article['related']}-->
  111.                 <div id="related_article" class="bm">
  112.                         <div class="bm_h cl">
  113.                                 <h3>{lang view_related}</h3>
  114.                         </div>
  115.                         <div class="bm_c">
  116.                                 <ul class="xl xl2 cl" id="raid_div">
  117.                                 <!--{loop $article['related'] $raid $rtitle}-->
  118.                                         <input type="hidden" value="$raid" />
  119.                                         <li>&#8226; <a href="portal.php?mod=view&aid=$raid">$rtitle</a></li>
  120.                                 <!--{/loop}-->
  121.                                 </ul>
  122.                         </div>
  123.                 </div>
  124.                 <!--{/if}-->

  125.                 <!--[diy=diycontentrelate]--><div id="diycontentrelate" class="area"></div><!--[/diy]-->

  126.                 <!--{if $article['allowcomment']==1}-->
  127.                         <!--{eval $data = &$article}-->
  128.                         <!--{subtemplate portal/portal_comment}-->
  129.                 <!--{/if}-->

  130.                 <!--[diy=diycontentcomment]--><div id="diycontentcomment" class="area"></div><!--[/diy]-->


  131.         </div>
  132.         <div class="sd pph">

  133.                 <!--{hook/view_article_side_top}-->

  134.                 <div class="drag">
  135.                         <!--[diy=diyrighttop]--><div id="diyrighttop" class="area"></div><!--[/diy]-->
  136.                 </div>

  137.                 <!--{if $cat[others]}-->
  138.                 <div class="bm">
  139.                         <div class="bm_h cl">
  140.                                 <h2>{lang category_related}</h2>
  141.                         </div>
  142.                         <div class="bm_c">
  143.                                 <ul class="xl xl2 cl">
  144.                                         <!--{loop $cat[others] $value}-->
  145.                                         <li><a href="{echo getportalcategoryurl($value[catid])}">$value[catname]</a></li>
  146.                                         <!--{/loop}-->
  147.                                 </ul>
  148.                         </div>
  149.                 </div>
  150.                 <!--{/if}-->

  151.                 <!--{if $cat[subs]}-->
  152.                 <div class="bm">
  153.                         <div class="bm_h cl">
  154.                                 <h2>{lang sub_category}</h2>
  155.                         </div>
  156.                         <div class="bm_c">
  157.                                 <ul class="xl xl2 cl">
  158.                                 <!--{loop $cat[subs] $value}-->
  159.                                         <li><a href="{echo getportalcategoryurl($value[catid])}">$value[catname]</a></li>
  160.                                 <!--{/loop}-->
  161.                                 </ul>
  162.                         </div>
  163.                 </div>
  164.                 <!--{/if}-->

  165.                 <div class="drag">
  166.                         <!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
  167.                 </div>

  168.                 <!--{hook/view_article_side_bottom}-->

  169.         </div>
  170. </div>

  171. <!--{if $_G['relatedlinks']}-->
  172.         <script type="text/javascript">
  173.                 var relatedlink = [];
  174.                 <!--{loop $_G['relatedlinks'] $key $link}-->
  175.                 relatedlink[$key] = {'sname':'$link[name]', 'surl':'$link[url]'};
  176.                 <!--{/loop}-->
  177.                 relatedlinks('article_content');
  178.         </script>
  179. <!--{/if}-->

  180. <div class="wp mtn">
  181.         <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
  182. </div>
  183. <input type="hidden" id="portalview" value="1">

  184. <!--{subtemplate common/footer}-->
复制代码
如www.discuz.com
marine_xun 发表于 2012-12-26 22:08:55 | 显示全部楼层
http://www.xinyang.la  信阳生活网
回复

使用道具 举报

莫莫莫。 发表于 2012-12-26 22:12:00 | 显示全部楼层
啥东西呀。。还。
回复

使用道具 举报

 楼主| panking299 发表于 2012-12-27 16:56:01 | 显示全部楼层
{:soso_e100:}
回复

使用道具 举报

ywwawchm 发表于 2014-1-19 09:13:26 | 显示全部楼层
www.5zhe8.com武者吧武术网求教
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-29 21:22 , Processed in 0.093902 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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