parent
478ed8ebce
commit
0037134c32
@ -1 +1 @@ |
||||
150 |
||||
158 |
@ -0,0 +1,64 @@ |
||||
<?xml version="1.0" encoding="Windows-1251"?> |
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> |
||||
|
||||
<xsl:template match="thread"> |
||||
<tr> |
||||
<td align="left" class="lighttable"> |
||||
<xsl:attribute name="title"><xsl:value-of select="body"/></xsl:attribute> |
||||
<img alt="*" hspace="5" style="vertical-align: text-bottom"> |
||||
<xsl:choose> |
||||
<xsl:when test="hasNewPosts='true'"> |
||||
<xsl:attribute name="src">/static/images/book-notread.gif</xsl:attribute> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:attribute name="src">/static/images/book-read.gif</xsl:attribute> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</img> |
||||
<a> |
||||
<xsl:attribute name="href">/Thread/<xsl:value-of select="id"/>/</xsl:attribute> |
||||
<xsl:if test="isAnnouncement='true'"> |
||||
<img src="/static/images/sticky.gif" class="separate" width="16" height="16" alt="" border="0" style="vertical-align: text-bottom;" /> |
||||
</xsl:if> |
||||
<xsl:value-of select="title"/> |
||||
</a> |
||||
<span class="small" style="margin-left:1.5em"> |
||||
<a class="separate"> |
||||
<xsl:attribute name="href">/Thread/<xsl:value-of select="id"/>/0/</xsl:attribute> |
||||
<span>0</span> |
||||
</a> |
||||
<a class="separate"> |
||||
<xsl:attribute name="href">/Thread/<xsl:value-of select="id"/>/20/</xsl:attribute> |
||||
<span>20</span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
<td align="left" nowrap="nowrap" class="lighttable"> |
||||
<a> |
||||
<xsl:attribute name="href">/User/<xsl:value-of select="topicstarter/user/id"/>/</xsl:attribute> |
||||
<font> |
||||
<xsl:attribute name="color">#0000ff</xsl:attribute> |
||||
<xsl:value-of select="topicstarter/user/name"/> |
||||
</font> |
||||
</a> |
||||
</td> |
||||
<td align="center" class="lighttable"> |
||||
<xsl:value-of select="totalViews"/> |
||||
</td> |
||||
<td align="center" nowrap="nowrap" class="lighttable"> |
||||
<span class="separate"><xsl:value-of select="totalPosts"/></span> |
||||
<a class="cup separate" href="/postlist.php?Cat=&Board=Common&page=0&fullview=&src=&sb=5&o=&cupthread=479355&cupmaxnumber=9559703&showlite=" > |
||||
<font class="new"><i>(10)</i></font> |
||||
</a> |
||||
<a class="cup separate" href="/postlist.php?Cat=&Board=Common&page=0&fullview=&src=&sb=5&o=&cupthread=479355&cupdisc=1&showlite=" > |
||||
<font class="new2"><i>(41)</i></font> |
||||
</a> |
||||
</td> |
||||
<td nowrap="nowrap" align="center" class="lighttable"> |
||||
<xsl:value-of select="lastPostDate"/> |
||||
</td> |
||||
</tr> |
||||
</xsl:template> |
||||
|
||||
|
||||
</xsl:stylesheet> |
Loading…
Reference in new issue