<?php

/* posting_body.html */
class __TwigTemplate_838434e9bd6b6dd8baf464839f08ad064a8a43bd0a65b185f38bd169f9d58faa extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        if (isset($context["S_PRIVMSGS"])) { $_S_PRIVMSGS_ = $context["S_PRIVMSGS"]; } else { $_S_PRIVMSGS_ = null; }
        if ($_S_PRIVMSGS_) {
            // line 2
            echo "\t";
            $location = "ucp_header.html";
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate("ucp_header.html", "posting_body.html", 2)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
        } else {
            // line 4
            echo "\t";
            $location = "overall_header.html";
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate("overall_header.html", "posting_body.html", 4)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
        }
        // line 6
        echo "
";
        // line 7
        if (isset($context["S_FORUM_RULES"])) { $_S_FORUM_RULES_ = $context["S_FORUM_RULES"]; } else { $_S_FORUM_RULES_ = null; }
        if ($_S_FORUM_RULES_) {
            // line 8
            echo "\t<div class=\"forumrules";
            if (isset($context["U_FORUM_RULES"])) { $_U_FORUM_RULES_ = $context["U_FORUM_RULES"]; } else { $_U_FORUM_RULES_ = null; }
            if ($_U_FORUM_RULES_) {
                echo " rules-link";
            }
            echo "\">
\t\t";
            // line 9
            if (isset($context["U_FORUM_RULES"])) { $_U_FORUM_RULES_ = $context["U_FORUM_RULES"]; } else { $_U_FORUM_RULES_ = null; }
            if ($_U_FORUM_RULES_) {
                // line 10
                echo "\t\t\t<h3>";
                echo $this->env->getExtension('phpbb')->lang("FORUM_RULES");
                echo "</h3><br />
\t\t\t<a href=\"";
                // line 11
                if (isset($context["U_FORUM_RULES"])) { $_U_FORUM_RULES_ = $context["U_FORUM_RULES"]; } else { $_U_FORUM_RULES_ = null; }
                echo $_U_FORUM_RULES_;
                echo "\"><b>";
                echo $this->env->getExtension('phpbb')->lang("FORUM_RULES_LINK");
                echo "</b></a>
\t\t";
            } else {
                // line 13
                echo "\t\t\t<h3>";
                echo $this->env->getExtension('phpbb')->lang("FORUM_RULES");
                echo "</h3><br />
\t\t\t";
                // line 14
                if (isset($context["FORUM_RULES"])) { $_FORUM_RULES_ = $context["FORUM_RULES"]; } else { $_FORUM_RULES_ = null; }
                echo $_FORUM_RULES_;
                echo "
\t\t";
            }
            // line 16
            echo "\t</div>

\t<br clear=\"all\" />
";
        }
        // line 20
        echo "
";
        // line 21
        if (isset($context["S_PRIVMSGS"])) { $_S_PRIVMSGS_ = $context["S_PRIVMSGS"]; } else { $_S_PRIVMSGS_ = null; }
        if ( !$_S_PRIVMSGS_) {
            // line 22
            echo "\t<div id=\"pageheader\">
\t\t<h2>";
            // line 23
            if (isset($context["TOPIC_TITLE"])) { $_TOPIC_TITLE_ = $context["TOPIC_TITLE"]; } else { $_TOPIC_TITLE_ = null; }
            if ($_TOPIC_TITLE_) {
                if (isset($context["posting_topic_title_before"])) { $_posting_topic_title_before_ = $context["posting_topic_title_before"]; } else { $_posting_topic_title_before_ = null; }
                echo "<a class=\"titles\" href=\"";
                if (isset($context["U_VIEW_TOPIC"])) { $_U_VIEW_TOPIC_ = $context["U_VIEW_TOPIC"]; } else { $_U_VIEW_TOPIC_ = null; }
                echo $_U_VIEW_TOPIC_;
                echo "\">";
                if (isset($context["TOPIC_TITLE"])) { $_TOPIC_TITLE_ = $context["TOPIC_TITLE"]; } else { $_TOPIC_TITLE_ = null; }
                echo $_TOPIC_TITLE_;
                echo "</a>";
                if (isset($context["posting_topic_title_after"])) { $_posting_topic_title_after_ = $context["posting_topic_title_after"]; } else { $_posting_topic_title_after_ = null; }
            } else {
                echo "<a class=\"titles\" href=\"";
                if (isset($context["U_VIEW_FORUM"])) { $_U_VIEW_FORUM_ = $context["U_VIEW_FORUM"]; } else { $_U_VIEW_FORUM_ = null; }
                echo $_U_VIEW_FORUM_;
                echo "\">";
                if (isset($context["FORUM_NAME"])) { $_FORUM_NAME_ = $context["FORUM_NAME"]; } else { $_FORUM_NAME_ = null; }
                echo $_FORUM_NAME_;
                echo "</a>";
            }
            echo "</h2>

\t\t";
            // line 25
            if (isset($context["MODERATORS"])) { $_MODERATORS_ = $context["MODERATORS"]; } else { $_MODERATORS_ = null; }
            if ($_MODERATORS_) {
                // line 26
                echo "\t\t\t<p class=\"moderators\">";
                echo $this->env->getExtension('phpbb')->lang("MODERATORS");
                echo $this->env->getExtension('phpbb')->lang("COLON");
                echo " ";
                if (isset($context["MODERATORS"])) { $_MODERATORS_ = $context["MODERATORS"]; } else { $_MODERATORS_ = null; }
                echo $_MODERATORS_;
                echo "</p>
\t\t";
            }
            // line 28
            echo "\t\t";
            if (isset($context["U_MCP"])) { $_U_MCP_ = $context["U_MCP"]; } else { $_U_MCP_ = null; }
            if (isset($context["U_ACP"])) { $_U_ACP_ = $context["U_ACP"]; } else { $_U_ACP_ = null; }
            if (($_U_MCP_ || $_U_ACP_)) {
                // line 29
                echo "\t\t\t<p class=\"linkmcp\">[&nbsp;";
                if (isset($context["U_ACP"])) { $_U_ACP_ = $context["U_ACP"]; } else { $_U_ACP_ = null; }
                if ($_U_ACP_) {
                    echo "<a href=\"";
                    if (isset($context["U_ACP"])) { $_U_ACP_ = $context["U_ACP"]; } else { $_U_ACP_ = null; }
                    echo $_U_ACP_;
                    echo "\">";
                    echo $this->env->getExtension('phpbb')->lang("ACP");
                    echo "</a>";
                    if (isset($context["U_MCP"])) { $_U_MCP_ = $context["U_MCP"]; } else { $_U_MCP_ = null; }
                    if ($_U_MCP_) {
                        echo "&nbsp;|&nbsp;";
                    }
                }
                if (isset($context["U_MCP"])) { $_U_MCP_ = $context["U_MCP"]; } else { $_U_MCP_ = null; }
                if ($_U_MCP_) {
                    echo "<a href=\"";
                    if (isset($context["U_MCP"])) { $_U_MCP_ = $context["U_MCP"]; } else { $_U_MCP_ = null; }
                    echo $_U_MCP_;
                    echo "\">";
                    echo $this->env->getExtension('phpbb')->lang("MCP");
                    echo "</a>";
                }
                echo "&nbsp;]</p>
\t\t";
            }
            // line 31
            echo "\t</div>

\t<br clear=\"all\" /><br />
";
        }
        // line 35
        echo "
";
        // line 36
        if (isset($context["S_SHOW_PM_BOX"])) { $_S_SHOW_PM_BOX_ = $context["S_SHOW_PM_BOX"]; } else { $_S_SHOW_PM_BOX_ = null; }
        if ( !$_S_SHOW_PM_BOX_) {
            // line 37
            echo "\t<form action=\"";
            if (isset($context["S_POST_ACTION"])) { $_S_POST_ACTION_ = $context["S_POST_ACTION"]; } else { $_S_POST_ACTION_ = null; }
            echo $_S_POST_ACTION_;
            echo "\" method=\"post\" name=\"postform\"";
            if (isset($context["S_FORM_ENCTYPE"])) { $_S_FORM_ENCTYPE_ = $context["S_FORM_ENCTYPE"]; } else { $_S_FORM_ENCTYPE_ = null; }
            echo $_S_FORM_ENCTYPE_;
            echo ">
";
        }
        // line 39
        echo "
";
        // line 40
        if (isset($context["S_DRAFT_LOADED"])) { $_S_DRAFT_LOADED_ = $context["S_DRAFT_LOADED"]; } else { $_S_DRAFT_LOADED_ = null; }
        if ($_S_DRAFT_LOADED_) {
            // line 41
            echo "\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
\t<tr>
\t\t<th align=\"center\">";
            // line 43
            echo $this->env->getExtension('phpbb')->lang("INFORMATION");
            echo "</th>
\t</tr>
\t<tr>
\t\t<td class=\"row1\" align=\"center\"><span class=\"gen\">";
            // line 46
            if (isset($context["S_PRIVMSGS"])) { $_S_PRIVMSGS_ = $context["S_PRIVMSGS"]; } else { $_S_PRIVMSGS_ = null; }
            if ($_S_PRIVMSGS_) {
                echo $this->env->getExtension('phpbb')->lang("DRAFT_LOADED_PM");
            } else {
                echo $this->env->getExtension('phpbb')->lang("DRAFT_LOADED");
            }
            echo "</span></td>
\t</tr>
\t</table>

\t<br clear=\"all\" />
";
        }
        // line 52
        echo "
