<?php

/* ucp_pm_message_header.html */
class __TwigTemplate_d838f79373fef3a55a527f3d05dfe05fecb69268cd36c757970f0f2416575217 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
        echo "
<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\">
<tr>
\t<td class=\"row1\">
\t\t<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">
\t\t<tr>
\t\t\t<td align=\"";
        // line 7
        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 "\">
\t\t\t";
        // line 8
        if (isset($context["TOTAL_MESSAGES"])) { $_TOTAL_MESSAGES_ = $context["TOTAL_MESSAGES"]; } else { $_TOTAL_MESSAGES_ = null; }
        if ($_TOTAL_MESSAGES_) {
            // line 9
            echo "\t\t\t\t<table width=\"100%\" cellspacing=\"1\">
\t\t\t\t<tr>
\t\t\t\t\t<td class=\"nav\" valign=\"middle\" nowrap=\"nowrap\">&nbsp;";
            // line 11
            if (isset($context["PAGE_NUMBER"])) { $_PAGE_NUMBER_ = $context["PAGE_NUMBER"]; } else { $_PAGE_NUMBER_ = null; }
            echo $_PAGE_NUMBER_;
            echo "<br /></td>
\t\t\t\t\t";
            // line 12
            if (isset($context["FOLDER_MAX_MESSAGES"])) { $_FOLDER_MAX_MESSAGES_ = $context["FOLDER_MAX_MESSAGES"]; } else { $_FOLDER_MAX_MESSAGES_ = null; }
            if (($_FOLDER_MAX_MESSAGES_ != 0)) {
                // line 13
                echo "\t\t\t\t\t\t<td class=\"gensmall\" nowrap=\"nowrap\" width=\"100%\">&nbsp;[ <b>";
                if (isset($context["FOLDER_CUR_MESSAGES"])) { $_FOLDER_CUR_MESSAGES_ = $context["FOLDER_CUR_MESSAGES"]; } else { $_FOLDER_CUR_MESSAGES_ = null; }
                echo $_FOLDER_CUR_MESSAGES_;
                echo "</b>/";
                if (isset($context["FOLDER_MAX_MESSAGES"])) { $_FOLDER_MAX_MESSAGES_ = $context["FOLDER_MAX_MESSAGES"]; } else { $_FOLDER_MAX_MESSAGES_ = null; }
                echo $_FOLDER_MAX_MESSAGES_;
                echo " ";
                echo $this->env->getExtension('phpbb')->lang("MESSAGES");
                echo " (";
                if (isset($context["FOLDER_PERCENT"])) { $_FOLDER_PERCENT_ = $context["FOLDER_PERCENT"]; } else { $_FOLDER_PERCENT_ = null; }
                echo $_FOLDER_PERCENT_;
                echo "%) ]&nbsp;</td>
\t\t\t\t\t";
            } else {
                // line 15
                echo "\t\t\t\t\t\t<td class=\"gensmall\" nowrap=\"nowrap\" width=\"100%\">&nbsp;[ <b>";
                if (isset($context["FOLDER_CUR_MESSAGES"])) { $_FOLDER_CUR_MESSAGES_ = $context["FOLDER_CUR_MESSAGES"]; } else { $_FOLDER_CUR_MESSAGES_ = null; }
                echo $_FOLDER_CUR_MESSAGES_;
                echo "</b> ";
                echo $this->env->getExtension('phpbb')->lang("MESSAGES");
                echo " ]&nbsp;</td>\t\t\t\t\t
\t\t\t\t\t";
            }
            // line 17
            echo "\t\t\t\t</tr>
\t\t\t\t</table>
\t\t\t";
        }
        // line 20
        echo "\t
