An alternative to UBB.threads
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.
 
 
 
 
FLocal/templates/Full/UserInfo.xslt

218 lines
7.1 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:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td class="tdheader">
<xsl:text>Ïåðñîíàëüíàÿ èíôîðìàöèÿ î </xsl:text><xsl:value-of select="user/name"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr class="lighttable">
<td>
<table border="0" width="100%" class="lighttable" cellpadding="0">
<tr>
<td width="10%" class="darktable">
<xsl:text>Email</xsl:text>
</td>
<td width="40%">
<xsl:text>Not implemented</xsl:text>
</td>
<td align="right" valign="top" rowspan="11">
<img alt="Picture" width="80" height="80">
<xsl:choose>
<xsl:when test="user/avatar">
<xsl:attribute name="src">/Upload/Item/<xsl:value-of select="user/avatar"/>/</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="src">/static/images/noavatar.gif</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</img>
</td>
</tr>
<tr>
<td class="darktable">
<xsl:text>Èìÿ</xsl:text>
</td>
<td>
<xsl:text>Not implemented</xsl:text>
</td>
</tr>
<tr>
<td class="darktable">
<xsl:text>Òèòóë</xsl:text>
</td>
<td>
<xsl:value-of select="user/title"/>
</td>
</tr>
<tr>
<td class="darktable">
<xsl:text>Èòîãî ñîîáùåíèé</xsl:text>
</td>
<td>
<xsl:value-of select="totalPosts"/>
</td>
</tr>
<tr>
<td class="darktable">
<xsl:text>Ðåéòèíã</xsl:text>
</td>
<td>
<xsl:text>Not implemented</xsl:text>
</td>
</tr>
<tr>
<td class="darktable">
<xsl:text>Äîìàøíÿÿ ñòðàíèöà</xsl:text>
</td>
<td>
<xsl:text>Not implemented</xsl:text>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Ðîä çàíÿòèé</xsl:text>
</td>
<td>
<xsl:text>Not implemented</xsl:text>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Õîááè</xsl:text>
</td>
<td>
<xsl:text>Not implemented</xsl:text>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Ðàñïîëîæåíèå</xsl:text>
</td>
<td>
<xsl:value-of select="user/location"/>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Áèîãðàôèÿ</xsl:text>
</td>
<td colspan="2">
<xsl:value-of select="user/biography"/>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Íîìåð ICQ</xsl:text>
</td>
<td>
<xsl:text>Not implemented</xsl:text>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Ïîë (gender)</xsl:text>
</td>
<td>
<xsl:text>Not implemented</xsl:text>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Äàòà ðåãèñòðàöèè</xsl:text>
</td>
<td>
<xsl:apply-templates select="user/regDate" mode="dateTime"/>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Ïîñëåäíèé ðàç îíëàéí</xsl:text>
</td>
<td>
<xsl:text>Not implemented</xsl:text>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Ïîäïèñü</xsl:text>
</td>
<td>
<xsl:value-of select="user/signature"/>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Ñèìïàòèè</xsl:text>
</td>
<td title="Âûðàçèòü ñèìïàòèþ ýòîìó ÷åëîâåêó">
<input type="submit" class="buttons" value=" " style="width:24px;background-image:url('/static/images/heart.gif');background-position:center left;background-repeat:no-repeat;"/>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Penalties</xsl:text>
</td>
<td colspan="2">
<xsl:text>Not implemented</xsl:text>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Êîììåíòàðèé</xsl:text>
</td>
<td>
<xsl:text>Not implemented</xsl:text>
</td>
</tr>
<tr>
<td valign="top" colspan="3" align="center" class="darktable">
<a>
<img src="/static/images/sendprivate.gif" border="0" style="vertical-align: text-bottom" />
<xsl:text>Ïîñëàòü ëè÷íîå ñîîáùåíèå</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a>
<img src="/static/images/sundial.gif" border="0" style="vertical-align: text-bottom" />
<xsl:text>Èñòîðèÿ</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a>
<img src="/static/images/addtobook.gif" align="top" style="vertical-align: text-bottom" />
<xsl:text>Äîáàâèòü â àäðåñíóþ êíèãó</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a>
<img src="/static/images/viewposts.gif" align="top" style="vertical-align: text-bottom" />
<xsl:text>Ïîêàçàòü âñå ñîîáùåíèÿ ïîëüçîâàòåëÿ</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a>
<img src="/static/images/graph.gif" align="top" border="0" style="vertical-align: text-bottom" />
<xsl:text>Ñòàòèñòèêà</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>