";
        // line 53
        if (isset($context["S_SHOW_DRAFTS"])) { $_S_SHOW_DRAFTS_ = $context["S_SHOW_DRAFTS"]; } else { $_S_SHOW_DRAFTS_ = null; }
        if ($_S_SHOW_DRAFTS_) {
            // line 54
            echo "\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
\t<tr>
\t\t<th colspan=\"3\" align=\"center\">";
            // line 56
            echo $this->env->getExtension('phpbb')->lang("LOAD_DRAFT");
            echo "</th>
\t</tr>
\t<tr>
\t\t<td class=\"row1\" colspan=\"3\" align=\"center\"><span class=\"gen\">";
            // line 59
            echo $this->env->getExtension('phpbb')->lang("LOAD_DRAFT_EXPLAIN");
            echo "</span></td>
\t</tr>
\t<tr>
\t\t<th>";
            // line 62
            echo $this->env->getExtension('phpbb')->lang("SAVE_DATE");
            echo "</th>
\t\t<th>";
            // line 63
            echo $this->env->getExtension('phpbb')->lang("DRAFT_TITLE");
            echo "</th>
\t\t<th>";
            // line 64
            echo $this->env->getExtension('phpbb')->lang("OPTIONS");
            echo "</th>
\t</tr>
\t";
            // line 66
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "draftrow", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["draftrow"]) {
                // line 67
                echo "
\t\t";
                // line 68
                if (isset($context["draftrow"])) { $_draftrow_ = $context["draftrow"]; } else { $_draftrow_ = null; }
                if (($this->getAttribute($_draftrow_, "S_ROW_COUNT", array()) % 2 == 0)) {
                    echo "<tr class=\"row1\">";
                } else {
                    echo "<tr class=\"row2\">";
                }
                // line 69
                echo "
\t\t<td class=\"postdetails\" style=\"padding: 4px;\">";
                // line 70
                if (isset($context["draftrow"])) { $_draftrow_ = $context["draftrow"]; } else { $_draftrow_ = null; }
                echo $this->getAttribute($_draftrow_, "DATE", array());
                echo "</td>
\t\t<td style=\"padding: 4px;\"><b class=\"gen\">";
                // line 71
                if (isset($context["draftrow"])) { $_draftrow_ = $context["draftrow"]; } else { $_draftrow_ = null; }
                echo $this->getAttribute($_draftrow_, "DRAFT_SUBJECT", array());
                echo "</b>
\t\t\t";
                // line 72
                if (isset($context["draftrow"])) { $_draftrow_ = $context["draftrow"]; } else { $_draftrow_ = null; }
                if ($this->getAttribute($_draftrow_, "S_LINK_TOPIC", array())) {
                    echo "<br /><span class=\"gensmall\">";
                    echo $this->env->getExtension('phpbb')->lang("TOPIC");
                    echo $this->env->getExtension('phpbb')->lang("COLON");
                    echo " <a href=\"";
                    if (isset($context["draftrow"])) { $_draftrow_ = $context["draftrow"]; } else { $_draftrow_ = null; }
                    echo $this->getAttribute($_draftrow_, "U_VIEW", array());
                    echo "\">";
                    if (isset($context["draftrow"])) { $_draftrow_ = $context["draftrow"]; } else { $_draftrow_ = null; }
                    echo $this->getAttribute($_draftrow_, "TITLE", array());
                    echo "</a></span>
\t\t\t";
                } elseif ($this->getAttribute($_draftrow_, "S_LINK_FORUM", array())) {
                    // line 73
                    echo "<br /><span class=\"gensmall\">";
                    echo $this->env->getExtension('phpbb')->lang("FORUM");
                    echo $this->env->getExtension('phpbb')->lang("COLON");
                    echo " <a href=\"";
                    if (isset($context["draftrow"])) { $_draftrow_ = $context["draftrow"]; } else { $_draftrow_ = null; }
                    echo $this->getAttribute($_draftrow_, "U_VIEW", array());
                    echo "\">";
                    if (isset($context["draftrow"])) { $_draftrow_ = $context["draftrow"]; } else { $_draftrow_ = null; }
                    echo $this->getAttribute($_draftrow_, "TITLE", array());
                    echo "</a></span>
\t\t\t";
                } elseif ($this->getAttribute($_draftrow_, "S_LINK_PM", array())) {
                    // line 74
                    echo "<br /><span class=\"gensmall\">";
                    echo $this->env->getExtension('phpbb')->lang("PRIVATE_MESSAGE");
                    echo "</span>
\t\t\t";
                } else {
                    // line 75
                    echo "<br /><span class=\"gensmall\">";
                    echo $this->env->getExtension('phpbb')->lang("NO_TOPIC_FORUM");
                    echo "</span>";
                }
                // line 76
                echo "\t\t</td>
\t\t<td style=\"padding: 4px;\" align=\"center\"><span class=\"gen\"><a href=\"";
                // line 77
                if (isset($context["draftrow"])) { $_draftrow_ = $context["draftrow"]; } else { $_draftrow_ = null; }
                echo $this->getAttribute($_draftrow_, "U_INSERT", array());
                echo "\">";
                echo $this->env->getExtension('phpbb')->lang("LOAD_DRAFT");
                echo "</a></span></td>
\t</tr>
\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['draftrow'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 80
            echo "\t</table>

\t<br clear=\"all\" />
";
        }
        // line 84
        echo "

";
        // line 86
        if (isset($context["S_POST_REVIEW"])) { $_S_POST_REVIEW_ = $context["S_POST_REVIEW"]; } else { $_S_POST_REVIEW_ = null; }
        if ($_S_POST_REVIEW_) {
            $location = "posting_review.html";
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate("posting_review.html", "posting_body.html", 86)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
        }
        // line 87
        if (isset($context["S_DISPLAY_PREVIEW"])) { $_S_DISPLAY_PREVIEW_ = $context["S_DISPLAY_PREVIEW"]; } else { $_S_DISPLAY_PREVIEW_ = null; }
        if ($_S_DISPLAY_PREVIEW_) {
            $location = "posting_preview.html";
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate("posting_preview.html", "posting_body.html", 87)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
        }
        // line 88
        echo "

";
        // line 90
        if (isset($context["S_PRIVMSGS"])) { $_S_PRIVMSGS_ = $context["S_PRIVMSGS"]; } else { $_S_PRIVMSGS_ = null; }
        if (isset($context["S_UNGLOBALISE"])) { $_S_UNGLOBALISE_ = $context["S_UNGLOBALISE"]; } else { $_S_UNGLOBALISE_ = null; }
        if (( !$_S_PRIVMSGS_ && $_S_UNGLOBALISE_)) {
            // line 91
            echo "\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
\t<tr>
\t\t<th>";
            // line 93
            echo $this->env->getExtension('phpbb')->lang("MOVE");
            echo "</th>
\t</tr>
\t<tr>
\t\t<td class=\"spacer\" colspan=\"2\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\" /></td>
\t</tr>
\t<tr>
\t\t<td class=\"row2\" align=\"center\"><span class=\"gen\">";
            // line 99
            echo $this->env->getExtension('phpbb')->lang("UNGLOBALISE_EXPLAIN");
            echo "<br /><br />";
            echo $this->env->getExtension('phpbb')->lang("SELECT_DESTINATION_FORUM");
            echo "&nbsp;&nbsp;</span><select name=\"to_forum_id\">";
            if (isset($context["S_FORUM_SELECT"])) { $_S_FORUM_SELECT_ = $context["S_FORUM_SELECT"]; } else { $_S_FORUM_SELECT_ = null; }
            echo $_S_FORUM_SELECT_;
            echo "</select><br /><br /><input class=\"btnmain\" type=\"submit\" name=\"post\" value=\"";
            echo $this->env->getExtension('phpbb')->lang("CONFIRM");
            echo "\" />&nbsp;&nbsp; <input class=\"btnlite\" type=\"submit\" name=\"cancel_unglobalise\" value=\"";
            echo $this->env->getExtension('phpbb')->lang("CANCEL");
            echo "\" /></td>
\t</tr>
\t</table>

\t<br clear=\"all\" />
";
        }
        // line 105
        echo "
<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
<tr>
\t<th colspan=\"2\"><b>";
        // line 108
        echo $this->env->getExtension('phpbb')->lang("POST_A");
        echo "</b></th>
</tr>

";
        // line 111
        if (isset($context["ERROR"])) { $_ERROR_ = $context["ERROR"]; } else { $_ERROR_ = null; }
        if ($_ERROR_) {
            // line 112
            echo "\t<tr>
\t\t<td class=\"row2\" colspan=\"2\" align=\"center\"><span class=\"genmed error\">";
            // line 113
            if (isset($context["ERROR"])) { $_ERROR_ = $context["ERROR"]; } else { $_ERROR_ = null; }
            echo $_ERROR_;
            echo "</span></td>
\t</tr>
";
        }
        // line 116
        echo "
";
        // line 117
        if (isset($context["S_SHOW_TOPIC_ICONS"])) { $_S_SHOW_TOPIC_ICONS_ = $context["S_SHOW_TOPIC_ICONS"]; } else { $_S_SHOW_TOPIC_ICONS_ = null; }
        if (isset($context["S_SHOW_PM_ICONS"])) { $_S_SHOW_PM_ICONS_ = $context["S_SHOW_PM_ICONS"]; } else { $_S_SHOW_PM_ICONS_ = null; }
        if (($_S_SHOW_TOPIC_ICONS_ || $_S_SHOW_PM_ICONS_)) {
            // line 118
            echo "\t<tr>
\t\t<td class=\"row1\"><b class=\"genmed\">";
            // line 119
            echo $this->env->getExtension('phpbb')->lang("ICON");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo "</b></td>
\t\t<td class=\"row2\">
\t\t\t<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">
\t\t\t<tr>
\t\t\t\t<td><input type=\"radio\" class=\"radio\" name=\"icon\" value=\"0\"";
            // line 123
            if (isset($context["S_NO_ICON_CHECKED"])) { $_S_NO_ICON_CHECKED_ = $context["S_NO_ICON_CHECKED"]; } else { $_S_NO_ICON_CHECKED_ = null; }
            echo $_S_NO_ICON_CHECKED_;
            echo " tabindex=\"1\" /><span class=\"genmed\">";
            if (isset($context["S_SHOW_TOPIC_ICONS"])) { $_S_SHOW_TOPIC_ICONS_ = $context["S_SHOW_TOPIC_ICONS"]; } else { $_S_SHOW_TOPIC_ICONS_ = null; }
            if ($_S_SHOW_TOPIC_ICONS_) {
                echo $this->env->getExtension('phpbb')->lang("NO_TOPIC_ICON");
            } else {
                echo $this->env->getExtension('phpbb')->lang("NO_PM_ICON");
            }
            echo "</span> ";
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "topic_icon", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["topic_icon"]) {
                echo "<span style=\"white-space: nowrap;\"><input type=\"radio\" class=\"radio\" name=\"icon\" value=\"";
                if (isset($context["topic_icon"])) { $_topic_icon_ = $context["topic_icon"]; } else { $_topic_icon_ = null; }
                echo $this->getAttribute($_topic_icon_, "ICON_ID", array());
                echo "\"";
                if (isset($context["topic_icon"])) { $_topic_icon_ = $context["topic_icon"]; } else { $_topic_icon_ = null; }
                echo $this->getAttribute($_topic_icon_, "S_ICON_CHECKED", array());
                echo " tabindex=\"1\" /><img src=\"";
                if (isset($context["topic_icon"])) { $_topic_icon_ = $context["topic_icon"]; } else { $_topic_icon_ = null; }
                echo $this->getAttribute($_topic_icon_, "ICON_IMG", array());
                echo "\" width=\"";
                if (isset($context["topic_icon"])) { $_topic_icon_ = $context["topic_icon"]; } else { $_topic_icon_ = null; }
                echo $this->getAttribute($_topic_icon_, "ICON_WIDTH", array());
                echo "\" height=\"";
                if (isset($context["topic_icon"])) { $_topic_icon_ = $context["topic_icon"]; } else { $_topic_icon_ = null; }
                echo $this->getAttribute($_topic_icon_, "ICON_HEIGHT", array());
                echo "\" alt=\"";
                if (isset($context["topic_icon"])) { $_topic_icon_ = $context["topic_icon"]; } else { $_topic_icon_ = null; }
                echo $this->getAttribute($_topic_icon_, "ICON_NAME", array());
                echo "\" title=\"\" hspace=\"2\" vspace=\"2\" /></span> ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['topic_icon'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            echo "</td>
\t\t\t</tr>
\t\t\t</table>
\t\t</td>
\t</tr>
";
        }
        // line 129
        echo "
";
        // line 130
        if (isset($context["S_PRIVMSGS"])) { $_S_PRIVMSGS_ = $context["S_PRIVMSGS"]; } else { $_S_PRIVMSGS_ = null; }
        if (isset($context["S_DISPLAY_USERNAME"])) { $_S_DISPLAY_USERNAME_ = $context["S_DISPLAY_USERNAME"]; } else { $_S_DISPLAY_USERNAME_ = null; }
        if (( !$_S_PRIVMSGS_ && $_S_DISPLAY_USERNAME_)) {
            // line 131
            echo "\t<tr>
\t\t<td class=\"row1\"><b class=\"genmed\">";
            // line 132
            echo $this->env->getExtension('phpbb')->lang("USERNAME");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo "</b></td>
\t\t<td class=\"row2\"><input class=\"post\" type=\"text\" tabindex=\"1\" name=\"username\" size=\"25\" value=\"";
            // line 133
            if (isset($context["USERNAME"])) { $_USERNAME_ = $context["USERNAME"]; } else { $_USERNAME_ = null; }
            echo $_USERNAME_;
            echo "\" /></td>
\t</tr>
";
        }
        // line 136
        echo "
";
        // line 137
        if (isset($context["S_PRIVMSGS"])) { $_S_PRIVMSGS_ = $context["S_PRIVMSGS"]; } else { $_S_PRIVMSGS_ = null; }
        if ($_S_PRIVMSGS_) {
            // line 138
            echo "\t<tr>
\t\t<td class=\"row1\"><b class=\"genmed\">";
            // line 139
            echo $this->env->getExtension('phpbb')->lang("TO");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo "</b></td>
\t\t<td class=\"row2\">
\t\t\t";
            // line 141
            if (isset($context["S_HIDDEN_ADDRESS_FIELD"])) { $_S_HIDDEN_ADDRESS_FIELD_ = $context["S_HIDDEN_ADDRESS_FIELD"]; } else { $_S_HIDDEN_ADDRESS_FIELD_ = null; }
            echo $_S_HIDDEN_ADDRESS_FIELD_;
            echo "
\t\t";
            // line 142
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "to_recipient", array()));
            $context['_iterated'] = false;
            foreach ($context['_seq'] as $context["_key"] => $context["to_recipient"]) {
                // line 143
                echo "\t\t\t<span style=\"display: block; float: ";
                if (isset($context["S_CONTENT_FLOW_BEGIN"])) { $_S_CONTENT_FLOW_BEGIN_ = $context["S_CONTENT_FLOW_BEGIN"]; } else { $_S_CONTENT_FLOW_BEGIN_ = null; }
                echo $_S_CONTENT_FLOW_BEGIN_;
                echo ";\" class=\"nowrap genmed\"><strong>
\t\t\t";
                // line 144
                if (isset($context["to_recipient"])) { $_to_recipient_ = $context["to_recipient"]; } else { $_to_recipient_ = null; }
                if ($this->getAttribute($_to_recipient_, "IS_GROUP", array())) {
                    echo "<a href=\"";
                    if (isset($context["to_recipient"])) { $_to_recipient_ = $context["to_recipient"]; } else { $_to_recipient_ = null; }
                    echo $this->getAttribute($_to_recipient_, "U_VIEW", array());
                    echo "\"><span class=\"sep\">";
                    if (isset($context["to_recipient"])) { $_to_recipient_ = $context["to_recipient"]; } else { $_to_recipient_ = null; }
                    echo $this->getAttribute($_to_recipient_, "NAME", array());
                    echo "</span></a>";
                } else {
                    if (isset($context["to_recipient"])) { $_to_recipient_ = $context["to_recipient"]; } else { $_to_recipient_ = null; }
                    echo $this->getAttribute($_to_recipient_, "NAME_FULL", array());
                }
                echo "</strong>&nbsp;";
                if (isset($context["S_EDIT_POST"])) { $_S_EDIT_POST_ = $context["S_EDIT_POST"]; } else { $_S_EDIT_POST_ = null; }
                if ( !$_S_EDIT_POST_) {
                    echo "<input class=\"post\" type=\"submit\" name=\"remove_";
                    if (isset($context["to_recipient"])) { $_to_recipient_ = $context["to_recipient"]; } else { $_to_recipient_ = null; }
                    echo $this->getAttribute($_to_recipient_, "TYPE", array());
                    echo "[";
                    if (isset($context["to_recipient"])) { $_to_recipient_ = $context["to_recipient"]; } else { $_to_recipient_ = null; }
                    echo $this->getAttribute($_to_recipient_, "UG_ID", array());
                    echo "]\" value=\"";
                    echo $this->env->getExtension('phpbb')->lang("REMOVE");
                    echo "\" />&nbsp;";
                }
                // line 145
                echo "\t\t\t</span>
\t\t";
                $context['_iterated'] = true;
            }
            if (!$context['_iterated']) {
                // line 147
                echo "\t\t\t<span class=\"genmed\">";
                echo $this->env->getExtension('phpbb')->lang("NO_TO_RECIPIENT");
                echo "</span>
\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['to_recipient'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 149
            echo "\t\t</td>
\t</tr>
\t";
            // line 151
            if (isset($context["S_ALLOW_MASS_PM"])) { $_S_ALLOW_MASS_PM_ = $context["S_ALLOW_MASS_PM"]; } else { $_S_ALLOW_MASS_PM_ = null; }
            if ($_S_ALLOW_MASS_PM_) {
                // line 152
                echo "\t<tr>
\t\t<td class=\"row1\"><b class=\"genmed\">";
                // line 153
                echo $this->env->getExtension('phpbb')->lang("BCC");
                echo $this->env->getExtension('phpbb')->lang("COLON");
                echo "</b></td>
\t\t<td class=\"row2\">
\t\t";
                // line 155
                if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "bcc_recipient", array()));
                $context['_iterated'] = false;
                foreach ($context['_seq'] as $context["_key"] => $context["bcc_recipient"]) {
                    // line 156
                    echo "\t\t\t<span class=\"genmed nowrap\"><strong>
\t\t\t";
                    // line 157
                    if (isset($context["bcc_recipient"])) { $_bcc_recipient_ = $context["bcc_recipient"]; } else { $_bcc_recipient_ = null; }
                    if ($this->getAttribute($_bcc_recipient_, "IS_GROUP", array())) {
                        echo "<a href=\"";
                        if (isset($context["bcc_recipient"])) { $_bcc_recipient_ = $context["bcc_recipient"]; } else { $_bcc_recipient_ = null; }
                        echo $this->getAttribute($_bcc_recipient_, "U_VIEW", array());
                        echo "\"><span class=\"sep\">";
                        if (isset($context["bcc_recipient"])) { $_bcc_recipient_ = $context["bcc_recipient"]; } else { $_bcc_recipient_ = null; }
                        echo $this->getAttribute($_bcc_recipient_, "NAME", array());
                        echo "</span></a>";
                    } else {
                        if (isset($context["bcc_recipient"])) { $_bcc_recipient_ = $context["bcc_recipient"]; } else { $_bcc_recipient_ = null; }
                        echo $this->getAttribute($_bcc_recipient_, "NAME_FULL", array());
                    }
                    echo "</strong>&nbsp;";
                    if (isset($context["S_EDIT_POST"])) { $_S_EDIT_POST_ = $context["S_EDIT_POST"]; } else { $_S_EDIT_POST_ = null; }
                    if ( !$_S_EDIT_POST_) {
                        echo "<input class=\"post\" type=\"submit\" name=\"remove_";
                        if (isset($context["bcc_recipient"])) { $_bcc_recipient_ = $context["bcc_recipient"]; } else { $_bcc_recipient_ = null; }
                        echo $this->getAttribute($_bcc_recipient_, "TYPE", array());
                        echo "[";
                        if (isset($context["bcc_recipient"])) { $_bcc_recipient_ = $context["bcc_recipient"]; } else { $_bcc_recipient_ = null; }
                        echo $this->getAttribute($_bcc_recipient_, "UG_ID", array());
                        echo "]\" value=\"";
                        echo $this->env->getExtension('phpbb')->lang("REMOVE");
                        echo "\" />&nbsp;";
                    }
                    // line 158
                    echo "\t\t\t</span>
\t\t";
                    $context['_iterated'] = true;
                }
                if (!$context['_iterated']) {
                    // line 160
                    echo "\t\t\t<span class=\"genmed\">";
                    echo $this->env->getExtension('phpbb')->lang("NO_BCC_RECIPIENT");
                    echo "</span>
\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bcc_recipient'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 162
                echo "\t\t</td>
\t</tr>
\t";
            }
        }
        // line 166
        if (isset($context["posting_editor_subject_before"])) { $_posting_editor_subject_before_ = $context["posting_editor_subject_before"]; } else { $_posting_editor_subject_before_ = null; }
        // line 167
        echo "<tr>
