You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
106 lines
3.9 KiB
106 lines
3.9 KiB
<?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:import href="elems\Main.xslt"/>
|
|
<xsl:import href="elems\BoardInfo.xslt"/>
|
|
<xsl:template name="specificTitle">Ðàçäåëû</xsl:template>
|
|
<xsl:template name="isLiteEnabled">true</xsl:template>
|
|
<xsl:template name="specific">
|
|
<div class="categoriescontainer">
|
|
<xsl:apply-templates select="categories/category"/>
|
|
</div>
|
|
<br />
|
|
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
|
|
<tr>
|
|
<td colspan="3" class="tdheader">
|
|
<b>Äîïîëíèòåëüíàÿ èíôîðìàöèÿ</b>
|
|
</td>
|
|
</tr>
|
|
<tr class="lighttable">
|
|
<td width="45%" class="small" valign="top">
|
|
<xsl:choose>
|
|
<xsl:when test="session/user">
|
|
<xsl:text>Âû âîøëè â ôîðóì êàê </xsl:text>
|
|
<xsl:apply-templates select="session/user" mode="userLink"/>
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<xsl:text>Âû íå âîøëè â ôîðóì</xsl:text>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
<br />
|
|
<xsl:value-of select="totalRegistered"/>
|
|
<xsl:text> Çàðåãèñòðèðîâàííûõ ïîëüçîâàòåëåé.</xsl:text>
|
|
<br />
|
|
<!--xsl:text>Ïðèâåòñòâóåì íîâîãî ïîëüçîâàòåëÿ, </xsl:text>
|
|
<a href="/showprofile.php?User=_PC&What=ubbthreads">_PC</a>
|
|
<br /-->
|
|
<xsl:text>Çà ïîñëåäíèå </xsl:text>
|
|
<xsl:value-of select="activity/threshold"/>
|
|
<xsl:text> ôîðóì ïîñåùàëî </xsl:text>
|
|
<xsl:value-of select="activity/sessions"/>
|
|
<xsl:text> çàðåãèñòðèðîâàííûõ ïîëüçîâàòåëåé.</xsl:text>
|
|
<br />
|
|
<a>Òåêóùåå âðåìÿ:</a><xsl:text> </xsl:text>
|
|
<xsl:apply-templates select="currentDate" mode="dateTime"/>
|
|
</td>
|
|
<td width="30%" class="small" valign="top">
|
|
<a>
|
|
<xsl:attribute name="href">/AllPosts/</xsl:attribute>
|
|
<xsl:text>Ïîñëåäíèå ñîîáùåíèÿ</xsl:text>
|
|
</a>
|
|
<br />
|
|
<a>
|
|
<xsl:attribute name="href">/AllThreads/</xsl:attribute>
|
|
<xsl:text>Ïîñëåäíèå òåìû</xsl:text>
|
|
</a>
|
|
<br />
|
|
<a>
|
|
<xsl:if test="session/user">
|
|
<xsl:attribute name="href">/Users/User/<xsl:value-of select="session/user/id"/>/Replies/</xsl:attribute>
|
|
</xsl:if>
|
|
<xsl:text>Ïîñëåäíèå îòâåòû íà ìîè ñîîáùåíèÿ</xsl:text>
|
|
</a>
|
|
<br />
|
|
<a>
|
|
<xsl:if test="session/user">
|
|
<xsl:attribute name="href">/Users/User/<xsl:value-of select="session/user/id"/>/PollsParticipated/</xsl:attribute>
|
|
</xsl:if>
|
|
<xsl:text>Ïîñëåäíèå îïðîñû ñ ìîèì ó÷àñòèåì</xsl:text>
|
|
</a>
|
|
<br />
|
|
<a>Ìîè ñîîáùåíèÿ ñ îöåíêàìè</a>
|
|
<br />
|
|
<a>Ðåéòèíãè ñîîáùåíèé</a>
|
|
</td>
|
|
<td class="small" valign="top">
|
|
<b>Ëåãåíäà:</b>
|
|
<br />
|
|
<img src="/static/images/newposts.gif" alt="*" />
|
|
<xsl:text>Íîâûå ñîîáùåíèÿ</xsl:text>
|
|
<br />
|
|
<img src="/static/images/nonewposts.gif" alt="*" />
|
|
<xsl:text>Íåò íîâûõ ñîîáùåíèé</xsl:text>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="category">
|
|
<div class="categorycontainer">
|
|
<h2 class="categorycontainer_title"><xsl:value-of select="name"/></h2>
|
|
<div class="boardscontainer">
|
|
<xsl:apply-templates select="boards/board">
|
|
<xsl:with-param name="maxPerLine">
|
|
<xsl:value-of select="ceiling(count(boards/board) div 2)"/>
|
|
</xsl:with-param>
|
|
</xsl:apply-templates>
|
|
</div>
|
|
</div>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet> |