Modern design from 'classic'

main
Inga 🏳‍🌈 14 years ago
parent aa3008def2
commit 0afa8c8a11
  1. 2
      Builder/IISMainHandler/build.txt
  2. 1
      IISMainHandler/IISMainHandler.csproj
  3. 5
      IISMainHandler/WebContext.cs
  4. 33
      IISMainHandler/designs/Modern.cs
  5. 45
      templates/Modern/AllPosts.xslt
  6. 38
      templates/Modern/AllThreads.xslt
  7. 122
      templates/Modern/AvatarsSettings.xslt
  8. 53
      templates/Modern/Board.xslt
  9. 39
      templates/Modern/BoardAsThread.xslt
  10. 110
      templates/Modern/Boards.xslt
  11. 93
      templates/Modern/Conversation.xslt
  12. 93
      templates/Modern/Conversations.xslt
  13. 34
      templates/Modern/Exception.xslt
  14. 70
      templates/Modern/LocalNetworks.xslt
  15. 135
      templates/Modern/Login.xslt
  16. 72
      templates/Modern/MigrateAccount.xslt
  17. 194
      templates/Modern/NewPoll.xslt
  18. 61
      templates/Modern/NewThread.xslt
  19. 104
      templates/Modern/PMReply.xslt
  20. 109
      templates/Modern/PMReplyToPost.xslt
  21. 59
      templates/Modern/PMSend.xslt
  22. 45
      templates/Modern/Poll.xslt
  23. 33
      templates/Modern/PollsList.xslt
  24. 90
      templates/Modern/Post.xslt
  25. 104
      templates/Modern/PostEdit.xslt
  26. 157
      templates/Modern/PostPunish.xslt
  27. 115
      templates/Modern/PostReply.xslt
  28. 57
      templates/Modern/RegisterByInvite.xslt
  29. 5
      templates/Modern/Root.xslt
  30. 148
      templates/Modern/Settings.xslt
  31. 115
      templates/Modern/Thread.xslt
  32. 18
      templates/Modern/UploadInfo.xslt
  33. 44
      templates/Modern/UploadList.xslt
  34. 36
      templates/Modern/UploadNew.xslt
  35. 75
      templates/Modern/UserData.xslt
  36. 219
      templates/Modern/UserInfo.xslt
  37. 94
      templates/Modern/UserList.xslt
  38. 33
      templates/Modern/UserPollsParticipated.xslt
  39. 46
      templates/Modern/UserPosts.xslt
  40. 46
      templates/Modern/UserReplies.xslt
  41. 37
      templates/Modern/UserThreads.xslt
  42. 60
      templates/Modern/WhoIsOnline.xslt
  43. 28
      templates/Modern/WrongUrl.xslt
  44. 47
      templates/Modern/elems/BoardHeader.xslt
  45. 74
      templates/Modern/elems/BoardInfo.xslt
  46. 58
      templates/Modern/elems/ConversationInfo.xslt
  47. 68
      templates/Modern/elems/ForumHeader.xslt
  48. 176
      templates/Modern/elems/Header.xslt
  49. 309
      templates/Modern/elems/Main.xslt
  50. 87
      templates/Modern/elems/MyHeader.xslt
  51. 120
      templates/Modern/elems/PMInfo.xslt
  52. 164
      templates/Modern/elems/PollInfo.xslt
  53. 38
      templates/Modern/elems/PollShortInfo.xslt
  54. 37
      templates/Modern/elems/PollsHeader.xslt
  55. 304
      templates/Modern/elems/PostInfo.xslt
  56. 350
      templates/Modern/elems/TextEditor.xslt
  57. 79
      templates/Modern/elems/ThreadInfo.xslt
  58. 28
      templates/Modern/elems/UploadHeader.xslt
  59. 64
      templates/Modern/elems/UploadInfo.xslt
  60. 62
      templates/Modern/elems/UserHeader.xslt
  61. 57
      templates/Modern/elems/UserInfoBar.xslt
  62. 44
      templates/Modern/elems/UsersHeader.xslt
  63. 49
      templates/Modern/maintenance/CleanCache.xslt
  64. 48
      templates/Modern/result/AvatarAdded.xslt
  65. 48
      templates/Modern/result/AvatarRemoved.xslt
  66. 48
      templates/Modern/result/AvatarSetted.xslt
  67. 31
      templates/Modern/result/Login.xslt
  68. 31
      templates/Modern/result/Logout.xslt
  69. 48
      templates/Modern/result/MessageCreated.xslt
  70. 48
      templates/Modern/result/MessageEdited.xslt
  71. 48
      templates/Modern/result/MessagePunished.xslt
  72. 48
      templates/Modern/result/NewAccount.xslt
  73. 48
      templates/Modern/result/PMSent.xslt
  74. 35
      templates/Modern/result/PollCreated.xslt
  75. 31
      templates/Modern/result/SettingsSaved.xslt
  76. 38
      templates/Modern/result/Upload.xslt
  77. 31
      templates/Modern/result/VoteAccepted.xslt
  78. 37
      templates/Modern/result/maintenance/CacheCleaned.xslt

@ -142,6 +142,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="designs\Modern.cs" />
<Compile Include="designs\Rss.cs" />
<Compile Include="handlers\request\avatars\AddHandler.cs" />
<Compile Include="handlers\request\avatars\RemoveHandler.cs" />

@ -110,9 +110,12 @@ namespace FLocal.IISHandler {
case 449:
this.design = new designs.Rss();
break;
case 451:
this.design = new designs.Classic();
break;
case 443:
default:
this.design = new designs.Classic();
this.design = new designs.Modern();
break;
}

@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FLocal.IISHandler.designs {
class Modern : IDesign {
public string GetFSName(string template) {
return System.IO.Path.Combine("Modern", template);
}
string FLocal.Common.IOutputParams.preprocessBodyIntermediate(string bodyIntermediate) {
return bodyIntermediate.
Replace("<f:img><f:src>", "<img src=\"").
Replace("</f:src><f:alt>", "\" alt=\"").
Replace("</f:alt></f:img>", "\"/>");
}
public string ContentType {
get {
return "text/html";
}
}
public bool IsHuman {
get {
return true;
}
}
}
}