\t<td class=\"row1\" width=\"22%\"><b class=\"genmed\">";
        // line 168
        echo $this->env->getExtension('phpbb')->lang("SUBJECT");
        echo $this->env->getExtension('phpbb')->lang("COLON");
        echo "</b></td>
\t<td class=\"row2\" width=\"78%\">
\t\t";
        // line 170
        if (isset($context["posting_editor_subject_prepend"])) { $_posting_editor_subject_prepend_ = $context["posting_editor_subject_prepend"]; } else { $_posting_editor_subject_prepend_ = null; }
        // line 171
        echo "\t\t<input class=\"post\" style=\"width:450px\" type=\"text\" name=\"subject\" size=\"45\" maxlength=\"";
        if (isset($context["S_NEW_MESSAGE"])) { $_S_NEW_MESSAGE_ = $context["S_NEW_MESSAGE"]; } else { $_S_NEW_MESSAGE_ = null; }
        if ($_S_NEW_MESSAGE_) {
            echo "120";
        } else {
            echo "124";
        }
        echo "\" tabindex=\"2\" value=\"";
        if (isset($context["SUBJECT"])) { $_SUBJECT_ = $context["SUBJECT"]; } else { $_SUBJECT_ = null; }
        echo $_SUBJECT_;
        echo "\" />
\t\t";
        // line 172
        if (isset($context["posting_editor_subject_append"])) { $_posting_editor_subject_append_ = $context["posting_editor_subject_append"]; } else { $_posting_editor_subject_append_ = null; }
        // line 173
        echo "\t</td>
</tr>
";
        // line 175
        if (isset($context["posting_editor_subject_after"])) { $_posting_editor_subject_after_ = $context["posting_editor_subject_after"]; } else { $_posting_editor_subject_after_ = null; }
        // line 176
        echo "<tr>
\t<td class=\"row1\" valign=\"top\"><b class=\"genmed\">";
        // line 177
        echo $this->env->getExtension('phpbb')->lang("MESSAGE_BODY");
        echo $this->env->getExtension('phpbb')->lang("COLON");
        echo "</b><br /><span class=\"gensmall\">";
        echo $this->env->getExtension('phpbb')->lang("MESSAGE_BODY_EXPLAIN");
        echo "&nbsp;</span><br /><br />
