Файл: forsoc.ru/cache/twig/ba/ba5aecaf40e7fd06053fa96885c69694cca485dd94ef3544ef7006bda326ee11.php
Строк: 480
<?php
/* index_body.html */
class __TwigTemplate_3b7949abc2c5f8f1704772c9c320fa7fc44b5da142fb14176229e263c90654b3 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", "index_body.html", 1)->display($context);
if ($namespace) {
$this->env->setNamespaceLookUpOrder($previous_look_up_order);
}
// line 2
echo "
<p class="";
// line 3
echo (isset($context["S_CONTENT_FLOW_END"]) ? $context["S_CONTENT_FLOW_END"] : null);
echo " responsive-center time";
if ((isset($context["S_USER_LOGGED_IN"]) ? $context["S_USER_LOGGED_IN"] : null)) {
echo " rightside";
}
echo "">";
if ((isset($context["S_USER_LOGGED_IN"]) ? $context["S_USER_LOGGED_IN"] : null)) {
echo (isset($context["LAST_VISIT_DATE"]) ? $context["LAST_VISIT_DATE"] : null);
} else {
echo (isset($context["CURRENT_TIME"]) ? $context["CURRENT_TIME"] : null);
}
echo "</p>
";
// line 4
if ((isset($context["S_USER_LOGGED_IN"]) ? $context["S_USER_LOGGED_IN"] : null)) {
echo "<p class="responsive-center time">";
echo (isset($context["CURRENT_TIME"]) ? $context["CURRENT_TIME"] : null);
echo "</p>";
}
// line 5
echo "
";
// line 6
$previous_look_up_order = $this->env->getNamespaceLookUpOrder();
$this->env->setNamespaceLookUpOrder(array('paybas_recenttopics', '__main__'));
$this->env->loadTemplate('@paybas_recenttopics/event/index_body_markforums_before.html')->display($context);
$this->env->setNamespaceLookUpOrder($previous_look_up_order);
// line 7
if ((isset($context["U_MARK_FORUMS"]) ? $context["U_MARK_FORUMS"] : null)) {
// line 8
echo "t<div class="action-bar compact">
tt<a href="";
// line 9
echo (isset($context["U_MARK_FORUMS"]) ? $context["U_MARK_FORUMS"] : null);
echo "" class="mark-read rightside" accesskey="m" data-ajax="mark_forums_read">";
echo $this->env->getExtension('phpbb')->lang("MARK_FORUMS_READ");
echo "</a>
t</div>
";
}
// line 12
// line 13
echo "
";
// line 14
$location = "forumlist_body.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("forumlist_body.html", "index_body.html", 14)->display($context);
if ($namespace) {
$this->env->setNamespaceLookUpOrder($previous_look_up_order);
}
// line 15
echo "
";
// line 16
$previous_look_up_order = $this->env->getNamespaceLookUpOrder();
$this->env->setNamespaceLookUpOrder(array('paybas_recenttopics', '__main__'));
$this->env->loadTemplate('@paybas_recenttopics/event/index_body_forumlist_body_after.html')->display($context);
$this->env->setNamespaceLookUpOrder($previous_look_up_order);
// line 17
echo "
";
// line 18
if (( !(isset($context["S_USER_LOGGED_IN"]) ? $context["S_USER_LOGGED_IN"] : null) && !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null))) {
// line 19
echo "t<form method="post" action="";
echo (isset($context["S_LOGIN_ACTION"]) ? $context["S_LOGIN_ACTION"] : null);
echo "" class="headerspace">
t<h3><a href="";
// line 20
echo (isset($context["U_LOGIN_LOGOUT"]) ? $context["U_LOGIN_LOGOUT"] : null);
echo "">";
echo $this->env->getExtension('phpbb')->lang("LOGIN_LOGOUT");
echo "</a>";
if ((isset($context["S_REGISTER_ENABLED"]) ? $context["S_REGISTER_ENABLED"] : null)) {
echo " • <a href="";
echo (isset($context["U_REGISTER"]) ? $context["U_REGISTER"] : null);
echo "">";
echo $this->env->getExtension('phpbb')->lang("REGISTER");
echo "</a>";
}
echo "</h3>
tt<fieldset class="quick-login">
ttt<label for="username"><span>";
// line 22
echo $this->env->getExtension('phpbb')->lang("USERNAME");
echo $this->env->getExtension('phpbb')->lang("COLON");
echo "</span> <input type="text" tabindex="1" name="username" id="username" size="10" class="inputbox" title="";
echo $this->env->getExtension('phpbb')->lang("USERNAME");
echo "" /></label>
ttt<label for="password"><span>";
// line 23
echo $this->env->getExtension('phpbb')->lang("PASSWORD");
echo $this->env->getExtension('phpbb')->lang("COLON");
echo "</span> <input type="password" tabindex="2" name="password" id="password" size="10" class="inputbox" title="";
echo $this->env->getExtension('phpbb')->lang("PASSWORD");
echo "" autocomplete="off" /></label>
ttt";
// line 24
if ((isset($context["U_SEND_PASSWORD"]) ? $context["U_SEND_PASSWORD"] : null)) {
// line 25
echo "tttt<a href="";
echo (isset($context["U_SEND_PASSWORD"]) ? $context["U_SEND_PASSWORD"] : null);
echo "">";
echo $this->env->getExtension('phpbb')->lang("FORGOT_PASS");
echo "</a>
ttt";
}
// line 27
echo "ttt";
if ((isset($context["S_AUTOLOGIN_ENABLED"]) ? $context["S_AUTOLOGIN_ENABLED"] : null)) {
// line 28
echo "tttt<span class="responsive-hide">|</span> <label for="autologin">";
echo $this->env->getExtension('phpbb')->lang("LOG_ME_IN");
echo " <input type="checkbox" tabindex="4" name="autologin" id="autologin" /></label>
ttt";
}
// line 30
echo "ttt<input type="submit" tabindex="5" name="login" value="";
echo $this->env->getExtension('phpbb')->lang("LOGIN");
echo "" class="button2" />
ttt";
// line 31
echo (isset($context["S_LOGIN_REDIRECT"]) ? $context["S_LOGIN_REDIRECT"] : null);
echo "
tt</fieldset>
t</form>
";
}
// line 35
echo "
";
// line 36
// line 37
echo "
";
// line 38
if ((isset($context["S_DISPLAY_ONLINE_LIST"]) ? $context["S_DISPLAY_ONLINE_LIST"] : null)) {
// line 39
echo "t<div class="stat-block online-list">
tt";
// line 40
if ((isset($context["U_VIEWONLINE"]) ? $context["U_VIEWONLINE"] : null)) {
echo "<h3><a href="";
echo (isset($context["U_VIEWONLINE"]) ? $context["U_VIEWONLINE"] : null);
echo "">";
echo $this->env->getExtension('phpbb')->lang("WHO_IS_ONLINE");
echo "</a></h3>";
} else {
echo "<h3>";
echo $this->env->getExtension('phpbb')->lang("WHO_IS_ONLINE");
echo "</h3>";
}
// line 41
echo "tt<p>
ttt";
// line 42
// line 43
echo "ttt";
echo (isset($context["TOTAL_USERS_ONLINE"]) ? $context["TOTAL_USERS_ONLINE"] : null);
echo " (";
echo $this->env->getExtension('phpbb')->lang("ONLINE_EXPLAIN");
echo ")<br />";
echo (isset($context["RECORD_USERS"]) ? $context["RECORD_USERS"] : null);
echo "<br /> <br />";
echo (isset($context["LOGGED_IN_USER_LIST"]) ? $context["LOGGED_IN_USER_LIST"] : null);
echo "
ttt";
// line 44
if ((isset($context["LEGEND"]) ? $context["LEGEND"] : null)) {
echo "<br /><em>";
echo $this->env->getExtension('phpbb')->lang("LEGEND");
echo $this->env->getExtension('phpbb')->lang("COLON");
echo " ";
echo (isset($context["LEGEND"]) ? $context["LEGEND"] : null);
echo "</em>";
}
// line 45
echo "ttt";
// line 46
echo "tt</p>
t</div>
";
}
// line 49
echo "
";
// line 50
if ((isset($context["S_DISPLAY_BIRTHDAY_LIST"]) ? $context["S_DISPLAY_BIRTHDAY_LIST"] : null)) {
// line 51
echo "t<div class="stat-block birthday-list">
tt<h3>";
// line 52
echo $this->env->getExtension('phpbb')->lang("BIRTHDAYS");
echo "</h3>
tt<p>
ttt";
// line 54
// line 55
echo "ttt";
if (twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "birthdays", array()))) {
echo $this->env->getExtension('phpbb')->lang("CONGRATULATIONS");
echo $this->env->getExtension('phpbb')->lang("COLON");
echo " <strong>";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "birthdays", array()));
foreach ($context['_seq'] as $context["_key"] => $context["birthdays"]) {
echo $this->getAttribute($context["birthdays"], "USERNAME", array());
if (($this->getAttribute($context["birthdays"], "AGE", array()) !== "")) {
echo " (";
echo $this->getAttribute($context["birthdays"], "AGE", array());
echo ")";
}
if ( !$this->getAttribute($context["birthdays"], "S_LAST_ROW", array())) {
echo ", ";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['birthdays'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "</strong>";
} else {
echo $this->env->getExtension('phpbb')->lang("NO_BIRTHDAYS");
}
// line 56
echo "ttt";
// line 57
echo "tt</p>
t</div>
";
}
// line 60
echo "
";
// line 61
if ((isset($context["NEWEST_USER"]) ? $context["NEWEST_USER"] : null)) {
// line 62
echo "t<div class="stat-block statistics">
tt<h3>";
// line 63
echo $this->env->getExtension('phpbb')->lang("STATISTICS");
echo "</h3>
tt<p>
ttt";
// line 65
// line 66
echo "ttt";
echo (isset($context["TOTAL_POSTS"]) ? $context["TOTAL_POSTS"] : null);
echo " • ";
echo (isset($context["TOTAL_TOPICS"]) ? $context["TOTAL_TOPICS"] : null);
echo " • ";
echo (isset($context["TOTAL_USERS"]) ? $context["TOTAL_USERS"] : null);
echo " • ";
echo (isset($context["NEWEST_USER"]) ? $context["NEWEST_USER"] : null);
echo "
ttt";
// line 67
// line 68
echo "tt</p>
t</div>
";
}
// line 71
echo "
";
// line 72
// line 73
echo "
";
// line 74
$location = "overall_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("overall_footer.html", "index_body.html", 74)->display($context);
if ($namespace) {
$this->env->setNamespaceLookUpOrder($previous_look_up_order);
}
}
public function getTemplateName()
{
return "index_body.html";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 309 => 74, 306 => 73, 305 => 72, 302 => 71, 297 => 68, 296 => 67, 285 => 66, 284 => 65, 279 => 63, 276 => 62, 274 => 61, 271 => 60, 266 => 57, 264 => 56, 238 => 55, 237 => 54, 232 => 52, 229 => 51, 227 => 50, 224 => 49, 219 => 46, 217 => 45, 208 => 44, 197 => 43, 196 => 42, 193 => 41, 181 => 40, 178 => 39, 176 => 38, 173 => 37, 172 => 36, 169 => 35, 162 => 31, 157 => 30, 151 => 28, 148 => 27, 140 => 25, 138 => 24, 131 => 23, 124 => 22, 109 => 20, 104 => 19, 102 => 18, 99 => 17, 94 => 16, 91 => 15, 79 => 14, 76 => 13, 75 => 12, 67 => 9, 64 => 8, 62 => 7, 57 => 6, 54 => 5, 48 => 4, 34 => 3, 31 => 2, 19 => 1,);
}
}
/* <!-- INCLUDE overall_header.html -->*/
/* */
/* <p class="{S_CONTENT_FLOW_END} responsive-center time<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>*/
/* <!-- IF S_USER_LOGGED_IN --><p class="responsive-center time">{CURRENT_TIME}</p><!-- ENDIF -->*/
/* */
/* <!-- EVENT index_body_markforums_before -->*/
/* <!-- IF U_MARK_FORUMS -->*/
/* <div class="action-bar compact">*/
/* <a href="{U_MARK_FORUMS}" class="mark-read rightside" accesskey="m" data-ajax="mark_forums_read">{L_MARK_FORUMS_READ}</a>*/
/* </div>*/
/* <!-- ENDIF -->*/
/* <!-- EVENT index_body_markforums_after -->*/
/* */
/* <!-- INCLUDE forumlist_body.html -->*/
/* */
/* <!-- EVENT index_body_forumlist_body_after -->*/
/* */
/* <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->*/
/* <form method="post" action="{S_LOGIN_ACTION}" class="headerspace">*/
/* <h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>*/
/* <fieldset class="quick-login">*/
/* <label for="username"><span>{L_USERNAME}{L_COLON}</span> <input type="text" tabindex="1" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" /></label>*/
/* <label for="password"><span>{L_PASSWORD}{L_COLON}</span> <input type="password" tabindex="2" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" autocomplete="off" /></label>*/
/* <!-- IF U_SEND_PASSWORD -->*/
/* <a href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a>*/
/* <!-- ENDIF -->*/
/* <!-- IF S_AUTOLOGIN_ENABLED -->*/
/* <span class="responsive-hide">|</span> <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" tabindex="4" name="autologin" id="autologin" /></label>*/
/* <!-- ENDIF -->*/
/* <input type="submit" tabindex="5" name="login" value="{L_LOGIN}" class="button2" />*/
/* {S_LOGIN_REDIRECT}*/
/* </fieldset>*/
/* </form>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- EVENT index_body_stat_blocks_before -->*/
/* */
/* <!-- IF S_DISPLAY_ONLINE_LIST -->*/
/* <div class="stat-block online-list">*/
/* <!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->*/
/* <p>*/
/* <!-- EVENT index_body_block_online_prepend -->*/
/* {TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}*/
/* <!-- IF LEGEND --><br /><em>{L_LEGEND}{L_COLON} {LEGEND}</em><!-- ENDIF -->*/
/* <!-- EVENT index_body_block_online_append -->*/
/* </p>*/
/* </div>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF S_DISPLAY_BIRTHDAY_LIST -->*/
/* <div class="stat-block birthday-list">*/
/* <h3>{L_BIRTHDAYS}</h3>*/
/* <p>*/
/* <!-- EVENT index_body_block_birthday_prepend -->*/
/* <!-- IF .birthdays -->{L_CONGRATULATIONS}{L_COLON} <strong><!-- BEGIN birthdays -->{birthdays.USERNAME}<!-- IF birthdays.AGE !== '' --> ({birthdays.AGE})<!-- ENDIF --><!-- IF not birthdays.S_LAST_ROW -->, <!-- ENDIF --><!-- END birthdays --></strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF -->*/
/* <!-- EVENT index_body_block_birthday_append -->*/
/* </p>*/
/* </div>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF NEWEST_USER -->*/
/* <div class="stat-block statistics">*/
/* <h3>{L_STATISTICS}</h3>*/
/* <p>*/
/* <!-- EVENT index_body_block_stats_prepend -->*/
/* {TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}*/
/* <!-- EVENT index_body_block_stats_append -->*/
/* </p>*/
/* </div>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- EVENT index_body_stat_blocks_after -->*/
/* */
/* <!-- INCLUDE overall_footer.html -->*/
/* */