@ -0,0 +1,45 @@
<?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\PostInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Âñå ñîîáùåíèÿ</xsl:text>
</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
<xsl:apply-templates select="posts/post"/>
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,38 @@
<?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\ThreadInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Âñå òåìû</xsl:text>
</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td align="left" width="55%" class="tdheader">Òåìà</td>
<td align="left" nowrap="nowrap" width="15%" class="tdheader">Àâòîð</td>
<td nowrap="nowrap" width="5%" class="tdheader" align="center">Ïðîñìîòðîâ</td>
<td nowrap="nowrap" width="5%" class="tdheader" align="center">Ïîñòîâ</td>
<td nowrap="nowrap" width="20%" class="tdheader" align="center">Ïîñëåäíåå</td>
</tr>
<!-- BEGIN POST LOOP DO NOT DELETE -->
<xsl:apply-templates select="threads/thread"/>
<!-- END OF LOOP -->
<tr class="tdheader">
<td colspan="5">
<font class="onbody">
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="threads/pageOuter" mode="withCurrent"/>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,122 @@
<?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="specificTitle">Íàñòðîéêà àâàòàðîê</xsl:template>
<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>
</td>
</tr>
<tr>
<td class="lighttable">
<p>Âàøè àâàòàðêè:</p>
<xsl:apply-templates select="avatars/upload"/>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/Avatars/SetAsDefault">
<input type="hidden" name="uploadId" value=""/>
<input type="submit" class="buttons" value="Îòêëþ÷èòü àâàòàðêó">
<xsl:if test="not(/root/currentAvatar)">
<xsl:attribute name="disabled">disabled</xsl:attribute>
</xsl:if>
</input>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Ìàêñèìàëüíûé ðàçìåð ôàéëà &#8211; 80ÊÁ, äîïóñòèìûå ðàçðåøåíèÿ: gif, jpg, png, svg, jpe, jpeg, jfif, jif</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/Avatars/Add" enctype="multipart/form-data">
<input type="file" name="file" class="formboxes" /><br/>
<input type="submit" name="buttlogin" value="Îòïðàâèòü!" class="buttons" />
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr class="tdheader">
<td>
<xsl:text>Èëè óêàæèòå íîìåð ôàéëà â àïëîàäå</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/Avatars/Add">
<input type="text" name="uploadId"/><br/>
<input type="submit" name="buttlogin" value="Îòïðàâèòü!" class="buttons" />
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="upload">
<table border="0">
<tr>
<td valign="middle">
<img alt="" class="avatar">
<xsl:attribute name="src">/Upload/Item/<xsl:value-of select="id"/>/</xsl:attribute>
</img>
</td>
<td valign="middle">
<form method="post" action="/do/Avatars/SetAsDefault">
<input type="hidden" name="uploadId">
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute>
</input>
<input type="submit" class="buttons" value="Ñäåëàòü ñòàíäàðòíîé">
<xsl:if test="/root/currentAvatar/upload/id = id">
<xsl:attribute name="disabled">disabled</xsl:attribute>
</xsl:if>
</input>
</form><br/>
<form method="post" action="/do/Avatars/Remove">
<input type="hidden" name="uploadId">
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute>
</input>
<input type="submit" class="buttons" value="Óäàëèòü">
<xsl:if test="/root/currentAvatar/upload/id = id">
<xsl:attribute name="disabled">disabled</xsl:attribute>
</xsl:if>
</input>
</form>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,53 @@
<?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:import href="elems\ThreadInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:value-of select="currentLocation/board/name"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<xsl:if test="boards/board">
<table width="95%" align="center" class="tableborders" border="1">
<tr>
<td class="tdheader" colspan="2" width="61%">Ïîäðàçäåëû</td>
<td class="tdheader" align="center" width="7%">Òåìû</td>
<td class="tdheader" align="center" width="7%">Ñîîáùåíèé</td>
<td class="tdheader" align="center" width="15%">Ïîñëåäíåå</td>
<td class="tdheader" align="center" width="10%">Ìîäåðàòîð</td>
</tr>
<xsl:apply-templates select="boards/board"/>
</table>
<br/>
</xsl:if>
<table width="95%" align="center" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td align="left" width="55%" class="tdheader">Òåìà</td>
<td align="left" nowrap="nowrap" width="15%" class="tdheader">Àâòîð</td>
<td nowrap="nowrap" width="5%" class="tdheader" align="center">Ïðîñìîòðîâ</td>
<td nowrap="nowrap" width="5%" class="tdheader" align="center">Ïîñòîâ</td>
<td nowrap="nowrap" width="20%" class="tdheader" align="center">Ïîñëåäíåå</td>
</tr>
<!-- BEGIN POST LOOP DO NOT DELETE -->
<xsl:apply-templates select="threads/thread"/>
<!-- END OF LOOP -->
<tr class="tdheader">
<td colspan="5">
<font class="onbody">
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="threads/pageOuter" mode="withCurrent"/>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,39 @@
<?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\PostInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:value-of select="currentLocation/board/name"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<tr class="tdheader">
<td colspan="5">
<font class="onbody">
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"/>
</font>
</td>
</tr>
<!-- BEGIN POST LOOP DO NOT DELETE -->
<xsl:apply-templates select="posts/post"/>
<!-- END OF LOOP -->
<tr class="tdheader">
<td colspan="5">
<font class="onbody">
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"/>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,110 @@
<?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">
<table width="95%" align="center" class="tablesurround" cellspacing="1" cellpadding="1">
<tr>
<td>
<xsl:apply-templates select="categories/category"/>
</td>
</tr>
</table>
<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&amp;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">
<table width="100%" align="center" class="tableborders" cellpadding="3" cellspacing="1">
<tr>
<td class="tdheader" colspan="2" width="61%"><xsl:value-of select="name"/></td>
<td class="tdheader" align="center" width="7%">Òåìû</td>
<td class="tdheader" align="center" width="7%">Ñîîáùåíèé</td>
<td class="tdheader" align="center" width="15%">Ïîñëåäíåå</td>
<td class="tdheader" align="center" width="10%">Ìîäåðàòîð</td>
</tr>
<xsl:apply-templates select="boards/board"/>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,93 @@
<?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\PMInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:value-of select="conversationInfo/interlocutor/account/user/name"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="conversationInfo"/>
<br />
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
<xsl:apply-templates select="messages/message"/>
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<xsl:call-template name="conversationInfo"/>
</xsl:template>
<xsl:template name="conversationInfo">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr class="darktable">
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr class="darktable">
<td align="left" width="33%">
<font class="catandforum">
<a href="/My/Conversations/"><xsl:text>Ïðèâàòíûå ñîîáùåíèÿ</xsl:text></a>
<xsl:text> &gt;&gt; </xsl:text>
<xsl:value-of select="conversation/interlocutor/account/user/name"/>
</font>
</td>
<td width="33%" align="right">
<table border="0" class="tablesurround">
<tr>
<td class="navigation" nowrap="nowrap">
<a>
<img alt="*" src="/static/images/greyflat.gif" style="vertical-align: text-bottom" />
<xsl:text>Ïëîñêèé</xsl:text>
</a>
</td>
<td class="navigation" nowrap="nowrap">
<a>
<img src="/static/images/greythreaded.gif" border="0" style="vertical-align: text-bottom" alt="Äåðåâî" />
<xsl:text>Äåðåâî</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,93 @@
<?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\ConversationInfo.xslt"/>
<xsl:template name="specificTitle">Ëè÷íûå ñîîáùåíèÿ</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" border="0" class="tableborders">
<tr class="darktable">
<td colspan="6">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" class="catandforum">
<xsl:text>Ïðèâàòíûå ñîîáùåíèÿ</xsl:text>
</td>
<td align="right" valign="bottom">
<table border="0" class="tablesurround">
<tr>
<td class="navigation" nowrap="nowrap">
<!-- postoption is either newpost.gif or greynewpost.gif -->
<a>
<xsl:attribute name="href">/My/Conversations/PMSend/</xsl:attribute>
<img src="/static/images/newpost.gif" alt="Íîâîå ñîîáùåíèå" border="0" width="13" height="15" style="vertical-align: text-bottom" />
<xsl:text>Ñîîáùåíèå</xsl:text>
</a>
</td>
<td class="navigation" nowrap="nowrap">
<!-- prevoption is either previous.gif or greyprevious.gif -->
<a>
<img alt="Ïðåäûäóùàÿ ñòðàíèöà" border="0" width="12" height="15" style="vertical-align: text-bottom">
<xsl:attribute name="src">/static/images/greyprevious.gif</xsl:attribute>
</img>
<xsl:text>Ïðåä.</xsl:text>
</a>
</td>
<td class="navigation" nowrap="nowrap">
<a>
<img src="/static/images/all.gif" alt="Ñïèñîê ôîðóìîâ" border="0" width="19" height="15" style="vertical-align: text-bottom" />
<xsl:text>Ñïèñîê</xsl:text>
</a>
</td>
<td class="navigation" nowrap="nowrap">
<!-- nextoption is either next.gif or greynext.gif -->
<a>
<img alt="Ñëåäóþùàÿ ñòðàíèöà" border="0" width="14" height="15" style="vertical-align: text-bottom">
<xsl:attribute name="src">/static/images/next.gif</xsl:attribute>
</img>
<xsl:text>Ñëåä.</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<table width="95%" align="center" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td align="left" nowrap="nowrap" width="75%" class="tdheader">Ñîáåñåäíèê</td>
<td nowrap="nowrap" width="5%" class="tdheader" align="center">Ïîñòîâ</td>
<td nowrap="nowrap" width="20%" class="tdheader" align="center">Ïîñëåäíåå</td>
</tr>
<!-- BEGIN POST LOOP DO NOT DELETE -->
<xsl:apply-templates select="conversations/conversation"/>
<!-- END OF LOOP -->
<tr class="tdheader">
<td colspan="3">
<font class="onbody">
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="conversations/pageOuter" mode="withCurrent"/>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,34 @@
<?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="specificTitle">Îøèáêà</xsl:template>
<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>
</td>
</tr>
<tr class="lighttable">
<td>
<xsl:text>Òèï îøèáêè: </xsl:text>
<xsl:value-of select="exception/type"/>
<br/>
<xsl:text>Ñîîáùåíèå îá îøèáêå: </xsl:text>
<xsl:value-of select="exception/message"/>
<br/>
<xsl:text>ID îøèáêè: </xsl:text>
<xsl:value-of select="exception/guid"/>
<br/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,70 @@
<?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="specificTitle">Ëîêàëüíûå ñåòè</xsl:template>
<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 class="darktable">
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr class="darktable">
<td align="left" width="33%">
<font class="catandforum">
<xsl:text>Ëîêàëüíûå ñåòè</xsl:text>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<xsl:if test="localNetworks/localNetwork">
<table width="95%" align="center" class="tableborders" border="1">
<tr>
<td class="tdheader" align="center" width="15%">Ïîäñåòü</td>
<td class="tdheader" width="70%">Îïèñàíèå</td>
<td class="tdheader" align="center" width="15%">Ñîñòîÿíèå</td>
</tr>
<xsl:apply-templates select="localNetworks/localNetwork"/>
</table>
<br/>
</xsl:if>
</xsl:template>
<xsl:template match="localNetwork">
<tr>
<xsl:choose>
<xsl:when test="position() mod 2 = 0">
<xsl:attribute name="class">lighttable</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="class">darktable</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<td align="center">
<xsl:value-of select="network"/>
</td>
<td align="left">
<xsl:value-of select="comment"/>
</td>
<td align="center">
<xsl:choose>
<xsl:when test="isEnabled='true'">
<xsl:text>Âêëþ÷åíà</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>Îòêëþ÷åíà</xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,135 @@
<?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="specificTitle">Âõîä</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Ââåäèòå âàøå èìÿ ïîëüçîâàòåëÿ è ïàðîëü äëÿ ðåãèñòðàöèè â ôîðóìå.</xsl:text>
<br/>
<xsl:text>Åñëè âû åù¸ íå ïîëüçîâàëèñü ýòèì ôîðóìîì, íî ïðèøëè ñî ñòàðîãî ôîðóì.ëîêàëà &#8211; âû ìîæåòå ñîçäàòü ïàðîëü â ôîðìå ìèãðàöèè.</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/Login/">
<xsl:text>Ëîãèí</xsl:text><br />
<input type="text" name="name" class="formboxes" /><br/>
<xsl:text>Ïàðîëü</xsl:text><br/>
<input type="password" name="password" class="formboxes" /><br/>
<input type="submit" name="buttlogin" value="Âîéòè!" class="buttons" />
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Åñëè âû ïðèøëè ñî ñòàðîãî ôîðóì.ëîêàëà &#8211; ââåäèòå ñâîé ëîãèí.</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/My/Login/Migrate/">
<xsl:text>Ëîãèí</xsl:text><br />
<input type="text" name="username" class="formboxes" /><br/>
<input type="submit" name="buttlogin" value="Äàëåå" class="buttons" />
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:choose>
<xsl:when test="isLocalNetwork='false'">
<xsl:text>Âàø IP </xsl:text>
<xsl:value-of select="ip"/>
<xsl:text> íå âõîäèò â ñïèñîê ðàçðåø¸ííûõ ïîäñåòåé.</xsl:text>
<br/>
<xsl:text>Åñëè âû ñ÷èòàåòå, ÷òî ýòî îøèáêà, ñîîáùèòå àäìèíèñòðàòîðó ñâîé IP-àäðåñ è îïèñàíèå ñåòè (îáùåæèòèå/ó÷åáíûé êîðïóñ, óíèâåðñèòåò è ïðî÷åå).</xsl:text>
<br/>
</xsl:when>
<xsl:otherwise>
<xsl:text>Âàø IP </xsl:text>
<xsl:value-of select="ip"/>
<xsl:text> âõîäèò â ñïèñîê ðàçðåø¸ííûõ ïîäñåòåé.</xsl:text>
<br/>
</xsl:otherwise>
</xsl:choose>
<a href="/LocalNetworks/">Ñïèñîê ðàçðåø¸ííûõ ïîäñåòåé</a>
</td>
</tr>
<xsl:if test="isLocalNetwork='true'">
<tr>
<td class="lighttable">
<form method="post" action="/do/Register/">
<xsl:text>Èìÿ ïîëüçîâàòåëÿ</xsl:text><br/>
<input type="text" name="login" class="formboxes" maxlength="16"/><br/>
<xsl:text>Íîâûé ïàðîëü</xsl:text><br />
<input type="password" name="password" class="formboxes" /><br/>
<xsl:text>Ïîâòîðèòå ïàðîëü</xsl:text><br/>
<input type="password" name="password2" class="formboxes" /><br/>
<xsl:text>e-mail äëÿ âîññòàíîâëåíèÿ ïàðîëÿ (íåîáÿçàòåëüíî)</xsl:text><br/>
<input type="text" name="registrationEmail" class="formboxes" />
<br/>
<input type="checkbox" name="constitution" value="constitution" id="constitution"/>
<label for="constitution"> Äà, ÿ ñîãëàñåí/ñîãëàñíà/ñîãëàñíî ñ òåì, ÷òî íà ýòîì ôîðóìå äåéñòâóåò </label>
<a href="/q/constitution/" style="text-decoration:underline">îïèñàííàÿ ïî ýòîé ññûëêå êîíñòèòóöèÿ</a>
<xsl:text>.</xsl:text>
<i> (îáÿçàòåëüíî)</i>
<br/>
<input type="checkbox" name="showPostsToAll" value="showPostsToAll" id="showPostsToAll"/>
<label for="showPostsToAll"> Äà, ÿ ñîãëàñåí/ñîãëàñíà/ñîãëàñíî ñ òåì, ÷òîáû ìîè ñîîáùåíèÿ, ðàçìåù¸ííûå íà ýòîì ôîðóìå, áûëè äîñòóïíû ïóáëè÷íî.</label>
<i> (îáÿçàòåëüíî)</i>
<br/>
<input type="checkbox" name="law" value="law" id="law"/>
<label for="law"> Äà, ÿ îáÿçóþñü ñîáëþäàòü çàêîíû Ðîññèéñêîé Ôåäåðàöèè è Ôåäåðàòèâíîé Ðåñïóáëèêè Ãåðìàíèÿ â îáùåíèè íà ýòîì ôîðóìå.</label>
<i> (îáÿçàòåëüíî)</i>
<br/>
<input type="submit" name="buttlogin" value="Çàðåãèñòðèðîâàòüñÿ!" class="buttons" />
</form>
</td>
</tr>
</xsl:if>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,72 @@
<?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="specificTitle">Ìèãðàöèÿ</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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="migrationInfo/account/user/name"/>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Ïîëüçîâàòåëü </xsl:text>
<xsl:apply-templates select="migrationInfo/account/user" mode="userLink"/>
<xsl:text> íàéäåí â ñïèñêå ïîëüçîâàòåëåé ñòàðîãî ôîðóìà.</xsl:text>
<br/>
<xsl:text>Ââåäèòå ñòðîêó </xsl:text>
<b>(fhn:<xsl:value-of select="migrationInfo/key"/>)</b>
<xsl:text> (âìåñòå ñî ñêîáêàìè) â ïîëå áèîãðàôèè â ñâî¸ì ïðîôàéëå íà ñòàðîì ôîðóìå.</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/MigrateAccount/">
<input type="hidden" name="accountId">
<xsl:attribute name="value"><xsl:value-of select="migrationInfo/account/id"/></xsl:attribute>
</input>
<input type="hidden" name="check">
<xsl:attribute name="value"><xsl:value-of select="migrationInfo/check"/></xsl:attribute>
</input>
<xsl:text>Íîâûé ïàðîëü</xsl:text><br />
<input type="password" name="password" class="formboxes" /><br/>
<xsl:text>Ïîâòîðèòå ïàðîëü</xsl:text><br/>
<input type="password" name="password2" class="formboxes" /><br/>
<xsl:text>e-mail äëÿ âîññòàíîâëåíèÿ ïàðîëÿ (íåîáÿçàòåëüíî)</xsl:text><br/>
<input type="text" name="registrationEmail" class="formboxes" />
<br/>
<input type="checkbox" name="constitution" value="constitution" id="constitution"/>
<label for="constitution"> Äà, ÿ ñîãëàñåí/ñîãëàñíà/ñîãëàñíî ñ òåì, ÷òî íà ýòîì ôîðóìå äåéñòâóåò </label>
<a href="/q/constitution/" style="text-decoration:underline">îïèñàííàÿ ïî ýòîé ññûëêå êîíñòèòóöèÿ</a>
<xsl:text>.</xsl:text>
<i> (îáÿçàòåëüíî)</i>
<br/>
<input type="checkbox" name="showPostsToAll" value="showPostsToAll" id="showPostsToAll"/>
<label for="showPostsToAll"> Äà, ÿ ñîãëàñåí/ñîãëàñíà/ñîãëàñíî ñ òåì, ÷òîáû ìîè ñîîáùåíèÿ, ðàçìåù¸ííûå íà ýòîì ôîðóìå èëè íà ôîðóì.ëîêàëå (ôîðóìáãç.ðó), áûëè äîñòóïíû ïóáëè÷íî.</label>
<i> (îáÿçàòåëüíî)</i>
<br/>
<input type="checkbox" name="law" value="law" id="law"/>
<label for="law"> Äà, ÿ îáÿçóþñü ñîáëþäàòü çàêîíû Ðîññèéñêîé Ôåäåðàöèè è Ôåäåðàòèâíîé Ðåñïóáëèêè Ãåðìàíèÿ â îáùåíèè íà ýòîì ôîðóìå.</label>
<i> (îáÿçàòåëüíî)</i>
<br/>
<input type="submit" name="buttlogin" value="Ìèãðèðîâàòü!" class="buttons" />
</form>
<h3 style="color:red">
<xsl:text>Åñëè ó âàñ ÷òî-òî íå ïîëó÷àåòñÿ - ïðî÷èòàéòå </xsl:text>
<a href="http://penartur.narod.ru/flocal/migration/">èíñòðóêöèþ â êàðòèíêàõ</a>
</h3>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,194 @@
<?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="specificTitle">
<xsl:text>Íîâûé îïîðîñ</xsl:text>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Çàïîëíèòå ïðèâåäåííóþ íèæå ôîðìó äëÿ îòïðàâêè ñîîáùåíèÿ â ôîðóì. HTML îòêëþ÷åí. UBBCode âêëþ÷åí, è âû ìîæåòå èñïîëüçîâàòü UBBCode â âàøèõ ñîîáùåíèÿõ. Àíîíèìíûå ñîîáùåíèÿ ðàçðåøåíû, è âû ìîæåòå âûáðàòü ëþáîå íåçàðåãèñòðèðîâàííîå èìÿ.</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/NewPoll/" name="replier">
<xsl:text>Ïîëüçîâàòåëü: </xsl:text>
<xsl:value-of select="session/user/name"/>
<br/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="title">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<input type="checkbox" name="isDetailed" value="isDetailed" id="isDetailed"/>
<label for="isDetailed"> Ïîêàçûâàòü èìåíà ïðîãîëîñîâàâøèõ</label>
<br/>
<input type="checkbox" name="isMultiOption" value="isMultiOption" id="isMultiOption"/>
<label for="isMultiOption"> Ðàçðåøèòü âûáîð íåñêîëüêèõ âàðèàíòîâ</label>
<br/>
<br/>
<xsl:text>Âàðèàíò 1: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 2: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 3: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 4: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 5: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 6: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 7: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 8: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 9: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 10: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 11: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 12: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 13: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 14: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 15: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 16: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 17: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 18: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 19: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<xsl:text>Âàðèàíò 20: </xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="3" class="formboxes" name="option">
<xsl:text> </xsl:text>
</textarea>
<br/>
<br/>
<input type="submit" tabindex="3" name="textcont" taborder="2" value="Ïðîäîëæèòü" class="buttons"/>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,61 @@
<?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\TextEditor.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Íîâàÿ òåìà - </xsl:text>
<xsl:value-of select="board/name"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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="board/name"/>
<xsl:text>)</xsl:text>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Çàïîëíèòå ïðèâåäåííóþ íèæå ôîðìó äëÿ îòïðàâêè ñîîáùåíèÿ â ôîðóì. HTML îòêëþ÷åí. UBBCode âêëþ÷åí, è âû ìîæåòå èñïîëüçîâàòü UBBCode â âàøèõ ñîîáùåíèÿõ. Àíîíèìíûå ñîîáùåíèÿ ðàçðåøåíû, è âû ìîæåòå âûáðàòü ëþáîå íåçàðåãèñòðèðîâàííîå èìÿ.</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/NewThread/" name="replier">
<input type="hidden" name="board">
<xsl:attribute name="value"><xsl:value-of select="board/id"/></xsl:attribute>
</input>
<xsl:text>Ïîëüçîâàòåëü: </xsl:text>
<xsl:value-of select="session/user/name"/>
<br/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<br/>
<input type="text" tabindex="1" name="title" maxlength="70" class="formboxes" size="60">
<xsl:attribute name="value"><xsl:value-of select="newTitle"/></xsl:attribute>
</input>
<span class="small">Ñëîé ñîîáùåíèÿ:</span>
<select class="formboxes" name="layerId">
<xsl:apply-templates select="layers">
<!--xsl:with-param name="defaultLayerId"><xsl:value-of select="post/layerId"/></xsl:with-param-->
</xsl:apply-templates>
</select>
<br/>
<br/>
<xsl:call-template name="textEditor"/>
<input type="submit" tabindex="3" name="textcont" taborder="2" value="Ïðîäîëæèòü" class="buttons"/>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,104 @@
<?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\TextEditor.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Îòâåò íà ëè÷íîå ñîîáùåíèå - </xsl:text>
<xsl:value-of select="message/interlocutor/account/user/name"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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="message/interlocutor/account/user/name"/>
<xsl:text>)</xsl:text>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Çàïîëíèòå ïðèâåäåííóþ íèæå ôîðìó äëÿ îòïðàâêè ëè÷íîãî ñîîáùåíèÿ. HTML îòêëþ÷åí. UBBCode âêëþ÷åí, è âû ìîæåòå èñïîëüçîâàòü UBBCode â âàøèõ ñîîáùåíèÿõ. Àíîíèìíûå ñîîáùåíèÿ ðàçðåøåíû, è âû ìîæåòå âûáðàòü ëþáîå íåçàðåãèñòðèðîâàííîå èìÿ.</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/SendPM/" name="replier">
<input type="hidden" name="receiverId">
<xsl:attribute name="value"><xsl:value-of select="message/interlocutor/account/id"/></xsl:attribute>
</input>
<xsl:text>Ïîëüçîâàòåëü: </xsl:text>
<xsl:value-of select="session/user/name"/>
<br/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<br/>
<input type="text" tabindex="1" name="title" maxlength="70" class="formboxes" size="60">
<xsl:choose>
<xsl:when test="substring(message/title, 1, 4)='Re: '">
<xsl:attribute name="value"><xsl:value-of select="message/title"/></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="value">
<xsl:text>Re: </xsl:text>
<xsl:value-of select="message/title"/>
</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</input>
<br/>
<br/>
<xsl:call-template name="textEditor">
<xsl:with-param name="body">
<xsl:text>[q]</xsl:text>
<xsl:value-of select="quoted"/>
<xsl:text>[/q]
</xsl:text>
</xsl:with-param>
</xsl:call-template>
<input type="submit" tabindex="3" name="textcont" taborder="2" value="Ïðîäîëæèòü" class="buttons"/>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<b>
<xsl:text>Àâòîð: </xsl:text>
<xsl:value-of select="message/poster/account/user/name"/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<xsl:value-of select="message/title"/>
</b>
</td>
</tr>
<tr>
<td class="lighttable">
<xsl:value-of select="message/body" disable-output-escaping="yes"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,109 @@
<?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\TextEditor.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Ëè÷íûé îòâåò íà ñîîáùåíèå - </xsl:text>
<xsl:value-of select="post/title"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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="board/name"/>
<xsl:text>)</xsl:text>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Çàïîëíèòå ïðèâåäåííóþ íèæå ôîðìó äëÿ îòïðàâêè ëè÷íîãî ñîîáùåíèÿ.</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/SendPM/" name="replier">
<input type="hidden" name="receiverId">
<xsl:attribute name="value"><xsl:value-of select="receiver/account/id"/></xsl:attribute>
</input>
<xsl:text>Ïîëüçîâàòåëü: </xsl:text>
<xsl:value-of select="session/user/name"/>
<br/>
<xsl:text>Ïîëó÷àòåëü: </xsl:text>
<xsl:value-of select="post/poster/user/name"/>
<br/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<br/>
<input type="text" tabindex="1" name="title" maxlength="70" class="formboxes" size="60">
<xsl:choose>
<xsl:when test="substring(post/title, 1, 4)='Re: '">
<xsl:attribute name="value"><xsl:value-of select="post/title"/></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="value">
<xsl:text>Re: </xsl:text>
<xsl:value-of select="post/title"/>
</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</input>
<br/>
<br/>
<xsl:call-template name="textEditor">
<xsl:with-param name="body">
<xsl:if test="quoted and quoted != ''">
<xsl:text>[q]</xsl:text>
<xsl:value-of select="quoted"/>
<xsl:text>[/q]
</xsl:text>
</xsl:if>
</xsl:with-param>
</xsl:call-template>
<input type="submit" tabindex="3" name="textcont" taborder="2" value="Ïðîäîëæèòü" class="buttons"/>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<b>
<xsl:text>Àâòîð: </xsl:text>
<xsl:value-of select="post/poster/user/name"/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<xsl:value-of select="post/title"/>
</b>
</td>
</tr>
<tr>
<td class="lighttable">
<xsl:value-of select="post/body" disable-output-escaping="yes"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,59 @@
<?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\TextEditor.xslt"/>
<xsl:template name="specificTitle">Íîâîå ëè÷íîå ñîîáùåíèå</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Çàïîëíèòå ïðèâåäåííóþ íèæå ôîðìó äëÿ îòïðàâêè ëè÷íîãî ñîîáùåíèÿ. HTML îòêëþ÷åí. UBBCode âêëþ÷åí, è âû ìîæåòå èñïîëüçîâàòü UBBCode â âàøèõ ñîîáùåíèÿõ. Àíîíèìíûå ñîîáùåíèÿ ðàçðåøåíû, è âû ìîæåòå âûáðàòü ëþáîå íåçàðåãèñòðèðîâàííîå èìÿ.</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/SendPM/" name="replier">
<xsl:text>Ïîëüçîâàòåëü: </xsl:text>
<xsl:value-of select="session/user/name"/>
<br/>
<xsl:text>Ïîëó÷àòåëü: </xsl:text>
<xsl:choose>
<xsl:when test="receiver">
<input type="hidden" name="receiverId">
<xsl:attribute name="value"><xsl:value-of select="receiver/account/id"/></xsl:attribute>
</input>
<xsl:value-of select="receiver/account/user/name"/>
</xsl:when>
<xsl:otherwise>
<input type="text" name="receiverName" class="formboxes" size="15"/>
</xsl:otherwise>
</xsl:choose>
<br/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<br/>
<input type="text" tabindex="1" name="title" maxlength="70" class="formboxes" size="60"/>
<br/>
<br/>
<xsl:call-template name="textEditor"/>
<input type="submit" tabindex="3" name="textcont" taborder="2" value="Ïðîäîëæèòü" class="buttons"/>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,45 @@
<?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\PollInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:value-of select="poll/title"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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 class="darktable">
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr class="darktable">
<td align="left" width="33%">
<font class="catandforum">
<xsl:text>Îïðîñû</xsl:text>
<xsl:text> &gt;&gt; </xsl:text>
<xsl:value-of select="poll/title"/>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<xsl:apply-templates select="poll"/>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,33 @@
<?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\PollShortInfo.xslt"/>
<xsl:template name="specificTitle">Îïðîñû</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td align="left" nowrap="nowrap" width="75%" class="tdheader">Íàçâàíèå</td>
<td nowrap="nowrap" width="15%" class="tdheader" align="center">Àâòîð</td>
<td nowrap="nowrap" width="20%" class="tdheader" align="center">Äàòà</td>
</tr>
<!-- BEGIN POST LOOP DO NOT DELETE -->
<xsl:apply-templates select="polls/poll"/>
<!-- END OF LOOP -->
<tr class="tdheader">
<td colspan="3">
<font class="onbody">
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="polls/pageOuter" mode="withCurrent"/>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,90 @@
<?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\PostInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:value-of select="currentLocation/post/name"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<xsl:template name="specific">
<!--xsl:if test="not(get/param[@name='headers'] = 'false')">
<xsl:call-template name="threadInfo"/>
</xsl:if>
<br /-->
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<xsl:apply-templates select="posts/post">
<xsl:with-param name="isReplyDisabled"><xsl:value-of select="thread/isLocked"/></xsl:with-param>
</xsl:apply-templates>
</table>
</td>
</tr>
</table>
<!--br />
<xsl:if test="not(get/param[@name='headers'] = 'false')">
<xsl:call-template name="threadInfo"/>
</xsl:if-->
</xsl:template>
<xsl:template name="threadInfo">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr class="darktable">
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr class="darktable">
<td align="left" width="33%">
<font class="catandforum">
<xsl:apply-templates select="currentLocation" mode="breadcrumbs"/>
</font>
</td>
<td width="33%" align="right">
<table border="0" class="tablesurround">
<tr>
<td class="navigation" nowrap="nowrap">
<a>
<xsl:attribute name="href">/Board/<xsl:value-of select="currentLocation/post/parent/thread/parent/board/id"/>/</xsl:attribute>
<img src="/static/images/all.gif" alt="" border="0" width="19" height="15" style="vertical-align: text-bottom" />
<xsl:text>Ñïèñîê</xsl:text>
</a>
</td>
<td class="navigation" nowrap="nowrap">
<form method="get" name="fullview">
<select name="fullview" class="formboxes" style="font-size:10px">
<option value="0" >Íîðì</option>
<option value="1" >Îôò</option>
<option value="2" selected="selected">Ìóñ</option>
</select>
</form>
</td>
<td class="navigation" nowrap="nowrap">
<a>
<xsl:attribute name="href">/Thread/<xsl:value-of select="currentLocation/post/parent/thread/id"/>/p<xsl:value-of select="currentLocation/post/id"/></xsl:attribute>
<img alt="*" src="/static/images/flat.gif" style="vertical-align: text-bottom" />
<xsl:text>Ïëîñêèé</xsl:text>
</a>
</td>
<td class="navigation" nowrap="nowrap">
<a>
<img src="/static/images/greythreaded.gif" border="0" style="vertical-align: text-bottom" alt="Äåðåâî" />
<xsl:text>Äåðåâî</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,104 @@
<?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\TextEditor.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Èçìåíåíèå ñîîáùåíèÿ - </xsl:text>
<xsl:value-of select="post/title"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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="board/name"/>
<xsl:text>)</xsl:text>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Çàïîëíèòå ïðèâåäåííóþ íèæå ôîðìó äëÿ èçìåíåíèÿ ñîîáùåíèÿ</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/Edit/" name="replier">
<input type="hidden" name="postId">
<xsl:attribute name="value"><xsl:value-of select="post/id"/></xsl:attribute>
</input>
<xsl:text>Ïîëüçîâàòåëü: </xsl:text>
<xsl:value-of select="session/user/name"/>
<br/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<br/>
<input type="text" tabindex="1" name="title" maxlength="70" class="formboxes" size="60">
<xsl:attribute name="value">
<xsl:choose>
<xsl:when test="newTitle and (newTitle != '')">
<xsl:value-of select="newTitle"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="revision/title"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</input>
<span class="small">Ñëîé ñîîáùåíèÿ:</span>
<select class="formboxes" name="layerId">
<xsl:apply-templates select="layers">
<xsl:with-param name="defaultLayerId"><xsl:value-of select="post/layerId"/></xsl:with-param>
</xsl:apply-templates>
</select>
<br/>
<br/>
<xsl:call-template name="textEditor">
<xsl:with-param name="body"><xsl:value-of select="revision/body"/></xsl:with-param>
</xsl:call-template>
<input type="submit" tabindex="3" name="textcont" taborder="2" value="Ïðîäîëæèòü" class="buttons"/>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<b>
<xsl:text>Àâòîð: </xsl:text>
<xsl:value-of select="post/poster/user/name"/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<xsl:value-of select="post/title"/>
</b>
</td>
</tr>
<tr>
<td class="lighttable">
<xsl:value-of select="post/body" disable-output-escaping="yes"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,157 @@
<?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\TextEditor.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Ìîäåðèðîâàíèå ñîîáùåíèÿ - </xsl:text>
<xsl:value-of select="post/title"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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="board/name"/>
<xsl:text>)</xsl:text>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Çàïîëíèòå ïðèâåäåííóþ íèæå ôîðìó äëÿ ìîäåðèðîâàíèÿ ñîîáùåíèÿ</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/Punish/" name="replier">
<input type="hidden" name="postId">
<xsl:attribute name="value"><xsl:value-of select="post/id"/></xsl:attribute>
</input>
<xsl:text>Òèï:</xsl:text><br/>
<xsl:apply-templates select="punishmentTypes/punishmentType"/>
<br/>
<input type="checkbox" name="transfer" value="transfer" id="Transfer"/>
<label for="Transfer">
<xsl:text> Ïåðåíåñòè ñîîáùåíèå â ðàçäåë</xsl:text>
</label>
<select name="transfer_boardId">
<option value="-1">Âûáåðèòå ðàçäåë</option>
<xsl:apply-templates select="categories/category" mode="select"/>
</select>
<input type="checkbox" name="transfer_subThread" value="transfer_subThread" id="Transfer_SubThread"/>
<label for="Transfer_SubThread">
<xsl:text> ñî âñåìè îòâåòàìè</xsl:text>
</label>
<br/>
<input type="checkbox" name="layerChange" value="layerChange" id="LayerChange"/>
<label for="LayerChange">
<xsl:text> Èçìåíèòü ñëîé</xsl:text>
</label>
<select name="layerChange_layerId">
<option value="-1">Âûáåðèòå ñëîé</option>
<xsl:apply-templates select="layers">
<xsl:with-param name="defaultLayerId"><xsl:value-of select="post/layerId"/></xsl:with-param>
</xsl:apply-templates>
</select>
<input type="checkbox" name="layerChange_subThread" value="layerChange_subThread" id="LayerChange_SubThread"/>
<label for="LayerChange_SubThread">
<xsl:text> ñî âñåìè îòâåòàìè</xsl:text>
</label>
<br/>
<br/>
<xsl:text>Êîììåíòàðèé: </xsl:text>
<br/>
<input type="text" tabindex="1" name="comment" class="formboxes" size="60"/>
<input type="submit" tabindex="3" name="textcont" taborder="2" value="Ïðîäîëæèòü" class="buttons"/>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<b>
<xsl:text>Àâòîð: </xsl:text>
<xsl:value-of select="post/poster/user/name"/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<xsl:value-of select="post/title"/>
</b>
</td>
</tr>
<tr>
<td class="lighttable">
<xsl:value-of select="post/body" disable-output-escaping="yes"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="punishmentType">
<input type="radio" name="punishmentTypeId">
<xsl:attribute name="id">punishmentTypeId_<xsl:value-of select="id"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute>
<xsl:if test="not(/root/isTrueModerator = 'true') and not(weight = '0')">
<xsl:attribute name="disabled">disabled</xsl:attribute>
</xsl:if>
</input>
<label>
<xsl:attribute name="for">punishmentTypeId_<xsl:value-of select="id"/></xsl:attribute>
<xsl:text> </xsl:text>
<xsl:value-of select="description"/>
<xsl:text>, âåñ íàêàçàíèÿ </xsl:text>
<xsl:value-of select="weight"/>
<xsl:text> (</xsl:text>
<xsl:value-of select="weightDescription"/>
<xsl:text>), ñðîê äåéñòâèÿ </xsl:text>
<xsl:apply-templates select="timeSpan"/>
</label>
<br/>
</xsl:template>
<xsl:template match="category" mode="select">
<optgroup>
<xsl:attribute name="label"><xsl:value-of select="name"/></xsl:attribute>
<xsl:apply-templates select="boards/board" mode="select"/>
</optgroup>
</xsl:template>
<xsl:template match="board" mode="select">
<xsl:param name="prefix"/>
<option>
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute>
<xsl:if test="not(/root/isTrueModerator = 'true') and not(isTransferTarget = 'true')">
<xsl:attribute name="disabled">disabled</xsl:attribute>
</xsl:if>
<xsl:value-of select="$prefix"/>
<xsl:value-of select="name"/>
</option>
<xsl:apply-templates select="subBoards/board" mode="select">
<xsl:with-param name="prefix">
<xsl:value-of select="$prefix"/>
<xsl:text>&#160;&#160;</xsl:text>
</xsl:with-param>
</xsl:apply-templates>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,115 @@
<?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\TextEditor.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Îòâåò íà ñîîáùåíèå - </xsl:text>
<xsl:value-of select="post/title"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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="board/name"/>
<xsl:text>)</xsl:text>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Çàïîëíèòå ïðèâåäåííóþ íèæå ôîðìó äëÿ îòïðàâêè ñîîáùåíèÿ â ôîðóì. HTML îòêëþ÷åí. UBBCode âêëþ÷åí, è âû ìîæåòå èñïîëüçîâàòü UBBCode â âàøèõ ñîîáùåíèÿõ. Àíîíèìíûå ñîîáùåíèÿ ðàçðåøåíû, è âû ìîæåòå âûáðàòü ëþáîå íåçàðåãèñòðèðîâàííîå èìÿ.</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/Reply/" name="replier">
<input type="hidden" name="parent">
<xsl:attribute name="value"><xsl:value-of select="post/id"/></xsl:attribute>
</input>
<xsl:text>Ïîëüçîâàòåëü: </xsl:text>
<xsl:value-of select="session/user/name"/>
<br/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<br/>
<input type="text" tabindex="1" name="title" maxlength="70" class="formboxes" size="60">
<xsl:attribute name="value">
<xsl:choose>
<xsl:when test="newTitle and (newTitle != '')">
<xsl:value-of select="newTitle"/>
</xsl:when>
<xsl:when test="substring(post/title, 1, 4)='Re: '">
<xsl:value-of select="post/title"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>Re: </xsl:text>
<xsl:value-of select="post/title"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</input>
<span class="small">Ñëîé ñîîáùåíèÿ:</span>
<select class="formboxes" name="layerId">
<xsl:apply-templates select="layers">
<xsl:with-param name="defaultLayerId"><xsl:value-of select="post/layerId"/></xsl:with-param>
</xsl:apply-templates>
</select>
<br/>
<br/>
<xsl:call-template name="textEditor">
<xsl:with-param name="body">
<xsl:if test="quoted and quoted != ''">
<xsl:text>[q]</xsl:text>
<xsl:value-of select="quoted"/>
<xsl:text>[/q]
</xsl:text>
</xsl:if>
</xsl:with-param>
</xsl:call-template>
<input type="submit" tabindex="3" name="textcont" taborder="2" value="Ïðîäîëæèòü" class="buttons"/>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<b>
<xsl:text>Àâòîð: </xsl:text>
<xsl:value-of select="post/poster/user/name"/>
<br/>
<xsl:text>Òåìà: </xsl:text>
<xsl:value-of select="post/title"/>
</b>
</td>
</tr>
<tr>
<td class="lighttable">
<xsl:value-of select="post/body" disable-output-escaping="yes"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,57 @@
<?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="specificTitle">Ðåãèñòðàöèÿ</xsl:template>
<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>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/RegisterByInvite/">
<input type="hidden" name="inviteId">
<xsl:attribute name="value"><xsl:value-of select="invite/id"/></xsl:attribute>
</input>
<input type="hidden" name="code">
<xsl:attribute name="value"><xsl:value-of select="invite/code"/></xsl:attribute>
</input>
<xsl:text>Èìÿ ïîëüçîâàòåëÿ</xsl:text><br/>
<input type="text" name="login" class="formboxes" maxlength="16"/><br/>
<xsl:text>Íîâûé ïàðîëü</xsl:text><br />
<input type="password" name="password" class="formboxes" /><br/>
<xsl:text>Ïîâòîðèòå ïàðîëü</xsl:text><br/>
<input type="password" name="password2" class="formboxes" /><br/>
<xsl:text>e-mail äëÿ âîññòàíîâëåíèÿ ïàðîëÿ (íåîáÿçàòåëüíî)</xsl:text><br/>
<input type="text" name="registrationEmail" class="formboxes" />
<br/>
<input type="checkbox" name="constitution" value="constitution" id="constitution"/>
<label for="constitution"> Äà, ÿ ñîãëàñåí/ñîãëàñíà/ñîãëàñíî ñ òåì, ÷òî íà ýòîì ôîðóìå äåéñòâóåò </label>
<a href="/q/constitution/" style="text-decoration:underline">îïèñàííàÿ ïî ýòîé ññûëêå êîíñòèòóöèÿ</a>
<xsl:text>.</xsl:text>
<i> (îáÿçàòåëüíî)</i>
<br/>
<input type="checkbox" name="showPostsToAll" value="showPostsToAll" id="showPostsToAll"/>
<label for="showPostsToAll"> Äà, ÿ ñîãëàñåí/ñîãëàñíà/ñîãëàñíî ñ òåì, ÷òîáû ìîè ñîîáùåíèÿ, ðàçìåù¸ííûå íà ýòîì ôîðóìå, áûëè äîñòóïíû ïóáëè÷íî.</label>
<i> (îáÿçàòåëüíî)</i>
<br/>
<input type="checkbox" name="law" value="law" id="law"/>
<label for="law"> Äà, ÿ îáÿçóþñü ñîáëþäàòü çàêîíû Ðîññèéñêîé Ôåäåðàöèè è Ôåäåðàòèâíîé Ðåñïóáëèêè Ãåðìàíèÿ â îáùåíèè íà ýòîì ôîðóìå.</label>
<i> (îáÿçàòåëüíî)</i>
<br/>
<input type="submit" name="buttlogin" value="Çàðåãèñòðèðîâàòüñÿ!" class="buttons" />
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,5 @@
<?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="..\Root.xslt"/>
</xsl:stylesheet>