\t";
        // line 178
        if (isset($context["posting_editor_smilies_before"])) { $_posting_editor_smilies_before_ = $context["posting_editor_smilies_before"]; } else { $_posting_editor_smilies_before_ = null; }
        // line 179
        echo "\t";
        if (isset($context["S_SMILIES_ALLOWED"])) { $_S_SMILIES_ALLOWED_ = $context["S_SMILIES_ALLOWED"]; } else { $_S_SMILIES_ALLOWED_ = null; }
        if ($_S_SMILIES_ALLOWED_) {
            // line 180
            echo "\t\t<table width=\"100%\" cellspacing=\"5\" cellpadding=\"0\" border=\"0\" align=\"center\">
\t\t<tr>
\t\t\t<td class=\"gensmall\" align=\"center\"><b>";
            // line 182
            echo $this->env->getExtension('phpbb')->lang("SMILIES");
            echo "</b></td>
\t\t</tr>
\t\t<tr>
\t\t\t<td align=\"center\">
\t\t\t\t";
            // line 186
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "smiley", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["smiley"]) {
                // line 187
                echo "\t\t\t\t\t<a href=\"#\" onclick=\"insert_text('";
                if (isset($context["smiley"])) { $_smiley_ = $context["smiley"]; } else { $_smiley_ = null; }
                echo $this->getAttribute($_smiley_, "A_SMILEY_CODE", array());
                echo "', true); return false;\" style=\"line-height: 20px;\"><img src=\"";
                if (isset($context["smiley"])) { $_smiley_ = $context["smiley"]; } else { $_smiley_ = null; }
                echo $this->getAttribute($_smiley_, "SMILEY_IMG", array());
                echo "\" width=\"";
                if (isset($context["smiley"])) { $_smiley_ = $context["smiley"]; } else { $_smiley_ = null; }
                echo $this->getAttribute($_smiley_, "SMILEY_WIDTH", array());
                echo "\" height=\"";
                if (isset($context["smiley"])) { $_smiley_ = $context["smiley"]; } else { $_smiley_ = null; }
                echo $this->getAttribute($_smiley_, "SMILEY_HEIGHT", array());
                echo "\" alt=\"";
                if (isset($context["smiley"])) { $_smiley_ = $context["smiley"]; } else { $_smiley_ = null; }
                echo $this->getAttribute($_smiley_, "SMILEY_CODE", array());
                echo "\" title=\"";
                if (isset($context["smiley"])) { $_smiley_ = $context["smiley"]; } else { $_smiley_ = null; }
                echo $this->getAttribute($_smiley_, "SMILEY_DESC", array());
                echo "\" hspace=\"2\" vspace=\"2\" /></a>
\t\t\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['smiley'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 189
            echo "\t\t\t</td>
\t\t</tr>

\t\t";
            // line 192
            if (isset($context["S_SHOW_SMILEY_LINK"])) { $_S_SHOW_SMILEY_LINK_ = $context["S_SHOW_SMILEY_LINK"]; } else { $_S_SHOW_SMILEY_LINK_ = null; }
            if ($_S_SHOW_SMILEY_LINK_) {
                // line 193
                echo "\t\t\t<tr>
\t\t\t\t<td align=\"center\"><a class=\"nav\" href=\"";
                // line 194
                if (isset($context["U_MORE_SMILIES"])) { $_U_MORE_SMILIES_ = $context["U_MORE_SMILIES"]; } else { $_U_MORE_SMILIES_ = null; }
                echo $_U_MORE_SMILIES_;
                echo "\" onclick=\"popup(this.href, 300, 350, '_phpbbsmilies'); return false;\">";
                echo $this->env->getExtension('phpbb')->lang("MORE_SMILIES");
                echo "</a></td>
\t\t\t</tr>
\t\t";
            }
            // line 197
            echo "
\t\t</table>
\t";
        }
        // line 200
        echo "\t";
        if (isset($context["posting_editor_smilies_after"])) { $_posting_editor_smilies_after_ = $context["posting_editor_smilies_after"]; } else { $_posting_editor_smilies_after_ = null; }
        // line 201
        echo "\t</td>
\t<td class=\"row2\" valign=\"top\">
\t\t<script type=\"text/javascript\">
\t\t// <![CDATA[
\t\t\tvar form_name = 'postform';
\t\t\tvar text_name = 'message';
\t\t// ]]>
\t\t</script>

\t\t<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">
\t\t";
        // line 211
        $location = "posting_buttons.html";
        $namespace = false;
        if (strpos($location, '@') === 0) {
            $namespace = substr($location, 1, strpos($location, '/') - 1);
            $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
            $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
        }
        $this->loadTemplate("posting_buttons.html", "posting_body.html", 211)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 212
        echo "\t\t";
        if (isset($context["posting_editor_message_before"])) { $_posting_editor_message_before_ = $context["posting_editor_message_before"]; } else { $_posting_editor_message_before_ = null; }
        // line 213
        echo "\t\t<tr>
\t\t\t<td valign=\"top\" style=\"width: 100%;\"><textarea name=\"message\" rows=\"15\" cols=\"76\" tabindex=\"3\" onselect=\"storeCaret(this);\" onclick=\"storeCaret(this);\" onkeyup=\"storeCaret(this);\" onfocus=\"initInsertions();\" style=\"width: 700px; height: 270px; min-width: 98%; max-width: 98%;\">";
        // line 214
        if (isset($context["MESSAGE"])) { $_MESSAGE_ = $context["MESSAGE"]; } else { $_MESSAGE_ = null; }
        echo $_MESSAGE_;
        echo "</textarea></td>
\t\t\t";
        // line 215
        if (isset($context["S_BBCODE_ALLOWED"])) { $_S_BBCODE_ALLOWED_ = $context["S_BBCODE_ALLOWED"]; } else { $_S_BBCODE_ALLOWED_ = null; }
        if ($_S_BBCODE_ALLOWED_) {
            // line 216
            echo "\t\t\t<td width=\"80\" align=\"center\" valign=\"top\" id=\"color_palette_placeholder\" data-orientation=\"v\" data-width=\"11\" data-height=\"10\" data-bbcode=\"true\">
\t\t\t</td>
\t\t\t";
        }
        // line 219
        echo "\t \t</tr>
\t \t";
        // line 220
        if (isset($context["posting_editor_message_after"])) { $_posting_editor_message_after_ = $context["posting_editor_message_after"]; } else { $_posting_editor_message_after_ = null; }
        // line 221
        echo "\t\t</table>
\t</td>
</tr>

";
        // line 225
        if (isset($context["S_INLINE_ATTACHMENT_OPTIONS"])) { $_S_INLINE_ATTACHMENT_OPTIONS_ = $context["S_INLINE_ATTACHMENT_OPTIONS"]; } else { $_S_INLINE_ATTACHMENT_OPTIONS_ = null; }
        if ($_S_INLINE_ATTACHMENT_OPTIONS_) {
            // line 226
            echo "\t<tr>
\t\t<td class=\"row1\"><b class=\"genmed\">";
            // line 227
            echo $this->env->getExtension('phpbb')->lang("ATTACHMENTS");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo "</b></td>
\t\t<td class=\"row2\"><select name=\"attachments\">";
            // line 228
            if (isset($context["S_INLINE_ATTACHMENT_OPTIONS"])) { $_S_INLINE_ATTACHMENT_OPTIONS_ = $context["S_INLINE_ATTACHMENT_OPTIONS"]; } else { $_S_INLINE_ATTACHMENT_OPTIONS_ = null; }
            echo $_S_INLINE_ATTACHMENT_OPTIONS_;
            echo "</select>&nbsp;<input type=\"button\" class=\"btnbbcode\" accesskey=\"a\" value=\"";
            echo $this->env->getExtension('phpbb')->lang("PLACE_INLINE");
            echo "\" name=\"attachinline\" onclick=\"attach_form = document.forms[form_name].elements['attachments']; attachInline(attach_form.value, attach_form.options[attach_form.selectedIndex].text);\" onmouseover=\"helpline('a')\" onmouseout=\"helpline('tip')\" />
\t\t</td>
\t</tr>
";
        }
        // line 232
        echo "
<tr>
\t<td class=\"row1\" valign=\"top\"><b class=\"genmed\">";
        // line 234
        echo $this->env->getExtension('phpbb')->lang("OPTIONS");
        echo $this->env->getExtension('phpbb')->lang("COLON");
        echo "</b><br />
\t\t<table cellspacing=\"2\" cellpadding=\"0\" border=\"0\">
\t\t<tr>
\t\t\t<td class=\"gensmall\">";
        // line 237
        if (isset($context["BBCODE_STATUS"])) { $_BBCODE_STATUS_ = $context["BBCODE_STATUS"]; } else { $_BBCODE_STATUS_ = null; }
        echo $_BBCODE_STATUS_;
        echo "</td>
\t\t</tr>
\t\t";
        // line 239
        if (isset($context["S_BBCODE_ALLOWED"])) { $_S_BBCODE_ALLOWED_ = $context["S_BBCODE_ALLOWED"]; } else { $_S_BBCODE_ALLOWED_ = null; }
        if ($_S_BBCODE_ALLOWED_) {
            // line 240
            echo "\t\t<tr>
\t\t\t<td class=\"gensmall\">";
            // line 241
            if (isset($context["IMG_STATUS"])) { $_IMG_STATUS_ = $context["IMG_STATUS"]; } else { $_IMG_STATUS_ = null; }
            echo $_IMG_STATUS_;
            echo "</td>
\t\t</tr>
\t\t<tr>
\t\t\t<td class=\"gensmall\">";
            // line 244
            if (isset($context["FLASH_STATUS"])) { $_FLASH_STATUS_ = $context["FLASH_STATUS"]; } else { $_FLASH_STATUS_ = null; }
            echo $_FLASH_STATUS_;
            echo "</td>
\t\t</tr>
\t\t<tr>
\t\t\t<td class=\"gensmall\">";
            // line 247
            if (isset($context["URL_STATUS"])) { $_URL_STATUS_ = $context["URL_STATUS"]; } else { $_URL_STATUS_ = null; }
            echo $_URL_STATUS_;
            echo "</td>
\t\t</tr>
\t\t";
        }
        // line 250
        echo "\t\t<tr>
\t\t\t<td class=\"gensmall\">";
        // line 251
        if (isset($context["SMILIES_STATUS"])) { $_SMILIES_STATUS_ = $context["SMILIES_STATUS"]; } else { $_SMILIES_STATUS_ = null; }
        echo $_SMILIES_STATUS_;
        echo "</td>
\t\t</tr>
\t\t</table>
\t</td>
\t";
        // line 255
        if (isset($context["posting_editor_bbcode_status_after"])) { $_posting_editor_bbcode_status_after_ = $context["posting_editor_bbcode_status_after"]; } else { $_posting_editor_bbcode_status_after_ = null; }
        // line 256
        echo "\t<td class=\"row2\">
\t\t<table cellpadding=\"1\">
\t\t";
        // line 258
        if (isset($context["posting_editor_options_prepend"])) { $_posting_editor_options_prepend_ = $context["posting_editor_options_prepend"]; } else { $_posting_editor_options_prepend_ = null; }
        // line 259
        echo "\t\t";
        if (isset($context["S_BBCODE_ALLOWED"])) { $_S_BBCODE_ALLOWED_ = $context["S_BBCODE_ALLOWED"]; } else { $_S_BBCODE_ALLOWED_ = null; }
        if ($_S_BBCODE_ALLOWED_) {
            // line 260
            echo "\t\t\t<tr>
\t\t\t\t<td><input type=\"checkbox\" class=\"radio\" name=\"disable_bbcode\"";
            // line 261
            if (isset($context["S_BBCODE_CHECKED"])) { $_S_BBCODE_CHECKED_ = $context["S_BBCODE_CHECKED"]; } else { $_S_BBCODE_CHECKED_ = null; }
            echo $_S_BBCODE_CHECKED_;
            echo " /></td>
\t\t\t\t<td class=\"gen\">";
            // line 262
            echo $this->env->getExtension('phpbb')->lang("DISABLE_BBCODE");
            echo "</td>
\t\t\t</tr>
\t\t";
        }
        // line 265
        echo "
\t\t";
        // line 266
        if (isset($context["S_SMILIES_ALLOWED"])) { $_S_SMILIES_ALLOWED_ = $context["S_SMILIES_ALLOWED"]; } else { $_S_SMILIES_ALLOWED_ = null; }
        if ($_S_SMILIES_ALLOWED_) {
            // line 267
            echo "\t\t\t<tr>
\t\t\t\t<td><input type=\"checkbox\" class=\"radio\" name=\"disable_smilies\"";
            // line 268
            if (isset($context["S_SMILIES_CHECKED"])) { $_S_SMILIES_CHECKED_ = $context["S_SMILIES_CHECKED"]; } else { $_S_SMILIES_CHECKED_ = null; }
            echo $_S_SMILIES_CHECKED_;
            echo " /></td>
\t\t\t\t<td class=\"gen\">";
            // line 269
            echo $this->env->getExtension('phpbb')->lang("DISABLE_SMILIES");
            echo "</td>
\t\t\t</tr>
\t\t";
        }
        // line 272
        echo "
\t\t";
        // line 273
        if (isset($context["S_LINKS_ALLOWED"])) { $_S_LINKS_ALLOWED_ = $context["S_LINKS_ALLOWED"]; } else { $_S_LINKS_ALLOWED_ = null; }
        if ($_S_LINKS_ALLOWED_) {
            // line 274
            echo "\t\t<tr>
\t\t\t<td><input type=\"checkbox\" class=\"radio\" name=\"disable_magic_url\"";
            // line 275
            if (isset($context["S_MAGIC_URL_CHECKED"])) { $_S_MAGIC_URL_CHECKED_ = $context["S_MAGIC_URL_CHECKED"]; } else { $_S_MAGIC_URL_CHECKED_ = null; }
            echo $_S_MAGIC_URL_CHECKED_;
            echo " /></td>
\t\t\t<td class=\"gen\">";
            // line 276
            echo $this->env->getExtension('phpbb')->lang("DISABLE_MAGIC_URL");
            echo "</td>
\t\t</tr>
\t\t";
        }
        // line 279
        echo "
\t\t";
        // line 280
        if (isset($context["S_SIG_ALLOWED"])) { $_S_SIG_ALLOWED_ = $context["S_SIG_ALLOWED"]; } else { $_S_SIG_ALLOWED_ = null; }
        if ($_S_SIG_ALLOWED_) {
            // line 281
            echo "\t\t\t<tr>
\t\t\t\t<td><input type=\"checkbox\" class=\"radio\" name=\"attach_sig\"";
            // line 282
            if (isset($context["S_SIGNATURE_CHECKED"])) { $_S_SIGNATURE_CHECKED_ = $context["S_SIGNATURE_CHECKED"]; } else { $_S_SIGNATURE_CHECKED_ = null; }
            echo $_S_SIGNATURE_CHECKED_;
            echo " /></td>
\t\t\t\t<td class=\"gen\">";
            // line 283
            echo $this->env->getExtension('phpbb')->lang("ATTACH_SIG");
            echo "</td>
\t\t\t</tr>
\t\t";
        }
        // line 286
        echo "
\t\t";
        // line 287
        if (isset($context["S_NOTIFY_ALLOWED"])) { $_S_NOTIFY_ALLOWED_ = $context["S_NOTIFY_ALLOWED"]; } else { $_S_NOTIFY_ALLOWED_ = null; }
        if ($_S_NOTIFY_ALLOWED_) {
            // line 288
            echo "\t\t\t<tr>
\t\t\t\t<td><input type=\"checkbox\" class=\"radio\" name=\"notify\"";
            // line 289
            if (isset($context["S_NOTIFY_CHECKED"])) { $_S_NOTIFY_CHECKED_ = $context["S_NOTIFY_CHECKED"]; } else { $_S_NOTIFY_CHECKED_ = null; }
            echo $_S_NOTIFY_CHECKED_;
            echo " /></td>
\t\t\t\t<td class=\"gen\">";
            // line 290
            echo $this->env->getExtension('phpbb')->lang("NOTIFY_REPLY");
            echo "</td>
\t\t\t</tr>
\t\t";
        }
        // line 293
        echo "
\t\t";
        // line 294
        if (isset($context["S_PRIVMSGS"])) { $_S_PRIVMSGS_ = $context["S_PRIVMSGS"]; } else { $_S_PRIVMSGS_ = null; }
        if ( !$_S_PRIVMSGS_) {
            // line 295
            echo "\t\t\t";
            if (isset($context["S_LOCK_TOPIC_ALLOWED"])) { $_S_LOCK_TOPIC_ALLOWED_ = $context["S_LOCK_TOPIC_ALLOWED"]; } else { $_S_LOCK_TOPIC_ALLOWED_ = null; }
            if ($_S_LOCK_TOPIC_ALLOWED_) {
                // line 296
                echo "\t\t\t\t<tr>
\t\t\t\t\t<td><input type=\"checkbox\" class=\"radio\" name=\"lock_topic\"";
                // line 297
                if (isset($context["S_LOCK_TOPIC_CHECKED"])) { $_S_LOCK_TOPIC_CHECKED_ = $context["S_LOCK_TOPIC_CHECKED"]; } else { $_S_LOCK_TOPIC_CHECKED_ = null; }
                echo $_S_LOCK_TOPIC_CHECKED_;
                echo " /></td>
\t\t\t\t\t<td class=\"gen\">";
                // line 298
                echo $this->env->getExtension('phpbb')->lang("LOCK_TOPIC");
                echo "</td>
\t\t\t\t</tr>
\t\t\t";
            }
            // line 301
            echo "
\t\t\t";
            // line 302
            if (isset($context["S_LOCK_POST_ALLOWED"])) { $_S_LOCK_POST_ALLOWED_ = $context["S_LOCK_POST_ALLOWED"]; } else { $_S_LOCK_POST_ALLOWED_ = null; }
            if ($_S_LOCK_POST_ALLOWED_) {
                // line 303
                echo "\t\t\t\t<tr>
\t\t\t\t\t<td><input type=\"checkbox\" class=\"radio\" name=\"lock_post\"";
                // line 304
                if (isset($context["S_LOCK_POST_CHECKED"])) { $_S_LOCK_POST_CHECKED_ = $context["S_LOCK_POST_CHECKED"]; } else { $_S_LOCK_POST_CHECKED_ = null; }
                echo $_S_LOCK_POST_CHECKED_;
                echo " /></td>
\t\t\t\t\t<td class=\"gen\">";
                // line 305
                echo $this->env->getExtension('phpbb')->lang("LOCK_POST");
                echo " [";
                echo $this->env->getExtension('phpbb')->lang("LOCK_POST_EXPLAIN");
                echo "]</td>
\t\t\t\t</tr>
\t\t\t";
            }
            // line 308
            echo "
\t\t\t";
            // line 309
            if (isset($context["S_TYPE_TOGGLE"])) { $_S_TYPE_TOGGLE_ = $context["S_TYPE_TOGGLE"]; } else { $_S_TYPE_TOGGLE_ = null; }
            if ($_S_TYPE_TOGGLE_) {
                // line 310
                echo "\t\t\t\t<tr>
\t\t\t\t\t<td></td>
\t\t\t\t\t<td class=\"gen\">";
                // line 312
                if (isset($context["S_EDIT_POST"])) { $_S_EDIT_POST_ = $context["S_EDIT_POST"]; } else { $_S_EDIT_POST_ = null; }
                if ($_S_EDIT_POST_) {
                    echo $this->env->getExtension('phpbb')->lang("CHANGE_TOPIC_TO");
                } else {
                    echo $this->env->getExtension('phpbb')->lang("POST_TOPIC_AS");
                }
                echo $this->env->getExtension('phpbb')->lang("COLON");
                echo " ";
                if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "topic_type", array()));
                foreach ($context['_seq'] as $context["_key"] => $context["topic_type"]) {
                    echo "<input type=\"radio\" class=\"radio\" name=\"topic_type\" value=\"";
                    if (isset($context["topic_type"])) { $_topic_type_ = $context["topic_type"]; } else { $_topic_type_ = null; }
                    echo $this->getAttribute($_topic_type_, "VALUE", array());
                    echo "\"";
                    if (isset($context["topic_type"])) { $_topic_type_ = $context["topic_type"]; } else { $_topic_type_ = null; }
                    echo $this->getAttribute($_topic_type_, "S_CHECKED", array());
                    echo " />";
                    if (isset($context["topic_type"])) { $_topic_type_ = $context["topic_type"]; } else { $_topic_type_ = null; }
                    echo $this->getAttribute($_topic_type_, "L_TOPIC_TYPE", array());
                    echo "&nbsp;&nbsp;";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['topic_type'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                echo "</td>
\t\t\t\t</tr>
\t\t\t";
            }
            // line 315
            echo "\t\t";
        }
        // line 316
        echo "\t\t</table>
\t</td>
</tr>

";
        // line 320
        if (isset($context["S_SOFTDELETE_ALLOWED"])) { $_S_SOFTDELETE_ALLOWED_ = $context["S_SOFTDELETE_ALLOWED"]; } else { $_S_SOFTDELETE_ALLOWED_ = null; }
        if (isset($context["S_DELETE_ALLOWED"])) { $_S_DELETE_ALLOWED_ = $context["S_DELETE_ALLOWED"]; } else { $_S_DELETE_ALLOWED_ = null; }
        if (($_S_SOFTDELETE_ALLOWED_ || $_S_DELETE_ALLOWED_)) {
            // line 321
            echo "\t<tr>
\t\t<td class=\"row1\" valign=\"top\"><b class=\"genmed\">";
            // line 322
            echo $this->env->getExtension('phpbb')->lang("DELETE_POST");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo "</b></td>
\t\t<td class=\"row2\">
\t\t\t<table cellpadding=\"1\">
\t\t\t\t<tr>
\t\t\t\t\t<td><input type=\"checkbox\" class=\"radio\" name=\"delete\" /></td>
\t\t\t\t\t<td class=\"gen\">";
            // line 327
            echo $this->env->getExtension('phpbb')->lang("DELETE_POST_WARN");
            echo "</td>
\t\t\t\t</tr>
\t\t\t\t";
            // line 329
            if (isset($context["S_SOFTDELETE_ALLOWED"])) { $_S_SOFTDELETE_ALLOWED_ = $context["S_SOFTDELETE_ALLOWED"]; } else { $_S_SOFTDELETE_ALLOWED_ = null; }
            if (isset($context["S_DELETE_ALLOWED"])) { $_S_DELETE_ALLOWED_ = $context["S_DELETE_ALLOWED"]; } else { $_S_DELETE_ALLOWED_ = null; }
            if (($_S_SOFTDELETE_ALLOWED_ && $_S_DELETE_ALLOWED_)) {
                // line 330
                echo "\t\t\t\t\t<tr>
\t\t\t\t\t\t<td><input type=\"checkbox\" class=\"radio\" name=\"delete_permanent\" /></td>
\t\t\t\t\t\t<td class=\"gen\">";
                // line 332
                echo $this->env->getExtension('phpbb')->lang("DELETE_POST_PERMANENTLY");
                echo "</td>
\t\t\t\t\t</tr>
\t\t\t\t";
            }
            // line 335
            echo "\t\t\t</table>
\t\t</td>
\t</tr>
";
        }
        // line 339
        echo "
";
        // line 340
        if (isset($context["S_TOPIC_TYPE_ANNOUNCE"])) { $_S_TOPIC_TYPE_ANNOUNCE_ = $context["S_TOPIC_TYPE_ANNOUNCE"]; } else { $_S_TOPIC_TYPE_ANNOUNCE_ = null; }
        if (isset($context["S_TOPIC_TYPE_STICKY"])) { $_S_TOPIC_TYPE_STICKY_ = $context["S_TOPIC_TYPE_STICKY"]; } else { $_S_TOPIC_TYPE_STICKY_ = null; }
        if (($_S_TOPIC_TYPE_ANNOUNCE_ || $_S_TOPIC_TYPE_STICKY_)) {
            // line 341
            echo "\t<tr>
\t\t<td class=\"row1\"><b class=\"genmed\">";
            // line 342
            echo $this->env->getExtension('phpbb')->lang("STICK_TOPIC_FOR");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo "</b><br /><span class=\"gensmall\">";
            echo $this->env->getExtension('phpbb')->lang("STICKY_ANNOUNCE_TIME_LIMIT");
            echo "</span></td>
\t\t<td class=\"row2\"><input class=\"post\" type=\"number\" min=\"0\" max=\"999\" name=\"topic_time_limit\" value=\"";
            // line 343
            if (isset($context["TOPIC_TIME_LIMIT"])) { $_TOPIC_TIME_LIMIT_ = $context["TOPIC_TIME_LIMIT"]; } else { $_TOPIC_TIME_LIMIT_ = null; }
            echo $_TOPIC_TIME_LIMIT_;
            echo "\" />&nbsp;<b class=\"gen\">";
            echo $this->env->getExtension('phpbb')->lang("DAYS");
            echo "</b> <span class=\"gensmall\">";
            echo $this->env->getExtension('phpbb')->lang("STICK_TOPIC_FOR_EXPLAIN");
            echo "</span></td>
\t</tr>
";
        }
        // line 346
        echo "
";
        // line 347
        if (isset($context["S_EDIT_REASON"])) { $_S_EDIT_REASON_ = $context["S_EDIT_REASON"]; } else { $_S_EDIT_REASON_ = null; }
        if ($_S_EDIT_REASON_) {
            // line 348
            echo "\t<tr>
\t\t<td class=\"row1\" valign=\"top\"><b class=\"genmed\">";
            // line 349
            echo $this->env->getExtension('phpbb')->lang("EDIT_REASON");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo "</b></td>
\t\t<td class=\"row2\"><input class=\"post\" type=\"text\" name=\"edit_reason\" size=\"50\" value=\"";
            // line 350
            if (isset($context["EDIT_REASON"])) { $_EDIT_REASON_ = $context["EDIT_REASON"]; } else { $_EDIT_REASON_ = null; }
            echo $_EDIT_REASON_;
            echo "\" /></td>
\t</tr>
";
        }
        // line 353
        echo "
\t\t";
        // line 354
        if (isset($context["CAPTCHA_TEMPLATE"])) { $_CAPTCHA_TEMPLATE_ = $context["CAPTCHA_TEMPLATE"]; } else { $_CAPTCHA_TEMPLATE_ = null; }
        if (isset($context["S_CONFIRM_CODE"])) { $_S_CONFIRM_CODE_ = $context["S_CONFIRM_CODE"]; } else { $_S_CONFIRM_CODE_ = null; }
        if (($_CAPTCHA_TEMPLATE_ && $_S_CONFIRM_CODE_)) {
            // line 355
            echo "\t\t";
            if (isset($context["CAPTCHA_TAB_INDEX"])) { $_CAPTCHA_TAB_INDEX_ = $context["CAPTCHA_TAB_INDEX"]; } else { $_CAPTCHA_TAB_INDEX_ = null; }
            $value = 4;
            $context['definition']->set('CAPTCHA_TAB_INDEX', $value);
            // line 356
            echo "\t\t";
            if (isset($context["CAPTCHA_TEMPLATE"])) { $_CAPTCHA_TEMPLATE_ = $context["CAPTCHA_TEMPLATE"]; } else { $_CAPTCHA_TEMPLATE_ = null; }
            $location = (("" . $_CAPTCHA_TEMPLATE_) . "");
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate((("" . $_CAPTCHA_TEMPLATE_) . ""), "posting_body.html", 356)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
            // line 357
            echo "\t\t";
        }
        // line 358
        echo "

";
        // line 360
        if (isset($context["S_SHOW_ATTACH_BOX"])) { $_S_SHOW_ATTACH_BOX_ = $context["S_SHOW_ATTACH_BOX"]; } else { $_S_SHOW_ATTACH_BOX_ = null; }
        if (isset($context["S_SHOW_POLL_BOX"])) { $_S_SHOW_POLL_BOX_ = $context["S_SHOW_POLL_BOX"]; } else { $_S_SHOW_POLL_BOX_ = null; }
        if (($_S_SHOW_ATTACH_BOX_ || $_S_SHOW_POLL_BOX_)) {
            // line 361
            echo "\t<tr>
\t\t<td class=\"cat\" colspan=\"2\" align=\"center\">
\t\t\t<input class=\"btnlite\" type=\"submit\" tabindex=\"5\" name=\"preview\" value=\"";
            // line 363
            echo $this->env->getExtension('phpbb')->lang("PREVIEW");
            echo "\" />
\t\t\t&nbsp; <input class=\"btnmain\" type=\"submit\" accesskey=\"s\" tabindex=\"6\" name=\"post\" value=\"";
            // line 364
            echo $this->env->getExtension('phpbb')->lang("SUBMIT");
            echo "\" />
\t\t\t";
            // line 365
            if (isset($context["S_SAVE_ALLOWED"])) { $_S_SAVE_ALLOWED_ = $context["S_SAVE_ALLOWED"]; } else { $_S_SAVE_ALLOWED_ = null; }
            if ($_S_SAVE_ALLOWED_) {
                echo "&nbsp; <input class=\"btnlite\" type=\"submit\" accesskey=\"k\" tabindex=\"7\" name=\"save\" value=\"";
                echo $this->env->getExtension('phpbb')->lang("SAVE_DRAFT");
                echo "\" />";
            }
            // line 366
            echo "\t\t\t";
            if (isset($context["S_HAS_DRAFTS"])) { $_S_HAS_DRAFTS_ = $context["S_HAS_DRAFTS"]; } else { $_S_HAS_DRAFTS_ = null; }
            if ($_S_HAS_DRAFTS_) {
                echo "&nbsp; <input class=\"btnlite\" type=\"submit\" accesskey=\"d\" tabindex=\"8\" name=\"load\" value=\"";
                echo $this->env->getExtension('phpbb')->lang("LOAD_DRAFT");
                echo "\" />";
            }
            // line 367
            echo "\t\t\t&nbsp; <input class=\"btnlite\" type=\"submit\" accesskey=\"c\" tabindex=\"9\" name=\"cancel\" value=\"";
            echo $this->env->getExtension('phpbb')->lang("CANCEL");
            echo "\" />
\t\t</td>
\t</tr>

\t";
            // line 371
            if (isset($context["S_SHOW_ATTACH_BOX"])) { $_S_SHOW_ATTACH_BOX_ = $context["S_SHOW_ATTACH_BOX"]; } else { $_S_SHOW_ATTACH_BOX_ = null; }
            if ($_S_SHOW_ATTACH_BOX_) {
                $location = "posting_attach_body.html";
                $namespace = false;
                if (strpos($location, '@') === 0) {
                    $namespace = substr($location, 1, strpos($location, '/') - 1);
                    $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                    $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
                }
                $this->loadTemplate("posting_attach_body.html", "posting_body.html", 371)->display($context);
                if ($namespace) {
                    $this->env->setNamespaceLookUpOrder($previous_look_up_order);
                }
            }
            // line 372
            echo "
\t";
            // line 373
            if (isset($context["S_SHOW_POLL_BOX"])) { $_S_SHOW_POLL_BOX_ = $context["S_SHOW_POLL_BOX"]; } else { $_S_SHOW_POLL_BOX_ = null; }
            if (isset($context["S_POLL_DELETE"])) { $_S_POLL_DELETE_ = $context["S_POLL_DELETE"]; } else { $_S_POLL_DELETE_ = null; }
            if ($_S_SHOW_POLL_BOX_) {
                // line 374
                echo "\t\t";
                $location = "posting_poll_body.html";
                $namespace = false;
                if (strpos($location, '@') === 0) {
                    $namespace = substr($location, 1, strpos($location, '/') - 1);
                    $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                    $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
                }
                $this->loadTemplate("posting_poll_body.html", "posting_body.html", 374)->display($context);
                if ($namespace) {
                    $this->env->setNamespaceLookUpOrder($previous_look_up_order);
                }
                // line 375
                echo "\t";
            } elseif ($_S_POLL_DELETE_) {
                // line 376
                echo "\t\t<tr>
\t\t\t<td class=\"row1\"><span class=\"genmed\"><b>";
                // line 377
                echo $this->env->getExtension('phpbb')->lang("POLL_DELETE");
                echo $this->env->getExtension('phpbb')->lang("COLON");
                echo "</b></span></td>
\t\t\t<td class=\"row2\"><input type=\"checkbox\" class=\"radio\" name=\"poll_delete\" /></td>
\t\t</tr>
\t";
            }
        }
        // line 382
        echo "
<tr>
\t<td class=\"cat\" colspan=\"2\" align=\"center\">";
        // line 384
        if (isset($context["S_HIDDEN_FIELDS"])) { $_S_HIDDEN_FIELDS_ = $context["S_HIDDEN_FIELDS"]; } else { $_S_HIDDEN_FIELDS_ = null; }
        echo $_S_HIDDEN_FIELDS_;
        echo "
\t\t<input class=\"btnlite\" type=\"submit\" tabindex=\"10\" name=\"preview\" value=\"";
        // line 385
        echo $this->env->getExtension('phpbb')->lang("PREVIEW");
        echo "\" />
\t\t&nbsp; <input class=\"btnmain\" type=\"submit\" accesskey=\"s\" tabindex=\"11\" name=\"post\" value=\"";
        // line 386
        echo $this->env->getExtension('phpbb')->lang("SUBMIT");
        echo "\" />
\t\t";
        // line 387
        if (isset($context["posting_editor_submit_buttons"])) { $_posting_editor_submit_buttons_ = $context["posting_editor_submit_buttons"]; } else { $_posting_editor_submit_buttons_ = null; }
        // line 388
        echo "\t\t";
        if (isset($context["S_SHOW_ATTACH_BOX"])) { $_S_SHOW_ATTACH_BOX_ = $context["S_SHOW_ATTACH_BOX"]; } else { $_S_SHOW_ATTACH_BOX_ = null; }
        if (isset($context["S_SHOW_POLL_BOX"])) { $_S_SHOW_POLL_BOX_ = $context["S_SHOW_POLL_BOX"]; } else { $_S_SHOW_POLL_BOX_ = null; }
        if (( !$_S_SHOW_ATTACH_BOX_ &&  !$_S_SHOW_POLL_BOX_)) {
            // line 389
            echo "\t\t\t";
            if (isset($context["S_SAVE_ALLOWED"])) { $_S_SAVE_ALLOWED_ = $context["S_SAVE_ALLOWED"]; } else { $_S_SAVE_ALLOWED_ = null; }
            if ($_S_SAVE_ALLOWED_) {
                echo "&nbsp; <input class=\"btnlite\" type=\"submit\" accesskey=\"k\" tabindex=\"12\" name=\"save\" value=\"";
                echo $this->env->getExtension('phpbb')->lang("SAVE_DRAFT");
                echo "\" />";
            }
            // line 390
            echo "\t\t\t";
            if (isset($context["S_HAS_DRAFTS"])) { $_S_HAS_DRAFTS_ = $context["S_HAS_DRAFTS"]; } else { $_S_HAS_DRAFTS_ = null; }
            if ($_S_HAS_DRAFTS_) {
                echo "&nbsp; <input class=\"btnlite\" type=\"submit\" accesskey=\"d\" tabindex=\"13\" name=\"load\" value=\"";
                echo $this->env->getExtension('phpbb')->lang("LOAD_DRAFT");
                echo "\" />";
            }
            // line 391
            echo "\t\t";
        }
        // line 392
        echo "\t\t&nbsp; <input class=\"btnlite\" type=\"submit\" accesskey=\"c\" tabindex=\"14\" name=\"cancel\" value=\"";
        echo $this->env->getExtension('phpbb')->lang("CANCEL");
        echo "\" />
\t</td>
</tr>
</table>
";
        // line 396
        if (isset($context["S_PRIVMSGS"])) { $_S_PRIVMSGS_ = $context["S_PRIVMSGS"]; } else { $_S_PRIVMSGS_ = null; }
        if ( !$_S_PRIVMSGS_) {
            // line 397
            echo "\t";
            if (isset($context["S_FORM_TOKEN"])) { $_S_FORM_TOKEN_ = $context["S_FORM_TOKEN"]; } else { $_S_FORM_TOKEN_ = null; }
            echo $_S_FORM_TOKEN_;
            echo "
\t</form>
";
        }
        // line 400
        echo "<br clear=\"all\" />

";
        // line 402
        if (isset($context["S_DISPLAY_REVIEW"])) { $_S_DISPLAY_REVIEW_ = $context["S_DISPLAY_REVIEW"]; } else { $_S_DISPLAY_REVIEW_ = null; }
        if ($_S_DISPLAY_REVIEW_) {
            $location = "posting_topic_review.html";
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate("posting_topic_review.html", "posting_body.html", 402)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
        }
        // line 403
        if (isset($context["S_DISPLAY_HISTORY"])) { $_S_DISPLAY_HISTORY_ = $context["S_DISPLAY_HISTORY"]; } else { $_S_DISPLAY_HISTORY_ = null; }
        if ($_S_DISPLAY_HISTORY_) {
            $location = "ucp_pm_history.html";
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate("ucp_pm_history.html", "posting_body.html", 403)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
        }
        // line 404
        echo "
";
        // line 405
        if (isset($context["S_PRIVMSGS"])) { $_S_PRIVMSGS_ = $context["S_PRIVMSGS"]; } else { $_S_PRIVMSGS_ = null; }
        if ($_S_PRIVMSGS_) {
            // line 406
            echo "\t";
            $location = "ucp_footer.html";
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate("ucp_footer.html", "posting_body.html", 406)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
        } else {
            // line 408
            echo "
\t";
            // line 409
            $location = "breadcrumbs.html";
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate("breadcrumbs.html", "posting_body.html", 409)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
            // line 410
            echo "

\t";
            // line 412
            if (isset($context["S_DISPLAY_ONLINE_LIST"])) { $_S_DISPLAY_ONLINE_LIST_ = $context["S_DISPLAY_ONLINE_LIST"]; } else { $_S_DISPLAY_ONLINE_LIST_ = null; }
            if ($_S_DISPLAY_ONLINE_LIST_) {
                // line 413
                echo "\t\t<br clear=\"all\" />

\t\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
\t\t<tr>
\t\t\t<td class=\"cat\"><h4>";
                // line 417
                echo $this->env->getExtension('phpbb')->lang("WHO_IS_ONLINE");
                echo "</h4></td>
\t\t</tr>
\t\t<tr>
\t\t\t<td class=\"row1\"><span class=\"gensmall\">";
                // line 420
                if (isset($context["LOGGED_IN_USER_LIST"])) { $_LOGGED_IN_USER_LIST_ = $context["LOGGED_IN_USER_LIST"]; } else { $_LOGGED_IN_USER_LIST_ = null; }
                echo $_LOGGED_IN_USER_LIST_;
                echo "</span></td>
\t\t</tr>
\t\t</table>
\t";
            }
            // line 424
            echo "
\t<br clear=\"all\" />

\t<table width=\"100%\" cellspacing=\"1\">
\t<tr>
\t\t<td align=\"";
            // line 429
            if (isset($context["S_CONTENT_FLOW_END"])) { $_S_CONTENT_FLOW_END_ = $context["S_CONTENT_FLOW_END"]; } else { $_S_CONTENT_FLOW_END_ = null; }
            echo $_S_CONTENT_FLOW_END_;
            echo "\">";
            $location = "jumpbox.html";
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate("jumpbox.html", "posting_body.html", 429)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
            echo "</td>
\t</tr>
\t</table>

\t";
            // line 433
            $location = "overall_footer.html";
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate("overall_footer.html", "posting_body.html", 433)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
        }
    }

    public function getTemplateName()
    {
        return "posting_body.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  1527 => 433,  1507 => 429,  1500 => 424,  1492 => 420,  1486 => 417,  1480 => 413,  1477 => 412,  1473 => 410,  1461 => 409,  1458 => 408,  1444 => 406,  1441 => 405,  1438 => 404,  1423 => 403,  1408 => 402,  1404 => 400,  1396 => 397,  1393 => 396,  1385 => 392,  1382 => 391,  1374 => 390,  1366 => 389,  1361 => 388,  1359 => 387,  1355 => 386,  1351 => 385,  1346 => 384,  1342 => 382,  1333 => 377,  1330 => 376,  1327 => 375,  1314 => 374,  1310 => 373,  1307 => 372,  1292 => 371,  1284 => 367,  1276 => 366,  1269 => 365,  1265 => 364,  1261 => 363,  1257 => 361,  1253 => 360,  1249 => 358,  1246 => 357,  1232 => 356,  1227 => 355,  1223 => 354,  1220 => 353,  1213 => 350,  1208 => 349,  1205 => 348,  1202 => 347,  1199 => 346,  1188 => 343,  1181 => 342,  1178 => 341,  1174 => 340,  1171 => 339,  1165 => 335,  1159 => 332,  1155 => 330,  1151 => 329,  1146 => 327,  1137 => 322,  1134 => 321,  1130 => 320,  1124 => 316,  1121 => 315,  1090 => 312,  1086 => 310,  1083 => 309,  1080 => 308,  1072 => 305,  1067 => 304,  1064 => 303,  1061 => 302,  1058 => 301,  1052 => 298,  1047 => 297,  1044 => 296,  1040 => 295,  1037 => 294,  1034 => 293,  1028 => 290,  1023 => 289,  1020 => 288,  1017 => 287,  1014 => 286,  1008 => 283,  1003 => 282,  1000 => 281,  997 => 280,  994 => 279,  988 => 276,  983 => 275,  980 => 274,  977 => 273,  974 => 272,  968 => 269,  963 => 268,  960 => 267,  957 => 266,  954 => 265,  948 => 262,  943 => 261,  940 => 260,  936 => 259,  934 => 258,  930 => 256,  928 => 255,  920 => 251,  917 => 250,  910 => 247,  903 => 244,  896 => 241,  893 => 240,  890 => 239,  884 => 237,  877 => 234,  873 => 232,  863 => 228,  858 => 227,  855 => 226,  852 => 225,  846 => 221,  844 => 220,  841 => 219,  836 => 216,  833 => 215,  828 => 214,  825 => 213,  822 => 212,  810 => 211,  798 => 201,  795 => 200,  790 => 197,  781 => 194,  778 => 193,  775 => 192,  770 => 189,  745 => 187,  740 => 186,  733 => 182,  729 => 180,  725 => 179,  723 => 178,  716 => 177,  713 => 176,  711 => 175,  707 => 173,  705 => 172,  692 => 171,  690 => 170,  684 => 168,  681 => 167,  679 => 166,  673 => 162,  664 => 160,  658 => 158,  631 => 157,  628 => 156,  622 => 155,  616 => 153,  613 => 152,  610 => 151,  606 => 149,  597 => 147,  591 => 145,  564 => 144,  558 => 143,  552 => 142,  547 => 141,  541 => 139,  538 => 138,  535 => 137,  532 => 136,  525 => 133,  520 => 132,  517 => 131,  513 => 130,  510 => 129,  465 => 123,  457 => 119,  454 => 118,  450 => 117,  447 => 116,  440 => 113,  437 => 112,  434 => 111,  428 => 108,  423 => 105,  405 => 99,  396 => 93,  392 => 91,  388 => 90,  384 => 88,  369 => 87,  354 => 86,  350 => 84,  344 => 80,  332 => 77,  329 => 76,  324 => 75,  318 => 74,  305 => 73,  290 => 72,  285 => 71,  280 => 70,  277 => 69,  270 => 68,  267 => 67,  262 => 66,  257 => 64,  253 => 63,  249 => 62,  243 => 59,  237 => 56,  233 => 54,  230 => 53,  227 => 52,  213 => 46,  207 => 43,  203 => 41,  200 => 40,  197 => 39,  187 => 37,  184 => 36,  181 => 35,  175 => 31,  148 => 29,  143 => 28,  133 => 26,  130 => 25,  106 => 23,  103 => 22,  100 => 21,  97 => 20,  91 => 16,  85 => 14,  80 => 13,  72 => 11,  67 => 10,  64 => 9,  56 => 8,  53 => 7,  50 => 6,  36 => 4,  22 => 2,  19 => 1,);
    }
}
/* <!-- IF S_PRIVMSGS -->*/
/* 	<!-- INCLUDE ucp_header.html -->*/
/* <!-- ELSE -->*/
/* 	<!-- INCLUDE overall_header.html -->*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF S_FORUM_RULES -->*/
/* 	<div class="forumrules<!-- IF U_FORUM_RULES --> rules-link<!-- ENDIF -->">*/
/* 		<!-- IF U_FORUM_RULES -->*/
/* 			<h3>{L_FORUM_RULES}</h3><br />*/
/* 			<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>*/
/* 		<!-- ELSE -->*/
/* 			<h3>{L_FORUM_RULES}</h3><br />*/
/* 			{FORUM_RULES}*/
/* 		<!-- ENDIF -->*/
/* 	</div>*/
/* */
/* 	<br clear="all" />*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF not S_PRIVMSGS -->*/
/* 	<div id="pageheader">*/
/* 		<h2><!-- IF TOPIC_TITLE --><!-- EVENT posting_topic_title_before --><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- EVENT posting_topic_title_after --><!-- ELSE --><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><!-- ENDIF --></h2>*/
/* */
/* 		<!-- IF MODERATORS -->*/
/* 			<p class="moderators">{L_MODERATORS}{L_COLON} {MODERATORS}</p>*/
/* 		<!-- ENDIF -->*/
/* 		<!-- IF U_MCP or U_ACP -->*/
/* 			<p class="linkmcp">[&nbsp;<!-- IF U_ACP --><a href="{U_ACP}">{L_ACP}</a><!-- IF U_MCP -->&nbsp;|&nbsp;<!-- ENDIF --><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}">{L_MCP}</a><!-- ENDIF -->&nbsp;]</p>*/
/* 		<!-- ENDIF -->*/
/* 	</div>*/
/* */
/* 	<br clear="all" /><br />*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF not S_SHOW_PM_BOX -->*/
/* 	<form action="{S_POST_ACTION}" method="post" name="postform"{S_FORM_ENCTYPE}>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF S_DRAFT_LOADED -->*/
/* 	<table class="tablebg" width="100%" cellspacing="1">*/
/* 	<tr>*/
/* 		<th align="center">{L_INFORMATION}</th>*/
/* 	</tr>*/
/* 	<tr>*/
/* 		<td class="row1" align="center"><span class="gen"><!-- IF S_PRIVMSGS -->{L_DRAFT_LOADED_PM}<!-- ELSE -->{L_DRAFT_LOADED}<!-- ENDIF --></span></td>*/
/* 	</tr>*/
/* 	</table>*/
/* */
/* 	<br clear="all" />*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF S_SHOW_DRAFTS -->*/
/* 	<table class="tablebg" width="100%" cellspacing="1">*/
/* 	<tr>*/
/* 		<th colspan="3" align="center">{L_LOAD_DRAFT}</th>*/
/* 	</tr>*/
/* 	<tr>*/
/* 		<td class="row1" colspan="3" align="center"><span class="gen">{L_LOAD_DRAFT_EXPLAIN}</span></td>*/
/* 	</tr>*/
/* 	<tr>*/
/* 		<th>{L_SAVE_DATE}</th>*/
/* 		<th>{L_DRAFT_TITLE}</th>*/
/* 		<th>{L_OPTIONS}</th>*/
/* 	</tr>*/
/* 	<!-- BEGIN draftrow -->*/
/* */
/* 		<!-- IF draftrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->*/
/* */
/* 		<td class="postdetails" style="padding: 4px;">{draftrow.DATE}</td>*/
/* 		<td style="padding: 4px;"><b class="gen">{draftrow.DRAFT_SUBJECT}</b>*/
/* 			<!-- IF draftrow.S_LINK_TOPIC --><br /><span class="gensmall">{L_TOPIC}{L_COLON} <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span>*/
/* 			<!-- ELSEIF draftrow.S_LINK_FORUM --><br /><span class="gensmall">{L_FORUM}{L_COLON} <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span>*/
/* 			<!-- ELSEIF draftrow.S_LINK_PM --><br /><span class="gensmall">{L_PRIVATE_MESSAGE}</span>*/
/* 			<!-- ELSE --><br /><span class="gensmall">{L_NO_TOPIC_FORUM}</span><!-- ENDIF -->*/
/* 		</td>*/
/* 		<td style="padding: 4px;" align="center"><span class="gen"><a href="{draftrow.U_INSERT}">{L_LOAD_DRAFT}</a></span></td>*/
/* 	</tr>*/
/* 	<!-- END draftrow -->*/
/* 	</table>*/
/* */
/* 	<br clear="all" />*/
/* <!-- ENDIF -->*/
/* */
/* */
/* <!-- IF S_POST_REVIEW --><!-- INCLUDE posting_review.html --><!-- ENDIF -->*/
/* <!-- IF S_DISPLAY_PREVIEW --><!-- INCLUDE posting_preview.html --><!-- ENDIF -->*/
/* */
/* */
/* <!-- IF not S_PRIVMSGS and S_UNGLOBALISE -->*/
/* 	<table class="tablebg" width="100%" cellspacing="1">*/
/* 	<tr>*/
/* 		<th>{L_MOVE}</th>*/
/* 	</tr>*/
/* 	<tr>*/
/* 		<td class="spacer" colspan="2"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>*/
/* 	</tr>*/
/* 	<tr>*/
/* 		<td class="row2" align="center"><span class="gen">{L_UNGLOBALISE_EXPLAIN}<br /><br />{L_SELECT_DESTINATION_FORUM}&nbsp;&nbsp;</span><select name="to_forum_id">{S_FORUM_SELECT}</select><br /><br /><input class="btnmain" type="submit" name="post" value="{L_CONFIRM}" />&nbsp;&nbsp; <input class="btnlite" type="submit" name="cancel_unglobalise" value="{L_CANCEL}" /></td>*/
/* 	</tr>*/
/* 	</table>*/
/* */
/* 	<br clear="all" />*/
/* <!-- ENDIF -->*/
/* */
/* <table class="tablebg" width="100%" cellspacing="1">*/
/* <tr>*/
/* 	<th colspan="2"><b>{L_POST_A}</b></th>*/
/* </tr>*/
/* */
/* <!-- IF ERROR -->*/
/* 	<tr>*/
/* 		<td class="row2" colspan="2" align="center"><span class="genmed error">{ERROR}</span></td>*/
/* 	</tr>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF S_SHOW_TOPIC_ICONS or S_SHOW_PM_ICONS -->*/
/* 	<tr>*/
/* 		<td class="row1"><b class="genmed">{L_ICON}{L_COLON}</b></td>*/
/* 		<td class="row2">*/
/* 			<table width="100%" cellspacing="0" cellpadding="0" border="0">*/
/* 			<tr>*/
/* 				<td><input type="radio" class="radio" name="icon" value="0"{S_NO_ICON_CHECKED} tabindex="1" /><span class="genmed"><!-- IF S_SHOW_TOPIC_ICONS -->{L_NO_TOPIC_ICON}<!-- ELSE -->{L_NO_PM_ICON}<!-- ENDIF --></span> <!-- BEGIN topic_icon --><span style="white-space: nowrap;"><input type="radio" class="radio" name="icon" value="{topic_icon.ICON_ID}"{topic_icon.S_ICON_CHECKED} tabindex="1" /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="{topic_icon.ICON_NAME}" title="" hspace="2" vspace="2" /></span> <!-- END topic_icon --></td>*/
/* 			</tr>*/
/* 			</table>*/
/* 		</td>*/
/* 	</tr>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF not S_PRIVMSGS and S_DISPLAY_USERNAME -->*/
/* 	<tr>*/
/* 		<td class="row1"><b class="genmed">{L_USERNAME}{L_COLON}</b></td>*/
/* 		<td class="row2"><input class="post" type="text" tabindex="1" name="username" size="25" value="{USERNAME}" /></td>*/
/* 	</tr>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF S_PRIVMSGS -->*/
/* 	<tr>*/
/* 		<td class="row1"><b class="genmed">{L_TO}{L_COLON}</b></td>*/
/* 		<td class="row2">*/
/* 			{S_HIDDEN_ADDRESS_FIELD}*/
/* 		<!-- BEGIN to_recipient -->*/
/* 			<span style="display: block; float: {S_CONTENT_FLOW_BEGIN};" class="nowrap genmed"><strong>*/
/* 			<!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><span class="sep">{to_recipient.NAME}</span></a><!-- ELSE -->{to_recipient.NAME_FULL}<!-- ENDIF --></strong>&nbsp;<!-- IF not S_EDIT_POST --><input class="post" type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="{L_REMOVE}" />&nbsp;<!-- ENDIF -->*/
/* 			</span>*/
/* 		<!-- BEGINELSE -->*/
/* 			<span class="genmed">{L_NO_TO_RECIPIENT}</span>*/
/* 		<!-- END to_recipient -->*/
/* 		</td>*/
/* 	</tr>*/
/* 	<!-- IF S_ALLOW_MASS_PM -->*/
/* 	<tr>*/
/* 		<td class="row1"><b class="genmed">{L_BCC}{L_COLON}</b></td>*/
/* 		<td class="row2">*/
/* 		<!-- BEGIN bcc_recipient -->*/
/* 			<span class="genmed nowrap"><strong>*/
/* 			<!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}"><span class="sep">{bcc_recipient.NAME}</span></a><!-- ELSE -->{bcc_recipient.NAME_FULL}<!-- ENDIF --></strong>&nbsp;<!-- IF not S_EDIT_POST --><input class="post" type="submit" name="remove_{bcc_recipient.TYPE}[{bcc_recipient.UG_ID}]" value="{L_REMOVE}" />&nbsp;<!-- ENDIF -->*/
/* 			</span>*/
/* 		<!-- BEGINELSE -->*/
/* 			<span class="genmed">{L_NO_BCC_RECIPIENT}</span>*/
/* 		<!-- END bcc_recipient -->*/
/* 		</td>*/
/* 	</tr>*/
/* 	<!-- ENDIF -->*/
/* <!-- ENDIF -->*/
/* <!-- EVENT posting_editor_subject_before -->*/
/* <tr>*/
/* 	<td class="row1" width="22%"><b class="genmed">{L_SUBJECT}{L_COLON}</b></td>*/
/* 	<td class="row2" width="78%">*/
/* 		<!-- EVENT posting_editor_subject_prepend -->*/
/* 		<input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->120<!-- ELSE -->124<!-- ENDIF -->" tabindex="2" value="{SUBJECT}" />*/
/* 		<!-- EVENT posting_editor_subject_append -->*/
/* 	</td>*/
/* </tr>*/
/* <!-- EVENT posting_editor_subject_after -->*/
/* <tr>*/
/* 	<td class="row1" valign="top"><b class="genmed">{L_MESSAGE_BODY}{L_COLON}</b><br /><span class="gensmall">{L_MESSAGE_BODY_EXPLAIN}&nbsp;</span><br /><br />*/
/* 	<!-- EVENT posting_editor_smilies_before -->*/
/* 	<!-- IF S_SMILIES_ALLOWED -->*/
/* 		<table width="100%" cellspacing="5" cellpadding="0" border="0" align="center">*/
/* 		<tr>*/
/* 			<td class="gensmall" align="center"><b>{L_SMILIES}</b></td>*/
/* 		</tr>*/
/* 		<tr>*/
/* 			<td align="center">*/
/* 				<!-- BEGIN smiley -->*/
/* 					<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;" style="line-height: 20px;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" /></a>*/
/* 				<!-- END smiley -->*/
/* 			</td>*/
/* 		</tr>*/
/* */
/* 		<!-- IF S_SHOW_SMILEY_LINK -->*/
/* 			<tr>*/
/* 				<td align="center"><a class="nav" href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a></td>*/
/* 			</tr>*/
/* 		<!-- ENDIF -->*/
/* */
/* 		</table>*/
/* 	<!-- ENDIF -->*/
/* 	<!-- EVENT posting_editor_smilies_after -->*/
/* 	</td>*/
/* 	<td class="row2" valign="top">*/
/* 		<script type="text/javascript">*/
/* 		// <![CDATA[*/
/* 			var form_name = 'postform';*/
/* 			var text_name = 'message';*/
/* 		// ]]>*/
/* 		</script>*/
/* */
/* 		<table width="100%" cellspacing="0" cellpadding="0" border="0">*/
/* 		<!-- INCLUDE posting_buttons.html -->*/
/* 		<!-- EVENT posting_editor_message_before -->*/
/* 		<tr>*/
/* 			<td valign="top" style="width: 100%;"><textarea name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" style="width: 700px; height: 270px; min-width: 98%; max-width: 98%;">{MESSAGE}</textarea></td>*/
/* 			<!-- IF S_BBCODE_ALLOWED -->*/
/* 			<td width="80" align="center" valign="top" id="color_palette_placeholder" data-orientation="v" data-width="11" data-height="10" data-bbcode="true">*/
/* 			</td>*/
/* 			<!-- ENDIF -->*/
/* 	 	</tr>*/
/* 	 	<!-- EVENT posting_editor_message_after -->*/
/* 		</table>*/
/* 	</td>*/
/* </tr>*/
/* */
/* <!-- IF S_INLINE_ATTACHMENT_OPTIONS -->*/
/* 	<tr>*/
/* 		<td class="row1"><b class="genmed">{L_ATTACHMENTS}{L_COLON}</b></td>*/
/* 		<td class="row2"><select name="attachments">{S_INLINE_ATTACHMENT_OPTIONS}</select>&nbsp;<input type="button" class="btnbbcode" accesskey="a" value="{L_PLACE_INLINE}" name="attachinline" onclick="attach_form = document.forms[form_name].elements['attachments']; attachInline(attach_form.value, attach_form.options[attach_form.selectedIndex].text);" onmouseover="helpline('a')" onmouseout="helpline('tip')" />*/
/* 		</td>*/
/* 	</tr>*/
/* <!-- ENDIF -->*/
/* */
/* <tr>*/
/* 	<td class="row1" valign="top"><b class="genmed">{L_OPTIONS}{L_COLON}</b><br />*/
/* 		<table cellspacing="2" cellpadding="0" border="0">*/
/* 		<tr>*/
/* 			<td class="gensmall">{BBCODE_STATUS}</td>*/
/* 		</tr>*/
/* 		<!-- IF S_BBCODE_ALLOWED -->*/
/* 		<tr>*/
/* 			<td class="gensmall">{IMG_STATUS}</td>*/
/* 		</tr>*/
/* 		<tr>*/
/* 			<td class="gensmall">{FLASH_STATUS}</td>*/
/* 		</tr>*/
/* 		<tr>*/
/* 			<td class="gensmall">{URL_STATUS}</td>*/
/* 		</tr>*/
/* 		<!-- ENDIF -->*/
/* 		<tr>*/
/* 			<td class="gensmall">{SMILIES_STATUS}</td>*/
/* 		</tr>*/
/* 		</table>*/
/* 	</td>*/
/* 	<!-- EVENT posting_editor_bbcode_status_after -->*/
/* 	<td class="row2">*/
/* 		<table cellpadding="1">*/
/* 		<!-- EVENT posting_editor_options_prepend -->*/
/* 		<!-- IF S_BBCODE_ALLOWED -->*/
/* 			<tr>*/
/* 				<td><input type="checkbox" class="radio" name="disable_bbcode"{S_BBCODE_CHECKED} /></td>*/
/* 				<td class="gen">{L_DISABLE_BBCODE}</td>*/
/* 			</tr>*/
/* 		<!-- ENDIF -->*/
/* */
/* 		<!-- IF S_SMILIES_ALLOWED -->*/
/* 			<tr>*/
/* 				<td><input type="checkbox" class="radio" name="disable_smilies"{S_SMILIES_CHECKED} /></td>*/
/* 				<td class="gen">{L_DISABLE_SMILIES}</td>*/
/* 			</tr>*/
/* 		<!-- ENDIF -->*/
/* */
/* 		<!-- IF S_LINKS_ALLOWED -->*/
/* 		<tr>*/
/* 			<td><input type="checkbox" class="radio" name="disable_magic_url"{S_MAGIC_URL_CHECKED} /></td>*/
/* 			<td class="gen">{L_DISABLE_MAGIC_URL}</td>*/
/* 		</tr>*/
/* 		<!-- ENDIF -->*/
/* */
/* 		<!-- IF S_SIG_ALLOWED -->*/
/* 			<tr>*/
/* 				<td><input type="checkbox" class="radio" name="attach_sig"{S_SIGNATURE_CHECKED} /></td>*/
/* 				<td class="gen">{L_ATTACH_SIG}</td>*/
/* 			</tr>*/
/* 		<!-- ENDIF -->*/
/* */
/* 		<!-- IF S_NOTIFY_ALLOWED -->*/
/* 			<tr>*/
/* 				<td><input type="checkbox" class="radio" name="notify"{S_NOTIFY_CHECKED} /></td>*/
/* 				<td class="gen">{L_NOTIFY_REPLY}</td>*/
/* 			</tr>*/
/* 		<!-- ENDIF -->*/
/* */
/* 		<!-- IF not S_PRIVMSGS -->*/
/* 			<!-- IF S_LOCK_TOPIC_ALLOWED -->*/
/* 				<tr>*/
/* 					<td><input type="checkbox" class="radio" name="lock_topic"{S_LOCK_TOPIC_CHECKED} /></td>*/
/* 					<td class="gen">{L_LOCK_TOPIC}</td>*/
/* 				</tr>*/
/* 			<!-- ENDIF -->*/
/* */
/* 			<!-- IF S_LOCK_POST_ALLOWED -->*/
/* 				<tr>*/
/* 					<td><input type="checkbox" class="radio" name="lock_post"{S_LOCK_POST_CHECKED} /></td>*/
/* 					<td class="gen">{L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</td>*/
/* 				</tr>*/
/* 			<!-- ENDIF -->*/
/* */
/* 			<!-- IF S_TYPE_TOGGLE -->*/
/* 				<tr>*/
/* 					<td></td>*/
/* 					<td class="gen"><!-- IF S_EDIT_POST -->{L_CHANGE_TOPIC_TO}<!-- ELSE -->{L_POST_TOPIC_AS}<!-- ENDIF -->{L_COLON} <!-- BEGIN topic_type --><input type="radio" class="radio" name="topic_type" value="{topic_type.VALUE}"{topic_type.S_CHECKED} />{topic_type.L_TOPIC_TYPE}&nbsp;&nbsp;<!-- END topic_type --></td>*/
/* 				</tr>*/
/* 			<!-- ENDIF -->*/
/* 		<!-- ENDIF -->*/
/* 		</table>*/
/* 	</td>*/
/* </tr>*/
/* */
/* <!-- IF S_SOFTDELETE_ALLOWED or S_DELETE_ALLOWED -->*/
/* 	<tr>*/
/* 		<td class="row1" valign="top"><b class="genmed">{L_DELETE_POST}{L_COLON}</b></td>*/
/* 		<td class="row2">*/
/* 			<table cellpadding="1">*/
/* 				<tr>*/
/* 					<td><input type="checkbox" class="radio" name="delete" /></td>*/
/* 					<td class="gen">{L_DELETE_POST_WARN}</td>*/
/* 				</tr>*/
/* 				<!-- IF S_SOFTDELETE_ALLOWED and S_DELETE_ALLOWED -->*/
/* 					<tr>*/
/* 						<td><input type="checkbox" class="radio" name="delete_permanent" /></td>*/
/* 						<td class="gen">{L_DELETE_POST_PERMANENTLY}</td>*/
/* 					</tr>*/
/* 				<!-- ENDIF -->*/
/* 			</table>*/
/* 		</td>*/
/* 	</tr>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY -->*/
/* 	<tr>*/
/* 		<td class="row1"><b class="genmed">{L_STICK_TOPIC_FOR}{L_COLON}</b><br /><span class="gensmall">{L_STICKY_ANNOUNCE_TIME_LIMIT}</span></td>*/
/* 		<td class="row2"><input class="post" type="number" min="0" max="999" name="topic_time_limit" value="{TOPIC_TIME_LIMIT}" />&nbsp;<b class="gen">{L_DAYS}</b> <span class="gensmall">{L_STICK_TOPIC_FOR_EXPLAIN}</span></td>*/
/* 	</tr>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF S_EDIT_REASON -->*/
/* 	<tr>*/
/* 		<td class="row1" valign="top"><b class="genmed">{L_EDIT_REASON}{L_COLON}</b></td>*/
/* 		<td class="row2"><input class="post" type="text" name="edit_reason" size="50" value="{EDIT_REASON}" /></td>*/
/* 	</tr>*/
/* <!-- ENDIF -->*/
/* */
/* 		<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->*/
/* 		<!-- DEFINE $CAPTCHA_TAB_INDEX = 4 -->*/
/* 		<!-- INCLUDE {CAPTCHA_TEMPLATE} -->*/
/* 		<!-- ENDIF -->*/
/* */
/* */
/* <!-- IF S_SHOW_ATTACH_BOX or S_SHOW_POLL_BOX -->*/
/* 	<tr>*/
/* 		<td class="cat" colspan="2" align="center">*/
/* 			<input class="btnlite" type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" />*/
/* 			&nbsp; <input class="btnmain" type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" />*/
/* 			<!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" /><!-- ENDIF -->*/
/* 			<!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" /><!-- ENDIF -->*/
/* 			&nbsp; <input class="btnlite" type="submit" accesskey="c" tabindex="9" name="cancel" value="{L_CANCEL}" />*/
/* 		</td>*/
/* 	</tr>*/
/* */
/* 	<!-- IF S_SHOW_ATTACH_BOX --><!-- INCLUDE posting_attach_body.html --><!-- ENDIF -->*/
/* */
/* 	<!-- IF S_SHOW_POLL_BOX -->*/
/* 		<!-- INCLUDE posting_poll_body.html -->*/
/* 	<!-- ELSEIF S_POLL_DELETE -->*/
/* 		<tr>*/
/* 			<td class="row1"><span class="genmed"><b>{L_POLL_DELETE}{L_COLON}</b></span></td>*/
/* 			<td class="row2"><input type="checkbox" class="radio" name="poll_delete" /></td>*/
/* 		</tr>*/
/* 	<!-- ENDIF -->*/
/* <!-- ENDIF -->*/
/* */
/* <tr>*/
/* 	<td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}*/
/* 		<input class="btnlite" type="submit" tabindex="10" name="preview" value="{L_PREVIEW}" />*/
/* 		&nbsp; <input class="btnmain" type="submit" accesskey="s" tabindex="11" name="post" value="{L_SUBMIT}" />*/
/* 		<!-- EVENT posting_editor_submit_buttons -->*/
/* 		<!-- IF not S_SHOW_ATTACH_BOX and not S_SHOW_POLL_BOX -->*/
/* 			<!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="12" name="save" value="{L_SAVE_DRAFT}" /><!-- ENDIF -->*/
/* 			<!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="13" name="load" value="{L_LOAD_DRAFT}" /><!-- ENDIF -->*/
/* 		<!-- ENDIF -->*/
/* 		&nbsp; <input class="btnlite" type="submit" accesskey="c" tabindex="14" name="cancel" value="{L_CANCEL}" />*/
/* 	</td>*/
/* </tr>*/
/* </table>*/
/* <!-- IF not S_PRIVMSGS -->*/
/* 	{S_FORM_TOKEN}*/
/* 	</form>*/
/* <!-- ENDIF -->*/
/* <br clear="all" />*/
/* */
/* <!-- IF S_DISPLAY_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF -->*/
/* <!-- IF S_DISPLAY_HISTORY --><!-- INCLUDE ucp_pm_history.html --><!-- ENDIF -->*/
/* */
/* <!-- IF S_PRIVMSGS -->*/
/* 	<!-- INCLUDE ucp_footer.html -->*/
/* <!-- ELSE -->*/
/* */
/* 	<!-- INCLUDE breadcrumbs.html -->*/
/* */
/* */
/* 	<!-- IF S_DISPLAY_ONLINE_LIST -->*/
/* 		<br clear="all" />*/
/* */
/* 		<table class="tablebg" width="100%" cellspacing="1">*/
/* 		<tr>*/
/* 			<td class="cat"><h4>{L_WHO_IS_ONLINE}</h4></td>*/
/* 		</tr>*/
/* 		<tr>*/
/* 			<td class="row1"><span class="gensmall">{LOGGED_IN_USER_LIST}</span></td>*/
/* 		</tr>*/
/* 		</table>*/
/* 	<!-- ENDIF -->*/
/* */
/* 	<br clear="all" />*/
/* */
/* 	<table width="100%" cellspacing="1">*/
/* 	<tr>*/
/* 		<td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td>*/
/* 	</tr>*/
/* 	</table>*/
/* */
/* 	<!-- INCLUDE overall_footer.html -->*/
/* <!-- ENDIF -->*/
/* */
