<?php

/* ucp_notifications.html */
class __TwigTemplate_939a4030fa7d98a85157d3df73d2bffd203e617fccd78fa051ea4039f071daf4 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 = "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", "ucp_notifications.html", 1)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 2
        echo "
<form id=\"ucp\" method=\"post\" action=\"";
        // line 3
        if (isset($context["S_UCP_ACTION"])) { $_S_UCP_ACTION_ = $context["S_UCP_ACTION"]; } else { $_S_UCP_ACTION_ = null; }
        echo $_S_UCP_ACTION_;
        echo "\"";
        if (isset($context["S_FORM_ENCTYPE"])) { $_S_FORM_ENCTYPE_ = $context["S_FORM_ENCTYPE"]; } else { $_S_FORM_ENCTYPE_ = null; }
        echo $_S_FORM_ENCTYPE_;
        echo ">

";
        // line 5
        if (isset($context["MODE"])) { $_MODE_ = $context["MODE"]; } else { $_MODE_ = null; }
        if (($_MODE_ == "notification_options")) {
            // line 6
            echo "\t<table width=\"100%\" cellspacing=\"1\">
\t<tr>
\t\t<th colspan=\"";
            // line 8
            if (isset($context["NOTIFICATION_TYPES_COLS"])) { $_NOTIFICATION_TYPES_COLS_ = $context["NOTIFICATION_TYPES_COLS"]; } else { $_NOTIFICATION_TYPES_COLS_ = null; }
            echo $_NOTIFICATION_TYPES_COLS_;
            echo "\">";
            if (isset($context["TITLE"])) { $_TITLE_ = $context["TITLE"]; } else { $_TITLE_ = null; }
            echo $_TITLE_;
            echo "</th>
\t</tr>
\t<tr>
\t\t<td class=\"row1\" colspan=\"";
            // line 11
            if (isset($context["NOTIFICATION_TYPES_COLS"])) { $_NOTIFICATION_TYPES_COLS_ = $context["NOTIFICATION_TYPES_COLS"]; } else { $_NOTIFICATION_TYPES_COLS_ = null; }
            echo $_NOTIFICATION_TYPES_COLS_;
            echo "\" align=\"center\"><span class=\"genmed\">";
            if (isset($context["TITLE_EXPLAIN"])) { $_TITLE_EXPLAIN_ = $context["TITLE_EXPLAIN"]; } else { $_TITLE_EXPLAIN_ = null; }
            echo $_TITLE_EXPLAIN_;
            echo "</span></td>
\t</tr>
\t<tr>
\t\t<th>";
            // line 14
            echo $this->env->getExtension('phpbb')->lang("NOTIFICATION_TYPE");
            echo "</th>
\t\t<th width=\"10%\">";
            // line 15
            echo $this->env->getExtension('phpbb')->lang("NOTIFICATIONS");
            echo "</th>
\t\t";
            // line 16
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "notification_methods", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["notification_methods"]) {
                // line 17
                echo "\t\t\t<th width=\"10%\">";
                if (isset($context["notification_methods"])) { $_notification_methods_ = $context["notification_methods"]; } else { $_notification_methods_ = null; }
                echo $this->getAttribute($_notification_methods_, "NAME", array());
                echo "</th>
\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notification_methods'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 19
            echo "\t</tr>

\t";
            // line 21
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "notification_types", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["notification_types"]) {
                // line 22
                echo "\t\t";
                if (isset($context["notification_types"])) { $_notification_types_ = $context["notification_types"]; } else { $_notification_types_ = null; }
                if ($this->getAttribute($_notification_types_, "GROUP_NAME", array())) {
                    // line 23
                    echo "\t\t\t<tr>
\t\t\t\t<td class=\"row3\" colspan=\"";
                    // line 24
                    if (isset($context["NOTIFICATION_TYPES_COLS"])) { $_NOTIFICATION_TYPES_COLS_ = $context["NOTIFICATION_TYPES_COLS"]; } else { $_NOTIFICATION_TYPES_COLS_ = null; }
                    echo $_NOTIFICATION_TYPES_COLS_;
                    echo "\">";
                    if (isset($context["notification_types"])) { $_notification_types_ = $context["notification_types"]; } else { $_notification_types_ = null; }
                    echo $this->getAttribute($_notification_types_, "GROUP_NAME", array());
                    echo "</td>
\t\t\t</tr>
\t\t";
                } else {
                    // line 27
                    echo "\t\t\t";
                    if (isset($context["notification_types"])) { $_notification_types_ = $context["notification_types"]; } else { $_notification_types_ = null; }
                    if (($this->getAttribute($_notification_types_, "S_ROW_COUNT", array()) % 2 == 0)) {
                        echo "<tr class=\"row1\">";
                    } else {
                        echo "<tr class=\"row2\">";
                    }
                    // line 28
                    echo "\t\t\t\t<td>
\t\t\t\t\t";
                    // line 29
                    if (isset($context["notification_types"])) { $_notification_types_ = $context["notification_types"]; } else { $_notification_types_ = null; }
                    echo $this->getAttribute($_notification_types_, "NAME", array());
                    echo "
\t\t\t\t\t";
                    // line 30
                    if (isset($context["notification_types"])) { $_notification_types_ = $context["notification_types"]; } else { $_notification_types_ = null; }
                    if ($this->getAttribute($_notification_types_, "EXPLAIN", array())) {
                        echo "<br />&nbsp; &nbsp;";
                        if (isset($context["notification_types"])) { $_notification_types_ = $context["notification_types"]; } else { $_notification_types_ = null; }
                        echo $this->getAttribute($_notification_types_, "EXPLAIN", array());
                    }
                    // line 31
                    echo "\t\t\t\t</td>
\t\t\t\t<td align=\"center\"><input type=\"checkbox\" name=\"";
                    // line 32
                    if (isset($context["notification_types"])) { $_notification_types_ = $context["notification_types"]; } else { $_notification_types_ = null; }
                    echo $this->getAttribute($_notification_types_, "TYPE", array());
                    echo "_notification\"";
                    if (isset($context["notification_types"])) { $_notification_types_ = $context["notification_types"]; } else { $_notification_types_ = null; }
                    if ($this->getAttribute($_notification_types_, "SUBSCRIBED", array())) {
                        echo " checked=\"checked\"";
                    }
                    echo " /></td>
\t\t\t\t";
                    // line 33
                    if (isset($context["notification_types"])) { $_notification_types_ = $context["notification_types"]; } else { $_notification_types_ = null; }
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($_notification_types_, "notification_methods", array()));
                    foreach ($context['_seq'] as $context["_key"] => $context["notification_methods"]) {
                        // line 34
                        echo "\t\t\t\t\t<td align=\"center\"><input type=\"checkbox\" name=\"";
                        if (isset($context["notification_types"])) { $_notification_types_ = $context["notification_types"]; } else { $_notification_types_ = null; }
                        echo $this->getAttribute($_notification_types_, "TYPE", array());
                        echo "_";
                        if (isset($context["notification_methods"])) { $_notification_methods_ = $context["notification_methods"]; } else { $_notification_methods_ = null; }
                        echo $this->getAttribute($_notification_methods_, "METHOD", array());
                        echo "\"";
                        if (isset($context["notification_methods"])) { $_notification_methods_ = $context["notification_methods"]; } else { $_notification_methods_ = null; }
                        if ($this->getAttribute($_notification_methods_, "SUBSCRIBED", array())) {
                            echo " checked=\"checked\"";
                        }
                        echo " /></td>
\t\t\t\t";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notification_methods'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 36
                    echo "\t\t\t</tr>
\t\t";
                }
                // line 38
                echo "\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notification_types'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 39
            echo "\t<tr>
\t\t<td class=\"cat\" colspan=\"";
            // line 40
            if (isset($context["NOTIFICATION_TYPES_COLS"])) { $_NOTIFICATION_TYPES_COLS_ = $context["NOTIFICATION_TYPES_COLS"]; } else { $_NOTIFICATION_TYPES_COLS_ = null; }
            echo $_NOTIFICATION_TYPES_COLS_;
            echo "\" align=\"center\">
\t\t\t<input type=\"hidden\" name=\"form_time\" value=\"";
            // line 41
            if (isset($context["FORM_TIME"])) { $_FORM_TIME_ = $context["FORM_TIME"]; } else { $_FORM_TIME_ = null; }
            echo $_FORM_TIME_;
            echo "\" />
\t\t\t";
            // line 42
            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\t<input class=\"btnmain\" type=\"submit\" name=\"submit\" value=\"";
            // line 43
            echo $this->env->getExtension('phpbb')->lang("SUBMIT");
            echo "\" />&nbsp;&nbsp;
\t\t\t<input class=\"btnlite\" type=\"reset\" value=\"";
            // line 44
            echo $this->env->getExtension('phpbb')->lang("RESET");
            echo "\" name=\"reset\" />
\t\t\t";
            // line 45
            if (isset($context["S_FORM_TOKEN"])) { $_S_FORM_TOKEN_ = $context["S_FORM_TOKEN"]; } else { $_S_FORM_TOKEN_ = null; }
            echo $_S_FORM_TOKEN_;
            echo "
\t\t</td>
\t</tr>
\t</table>
";
        } else {
            // line 50
            echo "\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\">
\t\t<tr>
\t\t\t<td class=\"row1\">
\t\t\t\t<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">
\t\t\t\t\t<tr>
\t\t\t\t\t\t<td align=\"";
            // line 55
            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\t\t\t\t";
            // line 56
            if (isset($context["TOTAL_COUNT"])) { $_TOTAL_COUNT_ = $context["TOTAL_COUNT"]; } else { $_TOTAL_COUNT_ = null; }
            if ($_TOTAL_COUNT_) {
                // line 57
                echo "\t\t\t\t\t\t\t\t<table width=\"100%\" cellspacing=\"1\">
\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t<td class=\"nav\" valign=\"middle\" nowrap=\"nowrap\">&nbsp;";
                // line 59
                if (isset($context["PAGE_NUMBER"])) { $_PAGE_NUMBER_ = $context["PAGE_NUMBER"]; } else { $_PAGE_NUMBER_ = null; }
                echo $_PAGE_NUMBER_;
                echo "</td>
\t\t\t\t\t\t\t\t\t\t<td class=\"gensmall\" nowrap=\"nowrap\" width=\"100%\">&nbsp;";
                // line 60
                echo $this->env->getExtension('phpbb')->lang("NOTIFICATIONS");
                echo " [ <b>";
                if (isset($context["TOTAL_COUNT"])) { $_TOTAL_COUNT_ = $context["TOTAL_COUNT"]; } else { $_TOTAL_COUNT_ = null; }
                echo $_TOTAL_COUNT_;
                echo "</b> ]&nbsp;</td>
\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t";
            }
            // line 64
            echo "\t\t\t\t\t\t</td>
\t\t\t\t\t\t<td align=\"";
            // line 65
            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_notifications.html", 65)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
            echo "</td>
\t\t\t\t\t</tr>
\t\t\t\t</table>
\t\t\t</td>
\t\t</tr>
\t</table>

\t<div class=\"notification_list\">
\t\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
\t\t\t<tr>
\t\t\t\t<td class=\"cat\" colspan=\"3\">
\t\t\t\t\t<table width=\"100%\" cellspacing=\"0\">
\t\t\t\t\t\t<tr class=\"nav\">
\t\t\t\t\t\t\t<td align=\"";
            // line 78
            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=\"middle\">";
            if (isset($context["U_MARK_ALL"])) { $_U_MARK_ALL_ = $context["U_MARK_ALL"]; } else { $_U_MARK_ALL_ = null; }
            if ($_U_MARK_ALL_) {
                echo "<a href=\"";
                if (isset($context["U_MARK_ALL"])) { $_U_MARK_ALL_ = $context["U_MARK_ALL"]; } else { $_U_MARK_ALL_ = null; }
                echo $_U_MARK_ALL_;
                echo "\">";
                echo $this->env->getExtension('phpbb')->lang("NOTIFICATIONS_MARK_ALL_READ");
                echo "</a>";
            }
            echo "</td>
\t\t\t\t\t\t</tr>
\t\t\t\t\t</table>
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<th colspan=\"2\">";
            // line 84
            echo $this->env->getExtension('phpbb')->lang("NOTIFICATIONS");
            echo "</th>
\t\t\t\t<th width=\"15%\">";
            // line 85
            echo $this->env->getExtension('phpbb')->lang("MARK_READ");
            echo "</th>
\t\t\t</tr>
\t\t\t";
            // line 87
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "notification_list", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["notification_list"]) {
                // line 88
                echo "\t\t\t\t<tr class=\"row";
                if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                if ($this->getAttribute($_notification_list_, "UNREAD", array())) {
                    echo "3";
                } elseif (($this->getAttribute($_notification_list_, "S_ROW_COUNT", array()) % 2 == 0)) {
                    echo "1";
                } else {
                    echo "2";
                }
                echo "\">
\t\t\t\t\t<td width=\"50\">
\t\t\t\t\t\t";
                // line 90
                if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                if ($this->getAttribute($_notification_list_, "AVATAR", array())) {
                    if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                    echo $this->getAttribute($_notification_list_, "AVATAR", array());
                } else {
                    echo "<img src=\"";
                    if (isset($context["T_THEME_PATH"])) { $_T_THEME_PATH_ = $context["T_THEME_PATH"]; } else { $_T_THEME_PATH_ = null; }
                    echo $_T_THEME_PATH_;
                    echo "/images/no_avatar.gif\" alt=\"\" />";
                }
                // line 91
                echo "\t\t\t\t\t</td>
\t\t\t\t\t<td valign=\"top\">
\t\t\t\t\t\t<span class=\"gen\">
\t\t\t\t\t\t";
                // line 94
                if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                if ($this->getAttribute($_notification_list_, "URL", array())) {
                    echo "<a href=\"";
                    if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                    if ($this->getAttribute($_notification_list_, "UNREAD", array())) {
                        if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                        echo $this->getAttribute($_notification_list_, "U_MARK_READ", array());
                    } else {
                        if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                        echo $this->getAttribute($_notification_list_, "URL", array());
                    }
                    echo "\">";
                }
                // line 95
                echo "\t\t\t\t\t\t\t";
                if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                echo $this->getAttribute($_notification_list_, "FORMATTED_TITLE", array());
                if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                if ($this->getAttribute($_notification_list_, "REFERENCE", array())) {
                    echo " ";
                    if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                    echo $this->getAttribute($_notification_list_, "REFERENCE", array());
                }
                // line 96
                echo "\t\t\t\t\t\t";
                if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                if ($this->getAttribute($_notification_list_, "URL", array())) {
                    echo "</a>";
                }
                echo "<br />
\t\t\t\t\t\t";
                // line 97
                if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                if ($this->getAttribute($_notification_list_, "FORUM", array())) {
                    echo "<span class=\"notifications_forum\">";
                    if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                    echo $this->getAttribute($_notification_list_, "FORUM", array());
                    echo "</span><br />";
                }
                // line 98
                echo "\t\t\t\t\t\t";
                if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                if ($this->getAttribute($_notification_list_, "REASON", array())) {
                    echo "<span class=\"notifications_reason\">";
                    if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                    echo $this->getAttribute($_notification_list_, "REASON", array());
                    echo "</span><br />";
                }
                // line 99
                echo "\t\t\t\t\t\t\t<span class=\"notifications_time\">";
                if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                echo $this->getAttribute($_notification_list_, "TIME", array());
                echo "</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</td>
\t\t\t\t\t<td align=\"center\">
\t\t\t\t\t\t<input type=\"checkbox\" name=\"mark[]\" value=\"";
                // line 103
                if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                echo $this->getAttribute($_notification_list_, "NOTIFICATION_ID", array());
                echo "\"";
                if (isset($context["notification_list"])) { $_notification_list_ = $context["notification_list"]; } else { $_notification_list_ = null; }
                if ( !$this->getAttribute($_notification_list_, "UNREAD", array())) {
                    echo " disabled=\"disabled\"";
                }
                echo " />
\t\t\t\t\t</td>
\t\t\t\t</tr>
\t\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notification_list'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 107
            echo "\t\t\t<tr>
\t\t\t\t<td class=\"cat\" colspan=\"3\" align=\"center\">
\t\t\t\t\t<input type=\"hidden\" name=\"form_time\" value=\"";
            // line 109
            if (isset($context["FORM_TIME"])) { $_FORM_TIME_ = $context["FORM_TIME"]; } else { $_FORM_TIME_ = null; }
            echo $_FORM_TIME_;
            echo "\" />
\t\t\t\t\t";
            // line 110
            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\t\t\t<input class=\"btnmain\" type=\"submit\" name=\"submit\" value=\"";
            // line 111
            echo $this->env->getExtension('phpbb')->lang("MARK_READ");
            echo "\" />
\t\t\t\t\t";
            // line 112
            if (isset($context["S_FORM_TOKEN"])) { $_S_FORM_TOKEN_ = $context["S_FORM_TOKEN"]; } else { $_S_FORM_TOKEN_ = null; }
            echo $_S_FORM_TOKEN_;
            echo "
\t\t\t\t</td>
\t\t\t</tr>
\t\t</table>
\t</div>

\t";
            // line 118
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            if (twig_length_filter($this->env, $this->getAttribute($_loops_, "pagination", array()))) {
                // line 119
                echo "\t\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\">
\t\t\t<tr>
\t\t\t\t<td class=\"row1\">
\t\t\t\t\t<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">
\t\t\t\t\t<tr>
\t\t\t\t\t\t<td align=\"";
                // line 124
                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\t\t\t\t";
                // line 125
                $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_notifications.html", 125)->display($context);
                if ($namespace) {
                    $this->env->setNamespaceLookUpOrder($previous_look_up_order);
                }
                // line 126
                echo "\t\t\t\t\t\t</td>
\t\t\t\t\t</tr>
\t\t\t\t\t</table>
\t\t\t\t</td>
\t\t\t</tr>
\t\t</table>
\t";
            }
        }
        // line 134
        echo "