@ -0,0 +1,148 @@
<?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="specificTitle">Íàñòðîéêè</xsl:template>
<xsl:template name="specific">
<script language="Javascript" type="text/javascript">
<xsl:text disable-output-escaping="yes"><![CDATA[
function changeSkin(newSkin) {
var links = document.getElementsByTagName("link");
for(i=0;i<links.length;i++) {
var link = links[i];
if((typeof(link.getAttribute) != "undefined") && (link.getAttribute("rel") == "stylesheet") && (link.getAttribute("skin") == "skin")) {
var newLink = document.createElement("link");
newLink.setAttribute("skin", "skin");
newLink.setAttribute("rel", "stylesheet");
newLink.setAttribute("type", "text/css");
newLink.setAttribute("href", "/static/css/" + newSkin + ".css");
link.parentNode.replaceChild(newLink, link);
}
}
}
function changeMachichara(newMachichara) {
document.getElementById("machicharaPreview").src = "/static/images/machichara/" + newMachichara + "-preview.gif";
}
]]></xsl:text>
</script>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>???</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/Settings/">
<p>
<xsl:text>Âàø òåêóùèé ïàðîëü</xsl:text>
<br/>
<input type="password" name="currentPassword"/>
</p>
<p>
<xsl:text>Åñëè âû õîòèòå èçìåíèòü ïàðîëü, ââåäèòå ñþäà íîâûé ïàðîëü</xsl:text>
<br/>
<input type="password" name="newPassword"/>
<br/>
<xsl:text>è ïîâòîðèòå åãî</xsl:text>
<br/>
<input type="password" name="newPassword2"/>
</p>
<p>
<xsl:text>e-mail äëÿ âîññòàíîâëåíèÿ ïàðîëÿ (íåîáÿçàòåëüíî)</xsl:text>
<br/>
<input type="text" name="registrationEmail"/>
</p>
<p>
<xsl:text>Ïîñòîâ íà ñòðàíèöó:</xsl:text>
<br/>
<input type="text" name="postsPerPage">
<xsl:attribute name="value"><xsl:value-of select="settings/postsPerPage"/></xsl:attribute>
</input>
</p>
<p>
<xsl:text>Òðåäîâ íà ñòðàíèöó:</xsl:text>
<br/>
<input type="text" name="threadsPerPage">
<xsl:attribute name="value"><xsl:value-of select="settings/threadsPerPage"/></xsl:attribute>
</input>
</p>
<p>
<xsl:text>Ïîëüçîâàòåëåé íà ñòðàíèöó:</xsl:text>
<br/>
<input type="text" name="usersPerPage">
<xsl:attribute name="value"><xsl:value-of select="settings/usersPerPage"/></xsl:attribute>
</input>
</p>
<p>
<xsl:text>Êàðòèíîê íà ñòðàíèöó:</xsl:text>
<br/>
<input type="text" name="uploadsPerPage">
<xsl:attribute name="value"><xsl:value-of select="settings/uploadsPerPage"/></xsl:attribute>
</input>
</p>
<p>
<xsl:text>Öâåòîâàÿ ñõåìà:</xsl:text>
<br/>
<select name="skinId">
<xsl:attribute name="onChange">changeSkin(this.options[this.selectedIndex].innerText);</xsl:attribute>
<xsl:apply-templates select="skins/skin" mode="skinOption">
<xsl:with-param name="currentSkin"><xsl:value-of select="settings/skinId"/></xsl:with-param>
</xsl:apply-templates>
</select>
</p>
<p>
<xsl:text>Machi-chara:</xsl:text>
<br/>
<select name="machicharaId">
<xsl:attribute name="onChange">changeMachichara(this.options[this.selectedIndex].innerText);</xsl:attribute>
<xsl:apply-templates select="machicharas/machichara" mode="machicharaOption">
<xsl:with-param name="currentMachichara"><xsl:value-of select="settings/machicharaId"/></xsl:with-param>
</xsl:apply-templates>
</select>
<br/>
<img id="machicharaPreview" border="0">
<xsl:attribute name="src">/static/images/machichara/<xsl:value-of select="machichara/name"/>-preview.gif</xsl:attribute>
</img>
</p>
<input type="submit" name="buttlogin" value="Îòïðàâèòü!" class="buttons" />
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="skin" mode="skinOption">
<xsl:param name="currentSkin"/>
<option>
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute>
<xsl:if test="id=$currentSkin">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="name"/>
</option>
</xsl:template>
<xsl:template match="machichara" mode="machicharaOption">
<xsl:param name="currentMachichara"/>
<option>
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute>
<xsl:if test="id=$currentMachichara">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="name"/>
</option>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,115 @@
<?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\PostInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:value-of select="currentLocation/thread/name"/>
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="rssRelativeLink"><xsl:value-of select="/root/currentBaseUrl"/>0-reversed</xsl:template>
<xsl:template name="specific">
<!--xsl:if test="not(get/param[@name='headers'] = 'false')">
<xsl:call-template name="threadInfo"/>
</xsl:if>
<br /-->
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
<xsl:apply-templates select="posts/post">
<xsl:with-param name="isReplyDisabled"><xsl:value-of select="thread/isLocked"/></xsl:with-param>
</xsl:apply-templates>
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--br />
<xsl:if test="not(get/param[@name='headers'] = 'false')">
<xsl:call-template name="threadInfo"/>
</xsl:if-->
</xsl:template>
<xsl:template name="threadInfo">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr class="darktable">
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr class="darktable">
<td align="left" width="33%">
<font class="catandforum">
<xsl:apply-templates select="currentLocation" mode="breadcrumbs"/>
</font>
</td>
<td width="33%" align="right">
<table border="0" class="tablesurround">
<tr>
<td class="navigation" nowrap="nowrap">
<a>
<xsl:attribute name="href">/Board/<xsl:value-of select="currentLocation/thread/parent/board/id"/>/</xsl:attribute>
<img src="/static/images/all.gif" alt="" border="0" width="19" height="15" style="vertical-align: text-bottom" />
<xsl:text>Ñïèñîê</xsl:text>
</a>
</td>
<td class="navigation" nowrap="nowrap">
<form method="get" name="fullview">
<select name="fullview" class="formboxes" style="font-size:10px">
<option value="0" >Íîðì</option>
<option value="1" >Îôò</option>
<option value="2" selected="selected">Ìóñ</option>
</select>
</form>
</td>
<td class="navigation" nowrap="nowrap">
<a>
<img alt="*" src="/static/images/greyflat.gif" style="vertical-align: text-bottom" />
<xsl:text>Ïëîñêèé</xsl:text>
</a>
</td>
<td class="navigation" nowrap="nowrap">
<a>
<img src="/static/images/greythreaded.gif" border="0" style="vertical-align: text-bottom" alt="Äåðåâî" />
<xsl:text>Äåðåâî</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,18 @@
<?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\UploadInfo.xslt"/>
<xsl:template name="specificTitle">Àïëîàä</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<xsl:apply-templates select="upload"/>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,44 @@
<?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\UploadInfo.xslt"/>
<xsl:template name="specificTitle">Àïëîàä</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="rssRelativeLink"><xsl:value-of select="/root/currentBaseUrl"/>0-reversed</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="uploads/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
<xsl:apply-templates select="uploads/upload"/>
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="uploads/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,36 @@
<?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="specificTitle">Çàãðóçêà ôàéëà</xsl:template>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Âûáåðèòå ôàéë äëÿ çàãðóçêè</xsl:text>
<br/>
<xsl:text>Ìàêñèìàëüíûé ðàçìåð ôàéëà &#8211; 1ÌÁ, äîïóñòèìûå ðàçðåøåíèÿ: gif, jpg, png, svg, jpe, jpeg, jfif, jif</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/Upload/" enctype="multipart/form-data">
<input type="file" name="file" class="formboxes" /><br/>
<input type="submit" name="buttlogin" value="Îòïðàâèòü!" class="buttons" />
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,75 @@
<?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="specificTitle">Ëè÷íûå äàííûå</xsl:template>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>???</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/UserData/">
<p>
<xsl:text>Òèòóë</xsl:text>
<br/>
<input type="text" name="title">
<xsl:attribute name="value"><xsl:value-of select="user/title"/></xsl:attribute>
</input>
</p>
<p>
<xsl:text>Èç:</xsl:text>
<br/>
<input type="text" name="location">
<xsl:attribute name="value"><xsl:value-of select="user/location"/></xsl:attribute>
</input>
</p>
<p>
<xsl:text>Áèîãðàôèÿ:</xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="4" class="formboxes" name="biography">
<xsl:choose>
<xsl:when test="user/biographyUbb">
<xsl:value-of select="user/biographyUbb"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</textarea>
</p>
<p>
<xsl:text>Ïîäïèñü:</xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="4" class="formboxes" name="signature">
<xsl:choose>
<xsl:when test="user/signatureUbb">
<xsl:value-of select="user/signatureUbb"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</textarea>
</p>
<input type="submit" name="buttlogin" value="Îòïðàâèòü!" class="buttons" />
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,219 @@
<?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="specificTitle"><xsl:value-of select="user/name"/></xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<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:value-of select="user/title"/>
</td>
</tr>
<tr>
<td class="darktable">
<xsl:text>Èòîãî ñîîáùåíèé</xsl:text>
</td>
<td>
<xsl:value-of select="user/totalPosts"/>
</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: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" disable-output-escaping="yes" />
</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:apply-templates select="lastActivity" mode="dateTime"/>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Ïîäïèñü</xsl:text>
</td>
<td>
<xsl:value-of select="user/signature" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Penalties</xsl:text>
</td>
<td colspan="2">
<xsl:choose>
<xsl:when test="punishments/punishment">
<table border="1" width="90%">
<tr class="tdheader">
<td width="4%">Âåñ</td>
<td width="10%">Ðàçäåë</td>
<td width="33%">Ñîîáùåíèå</td>
<td width="10%">Ìîäåðàòîð</td>
<td width="33%">Êîììåíòàðèé</td>
<td width="10%">Èñòåêàåò</td>
</tr>
<xsl:apply-templates select="punishments/punishment"/>
</table>
</xsl:when>
<xsl:otherwise>
<xsl:text>Íåò</xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Restrictions</xsl:text>
</td>
<td colspan="2">
<xsl:choose>
<xsl:when test="restrictions/restriction/layers/layer">
<table border="1" width="90%">
<tr class="tdheader">
<td width="20%">Ðàçäåë</td>
<td width="80%">Îãðàíè÷åíèå</td>
</tr>
<xsl:apply-templates select="restrictions/restriction"/>
</table>
</xsl:when>
<xsl:otherwise>
<xsl:text>Íåò</xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td valign="top" class="darktable">
<xsl:text>Êîììåíòàðèé</xsl:text>
</td>
<td>
<xsl:text>Not implemented</xsl:text>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="punishment">
<tr>
<td><xsl:value-of select="punishmentType/weightDescription"/></td>
<td>
<a>
<xsl:attribute name="href">/Board/<xsl:value-of select="originalBoard/board/id"/>/</xsl:attribute>
<xsl:value-of select="originalBoard/board/name"/>
</a>
</td>
<td>
<a>
<xsl:attribute name="href">/Post/<xsl:value-of select="post/id"/>/</xsl:attribute>
<xsl:value-of select="post/title"/>
</a>
</td>
<td><xsl:apply-templates select="moderator" mode="userLink"/></td>
<td><xsl:value-of select="comment"/></td>
<td><xsl:apply-templates select="expires" mode="dateTime"/></td>
</tr>
</xsl:template>
<xsl:template match="restriction">
<xsl:if test="layers/layer">
<tr>
<td>
<a>
<xsl:attribute name="href">/Board/<xsl:value-of select="board/id"/>/</xsl:attribute>
<xsl:value-of select="board/name"/>
</a>
</td>
<td>
<xsl:apply-templates select="layers/layer"/>
</td>
</tr>
</xsl:if>
</xsl:template>
<xsl:template match="restriction/layers/layer">
<xsl:if test="position() &gt; 1"><br/></xsl:if>
<xsl:text>Çàïðåùåíî èñïîëüçîâàíèå ñëîÿ </xsl:text>
<xsl:value-of select="name"/>
<xsl:text> äî </xsl:text>
<xsl:apply-templates select="restrictionExpires" mode="dateTime"/>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,94 @@
<?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="specificTitle">Ïîëüçîâàòåëè</xsl:template>
<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 class="tdheader">
<td align="left" width="15%" nowrap="nowrap">
<a>
<xsl:text>Ïîëüçîâàòåëü</xsl:text>
</a>
</td>
<td align="left" width="12%" nowrap="nowrap">
<a>
<xsl:text>Ãðóïïà</xsl:text>
</a>
</td>
<td align="left" width="5%" nowrap="nowrap">
<a>
<xsl:text>Èòîãî ñîîáùåíèé</xsl:text>
</a>
</td>
<td align="left" width="5%" nowrap="nowrap">
<a>
<xsl:text>Ðåéòèíã</xsl:text>
</a>
</td>
<td align="left" width="18%" nowrap="nowrap">
<a>
<xsl:text>Äàòà ðåãèñòðàöèè</xsl:text>
</a>
</td>
</tr>
<xsl:apply-templates select="users/user"/>
<xsl:if test="users/pageOuter">
<tr class="tdheader">
<td colspan="7">
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="users/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
</xsl:if>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="users/user">
<tr>
<xsl:choose>
<xsl:when test="position() mod 2 = 0">
<xsl:attribute name="class">lighttable</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="class">darktable</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<td>
<xsl:apply-templates select="current()" mode="userLink"/>
</td>
<td>
<xsl:value-of select="group/name"/>
</td>
<td>
<a>
<xsl:attribute name="href">/Users/User/<xsl:value-of select="id"/>/Posts/</xsl:attribute>
<xsl:value-of select="totalPosts"/>
<xsl:if test="actualPosts">
<xsl:text> (</xsl:text>
<xsl:value-of select="actualPosts"/>
<xsl:text>)</xsl:text>
</xsl:if>
</a>
</td>
<td>
<xsl:text>TODO</xsl:text>
</td>
<td>
<xsl:apply-templates select="regDate" mode="dateTime"/>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,33 @@
<?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\PollShortInfo.xslt"/>
<xsl:template name="specificTitle">Îïðîñû</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td align="left" nowrap="nowrap" width="75%" class="tdheader">Íàçâàíèå</td>
<td nowrap="nowrap" width="15%" class="tdheader" align="center">Àâòîð</td>
<td nowrap="nowrap" width="20%" class="tdheader" align="center">Äàòà</td>
</tr>
<!-- BEGIN POST LOOP DO NOT DELETE -->
<xsl:apply-templates select="polls/poll"/>
<!-- END OF LOOP -->
<tr class="tdheader">
<td colspan="3">
<font class="onbody">
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="polls/pageOuter" mode="withCurrent"/>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,46 @@
<?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\PostInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Ñîîáùåíèÿ - </xsl:text>
<xsl:value-of select="user/name"/>
</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
<xsl:apply-templates select="posts/post"/>
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,46 @@
<?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\PostInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Îòâåòû - </xsl:text>
<xsl:value-of select="user/name"/>
</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
<xsl:apply-templates select="posts/post"/>
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,37 @@
<?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\ThreadInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Òåìû - </xsl:text>
<xsl:value-of select="user/name"/>
</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" class="tablesurround">
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td align="left" width="55%" class="tdheader">Òåìà</td>
<td align="left" nowrap="nowrap" width="15%" class="tdheader">Àâòîð</td>
<td nowrap="nowrap" width="5%" class="tdheader" align="center">Ïðîñìîòðîâ</td>
<td nowrap="nowrap" width="5%" class="tdheader" align="center">Ïîñòîâ</td>
<td nowrap="nowrap" width="20%" class="tdheader" align="center">Ïîñëåäíåå</td>
</tr>
<xsl:apply-templates select="threads/thread"/>
<tr class="tdheader">
<td colspan="5">
<font class="onbody">
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="threads/pageOuter" mode="withCurrent"/>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,60 @@
<?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="specificTitle">Ïîëüçîâàòåëè</xsl:template>
<xsl:template name="isRssEnabled">true</xsl:template>
<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 class="tdheader">
<td align="left" width="15%" nowrap="nowrap">
<a>
<xsl:text>Ïîëüçîâàòåëü</xsl:text>
</a>
</td>
<td align="left" width="15%" nowrap="nowrap">
<a>
<xsl:text>Ïîñëåäíÿÿ àêòèâíîñòü</xsl:text>
</a>
</td>
<td align="left" width="70%" nowrap="nowrap">
<a>
<xsl:text>Ïîñëåäíÿÿ ïîñåù¸ííàÿ ñòðàíèöà</xsl:text>
</a>
</td>
</tr>
<xsl:apply-templates select="users/user"/>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="users/user">
<tr>
<xsl:choose>
<xsl:when test="position() mod 2 = 0">
<xsl:attribute name="class">lighttable</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="class">darktable</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<td>
<xsl:apply-templates select="current()" mode="userLink"/>
</td>
<td>
<xsl:apply-templates select="lastActivity" mode="dateTime"/>
</td>
<td>
<a>
<xsl:attribute name="href"><xsl:value-of select="lastUrl/url"/></xsl:attribute>
<xsl:value-of select="lastUrl/title"/>
</a>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,28 @@
<?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="specificTitle">Íåâåðíûé àäðåñ</xsl:template>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Ââåä¸ííûé âàìè àäðåñ </xsl:text>
<xsl:value-of select="path"/>
<xsl:text> íå íàéäåí</xsl:text>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,47 @@
<?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 name="boardHeader">
<xsl:variable name="baseLink">/Forum/Board/<xsl:value-of select="currentLocation//board[not(name(../..)='board')]/id"/>-<xsl:value-of select="currentLocation//board[not(name(../..)='board')]/nameTranslit"/>/</xsl:variable>
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
<tr>
<td>
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
<tr>
<td align="center" class="menubar">
<xsl:call-template name="headerLink">
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Threads/</xsl:with-param>
<xsl:with-param name="text">Òåìû</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Headlines/</xsl:with-param>
<xsl:with-param name="text">Çàãëàâíûå ñîîáùåíèÿ</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>NewThread/</xsl:with-param>
<xsl:with-param name="text">Íîâàÿ òåìà</xsl:with-param>
</xsl:call-template>
<xsl:if test="currentLocation//thread">
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Thread/<xsl:value-of select="currentLocation//thread/id"/>-<xsl:value-of select="currentLocation//thread/nameTranslit"/>/</xsl:with-param>
<xsl:with-param name="postfix">
<xsl:if test="currentLocation//post">
<xsl:text>Posts/p</xsl:text>
<xsl:value-of select="currentLocation//post/id"/>
</xsl:if>
</xsl:with-param>
<xsl:with-param name="text"><xsl:value-of select="substring(currentLocation//thread/name, 1, 30)"/></xsl:with-param>
</xsl:call-template>
</xsl:if>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,74 @@
<?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="board">
<tr>
<td width="4%" class="darktable" align="center" valign="middle">
<a>
<xsl:attribute name="onClick">if(!confirm('Ïîìåòèòü âñå ñîîáùåíèÿ êàê ïðî÷èòàííûå?')) {event.returnValue=false; return false;} else { alert("Not implemented yet"); }</xsl:attribute>
<xsl:choose>
<xsl:when test="(hasNewPosts='true') and not(lastPostInfo/post/poster/user/id = /root/session/user/id)">
<img border="0" width="17" height="21" src="/static/images/newposts.gif" alt=""/>
</xsl:when>
<xsl:otherwise>
<img border="0" width="17" height="21" src="/static/images/nonewposts.gif" alt=""/>
</xsl:otherwise>
</xsl:choose>
</a>
</td>
<td width="57%" class="darktable">
<font class="forumtitle">
<a>
<xsl:attribute name="href">/Board/<xsl:value-of select="id"/>/</xsl:attribute>
<xsl:value-of select="name"/>
</a>
</font>
<br />
<xsl:if test="(description != '') or (subBoards/board)">
<table cellpadding="0" cellspacing="0">
<xsl:if test="description != ''">
<tr>
<td class="forumdescript"><xsl:value-of select="description"/></td>
</tr>
</xsl:if>
<xsl:if test="subBoards/board">
<tr>
<td class="forumdescript" style="padding-top:0.3em">
<xsl:apply-templates select="subBoards/board"/>
</td>
</tr>
</xsl:if>
</table>
</xsl:if>
</td>
<td width="7%" align="center" class="threadtotal" nowrap="nowrap"><xsl:value-of select="totalThreads"/></td>
<td width="7%" align="center" class="posttotal" nowrap="nowrap"><xsl:value-of select="totalPosts"/></td>
<td width="15%" nowrap="nowrap" class="posttime">
<xsl:apply-templates select="lastPostInfo"/>
</td>
<td width="10%" class="modcolumn" align="center">
<xsl:apply-templates select="administrator/user | moderators/user" mode="userLink"/>
</td>
</tr>
</xsl:template>
<xsl:template match="lastPostInfo">
<xsl:if test="post">
<xsl:apply-templates select="post/postDate/date" mode="dateTime"/><br />
<a>
<xsl:attribute name="href">/Thread/<xsl:value-of select="post/threadId"/>/p<xsl:value-of select="post/id"/>/</xsl:attribute>
<xsl:text>îò </xsl:text>
<xsl:value-of select="post/poster/user/name"/>
</a>
</xsl:if>
</xsl:template>
<xsl:template match="subBoards/board">
<xsl:text> [</xsl:text>
<a>
<xsl:attribute name="href">/Board/<xsl:value-of select="id"/>/</xsl:attribute>
<xsl:value-of select="name"/>
</a>
<xsl:text>]</xsl:text>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,58 @@
<?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="conversation">
<tr>
<xsl:choose>
<xsl:when test="position() mod 2 = 0">
<xsl:attribute name="class">lighttable</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="class">darktable</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<td align="left">
<img alt="*" hspace="5" style="vertical-align: text-bottom">
<xsl:choose>
<xsl:when test="afterLastRead and afterLastRead&gt;lastMessageId">
<xsl:attribute name="src">/static/images/message-normal-read.gif</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="src">/static/images/message-normal-notread.gif</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</img>
<a>
<xsl:attribute name="href">
<xsl:text>/My/Conversations/Conversation/</xsl:text>
<xsl:value-of select="interlocutor/account/id"/>
<xsl:text>/</xsl:text>
<xsl:if test="afterLastRead&lt;=lastMessageId">
<xsl:text>p</xsl:text>
<xsl:value-of select="afterLastRead"/>
</xsl:if>
</xsl:attribute>
<xsl:value-of select="interlocutor/account/user/name"/>
</a>
<span class="small" style="margin-left:1.5em">
<xsl:apply-templates select="pageOuter" mode="withoutCurrent">
<xsl:with-param name="baseLink">/My/Conversations/Conversation/<xsl:value-of select="interlocutor/account/id"/>/</xsl:with-param>
</xsl:apply-templates>
</span>
</td>
<td align="center" nowrap="nowrap">
<span class="separate"><xsl:value-of select="totalMessages"/></span>
<xsl:if test="totalNewMessages and totalNewMessages!='0'">
<a class="cup separate">
<font class="new"><i>(<xsl:value-of select="totalNewMessages"/>)</i></font>
</a>
</xsl:if>
</td>
<td nowrap="nowrap" align="center">
<xsl:apply-templates select="lastMessageDate/date" mode="dateTime"/>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,68 @@
<?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="BoardHeader.xslt"/>
<xsl:template name="forumHeader">
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
<tr>
<td>
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
<tr>
<td align="center" class="menubar">
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Forum/Boards/</xsl:with-param>
<xsl:with-param name="text">Ñïèñîê ðàçäåëîâ</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Forum/AllThreads/</xsl:with-param>
<xsl:with-param name="text">Ïîñëåäíèå òåìû</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Forum/AllPosts/</xsl:with-param>
<xsl:with-param name="text">Ïîñëåäíèå ñîîáùåíèÿ</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<img src="/static/images/shortcut.png" border="0"/>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/User/<xsl:value-of select="session/user/id"/>/Replies/</xsl:with-param>
<xsl:with-param name="text">Îòâåòû ìíå</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:if test="currentLocation//board[not(name(../..)='board')]">
<xsl:text> | </xsl:text>
<xsl:apply-templates select="currentLocation//board[not(name(../..)='board')]" mode="headerBoardLink"/>
</xsl:if>
</td>
</tr>
</table>
</td>
</tr>
</table>
<xsl:if test="currentLocation//board">
<xsl:call-template name="boardHeader"/>
</xsl:if>
</xsl:template>
<xsl:template match="board" mode="headerParentBoardLink">
<xsl:apply-templates select="parent/board" mode="headerParentBoardLink"/>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Forum/Board/<xsl:value-of select="id"/>-<xsl:value-of select="nameTranslit"/>/</xsl:with-param>
<xsl:with-param name="text"><xsl:value-of select="substring(name, 1, 1)"/></xsl:with-param>
</xsl:call-template>
<xsl:text> &#8594; </xsl:text>
</xsl:template>
<xsl:template match="board" mode="headerBoardLink">
<xsl:apply-templates select="parent/board" mode="headerParentBoardLink"/>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Forum/Board/<xsl:value-of select="id"/>-<xsl:value-of select="nameTranslit"/>/</xsl:with-param>
<xsl:with-param name="text"><xsl:value-of select="name"/></xsl:with-param>
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,176 @@
<?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="ForumHeader.xslt"/>
<xsl:import href="MyHeader.xslt"/>
<xsl:import href="PollsHeader.xslt"/>
<xsl:import href="UsersHeader.xslt"/>
<xsl:import href="UploadHeader.xslt"/>
<xsl:template name="isLiteEnabled">false</xsl:template>
<xsl:template name="isRssEnabled">false</xsl:template>
<xsl:template name="rssRelativeLink"><xsl:value-of select="currentBaseUrl"/></xsl:template>
<xsl:template name="headerLink">
<xsl:param name="url"/>
<xsl:param name="text"/>
<xsl:param name="isDisabled"/>
<xsl:param name="postfix"/>
<a target="_top">
<xsl:if test="not($isDisabled='true')">
<xsl:attribute name="href"><xsl:value-of select="$url"/><xsl:value-of select="$postfix"/>?<xsl:value-of select="current/date/ticks"/></xsl:attribute>
</xsl:if>
<xsl:if test="starts-with(/root/currentUrl, $url)">
<xsl:attribute name="class">currentLink</xsl:attribute>
</xsl:if>
<xsl:value-of select="$text"/>
</a>
</xsl:template>
<xsl:template name="header">
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
<tr>
<td>
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
<tr>
<td align="center" class="menubar">
<table width="100%" border="0">
<tr>
<td width="15%">&#160;</td>
<td width="70%" align="center">
<xsl:if test="session/sessionKey and (session/indicators/unreadPrivateMessages != '0')">
<a href="/My/Conversations/">
<img src="/static/images/newpm.gif" border="0">
<xsl:attribute name="alt">
<xsl:text>Ó âàñ </xsl:text>
<xsl:value-of select="session/indicators/unreadPrivateMessages"/>
<xsl:text> íåïðî÷èòàííûõ ëè÷íûõ ñîîáùåíèé</xsl:text>
</xsl:attribute>
</img>
</a>
<xsl:text> | </xsl:text>
</xsl:if>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Forum/</xsl:with-param>
<xsl:with-param name="text">Ôîðóì</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Polls/</xsl:with-param>
<xsl:with-param name="text">Îïðîñû</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Upload/</xsl:with-param>
<xsl:with-param name="text">Àïëîàä</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/My/</xsl:with-param>
<xsl:with-param name="text">My Home</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/q/faq/</xsl:with-param>
<xsl:with-param name="text">FAQ</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/</xsl:with-param>
<xsl:with-param name="text">Ïîëüçîâàòåëè</xsl:with-param>
</xsl:call-template>
</td>
<td width="15%" align="right">
<xsl:variable name="isLiteEnabled">
<xsl:call-template name="isLiteEnabled"/>
</xsl:variable>
<xsl:variable name="isRssEnabled">
<xsl:call-template name="isRssEnabled"/>
</xsl:variable>
<xsl:variable name="rssRelativeLink">
<xsl:call-template name="rssRelativeLink"/>
</xsl:variable>
<xsl:variable name="prefix">
<xsl:text>https://</xsl:text>
<xsl:value-of select="url/host"/>
<xsl:text>:</xsl:text>
<xsl:if test="url/port &gt;= 1000">
<xsl:value-of select="floor(url/port div 1000)"/>
</xsl:if>
</xsl:variable>
<a>
<xsl:if test="$isLiteEnabled='true'">
<xsl:attribute name="href">
<xsl:value-of select="$prefix"/>
<xsl:text>447</xsl:text>
<xsl:value-of select="currentUrl"/>
</xsl:attribute>
</xsl:if>
<img border="0">
<xsl:attribute name="src">
<xsl:text>/static/images/light</xsl:text>
<xsl:if test="not($isLiteEnabled='true')">
<xsl:text>-disabled</xsl:text>
</xsl:if>
<xsl:text>.png</xsl:text>
</xsl:attribute>
</img>
</a>
<xsl:text>&#160;&#160;</xsl:text>
<a>
<xsl:if test="$isRssEnabled='true'">
<xsl:attribute name="href">
<xsl:value-of select="$prefix"/>
<xsl:text>449</xsl:text>
<xsl:value-of select="$rssRelativeLink"/>
</xsl:attribute>
</xsl:if>
<img border="0">
<xsl:attribute name="src">
<xsl:text>/static/images/rss</xsl:text>
<xsl:if test="not($isRssEnabled='true')">
<xsl:text>-disabled</xsl:text>
</xsl:if>
<xsl:text>.png</xsl:text>
</xsl:attribute>
</img>
</a>
<xsl:if test="$isRssEnabled='true'">
<link rel="alternate" type="application/rss+xml" title="RSS">
<xsl:attribute name="href">
<xsl:value-of select="$prefix"/>
<xsl:text>449</xsl:text>
<xsl:value-of select="$rssRelativeLink"/>
</xsl:attribute>
</link>
</xsl:if>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<xsl:if test="starts-with(/root/currentUrl, '/Forum/')">
<xsl:call-template name="forumHeader"/>
</xsl:if>
<xsl:if test="starts-with(/root/currentUrl, '/Users/')">
<xsl:call-template name="usersHeader"/>
</xsl:if>
<xsl:if test="starts-with(/root/currentUrl, '/My/')">
<xsl:call-template name="myHeader"/>
</xsl:if>
<xsl:if test="starts-with(/root/currentUrl, '/Upload/')">
<xsl:call-template name="uploadHeader"/>
</xsl:if>
<xsl:if test="starts-with(/root/currentUrl, '/Polls/')">
<xsl:call-template name="pollsHeader"/>
</xsl:if>
<center>&#160;&#160;</center>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,309 @@
<?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="Header.xslt"/>
<xsl:output method="xml" indent="no" />
<xsl:template match="/root">
<html>
<head>
<link rel="stylesheet" href="/static/css/global.css?v1" type="text/css" />
<link rel="stylesheet" type="text/css" skin="skin">
<xsl:attribute name="href">/static/css/<xsl:value-of select="skin/name"/>.css</xsl:attribute>
</link>
<link rel="shortcut icon" href="/static/favicons/smirk.ico" type="image/x-icon" />
<script language="Javascript" type="text/javascript" src="/static/js/common.js"><xsl:text> </xsl:text></script>
<script language="Javascript" type="text/javascript" src="/static/js/machichara/complex.js?v1"><xsl:text> </xsl:text></script>
<script language="Javascript" type="text/javascript" src="/static/js/machichara/simple.js?v1"><xsl:text> </xsl:text></script>
<script language="Javascript" type="text/javascript" src="/static/js/machichara/simple.js?v1">
<xsl:attribute name="src">
<xsl:text>/static/js/machichara/</xsl:text>
<xsl:value-of select="machichara/name"/>
<xsl:text>-specific.js</xsl:text>
</xsl:attribute>
<xsl:text> </xsl:text>
</script>
<title>
<xsl:call-template name="specificTitle"/>
<xsl:text> - </xsl:text>
<xsl:value-of select="title"/>
</title>
</head>
<body>
<xsl:attribute name="onLoad">machicharaInit();</xsl:attribute>
<xsl:if test="not(get/param[@name='headers'] = 'false')">
<xsl:call-template name="header"/>
</xsl:if>
<xsl:call-template name="specific"/>
<div style="display:none">
<form action="" method="POST" id="systemForm">
<input type="hidden" name="data"/>
</form>
</div>
<xsl:if test="not(get/param[@name='headers'] = 'false')">
<div style="min-width:20px;width:20px;max-width:20px;overflow:visible;position:absolute;right:0px;top:0px;height:100%;text-align:right;">
<br/>
<div style="min-width:20px;width:20px;max-width:20px;overflow:visible;text-align:right;height:260px;min-height:260px;max-height:260px;">
<div style="position:absolute;top:20px;right:20px;display:none" id="pokerPlaceholder">
<img border="0" src="/static/images/poker.jpg" align="top"/>
</div>
<div style="min-width:20px;width:20px;max-width:20px;text-align:right;">
<xsl:attribute name="onMouseOver">document.getElementById("pokerPlaceholder").style.display = "block";</xsl:attribute>
<xsl:attribute name="onMouseOut">document.getElementById("pokerPlaceholder").style.display = "none";</xsl:attribute>
<img border="0" src="/static/images/tab_poker.png" align="top"/>
</div>
</div>
<br/>
<div style="min-width:20px;width:20px;max-width:20px;overflow:visible;text-align:right;height:260px;min-height:260px;max-height:260px;">
<div style="position:absolute;top:20px;right:20px;display:none" id="courtesansPlaceholder">
<img border="0" src="/static/images/courtesans.jpg" align="top"/>
</div>
<div style="min-width:20px;width:20px;max-width:20px;text-align:right;">
<xsl:attribute name="onMouseOver">document.getElementById("courtesansPlaceholder").style.display = "block";</xsl:attribute>
<xsl:attribute name="onMouseOut">document.getElementById("courtesansPlaceholder").style.display = "none";</xsl:attribute>
<img border="0" src="/static/images/tab_courtesans.png" align="top"/>
</div>
</div>
</div>
</xsl:if>
<xsl:if test="get/param[@name='debug'] = 'true'">
<xsl:text disable-output-escaping="yes"><![CDATA[<!--]]></xsl:text>
<br />
<xsl:text>Data used for authoring this XHTML document:</xsl:text>
<xmp><xsl:copy-of select="/"/></xmp>
<xsl:text disable-output-escaping="yes"><![CDATA[-->]]></xsl:text>
</xsl:if>
</body>
</html>
</xsl:template>
<xsl:template match="parent" mode="breadcrumbsPart">
<xsl:apply-templates select="*/parent" mode="breadcrumbsPart"/>
<xsl:if test="category/id">
<a>
<xsl:attribute name="href">/Boards/</xsl:attribute>
<xsl:value-of select="category/name"/>
</a>
<xsl:text> &gt;&gt; </xsl:text>
</xsl:if>
<xsl:if test="board/id">
<a>
<xsl:attribute name="href">/Board/<xsl:value-of select="board/id"/>/</xsl:attribute>
<xsl:value-of select="board/name"/>
</a>
<xsl:text> &gt;&gt; </xsl:text>
</xsl:if>
<xsl:if test="thread/id">
<a>
<xsl:attribute name="href">
<xsl:text>/Thread/</xsl:text>
<xsl:value-of select="thread/id"/>
<xsl:if test="parent::post/id">
<xsl:text>/p</xsl:text>
<xsl:value-of select="parent::post/id"/>
</xsl:if>
</xsl:attribute>
<xsl:value-of select="thread/name"/>
</a>
<xsl:text> &gt;&gt; </xsl:text>
</xsl:if>
</xsl:template>
<xsl:template match="currentLocation" mode="breadcrumbs">
<xsl:apply-templates select="*/parent" mode="breadcrumbsPart"/>
<xsl:value-of select="*/name"/>
</xsl:template>
<xsl:template match="date" mode="navigationImageFor">
<xsl:param name="alt"/>
<xsl:param name="src"/>
<img border="0" style="vertical-align: text-bottom">
<xsl:attribute name="src">
<xsl:text>/static/images/</xsl:text>
<xsl:choose>
<xsl:when test="year = /root/current/date/year">
<xsl:value-of select="$src"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>slowpoke.png</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:attribute name="alt">
<xsl:value-of select="$alt"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="$alt"/>
</xsl:attribute>
</img>
</xsl:template>
<xsl:template match="date" mode="_date">
<xsl:choose>
<xsl:when test="year=/root/current/date/year and month=/root/current/date/month and mday=/root/current/date/mday">
<xsl:text>ñåãîäíÿ</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="year=/root/current/date/year and month=/root/current/date/month and (mday+1)=/root/current/date/mday">
<xsl:text>â÷åðà</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="format-number(mday, '00')"/>
<xsl:text>.</xsl:text>
<xsl:value-of select="format-number(month, '00')"/>
<xsl:text>.</xsl:text>
<xsl:value-of select="year"/>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="date" mode="dateTime">
<span nowrap="nowrap">
<xsl:apply-templates select="current()" mode="_date"/>
<xsl:text> </xsl:text>
<xsl:value-of select="format-number(hour, '00')"/>
<xsl:text>:</xsl:text>
<xsl:value-of select="format-number(minute, '00')"/>
<xsl:text>:</xsl:text>
<xsl:value-of select="format-number(second, '00')"/>
</span>
</xsl:template>
<xsl:template match="date" mode="date">
<span nowrap="nowrap">
<xsl:apply-templates select="current()" mode="_date"/>
</span>
</xsl:template>
<xsl:template match="timeSpan">
<span nowrap="nowrap">
<xsl:if test="days &gt; 0">
<xsl:value-of select="days"/>
<xsl:text> äíåé </xsl:text>
</xsl:if>
<xsl:if test="hours &gt; 0">
<xsl:value-of select="hours"/>
<xsl:text> ÷àñîâ </xsl:text>
</xsl:if>
<xsl:if test="minutes &gt; 0">
<xsl:value-of select="minutes"/>
<xsl:text> ìèíóò </xsl:text>
</xsl:if>
<xsl:if test="seconds &gt; 0">
<xsl:value-of select="seconds"/>
<xsl:text> ñåêóíä </xsl:text>
</xsl:if>
</span>
</xsl:template>
<xsl:template match="pageOuter/pages/page" mode="withoutCurrent">
<xsl:param name="baseLink"/>
<xsl:param name="postfix"/>
<xsl:param name="selected">-1</xsl:param>
<xsl:if test="current() != '0'">
<xsl:text>&#8201;|&#8201;</xsl:text>
</xsl:if>
<xsl:choose>
<xsl:when test="current() != $selected">
<a>
<xsl:attribute name="href">
<xsl:value-of select="$baseLink"/>
<xsl:value-of select="current()"/>
<xsl:value-of select="$postfix"/>
</xsl:attribute>
<xsl:value-of select="current()"/>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="current()"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="pageOuter" mode="withoutCurrent">
<xsl:param name="baseLink"/>
<xsl:apply-templates select="pages/page" mode="withoutCurrent">
<xsl:with-param name="baseLink"><xsl:value-of select="$baseLink"/></xsl:with-param>
<xsl:with-param name="postfix"/>
<xsl:with-param name="selected">-1</xsl:with-param>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="pageOuter" mode="withCurrent">
<xsl:param name="baseLink"/>
<xsl:variable name="postfix">
<xsl:if test="isReversed='true'">-reversed</xsl:if>
</xsl:variable>
<xsl:text> </xsl:text>
<xsl:apply-templates select="pages/page" mode="withoutCurrent">
<xsl:with-param name="baseLink"><xsl:value-of select="$baseLink"/></xsl:with-param>
<xsl:with-param name="postfix">
<xsl:value-of select="$postfix"/>
</xsl:with-param>
<xsl:with-param name="selected">
<xsl:choose>
<xsl:when test="unlimited='false'">
<xsl:value-of select="start"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>-1</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:with-param>
</xsl:apply-templates>
<xsl:if test="total &lt;= 1000">
<xsl:text>&#8201;|&#8201;</xsl:text>
<xsl:choose>
<xsl:when test="unlimited='false'">
<a>
<xsl:attribute name="href">
<xsl:value-of select="$baseLink"/>
<xsl:text>all</xsl:text>
<xsl:value-of select="$postfix"/>
</xsl:attribute>
<xsl:text>âñå</xsl:text>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:text>âñå</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test="next">
<xsl:text>&#8201;|&#8201;</xsl:text>
<a rel="next">
<xsl:attribute name="href">
<xsl:value-of select="$baseLink"/>
<xsl:value-of select="next"/>
<xsl:value-of select="$postfix"/>
</xsl:attribute>
<xsl:text>Ñëåäóþùàÿ ñòðàíèöà</xsl:text>
</a>
</xsl:if>
</xsl:template>
<xsl:template match="user" mode="userLink">
<xsl:if test="position() &gt; 1">
<xsl:text> </xsl:text>
</xsl:if>
<a nobr="nobr">
<xsl:attribute name="class">
<xsl:text>separate </xsl:text>
<xsl:text>UG_</xsl:text><xsl:value-of select="group/name"/>
</xsl:attribute>
<xsl:attribute name="href">/Users/User/<xsl:value-of select="id"/>/Info/</xsl:attribute>
<xsl:value-of select="name"/>
<xsl:choose>
<xsl:when test="isAdministrator='true'">
<img src="/static/images/adm.gif" border="0"/>
</xsl:when>
<xsl:when test="isModerator='true'">
<img src="/static/images/mod.gif" border="0"/>
</xsl:when>
</xsl:choose>
</a>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,87 @@
<?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 name="myHeader">
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
<tr>
<td>
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
<tr>
<td align="center" class="menubar">
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/My/Login/</xsl:with-param>
<xsl:with-param name="text">Âõîä</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="session/sessionKey">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/My/Conversations/</xsl:with-param>
<xsl:with-param name="text">
<xsl:choose>
<xsl:when test="session/sessionKey and (session/indicators/unreadPrivateMessages != '0')">
<b>
<xsl:text>Ëè÷íûå ñîîáùåíèÿ (</xsl:text>
<xsl:value-of select="session/indicators/unreadPrivateMessages"/>
<xsl:text>)</xsl:text>
</b>
</xsl:when>
<xsl:otherwise>
<xsl:text>Ëè÷íûå ñîîáùåíèÿ</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/My/Settings/</xsl:with-param>
<xsl:with-param name="text">Íàñòðîéêè</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/My/UserData/</xsl:with-param>
<xsl:with-param name="text">Ëè÷íûå äàííûå</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/My/Avatars/</xsl:with-param>
<xsl:with-param name="text">Àâàòàðêè</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<img src="/static/images/shortcut.png" border="0"/>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/User/<xsl:value-of select="session/user/id"/>/Info/</xsl:with-param>
<xsl:with-param name="text">Ïðîôèëü</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<a target="_top">
<xsl:if test="session/sessionKey">
<xsl:attribute name="href">/do/Logout/?sessionKey=<xsl:value-of select="session/sessionKey"/></xsl:attribute>
</xsl:if>
<xsl:text>Âûõîä</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,120 @@
<?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="message">
<tr>
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td width="120" valign="top" class="darktable" rowspan="2">
<a><xsl:attribute name="name">Message<xsl:value-of select="id"/></xsl:attribute></a>
<xsl:apply-templates select="poster/account/user" mode="userInfoBar"/>
</td>
<td class="subjecttable">
<xsl:if test="isReadByInterlocutor='false'">
<xsl:attribute name="class">warning</xsl:attribute>
</xsl:if>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" width="65%" valign="top">
<a target="_blank" class="separate">
<img border="0" alt="" style="vertical-align: text-bottom">
<xsl:choose>
<xsl:when test="isRead='false'">
<xsl:attribute name="src">/static/images/message-normal-notread.gif</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="src">/static/images/message-normal-read.gif</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</img>
</a>
<b class="separate"><xsl:value-of select="title"/></b>
<xsl:if test="isRead='false'">
<img alt="new" src="/static/images/new.gif" />
</xsl:if>
<br />
<font class="small" style="padding-left:2em"><xsl:apply-templates select="postDate/date" mode="dateTime"/></font>
</td>
<td align="right" width="35%">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="right">
<table class="tablesurround" border="0">
<tr>
<td class="navigation">
<a>
<xsl:attribute name="href">/My/Conversations/PMReply/<xsl:value-of select="id"/>/</xsl:attribute>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">reply.gif</xsl:with-param>
<xsl:with-param name="alt">Îòâåò</xsl:with-param>
</xsl:apply-templates>
</a>
</td>
<td class="navigation">
<a>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">edit.gif</xsl:with-param>
<xsl:with-param name="alt">Ïðàâêà</xsl:with-param>
</xsl:apply-templates>
</a>
</td>
<td class="navigation">
<a target="_blank">
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">print.gif</xsl:with-param>
<xsl:with-param name="alt">Ïå÷àòü</xsl:with-param>
</xsl:apply-templates>
</a>
</td>
<td class="navigation">
<a>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">email2.gif</xsl:with-param>
<xsl:with-param name="alt">Îòâåòèòü â ÏÌ</xsl:with-param>
</xsl:apply-templates>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="lighttable">
<table width="100%" cellspacing="0" cellpadding="0" style="table-layout: fixed">
<tr>
<td>
<br />
<font class="post">
<xsl:value-of select="body" disable-output-escaping="yes" />
<br />
<br />
</font>
</td>
</tr>
<xsl:if test="poster/account/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/account/user/signature" disable-output-escaping="yes" /><br /></font>
</div>
</td>
</tr>
</xsl:if>
</table>
</td>
</tr>
</table>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,164 @@
<?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="poll">
<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="poster" mode="userInfoBar"/>
</td>
<td class="subjecttable">
<a target="_blank" class="separate">
<img border="0" src="/static/images/message-normal-read.gif" alt="" style="vertical-align: text-bottom" />
</a>
<b class="separate"><xsl:value-of select="title" disable-output-escaping="yes"/></b>
<br />
<font class="small" style="padding-left:2em"><xsl:apply-templates select="postDate/date" mode="dateTime"/></font>
</td>
</tr>
<tr>
<td class="lighttable">
<table width="100%" cellspacing="0" cellpadding="0" style="table-layout: fixed">
<tr>
<td>
<font class="post">
<form action="/do/Vote/" method="POST">
<input type="hidden" name="pollId">
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute>
</input>
<h2><xsl:value-of select="title" disable-output-escaping="yes"/></h2>
<p>
<xsl:choose>
<xsl:when test="isDetailed='true'">
<xsl:text>Äåòàëèçàöèÿ ïî ãîëîñàì â ýòîì îïðîñå îòêðûòà</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>Ýòî àíîíèìíûé îïðîñ</xsl:text>
</xsl:otherwise>
</xsl:choose>
</p>
<p>
<xsl:choose>
<xsl:when test="isMultiOption='true'">
<xsl:text>Ýòîò îïðîñ äîïóñêàåò âûáîð íåñêîëüêèõ âàðèàíòîâ îòâåòà</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>Ýòîò îïðîñ äîïóñêàåò âûáîð òîëüêî îäíîãî âàðèàíòà îòâåòà</xsl:text>
</xsl:otherwise>
</xsl:choose>
</p>
<p>
<xsl:text>Âñåãî ãîëîñîâ: </xsl:text>
<xsl:value-of select="options/total"/>
</p>
<table border="2" width="100%">
<xsl:apply-templates select="options/option">
<xsl:with-param name="inputType">
<xsl:choose>
<xsl:when test="isMultiOption='true'">
<xsl:text>checkbox</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>radio</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:with-param>
<xsl:with-param name="totalVotes">
<xsl:value-of select="options/total"/>
</xsl:with-param>
</xsl:apply-templates>
</table>
<input type="submit" value="Ïðîãîëîñîâàòü"/>
</form>
<br/>
<br/>
<xsl:text>Äëÿ âñòàâêè ññûëêè â ôîðóì èñïîëüçóéòå òýã [poll]</xsl:text>
<xsl:value-of select="id"/>
<xsl:text>[/poll]</xsl:text>
<br/>
<br/>
</font>
</td>
</tr>
<xsl:if test="poster/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" disable-output-escaping="yes" /><br /></font>
</div>
</td>
</tr>
</xsl:if>
</table>
</td>
</tr>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="option">
<xsl:param name="inputType">radio</xsl:param>
<xsl:param name="totalVotes">0</xsl:param>
<tr>
<td width="50%">
<input name="option">
<xsl:attribute name="type"><xsl:value-of select="$inputType"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute>
<xsl:attribute name="id">option_<xsl:value-of select="id"/></xsl:attribute>
<xsl:if test="isSelected='true'">
<xsl:attribute name="checked">checked</xsl:attribute>
</xsl:if>
<xsl:if test="not(/root/session/sessionKey)">
<xsl:attribute name="disabled">disabled</xsl:attribute>
</xsl:if>
</input>
<label for="option">
<xsl:attribute name="for">option_<xsl:value-of select="id"/></xsl:attribute>
<xsl:text> </xsl:text>
<xsl:value-of select="name" disable-output-escaping="yes"/>
</label>
</td>
<td width="50%">
<div class="pollcolor">
<xsl:attribute name="style">
<xsl:text>height:1em;</xsl:text>
<xsl:text>width:</xsl:text>
<xsl:choose>
<xsl:when test="votes &gt; 0">
<xsl:value-of select="round(100 * votes div $totalVotes)"/>
<xsl:text>%</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>3px</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:text> </xsl:text>
</div>
<p>
<xsl:value-of select="votes"/>
<xsl:text> ãîëîñîâ (</xsl:text>
<xsl:choose>
<xsl:when test="votes &gt; 0">
<xsl:value-of select="round(100 * votes div $totalVotes)"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>0</xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:text>%)</xsl:text>
</p>
<xsl:if test="voters/user">
<p>
<xsl:apply-templates select="voters/user" mode="userLink"/>
</p>
</xsl:if>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,38 @@
<?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="poll">
<tr>
<xsl:choose>
<xsl:when test="position() mod 2 = 0">
<xsl:attribute name="class">lighttable</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="class">darktable</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<td align="left">
<img alt="*" hspace="5" style="vertical-align: text-bottom">
<xsl:attribute name="src">/static/images/message-normal-read.gif</xsl:attribute>
</img>
<xsl:text> </xsl:text>
<a>
<xsl:attribute name="href">
<xsl:text>/Poll/Info/</xsl:text>
<xsl:value-of select="id"/>
<xsl:text>/</xsl:text>
</xsl:attribute>
<xsl:value-of select="title" disable-output-escaping="yes" />
</a>
</td>
<td align="left" nowrap="nowrap">
<xsl:apply-templates select="poster/user" mode="userLink"/>
</td>
<td nowrap="nowrap" align="center">
<xsl:apply-templates select="postDate/date" mode="dateTime"/>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,37 @@
<?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 name="pollsHeader">
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
<tr>
<td>
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
<tr>
<td align="center" class="menubar">
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Polls/List/</xsl:with-param>
<xsl:with-param name="text">Ñïèñîê</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Polls/New/</xsl:with-param>
<xsl:with-param name="text">Ñîçäàòü íîâûé</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<img src="/static/images/shortcut.png" border="0"/>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/User/<xsl:value-of select="session/user/id"/>/PollsParticipated/</xsl:with-param>
<xsl:with-param name="text">Ñ ìîèìè ãîëîñàìè</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,304 @@
<?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="post">
<xsl:param name="isReplyDisabled">true</xsl:param>
<tr>
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td width="120" valign="top" class="darktable" rowspan="2">
<a><xsl:attribute name="name">Post<xsl:value-of select="id"/></xsl:attribute></a>
<xsl:apply-templates select="poster/user" mode="userInfoBar"/>
</td>
<td class="subjecttable">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" width="80%" valign="top">
<a target="_blank" class="separate">
<xsl:attribute name="href">/Post/<xsl:value-of select="id"/>/</xsl:attribute>
<img border="0" alt="" style="vertical-align: text-bottom">
<xsl:choose>
<xsl:when test="isUnread='true'">
<xsl:attribute name="src">/static/images/message-<xsl:value-of select="layerName"/>-notread.gif</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="src">/static/images/message-<xsl:value-of select="layerName"/>-read.gif</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</img>
</a>
<b class="separate"><xsl:value-of select="title"/></b>
<xsl:if test="isUnread='true'">
<img alt="new" src="/static/images/new.gif" />
</xsl:if>
<xsl:if test="parentPost/post">
<font class="small separate">
<xsl:text>[</xsl:text>
<a>
<xsl:attribute name="title"><xsl:value-of select="parentPost/post/bodyShort"/></xsl:attribute>
<xsl:attribute name="href">/Thread/<xsl:value-of select="threadId"/>/p<xsl:value-of select="parentPost/post/id"/>/</xsl:attribute>
<xsl:text>re: </xsl:text>
<xsl:value-of select="parentPost/post/poster/user/name"/>
</a>
<xsl:text>]</xsl:text>
</font>
</xsl:if>
<br />
<font class="small" style="padding-left:2em"><xsl:apply-templates select="postDate/date" mode="dateTime"/></font>
</td>
<td align="right" width="20%">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="right">
<table class="tablesurround" border="0">
<tr>
<td class="navigation">
<a>
<xsl:if test="$isReplyDisabled='false'">
<xsl:if test="/root/session/sessionKey">
<xsl:attribute name="href">/Post/<xsl:value-of select="id"/>/Reply/</xsl:attribute>
<xsl:attribute name="onClick">submitSelText(this.href);return false;</xsl:attribute>
<xsl:attribute name="onMouseDown">submitSelText(this.href);return false;</xsl:attribute>
</xsl:if>
</xsl:if>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">reply.gif</xsl:with-param>
<xsl:with-param name="alt">Îòâåò</xsl:with-param>
</xsl:apply-templates>
</a>
</td>
<td class="navigation">
<a>
<xsl:if test="isOwner='true'">
<xsl:attribute name="href">/Post/<xsl:value-of select="id"/>/Edit/</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">edit.gif</xsl:with-param>
<xsl:with-param name="alt">Ïðàâêà</xsl:with-param>
</xsl:apply-templates>
</a>
</td>
<td class="navigation">
<a target="_blank">
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">print.gif</xsl:with-param>
<xsl:with-param name="alt">Ïå÷àòü</xsl:with-param>
</xsl:apply-templates>
</a>
</td>
<td class="navigation">
<a>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">addreminder.gif</xsl:with-param>
<xsl:with-param name="alt">Çàïîìíèòü</xsl:with-param>
</xsl:apply-templates>
</a>
</td>
<td class="navigation">
<xsl:choose>
<xsl:when test="isPunishmentEnabled='true'">
<a>
<xsl:attribute name="href">/Post/<xsl:value-of select="id"/>/Punish/</xsl:attribute>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">punish.gif</xsl:with-param>
<xsl:with-param name="alt">Ìîäåðèðîâàòü</xsl:with-param>
</xsl:apply-templates>
</a>
</xsl:when>
<xsl:otherwise>
<a>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">notifymod.gif</xsl:with-param>
<xsl:with-param name="alt">Èçâåñòèòü ìîäåðàòîðà</xsl:with-param>
</xsl:apply-templates>
</a>
</xsl:otherwise>
</xsl:choose>
</td>
<td class="navigation">
<a>
<xsl:if test="/root/session/sessionKey">
<xsl:attribute name="href">/Post/<xsl:value-of select="id"/>/PMReply/</xsl:attribute>
<xsl:attribute name="onClick">submitSelText(this.href);return false;</xsl:attribute>
<xsl:attribute name="onMouseDown">submitSelText(this.href);return false;</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">email2.gif</xsl:with-param>
<xsl:with-param name="alt">Îòâåòèòü â ÏÌ</xsl:with-param>
</xsl:apply-templates>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="lighttable">
<table width="100%" cellspacing="0" cellpadding="0" style="table-layout: fixed">
<tr>
<td>
<br />
<font class="post">
<xsl:value-of select="body" disable-output-escaping="yes" />
<!--<xsl:copy-of select="body"/>-->
<br />
<br />
</font>
</td>
</tr>
<xsl:apply-templates select="specific"/>
<xsl:if test="poster/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" disable-output-escaping="yes" /><br /></font>
</div>
</td>
</tr>
</xsl:if>
</table>
</td>
</tr>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="specific/changeInfo">
<xsl:if test="(revision != '') and (revision != '0')">
<tr>
<td>
<font size="-2">
<xsl:text>Ýòî ñîîáùåíèå áûëî îòðåäàêòèðîâàíî ïîëüçîâàòåëåì </xsl:text>
<xsl:value-of select="revision"/>
<xsl:text> ðàç, ïîñëåäíèé ðàç </xsl:text>
<xsl:apply-templates select="lastChangeDate/date" mode="dateTime"/>
<br/>
<br/>
</font>
</td>
</tr>
</xsl:if>
</xsl:template>
<xsl:template match="specific/punishment">
<tr>
<td>
<font size="-2">
<xsl:attribute name="class">
<xsl:text>punishment</xsl:text>
<xsl:if test="isWithdrawed='true'">
<xsl:text> withdrawed</xsl:text>
</xsl:if>
</xsl:attribute>
<xsl:value-of select="punishmentType/description"/>
<xsl:text> (</xsl:text>
<xsl:value-of select="punishmentType/weightDescription"/>
<xsl:text>). </xsl:text>
<xsl:value-of select="comment"/>
<xsl:text> (</xsl:text>
<xsl:apply-templates select="moderator/user" mode="userLink"/>
<xsl:text>, </xsl:text>
<xsl:apply-templates select="punishmentDate/date" mode="dateTime"/>
<xsl:text>)</xsl:text>
<br/>
<xsl:if test="transfer">
<xsl:choose>
<xsl:when test="transfer/isSubthreadTransfer='true'">
<xsl:text>Ïîäâåòêà áûëà ïåðåíåñåíà</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>Ñîîáùåíèå áûëî ïåðåíåñåíî</xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="transfer/oldParentPost">
<xsl:text> èç îáñóæäåíèÿ ñîîáùåíèÿ </xsl:text>
<a>
<xsl:attribute name="href">
<xsl:text>/Post/</xsl:text>
<xsl:value-of select="transfer/oldParentPost/post/id"/>
<xsl:text>/</xsl:text>
</xsl:attribute>
<xsl:value-of select="transfer/oldParentPost/post/title"/>
</a>
</xsl:if>
<xsl:text> èç ðàçäåëà </xsl:text>
<a>
<xsl:attribute name="href">
<xsl:text>/Board/</xsl:text>
<xsl:value-of select="transfer/oldBoard/board/id"/>
<xsl:text>/</xsl:text>
</xsl:attribute>
<xsl:value-of select="transfer/oldBoard/board/name"/>
</a>
<br/>
</xsl:if>
<xsl:if test="layerChange">
<xsl:choose>
<xsl:when test="layerChange/isSubthreadChange='true'">
<xsl:text>Ñëîé ïîäâåòêè áûë èçìåí¸í</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>Ñëîé ñîîáùåíèÿ áûë èçìåí¸í</xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:text> ñ </xsl:text>
<xsl:value-of select="layerChange/oldLayer/layer/name"/>
<br/>
</xsl:if>
<br/>
</font>
</td>
</tr>
</xsl:template>
<xsl:template match="specific/thread">
<tr>
<td>
<font size="-1">
<a>
<xsl:attribute name="href">
<xsl:text>/Thread/</xsl:text>
<xsl:value-of select="id"/>
<xsl:text>/</xsl:text>
<xsl:if test="afterLastRead&lt;=lastPostId">
<xsl:text>p</xsl:text>
<xsl:value-of select="afterLastRead"/>
</xsl:if>
</xsl:attribute>
<xsl:choose>
<xsl:when test="totalPosts &gt; 1">
<xsl:text>Îáñóæäåíèå ýòîãî ñîîáùåíèÿ</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>Íà÷àòü îáñóæäåíèå</xsl:text>
</xsl:otherwise>
</xsl:choose>
</a>
<xsl:if test="totalPosts &gt; 1">
<span class="separate"><xsl:value-of select="totalPosts"/></span>
<xsl:if test="totalNewPosts and totalNewPosts!='0'">
<a class="cup separate">
<xsl:if test="/root/session/sessionKey">
<xsl:attribute name="href">/do/MarkThreadAsRead/<xsl:value-of select="id"/>/p<xsl:value-of select="lastPostId"/>/</xsl:attribute>
</xsl:if>
<font class="new"><i>(<xsl:value-of select="totalNewPosts"/>)</i></font>
</a>
</xsl:if>
</xsl:if>
<br/>
<br/>
</font>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,350 @@
<?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 name="textEditor">
<xsl:param name="body"/>
<input type="hidden" name="convert" value="markup"/>
<xsl:text>Ñîîáùåíèå</xsl:text>
<br/>
<textarea cols="100" tabindex="2" rows="10" class="formboxes" name="Body">
<xsl:attribute name="onKeyUp">storeCaret(this);</xsl:attribute>
<xsl:attribute name="onClick">storeCaret(this);</xsl:attribute>
<xsl:attribute name="onKeyPress">checkKeyPressed(document.replier,event,false);</xsl:attribute>
<xsl:choose>
<xsl:when test="bodyUBB">
<xsl:value-of select="bodyUBB"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$body"/>
</xsl:otherwise>
</xsl:choose>
</textarea>
<br/>
<br/>
<script language="Javascript" type="text/javascript" src="/static/js/textEditor.js"><xsl:text> </xsl:text></script>
<script language="Javascript" type="text/javascript">
<![CDATA[
function insertInBody(str) {
insertAtCaret(document.replier.Body, str);
document.replier.Body.focus();
}
]]>
</script>
<table border="0">
<tr class="tdheader">
<td><b>Ñìàéëèêè</b></td>
<td valign="top"><b>UBBCode</b></td>
<td valign="top"><b>Øðèôò</b></td>
</tr>
<tr>
<td valign="top" align="left" nowrap="nowrap">
<a pseudolink="pseudolink" onClick="insertInBody(' :) ');">
<img src="/static/smileys/smile.gif" border="0" alt="smile" />
</a>
<xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :( ');">
<img src="/static/smileys/frown.gif" border="0" alt="frown" />
</a>
<xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :o ');">
<img src="/static/smileys/blush.gif" border="0" alt="blush" />
</a>
<xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :D ');">
<img src="/static/smileys/laugh.gif" border="0" alt="laugh" />
</a>
<xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' ;) ');">
<img src="/static/smileys/wink.gif" border="0" alt="wink" />
</a>
<xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :p ');">
<img src="/static/smileys/tongue.gif" border="0" alt="tongue" />
</a>
<br/>
<a pseudolink="pseudolink" onClick="insertInBody(' :cool: ');">
<img src="/static/smileys/cool.gif" border="0" alt="cool" />
</a>
<xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :crazy: ');">
<img src="/static/smileys/crazy.gif" border="0" alt="crazy" />
</a>
<xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :mad: ');">
<img src="/static/smileys/mad.gif" border="0" alt="mad" />
</a>
<xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :shocked: ');">
<img src="/static/smileys/shocked.gif" border="0" alt="shocked" />
</a>
<xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :smirk: ');">
<img src="/static/smileys/smirk.gif" border="0" alt="smirk" />
</a>
<xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :grin: ');">
<img src="/static/smileys/grin.gif" border="0" alt="grin" />
</a>
<br/>
<a pseudolink="pseudolink" onClick="insertInBody(' :ooo: ');">
<img src="/static/smileys/ooo.gif" border="0" alt="ooo" />
</a>
<xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :confused: ');">
<img src="/static/smileys/confused.gif" border="0" alt="confused" />
</a>
<xsl:text> &#160; </xsl:text>
<a>
<xsl:text>More!</xsl:text>
</a>
<xsl:text> &#160; </xsl:text>
<a href="/Upload/New/" target="_blank">
<xsl:text>Upload</xsl:text>
</a>
<xsl:text> &#160; </xsl:text>
<a>
<xsl:text>Mix</xsl:text>
</a>
</td>
<td valign="top" align="left" nowrap="nowrap">
<table border="0" cellpadding="3" cellspacing="1" class="tablesurround">
<tr>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('url');">URL</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('code');">Êîä</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('image');">Êàðòèíêà</a>
</td>
</tr>
<tr>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('liststart');">Íà÷àëî ñïèñêà</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('listitem');">Ýë-ò ñïèñêà</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('listend');">Êîíåö ñïèñêà</a>
</td>
</tr>
<tr>
<!--
<td class="darktable">
<a pseudolink="pseudolink" onclick="alert('Not implemented');return;DoPrompt('pollstart');">Íà÷àëî<br/>ãîëîñîâàíèÿ</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="alert('Not implemented');return;DoPrompt('polloption');">Âàðèàíò<br/>ãîëîñîâàíèÿ</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="alert('Not implemented');return;DoPrompt('pollstop');">Êîíåö<br/>ãîëîñîâàíèÿ</a>
</td>
-->
<td class="darktable" colspan="3" align="center">
<a href="/Polls/New/">Ñîçäàòü îïðîñ</a>
</td>
</tr>
<tr>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('bold');">Æèðíûé</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('italics');">Íàêëîí</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('quote');">Öèòàòà</a>
</td>
</tr>
<tr>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('user');">Ïîëüçîâàòåëü</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="alert('Not implemented');return;DoPrompt('table');">Òàáëèöà</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="alert('Not implemented');return;DoPrompt('ecode');">Ecode</a>
</td>
</tr>
<tr>
<td class="darktable">
<a pseudolink="pseudolink" onclick="alert('Not implemented');return;DoPrompt('video');">YouTube</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('math');">Math</a>
</td>
<td class="darktable">
<a pseudolink="pseudolink" onclick="DoPrompt('tex');">TeX</a>
</td>
</tr>
</table>
</td>
<td valign="top">
<table border="0">
<tr>
<td>
<select id="fontselect" class="formboxes" style="font-size:10px">
<xsl:attribute name="onChange">idx = this.selectedIndex; this.selectedIndex = 0; DoFont(this.options[idx].value);</xsl:attribute>
<option value="">[Font Face]</option>
<script type="text/javascript">fontlist();</script>
</select>
</td>
</tr>
<tr>
<td>
<select id="sizeselect" class="formboxes" style="font-size:10px">
<xsl:attribute name="onChange">idx = this.selectedIndex; this.selectedIndex = 0; DoSize(this.options[idx].value);</xsl:attribute>
<option value="">[Font Size]</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
</td>
</tr>
</table>
<table border="1">
<tr>
<td bgcolor="red">
<a pseudolink="pseudolink" onclick="DoColor('red');">&#160; &#160; </a>
</td>
<td bgcolor="green">
<a pseudolink="pseudolink" onclick="DoColor('green');">&#160; &#160; </a>
</td>
<td bgcolor="blue">
<a pseudolink="pseudolink" onclick="DoColor('blue');">&#160; &#160; </a>
</td>
<td bgcolor="white">
<a pseudolink="pseudolink" onclick="DoColor('white');">&#160; &#160; </a>
</td>
</tr>
<tr>
<td bgcolor="orange">
<a pseudolink="pseudolink" onclick="DoColor('orange');">&#160; &#160; </a>
</td>
<td bgcolor="yellow">
<a pseudolink="pseudolink" onclick="DoColor('yellow');">&#160; &#160; </a>
</td>
<td bgcolor="black">
<a pseudolink="pseudolink" onclick="DoColor('black');">&#160; &#160; </a>
</td>
<td bgcolor="purple">
<a pseudolink="pseudolink" onclick="DoColor('purple');">&#160; &#160; </a>
</td>
</tr>
<tr>
<td bgcolor="pink">
<a pseudolink="pseudolink" onclick="DoColor('pink');">&#160; &#160; </a>
</td>
<td bgcolor="brown">
<a pseudolink="pseudolink" onclick="DoColor('brown');">&#160; &#160; </a>
</td>
<td bgcolor="#666666">
<a pseudolink="pseudolink" onclick="DoColor('#666666');">&#160; &#160; </a>
</td>
<td>
<a pseudolink="pseudolink" onclick="DoPrompt('color');">?</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<input type="checkbox" name="preview" value="1" class="formboxes" onClick="changeActionToSelf(this)" id="preview" />
<label for="preview"> ß õî÷ó ïðåäâàðèòåëüíî ïðîñìîòðåòü ñîîáùåíèå ïåðåä îòïðàâêîé</label>
<xsl:if test="bodyIntermediate">
<br/>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td width="120" valign="top" class="darktable" rowspan="2">
<xsl:apply-templates select="session/user" mode="userInfoBar"/>
</td>
<td class="subjecttable">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" width="65%" valign="top">
<a target="_blank" class="separate">
<img border="0" alt="" style="vertical-align: text-bottom">
<xsl:attribute name="src">/static/images/message-normal-read.gif</xsl:attribute>
</img>
</a>
<b class="separate"><xsl:value-of select="newTitle"/></b>
<br />
<font class="small" style="padding-left:2em"><xsl:apply-templates select="postDate/date" mode="dateTime"/></font>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="lighttable">
<table width="100%" cellspacing="0" cellpadding="0" style="table-layout: fixed">
<tr>
<td>
<br />
<font class="post">
<xsl:value-of select="bodyIntermediate" disable-output-escaping="yes" />
<br />
<br />
</font>
</td>
</tr>
<xsl:if test="session/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" disable-output-escaping="yes" /><br /></font>
</div>
</td>
</tr>
</xsl:if>
</table>
</td>
</tr>
</table>
</xsl:if>
<br/>
<br/>
</xsl:template>
<xsl:template match="layer">
<xsl:param name="defaultLayerId"/>
<option>
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute>
<xsl:choose>
<xsl:when test="isRestricted='true'">
<xsl:attribute name="disabled">disabled</xsl:attribute>
</xsl:when>
<xsl:when test="id=$defaultLayerId">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:when>
</xsl:choose>
<xsl:value-of select="name"/>
</option>
</xsl:template>
<xsl:template match="layers">
<xsl:param name="defaultLayerId"/>
<xsl:apply-templates select="layer">
<xsl:with-param name="defaultLayerId">
<xsl:choose>
<xsl:when test="$defaultLayerId and not(layer[id=$defaultLayerId]/isRestricted='true')">
<xsl:value-of select="$defaultLayerId"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="layer[not(isRestricted='true')][1]/id"/>
</xsl:otherwise>
</xsl:choose>
</xsl:with-param>
</xsl:apply-templates>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,79 @@
<?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>
<xsl:choose>
<xsl:when test="position() mod 2 = 0">
<xsl:attribute name="class">lighttable</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="class">darktable</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<td align="left">
<xsl:attribute name="title"><xsl:value-of select="firstPost/post/bodyShort"/></xsl:attribute>
<xsl:if test="isAnnouncement='true'">
<img src="/static/images/sticky.gif" width="16" height="16" alt="" border="0" style="vertical-align: text-bottom;" />
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="isLocked='true'">
<img src="/static/images/lock.gif" width="16" height="16" alt="" border="0" style="vertical-align:text-bottom"/>
<xsl:text> </xsl:text>
</xsl:if>
<img alt="*" hspace="5" style="vertical-align: text-bottom">
<xsl:choose>
<xsl:when test="totalNewPosts and totalNewPosts!='0'">
<xsl:attribute name="src">/static/images/message-<xsl:value-of select="firstPost/post/layerName"/>-notread.gif</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="src">/static/images/message-<xsl:value-of select="firstPost/post/layerName"/>-read.gif</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</img>
<xsl:text> </xsl:text>
<a>
<xsl:attribute name="href">
<xsl:text>/Thread/</xsl:text>
<xsl:value-of select="id"/>
<xsl:text>/</xsl:text>
<xsl:if test="totalNewPosts and totalNewPosts!='0'">
<xsl:text>p</xsl:text>
<xsl:value-of select="afterLastRead"/>
</xsl:if>
</xsl:attribute>
<xsl:value-of select="title"/>
</a>
<xsl:if test="pageOuter/isEmpty='false'">
<span class="small" style="margin-left:1.5em">
<xsl:apply-templates select="pageOuter" mode="withoutCurrent">
<xsl:with-param name="baseLink">/Thread/<xsl:value-of select="id"/>/</xsl:with-param>
</xsl:apply-templates>
</span>
</xsl:if>
</td>
<td align="left" nowrap="nowrap">
<xsl:apply-templates select="firstPost/post/poster/user" mode="userLink"/>
</td>
<td align="center">
<xsl:value-of select="totalViews"/>
</td>
<td align="center" nowrap="nowrap">
<span class="separate"><xsl:value-of select="totalPosts"/></span>
<xsl:if test="totalNewPosts and totalNewPosts!='0'">
<a class="cup separate">
<xsl:if test="/root/session/sessionKey">
<xsl:attribute name="href">/do/MarkThreadAsRead/<xsl:value-of select="id"/>/p<xsl:value-of select="lastPostId"/>/</xsl:attribute>
</xsl:if>
<font class="new"><i>(<xsl:value-of select="totalNewPosts"/>)</i></font>
</a>
</xsl:if>
</td>
<td nowrap="nowrap" align="center">
<xsl:apply-templates select="lastPostDate/date" mode="dateTime"/>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,28 @@
<?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 name="uploadHeader">
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
<tr>
<td>
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
<tr>
<td align="center" class="menubar">
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Upload/List/</xsl:with-param>
<xsl:with-param name="text">Ñïèñîê</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Upload/New/</xsl:with-param>
<xsl:with-param name="text">Çàãðóçèòü íîâûé</xsl:with-param>
</xsl:call-template>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -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: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/Info/<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>Äëÿ âñòàâêè ññûëêè â ôîðóì èñïîëüçóéòå òýã [uploadLink]</xsl:text>
<xsl:value-of select="id"/>
<xsl:text>[/uploadLink]</xsl:text>
<br/>
<xsl:text>Äëÿ âñòàâêè èçîáðàæåíèÿ â ôîðóì èñïîëüçóéòå òýã [uploadImage]</xsl:text>
<xsl:value-of select="id"/>
<xsl:text>[/uploadImage]</xsl:text>
<br/>
<br/>
</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="uploader/user/signature" disable-output-escaping="yes" /><br /></font>
</div>
</td>
</tr>
</xsl:if>
</table>
</td>
</tr>
</table>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,62 @@
<?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 name="userHeader">
<xsl:variable name="baseLink">/Users/User/<xsl:value-of select="user/id"/>/</xsl:variable>
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
<tr>
<td>
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
<tr>
<td align="center" class="menubar">
<xsl:call-template name="headerLink">
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Info/</xsl:with-param>
<xsl:with-param name="text">Èíôîðìàöèÿ</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Threads/</xsl:with-param>
<xsl:with-param name="text">Òåìû</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Posts/</xsl:with-param>
<xsl:with-param name="text">Ñîîáùåíèÿ</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Replies/</xsl:with-param>
<xsl:with-param name="text">Îòâåòû</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>PollsParticipated/</xsl:with-param>
<xsl:with-param name="text">Îïðîñû</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<img src="/static/images/shortcut.png" border="0"/>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/My/Conversations/Conversation/<xsl:value-of select="accountId"/>/</xsl:with-param>
<xsl:with-param name="text">Èñòîðèÿ</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(accountId)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<img src="/static/images/shortcut.png" border="0"/>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/My/Conversations/PMSend/<xsl:value-of select="accountId"/>/</xsl:with-param>
<xsl:with-param name="text">Íàïèñàòü</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(accountId)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,57 @@
<?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="user" mode="userInfoBar">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<xsl:apply-templates select="current()" mode="userLink"/>
</td>
</tr>
<tr>
<td class="small">
<b><xsl:value-of select="title"/></b>
</td>
</tr>
<tr>
<td class="small">
<i></i>
</td>
</tr>
<tr>
<td class="small">
<i><font color="red"></font></i>
</td>
</tr>
<xsl:if test="avatar">
<tr>
<td class="small">
<img alt="" class="avatar">
<xsl:attribute name="src">/Upload/Item/<xsl:value-of select="avatar"/>/</xsl:attribute>
</img>
</td>
</tr>
</xsl:if>
<tr>
<td class="small">
<xsl:text>Ðåã.: </xsl:text>
<xsl:apply-templates select="regDate/date" mode="date"/>
</td>
</tr>
<tr>
<td class="small">
<xsl:text>Ñîîáùåíèé: </xsl:text>
<xsl:value-of select="totalPosts"/>
</td>
</tr>
<xsl:if test="location!=''">
<tr>
<td class="small">
<xsl:text>Èç: </xsl:text>
<xsl:value-of select="location"/>
</td>
</tr>
</xsl:if>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,44 @@
<?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="UserHeader.xslt"/>
<xsl:template name="usersHeader">
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
<tr>
<td>
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
<tr>
<td align="center" class="menubar">
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/All/</xsl:with-param>
<xsl:with-param name="text">Âñå</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/Active/</xsl:with-param>
<xsl:with-param name="text">Àêòèâíûå (ñìèãðèðîâàííûå)</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/Online/</xsl:with-param>
<xsl:with-param name="text">Â îíëàéíå</xsl:with-param>
</xsl:call-template>
<xsl:if test="user">
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/User/<xsl:value-of select="user/id"/>/</xsl:with-param>
<xsl:with-param name="text"><xsl:value-of select="user/name"/></xsl:with-param>
</xsl:call-template>
</xsl:if>
</td>
</tr>
</table>
</td>
</tr>
</table>
<xsl:if test="user">
<xsl:call-template name="userHeader"/>
</xsl:if>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,49 @@
<?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="specificTitle">Î÷èñòêà êýøà</xsl:template>
<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>
</td>
</tr>
<tr class="darktable">
<td>
<xsl:text>Âûáåðèòå òàáëèöó è íîìåðà</xsl:text>
</td>
</tr>
<tr>
<td class="lighttable">
<form method="post" action="/do/Maintenance/CleanCache/">
<xsl:text>Òàáëèöà</xsl:text><br />
<select name="table" class="formboxes">
<xsl:apply-templates select="tables/table"/>
</select>
<br/>
<xsl:text>Íà÷àòü ñ ID</xsl:text><br/>
<input type="text" name="start" class="formboxes" /><br/>
<xsl:text>Êîëè÷åñòâî</xsl:text><br/>
<input type="text" name="length" class="formboxes" value="1" /><br/>
<input type="submit" name="buttlogin" value="Î÷èñòèòü!" class="buttons" />
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="table">
<option>
<xsl:attribute name="value"><xsl:value-of select="current()"/></xsl:attribute>
<xsl:value-of select="current()"/>
</option>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,48 @@
<?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="specificTitle">Äîáàâëåíèå àâàòàðêè</xsl:template>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td class="lighttable">
<p>Âàøà àâàòàðêà áûëà óñïåøíî çàãðóæåíà</p>
<p align="center">
<xsl:text>[&#8592;] </xsl:text>
<a id="actionLink_left">
<xsl:attribute name="href">/My/Avatars/</xsl:attribute>
<xsl:text>Âåðíóòüñÿ ê íàñòðîéêàì àâàòàðîê</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a id="actionLink_right">
<xsl:attribute name="href">/Upload/Item/<xsl:value-of select="uploadedId"/></xsl:attribute>
<xsl:text>Ïðîñìîòðåòü àâàòàðêó</xsl:text>
</a>
<xsl:text> [&#8594;]</xsl:text>
</p>
<script type="text/javascript" language="Javascript">
<xsl:text>assignArrowsHandlers();</xsl:text>
</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,48 @@
<?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="specificTitle">Óäàëåíèå àâàòàðêè</xsl:template>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td class="lighttable">
<p>Âàøà àâàòàðêà áûëà óñïåøíî óäàëåíà. Òåì íå ìåíåå, â àïëîàäå îíà îñòàëàñü - àâàòàðêè óäàëÿþòñÿ òîëüêî èç ñïèñêà àâàòàðîê.</p>
<p align="center">
<xsl:text>[&#8592;] </xsl:text>
<a id="actionLink_left">
<xsl:attribute name="href">/My/Avatars/</xsl:attribute>
<xsl:text>Âåðíóòüñÿ ê íàñòðîéêàì àâàòàðîê</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a id="actionLink_right">
<xsl:attribute name="href">/Upload/Item/<xsl:value-of select="uploadedId"/></xsl:attribute>
<xsl:text>Ïðîñìîòðåòü óäàë¸ííóþ àâàòàðêó</xsl:text>
</a>
<xsl:text> [&#8594;]</xsl:text>
</p>
<script type="text/javascript" language="Javascript">
<xsl:text>assignArrowsHandlers();</xsl:text>
</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,48 @@
<?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="specificTitle">Èçìåíåíèå àâàòàðêè</xsl:template>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td class="lighttable">
<p>Íîâàÿ àâàòàðêà áûëà óñïåøíî óñòàíîâëåíà</p>
<p align="center">
<xsl:text>[&#8592;] </xsl:text>
<a id="actionLink_left">
<xsl:attribute name="href">/My/Avatars/</xsl:attribute>
<xsl:text>Âåðíóòüñÿ ê íàñòðîéêàì àâàòàðîê</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a id="actionLink_right">
<xsl:attribute name="href">/Upload/Item/<xsl:value-of select="uploadedId"/></xsl:attribute>
<xsl:text>Ïðîñìîòðåòü àâàòàðêó</xsl:text>
</a>
<xsl:text> [&#8594;]</xsl:text>
</p>
<script type="text/javascript" language="Javascript">
<xsl:text>assignArrowsHandlers();</xsl:text>
</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,31 @@
<?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="specificTitle">Âõîä âûïîëíåí</xsl:template>
<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>
</td>
</tr>
<tr>
<td class="lighttable">
<xsl:text>Àâòîðèçàöèÿ ïðîøëà óñïåøíî</xsl:text>
<br/>
<a>
<xsl:attribute name="href">/Boards/</xsl:attribute>
<xsl:text>Íà ãëàâíóþ</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,31 @@
<?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="specificTitle">Âûõîä âûïîëíåí</xsl:template>
<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>
</td>
</tr>
<tr>
<td class="lighttable">
<xsl:text>Ñåññèÿ óäàëåíà</xsl:text>
<br/>
<a>
<xsl:attribute name="href">/Boards/</xsl:attribute>
<xsl:text>Íà ãëàâíóþ</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,48 @@
<?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="specificTitle">Ñîîáùåíèå îòïðàâëåíî</xsl:template>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td class="lighttable">
<p>Âàøå ñîîáùåíèå áûëî óñïåøíî ñîçäàíî</p>
<p align="center">
<xsl:text>[&#8592;] </xsl:text>
<a id="actionLink_left">
<xsl:attribute name="href">/Board/<xsl:value-of select="board/id"/>/</xsl:attribute>
<xsl:text>Âåðíóòüñÿ â ðàçäåë</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a id="actionLink_right">
<xsl:attribute name="href">/Thread/<xsl:value-of select="post/threadId"/>/p<xsl:value-of select="post/id"/></xsl:attribute>
<xsl:text>Ïðîñìîòðåòü ñîîáùåíèå</xsl:text>
</a>
<xsl:text> [&#8594;]</xsl:text>
</p>
<script type="text/javascript" language="Javascript">
<xsl:text>assignArrowsHandlers();</xsl:text>
</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,48 @@
<?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="specificTitle">Ñîîáùåíèå èçìåíåíî</xsl:template>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td class="lighttable">
<p>Âàøå ñîîáùåíèå áûëî óñïåøíî èçìåíåíî</p>
<p align="center">
<xsl:text>[&#8592;] </xsl:text>
<a id="actionLink_left">
<xsl:attribute name="href">/Board/<xsl:value-of select="board/id"/>/</xsl:attribute>
<xsl:text>Âåðíóòüñÿ â ðàçäåë</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a id="actionLink_right">
<xsl:attribute name="href">/Thread/<xsl:value-of select="post/threadId"/>/p<xsl:value-of select="post/id"/></xsl:attribute>
<xsl:text>Ïðîñìîòðåòü ñîîáùåíèå</xsl:text>
</a>
<xsl:text> [&#8594;]</xsl:text>
</p>
<script type="text/javascript" language="Javascript">
<xsl:text>assignArrowsHandlers();</xsl:text>
</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,48 @@
<?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="specificTitle">Ñîîáùåíèå îòìîäåðèðîâàíî</xsl:template>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td class="lighttable">
<p>Ñîîáùåíèå áûëî óñïåøíî îòìîäåðèðîâàíî</p>
<p align="center">
<xsl:text>[&#8592;] </xsl:text>
<a id="actionLink_left">
<xsl:attribute name="href">/Board/<xsl:value-of select="board/id"/>/</xsl:attribute>
<xsl:text>Âåðíóòüñÿ â ðàçäåë</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a id="actionLink_right">
<xsl:attribute name="href">/Thread/<xsl:value-of select="post/threadId"/>/p<xsl:value-of select="post/id"/></xsl:attribute>
<xsl:text>Ïðîñìîòðåòü ñîîáùåíèå</xsl:text>
</a>
<xsl:text> [&#8594;]</xsl:text>
</p>
<script type="text/javascript" language="Javascript">
<xsl:text>assignArrowsHandlers();</xsl:text>
</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,48 @@
<?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="specificTitle">Ó÷¸òíàÿ çàïèñü ñîçäàíà</xsl:template>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td class="lighttable">
<p>Ó÷¸òíàÿ çàïèñü áûëà óñïåøíî ñîçäàíà, òåïåðü âû ìîæåòå âîéòè â ôîðóì, èñïîëüçóÿ ñâîé ëîãèí è íîâûé ïàðîëü</p>
<p align="center">
<xsl:text>[&#8592;] </xsl:text>
<a id="actionLink_left">
<xsl:attribute name="href">/Boards/</xsl:attribute>
<xsl:text>Âåðíóòüñÿ ê ñïèñêó ðàçäåëîâ</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a id="actionLink_right">
<xsl:attribute name="href">/My/Login/</xsl:attribute>
<xsl:text>Âîéòè</xsl:text>
</a>
<xsl:text> [&#8594;]</xsl:text>
</p>
<script type="text/javascript" language="Javascript">
<xsl:text>assignArrowsHandlers();</xsl:text>
</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,48 @@
<?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="specificTitle">Ëè÷íîå ñîîáùåíèå îòïðàâëåíî</xsl:template>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td class="lighttable">
<p>Âàøå ñîîáùåíèå áûëî óñïåøíî ñîçäàíî</p>
<p align="center">
<xsl:text>[&#8592;] </xsl:text>
<a id="actionLink_left">
<xsl:attribute name="href">/My/Conversations/</xsl:attribute>
<xsl:text>Âåðíóòüñÿ ê ëè÷íûì ñîîáùåíèÿì</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a id="actionLink_right">
<xsl:attribute name="href">/My/Conversations/Conversation/<xsl:value-of select="message/interlocutor/account/id"/>/p<xsl:value-of select="message/id"/></xsl:attribute>
<xsl:text>Ïðîñìîòðåòü ñîîáùåíèå</xsl:text>
</a>
<xsl:text> [&#8594;]</xsl:text>
</p>
<script type="text/javascript" language="Javascript">
<xsl:text>assignArrowsHandlers();</xsl:text>
</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,35 @@
<?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="specificTitle">Îïðîñ ñîçäàí</xsl:template>
<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>
</td>
</tr>
<tr>
<td class="lighttable">
<xsl:text>Îïðîñ óñïåøíî ñîçäàí.</xsl:text>
<br/>
<xsl:text>Òåïåðü âû ìîæåòå âñòàâëÿòü ññûëêè íà íåãî ñ ïîìîùüþ òýãà [poll]</xsl:text>
<xsl:value-of select="poll/id"/>
<xsl:text>[/poll]</xsl:text>
<br/>
<a>
<xsl:attribute name="href">/Poll/<xsl:value-of select="poll/id"/>/</xsl:attribute>
<xsl:text>Ïåðåéòè ê îïðîñó</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,31 @@
<?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="specificTitle">Íàñòðîéêè ñîõðàíåíû</xsl:template>
<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>
</td>
</tr>
<tr>
<td class="lighttable">
<xsl:text>Íàñòðîéêè ñîõðàíåíû</xsl:text>
<br/>
<a>
<xsl:attribute name="href">/Boards/</xsl:attribute>
<xsl:text>Íà ãëàâíóþ</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,38 @@
<?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="specificTitle">Ôàéë çàãðóæåí</xsl:template>
<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>
</td>
</tr>
<tr>
<td class="lighttable">
<xsl:text>Ôàéë óñïåøíî çàãðóæåí.</xsl:text>
<br/>
<xsl:text>Òåïåðü âû ìîæåòå âñòàâëÿòü ññûëêè íà íåãî ñ ïîìîùüþ òýãà [uploadLink]</xsl:text>
<xsl:value-of select="uploadedId"/>
<xsl:text>[/uploadLink]</xsl:text>
<br/>
<xsl:text>Äëÿ âñòàâêè êàðòèíêè âîñïîëüçóéòåñü òýãîì [uploadImage]</xsl:text>
<xsl:value-of select="uploadedId"/>
<xsl:text>[/uploadImage]</xsl:text>
<br/>
<img>
<xsl:attribute name="src">/Upload/Item/<xsl:value-of select="uploadedId"/>/</xsl:attribute>
</img>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,31 @@
<?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="specificTitle">Ãîëîñ ïðèíÿò</xsl:template>
<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>
</td>
</tr>
<tr>
<td class="lighttable">
<xsl:text>Âàø ãîëîñ ïðèíÿò.</xsl:text>
<br/>
<a>
<xsl:attribute name="href">/Poll/<xsl:value-of select="poll/id"/>/</xsl:attribute>
<xsl:text>Âåðíóòüñÿ ê îïðîñó</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,37 @@
<?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="specificTitle">Êýø î÷èùåí</xsl:template>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
<tr>
<td class="lighttable">
<p>Âûáðàííûå äàííûå îáíîâëåíû</p>
<br/>
<a>
<xsl:attribute name="href">/Maintenance/CleanCache/</xsl:attribute>
<xsl:text>Âåðíóòüñÿ ê î÷èñòêå êýøà</xsl:text>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>
Loading…
Cancel
Save