<?php

/* ucp_main_front.html */
class __TwigTemplate_f545900239f60736db6cbb77d4f6e1c5c0578d20ee9c15ce36a611ce206d1de3 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_main_front.html", 1)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 2
        echo "
<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
<tr>
\t<th colspan=\"3\">";
        // line 5
        echo $this->env->getExtension('phpbb')->lang("UCP");
        echo "</th>
</tr>
<tr>
\t<td class=\"row1\" colspan=\"3\" align=\"center\"><p class=\"genmed\">";
        // line 8
        echo $this->env->getExtension('phpbb')->lang("UCP_WELCOME");
        echo "</p></td>
</tr>
<tr>
\t<th colspan=\"3\">";
        // line 11
        echo $this->env->getExtension('phpbb')->lang("IMPORTANT_NEWS");
        echo "</th>
</tr>

";
        // line 14
        if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "topicrow", array()));
        $context['_iterated'] = false;
        foreach ($context['_seq'] as $context["_key"] => $context["topicrow"]) {
            // line 15
            echo "
\t";
            // line 16
            if (isset($context["topicrow"])) { $_topicrow_ = $context["topicrow"]; } else { $_topicrow_ = null; }
            if (($this->getAttribute($_topicrow_, "S_ROW_COUNT", array()) % 2 == 0)) {
                echo "<tr class=\"row1\">";
            } else {
                echo "<tr class=\"row2\">";
            }
            // line 17
            echo "\t\t<td class=\"row1\" width=\"25\" align=\"center\">";
            if (isset($context["topicrow"])) { $_topicrow_ = $context["topicrow"]; } else { $_topicrow_ = null; }
            echo $this->getAttribute($_topicrow_, "TOPIC_FOLDER_IMG", array());
            echo "</td>
\t\t<td class=\"row1\" width=\"100%\">
\t\t\t<p class=\"topictitle\">";
            // line 19
            if (isset($context["topicrow"])) { $_topicrow_ = $context["topicrow"]; } else { $_topicrow_ = null; }
            if ($this->getAttribute($_topicrow_, "S_UNREAD", array())) {
                echo "<a href=\"";
                if (isset($context["topicrow"])) { $_topicrow_ = $context["topicrow"]; } else { $_topicrow_ = null; }
                echo $this->getAttribute($_topicrow_, "U_NEWEST_POST", array());
                echo "\">";
                if (isset($context["NEWEST_POST_IMG"])) { $_NEWEST_POST_IMG_ = $context["NEWEST_POST_IMG"]; } else { $_NEWEST_POST_IMG_ = null; }
                echo $_NEWEST_POST_IMG_;
                echo "</a> ";
            }
            if (isset($context["topicrow"])) { $_topicrow_ = $context["topicrow"]; } else { $_topicrow_ = null; }
            echo $this->getAttribute($_topicrow_, "ATTACH_ICON_IMG", array());
            echo " <a href=\"";
            if (isset($context["topicrow"])) { $_topicrow_ = $context["topicrow"]; } else { $_topicrow_ = null; }
            echo $this->getAttribute($_topicrow_, "U_VIEW_TOPIC", array());
            echo "\">";
            if (isset($context["topicrow"])) { $_topicrow_ = $context["topicrow"]; } else { $_topicrow_ = null; }
            echo $this->getAttribute($_topicrow_, "TOPIC_TITLE", array());
            echo "</a></p><p class=\"gensmall\">";
            if (isset($context["topicrow"])) { $_topicrow_ = $context["topicrow"]; } else { $_topicrow_ = null; }
            echo $this->getAttribute($_topicrow_, "GOTO_PAGE", array());
            echo "</p>
\t\t</td>
\t\t<td class=\"row1\" width=\"120\" align=\"center\" nowrap=\"nowrap\">
\t\t\t<p class=\"topicdetails\">";
            // line 22
            if (isset($context["topicrow"])) { $_topicrow_ = $context["topicrow"]; } else { $_topicrow_ = null; }
            echo $this->getAttribute($_topicrow_, "LAST_POST_TIME", array());
            echo "</p>
\t\t\t<p class=\"topicdetails\">";
            // line 23
            if (isset($context["topicrow"])) { $_topicrow_ = $context["topicrow"]; } else { $_topicrow_ = null; }
            echo $this->getAttribute($_topicrow_, "LAST_POST_AUTHOR_FULL", array());
            echo "
\t\t\t\t<a href=\"";
            // line 24
            if (isset($context["topicrow"])) { $_topicrow_ = $context["topicrow"]; } else { $_topicrow_ = null; }
            echo $this->getAttribute($_topicrow_, "U_LAST_POST", array());
            echo "\">";
            if (isset($context["LAST_POST_IMG"])) { $_LAST_POST_IMG_ = $context["LAST_POST_IMG"]; } else { $_LAST_POST_IMG_ = null; }
            echo $_LAST_POST_IMG_;
            echo "</a>
\t\t\t</p>
\t\t</td>
\t</tr>
";
            $context['_iterated'] = true;
        }
        if (!$context['_iterated']) {
            // line 29
            echo "\t<tr class=\"row1\">
\t\t<td align=\"center\" colspan=\"3\"><b class=\"gen\">";
            // line 30
            echo $this->env->getExtension('phpbb')->lang("NO_IMPORTANT_NEWS");
            echo "</b></td>
\t</tr>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['topicrow'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 33
        echo "
<tr>
\t<th colspan=\"3\">";
        // line 35
        echo $this->env->getExtension('phpbb')->lang("YOUR_DETAILS");
        echo "</th>
</tr>
<tr>
";
        // line 38
        if (isset($context["ucp_main_front_user_activity_before"])) { $_ucp_main_front_user_activity_before_ = $context["ucp_main_front_user_activity_before"]; } else { $_ucp_main_front_user_activity_before_ = null; }
        // line 39
        echo "\t<td class=\"row1\" colspan=\"3\">
\t\t<table width=\"100%\" cellspacing=\"1\" cellpadding=\"4\">
\t\t<tr> 
\t\t\t<td align=\"";
        // line 42
        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\"><b class=\"genmed\">";
        echo $this->env->getExtension('phpbb')->lang("JOINED");
        echo $this->env->getExtension('phpbb')->lang("COLON");
        echo " </b></td>
\t\t\t<td width=\"100%\"><b class=\"gen\">";
        // line 43
        if (isset($context["JOINED"])) { $_JOINED_ = $context["JOINED"]; } else { $_JOINED_ = null; }
        echo $_JOINED_;
        echo "</b></td>
\t\t</tr>
\t\t<tr> 
\t\t\t<td align=\"";
        // line 46
        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\"><b class=\"genmed\">";
        echo $this->env->getExtension('phpbb')->lang("TOTAL_POSTS");
        echo $this->env->getExtension('phpbb')->lang("COLON");
        echo " </b></td>
\t\t\t<td>";
        // line 47
        if (isset($context["POSTS_PCT"])) { $_POSTS_PCT_ = $context["POSTS_PCT"]; } else { $_POSTS_PCT_ = null; }
        if ($_POSTS_PCT_) {
            echo "<b class=\"gen\">";
            if (isset($context["POSTS"])) { $_POSTS_ = $context["POSTS"]; } else { $_POSTS_ = null; }
            echo $_POSTS_;
            echo "</b><br /><span class=\"genmed\">[";
            if (isset($context["POSTS_PCT"])) { $_POSTS_PCT_ = $context["POSTS_PCT"]; } else { $_POSTS_PCT_ = null; }
            echo $_POSTS_PCT_;
            echo " / ";
            if (isset($context["POSTS_DAY"])) { $_POSTS_DAY_ = $context["POSTS_DAY"]; } else { $_POSTS_DAY_ = null; }
            echo $_POSTS_DAY_;
            echo "]";
            if (isset($context["S_DISPLAY_SEARCH"])) { $_S_DISPLAY_SEARCH_ = $context["S_DISPLAY_SEARCH"]; } else { $_S_DISPLAY_SEARCH_ = null; }
            if ($_S_DISPLAY_SEARCH_) {
                echo "<br /><a href=\"";
                if (isset($context["U_SEARCH_SELF"])) { $_U_SEARCH_SELF_ = $context["U_SEARCH_SELF"]; } else { $_U_SEARCH_SELF_ = null; }
                echo $_U_SEARCH_SELF_;
                echo "\">";
                echo $this->env->getExtension('phpbb')->lang("SEARCH_YOUR_POSTS");
                echo "</a>";
            }
            echo "</span>";
        } else {
            echo "<b class=\"gen\">";
            if (isset($context["POSTS"])) { $_POSTS_ = $context["POSTS"]; } else { $_POSTS_ = null; }
            echo $_POSTS_;
            echo "<b>";
        }
        echo "</td>
\t\t</tr>
\t\t";
        // line 49
        if (isset($context["S_SHOW_ACTIVITY"])) { $_S_SHOW_ACTIVITY_ = $context["S_SHOW_ACTIVITY"]; } else { $_S_SHOW_ACTIVITY_ = null; }
        if ($_S_SHOW_ACTIVITY_) {
            // line 50
            echo "\t\t\t<tr>
\t\t\t\t<td align=\"";
            // line 51
            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\"><b class=\"genmed\">";
            echo $this->env->getExtension('phpbb')->lang("ACTIVE_IN_FORUM");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo " </b></td>
\t\t\t\t<td>";
            // line 52
            if (isset($context["ACTIVE_FORUM"])) { $_ACTIVE_FORUM_ = $context["ACTIVE_FORUM"]; } else { $_ACTIVE_FORUM_ = null; }
            if (($_ACTIVE_FORUM_ != "")) {
                echo "<b><a class=\"gen\" href=\"";
                if (isset($context["U_ACTIVE_FORUM"])) { $_U_ACTIVE_FORUM_ = $context["U_ACTIVE_FORUM"]; } else { $_U_ACTIVE_FORUM_ = null; }
                echo $_U_ACTIVE_FORUM_;
                echo "\">";
                if (isset($context["ACTIVE_FORUM"])) { $_ACTIVE_FORUM_ = $context["ACTIVE_FORUM"]; } else { $_ACTIVE_FORUM_ = null; }
                echo $_ACTIVE_FORUM_;
                echo "</a></b><br /><span class=\"genmed\">[ ";
                if (isset($context["ACTIVE_FORUM_POSTS"])) { $_ACTIVE_FORUM_POSTS_ = $context["ACTIVE_FORUM_POSTS"]; } else { $_ACTIVE_FORUM_POSTS_ = null; }
                echo $_ACTIVE_FORUM_POSTS_;
                echo " / ";
                if (isset($context["ACTIVE_FORUM_PCT"])) { $_ACTIVE_FORUM_PCT_ = $context["ACTIVE_FORUM_PCT"]; } else { $_ACTIVE_FORUM_PCT_ = null; }
                echo $_ACTIVE_FORUM_PCT_;
                echo " ]</span>";
            } else {
                echo "<span class=\"gen\">-</span>";
            }
            echo "</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<td align=\"";
            // line 55
            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\"><b class=\"genmed\">";
            echo $this->env->getExtension('phpbb')->lang("ACTIVE_IN_TOPIC");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo " </b></td>
\t\t\t\t<td>";
            // line 56
            if (isset($context["ACTIVE_TOPIC"])) { $_ACTIVE_TOPIC_ = $context["ACTIVE_TOPIC"]; } else { $_ACTIVE_TOPIC_ = null; }
            if (($_ACTIVE_TOPIC_ != "")) {
                echo "<b><a class=\"gen\" href=\"";
                if (isset($context["U_ACTIVE_TOPIC"])) { $_U_ACTIVE_TOPIC_ = $context["U_ACTIVE_TOPIC"]; } else { $_U_ACTIVE_TOPIC_ = null; }
                echo $_U_ACTIVE_TOPIC_;
                echo "\">";
                if (isset($context["ACTIVE_TOPIC"])) { $_ACTIVE_TOPIC_ = $context["ACTIVE_TOPIC"]; } else { $_ACTIVE_TOPIC_ = null; }
                echo $_ACTIVE_TOPIC_;
                echo "</a></b><br /><span class=\"genmed\">[ ";
                if (isset($context["ACTIVE_TOPIC_POSTS"])) { $_ACTIVE_TOPIC_POSTS_ = $context["ACTIVE_TOPIC_POSTS"]; } else { $_ACTIVE_TOPIC_POSTS_ = null; }
                echo $_ACTIVE_TOPIC_POSTS_;
                echo " / ";
                if (isset($context["ACTIVE_TOPIC_PCT"])) { $_ACTIVE_TOPIC_PCT_ = $context["ACTIVE_TOPIC_PCT"]; } else { $_ACTIVE_TOPIC_PCT_ = null; }
                echo $_ACTIVE_TOPIC_PCT_;
                echo " ]</span>";
            } else {
                echo "<span class=\"gen\">-</span>";
            }
            echo "</td>
\t\t\t</tr>
\t\t";
        }
        // line 59
        echo "\t\t";
        if (isset($context["WARNINGS"])) { $_WARNINGS_ = $context["WARNINGS"]; } else { $_WARNINGS_ = null; }
        if ($_WARNINGS_) {
            // line 60
            echo "\t\t\t<tr>
\t\t\t\t<td align=\"";
            // line 61
            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\" nowrap=\"nowrap\"><b class=\"genmed\">";
            echo $this->env->getExtension('phpbb')->lang("YOUR_WARNINGS");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo " </b></td>
\t\t\t\t<td class=\"genmed\">";
            // line 62
            if (isset($context["WARNING_IMG"])) { $_WARNING_IMG_ = $context["WARNING_IMG"]; } else { $_WARNING_IMG_ = null; }
            echo $_WARNING_IMG_;
            echo " [ <b>";
            if (isset($context["WARNINGS"])) { $_WARNINGS_ = $context["WARNINGS"]; } else { $_WARNINGS_ = null; }
            echo $_WARNINGS_;
            echo "</b> ]</td>
\t\t\t</tr>
\t\t";
        }
        // line 65
        echo "\t\t</table>
\t</td>
";
        // line 67
        if (isset($context["ucp_main_front_user_activity_after"])) { $_ucp_main_front_user_activity_after_ = $context["ucp_main_front_user_activity_after"]; } else { $_ucp_main_front_user_activity_after_ = null; }
        // line 68
        echo "</tr>
<tr>
\t<td class=\"cat\" colspan=\"3\">&nbsp;</td>
</tr>
</table>

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

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  318 => 74,  310 => 68,  308 => 67,  304 => 65,  294 => 62,  286 => 61,  283 => 60,  279 => 59,  256 => 56,  248 => 55,  225 => 52,  217 => 51,  214 => 50,  211 => 49,  179 => 47,  171 => 46,  164 => 43,  156 => 42,  151 => 39,  149 => 38,  143 => 35,  139 => 33,  130 => 30,  127 => 29,  113 => 24,  108 => 23,  103 => 22,  77 => 19,  70 => 17,  63 => 16,  60 => 15,  54 => 14,  48 => 11,  42 => 8,  36 => 5,  31 => 2,  19 => 1,);
    }
}
/* <!-- INCLUDE ucp_header.html -->*/
/* */
/* <table class="tablebg" width="100%" cellspacing="1">*/
/* <tr>*/
/* 	<th colspan="3">{L_UCP}</th>*/
/* </tr>*/
/* <tr>*/
/* 	<td class="row1" colspan="3" align="center"><p class="genmed">{L_UCP_WELCOME}</p></td>*/
/* </tr>*/
/* <tr>*/
/* 	<th colspan="3">{L_IMPORTANT_NEWS}</th>*/
/* </tr>*/
/* */
/* <!-- BEGIN topicrow -->*/
/* */
/* 	<!-- IF topicrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->*/
/* 		<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>*/
/* 		<td class="row1" width="100%">*/
/* 			<p class="topictitle"><!-- IF topicrow.S_UNREAD --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->{topicrow.ATTACH_ICON_IMG} <a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></p><p class="gensmall">{topicrow.GOTO_PAGE}</p>*/
/* 		</td>*/
/* 		<td class="row1" width="120" align="center" nowrap="nowrap">*/
/* 			<p class="topicdetails">{topicrow.LAST_POST_TIME}</p>*/
/* 			<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}*/
/* 				<a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a>*/
/* 			</p>*/
/* 		</td>*/
/* 	</tr>*/
/* <!-- BEGINELSE -->*/
/* 	<tr class="row1">*/
/* 		<td align="center" colspan="3"><b class="gen">{L_NO_IMPORTANT_NEWS}</b></td>*/
/* 	</tr>*/
/* <!-- END topicrow -->*/
/* */
/* <tr>*/
/* 	<th colspan="3">{L_YOUR_DETAILS}</th>*/
/* </tr>*/
/* <tr>*/
/* <!-- EVENT ucp_main_front_user_activity_before -->*/
/* 	<td class="row1" colspan="3">*/
/* 		<table width="100%" cellspacing="1" cellpadding="4">*/
/* 		<tr> */
/* 			<td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="genmed">{L_JOINED}{L_COLON} </b></td>*/
/* 			<td width="100%"><b class="gen">{JOINED}</b></td>*/
/* 		</tr>*/
/* 		<tr> */
/* 			<td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="genmed">{L_TOTAL_POSTS}{L_COLON} </b></td>*/
/* 			<td><!-- IF POSTS_PCT --><b class="gen">{POSTS}</b><br /><span class="genmed">[{POSTS_PCT} / {POSTS_DAY}]<!-- IF S_DISPLAY_SEARCH --><br /><a href="{U_SEARCH_SELF}">{L_SEARCH_YOUR_POSTS}</a><!-- ENDIF --></span><!-- ELSE --><b class="gen">{POSTS}<b><!-- ENDIF --></td>*/
/* 		</tr>*/
/* 		<!-- IF S_SHOW_ACTIVITY -->*/
/* 			<tr>*/
/* 				<td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="genmed">{L_ACTIVE_IN_FORUM}{L_COLON} </b></td>*/
/* 				<td><!-- IF ACTIVE_FORUM != '' --><b><a class="gen" href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>*/
/* 			</tr>*/
/* 			<tr>*/
/* 				<td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="genmed">{L_ACTIVE_IN_TOPIC}{L_COLON} </b></td>*/
/* 				<td><!-- IF ACTIVE_TOPIC != '' --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>*/
/* 			</tr>*/
/* 		<!-- ENDIF -->*/
/* 		<!-- IF WARNINGS -->*/
/* 			<tr>*/
/* 				<td align="{S_CONTENT_FLOW_END}" valign="middle" nowrap="nowrap"><b class="genmed">{L_YOUR_WARNINGS}{L_COLON} </b></td>*/
/* 				<td class="genmed">{WARNING_IMG} [ <b>{WARNINGS}</b> ]</td>*/
/* 			</tr>*/
/* 		<!-- ENDIF -->*/
/* 		</table>*/
/* 	</td>*/
/* <!-- EVENT ucp_main_front_user_activity_after -->*/
/* </tr>*/
/* <tr>*/
/* 	<td class="cat" colspan="3">&nbsp;</td>*/
/* </tr>*/
/* </table>*/
/* */
/* <!-- INCLUDE ucp_footer.html -->*/
/* */
