125 lines
4.6 KiB
Smarty
125 lines
4.6 KiB
Smarty
<span id="post-preview"></span>
|
|
<div style="margin-top:1px;">
|
|
<div class="borderwrap">
|
|
<div class="maintitle">
|
|
<img src="{THEME}/forum/images/nav_m.gif" width="8" height="8" border="0" alt="" /> Ñîçäàíèå íîâîé òåìû</div>
|
|
<table width="100%" cellspacing="1" cellpadding="0" class="ipbtable">
|
|
[not-logged]
|
|
<tr>
|
|
<td width="120" height="25">Âàøå Èìÿ:</td>
|
|
<td width="340"><input type="text" name="name" class="forum_input" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="120" height="25">Âàø E-Mail:</td>
|
|
<td width="340"><input type="text" name="mail" class="forum_input" /></td>
|
|
</tr>
|
|
[/not-logged]
|
|
|
|
<tr>
|
|
<th style='text-align: left' colspan='2'><strong>Òåìà</strong></th>
|
|
</tr>
|
|
<tr>
|
|
<td class='row1' style='width: 20%; text-align: right'>
|
|
<strong>Íàçâàíèå òåìû</strong>
|
|
</td>
|
|
<td class='row2'>
|
|
<input type="text" name="topic_title" value="{topic_title}" size="50" maxlength="200" class="forum_input" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class='row1' style='width: 20%; text-align: right'>
|
|
<strong>Îïèñàíèå òåìû</strong>
|
|
</td>
|
|
<td class='row2'>
|
|
<input type="text" name="topic_descr" value="{topic_descr}" size="50" maxlength="200" class="forum_input" />
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<th style='text-align: left' colspan='2'><strong>Îïðîñ</strong></th>
|
|
</tr>
|
|
[poll]
|
|
<tr>
|
|
<td class='row1' style='width: 20%; text-align: right'>
|
|
<strong>Îïöèè îïðîñà</strong>
|
|
</td>
|
|
<td class='row2'>
|
|
|
|
<a href="JavaScript:ShowHide('poll');">Íàæìèòå ñþäà äëÿ óïðàâëåíèÿ îïðîñîì â ýòîé òåìå</a><br />
|
|
<div style='display:none' id='poll'>
|
|
<table cellpadding="0" cellspacing="0" width="460">
|
|
<tr>
|
|
<td width="120"><img src="{THEME}/forum/images/spacer.gif" width="120" height="1" border="0" alt="" /></td>
|
|
<td width="340"><img src="{THEME}/forum/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="120" height="25">Çàãîëîâîê Îïðîñà:</td>
|
|
<td width="340"><input type="text" name="vote_title" class="forum_input" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="120" height="25">Âîïðîñ:</td>
|
|
<td width="340"><input type="text" name="frage" class="forum_input" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">Âàðèàíòû îòâåòîâ: (Êàæäàÿ íîâàÿ ñòðîêà ÿâëÿåòñÿ íîâûì âàðèàíòîì îòâåòà)<br /><textarea name="vote_body" class="forum_textarea"></textarea><br /></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"><br /><input type="checkbox" value="1" name="poll_multiple"> Ðàçðåøèòü âûáîð íåñêîëüêèõ âàðèàíòîâ</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
[/poll]
|
|
[not-wysywyg]
|
|
|
|
<tr>
|
|
<th style='text-align: left' colspan='2'><strong>Ñîîáùåíèå</strong></th>
|
|
</tr>
|
|
<tr>
|
|
<td class='row1' style='width: 20%;'> </td>
|
|
<td class='row1'>
|
|
{bbcode}
|
|
</td>
|
|
</tr>
|
|
[/not-wysywyg]
|
|
<tr>
|
|
<td class='row1' style='width: 20%;'> </td>
|
|
<td class='row1'>[not-wysywyg]<textarea id="post_text" name="post_text" class="forum_textarea">{text}</textarea>[/not-wysywyg]{wysiwyg}<br /></td>
|
|
</tr>
|
|
[sec_code]
|
|
<tr>
|
|
<th style='text-align: left' colspan='2'><strong>Çàùèòíûé êîä</strong></th>
|
|
</tr>
|
|
<tr>
|
|
<td class='row1' style='width: 20%; text-align: right'>
|
|
<strong>Êîä</strong>
|
|
</td>
|
|
<td class='row2'>
|
|
{sec_code}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class='row1' style='width: 20%; text-align: right'>
|
|
<strong>Ââåäèòå êîä</strong>
|
|
</td>
|
|
<td class='row2'><input type="text" name="sec_code" maxlength="150" style="width:115px" class="forum_input" /></td>
|
|
</tr>
|
|
[/sec_code]
|
|
|
|
<tr>
|
|
<th style='text-align: left' colspan='2'><strong>Îïöèè</strong></th>
|
|
</tr>
|
|
<tr>
|
|
<td class='row2' style='width: 20%;'></td>
|
|
<td class='row2'><input type="checkbox" value="0" name="subscription" /> Ïîäïèñàòüñÿ íà òåìó</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class='row1' style='text-align: center' colspan="2"><br /><input name="submit" type="submit" class="button" value="Ñîçäàòü òåìó" /> <input type="button" class="button" onclick="PostPreview();" value="Ïðåäâàðèòåëüíûé ïðîñìîòð" /></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div> |