Вход Регистрация
Файл: forsoc.ru/cache/twig/6a/6ab3777c447b28585e2cfdbd9cc069e19bfe303b8db7f6b9fd0d36d97bff553a.php
Строк: 318
<?php

/* @vse_similartopics/event/viewtopic_body_footer_before.html */
class __TwigTemplate_c153c4127b066771e1d151352ab4955782387af17dc381d1b71d7375803f4e42 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
        
if (twig_length_filter($this->env$this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "similar", array()))) {
            
// line 2
            
echo "<div class="forumbg">

t<div class="
inner">
tt<ul class="
topiclist">
ttt<li class="
header">
tttt<dl class="
icon">
ttttt<dt><div class="
list-inner">";
            
// line 8
            
echo $this->env->getExtension('phpbb')->lang("SIMILAR_TOPICS");
            echo 
"</div></dt>
ttttt<dd class="
posts">";
            
// line 9
            
echo $this->env->getExtension('phpbb')->lang("REPLIES");
            echo 
"</dd>
ttttt<dd class="
views">";
            
// line 10
            
echo $this->env->getExtension('phpbb')->lang("VIEWS");
            echo 
"</dd>
ttttt<dd class="
lastpost"><span>";
            
// line 11
            
echo $this->env->getExtension('phpbb')->lang("LAST_POST");
            echo 
"</span></dd>
tttt</dl>
ttt</li>
tt</ul>
tt<ul class="
topiclist topics">

tt"
;
            
// line 17
            
$context['_parent'] = $context;
            
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "similar", array()));
            foreach (
$context['_seq'] as $context["_key"] => $context["similar"]) {
                
// line 18
                
echo "ttt";
                
// line 19
                
echo "ttt<li class="row";
                if ((
$this->getAttribute($context["similar"], "S_ROW_COUNT", array()) % 2 == 0)) {
                    echo " 
bg1";
                } else {
                    echo " 
bg2";
                }
                echo "">
tttt<dl class="
icon ";
                // line 20
                echo 
$this->getAttribute($context["similar"], "TOPIC_IMG_STYLE", array());
                echo "">
ttttt<dt "
;
                
// line 21
                
if ($this->getAttribute($context["similar"], "TOPIC_ICON_IMG", array())) {
                    echo 
"style="background-imageurl(";
                    echo (isset(
$context["T_ICONS_PATH"]) ? $context["T_ICONS_PATH"] : null);
                    echo 
$this->getAttribute($context["similar"], "TOPIC_ICON_IMG", array());
                    echo "
); background-repeatno-repeat;"";
                }
                echo 
" title="";
                echo 
$this->getAttribute($context["similar"], "TOPIC_FOLDER_IMG_ALT", array());
                echo "">
tttttt"
;
                
// line 22
                
if (($this->getAttribute($context["similar"], "S_UNREAD_TOPIC", array()) &&  !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null))) {
                    echo 
"<a href="";
                    echo 
$this->getAttribute($context["similar"], "U_NEWEST_POST", array());
                    echo "" class="
icon-link"></a>";
                }
                
// line 23
                
echo "tttttt<div class="list-inner">

ttttttt"
;
                
// line 25
                // line 26
                
echo "ttttttt";
                if ((
$this->getAttribute($context["similar"], "S_UNREAD_TOPIC", array()) &&  !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null))) {
                    echo 
"<a href="";
                    echo 
$this->getAttribute($context["similar"], "U_NEWEST_POST", array());
                    echo "">"
;
                    echo (isset(
$context["NEWEST_POST_IMG"]) ? $context["NEWEST_POST_IMG"] : null);
                    echo 
"</a> ";
                }
                
// line 27
                
echo "ttttttt<a href="";
                echo 
$this->getAttribute($context["similar"], "U_VIEW_TOPIC", array());
                echo "" class="
topictitle">";
                echo 
$this->getAttribute($context["similar"], "TOPIC_TITLE", array());
                echo 
