|
|
|
|
<?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="UserInfoBar.xslt"/>
|
|
|
|
|
<xsl:template match="upload">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<table width="100%" cellspacing="1" cellpadding="3" border="0">
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="120" valign="top" class="darktable" rowspan="2">
|
|
|
|
|
<xsl:apply-templates select="uploader/user" mode="userInfoBar"/>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="subjecttable">
|
|
|
|
|
<a target="_blank" class="separate">
|
|
|
|
|
<xsl:attribute name="href">/Upload/Item/<xsl:value-of select="id"/>/</xsl:attribute>
|
|
|
|
|
<img border="0" src="/static/images/message-normal-read.gif" alt="" style="vertical-align: text-bottom" />
|
|
|
|
|
</a>
|
|
|
|
|
<b class="separate"><xsl:value-of select="filename"/></b>
|
|
|
|
|
<br />
|
|
|
|
|
<font class="small" style="padding-left:2em"><xsl:apply-templates select="uploadDate/date" mode="dateTime"/></font>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="lighttable">
|
|
|
|
|
<table width="100%" cellspacing="0" cellpadding="0" style="table-layout: fixed">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<br />
|
|
|
|
|
<font class="post">
|
|
|
|
|
<img style="max-width:800px;max-height:600px;">
|
|
|
|
|
<xsl:attribute name="src">/Upload/Item/<xsl:value-of select="id"/>/</xsl:attribute>
|
|
|
|
|
</img>
|
|
|
|
|
<br/>
|
|
|
|
|
<br/>
|
|
|
|
|
<xsl:text><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> [uploadLink]</xsl:text>
|
|
|
|
|
<xsl:value-of select="id"/>
|
|
|
|
|
<xsl:text>[/uploadLink]</xsl:text>
|
|
|
|
|
<br/>
|
|
|
|
|
<xsl:text><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> [uploadImage]</xsl:text>
|
|
|
|
|
<xsl:value-of select="id"/>
|
|
|
|
|
<xsl:text>[/uploadImage]</xsl:text>
|
|
|
|
|
</font>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<xsl:if test="uploader/user/signature != ''">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<div style="width:100%;max-height:50px;height: expression( this.scrollHeight > 49 ? '50px' : 'auto' );overflow:hidden">
|
|
|
|
|
<font size="-2"><xsl:value-of select="poster/user/signature"/><br /></font>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|