<?php

/* pagination.html */
class __TwigTemplate_00f57fce8544dfcb8ca8bb8d2c90a3a98dc45257b2b0d37e7036ba2a27b672a9 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 (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
        if (twig_length_filter($this->env, $this->getAttribute($_loops_, "pagination", array()))) {
            // line 2
            echo "\t";
            if (isset($context["BASE_URL"])) { $_BASE_URL_ = $context["BASE_URL"]; } else { $_BASE_URL_ = null; }
            if ($_BASE_URL_) {
                echo "<b><a href=\"#\" onclick=\"jumpto(); return false;\" title=\"";
                echo $this->env->getExtension('phpbb')->lang("JUMP_TO_PAGE_CLICK");
                echo "\">";
                echo $this->env->getExtension('phpbb')->lang("GOTO_PAGE");
                echo "</a></b>";
            }
            // line 3
            echo "\t";
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "pagination", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["pagination"]) {
                // line 4
                echo "\t\t";
                if (isset($context["pagination"])) { $_pagination_ = $context["pagination"]; } else { $_pagination_ = null; }
                if ($this->getAttribute($_pagination_, "S_IS_PREV", array())) {
                    echo "<a href=\"";
                    if (isset($context["pagination"])) { $_pagination_ = $context["pagination"]; } else { $_pagination_ = null; }
                    echo $this->getAttribute($_pagination_, "PAGE_URL", array());
                    echo "\">";
                    echo $this->env->getExtension('phpbb')->lang("PREVIOUS");
                    echo "</a>
\t\t";
                } elseif ($this->getAttribute($_pagination_, "S_IS_CURRENT", array())) {
                    // line 5
                    echo "<strong>";
                    if (isset($context["pagination"])) { $_pagination_ = $context["pagination"]; } else { $_pagination_ = null; }
                    echo $this->getAttribute($_pagination_, "PAGE_NUMBER", array());
                    echo "</strong>
\t\t";
                } elseif ($this->getAttribute($_pagination_, "S_IS_ELLIPSIS", array())) {
                    // line 6
                    echo " ";
                    echo $this->env->getExtension('phpbb')->lang("ELLIPSIS");
                    echo " 
\t\t";
                } elseif ($this->getAttribute($_pagination_, "S_IS_NEXT", array())) {
                    // line 7
                    echo "<a href=\"";
                    if (isset($context["pagination"])) { $_pagination_ = $context["pagination"]; } else { $_pagination_ = null; }
                    echo $this->getAttribute($_pagination_, "PAGE_URL", array());
                    echo "\">";
                    echo $this->env->getExtension('phpbb')->lang("NEXT");
                    echo "</a>
\t\t";
                } else {
                    // line 8
                    echo "<a href=\"";
                    if (isset($context["pagination"])) { $_pagination_ = $context["pagination"]; } else { $_pagination_ = null; }
                    echo $this->getAttribute($_pagination_, "PAGE_URL", array());
                    echo "\">";
                    if (isset($context["pagination"])) { $_pagination_ = $context["pagination"]; } else { $_pagination_ = null; }
                    echo $this->getAttribute($_pagination_, "PAGE_NUMBER", array());
                    echo "</a>
\t\t";
                }
                // line 10
                echo "\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pagination'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
        }
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  82 => 10,  72 => 8,  63 => 7,  57 => 6,  50 => 5,  38 => 4,  32 => 3,  22 => 2,  19 => 1,);
    }
}
/* <!-- IF .pagination -->*/
/* 	<!-- IF BASE_URL --><b><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE_CLICK}">{L_GOTO_PAGE}</a></b><!-- ENDIF -->*/
/* 	<!-- BEGIN pagination -->*/
/* 		<!-- IF pagination.S_IS_PREV --><a href="{pagination.PAGE_URL}">{L_PREVIOUS}</a>*/
/* 		<!-- ELSEIF pagination.S_IS_CURRENT --><strong>{pagination.PAGE_NUMBER}</strong>*/
/* 		<!-- ELSEIF pagination.S_IS_ELLIPSIS --> {L_ELLIPSIS} */
/* 		<!-- ELSEIF pagination.S_IS_NEXT --><a href="{pagination.PAGE_URL}">{L_NEXT}</a>*/
/* 		<!-- ELSE --><a href="{pagination.PAGE_URL}">{pagination.PAGE_NUMBER}</a>*/
/* 		<!-- ENDIF -->*/
/* 	<!-- END pagination -->*/
/* <!-- ENDIF -->*/
/* */
