<!-- IF QUICK_REPLY -->
<!-- ELSE -->
<!-- ENDIF / !QUICK_REPLY -->
<div class="mrg_4" style="padding-left:2px;">
<select name="fontFace">
<option style="font-family: Verdana" value="-1" selected="selected">Шрифт:</option>
<option style="font-family: Courier" value="Courier"> Courier</option>
<option style="font-family: 'Courier New'" value="'Courier New'"> Courier New</option>
<option style="font-family: monospace" value="monospace"> monospace</option>
<option style="font-family: Fixedsys" value="Fixedsys"> Fixedsys</option>
<option style="font-family: Arial" value="Arial"> Arial</option>
<option style="font-family: 'Comic Sans MS'" value="'Comic Sans MS'"> Comic Sans</option>
<option style="font-family: Georgia" value="Georgia"> Georgia</option>
<option style="font-family: Tahoma" value="Tahoma"> Tahoma</option>
<option style="font-family: 'Times New Roman'" value="'Times New Roman'"> Times</option>
<option style="font-family: serif" value="serif"> serif</option>
<option style="font-family: sans-serif" value="sans-serif"> sans-serif</option>
<option style="font-family: cursive" value="cursive"> cursive</option>
<option style="font-family: fantasy" value="fantasy"> fantasy</option>
</select>
<select name="codeColor" class="text_color">
<option style="color: black; background: #fff;" value="black" selected="selected">Цвет шрифта:</option>
<option style="color: darkred;" value="darkred"> Тёмно-красный</option>
<option style="color: brown;" value="brown"> Коричневый</option>
<option style="color: #996600;" value="#996600"> Оранжевый</option>
<option style="color: red;" value="red"> Красный</option>
<option style="color: #993399;" value="#993399"> Фиолетовый</option>
<option style="color: green;" value="green"> Зелёный</option>
<option style="color: darkgreen;" value="darkgreen"> Тёмно-зелёный</option>
<option style="color: gray;" value="gray"> Серый</option>
<option style="color: olive;" value="olive"> Оливковый</option>
<option style="color: blue;" value="blue"> Синий</option>
<option style="color: darkblue;" value="darkblue"> Тёмно-синий</option>
<option style="color: indigo;" value="indigo"> Индиго</option>
<option style="color: #006699;" value="#006699"> Тёмно-голубой</option>
</select>
<select name="codeSize" class="text_size">
<option value="12" selected="selected">Размер шрифта:</option>
<option value="9" class="em">Маленький</option>
<option value="10"> size=10</option>
<option value="11"> size=11</option>
<option value="12" class="em" disabled="disabled">Обычный</option>
<option value="14"> size=14</option>
<option value="16"> size=16</option>
<option value="18" class="em">Большой</option>
<option value="20"> size=20</option>
<option value="22"> size=22</option>
<option value="24" class="em">Огромный</option>
</select>
<select name="codeAlign" class="text_size">
<option value="left" selected="selected">Место:</option>
<option value="left"> Left</option>
<option value="right"> Right</option>
<option value="center"> Center</option>
<option value="justify"> Justify</option>
</select>
<span class="buttons">
<input type="button" value="—" name="codeHR" title="Horizontal line (Ctrl+
" style="font-weight: bold; width: 26px;" />
<input type="button" value="¶" name="codeBR" title="New line" style="width: 26px;" />
<input type="button" value="Спойлер" name="codeSpoiler" title="Spoiler" style="width: 70px;" />
</span>
</div>
<div class="buttons mrg_4">
<input type="button" value=" B " name="codeB" title="Bold (Ctrl+B)" style="font-weight: bold; width: 30px;" />
<input type="button" value=" i " name="codeI" title="Italic (Ctrl+I)" style="width: 30px; font-style: italic;" />
<input type="button" value=" u " name="codeU" title="Underline (Ctrl+U)" style="width: 30px; text-decoration: underline;" />
<input type="button" value="Цитата" name="codeQuote" title="Quote (Ctrl+Q)" style="width: 60px;" />
<input type="button" value="Img" name="codeImg" title="Image (Ctrl+R)" style="width: 40px;" />
<input type="button" value="URL" name="codeUrl" title="URL (Ctrl+W)" style="width: 40px; text-decoration: underline;" /><input type="hidden" name="codeUrl2" />
<input type="button" value="Code" name="codeCode" title="Code (Ctrl+K)" style="width: 46px;" />
<input type="button" value="List" name="codeList" title="List (Ctrl+L)" style="width: 40px;" />
<input type="button" value="1." name="codeOpt" title="List item (Ctrl+0)" style="width: 30px;" />
<input type="button" value="Цитировать выдел." name="quoteselected" title="{L_QUOTE_SELECTED}" style="width: 130px;" onmouseout="bbcode.refreshSelection(false);" onmouseover="bbcode.refreshSelection(true);" onclick="bbcode.onclickQuoteSel();" />
<input type="button" value="Транслит" name="Translit" title="Перевести выделение из транслита на русский" style="width: 72px;" onclick="transliterate(document.post.message, this);" /> <a href="#" onclick="toggle_block('translit_opt'); return false"><span style="color: darkred"><b>?</b></span></a>
</div>
<textarea
class="editor mrg_4" name="message" rows="18" cols="92"
<!-- IF SHOW_VIRTUAL_KEYBOARD -->
onkeypress = "if(use_kb) return decode(event);"
<!-- ENDIF -->
onfocus = "storeCaret(this);"
onselect = "storeCaret(this);"
onclick = "storeCaret(this);"
onkeyup = "storeCaret(this);"
>{MESSAGE}</textarea>
<div id="translit_opt" class="mrg_4" style="display: none;">
<table cellspacing="0" class="translit_expl borderless bCenter">
<tr>
<th>А</th><td>-</td><td>a</td>
<th>Д</th><td>-</td><td>d</td>
<th>И</th><td>-</td><td>i</td>
<th>М</th><td>-</td><td>m</td>
<th>Р</th><td>-</td><td>r</td>
<th>Ф</th><td>-</td><td>f</td>
<th>Ш</th><td>-</td><td>sh</td>
<th>Ы</th><td>-</td><td>y</td>
</tr><tr>
<th>Б</th><td>-</td><td>b</td>
<th>Е</th><td>-</td><td>e</td>
<th>Й</th><td>-</td><td>j</td>
<th>Н</th><td>-</td><td>n</td>
<th>С</th><td>-</td><td>s</td>
<th>Х</th><td>-</td><td>h,x</td>
<th>Щ</th><td>-</td><td>sz,w</td>
<th>Э</th><td>-</td><td>eh</td>
</tr><tr>
<th>В</th><td>-</td><td>v</td>
<th>Ж</th><td>-</td><td>zh</td>
<th>К</th><td>-</td><td>k</td>
<th>О</th><td>-</td><td>o</td>
<th>Т</th><td>-</td><td>t</td>
<th>Ц</th><td>-</td><td>c</td>
<th>Ь</th><td>-</td><td>'</td>
<th>Ю</th><td>-</td><td>ju</td>
</tr><tr>
<th>Г</th><td>-</td><td>g</td>
<th>З</th><td>-</td><td>z</td>
<th>Л</th><td>-</td><td>l</td>
<th>П</th><td>-</td><td>p</td>
<th>У</th><td>-</td><td>u</td>
<th>Ч</th><td>-</td><td>ch</td>
<th>Ъ</th><td>-</td><td>#</td>
<th>Я</th><td>-</td><td>ja</td>
</tr>
</table>
</div>
<div class="mrg_4 tCenter">
<input title="Alt+Enter" type="submit" name="preview" value="{L_PREVIEW}" />
<input title="Ctrl+Enter" type="submit" name="post" class="bold" value="{L_SUBMIT}" />
</div>
<script type="text/javascript">
var bbcode = new BBCode(document.post.message);
var ctrl = "ctrl";
bbcode.addTag("codeB", "b", null, "B", ctrl);
bbcode.addTag("codeI", "i", null, "I", ctrl);
bbcode.addTag("codeU", "u", null, "U", ctrl);
bbcode.addTag("codeQuote", "quote", null, "Q", ctrl);
bbcode.addTag("codeImg", "img", null, "R", ctrl);
bbcode.addTag("codeUrl", "url", "/url", "", ctrl);
bbcode.addTag("codeUrl2", "url=", "/url", "W", ctrl);
bbcode.addTag("codeCode", "code", null, "K", ctrl);
bbcode.addTag("codeList", "list", null, "L", ctrl);
bbcode.addTag("codeOpt", "*", "", "0", ctrl);
</script>
<script type="text/javascript">
bbcode.addTag("codeHR", "hr", "", "8", ctrl);
bbcode.addTag("codeBR", "br", "", "", ctrl);
bbcode.addTag("codeSpoiler", "spoiler", null, "", ctrl);
bbcode.addTag("fontFace", function(e) { var v=e.value; e.selectedIndex=0; return "font=\""+v+"\"" }, "/font");
bbcode.addTag("codeColor", function(e) { var v=e.value; e.selectedIndex=0; return "color="+v }, "/color");
bbcode.addTag("codeSize", function(e) { var v=e.value; e.selectedIndex=0; return "size="+v }, "/size");
bbcode.addTag("codeAlign", function(e) { var v=e.value; e.selectedIndex=0; return "align="+v }, "/align");
</script>
<!-- IF QUICK_REPLY -->
<!-- ELSE -->
<!-- ENDIF -->