";
        // line 135
        if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
        if (twig_length_filter($this->env, $this->getAttribute($_loops_, "notifications", array()))) {
            // line 136
            echo "<div class=\"gensmall\" style=\"float: ";
            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 "; padding-top: 2px;\"><b><a href=\"#\" onclick=\"\$('#ucp input:checkbox').prop('checked', true); return false;\">";
            echo $this->env->getExtension('phpbb')->lang("MARK_ALL");
            echo "</a> :: <a href=\"#\" onclick=\"\$('#ucp input:checkbox').prop('checked', false); return false;\">";
            echo $this->env->getExtension('phpbb')->lang("UNMARK_ALL");
            echo "</a></b></div>
";
        }
        // line 138
        echo "
</form>

";
        // line 141
        $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", "ucp_notifications.html", 141)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  513 => 141,  508 => 138,  497 => 136,  494 => 135,  491 => 134,  481 => 126,  469 => 125,  464 => 124,  457 => 119,  454 => 118,  444 => 112,  440 => 111,  435 => 110,  430 => 109,  426 => 107,  410 => 103,  401 => 99,  392 => 98,  384 => 97,  376 => 96,  366 => 95,  352 => 94,  347 => 91,  336 => 90,  323 => 88,  318 => 87,  313 => 85,  309 => 84,  289 => 78,  260 => 65,  257 => 64,  247 => 60,  242 => 59,  238 => 57,  235 => 56,  230 => 55,  223 => 50,  214 => 45,  210 => 44,  206 => 43,  201 => 42,  196 => 41,  191 => 40,  188 => 39,  182 => 38,  178 => 36,  160 => 34,  155 => 33,  145 => 32,  142 => 31,  135 => 30,  130 => 29,  127 => 28,  119 => 27,  109 => 24,  106 => 23,  102 => 22,  97 => 21,  93 => 19,  83 => 17,  78 => 16,  74 => 15,  70 => 14,  60 => 11,  50 => 8,  46 => 6,  43 => 5,  34 => 3,  31 => 2,  19 => 1,);
    }
}
/* <!-- INCLUDE ucp_header.html -->*/
/* */
/* <form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>*/
/* */
/* <!-- IF MODE == 'notification_options' -->*/
/* 	<table width="100%" cellspacing="1">*/
/* 	<tr>*/
/* 		<th colspan="{NOTIFICATION_TYPES_COLS}">{TITLE}</th>*/
/* 	</tr>*/
/* 	<tr>*/
/* 		<td class="row1" colspan="{NOTIFICATION_TYPES_COLS}" align="center"><span class="genmed">{TITLE_EXPLAIN}</span></td>*/
/* 	</tr>*/
/* 	<tr>*/
/* 		<th>{L_NOTIFICATION_TYPE}</th>*/
/* 		<th width="10%">{L_NOTIFICATIONS}</th>*/
/* 		<!-- BEGIN notification_methods -->*/
/* 			<th width="10%">{notification_methods.NAME}</th>*/
/* 		<!-- END notification_methods -->*/
/* 	</tr>*/
/* */
/* 	<!-- BEGIN notification_types -->*/
/* 		<!-- IF notification_types.GROUP_NAME -->*/
/* 			<tr>*/
/* 				<td class="row3" colspan="{NOTIFICATION_TYPES_COLS}">{notification_types.GROUP_NAME}</td>*/
/* 			</tr>*/
/* 		<!-- ELSE -->*/
/* 			<!-- IF notification_types.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->*/
/* 				<td>*/
/* 					{notification_types.NAME}*/
/* 					<!-- IF notification_types.EXPLAIN --><br />&nbsp; &nbsp;{notification_types.EXPLAIN}<!-- ENDIF -->*/
/* 				</td>*/
/* 				<td align="center"><input type="checkbox" name="{notification_types.TYPE}_notification"<!-- IF notification_types.SUBSCRIBED --> checked="checked"<!-- ENDIF --> /></td>*/
/* 				<!-- BEGIN notification_methods -->*/
/* 					<td align="center"><input type="checkbox" name="{notification_types.TYPE}_{notification_methods.METHOD}"<!-- IF notification_methods.SUBSCRIBED --> checked="checked"<!-- ENDIF --> /></td>*/
/* 				<!-- END notification_methods -->*/
/* 			</tr>*/
/* 		<!-- ENDIF -->*/
/* 	<!-- END notification_types -->*/
/* 	<tr>*/
/* 		<td class="cat" colspan="{NOTIFICATION_TYPES_COLS}" align="center">*/
/* 			<input type="hidden" name="form_time" value="{FORM_TIME}" />*/
/* 			{S_HIDDEN_FIELDS}*/
/* 			<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" />&nbsp;&nbsp;*/
/* 			<input class="btnlite" type="reset" value="{L_RESET}" name="reset" />*/
/* 			{S_FORM_TOKEN}*/
/* 		</td>*/
/* 	</tr>*/
/* 	</table>*/
/* <!-- ELSE -->*/
/* 	<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_COUNT -->*/
/* 								<table width="100%" cellspacing="1">*/
/* 									<tr>*/
/* 										<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}</td>*/
/* 										<td class="gensmall" nowrap="nowrap" width="100%">&nbsp;{L_NOTIFICATIONS} [ <b>{TOTAL_COUNT}</b> ]&nbsp;</td>*/
/* 									</tr>*/
/* 								</table>*/
/* 							<!-- ENDIF -->*/
/* 						</td>*/
/* 						<td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE pagination.html --></td>*/
/* 					</tr>*/
/* 				</table>*/
/* 			</td>*/
/* 		</tr>*/
/* 	</table>*/
/* */
/* 	<div class="notification_list">*/
/* 		<table class="tablebg" width="100%" cellspacing="1">*/
/* 			<tr>*/
/* 				<td class="cat" colspan="3">*/
/* 					<table width="100%" cellspacing="0">*/
/* 						<tr class="nav">*/
/* 							<td align="{S_CONTENT_FLOW_END}" valign="middle"><!-- IF U_MARK_ALL --><a href="{U_MARK_ALL}">{L_NOTIFICATIONS_MARK_ALL_READ}</a><!-- ENDIF --></td>*/
/* 						</tr>*/
/* 					</table>*/
/* 				</td>*/
/* 			</tr>*/
/* 			<tr>*/
/* 				<th colspan="2">{L_NOTIFICATIONS}</th>*/
/* 				<th width="15%">{L_MARK_READ}</th>*/
/* 			</tr>*/
/* 			<!-- BEGIN notification_list -->*/
/* 				<tr class="row<!-- IF notification_list.UNREAD -->3<!-- ELSEIF notification_list.S_ROW_COUNT is even -->1<!-- ELSE -->2<!-- ENDIF -->">*/
/* 					<td width="50">*/
/* 						<!-- IF notification_list.AVATAR -->{notification_list.AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF -->*/
/* 					</td>*/
/* 					<td valign="top">*/
/* 						<span class="gen">*/
/* 						<!-- IF notification_list.URL --><a href="<!-- IF notification_list.UNREAD -->{notification_list.U_MARK_READ}<!-- ELSE -->{notification_list.URL}<!-- ENDIF -->"><!-- ENDIF -->*/
/* 							{notification_list.FORMATTED_TITLE}<!-- IF notification_list.REFERENCE --> {notification_list.REFERENCE}<!-- ENDIF -->*/
/* 						<!-- IF notification_list.URL --></a><!-- ENDIF --><br />*/
/* 						<!-- IF notification_list.FORUM --><span class="notifications_forum">{notification_list.FORUM}</span><br /><!-- ENDIF -->*/
/* 						<!-- IF notification_list.REASON --><span class="notifications_reason">{notification_list.REASON}</span><br /><!-- ENDIF -->*/
/* 							<span class="notifications_time">{notification_list.TIME}</span>*/
/* 						</span>*/
/* 					</td>*/
/* 					<td align="center">*/
/* 						<input type="checkbox" name="mark[]" value="{notification_list.NOTIFICATION_ID}"<!-- IF not notification_list.UNREAD --> disabled="disabled"<!-- ENDIF --> />*/
/* 					</td>*/
/* 				</tr>*/
/* 			<!-- END notification_list -->*/
/* 			<tr>*/
/* 				<td class="cat" colspan="3" align="center">*/
/* 					<input type="hidden" name="form_time" value="{FORM_TIME}" />*/
/* 					{S_HIDDEN_FIELDS}*/
/* 					<input class="btnmain" type="submit" name="submit" value="{L_MARK_READ}" />*/
/* 					{S_FORM_TOKEN}*/
/* 				</td>*/
/* 			</tr>*/
/* 		</table>*/
/* 	</div>*/
/* */
/* 	<!-- IF .pagination -->*/
/* 		<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}">*/
/* 							<!-- INCLUDE pagination.html -->*/
/* 						</td>*/
/* 					</tr>*/
/* 					</table>*/
/* 				</td>*/
/* 			</tr>*/
/* 		</table>*/
/* 	<!-- ENDIF -->*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF .notifications -->*/
/* <div class="gensmall" style="float: {S_CONTENT_FLOW_END}; padding-top: 2px;"><b><a href="#" onclick="$('#ucp input:checkbox').prop('checked', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="$('#ucp input:checkbox').prop('checked', false); return false;">{L_UNMARK_ALL}</a></b></div>*/
/* <!-- ENDIF -->*/
/* */
/* </form>*/
/* */
/* <!-- INCLUDE ucp_footer.html -->*/
/* */
