<?php

/* mcp_queue.html */
class __TwigTemplate_5bdb507c2c59cac61ad276aca5e0ea8e83e31a8f1697164f6b2c7f29385d4b5d 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
        $location = "mcp_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("mcp_header.html", "mcp_queue.html", 1)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 2
        echo "
<form name=\"mcp\" id=\"mcp\" method=\"post\" action=\"";
        // line 3
        if (isset($context["S_MCP_ACTION"])) { $_S_MCP_ACTION_ = $context["S_MCP_ACTION"]; } else { $_S_MCP_ACTION_ = null; }
        echo $_S_MCP_ACTION_;
        echo "\">

<table width=\"100%\" class=\"tablebg\" cellspacing=\"1\" cellpadding=\"4\" border=\"0\">
<tr>
\t<th colspan=\"4\" nowrap=\"nowrap\">";
        // line 7
        echo $this->env->getExtension('phpbb')->lang("DISPLAY_OPTIONS");
        echo "</th>
</tr>
<tr>
\t<td colspan=\"4\" class=\"cat\" align=\"center\"><span class=\"gensmall\">";
        // line 10
        echo $this->env->getExtension('phpbb')->lang("DISPLAY_ITEMS");
        echo $this->env->getExtension('phpbb')->lang("COLON");
        echo "</span> ";
        if (isset($context["S_SELECT_SORT_DAYS"])) { $_S_SELECT_SORT_DAYS_ = $context["S_SELECT_SORT_DAYS"]; } else { $_S_SELECT_SORT_DAYS_ = null; }
        echo $_S_SELECT_SORT_DAYS_;
        echo "&nbsp;<span class=\"gensmall\">";
        echo $this->env->getExtension('phpbb')->lang("SORT_BY");
        echo "</span> ";
        if (isset($context["S_SELECT_SORT_KEY"])) { $_S_SELECT_SORT_KEY_ = $context["S_SELECT_SORT_KEY"]; } else { $_S_SELECT_SORT_KEY_ = null; }
        echo $_S_SELECT_SORT_KEY_;
        echo " ";
        if (isset($context["S_SELECT_SORT_DIR"])) { $_S_SELECT_SORT_DIR_ = $context["S_SELECT_SORT_DIR"]; } else { $_S_SELECT_SORT_DIR_ = null; }
        echo $_S_SELECT_SORT_DIR_;
        echo "&nbsp;<span class=\"gensmall\">";
        echo $this->env->getExtension('phpbb')->lang("FORUM");
        echo "</span> <select name=\"f\">";
        if (isset($context["S_FORUM_OPTIONS"])) { $_S_FORUM_OPTIONS_ = $context["S_FORUM_OPTIONS"]; } else { $_S_FORUM_OPTIONS_ = null; }
        echo $_S_FORUM_OPTIONS_;
        echo "</select> &nbsp; ";
        if (isset($context["TOPIC_ID"])) { $_TOPIC_ID_ = $context["TOPIC_ID"]; } else { $_TOPIC_ID_ = null; }
        if ($_TOPIC_ID_) {
            echo "<input type=\"checkbox\" class=\"radio\" name=\"t\" value=\"";
            if (isset($context["TOPIC_ID"])) { $_TOPIC_ID_ = $context["TOPIC_ID"]; } else { $_TOPIC_ID_ = null; }
            echo $_TOPIC_ID_;
            echo "\" checked=\"checked\" />&nbsp; <b>";
            echo $this->env->getExtension('phpbb')->lang("ONLY_TOPIC");
            echo "</b> &nbsp; ";
        }
        echo "<input class=\"btnlite\" type=\"submit\" name=\"sort\" value=\"";
        echo $this->env->getExtension('phpbb')->lang("GO");
        echo "\" /></td>