"</a> ";
                echo 
$this->getAttribute($context["similar"], "ATTACH_ICON_IMG", array());
                echo 
"
ttttttt"
;
                
// line 28
                
if (($this->getAttribute($context["similar"], "S_TOPIC_UNAPPROVED", array()) || $this->getAttribute($context["similar"], "S_POSTS_UNAPPROVED", array()))) {
                    echo 
"<a href="";
                    echo 
$this->getAttribute($context["similar"], "U_MCP_QUEUE", array());
                    echo "">"
;
                    echo 
$this->getAttribute($context["similar"], "UNAPPROVED_IMG", array());
                    echo 
"</a> ";
                }
                
// line 29
                
echo "ttttttt";
                if (
$this->getAttribute($context["similar"], "S_TOPIC_REPORTED", array())) {
                    echo 
"<a href="";
                    echo 
$this->getAttribute($context["similar"], "U_MCP_REPORT", array());
                    echo "">"
;
                    echo (isset(
$context["REPORTED_IMG"]) ? $context["REPORTED_IMG"] : null);
                    echo 
"</a>";
                }
                echo 
"<br />
ttttttt"
;
                
// line 30
                
if (twig_length_filter($this->env$this->getAttribute($context["similar"], "pagination", array()))) {
                    
// line 31
                    
echo "ttttttt<div class="pagination">
tttttttt<ul>
tttttttt"
;
                    
// line 33
                    
$context['_parent'] = $context;
                    
$context['_seq'] = twig_ensure_traversable($this->getAttribute($context["similar"], "pagination", array()));
                    foreach (
$context['_seq'] as $context["_key"] => $context["pagination"]) {
                        
// line 34
                        
echo "ttttttttt";
                        if (
$this->getAttribute($context["pagination"], "S_IS_PREV", array())) {
                            
// line 35
                            
echo "ttttttttt";
                        } elseif (
$this->getAttribute($context["pagination"], "S_IS_CURRENT", array())) {
                            echo 
"<li class="active"><span>";
                            echo 
$this->getAttribute($context["pagination"], "PAGE_NUMBER", array());
                            echo 
"</span></li>
ttttttttt"
;
                        } elseif (
$this->getAttribute(                        // line 36
$context["pagination"], "S_IS_ELLIPSIS", array())) {
                            echo 
"<li class="ellipsis"><span>";
                            echo 
$this->env->getExtension('phpbb')->lang("ELLIPSIS");
                            echo 
"</span></li>
ttttttttt"
;
                        } elseif (
$this->getAttribute(                        // line 37
$context["pagination"], "S_IS_NEXT", array())) {
                            
// line 38
                            
echo "ttttttttt";
                        } else {
                            echo 
"<li><a href="";
                            echo 
$this->getAttribute($context["pagination"], "PAGE_URL", array());
                            echo "">"
;
                            echo 
$this->getAttribute($context["pagination"], "PAGE_NUMBER", array());
                            echo 
"</a></li>
ttttttttt"
;
                        }
                        
// line 40
                        
echo "tttttttt";
                    }
                    
$_parent $context['_parent'];
                    unset(
$context['_seq'], $context['_iterated'], $context['_key'], $context['pagination'], $context['_parent'], $context['loop']);
                    
$context array_intersect_key($context$_parent) + $_parent;
                    
// line 41
                    
echo "tttttttt</ul>
ttttttt</div>
ttttttt"
;
                }
                
// line 44
                
echo "ttttttt";
                if (
$this->getAttribute($context["similar"], "S_HAS_POLL", array())) {
                    echo (isset(
$context["POLL_IMG"]) ? $context["POLL_IMG"] : null);
                    echo 
" ";
                }
                
// line 45
                
echo "ttttttt";
                echo 
$this->env->getExtension('phpbb')->lang("POST_BY_AUTHOR");
                echo 
" ";
                echo 
