<?php

/* ucp_header.html */
class __TwigTemplate_34bad4cf8c6485d601fb43feaeb4992fd03947675b214057943d35d0258412bd 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 = "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", "ucp_header.html", 1)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 2
        echo "

";
        // line 4
        if (isset($context["S_SHOW_PM_BOX"])) { $_S_SHOW_PM_BOX_ = $context["S_SHOW_PM_BOX"]; } else { $_S_SHOW_PM_BOX_ = null; }
        if (isset($context["S_POST_ACTION"])) { $_S_POST_ACTION_ = $context["S_POST_ACTION"]; } else { $_S_POST_ACTION_ = null; }
        if (($_S_SHOW_PM_BOX_ && $_S_POST_ACTION_)) {
            // line 5
            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 7
        echo "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">
<tr>
\t<td width=\"20%\" valign=\"top\">

";
        // line 11
        if (isset($context["S_SHOW_PM_BOX"])) { $_S_SHOW_PM_BOX_ = $context["S_SHOW_PM_BOX"]; } else { $_S_SHOW_PM_BOX_ = null; }
        if (isset($context["S_POST_ACTION"])) { $_S_POST_ACTION_ = $context["S_POST_ACTION"]; } else { $_S_POST_ACTION_ = null; }
        if (($_S_SHOW_PM_BOX_ && $_S_POST_ACTION_)) {
            // line 12
            echo "\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
\t<tr>
\t\t<th>";
            // line 14
            echo $this->env->getExtension('phpbb')->lang("PM_TO");
            echo "</th>
\t</tr>
\t";
            // line 16
            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 17
                echo "\t<tr>
\t\t<td class=\"row1\"><b class=\"genmed\">";
                // line 18
                echo $this->env->getExtension('phpbb')->lang("USERNAME");
                echo $this->env->getExtension('phpbb')->lang("COLON");
                echo "</b><br />[ <a href=\"";
                if (isset($context["U_FIND_USERNAME"])) { $_U_FIND_USERNAME_ = $context["U_FIND_USERNAME"]; } else { $_U_FIND_USERNAME_ = null; }
                echo $_U_FIND_USERNAME_;
                echo "\" onclick=\"find_username(this.href); return false;\">";
                echo $this->env->getExtension('phpbb')->lang("FIND_USERNAME");
                echo "</a> ]</td>
\t</tr>
\t
\t<tr>
\t\t<td class=\"row2\"><input class=\"post\" type=\"text\" name=\"username_list\" size=\"20\" value=\"\" />&nbsp;<input class=\"post\" type=\"submit\" name=\"add_to\" value=\"";
                // line 22
                echo $this->env->getExtension('phpbb')->lang("ADD");
                echo "\" /></td>
\t</tr>
\t";
            } else {
                // line 25
                echo "\t\t<tr>
\t\t\t<td class=\"row1\"><b class=\"genmed\">";
                // line 26
                echo $this->env->getExtension('phpbb')->lang("USERNAMES");
                echo $this->env->getExtension('phpbb')->lang("COLON");
                echo "</b></td>
\t\t</tr>
\t\t";
                // line 28
                if (isset($context["posting_pm_header_find_username_before"])) { $_posting_pm_header_find_username_before_ = $context["posting_pm_header_find_username_before"]; } else { $_posting_pm_header_find_username_before_ = null; }
                // line 29
                echo "\t\t<tr>
\t\t\t<td class=\"row2\"><textarea name=\"username_list\" rows=\"5\" cols=\"22\" tabindex=\"1\"></textarea><br />
\t\t\t\t[ <a href=\"";
                // line 31
                if (isset($context["U_FIND_USERNAME"])) { $_U_FIND_USERNAME_ = $context["U_FIND_USERNAME"]; } else { $_U_FIND_USERNAME_ = null; }
                echo $_U_FIND_USERNAME_;
                echo "\" onclick=\"find_username(this.href); return false;\">";
                echo $this->env->getExtension('phpbb')->lang("FIND_USERNAME");
                echo "</a> ]
\t\t\t</td>
\t\t</tr>
\t\t";
                // line 34
                if (isset($context["posting_pm_header_find_username_after"])) { $_posting_pm_header_find_username_after_ = $context["posting_pm_header_find_username_after"]; } else { $_posting_pm_header_find_username_after_ = null; }
                // line 35
                echo "\t";
            }
            // line 36
            echo "\t";
            if (isset($context["S_GROUP_OPTIONS"])) { $_S_GROUP_OPTIONS_ = $context["S_GROUP_OPTIONS"]; } else { $_S_GROUP_OPTIONS_ = null; }
            if ($_S_GROUP_OPTIONS_) {
                // line 37
                echo "\t\t<tr>
\t\t\t<td class=\"row1\"><b class=\"genmed\">";
                // line 38
                echo $this->env->getExtension('phpbb')->lang("USERGROUPS");
                echo $this->env->getExtension('phpbb')->lang("COLON");
                echo "</b></td>
\t\t</tr>
\t\t<tr>
\t\t\t<td class=\"row2\"><select name=\"group_list[]\" multiple=\"multiple\" size=\"5\" style=\"width:150px\">";
                // line 41
                if (isset($context["S_GROUP_OPTIONS"])) { $_S_GROUP_OPTIONS_ = $context["S_GROUP_OPTIONS"]; } else { $_S_GROUP_OPTIONS_ = null; }
                echo $_S_GROUP_OPTIONS_;
                echo "</select></td>
\t\t</tr>
\t";
            }
            // line 44
            echo "\t";
            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 45
                echo "\t\t<tr>
\t\t\t<td class=\"row1\"><div style=\"float: ";
                // line 46
                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 ";\">&nbsp;<input class=\"post\" type=\"submit\" name=\"add_bcc\" value=\"";
                echo $this->env->getExtension('phpbb')->lang("ADD_BCC");
                echo "\" tabindex=\"1\" />&nbsp;</div><div 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 ";\">&nbsp;<input class=\"post\" type=\"submit\" name=\"add_to\" value=\"";
                echo $this->env->getExtension('phpbb')->lang("ADD_TO");
                echo "\" tabindex=\"1\" />&nbsp;</div></td>
\t\t</tr>
\t";
            }
            // line 49
            echo "\t</table>
\t<div style=\"padding: 2px;\"></div>
";
        }
        // line 52
        echo "
