第一,每个站长最想去掉的东西就是阿里巴巴广告!本人看过很多修改方法,总结了一下,这个方法完全有效 打开inc目录下的Dv_ClsMain,然后查找If IsSqlDataBase = 0 Or (IsBuss = 0 And IsSqlDataBase = 1),把0改成1 然后再进入后台进入风">
Linux中国 Linux中国门户站!
设为主页 设为主页
收藏本站 收藏本站
 
当前位置 :首页 ->网络应用 ->搜索引擎优化SEO ->正文

动网论坛7.1 SP1最新经典修改

来源:Linuxdby.com 作者:Webmaster 时间:2007-04-12 点击: [收藏] [投稿]

替换:

<select name="topicximoo"><option value="0">标题醒目</option><option value="1">HTML支持</option><option value="2">红色醒目</option><option value="3">蓝色醒目</option><option value="4">绿色醒目</option><option value=5>紫框醒目</option><option value=6>绿框醒目</option><option value=7>红框醒目</option><option value=8>蓝框醒目</option><option value=9>霓虹醒目</option><option value=10>跳跃醒目</option><option value=11>突出醒目</option><option value=12>彩色醒目</option></select>


Page_Index分页模板,在template.html(1)中找到

<xsl:when test="@topicmode='4'">
<font color="green"><xsl:choose>
  <xsl:when test="string-length(@title) > 30 "><xsl:value-of select="concat(substring(@title,0,20),'....',substring(@title,(string-length(@title)- 10 ),string-length(@title)))" disable-output-escaping="yes"/>[长]</xsl:when>
  <xsl:otherwise><xsl:value-of select="@title" disable-output-escaping="yes"/></xsl:otherwise>
</xsl:choose></font>
</xsl:when>

在下面加入

<xsl:when test="@topicmode='5'">
<span style="border:solid 1px #DD2292;border-left-width:5px;border-left-color:#DD2292;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt"><xsl:choose>
  <xsl:when test="string-length(@title) > 30 "><xsl:value-of select="concat(substring(@title,0,20),'....',substring(@title,(string-length(@title)- 10 ),string-length(@title)))" disable-output-escaping="yes"/>[长]</xsl:when>
  <xsl:otherwise><xsl:value-of select="@title" disable-output-escaping="yes"/></xsl:otherwise>
</xsl:choose></span>
</xsl:when>
<xsl:when test="@topicmode='6'">
  <span style="border:solid 1px #55AA55;border-left-width:5px;border-left-color:#55AA55;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt"><xsl:choose>
  <xsl:when test="string-length(@title) > 30 "><xsl:value-of select="concat(substring(@title,0,20),'....',substring(@title,(string-length(@title)- 10 ),string-length(@title)))" disable-output-escaping="yes"/>[长]</xsl:when>
  <xsl:otherwise><xsl:value-of select="@title" disable-output-escaping="yes"/></xsl:otherwise>
</xsl:choose></span>
</xsl:when>
<xsl:when test="@topicmode='7'">
<span style="border:solid 1px #cc0000;border-left-width:5px;border-left-color:#cc0000;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt"><xsl:choose>
  <xsl:when test="string-length(@title) > 30 "><xsl:value-of select="concat(substring(@title,0,20),'....',substring(@title,(string-length(@title)- 10 ),string-length(@title)))" disable-output-escaping="yes"/>[长]</xsl:when>
  <xsl:otherwise><xsl:value-of select="@title" disable-output-escaping="yes"/></xsl:otherwise>
</xsl:choose></span>
</xsl:when>
<xsl:when test="@topicmode='8'">
<span style="border:solid 1px #0000cc;border-left-width:5px;border-left-color:#0000cc;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt"><xsl:choose>
  <xsl:when test="string-length(@title) > 30 "><xsl:value-of select="concat(substring(@title,0,20),'....',substring(@title,(string-length(@title)- 10 ),string-length(@title)))" disable-output-escaping="yes"/>[长]</xsl:when>

 如果您对本文有任何疑问或者建议,请到讨论区发表您的意见: >> 论坛入口 <<



上一篇:怎么样让百度天天更新你、收录的更多   下一篇:SEO工具,站长必备

文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【我要投稿】 【论坛讨论
更多相关文章
Power by linux-cn.com 粤ICP备05006655号