$this->getAttribute($context["similar"], "TOPIC_AUTHOR_FULL", array());
                echo 
" &raquo; ";
                echo 
$this->getAttribute($context["similar"], "FIRST_POST_TIME", array());
                echo 
" &raquo; ";
                echo 
$this->env->getExtension('phpbb')->lang("IN");
                echo 
" <a href="";
                echo 
$this->getAttribute($context["similar"], "U_VIEW_FORUM", array());
                echo "">"
;
                echo 
$this->getAttribute($context["similar"], "FORUM_TITLE", array());
                echo 
"</a>
ttttttt"
;
                
// line 46
                // line 47
                
echo "
tttttt</div>
ttttt</dt>
ttttt<dd class="
posts">";
                
// line 50
                
echo $this->getAttribute($context["similar"], "TOPIC_REPLIES", array());
                echo 
"</dd>
ttttt<dd class="
views">";
                
// line 51
                
echo $this->getAttribute($context["similar"], "TOPIC_VIEWS", array());
                echo 
"</dd>
ttttt<dd class="
lastpost"><span>
tttttt"
;
                
// line 53
                
echo $this->env->getExtension('phpbb')->lang("POST_BY_AUTHOR");
                echo 
" ";
                echo 
$this->getAttribute($context["similar"], "LAST_POST_AUTHOR_FULL", array());
                echo 
"
tttttt"
;
                
// line 54
                
if ( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null)) {
                    echo 
"<a href="";
                    echo 
$this->getAttribute($context["similar"], "U_LAST_POST", array());
                    echo "" title="";
                    echo 
$this->env->getExtension('phpbb')->lang("GOTO_LAST_POST");
                    echo "">"
;
                    echo (isset(
$context["LAST_POST_IMG"]) ? $context["LAST_POST_IMG"] : null);
                    echo 
"</a> ";
                }
                echo 
"<br />";
                echo 
$this->getAttribute($context["similar"], "LAST_POST_TIME", array());
                echo 
"<br /> </span>
ttttt</dd>
tttt</dl>
ttt</li>
ttt"
;
                
// line 58
                // line 59
                
echo "tt";
            }
            
$_parent $context['_parent'];
            unset(
$context['_seq'], $context['_iterated'], $context['_key'], $context['similar'], $context['_parent'], $context['loop']);
            
$context array_intersect_key($context$_parent) + $_parent;
            
// line 60
            
echo "tt</ul>

t</div>
</div>
"
;
        }
    }

    public function 
getTemplateName()
    {
        return 
"@vse_similartopics/event/viewtopic_body_footer_before.html";
    }

    public function 
isTraitable()
    {
        return 
false;
    }

    public function 
