Файл: forsoc.ru/cache/twig/b9/b9961378721182263793bb7455f2f5e4470385118f6db92be3299abc0e757ecc.php
Строк: 450
<?php
/* forumlist_body.html */
class __TwigTemplate_816b82c5c6a5de53750d4cc014cca37acf6e2232041d0d7c1a14a99c676a4faf 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 "
";
// line 2
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "forumrow", array()));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["forumrow"]) {
// line 3
echo "t";
if ((($this->getAttribute($context["forumrow"], "S_IS_CAT", array()) && !$this->getAttribute($context["forumrow"], "S_FIRST_ROW", array())) || $this->getAttribute($context["forumrow"], "S_NO_CAT", array()))) {
// line 4
echo "ttt</ul>
ttt</div>
tt</div>
t";
}
// line 9
echo "
t";
// line 10
// line 11
echo "t";
if ((($this->getAttribute($context["forumrow"], "S_IS_CAT", array()) || $this->getAttribute($context["forumrow"], "S_FIRST_ROW", array())) || $this->getAttribute($context["forumrow"], "S_NO_CAT", array()))) {
// line 12
echo "tt<div class="forabg">
ttt<div class="inner">
ttt<ul class="topiclist">
tttt<li class="header">
ttttt";
// line 16
// line 17
echo "ttttt<dl class="icon">
tttttt<dt><div class="list-inner">";
// line 18
if ($this->getAttribute($context["forumrow"], "S_IS_CAT", array())) {
echo "<a href="";
echo $this->getAttribute($context["forumrow"], "U_VIEWFORUM", array());
echo "">";
echo $this->getAttribute($context["forumrow"], "FORUM_NAME", array());
echo "</a>";
} else {
echo $this->env->getExtension('phpbb')->lang("FORUM");
}
echo "</div></dt>
tttttt<dd class="topics">";
// line 19
echo $this->env->getExtension('phpbb')->lang("TOPICS");
echo "</dd>
tttttt<dd class="posts">";
// line 20
echo $this->env->getExtension('phpbb')->lang("POSTS");
echo "</dd>
tttttt<dd class="lastpost"><span>";
// line 21
echo $this->env->getExtension('phpbb')->lang("LAST_POST");
echo "</span></dd>
ttttt</dl>
ttttt";
// line 23
// line 24
echo "tttt</li>
ttt</ul>
ttt<ul class="topiclist forums">
t";
}
// line 28
echo "t";
// line 29
echo "
t";
// line 30
if ( !$this->getAttribute($context["forumrow"], "S_IS_CAT", array())) {
// line 31
echo "tt";
$previous_look_up_order = $this->env->getNamespaceLookUpOrder();
$this->env->setNamespaceLookUpOrder(array('alg_ForumSponsor', '__main__'));
$this->env->loadTemplate('@alg_ForumSponsor/event/forumlist_body_forum_row_before.html')->display($context);
$this->env->setNamespaceLookUpOrder($previous_look_up_order);
// line 32
echo "tt<li class="row">
ttt";
// line 33
// line 34
echo "ttt<dl class="icon ";
echo $this->getAttribute($context["forumrow"], "FORUM_IMG_STYLE", array());
echo "">
tttt<dt title="";
// line 35
echo $this->getAttribute($context["forumrow"], "FORUM_FOLDER_IMG_ALT", array());
echo "">
ttttt";
// line 36
if ($this->getAttribute($context["forumrow"], "S_UNREAD_FORUM", array())) {
echo "<a href="";
echo $this->getAttribute($context["forumrow"], "U_VIEWFORUM", array());
echo "" class="icon-link"></a>";
}
// line 37
echo "ttttt<div class="list-inner">
tttttt";
// line 38
if (((isset($context["S_ENABLE_FEEDS"]) ? $context["S_ENABLE_FEEDS"] : null) && $this->getAttribute($context["forumrow"], "S_FEED_ENABLED", array()))) {
echo "<!-- <a class="feed-icon-forum" title="";
echo $this->env->getExtension('phpbb')->lang("FEED");
echo " - ";
echo $this->getAttribute($context["forumrow"], "FORUM_NAME", array());
echo "" href="";
echo (isset($context["U_FEED"]) ? $context["U_FEED"] : null);
echo "?f=";
echo $this->getAttribute($context["forumrow"], "FORUM_ID", array());
echo ""><img src="";
echo (isset($context["T_THEME_PATH"]) ? $context["T_THEME_PATH"] : null);
echo "/images/feed.gif" alt="";
echo $this->env->getExtension('phpbb')->lang("FEED");
echo " - ";
echo $this->getAttribute($context["forumrow"], "FORUM_NAME", array());
echo "" /></a> -->";
}
// line 39
echo "
tttttt";
// line 40
if ($this->getAttribute($context["forumrow"], "FORUM_IMAGE", array())) {
echo "<span class="forum-image">";
echo $this->getAttribute($context["forumrow"], "FORUM_IMAGE", array());
echo "</span>";
}
// line 41
echo "tttttt<a href="";
echo $this->getAttribute($context["forumrow"], "U_VIEWFORUM", array());
echo "" class="forumtitle">";
echo $this->getAttribute($context["forumrow"], "FORUM_NAME", array());
echo "</a>
tttttt";
// line 42
if ($this->getAttribute($context["forumrow"], "FORUM_DESC", array())) {
echo "<br />";
echo $this->getAttribute($context["forumrow"], "FORUM_DESC", array());
}
// line 43
echo "tttttt";
if ($this->getAttribute($context["forumrow"], "MODERATORS", array())) {
// line 44
echo "ttttttt<br /><strong>";
echo $this->getAttribute($context["forumrow"], "L_MODERATOR_STR", array());
echo $this->env->getExtension('phpbb')->lang("COLON");
echo "</strong> ";
echo $this->getAttribute($context["forumrow"], "MODERATORS", array());
echo "
tttttt";
}
// line 46
echo "tttttt";
if ((twig_length_filter($this->env, $this->getAttribute($context["forumrow"], "subforum", array())) && $this->getAttribute($context["forumrow"], "S_LIST_SUBFORUMS", array()))) {
// line 47
echo "ttttttt";
// line 48
echo "ttttttt<br /><strong>";
echo $this->getAttribute($context["forumrow"], "L_SUBFORUM_STR", array());
echo $this->env->getExtension('phpbb')->lang("COLON");
echo "</strong>
ttttttt";
// line 49
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute($context["forumrow"], "subforum", array()));
foreach ($context['_seq'] as $context["_key"] => $context["subforum"]) {
// line 50
echo "tttttttt<a href="";
echo $this->getAttribute($context["subforum"], "U_SUBFORUM", array());
echo "" class="subforum";
if ($this->getAttribute($context["subforum"], "S_UNREAD", array())) {
echo " unread";
} else {
echo " read";
}
echo "" title="";
if ($this->getAttribute($context["subforum"], "S_UNREAD", array())) {
echo $this->env->getExtension('phpbb')->lang("UNREAD_POSTS");
} else {
echo $this->env->getExtension('phpbb')->lang("NO_UNREAD_POSTS");
}
echo "">";
echo $this->getAttribute($context["subforum"], "SUBFORUM_NAME", array());
echo "</a>";
if ( !$this->getAttribute($context["subforum"], "S_LAST_ROW", array())) {
echo $this->env->getExtension('phpbb')->lang("COMMA_SEPARATOR");
}
// line 51
echo "ttttttt";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subforum'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 52
echo "ttttttt";
// line 53
echo "tttttt";
}
// line 54
echo "
tttttt";
// line 55
if ( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null)) {
// line 56
echo "tttttt<div class="responsive-show" style="display: none;">
ttttttt";
// line 57
if ($this->getAttribute($context["forumrow"], "CLICKS", array())) {
// line 58
echo "tttttttt";
echo $this->env->getExtension('phpbb')->lang("REDIRECTS");
echo $this->env->getExtension('phpbb')->lang("COLON");
echo " <strong>";
echo $this->getAttribute($context["forumrow"], "CLICKS", array());
echo "</strong>
ttttttt";
} elseif (( !$this->getAttribute( // line 59
$context["forumrow"], "S_IS_LINK", array()) && $this->getAttribute($context["forumrow"], "TOPICS", array()))) {
// line 60
echo "tttttttt";
echo $this->env->getExtension('phpbb')->lang("TOPICS");
echo $this->env->getExtension('phpbb')->lang("COLON");
echo " <strong>";
echo $this->getAttribute($context["forumrow"], "TOPICS", array());
echo "</strong>
ttttttt";
}
// line 62
echo "tttttt</div>
tttttt";
}
// line 64
echo "ttttt</div>
tttt</dt>
tttt";
// line 66
if ($this->getAttribute($context["forumrow"], "CLICKS", array())) {
// line 67
echo "ttttt<dd class="redirect"><span>";
echo $this->env->getExtension('phpbb')->lang("REDIRECTS");
echo $this->env->getExtension('phpbb')->lang("COLON");
echo " ";
echo $this->getAttribute($context["forumrow"], "CLICKS", array());
echo "</span></dd>
tttt";
} elseif ( !$this->getAttribute( // line 68
$context["forumrow"], "S_IS_LINK", array())) {
// line 69
echo "ttttt<dd class="topics">";
echo $this->getAttribute($context["forumrow"], "TOPICS", array());
echo " <dfn>";
echo $this->env->getExtension('phpbb')->lang("TOPICS");
echo "</dfn></dd>
ttttt<dd class="posts">";
// line 70
echo $this->getAttribute($context["forumrow"], "POSTS", array());
echo " <dfn>";
echo $this->env->getExtension('phpbb')->lang("POSTS");
echo "</dfn></dd>
ttttt<dd class="lastpost"><span>
tttttt";
// line 72
if ($this->getAttribute($context["forumrow"], "U_UNAPPROVED_TOPICS", array())) {
// line 73
echo "ttttttt<a href="";
echo $this->getAttribute($context["forumrow"], "U_UNAPPROVED_TOPICS", array());
echo "">";
echo (isset($context["UNAPPROVED_IMG"]) ? $context["UNAPPROVED_IMG"] : null);
echo "</a>
tttttt";
} elseif ($this->getAttribute( // line 74
$context["forumrow"], "U_UNAPPROVED_POSTS", array())) {
// line 75
echo "ttttttt<a href="";
echo $this->getAttribute($context["forumrow"], "U_UNAPPROVED_POSTS", array());
echo "">";
echo (isset($context["UNAPPROVED_POST_IMG"]) ? $context["UNAPPROVED_POST_IMG"] : null);
echo "</a>
tttttt";
}
// line 77
echo "tttttt";
if ($this->getAttribute($context["forumrow"], "LAST_POST_TIME", array())) {
echo "<dfn>";
echo $this->env->getExtension('phpbb')->lang("LAST_POST");
echo "</dfn>
tttttt";
// line 78
if ($this->getAttribute($context["forumrow"], "S_DISPLAY_SUBJECT", array())) {
// line 79
echo "ttttttt";
// line 80
echo "ttttttt<a href="";
echo $this->getAttribute($context["forumrow"], "U_LAST_POST", array());
echo "" title="";
echo $this->getAttribute($context["forumrow"], "LAST_POST_SUBJECT", array());
echo "" class="lastsubject">";
echo $this->getAttribute($context["forumrow"], "LAST_POST_SUBJECT_TRUNCATED", array());
echo "</a> <br />
tttttt";
}
// line 81
echo "
tttttt";
// line 82
echo $this->env->getExtension('phpbb')->lang("POST_BY_AUTHOR");
echo " ";
echo $this->getAttribute($context["forumrow"], "LAST_POSTER_FULL", array());
echo "
tttttt";
// line 83
if ( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null)) {
echo "<a href="";
echo $this->getAttribute($context["forumrow"], "U_LAST_POST", array());
echo "">";
echo (isset($context["LAST_POST_IMG"]) ? $context["LAST_POST_IMG"] : null);
echo "</a> ";
}
echo "<br />";
echo $this->getAttribute($context["forumrow"], "LAST_POST_TIME", array());
} else {
echo $this->env->getExtension('phpbb')->lang("NO_POSTS");
echo "<br /> ";
}
echo "</span>
ttttt</dd>
tttt";
} else {
// line 86
echo "ttttt<dd> </dd>
tttt";
}
// line 88
echo "ttt</dl>
ttt";
// line 89
// line 90
echo "tt</li>
tt";
// line 91
// line 92
echo "t";
}
// line 93
echo "
t";
// line 94
if ($this->getAttribute($context["forumrow"], "S_LAST_ROW", array())) {
// line 95
echo "ttt</ul>
ttt</div>
tt</div>
t";
// line 99
// line 100
echo "t";
}
// line 101
echo "
";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 103
echo "t<div class="panel">
tt<div class="inner">
tt<strong>";
// line 105
echo $this->env->getExtension('phpbb')->lang("NO_FORUMS");
echo "</strong>
tt</div>
t</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['forumrow'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "forumlist_body.html";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 389 => 105, 385 => 103, 379 => 101, 376 => 100, 375 => 99, 369 => 95, 367 => 94, 364 => 93, 361 => 92, 360 => 91, 357 => 90, 356 => 89, 353 => 88, 349 => 86, 331 => 83, 325 => 82, 322 => 81, 312 => 80, 310 => 79, 308 => 78, 301 => 77, 293 => 75, 291 => 74, 284 => 73, 282 => 72, 275 => 70, 268 => 69, 266 => 68, 258 => 67, 256 => 66, 252 => 64, 248 => 62, 239 => 60, 237 => 59, 229 => 58, 227 => 57, 224 => 56, 222 => 55, 219 => 54, 216 => 53, 214 => 52, 208 => 51, 187 => 50, 183 => 49, 177 => 48, 175 => 47, 172 => 46, 163 => 44, 160 => 43, 155 => 42, 148 => 41, 142 => 40, 139 => 39, 121 => 38, 118 => 37, 112 => 36, 108 => 35, 103 => 34, 102 => 33, 99 => 32, 93 => 31, 91 => 30, 88 => 29, 86 => 28, 80 => 24, 79 => 23, 74 => 21, 70 => 20, 66 => 19, 54 => 18, 51 => 17, 50 => 16, 44 => 12, 41 => 11, 40 => 10, 37 => 9, 30 => 4, 27 => 3, 22 => 2, 19 => 1,);
}
}
/* */
/* <!-- BEGIN forumrow -->*/
/* <!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT -->*/
/* </ul>*/
/* */
/* </div>*/
/* </div>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- EVENT forumlist_body_category_header_before -->*/
/* <!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT -->*/
/* <div class="forabg">*/
/* <div class="inner">*/
/* <ul class="topiclist">*/
/* <li class="header">*/
/* <!-- EVENT forumlist_body_category_header_row_prepend -->*/
/* <dl class="icon">*/
/* <dt><div class="list-inner"><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></div></dt>*/
/* <dd class="topics">{L_TOPICS}</dd>*/
/* <dd class="posts">{L_POSTS}</dd>*/
/* <dd class="lastpost"><span>{L_LAST_POST}</span></dd>*/
/* </dl>*/
/* <!-- EVENT forumlist_body_category_header_row_append -->*/
/* </li>*/
/* </ul>*/
/* <ul class="topiclist forums">*/
/* <!-- ENDIF -->*/
/* <!-- EVENT forumlist_body_category_header_after -->*/
/* */
/* <!-- IF not forumrow.S_IS_CAT -->*/
/* <!-- EVENT forumlist_body_forum_row_before -->*/
/* <li class="row">*/
/* <!-- EVENT forumlist_body_forum_row_prepend -->*/
/* <dl class="icon {forumrow.FORUM_IMG_STYLE}">*/
/* <dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">*/
/* <!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="icon-link"></a><!-- ENDIF -->*/
/* <div class="list-inner">*/
/* <!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF -->*/
/* */
/* <!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF -->*/
/* <a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a>*/
/* <!-- IF forumrow.FORUM_DESC --><br />{forumrow.FORUM_DESC}<!-- ENDIF -->*/
/* <!-- IF forumrow.MODERATORS -->*/
/* <br /><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS}*/
/* <!-- ENDIF -->*/
/* <!-- IF .forumrow.subforum and forumrow.S_LIST_SUBFORUMS -->*/
/* <!-- EVENT forumlist_body_subforums_before -->*/
/* <br /><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong>*/
/* <!-- BEGIN subforum -->*/
/* <a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.S_UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<!-- ENDIF -->*/
/* <!-- END subforum -->*/
/* <!-- EVENT forumlist_body_subforums_after -->*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF not S_IS_BOT -->*/
/* <div class="responsive-show" style="display: none;">*/
/* <!-- IF forumrow.CLICKS -->*/
/* {L_REDIRECTS}{L_COLON} <strong>{forumrow.CLICKS}</strong>*/
/* <!-- ELSEIF not forumrow.S_IS_LINK and forumrow.TOPICS -->*/
/* {L_TOPICS}{L_COLON} <strong>{forumrow.TOPICS}</strong>*/
/* <!-- ENDIF -->*/
/* </div>*/
/* <!-- ENDIF -->*/
/* </div>*/
/* </dt>*/
/* <!-- IF forumrow.CLICKS -->*/
/* <dd class="redirect"><span>{L_REDIRECTS}{L_COLON} {forumrow.CLICKS}</span></dd>*/
/* <!-- ELSEIF not forumrow.S_IS_LINK -->*/
/* <dd class="topics">{forumrow.TOPICS} <dfn>{L_TOPICS}</dfn></dd>*/
/* <dd class="posts">{forumrow.POSTS} <dfn>{L_POSTS}</dfn></dd>*/
/* <dd class="lastpost"><span>*/
/* <!-- IF forumrow.U_UNAPPROVED_TOPICS -->*/
/* <a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a>*/
/* <!-- ELSEIF forumrow.U_UNAPPROVED_POSTS -->*/
/* <a href="{forumrow.U_UNAPPROVED_POSTS}">{UNAPPROVED_POST_IMG}</a>*/
/* <!-- ENDIF -->*/
/* <!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn>*/
/* <!-- IF forumrow.S_DISPLAY_SUBJECT -->*/
/* <!-- EVENT forumlist_body_last_post_title_prepend -->*/
/* <a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}" class="lastsubject">{forumrow.LAST_POST_SUBJECT_TRUNCATED}</a> <br />*/
/* <!-- ENDIF --> */
/* {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}*/
/* <!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<br /> <!-- ENDIF --></span>*/
/* </dd>*/
/* <!-- ELSE -->*/
/* <dd> </dd>*/
/* <!-- ENDIF -->*/
/* </dl>*/
/* <!-- EVENT forumlist_body_forum_row_append -->*/
/* </li>*/
/* <!-- EVENT forumlist_body_forum_row_after -->*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF forumrow.S_LAST_ROW -->*/
/* </ul>*/
/* */
/* </div>*/
/* </div>*/
/* <!-- EVENT forumlist_body_last_row_after -->*/
/* <!-- ENDIF -->*/
/* */
/* <!-- BEGINELSE -->*/
/* <div class="panel">*/
/* <div class="inner">*/
/* <strong>{L_NO_FORUMS}</strong>*/
/* </div>*/
/* </div>*/
/* <!-- END forumrow -->*/
/* */