Файл: wboard/source/system/view/board_write.php
Строк: 65
<!-- Message form -->
<div class="item"><a href="javascript:form_spoiler('answer_form')"><?= $this->lng->hide_show ?></a></div>
<div class="text" id="answer_form"<?= isset($_COOKIE['hide_form']) && $_COOKIE['hide_form'] == 1 ? ' style="display: none"' : '' ?>>
<form method="post" action="#down" enctype="multipart/form-data">
<p>
<label for="theme"><strong><?= $this->lng->theme ?>:</strong></label><br />
<input id="theme" type="text" name="theme" value="<?= htmlspecialchars($data['theme'], ENT_QUOTES, 'UTF-8') ?>" />
<?= isset($error['theme']) ? '<br />' . $error['theme'] : '' ?>
</p>
<p>
<label for="name"><strong><?= $this->lng->your_name ?>:</strong></label><br />
<input id="name" type="text" name="name" value="<?= htmlspecialchars($data['name']) ?>" />
<?= isset($error['name']) ? '<br />' . $error['name'] : '' ?>
</p>
<p>
<input type="checkbox" name="sage" value="1" id="sage" /> <label for="sage"><strong><?= $this->lng->sage ?></strong></label>
</p>
<?= $admin_sign ? '<p><strong>' . $this->lng->admin_sign . ':</strong><br /><input type="text" name="admin_sign" value="" /></p>' : '' ?>
<p>
<div class="bb_panel">
<a href="javascript:insert_bb('**', '**')">b</a>
<a href="javascript:insert_bb('*', '*')">i</a>
<a href="javascript:insert_bb('^', '^')">s</a>
<a href="javascript:insert_bb('>', '')">></a>
<a href="javascript:insert_bb('[big]', '[/big]')">bf</a>
<a href="javascript:insert_bb('[small]', '[/small]')">sf</a>
<a href="javascript:insert_bb('[url=http://]', '[/url]')">url</a>
<a href="javascript:insert_bb('%%', '%%')">sp</a>
<a href="javascript:insert_bb('[sub]', '[/sub]')">sub</a>
<a href="javascript:insert_bb('[sup]', '[/sup]')">sup</a>
<a href="javascript:insert_bb('`', '`')">#</a>
</div>
<textarea name="post" id="post"><?= htmlspecialchars($data['post']) ?></textarea>
<?= isset($error['post']) ? '<br />' . $error['post'] : '' ?>
</p>
<p>
<label for="file">
<strong><?= $this->lng->attach_file ?></strong><br />
<small><?= $this->lng->attach_file_help ?></small>
</label><br />
<input id="file" type="file" name="file" />
<?= isset($error['file']) ? '<br />' . $error['file'] : '' ?>
</p>
<?= $display_captcha == 1 ? '<p>' . $this->load('_captcha', array('error' => $error)) . '</p>' : '' ?>
<p>
<input type="submit" name="ok" value="<?= $this->lng->send ?>" />
</p>
</form>
</div>