getDebugInfo()
    {
        return array (  
243 => 60,  237 => 59,  236 => 58,  219 => 54,  213 => 53,  208 => 51,  204 => 50,  199 => 47,  198 => 46,  183 => 45,  177 => 44,  172 => 41,  166 => 40,  156 => 38,  154 => 37,  148 => 36,  141 => 35,  138 => 34,  134 => 33,  130 => 31,  128 => 30,  117 => 29,  109 => 28,  100 => 27,  91 => 26,  90 => 25,  86 => 23,  80 => 22,  69 => 21,  65 => 20,  56 => 19,  54 => 18,  50 => 17,  41 => 11,  37 => 10,  33 => 9,  29 => 8,  21 => 2,  19 => 1,);
    }
}
/* <!-- IF .similar -->*/
/* <div class="forumbg">*/
/* */
/*     <div class="inner">*/
/*         <ul class="topiclist">*/
/*             <li class="header">*/
/*                 <dl class="icon">*/
/*                     <dt><div class="list-inner">{L_SIMILAR_TOPICS}</div></dt>*/
/*                     <dd class="posts">{L_REPLIES}</dd>*/
/*                     <dd class="views">{L_VIEWS}</dd>*/
/*                     <dd class="lastpost"><span>{L_LAST_POST}</span></dd>*/
/*                 </dl>*/
/*             </li>*/
/*         </ul>*/
/*         <ul class="topiclist topics">*/
/* */
/*         <!-- BEGIN similar -->*/
/*             <!-- EVENT search_results_topic_before -->*/
/*             <li class="row<!-- IF similar.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">*/
/*                 <dl class="icon {similar.TOPIC_IMG_STYLE}">*/
/*                     <dt <!-- IF similar.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{similar.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{similar.TOPIC_FOLDER_IMG_ALT}">*/
/*                         <!-- IF similar.S_UNREAD_TOPIC and not S_IS_BOT --><a href="{similar.U_NEWEST_POST}" class="icon-link"></a><!-- ENDIF -->*/
/*                         <div class="list-inner">*/
/* */
/*                             <!-- EVENT topiclist_row_prepend -->*/
/*                             <!-- IF similar.S_UNREAD_TOPIC and not S_IS_BOT --><a href="{similar.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->*/
/*                             <a href="{similar.U_VIEW_TOPIC}" class="topictitle">{similar.TOPIC_TITLE}</a> {similar.ATTACH_ICON_IMG}*/
/*                             <!-- IF similar.S_TOPIC_UNAPPROVED or similar.S_POSTS_UNAPPROVED --><a href="{similar.U_MCP_QUEUE}">{similar.UNAPPROVED_IMG}</a> <!-- ENDIF -->*/
/*                             <!-- IF similar.S_TOPIC_REPORTED --><a href="{similar.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />*/
/*                             <!-- IF .similar.pagination -->*/
/*                             <div class="pagination">*/
/*                                 <ul>*/
/*                                 <!-- BEGIN pagination -->*/
/*                                     <!-- IF similar.pagination.S_IS_PREV -->*/
/*                                     <!-- ELSEIF similar.pagination.S_IS_CURRENT --><li class="active"><span>{similar.pagination.PAGE_NUMBER}</span></li>*/
/*                                     <!-- ELSEIF similar.pagination.S_IS_ELLIPSIS --><li class="ellipsis"><span>{L_ELLIPSIS}</span></li>*/
/*                                     <!-- ELSEIF similar.pagination.S_IS_NEXT -->*/
/*                                     <!-- ELSE --><li><a href="{similar.pagination.PAGE_URL}">{similar.pagination.PAGE_NUMBER}</a></li>*/
/*                                     <!-- ENDIF -->*/
/*                                 <!-- END pagination -->*/
/*                                 </ul>*/
/*                             </div>*/
/*                             <!-- ENDIF -->*/
/*                             <!-- IF similar.S_HAS_POLL -->{POLL_IMG} <!-- ENDIF -->*/
/*                             {L_POST_BY_AUTHOR} {similar.TOPIC_AUTHOR_FULL} &raquo; {similar.FIRST_POST_TIME} &raquo; {L_IN} <a href="{similar.U_VIEW_FORUM}">{similar.FORUM_TITLE}</a>*/
/*                             <!-- EVENT topiclist_row_append -->*/
/* */
/*                         </div>*/
/*                     </dt>*/
/*                     <dd class="posts">{similar.TOPIC_REPLIES}</dd>*/
/*                     <dd class="views">{similar.TOPIC_VIEWS}</dd>*/
/*                     <dd class="lastpost"><span>*/
/*                         {L_POST_BY_AUTHOR} {similar.LAST_POST_AUTHOR_FULL}*/
/*                         <!-- IF not S_IS_BOT --><a href="{similar.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{similar.LAST_POST_TIME}<br /> </span>*/
/*                     </dd>*/
/*                 </dl>*/
/*             </li>*/
/*             <!-- EVENT search_results_topic_after -->*/
/*         <!-- END similar -->*/
/*         </ul>*/
/* */
/*     </div>*/
/* </div>*/
/* <!-- ENDIF -->*/
/* */
Онлайн: 5
Реклама