\t\t\t";
        // line 21
        if (isset($context["S_VIEW_MESSAGE"])) { $_S_VIEW_MESSAGE_ = $context["S_VIEW_MESSAGE"]; } else { $_S_VIEW_MESSAGE_ = null; }
        if ($_S_VIEW_MESSAGE_) {
            // line 22
            echo "\t\t\t\t<span class=\"gensmall\">
\t\t\t\t";
            // line 23
            if (isset($context["S_DISPLAY_HISTORY"])) { $_S_DISPLAY_HISTORY_ = $context["S_DISPLAY_HISTORY"]; } else { $_S_DISPLAY_HISTORY_ = null; }
            if ($_S_DISPLAY_HISTORY_) {
                // line 24
                echo "\t\t\t\t\t";
                if (isset($context["U_VIEW_PREVIOUS_HISTORY"])) { $_U_VIEW_PREVIOUS_HISTORY_ = $context["U_VIEW_PREVIOUS_HISTORY"]; } else { $_U_VIEW_PREVIOUS_HISTORY_ = null; }
                if ($_U_VIEW_PREVIOUS_HISTORY_) {
                    echo "<a href=\"";
                    if (isset($context["U_VIEW_PREVIOUS_HISTORY"])) { $_U_VIEW_PREVIOUS_HISTORY_ = $context["U_VIEW_PREVIOUS_HISTORY"]; } else { $_U_VIEW_PREVIOUS_HISTORY_ = null; }
                    echo $_U_VIEW_PREVIOUS_HISTORY_;
                    echo "\">";
                    echo $this->env->getExtension('phpbb')->lang("VIEW_PREVIOUS_HISTORY");
                    echo "</a> | ";
                }
                if (isset($context["U_VIEW_NEXT_HISTORY"])) { $_U_VIEW_NEXT_HISTORY_ = $context["U_VIEW_NEXT_HISTORY"]; } else { $_U_VIEW_NEXT_HISTORY_ = null; }
                if ($_U_VIEW_NEXT_HISTORY_) {
                    echo "<a href=\"";
                    if (isset($context["U_VIEW_NEXT_HISTORY"])) { $_U_VIEW_NEXT_HISTORY_ = $context["U_VIEW_NEXT_HISTORY"]; } else { $_U_VIEW_NEXT_HISTORY_ = null; }
                    echo $_U_VIEW_NEXT_HISTORY_;
                    echo "\">";
                    echo $this->env->getExtension('phpbb')->lang("VIEW_NEXT_HISTORY");
                    echo "</a> | ";
                }
                // line 25
                echo "\t\t\t\t";
            }
            echo "<a href=\"";
            if (isset($context["U_PREVIOUS_PM"])) { $_U_PREVIOUS_PM_ = $context["U_PREVIOUS_PM"]; } else { $_U_PREVIOUS_PM_ = null; }
            echo $_U_PREVIOUS_PM_;
            echo "\">";
            echo $this->env->getExtension('phpbb')->lang("VIEW_PREVIOUS_PM");
            echo "</a> | <a href=\"";
            if (isset($context["U_NEXT_PM"])) { $_U_NEXT_PM_ = $context["U_NEXT_PM"]; } else { $_U_NEXT_PM_ = null; }
            echo $_U_NEXT_PM_;
            echo "\">";
            echo $this->env->getExtension('phpbb')->lang("VIEW_NEXT_PM");
            echo "</a>&nbsp;
\t\t\t\t</span>
\t\t\t";
        }
        // line 28
        echo "\t\t\t</td>
\t\t\t<td align=\"";
        // line 29
        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 = "pagination.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("pagination.html", "ucp_pm_message_header.html", 29)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        echo "</td>
\t\t</tr>
\t\t</table>
\t</td>
</tr>
</table>
";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  128 => 29,  125 => 28,  108 => 25,  88 => 24,  85 => 23,  82 => 22,  79 => 21,  76 => 20,  71 => 17,  62 => 15,  47 => 13,  44 => 12,  39 => 11,  35 => 9,  32 => 8,  27 => 7,  19 => 1,);
    }
}
/* */
/* <table class="tablebg" width="100%" cellspacing="1" cellpadding="0">*/
/* <tr>*/
/* 	<td class="row1">*/
/* 		<table border="0" cellspacing="0" cellpadding="0" width="100%">*/
/* 		<tr>*/
/* 			<td align="{S_CONTENT_FLOW_BEGIN}">*/
/* 			<!-- IF TOTAL_MESSAGES -->*/
/* 				<table width="100%" cellspacing="1">*/
/* 				<tr>*/
/* 					<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>*/
/* 					<!-- IF FOLDER_MAX_MESSAGES neq 0 -->*/
/* 						<td class="gensmall" nowrap="nowrap" width="100%">&nbsp;[ <b>{FOLDER_CUR_MESSAGES}</b>/{FOLDER_MAX_MESSAGES} {L_MESSAGES} ({FOLDER_PERCENT}%) ]&nbsp;</td>*/
/* 					<!-- ELSE -->*/
/* 						<td class="gensmall" nowrap="nowrap" width="100%">&nbsp;[ <b>{FOLDER_CUR_MESSAGES}</b> {L_MESSAGES} ]&nbsp;</td>					*/
/* 					<!-- ENDIF -->*/
/* 				</tr>*/
/* 				</table>*/
/* 			<!-- ENDIF -->*/
/* 	*/
/* 			<!-- IF S_VIEW_MESSAGE -->*/
/* 				<span class="gensmall">*/
/* 				<!-- IF S_DISPLAY_HISTORY -->*/
/* 					<!-- IF U_VIEW_PREVIOUS_HISTORY --><a href="{U_VIEW_PREVIOUS_HISTORY}">{L_VIEW_PREVIOUS_HISTORY}</a> | <!-- ENDIF --><!-- IF U_VIEW_NEXT_HISTORY --><a href="{U_VIEW_NEXT_HISTORY}">{L_VIEW_NEXT_HISTORY}</a> | <!-- ENDIF -->*/
/* 				<!-- ENDIF --><a href="{U_PREVIOUS_PM}">{L_VIEW_PREVIOUS_PM}</a> | <a href="{U_NEXT_PM}">{L_VIEW_NEXT_PM}</a>&nbsp;*/
/* 				</span>*/
/* 			<!-- ENDIF -->*/
/* 			</td>*/
/* 			<td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE pagination.html --></td>*/
/* 		</tr>*/
/* 		</table>*/
/* 	</td>*/
/* </tr>*/
/* </table>*/
/* */