</tr>
<tr> 
\t<th>&nbsp;";
        // line 13
        if (isset($context["S_TOPICS"])) { $_S_TOPICS_ = $context["S_TOPICS"]; } else { $_S_TOPICS_ = null; }
        if ($_S_TOPICS_) {
            echo $this->env->getExtension('phpbb')->lang("TOPIC");
        } else {
            echo $this->env->getExtension('phpbb')->lang("POST");
        }
        echo "&nbsp;</th>
\t<th>&nbsp;";
        // line 14
        echo $this->env->getExtension('phpbb')->lang("AUTHOR");
        echo "&nbsp;</th>
\t<th>&nbsp;";
        // line 15
        echo $this->env->getExtension('phpbb')->lang("POST_TIME");
        echo "&nbsp;</th>
\t<th width=\"5%\">&nbsp;";
        // line 16
        echo $this->env->getExtension('phpbb')->lang("SELECT");
        echo "&nbsp;</th>
</tr>
";
        // line 18
        if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "postrow", array()));
        $context['_iterated'] = false;
        foreach ($context['_seq'] as $context["_key"] => $context["postrow"]) {
            // line 19
            echo "
\t";
            // line 20
            if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
            if (($this->getAttribute($_postrow_, "S_ROW_COUNT", array()) % 2 == 0)) {
                echo "<tr class=\"row1\">";
            } else {
                echo "<tr class=\"row2\">";
            }
            // line 21
            echo "\t\t<td style=\"padding: 4px;\"><p class=\"topictitle\">";
            if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
            echo $this->getAttribute($_postrow_, "ATTACH_ICON_IMG", array());
            echo " <a href=\"";
            if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
            echo $this->getAttribute($_postrow_, "U_VIEWPOST", array());
            echo "\">";
            if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
            echo $this->getAttribute($_postrow_, "POST_SUBJECT", array());
            echo "</a></p>
\t\t\t<span class=\"gensmall\">";
            // line 22
            if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
            if ($this->getAttribute($_postrow_, "U_VIEWFORUM", array())) {
                echo $this->env->getExtension('phpbb')->lang("FORUM");
                echo $this->env->getExtension('phpbb')->lang("COLON");
                echo " <a href=\"";
                if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
                echo $this->getAttribute($_postrow_, "U_VIEWFORUM", array());
                echo "\">";
                if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
                echo $this->getAttribute($_postrow_, "FORUM_NAME", array());
                echo "</a>";
            } else {
                if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
                echo $this->getAttribute($_postrow_, "FORUM_NAME", array());
            }
            echo "</span></td>
\t\t<td style=\"padding: 4px;\" align=\"";
            // line 23
            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 "\" valign=\"top\" nowrap=\"nowrap\"><span class=\"gen\">";
            if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
            echo $this->getAttribute($_postrow_, "POST_AUTHOR_FULL", array());
            echo "</span><br />
\t\t\t<span class=\"gensmall\">[ <a href=\"";
            // line 24
            if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
            echo $this->getAttribute($_postrow_, "U_VIEW_DETAILS", array());
            echo "\">";
            echo $this->env->getExtension('phpbb')->lang("VIEW_DETAILS");
            echo "</a> ]</span></td>
\t\t<td class=\"postdetails\" style=\"padding: 4px;\" align=\"";
            // line 25
            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 "\" valign=\"top\" nowrap=\"nowrap\">";
            if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
            echo $this->getAttribute($_postrow_, "POST_TIME", array());
            echo "</td>
\t\t<td align=\"center\">
\t\t\t";
            // line 27
            if (isset($context["S_TOPICS"])) { $_S_TOPICS_ = $context["S_TOPICS"]; } else { $_S_TOPICS_ = null; }
            if ($_S_TOPICS_) {
                // line 28
                echo "\t\t\t\t<input type=\"checkbox\" class=\"radio\" name=\"topic_id_list[]\" value=\"";
                if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
                echo $this->getAttribute($_postrow_, "TOPIC_ID", array());
                echo "\" />
\t\t\t";
            } else {
                // line 30
                echo "\t\t\t\t<input type=\"checkbox\" class=\"radio\" name=\"post_id_list[]\" value=\"";
                if (isset($context["postrow"])) { $_postrow_ = $context["postrow"]; } else { $_postrow_ = null; }
                echo $this->getAttribute($_postrow_, "POST_ID", array());
                echo "\" />
\t\t\t";
            }
            // line 32
            echo "\t\t</td>
\t</tr>
";
            $context['_iterated'] = true;
        }
        if (!$context['_iterated']) {
            // line 35
            echo "\t<tr>
\t\t<td class=\"row1\" colspan=\"4\" height=\"30\" align=\"center\" valign=\"middle\">
\t\t\t<span class=\"gen\">
\t\t\t\t";
            // line 38
            if (isset($context["S_RESTORE"])) { $_S_RESTORE_ = $context["S_RESTORE"]; } else { $_S_RESTORE_ = null; }
            if ($_S_RESTORE_) {
                // line 39
                echo "\t\t\t\t\t";
                if (isset($context["S_TOPICS"])) { $_S_TOPICS_ = $context["S_TOPICS"]; } else { $_S_TOPICS_ = null; }
                if ($_S_TOPICS_) {
                    echo $this->env->getExtension('phpbb')->lang("NO_TOPICS_DELETED");
                } else {
                    echo $this->env->getExtension('phpbb')->lang("NO_POSTS_DELETED");
                }
                // line 40
                echo "\t\t\t\t";
            } else {
                // line 41
                echo "\t\t\t\t\t";
                if (isset($context["S_TOPICS"])) { $_S_TOPICS_ = $context["S_TOPICS"]; } else { $_S_TOPICS_ = null; }
                if ($_S_TOPICS_) {
                    echo $this->env->getExtension('phpbb')->lang("NO_TOPICS_QUEUE");
                } else {
                    echo $this->env->getExtension('phpbb')->lang("NO_POSTS_QUEUE");
                }
                // line 42
                echo "\t\t\t\t";
            }
            // line 43
            echo "\t\t\t</span>
\t\t</td>
\t</tr>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['postrow'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 47
        echo "<tr>
\t<td class=\"cat\" colspan=\"4\" align=\"center\">
\t\t";
        // line 49
        if (isset($context["S_RESTORE"])) { $_S_RESTORE_ = $context["S_RESTORE"]; } else { $_S_RESTORE_ = null; }
        if ($_S_RESTORE_) {
            // line 50
            echo "\t\t\t<input class=\"btnlite\" type=\"submit\" name=\"action[delete]\" value=\"";
            echo $this->env->getExtension('phpbb')->lang("DELETE");
            echo "\" />&nbsp;&nbsp;
\t\t\t<input class=\"btnmain\" type=\"submit\" name=\"action[restore]\" value=\"";
            // line 51
            echo $this->env->getExtension('phpbb')->lang("RESTORE");
            echo "\" />
\t\t";
        } else {
            // line 53
            echo "\t\t\t<input class=\"btnmain\" type=\"submit\" name=\"action[approve]\" value=\"";
            echo $this->env->getExtension('phpbb')->lang("APPROVE");
            echo "\" />&nbsp;&nbsp;
\t\t\t<input class=\"btnlite\" type=\"submit\" name=\"action[disapprove]\" value=\"";
            // line 54
            echo $this->env->getExtension('phpbb')->lang("DISAPPROVE");
            echo "\" />
\t\t";
        }
        // line 56
        echo "\t</td>
</tr>
</table>
";
        // line 59
        if (isset($context["S_FORM_TOKEN"])) { $_S_FORM_TOKEN_ = $context["S_FORM_TOKEN"]; } else { $_S_FORM_TOKEN_ = null; }
        echo $_S_FORM_TOKEN_;
        echo "
</form>

<table width=\"100%\" cellspacing=\"2\" cellpadding=\"2\" border=\"0\" align=\"center\">
<tr>
\t<td align=\"";
        // line 64
        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 "\" valign=\"top\" nowrap=\"nowrap\">
\t\t<b class=\"gensmall\">
\t\t\t";
        // line 66
        if (isset($context["S_TOPICS"])) { $_S_TOPICS_ = $context["S_TOPICS"]; } else { $_S_TOPICS_ = null; }
        if ($_S_TOPICS_) {
            // line 67
            echo "\t\t\t\t<a href=\"#\" onclick=\"marklist('mcp', 'topic_id_list', true); return false;\">";
            echo $this->env->getExtension('phpbb')->lang("MARK_ALL");
            echo "</a> :: <a href=\"#\" onclick=\"marklist('mcp', 'topic_id_list', false); return false;\">";
            echo $this->env->getExtension('phpbb')->lang("UNMARK_ALL");
            echo "</a>
\t\t\t";
        } else {
            // line 69
            echo "\t\t\t\t<a href=\"#\" onclick=\"marklist('mcp', 'post_id_list', true); return false;\">";
            echo $this->env->getExtension('phpbb')->lang("MARK_ALL");
            echo "</a> :: <a href=\"#\" onclick=\"marklist('mcp', 'post_id_list', false); return false;\">";
            echo $this->env->getExtension('phpbb')->lang("UNMARK_ALL");
            echo "</a>
\t\t\t";
        }
        // line 71
        echo "\t\t</b>
\t</td>
</tr>
</table>

";
        // line 76
        $location = "mcp_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("mcp_footer.html", "mcp_queue.html", 76)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  311 => 76,  304 => 71,  296 => 69,  288 => 67,  285 => 66,  279 => 64,  270 => 59,  265 => 56,  260 => 54,  255 => 53,  250 => 51,  245 => 50,  242 => 49,  238 => 47,  229 => 43,  226 => 42,  218 => 41,  215 => 40,  207 => 39,  204 => 38,  199 => 35,  192 => 32,  185 => 30,  178 => 28,  175 => 27,  166 => 25,  159 => 24,  151 => 23,  133 => 22,  121 => 21,  114 => 20,  111 => 19,  105 => 18,  100 => 16,  96 => 15,  92 => 14,  83 => 13,  48 => 10,  42 => 7,  34 => 3,  31 => 2,  19 => 1,);
    }
}
/* <!-- INCLUDE mcp_header.html -->*/
/* */
/* <form name="mcp" id="mcp" method="post" action="{S_MCP_ACTION}">*/
/* */
/* <table width="100%" class="tablebg" cellspacing="1" cellpadding="4" border="0">*/
/* <tr>*/
/* 	<th colspan="4" nowrap="nowrap">{L_DISPLAY_OPTIONS}</th>*/
/* </tr>*/
/* <tr>*/
/* 	<td colspan="4" class="cat" align="center"><span class="gensmall">{L_DISPLAY_ITEMS}{L_COLON}</span> {S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<span class="gensmall">{L_FORUM}</span> <select name="f">{S_FORUM_OPTIONS}</select> &nbsp; <!-- IF TOPIC_ID --><input type="checkbox" class="radio" name="t" value="{TOPIC_ID}" checked="checked" />&nbsp; <b>{L_ONLY_TOPIC}</b> &nbsp; <!-- ENDIF --><input class="btnlite" type="submit" name="sort" value="{L_GO}" /></td>*/
/* </tr>*/
/* <tr> */
/* 	<th>&nbsp;<!-- IF S_TOPICS -->{L_TOPIC}<!-- ELSE -->{L_POST}<!-- ENDIF -->&nbsp;</th>*/
/* 	<th>&nbsp;{L_AUTHOR}&nbsp;</th>*/
/* 	<th>&nbsp;{L_POST_TIME}&nbsp;</th>*/
/* 	<th width="5%">&nbsp;{L_SELECT}&nbsp;</th>*/
/* </tr>*/
/* <!-- BEGIN postrow -->*/
/* */
/* 	<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->*/
/* 		<td style="padding: 4px;"><p class="topictitle">{postrow.ATTACH_ICON_IMG} <a href="{postrow.U_VIEWPOST}">{postrow.POST_SUBJECT}</a></p>*/
/* 			<span class="gensmall"><!-- IF postrow.U_VIEWFORUM -->{L_FORUM}{L_COLON} <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a><!-- ELSE -->{postrow.FORUM_NAME}<!-- ENDIF --></span></td>*/
/* 		<td style="padding: 4px;" align="{S_CONTENT_FLOW_BEGIN}" valign="top" nowrap="nowrap"><span class="gen">{postrow.POST_AUTHOR_FULL}</span><br />*/
/* 			<span class="gensmall">[ <a href="{postrow.U_VIEW_DETAILS}">{L_VIEW_DETAILS}</a> ]</span></td>*/
/* 		<td class="postdetails" style="padding: 4px;" align="{S_CONTENT_FLOW_BEGIN}" valign="top" nowrap="nowrap">{postrow.POST_TIME}</td>*/
/* 		<td align="center">*/
/* 			<!-- IF S_TOPICS -->*/
/* 				<input type="checkbox" class="radio" name="topic_id_list[]" value="{postrow.TOPIC_ID}" />*/
/* 			<!-- ELSE -->*/
/* 				<input type="checkbox" class="radio" name="post_id_list[]" value="{postrow.POST_ID}" />*/
/* 			<!-- ENDIF -->*/
/* 		</td>*/
/* 	</tr>*/
/* <!-- BEGINELSE -->*/
/* 	<tr>*/
/* 		<td class="row1" colspan="4" height="30" align="center" valign="middle">*/
/* 			<span class="gen">*/
/* 				<!-- IF S_RESTORE -->*/
/* 					<!-- IF S_TOPICS -->{L_NO_TOPICS_DELETED}<!-- ELSE -->{L_NO_POSTS_DELETED}<!-- ENDIF -->*/
/* 				<!-- ELSE -->*/
/* 					<!-- IF S_TOPICS -->{L_NO_TOPICS_QUEUE}<!-- ELSE -->{L_NO_POSTS_QUEUE}<!-- ENDIF -->*/
/* 				<!-- ENDIF -->*/
/* 			</span>*/
/* 		</td>*/
/* 	</tr>*/
/* <!-- END postrow -->*/
/* <tr>*/
/* 	<td class="cat" colspan="4" align="center">*/
/* 		<!-- IF S_RESTORE -->*/
/* 			<input class="btnlite" type="submit" name="action[delete]" value="{L_DELETE}" />&nbsp;&nbsp;*/
/* 			<input class="btnmain" type="submit" name="action[restore]" value="{L_RESTORE}" />*/
/* 		<!-- ELSE -->*/
/* 			<input class="btnmain" type="submit" name="action[approve]" value="{L_APPROVE}" />&nbsp;&nbsp;*/
/* 			<input class="btnlite" type="submit" name="action[disapprove]" value="{L_DISAPPROVE}" />*/
/* 		<!-- ENDIF -->*/
/* 	</td>*/
/* </tr>*/
/* </table>*/
/* {S_FORM_TOKEN}*/
/* </form>*/
/* */
/* <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">*/
/* <tr>*/
/* 	<td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">*/
/* 		<b class="gensmall">*/
/* 			<!-- IF S_TOPICS -->*/
/* 				<a href="#" onclick="marklist('mcp', 'topic_id_list', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'topic_id_list', false); return false;">{L_UNMARK_ALL}</a>*/
/* 			<!-- ELSE -->*/
/* 				<a href="#" onclick="marklist('mcp', 'post_id_list', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'post_id_list', false); return false;">{L_UNMARK_ALL}</a>*/
/* 			<!-- ENDIF -->*/
/* 		</b>*/
/* 	</td>*/
/* </tr>*/
/* </table>*/
/* */
/* <!-- INCLUDE mcp_footer.html -->*/
/* */