<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
<tr>
\t<th>";
        // line 55
        echo $this->env->getExtension('phpbb')->lang("OPTIONS");
        echo "</th>
</tr>

";
        // line 58
        if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "l_block1", array()));
        foreach ($context['_seq'] as $context["_key"] => $context["l_block1"]) {
            // line 59
            echo "\t<tr>
\t\t";
            // line 60
            if (isset($context["l_block1"])) { $_l_block1_ = $context["l_block1"]; } else { $_l_block1_ = null; }
            if ($this->getAttribute($_l_block1_, "S_SELECTED", array())) {
                // line 61
                echo "\t\t\t<td class=\"row1\"><b class=\"nav\">";
                if (isset($context["l_block1"])) { $_l_block1_ = $context["l_block1"]; } else { $_l_block1_ = null; }
                echo $this->getAttribute($_l_block1_, "L_TITLE", array());
                echo "</b>

\t\t\t";
                // line 63
                if (isset($context["S_PRIVMSGS"])) { $_S_PRIVMSGS_ = $context["S_PRIVMSGS"]; } else { $_S_PRIVMSGS_ = null; }
                if ($_S_PRIVMSGS_) {
                    // line 64
                    echo "
\t\t\t\t<!-- the ! at the beginning of the loop name forces the loop to be not a nested one of l_block1 (it gets parsed separately) -->
\t\t\t\t";
                    // line 66
                    if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "folder", array()));
                    foreach ($context['_seq'] as $context["_key"] => $context["folder"]) {
                        // line 67
                        echo "\t\t\t\t\t";
                        if (isset($context["folder"])) { $_folder_ = $context["folder"]; } else { $_folder_ = null; }
                        if ($this->getAttribute($_folder_, "S_FIRST_ROW", array())) {
                            // line 68
                            echo "\t\t\t\t\t\t<ul class=\"nav\" style=\"margin: 0; padding: 0; list-style-type: none; line-height: 175%;\">
\t\t\t\t\t";
                        }
                        // line 70
                        echo "
\t\t\t\t\t";
                        // line 71
                        if (isset($context["folder"])) { $_folder_ = $context["folder"]; } else { $_folder_ = null; }
                        if ($this->getAttribute($_folder_, "S_CUR_FOLDER", array())) {
                            // line 72
                            echo "\t\t\t\t\t\t<li class=\"row2\" style=\"padding: 1px 0;\">&#187; <a href=\"";
                            if (isset($context["folder"])) { $_folder_ = $context["folder"]; } else { $_folder_ = null; }
                            echo $this->getAttribute($_folder_, "U_FOLDER", array());
                            echo "\">";
                            if (isset($context["folder"])) { $_folder_ = $context["folder"]; } else { $_folder_ = null; }
                            echo $this->getAttribute($_folder_, "FOLDER_NAME", array());
                            if (isset($context["folder"])) { $_folder_ = $context["folder"]; } else { $_folder_ = null; }
                            if ($this->getAttribute($_folder_, "S_UNREAD_MESSAGES", array())) {
                                echo " (";
                                if (isset($context["folder"])) { $_folder_ = $context["folder"]; } else { $_folder_ = null; }
                                echo $this->getAttribute($_folder_, "UNREAD_MESSAGES", array());
                                echo ")";
                            }
                            echo "</a></li>
\t\t\t\t\t";
                        } else {
                            // line 74
                            echo "\t\t\t\t\t\t<li>&#187; <a href=\"";
                            if (isset($context["folder"])) { $_folder_ = $context["folder"]; } else { $_folder_ = null; }
                            echo $this->getAttribute($_folder_, "U_FOLDER", array());
                            echo "\">";
                            if (isset($context["folder"])) { $_folder_ = $context["folder"]; } else { $_folder_ = null; }
                            echo $this->getAttribute($_folder_, "FOLDER_NAME", array());
                            if (isset($context["folder"])) { $_folder_ = $context["folder"]; } else { $_folder_ = null; }
                            if ($this->getAttribute($_folder_, "S_UNREAD_MESSAGES", array())) {
                                echo " (";
                                if (isset($context["folder"])) { $_folder_ = $context["folder"]; } else { $_folder_ = null; }
                                echo $this->getAttribute($_folder_, "UNREAD_MESSAGES", array());
                                echo ")";
                            }
                            echo "</a></li>
\t\t\t\t\t";
                        }
                        // line 76
                        echo "
\t\t\t\t\t";
                        // line 77
                        if (isset($context["folder"])) { $_folder_ = $context["folder"]; } else { $_folder_ = null; }
                        if ($this->getAttribute($_folder_, "S_LAST_ROW", array())) {
                            // line 78
                            echo "\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<hr />
\t\t\t\t\t";
                        }
                        // line 81
                        echo "\t\t\t\t";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['folder'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 82
                    echo "
\t\t\t";
                }
                // line 84
                echo "
\t\t\t<ul class=\"nav\" style=\"margin: 0; padding: 0; list-style-type: none; line-height: 175%;\">
\t\t\t";
                // line 86
                if (isset($context["l_block1"])) { $_l_block1_ = $context["l_block1"]; } else { $_l_block1_ = null; }
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($_l_block1_, "l_block2", array()));
                foreach ($context['_seq'] as $context["_key"] => $context["l_block2"]) {
                    // line 87
                    echo "\t\t\t\t<li>&#187; ";
                    if (isset($context["l_block2"])) { $_l_block2_ = $context["l_block2"]; } else { $_l_block2_ = null; }
                    if ($this->getAttribute($_l_block2_, "S_SELECTED", array())) {
                        echo "<b>";
                        if (isset($context["l_block2"])) { $_l_block2_ = $context["l_block2"]; } else { $_l_block2_ = null; }
                        echo $this->getAttribute($_l_block2_, "L_TITLE", array());
                        echo "</b>";
                    } else {
                        echo "<a href=\"";
                        if (isset($context["l_block2"])) { $_l_block2_ = $context["l_block2"]; } else { $_l_block2_ = null; }
                        echo $this->getAttribute($_l_block2_, "U_TITLE", array());
                        echo "\">";
                        if (isset($context["l_block2"])) { $_l_block2_ = $context["l_block2"]; } else { $_l_block2_ = null; }
                        echo $this->getAttribute($_l_block2_, "L_TITLE", array());
                        echo "</a>";
                    }
                    echo "</li>
\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['l_block2'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 89
                echo "\t\t\t</ul>
\t\t";
            } else {
                // line 91
                echo "\t\t\t<td class=\"row2\" nowrap=\"nowrap\" onmouseover=\"this.className='row1'\" onmouseout=\"this.className='row2'\" onclick=\"location.href=this.firstChild.href;\"><a class=\"nav\" href=\"";
                if (isset($context["l_block1"])) { $_l_block1_ = $context["l_block1"]; } else { $_l_block1_ = null; }
                echo $this->getAttribute($_l_block1_, "U_TITLE", array());
                echo "\">";
                if (isset($context["l_block1"])) { $_l_block1_ = $context["l_block1"]; } else { $_l_block1_ = null; }
                echo $this->getAttribute($_l_block1_, "L_TITLE", array());
                echo "</a>
\t\t";
            }
            // line 93
            echo "\t\t</td>
\t</tr>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['l_block1'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 96
        echo "</table>

<div style=\"padding: 2px;\"></div>

";
        // line 100
        if (isset($context["S_SHOW_COLOUR_LEGEND"])) { $_S_SHOW_COLOUR_LEGEND_ = $context["S_SHOW_COLOUR_LEGEND"]; } else { $_S_SHOW_COLOUR_LEGEND_ = null; }
        if ($_S_SHOW_COLOUR_LEGEND_) {
            // line 101
            echo "\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\">
\t<tr>
\t\t<th colspan=\"2\">";
            // line 103
            echo $this->env->getExtension('phpbb')->lang("MESSAGE_COLOURS");
            echo "</th>
\t</tr>
\t";
            // line 105
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "pm_colour_info", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["pm_colour_info"]) {
                // line 106
                echo "\t\t<tr>
\t\t\t";
                // line 107
                if (isset($context["pm_colour_info"])) { $_pm_colour_info_ = $context["pm_colour_info"]; } else { $_pm_colour_info_ = null; }
                if ( !$this->getAttribute($_pm_colour_info_, "IMG", array())) {
                    // line 108
                    echo "\t\t\t\t<td class=\"row1 ";
                    if (isset($context["pm_colour_info"])) { $_pm_colour_info_ = $context["pm_colour_info"]; } else { $_pm_colour_info_ = null; }
                    echo $this->getAttribute($_pm_colour_info_, "CLASS", array());
                    echo "\" width=\"5\"><img src=\"images/spacer.gif\" width=\"5\" alt=\"";
                    if (isset($context["pm_colour_info"])) { $_pm_colour_info_ = $context["pm_colour_info"]; } else { $_pm_colour_info_ = null; }
                    echo $this->getAttribute($_pm_colour_info_, "LANG", array());
                    echo "\" /></td>
\t\t\t";
                } else {
                    // line 110
                    echo "\t\t\t\t<td class=\"row1\" width=\"25\" align=\"center\">";
                    if (isset($context["pm_colour_info"])) { $_pm_colour_info_ = $context["pm_colour_info"]; } else { $_pm_colour_info_ = null; }
                    echo $this->getAttribute($_pm_colour_info_, "IMG", array());
                    echo "</td>
\t\t\t";
                }
                // line 112
                echo "\t\t\t<td class=\"row1\"><span class=\"genmed\">";
                if (isset($context["pm_colour_info"])) { $_pm_colour_info_ = $context["pm_colour_info"]; } else { $_pm_colour_info_ = null; }
                echo $this->getAttribute($_pm_colour_info_, "LANG", array());
                echo "</span></td>
\t\t</tr>
\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pm_colour_info'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 115
            echo "\t</table>

\t<div style=\"padding: 2px;\"></div>
";
        }
        // line 119
        echo "
";
        // line 120
        if (isset($context["S_ZEBRA_ENABLED"])) { $_S_ZEBRA_ENABLED_ = $context["S_ZEBRA_ENABLED"]; } else { $_S_ZEBRA_ENABLED_ = null; }
        if (isset($context["S_ZEBRA_FRIENDS_ENABLED"])) { $_S_ZEBRA_FRIENDS_ENABLED_ = $context["S_ZEBRA_FRIENDS_ENABLED"]; } else { $_S_ZEBRA_FRIENDS_ENABLED_ = null; }
        if (($_S_ZEBRA_ENABLED_ && $_S_ZEBRA_FRIENDS_ENABLED_)) {
            // line 121
            echo "\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
\t<tr>
\t\t<th>";
            // line 123
            echo $this->env->getExtension('phpbb')->lang("FRIENDS");
            echo "</th>
\t</tr>
\t<tr>
\t\t<td class=\"row1\" align=\"center\">
\t\t
\t\t\t<b class=\"genmed online\">";
            // line 128
            echo $this->env->getExtension('phpbb')->lang("FRIENDS_ONLINE");
            echo "</b>

\t\t\t<ul class=\"nav\" style=\"margin: 0; padding: 0; list-style-type: none; line-height: 175%;\">
\t\t\t";
            // line 131
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "friends_online", array()));
            $context['_iterated'] = false;
            foreach ($context['_seq'] as $context["_key"] => $context["friends_online"]) {
                // line 132
                echo "\t\t\t\t<li>";
                if (isset($context["friends_online"])) { $_friends_online_ = $context["friends_online"]; } else { $_friends_online_ = null; }
                echo $this->getAttribute($_friends_online_, "USERNAME_FULL", array());
                echo "
\t\t\t\t";
                // line 133
                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 134
                    echo "\t\t\t\t\t&nbsp;[ <input class=\"post\" style=\"font-size: 90%;\" type=\"submit\" name=\"add_to[";
                    if (isset($context["friends_online"])) { $_friends_online_ = $context["friends_online"]; } else { $_friends_online_ = null; }
                    echo $this->getAttribute($_friends_online_, "USER_ID", array());
                    echo "]\" value=\"";
                    echo $this->env->getExtension('phpbb')->lang("ADD");
                    echo "\" /> ]
\t\t\t\t";
                }
                // line 136
                echo "\t\t\t\t</li>
\t\t\t";
                $context['_iterated'] = true;
            }
            if (!$context['_iterated']) {
                // line 138
                echo "\t\t\t\t<li>";
                echo $this->env->getExtension('phpbb')->lang("NO_FRIENDS_ONLINE");
                echo "</li>
\t\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['friends_online'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 140
            echo "\t\t\t</ul>

\t\t\t<hr />

\t\t\t<b class=\"genmed offline\">";
            // line 144
            echo $this->env->getExtension('phpbb')->lang("FRIENDS_OFFLINE");
            echo "</b>

\t\t\t<ul class=\"nav\" style=\"margin: 0; padding: 0; list-style-type: none; line-height: 175%;\">
\t\t\t";
            // line 147
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "friends_offline", array()));
            $context['_iterated'] = false;
            foreach ($context['_seq'] as $context["_key"] => $context["friends_offline"]) {
                // line 148
                echo "\t\t\t\t<li>";
                if (isset($context["friends_offline"])) { $_friends_offline_ = $context["friends_offline"]; } else { $_friends_offline_ = null; }
                echo $this->getAttribute($_friends_offline_, "USERNAME_FULL", array());
                echo "
\t\t\t\t";
                // line 149
                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 150
                    echo "\t\t\t\t\t&nbsp;[ <input class=\"post\" style=\"font-size: 90%;\" type=\"submit\" name=\"add_to[";
                    if (isset($context["friends_offline"])) { $_friends_offline_ = $context["friends_offline"]; } else { $_friends_offline_ = null; }
                    echo $this->getAttribute($_friends_offline_, "USER_ID", array());
                    echo "]\" value=\"";
                    echo $this->env->getExtension('phpbb')->lang("ADD");
                    echo "\" /> ]
\t\t\t\t";
                }
                // line 152
                echo "\t\t\t\t</li>
\t\t\t";
                $context['_iterated'] = true;
            }
            if (!$context['_iterated']) {
                // line 154
                echo "\t\t\t\t<li>";
                echo $this->env->getExtension('phpbb')->lang("NO_FRIENDS_OFFLINE");
                echo "</li>
\t\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['friends_offline'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 156
            echo "\t\t\t</ul>

\t\t</td>
\t</tr>
\t</table>
";
        }
        // line 162
        echo "
</td>
<td><img src=\"images/spacer.gif\" width=\"4\" alt=\"\" /></td>
<td width=\"80%\" valign=\"top\">";
        // line 165
        if (isset($context["S_PRIVMSGS"])) { $_S_PRIVMSGS_ = $context["S_PRIVMSGS"]; } else { $_S_PRIVMSGS_ = null; }
        if (isset($context["S_SHOW_DRAFTS"])) { $_S_SHOW_DRAFTS_ = $context["S_SHOW_DRAFTS"]; } else { $_S_SHOW_DRAFTS_ = null; }
        if (( !$_S_PRIVMSGS_ || $_S_SHOW_DRAFTS_)) {
            echo "<form name=\"ucp\" id=\"ucp\" method=\"post\" action=\"";
            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 ">";
        }
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  524 => 165,  519 => 162,  511 => 156,  502 => 154,  496 => 152,  487 => 150,  484 => 149,  478 => 148,  472 => 147,  466 => 144,  460 => 140,  451 => 138,  445 => 136,  436 => 134,  433 => 133,  427 => 132,  421 => 131,  415 => 128,  407 => 123,  403 => 121,  399 => 120,  396 => 119,  390 => 115,  379 => 112,  372 => 110,  362 => 108,  359 => 107,  356 => 106,  351 => 105,  346 => 103,  342 => 101,  339 => 100,  333 => 96,  325 => 93,  315 => 91,  311 => 89,  288 => 87,  283 => 86,  279 => 84,  275 => 82,  269 => 81,  264 => 78,  261 => 77,  258 => 76,  241 => 74,  224 => 72,  221 => 71,  218 => 70,  214 => 68,  210 => 67,  205 => 66,  201 => 64,  198 => 63,  191 => 61,  188 => 60,  185 => 59,  180 => 58,  174 => 55,  169 => 52,  164 => 49,  150 => 46,  147 => 45,  143 => 44,  136 => 41,  129 => 38,  126 => 37,  122 => 36,  119 => 35,  117 => 34,  108 => 31,  104 => 29,  102 => 28,  96 => 26,  93 => 25,  87 => 22,  74 => 18,  71 => 17,  68 => 16,  63 => 14,  59 => 12,  55 => 11,  49 => 7,  39 => 5,  35 => 4,  31 => 2,  19 => 1,);
    }
}
/* <!-- INCLUDE overall_header.html -->*/
/* */
/* */
/* <!-- IF S_SHOW_PM_BOX and S_POST_ACTION -->*/
/* 	<form action="{S_POST_ACTION}" method="post" name="postform"{S_FORM_ENCTYPE}>*/
/* <!-- ENDIF -->*/
/* <table width="100%" cellspacing="0" cellpadding="0" border="0">*/
/* <tr>*/
/* 	<td width="20%" valign="top">*/
/* */
/* <!-- IF S_SHOW_PM_BOX and S_POST_ACTION -->*/
/* 	<table class="tablebg" width="100%" cellspacing="1">*/
/* 	<tr>*/
/* 		<th>{L_PM_TO}</th>*/
/* 	</tr>*/
/* 	<!-- IF not S_ALLOW_MASS_PM -->*/
/* 	<tr>*/
/* 		<td class="row1"><b class="genmed">{L_USERNAME}{L_COLON}</b><br />[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</td>*/
/* 	</tr>*/
/* 	*/
/* 	<tr>*/
/* 		<td class="row2"><input class="post" type="text" name="username_list" size="20" value="" />&nbsp;<input class="post" type="submit" name="add_to" value="{L_ADD}" /></td>*/
/* 	</tr>*/
/* 	<!-- ELSE -->*/
/* 		<tr>*/
/* 			<td class="row1"><b class="genmed">{L_USERNAMES}{L_COLON}</b></td>*/
/* 		</tr>*/
/* 		<!-- EVENT posting_pm_header_find_username_before -->*/
/* 		<tr>*/
/* 			<td class="row2"><textarea name="username_list" rows="5" cols="22" tabindex="1"></textarea><br />*/
/* 				[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]*/
/* 			</td>*/
/* 		</tr>*/
/* 		<!-- EVENT posting_pm_header_find_username_after -->*/
/* 	<!-- ENDIF -->*/
/* 	<!-- IF S_GROUP_OPTIONS -->*/
/* 		<tr>*/
/* 			<td class="row1"><b class="genmed">{L_USERGROUPS}{L_COLON}</b></td>*/
/* 		</tr>*/
/* 		<tr>*/
/* 			<td class="row2"><select name="group_list[]" multiple="multiple" size="5" style="width:150px">{S_GROUP_OPTIONS}</select></td>*/
/* 		</tr>*/
/* 	<!-- ENDIF -->*/
/* 	<!-- IF S_ALLOW_MASS_PM -->*/
/* 		<tr>*/
/* 			<td class="row1"><div style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<input class="post" type="submit" name="add_bcc" value="{L_ADD_BCC}" tabindex="1" />&nbsp;</div><div style="float: {S_CONTENT_FLOW_END};">&nbsp;<input class="post" type="submit" name="add_to" value="{L_ADD_TO}" tabindex="1" />&nbsp;</div></td>*/
/* 		</tr>*/
/* 	<!-- ENDIF -->*/
/* 	</table>*/
/* 	<div style="padding: 2px;"></div>*/
/* <!-- ENDIF -->*/
/* */
/* <table class="tablebg" width="100%" cellspacing="1">*/
/* <tr>*/
/* 	<th>{L_OPTIONS}</th>*/
/* </tr>*/
/* */
/* <!-- BEGIN l_block1 -->*/
/* 	<tr>*/
/* 		<!-- IF l_block1.S_SELECTED -->*/
/* 			<td class="row1"><b class="nav">{l_block1.L_TITLE}</b>*/
/* */
/* 			<!-- IF S_PRIVMSGS -->*/
/* */
/* 				<!-- the ! at the beginning of the loop name forces the loop to be not a nested one of l_block1 (it gets parsed separately) -->*/
/* 				<!-- BEGIN !folder -->*/
/* 					<!-- IF folder.S_FIRST_ROW -->*/
/* 						<ul class="nav" style="margin: 0; padding: 0; list-style-type: none; line-height: 175%;">*/
/* 					<!-- ENDIF -->*/
/* */
/* 					<!-- IF folder.S_CUR_FOLDER -->*/
/* 						<li class="row2" style="padding: 1px 0;">&#187; <a href="{folder.U_FOLDER}">{folder.FOLDER_NAME}<!-- IF folder.S_UNREAD_MESSAGES --> ({folder.UNREAD_MESSAGES})<!-- ENDIF --></a></li>*/
/* 					<!-- ELSE -->*/
/* 						<li>&#187; <a href="{folder.U_FOLDER}">{folder.FOLDER_NAME}<!-- IF folder.S_UNREAD_MESSAGES --> ({folder.UNREAD_MESSAGES})<!-- ENDIF --></a></li>*/
/* 					<!-- ENDIF -->*/
/* */
/* 					<!-- IF folder.S_LAST_ROW -->*/
/* 						</ul>*/
/* 						<hr />*/
/* 					<!-- ENDIF -->*/
/* 				<!-- END !folder -->*/
/* */
/* 			<!-- ENDIF -->*/
/* */
/* 			<ul class="nav" style="margin: 0; padding: 0; list-style-type: none; line-height: 175%;">*/
/* 			<!-- BEGIN l_block2 -->*/
/* 				<li>&#187; <!-- IF l_block1.l_block2.S_SELECTED --><b>{l_block1.l_block2.L_TITLE}</b><!-- ELSE --><a href="{l_block1.l_block2.U_TITLE}">{l_block1.l_block2.L_TITLE}</a><!-- ENDIF --></li>*/
/* 			<!-- END l_block2 -->*/
/* 			</ul>*/
/* 		<!-- ELSE -->*/
/* 			<td class="row2" nowrap="nowrap" onmouseover="this.className='row1'" onmouseout="this.className='row2'" onclick="location.href=this.firstChild.href;"><a class="nav" href="{l_block1.U_TITLE}">{l_block1.L_TITLE}</a>*/
/* 		<!-- ENDIF -->*/
/* 		</td>*/
/* 	</tr>*/
/* <!-- END l_block1 -->*/
/* </table>*/
/* */
/* <div style="padding: 2px;"></div>*/
/* */
/* <!-- IF S_SHOW_COLOUR_LEGEND -->*/
/* 	<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">*/
/* 	<tr>*/
/* 		<th colspan="2">{L_MESSAGE_COLOURS}</th>*/
/* 	</tr>*/
/* 	<!-- BEGIN pm_colour_info -->*/
/* 		<tr>*/
/* 			<!-- IF not pm_colour_info.IMG -->*/
/* 				<td class="row1 {pm_colour_info.CLASS}" width="5"><img src="images/spacer.gif" width="5" alt="{pm_colour_info.LANG}" /></td>*/
/* 			<!-- ELSE -->*/
/* 				<td class="row1" width="25" align="center">{pm_colour_info.IMG}</td>*/
/* 			<!-- ENDIF -->*/
/* 			<td class="row1"><span class="genmed">{pm_colour_info.LANG}</span></td>*/
/* 		</tr>*/
/* 	<!-- END pm_colour_info -->*/
/* 	</table>*/
/* */
/* 	<div style="padding: 2px;"></div>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF S_ZEBRA_ENABLED and S_ZEBRA_FRIENDS_ENABLED -->*/
/* 	<table class="tablebg" width="100%" cellspacing="1">*/
/* 	<tr>*/
/* 		<th>{L_FRIENDS}</th>*/
/* 	</tr>*/
/* 	<tr>*/
/* 		<td class="row1" align="center">*/
/* 		*/
/* 			<b class="genmed online">{L_FRIENDS_ONLINE}</b>*/
/* */
/* 			<ul class="nav" style="margin: 0; padding: 0; list-style-type: none; line-height: 175%;">*/
/* 			<!-- BEGIN friends_online -->*/
/* 				<li>{friends_online.USERNAME_FULL}*/
/* 				<!-- IF S_SHOW_PM_BOX -->*/
/* 					&nbsp;[ <input class="post" style="font-size: 90%;" type="submit" name="add_to[{friends_online.USER_ID}]" value="{L_ADD}" /> ]*/
/* 				<!-- ENDIF -->*/
/* 				</li>*/
/* 			<!-- BEGINELSE -->*/
/* 				<li>{L_NO_FRIENDS_ONLINE}</li>*/
/* 			<!-- END friends_online -->*/
/* 			</ul>*/
/* */
/* 			<hr />*/
/* */
/* 			<b class="genmed offline">{L_FRIENDS_OFFLINE}</b>*/
/* */
/* 			<ul class="nav" style="margin: 0; padding: 0; list-style-type: none; line-height: 175%;">*/
/* 			<!-- BEGIN friends_offline -->*/
/* 				<li>{friends_offline.USERNAME_FULL}*/
/* 				<!-- IF S_SHOW_PM_BOX -->*/
/* 					&nbsp;[ <input class="post" style="font-size: 90%;" type="submit" name="add_to[{friends_offline.USER_ID}]" value="{L_ADD}" /> ]*/
/* 				<!-- ENDIF -->*/
/* 				</li>*/
/* 			<!-- BEGINELSE -->*/
/* 				<li>{L_NO_FRIENDS_OFFLINE}</li>*/
/* 			<!-- END friends_offline -->*/
/* 			</ul>*/
/* */
/* 		</td>*/
/* 	</tr>*/
/* 	</table>*/
/* <!-- ENDIF -->*/
/* */
/* </td>*/
/* <td><img src="images/spacer.gif" width="4" alt="" /></td>*/
/* <td width="80%" valign="top"><!-- IF not S_PRIVMSGS or S_SHOW_DRAFTS --><form name="ucp" id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}><!-- ENDIF -->*/
/* */
