PageRenderTime 37ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/cache/production/twig/11/119da9f18c2884bcaff56b7bfce7a4870f3992a377539ddc4b796864a44a261d.php

https://bitbucket.org/robotstart/sebastien
PHP | 1585 lines | 1279 code | 28 blank | 278 comment | 134 complexity | cdd7e4fe2c053d091758f36bfe2730c8 MD5 | raw file
Possible License(s): AGPL-1.0, BSD-3-Clause
  1. <?php
  2. /* viewtopic_body.html */
  3. class __TwigTemplate_700600ca8a5db427d435ac72502fd35bf8ebd7203df7016a20064ed5ee23a633 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = array(
  10. );
  11. }
  12. protected function doDisplay(array $context, array $blocks = array())
  13. {
  14. // line 1
  15. $location = "overall_header.html";
  16. $namespace = false;
  17. if (strpos($location, '@') === 0) {
  18. $namespace = substr($location, 1, strpos($location, '/') - 1);
  19. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  20. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  21. }
  22. $this->loadTemplate("overall_header.html", "viewtopic_body.html", 1)->display($context);
  23. if ($namespace) {
  24. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  25. }
  26. // line 2
  27. // line 3
  28. echo "<h2 class=\"topic-title\">";
  29. echo "<a href=\"";
  30. echo (isset($context["U_VIEW_TOPIC"]) ? $context["U_VIEW_TOPIC"] : null);
  31. echo "\">";
  32. echo (isset($context["TOPIC_TITLE"]) ? $context["TOPIC_TITLE"] : null);
  33. echo "</a>";
  34. echo "</h2>
  35. ";
  36. // line 4
  37. // line 5
  38. echo "<!-- NOTE: remove the style=\"display: none\" when you want to have the forum description on the topic body -->
  39. ";
  40. // line 6
  41. if ((isset($context["FORUM_DESC"]) ? $context["FORUM_DESC"] : null)) {
  42. echo "<div style=\"display: none !important;\">";
  43. echo (isset($context["FORUM_DESC"]) ? $context["FORUM_DESC"] : null);
  44. echo "<br /></div>";
  45. }
  46. // line 7
  47. echo "
  48. ";
  49. // line 8
  50. if ((isset($context["MODERATORS"]) ? $context["MODERATORS"] : null)) {
  51. // line 9
  52. echo "<p>
  53. \t<strong>";
  54. // line 10
  55. if ((isset($context["S_SINGLE_MODERATOR"]) ? $context["S_SINGLE_MODERATOR"] : null)) {
  56. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("MODERATOR");
  57. } else {
  58. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("MODERATORS");
  59. }
  60. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  61. echo "</strong> ";
  62. echo (isset($context["MODERATORS"]) ? $context["MODERATORS"] : null);
  63. echo "
  64. </p>
  65. ";
  66. }
  67. // line 13
  68. echo "
  69. ";
  70. // line 14
  71. if ((isset($context["S_FORUM_RULES"]) ? $context["S_FORUM_RULES"] : null)) {
  72. // line 15
  73. echo "\t<div class=\"rules";
  74. if ((isset($context["U_FORUM_RULES"]) ? $context["U_FORUM_RULES"] : null)) {
  75. echo " rules-link";
  76. }
  77. echo "\">
  78. \t\t<div class=\"inner\">
  79. \t\t";
  80. // line 18
  81. if ((isset($context["U_FORUM_RULES"]) ? $context["U_FORUM_RULES"] : null)) {
  82. // line 19
  83. echo "\t\t\t<a href=\"";
  84. echo (isset($context["U_FORUM_RULES"]) ? $context["U_FORUM_RULES"] : null);
  85. echo "\">";
  86. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FORUM_RULES");
  87. echo "</a>
  88. \t\t";
  89. } else {
  90. // line 21
  91. echo "\t\t\t<strong>";
  92. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FORUM_RULES");
  93. echo "</strong><br />
  94. \t\t\t";
  95. // line 22
  96. echo (isset($context["FORUM_RULES"]) ? $context["FORUM_RULES"] : null);
  97. echo "
  98. \t\t";
  99. }
  100. // line 24
  101. echo "
  102. \t\t</div>
  103. \t</div>
  104. ";
  105. }
  106. // line 28
  107. echo "
  108. <div class=\"action-bar bar-top\">
  109. \t";
  110. // line 30
  111. // line 31
  112. echo "
  113. \t";
  114. // line 32
  115. if (( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null) && (isset($context["S_DISPLAY_REPLY_INFO"]) ? $context["S_DISPLAY_REPLY_INFO"] : null))) {
  116. // line 33
  117. echo "\t\t<a href=\"";
  118. echo (isset($context["U_POST_REPLY_TOPIC"]) ? $context["U_POST_REPLY_TOPIC"] : null);
  119. echo "\" class=\"postbutton\" title=\"";
  120. if ((isset($context["S_IS_LOCKED"]) ? $context["S_IS_LOCKED"] : null)) {
  121. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC_LOCKED");
  122. } else {
  123. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_REPLY");
  124. }
  125. echo "\">
  126. \t\t\t";
  127. // line 34
  128. if ((isset($context["S_IS_LOCKED"]) ? $context["S_IS_LOCKED"] : null)) {
  129. // line 35
  130. echo "\t\t\t\t<span>";
  131. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BUTTON_TOPIC_LOCKED");
  132. echo "</span> <i class=\"icon fa-lock fa-fw\" aria-hidden=\"true\"></i>
  133. \t\t\t";
  134. } else {
  135. // line 37
  136. echo "\t\t\t\t<span>";
  137. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BUTTON_POST_REPLY");
  138. echo "</span> <i class=\"icon fa-reply fa-fw\" aria-hidden=\"true\"></i>
  139. \t\t\t";
  140. }
  141. // line 39
  142. echo "\t\t</a>
  143. \t";
  144. }
  145. // line 41
  146. echo "
  147. \t";
  148. // line 42
  149. // line 43
  150. echo "\t";
  151. $location = "viewtopic_topic_tools.html";
  152. $namespace = false;
  153. if (strpos($location, '@') === 0) {
  154. $namespace = substr($location, 1, strpos($location, '/') - 1);
  155. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  156. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  157. }
  158. $this->loadTemplate("viewtopic_topic_tools.html", "viewtopic_body.html", 43)->display($context);
  159. if ($namespace) {
  160. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  161. }
  162. // line 44
  163. echo "\t";
  164. // line 45
  165. echo "
  166. \t";
  167. // line 46
  168. if ((isset($context["S_DISPLAY_SEARCHBOX"]) ? $context["S_DISPLAY_SEARCHBOX"] : null)) {
  169. // line 47
  170. echo "\t\t<div class=\"search-box\" role=\"search\">
  171. \t\t\t<form method=\"get\" id=\"topic-search\" action=\"";
  172. // line 48
  173. echo (isset($context["S_SEARCHBOX_ACTION"]) ? $context["S_SEARCHBOX_ACTION"] : null);
  174. echo "\">
  175. \t\t\t<fieldset>
  176. \t\t\t\t<input class=\"inputbox search tiny\" type=\"search\" name=\"keywords\" id=\"search_keywords\" size=\"20\" placeholder=\"";
  177. // line 50
  178. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_TOPIC");
  179. echo "\" />
  180. \t\t\t\t<button class=\"button button-search\" type=\"submit\" title=\"";
  181. // line 51
  182. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH");
  183. echo "\">
  184. \t\t\t\t\t<i class=\"icon fa-search fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  185. // line 52
  186. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH");
  187. echo "</span>
  188. \t\t\t\t</button>
  189. \t\t\t\t<a href=\"";
  190. // line 54
  191. echo (isset($context["U_SEARCH"]) ? $context["U_SEARCH"] : null);
  192. echo "\" class=\"button button-search-end\" title=\"";
  193. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_ADV");
  194. echo "\">
  195. \t\t\t\t\t<i class=\"icon fa-cog fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  196. // line 55
  197. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_ADV");
  198. echo "</span>
  199. \t\t\t\t</a>
  200. \t\t\t\t";
  201. // line 57
  202. echo (isset($context["S_SEARCH_LOCAL_HIDDEN_FIELDS"]) ? $context["S_SEARCH_LOCAL_HIDDEN_FIELDS"] : null);
  203. echo "
  204. \t\t\t</fieldset>
  205. \t\t\t</form>
  206. \t\t</div>
  207. \t";
  208. }
  209. // line 62
  210. echo "
  211. \t";
  212. // line 63
  213. if ((twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "pagination", array())) || (isset($context["TOTAL_POSTS"]) ? $context["TOTAL_POSTS"] : null))) {
  214. // line 64
  215. echo "\t\t<div class=\"pagination\">
  216. \t\t\t";
  217. // line 65
  218. if (((isset($context["U_VIEW_UNREAD_POST"]) ? $context["U_VIEW_UNREAD_POST"] : null) && !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null))) {
  219. echo "<a href=\"";
  220. echo (isset($context["U_VIEW_UNREAD_POST"]) ? $context["U_VIEW_UNREAD_POST"] : null);
  221. echo "\" class=\"mark\">";
  222. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEW_UNREAD_POST");
  223. echo "</a> &bull; ";
  224. }
  225. echo (isset($context["TOTAL_POSTS"]) ? $context["TOTAL_POSTS"] : null);
  226. echo "
  227. \t\t\t";
  228. // line 66
  229. if (twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "pagination", array()))) {
  230. // line 67
  231. echo "\t\t\t\t";
  232. $location = "pagination.html";
  233. $namespace = false;
  234. if (strpos($location, '@') === 0) {
  235. $namespace = substr($location, 1, strpos($location, '/') - 1);
  236. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  237. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  238. }
  239. $this->loadTemplate("pagination.html", "viewtopic_body.html", 67)->display($context);
  240. if ($namespace) {
  241. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  242. }
  243. // line 68
  244. echo "\t\t\t";
  245. } else {
  246. // line 69
  247. echo "\t\t\t\t&bull; ";
  248. echo (isset($context["PAGE_NUMBER"]) ? $context["PAGE_NUMBER"] : null);
  249. echo "
  250. \t\t\t";
  251. }
  252. // line 71
  253. echo "\t\t</div>
  254. \t";
  255. }
  256. // line 73
  257. echo "\t";
  258. // line 74
  259. echo "</div>
  260. ";
  261. // line 76
  262. // line 77
  263. echo "
  264. ";
  265. // line 78
  266. if ((isset($context["S_HAS_POLL"]) ? $context["S_HAS_POLL"] : null)) {
  267. // line 79
  268. echo "\t<form method=\"post\" action=\"";
  269. echo (isset($context["S_POLL_ACTION"]) ? $context["S_POLL_ACTION"] : null);
  270. echo "\" data-ajax=\"vote_poll\" class=\"topic_poll\">
  271. \t<div class=\"panel\">
  272. \t\t<div class=\"inner\">
  273. \t\t<div class=\"content\">
  274. \t\t\t<h2 class=\"poll-title\">";
  275. // line 85
  276. echo (isset($context["POLL_QUESTION"]) ? $context["POLL_QUESTION"] : null);
  277. echo "</h2>
  278. \t\t\t<p class=\"author\">";
  279. // line 86
  280. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POLL_LENGTH");
  281. if (((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null) && (isset($context["L_POLL_LENGTH"]) ? $context["L_POLL_LENGTH"] : null))) {
  282. echo "<br />";
  283. }
  284. if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
  285. echo "<span class=\"poll_max_votes\">";
  286. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("MAX_VOTES");
  287. echo "</span>";
  288. }
  289. echo "</p>
  290. \t\t\t<fieldset class=\"polls\">
  291. \t\t\t";
  292. // line 89
  293. $context['_parent'] = $context;
  294. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "poll_option", array()));
  295. foreach ($context['_seq'] as $context["_key"] => $context["poll_option"]) {
  296. // line 90
  297. echo "\t\t\t\t";
  298. // line 91
  299. echo "\t\t\t\t<dl class=\"";
  300. if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
  301. echo "voted";
  302. }
  303. if ($this->getAttribute($context["poll_option"], "POLL_OPTION_MOST_VOTES", array())) {
  304. echo " most-votes";
  305. }
  306. echo "\"";
  307. if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
  308. echo " title=\"";
  309. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POLL_VOTED_OPTION");
  310. echo "\"";
  311. }
  312. echo " data-alt-text=\"";
  313. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POLL_VOTED_OPTION");
  314. echo "\" data-poll-option-id=\"";
  315. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  316. echo "\">
  317. \t\t\t\t\t<dt>";
  318. // line 92
  319. if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
  320. echo "<label for=\"vote_";
  321. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  322. echo "\">";
  323. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_CAPTION", array());
  324. echo "</label>";
  325. } else {
  326. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_CAPTION", array());
  327. }
  328. echo "</dt>
  329. \t\t\t\t\t";
  330. // line 93
  331. if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
  332. echo "<dd style=\"width: auto;\" class=\"poll_option_select\">";
  333. if ((isset($context["S_IS_MULTI_CHOICE"]) ? $context["S_IS_MULTI_CHOICE"] : null)) {
  334. echo "<input type=\"checkbox\" name=\"vote_id[]\" id=\"vote_";
  335. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  336. echo "\" value=\"";
  337. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  338. echo "\"";
  339. if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
  340. echo " checked=\"checked\"";
  341. }
  342. echo " />";
  343. } else {
  344. echo "<input type=\"radio\" name=\"vote_id[]\" id=\"vote_";
  345. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  346. echo "\" value=\"";
  347. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  348. echo "\"";
  349. if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
  350. echo " checked=\"checked\"";
  351. }
  352. echo " />";
  353. }
  354. echo "</dd>";
  355. }
  356. // line 94
  357. echo "\t\t\t\t\t<dd class=\"resultbar";
  358. if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
  359. echo " hidden";
  360. }
  361. echo "\"><div class=\"";
  362. if (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 20)) {
  363. echo "pollbar1";
  364. } elseif (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 40)) {
  365. echo "pollbar2";
  366. } elseif (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 60)) {
  367. echo "pollbar3";
  368. } elseif (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 80)) {
  369. echo "pollbar4";
  370. } else {
  371. echo "pollbar5";
  372. }
  373. echo "\" style=\"width:";
  374. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_PERCENT_REL", array());
  375. echo ";\">";
  376. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_RESULT", array());
  377. echo "</div></dd>
  378. \t\t\t\t\t<dd class=\"poll_option_percent";
  379. // line 95
  380. if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
  381. echo " hidden";
  382. }
  383. echo "\">";
  384. if (($this->getAttribute($context["poll_option"], "POLL_OPTION_RESULT", array()) == 0)) {
  385. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("NO_VOTES");
  386. } else {
  387. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_PERCENT", array());
  388. }
  389. echo "</dd>
  390. \t\t\t\t</dl>
  391. \t\t\t\t";
  392. // line 97
  393. // line 98
  394. echo "\t\t\t";
  395. }
  396. $_parent = $context['_parent'];
  397. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['poll_option'], $context['_parent'], $context['loop']);
  398. $context = array_intersect_key($context, $_parent) + $_parent;
  399. // line 99
  400. echo "
  401. \t\t\t\t<dl class=\"poll_total_votes";
  402. // line 100
  403. if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
  404. echo " hidden";
  405. }
  406. echo "\">
  407. \t\t\t\t\t<dt>&nbsp;</dt>
  408. \t\t\t\t\t<dd class=\"resultbar\">";
  409. // line 102
  410. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOTAL_VOTES");
  411. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  412. echo " <span class=\"poll_total_vote_cnt\">";
  413. echo (isset($context["TOTAL_VOTES"]) ? $context["TOTAL_VOTES"] : null);
  414. echo "</span></dd>
  415. \t\t\t\t</dl>
  416. \t\t\t";
  417. // line 105
  418. if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
  419. // line 106
  420. echo "\t\t\t\t<dl style=\"border-top: none;\" class=\"poll_vote\">
  421. \t\t\t\t\t<dt>&nbsp;</dt>
  422. \t\t\t\t\t<dd class=\"resultbar\"><input type=\"submit\" name=\"update\" value=\"";
  423. // line 108
  424. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SUBMIT_VOTE");
  425. echo "\" class=\"button1\" /></dd>
  426. \t\t\t\t</dl>
  427. \t\t\t";
  428. }
  429. // line 111
  430. echo "
  431. \t\t\t";
  432. // line 112
  433. if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
  434. // line 113
  435. echo "\t\t\t\t<dl style=\"border-top: none;\" class=\"poll_view_results\">
  436. \t\t\t\t\t<dt>&nbsp;</dt>
  437. \t\t\t\t\t<dd class=\"resultbar\"><a href=\"";
  438. // line 115
  439. echo (isset($context["U_VIEW_RESULTS"]) ? $context["U_VIEW_RESULTS"] : null);
  440. echo "\">";
  441. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEW_RESULTS");
  442. echo "</a></dd>
  443. \t\t\t\t</dl>
  444. \t\t\t";
  445. }
  446. // line 118
  447. echo "\t\t\t</fieldset>
  448. \t\t\t<div class=\"vote-submitted hidden\">";
  449. // line 119
  450. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VOTE_SUBMITTED");
  451. echo "</div>
  452. \t\t</div>
  453. \t\t</div>
  454. \t\t";
  455. // line 123
  456. echo (isset($context["S_FORM_TOKEN"]) ? $context["S_FORM_TOKEN"] : null);
  457. echo "
  458. \t\t";
  459. // line 124
  460. echo (isset($context["S_HIDDEN_FIELDS"]) ? $context["S_HIDDEN_FIELDS"] : null);
  461. echo "
  462. \t</div>
  463. \t</form>
  464. \t<hr />
  465. ";
  466. }
  467. // line 130
  468. echo "
  469. ";
  470. // line 131
  471. // line 132
  472. echo "
  473. ";
  474. // line 133
  475. $context['_parent'] = $context;
  476. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "postrow", array()));
  477. foreach ($context['_seq'] as $context["_key"] => $context["postrow"]) {
  478. // line 134
  479. echo "\t";
  480. // line 135
  481. echo "\t";
  482. if ($this->getAttribute($context["postrow"], "S_FIRST_UNREAD", array())) {
  483. // line 136
  484. echo "\t\t<a id=\"unread\" class=\"anchor\"";
  485. if ((isset($context["S_UNREAD_VIEW"]) ? $context["S_UNREAD_VIEW"] : null)) {
  486. echo " data-url=\"";
  487. echo $this->getAttribute($context["postrow"], "U_MINI_POST", array());
  488. echo "\"";
  489. }
  490. echo "></a>
  491. \t";
  492. }
  493. // line 138
  494. echo "\t<div id=\"p";
  495. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  496. echo "\" class=\"post has-profile ";
  497. if (($this->getAttribute($context["postrow"], "S_ROW_COUNT", array()) % 2 == 1)) {
  498. echo "bg1";
  499. } else {
  500. echo "bg2";
  501. }
  502. if ($this->getAttribute($context["postrow"], "S_UNREAD_POST", array())) {
  503. echo " unreadpost";
  504. }
  505. if ($this->getAttribute($context["postrow"], "S_POST_REPORTED", array())) {
  506. echo " reported";
  507. }
  508. if ($this->getAttribute($context["postrow"], "S_POST_DELETED", array())) {
  509. echo " deleted";
  510. }
  511. if (($this->getAttribute($context["postrow"], "S_ONLINE", array()) && !$this->getAttribute($context["postrow"], "S_POST_HIDDEN", array()))) {
  512. echo " online";
  513. }
  514. if ($this->getAttribute($context["postrow"], "POSTER_WARNINGS", array())) {
  515. echo " warned";
  516. }
  517. echo "\">
  518. \t\t<div class=\"inner\">
  519. \t\t<dl class=\"postprofile\" id=\"profile";
  520. // line 141
  521. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  522. echo "\"";
  523. if ($this->getAttribute($context["postrow"], "S_POST_HIDDEN", array())) {
  524. echo " style=\"display: none;\"";
  525. }
  526. echo ">
  527. \t\t\t<dt class=\"";
  528. // line 142
  529. if (($this->getAttribute($context["postrow"], "RANK_TITLE", array()) || $this->getAttribute($context["postrow"], "RANK_IMG", array()))) {
  530. echo "has-profile-rank";
  531. } else {
  532. echo "no-profile-rank";
  533. }
  534. echo " ";
  535. if ($this->getAttribute($context["postrow"], "POSTER_AVATAR", array())) {
  536. echo "has-avatar";
  537. } else {
  538. echo "no-avatar";
  539. }
  540. echo "\">
  541. \t\t\t\t<div class=\"avatar-container\">
  542. \t\t\t\t\t";
  543. // line 144
  544. // line 145
  545. echo "\t\t\t\t\t";
  546. if ($this->getAttribute($context["postrow"], "POSTER_AVATAR", array())) {
  547. // line 146
  548. echo "\t\t\t\t\t\t";
  549. if ($this->getAttribute($context["postrow"], "U_POST_AUTHOR", array())) {
  550. echo "<a href=\"";
  551. echo $this->getAttribute($context["postrow"], "U_POST_AUTHOR", array());
  552. echo "\" class=\"avatar\">";
  553. echo $this->getAttribute($context["postrow"], "POSTER_AVATAR", array());
  554. echo "</a>";
  555. } else {
  556. echo "<span class=\"avatar\">";
  557. echo $this->getAttribute($context["postrow"], "POSTER_AVATAR", array());
  558. echo "</span>";
  559. }
  560. // line 147
  561. echo "\t\t\t\t\t";
  562. }
  563. // line 148
  564. echo "\t\t\t\t\t";
  565. // line 149
  566. echo "\t\t\t\t</div>
  567. \t\t\t\t";
  568. // line 150
  569. // line 151
  570. echo "\t\t\t\t";
  571. if ( !$this->getAttribute($context["postrow"], "U_POST_AUTHOR", array())) {
  572. echo "<strong>";
  573. echo $this->getAttribute($context["postrow"], "POST_AUTHOR_FULL", array());
  574. echo "</strong>";
  575. } else {
  576. echo $this->getAttribute($context["postrow"], "POST_AUTHOR_FULL", array());
  577. }
  578. // line 152
  579. echo "\t\t\t\t";
  580. // line 153
  581. echo "\t\t\t</dt>
  582. \t\t\t";
  583. // line 155
  584. // line 156
  585. echo "\t\t\t";
  586. if (($this->getAttribute($context["postrow"], "RANK_TITLE", array()) || $this->getAttribute($context["postrow"], "RANK_IMG", array()))) {
  587. echo "<dd class=\"profile-rank\">";
  588. echo $this->getAttribute($context["postrow"], "RANK_TITLE", array());
  589. if (($this->getAttribute($context["postrow"], "RANK_TITLE", array()) && $this->getAttribute($context["postrow"], "RANK_IMG", array()))) {
  590. echo "<br />";
  591. }
  592. echo $this->getAttribute($context["postrow"], "RANK_IMG", array());
  593. echo "</dd>";
  594. }
  595. // line 157
  596. echo "\t\t\t";
  597. // line 158
  598. echo "
  599. \t\t";
  600. // line 159
  601. if (($this->getAttribute($context["postrow"], "POSTER_POSTS", array()) != "")) {
  602. echo "<dd class=\"profile-posts\"><strong>";
  603. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POSTS");
  604. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  605. echo "</strong> ";
  606. if (($this->getAttribute($context["postrow"], "U_SEARCH", array()) !== "")) {
  607. echo "<a href=\"";
  608. echo $this->getAttribute($context["postrow"], "U_SEARCH", array());
  609. echo "\">";
  610. }
  611. echo $this->getAttribute($context["postrow"], "POSTER_POSTS", array());
  612. if (($this->getAttribute($context["postrow"], "U_SEARCH", array()) !== "")) {
  613. echo "</a>";
  614. }
  615. echo "</dd>";
  616. }
  617. // line 160
  618. echo "\t\t";
  619. if ($this->getAttribute($context["postrow"], "POSTER_JOINED", array())) {
  620. echo "<dd class=\"profile-joined\"><strong>";
  621. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("JOINED");
  622. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  623. echo "</strong> ";
  624. echo $this->getAttribute($context["postrow"], "POSTER_JOINED", array());
  625. echo "</dd>";
  626. }
  627. // line 161
  628. echo "\t\t";
  629. if ($this->getAttribute($context["postrow"], "POSTER_WARNINGS", array())) {
  630. echo "<dd class=\"profile-warnings\"><strong>";
  631. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("WARNINGS");
  632. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  633. echo "</strong> ";
  634. echo $this->getAttribute($context["postrow"], "POSTER_WARNINGS", array());
  635. echo "</dd>";
  636. }
  637. // line 162
  638. echo "
  639. \t\t";
  640. // line 163
  641. if ($this->getAttribute($context["postrow"], "S_PROFILE_FIELD1", array())) {
  642. // line 164
  643. echo "\t\t\t<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
  644. \t\t\t<dd><strong>";
  645. // line 165
  646. echo $this->getAttribute($context["postrow"], "PROFILE_FIELD1_NAME", array());
  647. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  648. echo "</strong> ";
  649. echo $this->getAttribute($context["postrow"], "PROFILE_FIELD1_VALUE", array());
  650. echo "</dd>
  651. \t\t";
  652. }
  653. // line 167
  654. echo "
  655. \t\t";
  656. // line 168
  657. // line 169
  658. echo "\t\t";
  659. $context['_parent'] = $context;
  660. $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["postrow"], "custom_fields", array()));
  661. foreach ($context['_seq'] as $context["_key"] => $context["custom_fields"]) {
  662. // line 170
  663. echo "\t\t\t";
  664. if ( !$this->getAttribute($context["custom_fields"], "S_PROFILE_CONTACT", array())) {
  665. // line 171
  666. echo "\t\t\t\t<dd class=\"profile-custom-field profile-";
  667. echo $this->getAttribute($context["custom_fields"], "PROFILE_FIELD_IDENT", array());
  668. echo "\"><strong>";
  669. echo $this->getAttribute($context["custom_fields"], "PROFILE_FIELD_NAME", array());
  670. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  671. echo "</strong> ";
  672. echo $this->getAttribute($context["custom_fields"], "PROFILE_FIELD_VALUE", array());
  673. echo "</dd>
  674. \t\t\t";
  675. }
  676. // line 173
  677. echo "\t\t";
  678. }
  679. $_parent = $context['_parent'];
  680. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['custom_fields'], $context['_parent'], $context['loop']);
  681. $context = array_intersect_key($context, $_parent) + $_parent;
  682. // line 174
  683. echo "\t\t";
  684. // line 175
  685. echo "
  686. \t\t";
  687. // line 176
  688. // line 177
  689. echo "\t\t";
  690. if (( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null) && twig_length_filter($this->env, $this->getAttribute($context["postrow"], "contact", array())))) {
  691. // line 178
  692. echo "\t\t\t<dd class=\"profile-contact\">
  693. \t\t\t\t<strong>";
  694. // line 179
  695. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("CONTACT");
  696. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  697. echo "</strong>
  698. \t\t\t\t<div class=\"dropdown-container dropdown-left\">
  699. \t\t\t\t\t<a href=\"#\" class=\"dropdown-trigger\" title=\"";
  700. // line 181
  701. echo $this->getAttribute($context["postrow"], "CONTACT_USER", array());
  702. echo "\">
  703. \t\t\t\t\t\t<i class=\"icon fa-commenting-o fa-fw icon-lg\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  704. // line 182
  705. echo $this->getAttribute($context["postrow"], "CONTACT_USER", array());
  706. echo "</span>
  707. \t\t\t\t\t</a>
  708. \t\t\t\t\t<div class=\"dropdown\">
  709. \t\t\t\t\t\t<div class=\"pointer\"><div class=\"pointer-inner\"></div></div>
  710. \t\t\t\t\t\t<div class=\"dropdown-contents contact-icons\">
  711. \t\t\t\t\t\t\t";
  712. // line 187
  713. $context['_parent'] = $context;
  714. $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["postrow"], "contact", array()));
  715. foreach ($context['_seq'] as $context["_key"] => $context["contact"]) {
  716. // line 188
  717. echo "\t\t\t\t\t\t\t\t";
  718. $context["REMAINDER"] = ($this->getAttribute($context["contact"], "S_ROW_COUNT", array()) % 4);
  719. // line 189
  720. echo "\t\t\t\t\t\t\t\t";
  721. $value = (((isset($context["REMAINDER"]) ? $context["REMAINDER"] : null) == 3) || ($this->getAttribute($context["contact"], "S_LAST_ROW", array()) && ($this->getAttribute($context["contact"], "S_NUM_ROWS", array()) < 4)));
  722. $context['definition']->set('S_LAST_CELL', $value);
  723. // line 190
  724. echo "\t\t\t\t\t\t\t\t";
  725. if (((isset($context["REMAINDER"]) ? $context["REMAINDER"] : null) == 0)) {
  726. // line 191
  727. echo "\t\t\t\t\t\t\t\t\t<div>
  728. \t\t\t\t\t\t\t\t";
  729. }
  730. // line 193
  731. echo "\t\t\t\t\t\t\t\t\t<a href=\"";
  732. if ($this->getAttribute($context["contact"], "U_CONTACT", array())) {
  733. echo $this->getAttribute($context["contact"], "U_CONTACT", array());
  734. } else {
  735. echo $this->getAttribute($context["postrow"], "U_POST_AUTHOR", array());
  736. }
  737. echo "\" title=\"";
  738. echo $this->getAttribute($context["contact"], "NAME", array());
  739. echo "\"";
  740. if ($this->getAttribute((isset($context["definition"]) ? $context["definition"] : null), "S_LAST_CELL", array())) {
  741. echo " class=\"last-cell\"";
  742. }
  743. if (($this->getAttribute($context["contact"], "ID", array()) == "jabber")) {
  744. echo " onclick=\"popup(this.href, 750, 320); return false;\"";
  745. }
  746. echo ">
  747. \t\t\t\t\t\t\t\t\t\t<span class=\"contact-icon ";
  748. // line 194
  749. echo $this->getAttribute($context["contact"], "ID", array());
  750. echo "-icon\">";
  751. echo $this->getAttribute($context["contact"], "NAME", array());
  752. echo "</span>
  753. \t\t\t\t\t\t\t\t\t</a>
  754. \t\t\t\t\t\t\t\t";
  755. // line 196
  756. if ((((isset($context["REMAINDER"]) ? $context["REMAINDER"] : null) == 3) || $this->getAttribute($context["contact"], "S_LAST_ROW", array()))) {
  757. // line 197
  758. echo "\t\t\t\t\t\t\t\t\t</div>
  759. \t\t\t\t\t\t\t\t";
  760. }
  761. // line 199
  762. echo "\t\t\t\t\t\t\t";
  763. }
  764. $_parent = $context['_parent'];
  765. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['contact'], $context['_parent'], $context['loop']);
  766. $context = array_intersect_key($context, $_parent) + $_parent;
  767. // line 200
  768. echo "\t\t\t\t\t\t</div>
  769. \t\t\t\t\t</div>
  770. \t\t\t\t</div>
  771. \t\t\t</dd>
  772. \t\t";
  773. }
  774. // line 205
  775. echo "\t\t";
  776. // line 206
  777. echo "
  778. \t\t</dl>
  779. \t\t<div class=\"postbody\">
  780. \t\t\t";
  781. // line 210
  782. if ($this->getAttribute($context["postrow"], "S_POST_HIDDEN", array())) {
  783. // line 211
  784. echo "\t\t\t\t";
  785. if ($this->getAttribute($context["postrow"], "S_POST_DELETED", array())) {
  786. // line 212
  787. echo "\t\t\t\t\t<div class=\"ignore\" id=\"post_hidden";
  788. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  789. echo "\">
  790. \t\t\t\t\t\t";
  791. // line 213
  792. echo $this->getAttribute($context["postrow"], "L_POST_DELETED_MESSAGE", array());
  793. echo "<br />
  794. \t\t\t\t\t\t";
  795. // line 214
  796. echo $this->getAttribute($context["postrow"], "L_POST_DISPLAY", array());
  797. echo "
  798. \t\t\t\t\t</div>
  799. \t\t\t\t";
  800. } elseif ($this->getAttribute( // line 216
  801. $context["postrow"], "S_IGNORE_POST", array())) {
  802. // line 217
  803. echo "\t\t\t\t\t<div class=\"ignore\" id=\"post_hidden";
  804. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  805. echo "\">
  806. \t\t\t\t\t\t";
  807. // line 218
  808. echo $this->getAttribute($context["postrow"], "L_IGNORE_POST", array());
  809. echo "<br />
  810. \t\t\t\t\t\t";
  811. // line 219
  812. echo $this->getAttribute($context["postrow"], "L_POST_DISPLAY", array());
  813. echo "
  814. \t\t\t\t\t</div>
  815. \t\t\t\t";
  816. }
  817. // line 222
  818. echo "\t\t\t";
  819. }
  820. // line 223
  821. echo "\t\t\t<div id=\"post_content";
  822. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  823. echo "\"";
  824. if ($this->getAttribute($context["postrow"], "S_POST_HIDDEN", array())) {
  825. echo " style=\"display: none;\"";
  826. }
  827. echo ">
  828. \t\t\t";
  829. // line 225
  830. // line 226
  831. echo "\t\t\t<h5 ";
  832. if ($this->getAttribute($context["postrow"], "S_FIRST_ROW", array())) {
  833. echo "class=\"first\"";
  834. }
  835. echo ">";
  836. if ($this->getAttribute($context["postrow"], "POST_ICON_IMG", array())) {
  837. echo "<img src=\"";
  838. echo (isset($context["T_ICONS_PATH"]) ? $context["T_ICONS_PATH"] : null);
  839. echo $this->getAttribute($context["postrow"], "POST_ICON_IMG", array());
  840. echo "\" width=\"";
  841. echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_WIDTH", array());
  842. echo "\" height=\"";
  843. echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_HEIGHT", array());
  844. echo "\" alt=\"";
  845. echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_ALT", array());
  846. echo "\" title=\"";
  847. echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_ALT", array());
  848. echo "\" /> ";
  849. }
  850. echo "<a href=\"#p";
  851. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  852. echo "\">";
  853. echo $this->getAttribute($context["postrow"], "POST_SUBJECT", array());
  854. echo "</a></h5>
  855. \t\t";
  856. // line 228
  857. $value = ((((($this->getAttribute($context["postrow"], "U_EDIT", array()) || $this->getAttribute($context["postrow"], "U_DELETE", array())) || $this->getAttribute($context["postrow"], "U_REPORT", array())) || $this->getAttribute($context["postrow"], "U_WARN", array())) || $this->getAttribute($context["postrow"], "U_INFO", array())) || $this->getAttribute($context["postrow"], "U_QUOTE", array()));
  858. $context['definition']->set('SHOW_POST_BUTTONS', $value);
  859. // line 229
  860. echo "\t\t";
  861. // line 230
  862. echo "\t\t";
  863. if ( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null)) {
  864. // line 231
  865. echo "\t\t\t";
  866. if ($this->getAttribute((isset($context["definition"]) ? $context["definition"] : null), "SHOW_POST_BUTTONS", array())) {
  867. // line 232
  868. echo "\t\t\t\t<ul class=\"post-buttons\">
  869. \t\t\t\t\t";
  870. // line 233
  871. // line 234
  872. echo "\t\t\t\t\t";
  873. if ($this->getAttribute($context["postrow"], "U_EDIT", array())) {
  874. // line 235
  875. echo "\t\t\t\t\t\t<li>
  876. \t\t\t\t\t\t\t<a href=\"";
  877. // line 236
  878. echo $this->getAttribute($context["postrow"], "U_EDIT", array());
  879. echo "\" title=\"";
  880. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("EDIT_POST");
  881. echo "\" class=\"button button-icon-only\">
  882. \t\t\t\t\t\t\t\t<i class=\"icon fa-pencil fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  883. // line 237
  884. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BUTTON_EDIT");
  885. echo "</span>
  886. \t\t\t\t\t\t\t</a>
  887. \t\t\t\t\t\t</li>
  888. \t\t\t\t\t";
  889. }
  890. // line 241
  891. echo "\t\t\t\t\t";
  892. if ($this->getAttribute($context["postrow"], "U_DELETE", array())) {
  893. // line 242
  894. echo "\t\t\t\t\t\t<li>
  895. \t\t\t\t\t\t\t<a href=\"";
  896. // line 243
  897. echo $this->getAttribute($context["postrow"], "U_DELETE", array());
  898. echo "\" title=\"";
  899. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("DELETE_POST");
  900. echo "\" class=\"button button-icon-only\">
  901. \t\t\t\t\t\t\t\t<i class=\"icon fa-times fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  902. // line 244
  903. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("DELETE_POST");
  904. echo "</span>
  905. \t\t\t\t\t\t\t</a>
  906. \t\t\t\t\t\t</li>
  907. \t\t\t\t\t";
  908. }
  909. // line 248
  910. echo "\t\t\t\t\t";
  911. if ($this->getAttribute($context["postrow"], "U_REPORT", array())) {
  912. // line 249
  913. echo "\t\t\t\t\t\t<li>
  914. \t\t\t\t\t\t\t<a href=\"";
  915. // line 250
  916. echo $this->getAttribute($context["postrow"], "U_REPORT", array());
  917. echo "\" title=\"";
  918. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPORT_POST");
  919. echo "\" class=\"button button-icon-only\">
  920. \t\t\t\t\t\t\t\t<i class=\"icon fa-exclamation fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  921. // line 251
  922. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPORT_POST");
  923. echo "</span>
  924. \t\t\t\t\t\t\t</a>
  925. \t\t\t\t\t\t</li>
  926. \t\t\t\t\t";
  927. }
  928. // line 255
  929. echo "\t\t\t\t\t";
  930. if ($this->getAttribute($context["postrow"], "U_WARN", array())) {
  931. // line 256
  932. echo "\t\t\t\t\t\t<li>
  933. \t\t\t\t\t\t\t<a href=\"";
  934. // line 257
  935. echo $this->getAttribute($context["postrow"], "U_WARN", array());
  936. echo "\" title=\"";
  937. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("WARN_USER");
  938. echo "\" class=\"button button-icon-only\">
  939. \t\t\t\t\t\t\t\t<i class=\"icon fa-exclamation-triangle fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  940. // line 258
  941. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("WARN_USER");
  942. echo "</span>
  943. \t\t\t\t\t\t\t</a>
  944. \t\t\t\t\t\t</li>
  945. \t\t\t\t\t";
  946. }
  947. // line 262
  948. echo "\t\t\t\t\t";
  949. if ($this->getAttribute($context["postrow"], "U_INFO", array())) {
  950. // line 263
  951. echo "\t\t\t\t\t\t<li>
  952. \t\t\t\t\t\t\t<a href=\"";
  953. // line 264
  954. echo $this->getAttribute($context["postrow"], "U_INFO", array());
  955. echo "\" title=\"";
  956. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("INFORMATION");
  957. echo "\" class=\"button button-icon-only\">
  958. \t\t\t\t\t\t\t\t<i class=\"icon fa-info fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  959. // line 265
  960. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("INFORMATION");
  961. echo "</span>
  962. \t\t\t\t\t\t\t</a>
  963. \t\t\t\t\t\t</li>
  964. \t\t\t\t\t";
  965. }
  966. // line 269
  967. echo "\t\t\t\t\t";
  968. if ($this->getAttribute($context["postrow"], "U_QUOTE", array())) {
  969. // line 270
  970. echo "\t\t\t\t\t\t<li>
  971. \t\t\t\t\t\t\t<a href=\"";
  972. // line 271
  973. echo $this->getAttribute($context["postrow"], "U_QUOTE", array());
  974. echo "\" title=\"";
  975. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPLY_WITH_QUOTE");
  976. echo "\" class=\"button button-icon-only\">
  977. \t\t\t\t\t\t\t\t<i class=\"icon fa-quote-left fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  978. // line 272
  979. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("QUOTE");
  980. echo "</span>
  981. \t\t\t\t\t\t\t</a>
  982. \t\t\t\t\t\t</li>
  983. \t\t\t\t\t";
  984. }
  985. // line 276
  986. echo "\t\t\t\t\t";
  987. // line 277
  988. echo "\t\t\t\t</ul>
  989. \t\t\t";
  990. }
  991. // line 279
  992. echo "\t\t";
  993. }
  994. // line 280
  995. echo "\t\t";
  996. // line 281
  997. echo "
  998. \t\t\t";
  999. // line 282
  1000. // line 283
  1001. echo "\t\t\t<p class=\"author\">
  1002. \t\t\t\t";
  1003. // line 284
  1004. if ((isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null)) {
  1005. // line 285
  1006. echo "\t\t\t\t\t<span><i class=\"icon fa-file fa-fw ";
  1007. if ($this->getAttribute($context["postrow"], "S_UNREAD_POST", array())) {
  1008. echo "icon-red";
  1009. } else {
  1010. echo "icon-lightgray";
  1011. }
  1012. echo " icon-md\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  1013. echo $this->getAttribute($context["postrow"], "MINI_POST", array());
  1014. echo "</span></span>
  1015. \t\t\t\t";
  1016. } else {
  1017. // line 287
  1018. echo "\t\t\t\t\t<a class=\"unread\" href=\"";
  1019. echo $this->getAttribute($context["postrow"], "U_MINI_POST", array());
  1020. echo "\" title=\"";
  1021. echo $this->getAttribute($context["postrow"], "MINI_POST", array());
  1022. echo "\">
  1023. \t\t\t\t\t\t<i class=\"icon fa-file fa-fw ";
  1024. // line 288
  1025. if ($this->getAttribute($context["postrow"], "S_UNREAD_POST", array())) {
  1026. echo "icon-red";
  1027. } else {
  1028. echo "icon-lightgray";
  1029. }
  1030. echo " icon-md\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  1031. echo $this->getAttribute($context["postrow"], "MINI_POST", array());
  1032. echo "</span>
  1033. \t\t\t\t\t</a>
  1034. \t\t\t\t";
  1035. }
  1036. // line 291
  1037. echo "\t\t\t\t<span class=\"responsive-hide\">";
  1038. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
  1039. echo " <strong>";
  1040. echo $this->getAttribute($context["postrow"], "POST_AUTHOR_FULL", array());
  1041. echo "</strong> &raquo; </span>";
  1042. echo $this->getAttribute($context["postrow"], "POST_DATE", array());
  1043. echo "
  1044. \t\t\t</p>
  1045. \t\t\t";
  1046. // line 293
  1047. // line 294
  1048. echo "
  1049. \t\t\t";
  1050. // line 295
  1051. if ($this->getAttribute($context["postrow"], "S_POST_UNAPPROVED", array())) {
  1052. // line 296
  1053. echo "\t\t\t<form method=\"post\" class=\"mcp_approve\" action=\"";
  1054. echo $this->getAttribute($context["postrow"], "U_APPROVE_ACTION", array());
  1055. echo "\">
  1056. \t\t\t\t<p class=\"post-notice unapproved\">
  1057. \t\t\t\t\t<span><i class=\"icon fa-question icon-red fa-fw\" aria-hidden=\"true\"></i></span>
  1058. \t\t\t\t\t<strong>";
  1059. // line 299
  1060. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_UNAPPROVED_ACTION");
  1061. echo "</strong>
  1062. \t\t\t\t\t<input class=\"button2\" type=\"submit\" value=\"";
  1063. // line 300
  1064. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("DISAPPROVE");
  1065. echo "\" name=\"action[disapprove]\" />
  1066. \t\t\t\t\t<input class=\"button1\" type=\"submit\" value=\"";
  1067. // line 301
  1068. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("APPROVE");
  1069. echo "\" name=\"action[approve]\" />
  1070. \t\t\t\t\t<input type=\"hidden\" name=\"post_id_list[]\" value=\"";
  1071. // line 302
  1072. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  1073. echo "\" />
  1074. \t\t\t\t\t";
  1075. // line 303
  1076. echo (isset($context["S_FORM_TOKEN"]) ? $context["S_FORM_TOKEN"] : null);
  1077. echo "
  1078. \t\t\t\t</p>
  1079. \t\t\t</form>
  1080. \t\t\t";
  1081. } elseif ($this->getAttribute( // line 306
  1082. $context["postrow"], "S_POST_DELETED", array())) {
  1083. // line 307
  1084. echo "\t\t\t<form method=\"post\" class=\"mcp_approve\" action=\"";
  1085. echo $this->getAttribute($context["postrow"], "U_APPROVE_ACTION", array());
  1086. echo "\">
  1087. \t\t\t\t<p class=\"post-notice deleted\">
  1088. \t\t\t\t\t<strong>";
  1089. // line 309
  1090. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_DELETED_ACTION");
  1091. echo "</strong>
  1092. \t\t\t\t\t";
  1093. // line 310
  1094. if ($this->getAttribute($context["postrow"], "S_DELETE_PERMANENT", array())) {
  1095. // line 311
  1096. echo "\t\t\t\t\t\t<input class=\"button2\" type=\"submit\" value=\"";
  1097. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("DELETE");
  1098. echo "\" name=\"action[delete]\" />
  1099. \t\t\t\t\t";
  1100. }
  1101. // line 313
  1102. echo "\t\t\t\t\t<input class=\"button1\" type=\"submit\" value=\"";
  1103. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("RESTORE");
  1104. echo "\" name=\"action[restore]\" />
  1105. \t\t\t\t\t<input type=\"hidden\" name=\"post_id_list[]\" value=\"";
  1106. // line 314
  1107. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  1108. echo "\" />
  1109. \t\t\t\t\t";
  1110. // line 315
  1111. echo (isset($context["S_FORM_TOKEN"]) ? $context["S_FORM_TOKEN"] : null);
  1112. echo "
  1113. \t\t\t\t</p>
  1114. \t\t\t</form>
  1115. \t\t\t";
  1116. }
  1117. // line 319
  1118. echo "
  1119. \t\t\t";
  1120. // line 320
  1121. if ($this->getAttribute($context["postrow"], "S_POST_REPORTED", array())) {
  1122. // line 321
  1123. echo "\t\t\t<p class=\"post-notice reported\">
  1124. \t\t\t\t<a href=\"";
  1125. // line 322
  1126. echo $this->getAttribute($context["postrow"], "U_MCP_REPORT", array());
  1127. echo "\"><i class=\"icon fa-exclamation fa-fw icon-red\" aria-hidden=\"true\"></i><strong>";
  1128. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_REPORTED");
  1129. echo "</strong></a>
  1130. \t\t\t</p>
  1131. \t\t\t";
  1132. }
  1133. // line 325
  1134. echo "
  1135. \t\t\t<div class=\"content\">";
  1136. // line 326
  1137. echo $this->getAttribute($context["postrow"], "MESSAGE", array());
  1138. echo "</div>
  1139. \t\t\t";
  1140. // line 328
  1141. if ($this->getAttribute($context["postrow"], "S_HAS_ATTACHMENTS", array())) {
  1142. // line 329
  1143. echo "\t\t\t\t<dl class=\"attachbox\">
  1144. \t\t\t\t\t<dt>
  1145. \t\t\t\t\t\t";
  1146. // line 331
  1147. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("ATTACHMENTS");
  1148. echo "
  1149. \t\t\t\t\t</dt>
  1150. \t\t\t\t\t";
  1151. // line 333
  1152. $context['_parent'] = $context;
  1153. $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["postrow"], "attachment", array()));
  1154. foreach ($context['_seq'] as $context["_key"] => $context["attachment"]) {
  1155. // line 334
  1156. echo "\t\t\t\t\t\t<dd>";
  1157. echo $this->getAttribute($context["attachment"], "DISPLAY_ATTACHMENT", array());
  1158. echo "</dd>
  1159. \t\t\t\t\t";
  1160. }
  1161. $_parent = $context['_parent'];
  1162. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attachment'], $context['_parent'], $context['loop']);
  1163. $context = array_intersect_key($context, $_parent) + $_parent;
  1164. // line 336
  1165. echo "\t\t\t\t</dl>
  1166. \t\t\t";
  1167. }
  1168. // line 338
  1169. echo "
  1170. \t\t\t";
  1171. // line 339
  1172. // line 340
  1173. echo "\t\t\t";
  1174. if ($this->getAttribute($context["postrow"], "S_DISPLAY_NOTICE", array())) {
  1175. echo "<div class=\"rules\">";
  1176. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("DOWNLOAD_NOTICE");
  1177. echo "</div>";
  1178. }
  1179. // line 341
  1180. echo "\t\t\t";
  1181. if (($this->getAttribute($context["postrow"], "DELETED_MESSAGE", array()) || $this->getAttribute($context["postrow"], "DELETE_REASON", array()))) {
  1182. // line 342
  1183. echo "\t\t\t\t<div class=\"notice post_deleted_msg\">
  1184. \t\t\t\t\t";
  1185. // line 343
  1186. echo $this->getAttribute($context["postrow"], "DELETED_MESSAGE", array());
  1187. echo "
  1188. \t\t\t\t\t";
  1189. // line 344
  1190. if ($this->getAttribute($context["postrow"], "DELETE_REASON", array())) {
  1191. echo "<br /><strong>";
  1192. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REASON");
  1193. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  1194. echo "</strong> <em>";
  1195. echo $this->getAttribute($context["postrow"], "DELETE_REASON", array());
  1196. echo "</em>";
  1197. }
  1198. // line 345
  1199. echo "\t\t\t\t</div>
  1200. \t\t\t";
  1201. } elseif (($this->getAttribute( // line 346
  1202. $context["postrow"], "EDITED_MESSAGE", array()) || $this->getAttribute($context["postrow"], "EDIT_REASON", array()))) {
  1203. // line 347
  1204. echo "\t\t\t\t<div class=\"notice\">
  1205. \t\t\t\t\t";
  1206. // line 348
  1207. echo $this->getAttribute($context["postrow"], "EDITED_MESSAGE", array());
  1208. echo "
  1209. \t\t\t\t\t";
  1210. // line 349
  1211. if ($this->getAttribute($context["postrow"], "EDIT_REASON", array())) {
  1212. echo "<br /><strong>";
  1213. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REASON");
  1214. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  1215. echo "</strong> <em>";
  1216. echo $this->getAttribute($context["postrow"], "EDIT_REASON", array());
  1217. echo "</em>";
  1218. }
  1219. // line 350
  1220. echo "\t\t\t\t</div>
  1221. \t\t\t";
  1222. }
  1223. // line 352
  1224. echo "
  1225. \t\t\t";
  1226. // line 353
  1227. if ($this->getAttribute($context["postrow"], "BUMPED_MESSAGE", array())) {
  1228. echo "<div class=\"notice\"><br /><br />";
  1229. echo $this->getAttribute($context["postrow"], "BUMPED_MESSAGE", array());
  1230. echo "</div>";
  1231. }
  1232. // line 354
  1233. echo "\t\t\t";
  1234. // line 355
  1235. echo "\t\t\t";
  1236. if ($this->getAttribute($context["postrow"], "SIGNATURE", array())) {
  1237. echo "<div id=\"sig";
  1238. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  1239. echo "\" class=\"signature\">";
  1240. echo $this->getAttribute($context["postrow"], "SIGNATURE", array());
  1241. echo "</div>";
  1242. }
  1243. // line 356
  1244. echo "
  1245. \t\t\t";
  1246. // line 357
  1247. // line 358
  1248. echo "\t\t\t</div>
  1249. \t\t</div>
  1250. \t\t";
  1251. // line 362
  1252. // line 363
  1253. echo "\t\t<div class=\"back2top\">
  1254. \t\t\t";
  1255. // line 364
  1256. // line 365
  1257. echo "\t\t\t<a href=\"#top\" class=\"top\" title=\"";
  1258. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BACK_TO_TOP");
  1259. echo "\">
  1260. \t\t\t\t<i class=\"icon fa-chevron-circle-up fa-fw icon-gray\" aria-hidden=\"true\"></i>
  1261. \t\t\t\t<span class=\"sr-only\">";
  1262. // line 367
  1263. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BACK_TO_TOP");
  1264. echo "</span>
  1265. \t\t\t</a>
  1266. \t\t\t";
  1267. // line 369
  1268. // line 370
  1269. echo "\t\t</div>
  1270. \t\t";
  1271. // line 371
  1272. // line 372
  1273. echo "
  1274. \t\t</div>
  1275. \t</div>
  1276. \t<hr class=\"divider\" />
  1277. \t";
  1278. // line 377
  1279. }
  1280. $_parent = $context['_parent'];
  1281. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['postrow'], $context['_parent'], $context['loop']);
  1282. $context = array_intersect_key($context, $_parent) + $_parent;
  1283. // line 379
  1284. echo "
  1285. ";
  1286. // line 380
  1287. if ((isset($context["S_QUICK_REPLY"]) ? $context["S_QUICK_REPLY"] : null)) {
  1288. // line 381
  1289. echo "\t";
  1290. $location = "quickreply_editor.html";
  1291. $namespace = false;
  1292. if (strpos($location, '@') === 0) {
  1293. $namespace = substr($location, 1, strpos($location, '/') - 1);
  1294. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  1295. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  1296. }
  1297. $this->loadTemplate("quickreply_editor.html", "viewtopic_body.html", 381)->display($context);
  1298. if ($namespace) {
  1299. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  1300. }
  1301. }
  1302. // line 383
  1303. echo "
  1304. ";
  1305. // line 384
  1306. // line 385
  1307. echo "\t<hr><div class=\"action-bar bar-bottom\">
  1308. \t";
  1309. // line 386
  1310. // line 387
  1311. echo "
  1312. \t";
  1313. // line 388
  1314. if (( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null) && (isset($context["S_DISPLAY_REPLY_INFO"]) ? $context["S_DISPLAY_REPLY_INFO"] : null))) {
  1315. // line 389
  1316. echo "\t\t<a href=\"";
  1317. echo (isset($context["U_POST_REPLY_TOPIC"]) ? $context["U_POST_REPLY_TOPIC"] : null);
  1318. echo "\" class=\"postbutton\" title=\"";
  1319. if ((isset($context["S_IS_LOCKED"]) ? $context["S_IS_LOCKED"] : null)) {
  1320. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC_LOCKED");
  1321. } else {
  1322. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_REPLY");
  1323. }
  1324. echo "\">
  1325. \t\t\t";
  1326. // line 390
  1327. if ((isset($context["S_IS_LOCKED"]) ? $context["S_IS_LOCKED"] : null)) {
  1328. // line 391
  1329. echo "\t\t\t\t<span>";
  1330. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BUTTON_TOPIC_LOCKED");
  1331. echo "</span> <i class=\"icon fa-lock fa-fw\" aria-hidden=\"true\"></i>
  1332. \t\t\t";
  1333. } else {
  1334. // line 393
  1335. echo "\t\t\t\t<span>";
  1336. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BUTTON_POST_REPLY");
  1337. echo "</span> <i class=\"icon fa-reply fa-fw\" aria-hidden=\"true\"></i>
  1338. \t\t\t";
  1339. }
  1340. // line 395
  1341. echo "\t\t</a>
  1342. \t";
  1343. }
  1344. // line 397
  1345. echo "\t";
  1346. // line 398
  1347. echo "
  1348. \t";
  1349. // line 399
  1350. $location = "viewtopic_topic_tools.html";
  1351. $namespace = false;
  1352. if (strpos($location, '@') === 0) {
  1353. $namespace = substr($location, 1, strpos($location, '/') - 1);
  1354. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  1355. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  1356. }
  1357. $this->loadTemplate("viewtopic_topic_tools.html", "viewtopic_body.html", 399)->display($context);
  1358. if ($namespace) {
  1359. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  1360. }
  1361. // line 400
  1362. echo "
  1363. \t";
  1364. // line 401
  1365. if (((((isset($context["S_NUM_POSTS"]) ? $context["S_NUM_POSTS"] : null) > 1) || twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "pagination", array()))) && !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null))) {
  1366. // line 402
  1367. echo "\t\t<form method=\"post\" action=\"";
  1368. echo (isset($context["S_TOPIC_ACTION"]) ? $context["S_TOPIC_ACTION"] : null);
  1369. echo "\">
  1370. \t\t";
  1371. // line 403
  1372. $location = "display_options.html";
  1373. $namespace = false;
  1374. if (strpos($location, '@') === 0) {
  1375. $namespace = substr($location, 1, strpos($location, '/') - 1);
  1376. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  1377. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  1378. }
  1379. $this->loadTemplate("display_options.html", "viewtopic_body.html", 403)->display($context);
  1380. if ($namespace) {
  1381. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  1382. }
  1383. // line 404
  1384. echo "\t\t</form>
  1385. \t";
  1386. }
  1387. // line 406
  1388. echo "
  1389. \t";
  1390. // line 407
  1391. if (twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "quickmod", array()))) {
  1392. // line 408
  1393. echo "\t<div class=\"quickmod dropdown-container dropdown-container-left dropdown-up dropdown-";
  1394. echo (isset($context["S_CONTENT_FLOW_END"]) ? $context["S_CONTENT_FLOW_END"] : null);
  1395. echo " dropdown-button-control\" id=\"quickmod\">
  1396. \t\t<span title=\"";
  1397. // line 409
  1398. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("QUICK_MOD");
  1399. echo "\" class=\"button button-secondary dropdown-trigger dropdown-select\">
  1400. \t\t\t<i class=\"icon fa-gavel fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  1401. // line 410
  1402. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("QUICK_MOD");
  1403. echo "</span>
  1404. \t\t\t<span class=\"caret\"><i class=\"icon fa-sort-down fa-fw\" aria-hidden=\"true\"></i></span>
  1405. \t\t</span>
  1406. \t\t<div class=\"dropdown\">
  1407. \t\t\t\t<div class=\"pointer\"><div class=\"pointer-inner\"></div></div>
  1408. \t\t\t\t<ul class=\"dropdown-contents-scp\">
  1409. \t\t\t\t";
  1410. // line 416
  1411. $context['_parent'] = $context;
  1412. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "quickmod", array()));
  1413. foreach ($context['_seq'] as $context["_key"] => $context["quickmod"]) {
  1414. // line 417
  1415. echo "\t\t\t\t\t";
  1416. $value = twig_in_filter($this->getAttribute($context["quickmod"], "VALUE", array()), array(0 => "lock", 1 => "unlock", 2 => "delete_topic", 3 => "restore_topic", 4 => "make_normal", 5 => "make_sticky", 6 => "make_announce", 7 => "make_global"));
  1417. $context['definition']->set('QUICKMOD_AJAX', $value);
  1418. // line 418
  1419. echo "\t\t\t\t\t<li><a href=\"";
  1420. echo $this->getAttribute($context["quickmod"], "LINK", array());
  1421. echo "\"";
  1422. if ($this->getAttribute((isset($context["definition"]) ? $context["definition"] : null), "QUICKMOD_AJAX", array())) {
  1423. echo " data-ajax=\"true\" data-refresh=\"true\"";
  1424. }
  1425. echo ">";
  1426. echo $this->getAttribute($context["quickmod"], "TITLE", array());
  1427. echo "</a></li>
  1428. \t\t\t\t";
  1429. }
  1430. $_parent = $context['_parent'];
  1431. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['quickmod'], $context['_parent'], $context['loop']);
  1432. $context = array_intersect_key($context, $_parent) + $_parent;
  1433. // line 420
  1434. echo "\t\t\t\t</ul>
  1435. \t\t\t</div>
  1436. \t\t</div>
  1437. \t";
  1438. }
  1439. // line 424
  1440. echo "
  1441. \t";
  1442. // line 425
  1443. // line 426
  1444. echo "
  1445. \t";
  1446. // line 427
  1447. if ((twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "pagination", array())) || (isset($context["TOTAL_POSTS"]) ? $context["TOTAL_POSTS"] : null))) {
  1448. // line 428
  1449. echo "\t\t<div class=\"pagination\">
  1450. \t\t\t";
  1451. // line 429
  1452. echo (isset($context["TOTAL_POSTS"]) ? $context["TOTAL_POSTS"] : null);
  1453. echo "
  1454. \t\t\t";
  1455. // line 430
  1456. if (twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "pagination", array()))) {
  1457. // line 431
  1458. echo "\t\t\t\t";
  1459. $location = "pagination.html";
  1460. $namespace = false;
  1461. if (strpos($location, '@') === 0) {
  1462. $namespace = substr($location, 1, strpos($location, '/') - 1);
  1463. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  1464. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  1465. }
  1466. $this->loadTemplate("pagination.html", "viewtopic_body.html", 431)->display($context);
  1467. if ($namespace) {
  1468. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  1469. }
  1470. // line 432
  1471. echo "\t\t\t";
  1472. } else {
  1473. // line 433
  1474. echo "\t\t\t\t&bull; ";
  1475. echo (isset($context["PAGE_NUMBER"]) ? $context["PAGE_NUMBER"] : null);
  1476. echo "
  1477. \t\t\t";
  1478. }
  1479. // line 435
  1480. echo "\t\t</div>
  1481. \t";
  1482. }
  1483. // line 437
  1484. echo "</div>
  1485. ";
  1486. // line 439
  1487. // line 440
  1488. $location = "jumpbox.html";
  1489. $namespace = false;
  1490. if (strpos($location, '@') === 0) {
  1491. $namespace = substr($location, 1, strpos($location, '/') - 1);
  1492. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  1493. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  1494. }
  1495. $this->loadTemplate("jumpbox.html", "viewtopic_body.html", 440)->display($context);
  1496. if ($namespace) {
  1497. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  1498. }
  1499. // line 441
  1500. echo "
  1501. ";
  1502. // line 442
  1503. if (((isset($context["S_DISPLAY_ONLINE_LIST"]) ? $context["S_DISPLAY_ONLINE_LIST"] : null) && (isset($context["U_VIEWONLINE"]) ? $context["U_VIEWONLINE"] : null))) {
  1504. // line 443
  1505. echo "\t<div class=\"stat-block online-list\">
  1506. \t\t<h4><a href=\"";
  1507. // line 444
  1508. echo (isset($context["U_VIEWONLINE"]) ? $context["U_VIEWONLINE"] : null);
  1509. echo "\">";
  1510. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("WHO_IS_ONLINE");
  1511. echo "</a></h4>
  1512. \t\t<p>";
  1513. // line 445
  1514. echo (isset($context["LOGGED_IN_USER_LIST"]) ? $context["LOGGED_IN_USER_LIST"] : null);
  1515. echo "</p>
  1516. \t</div>
  1517. ";
  1518. }
  1519. // line 448
  1520. echo "
  1521. ";
  1522. // line 449
  1523. $location = "overall_footer.html";
  1524. $namespace = false;
  1525. if (strpos($location, '@') === 0) {
  1526. $namespace = substr($location, 1, strpos($location, '/') - 1);
  1527. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  1528. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  1529. }
  1530. $this->loadTemplate("overall_footer.html", "viewtopic_body.html", 449)->display($context);
  1531. if ($namespace) {
  1532. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  1533. }
  1534. }
  1535. public function getTemplateName()
  1536. {
  1537. return "viewtopic_body.html";
  1538. }
  1539. public function isTraitable()
  1540. {
  1541. return false;
  1542. }
  1543. public function getDebugInfo()
  1544. {
  1545. return array ( 1545 => 449, 1542 => 448, 1536 => 445, 1530 => 444, 1527 => 443, 1525 => 442, 1522 => 441, 1510 => 440, 1509 => 439, 1505 => 437, 1501 => 435, 1495 => 433, 1492 => 432, 1479 => 431, 1477 => 430, 1473 => 429, 1470 => 428, 1468 => 427, 1465 => 426, 1464 => 425, 1461 => 424, 1455 => 420, 1440 => 418, 1436 => 417, 1432 => 416, 1423 => 410, 1419 => 409, 1414 => 408, 1412 => 407, 1409 => 406, 1405 => 404, 1393 => 403, 1388 => 402, 1386 => 401, 1383 => 400, 1371 => 399, 1368 => 398, 1366 => 397, 1362 => 395, 1356 => 393, 1350 => 391, 1348 => 390, 1337 => 389, 1335 => 388, 1332 => 387, 1331 => 386, 1328 => 385, 1327 => 384, 1324 => 383, 1310 => 381, 1308 => 380, 1305 => 379, 1300 => 377, 1293 => 372, 1292 => 371, 1289 => 370, 1288 => 369, 1283 => 367, 1277 => 365, 1276 => 364, 1273 => 363, 1272 => 362, 1266 => 358, 1265 => 357, 1262 => 356, 1253 => 355, 1251 => 354, 1245 => 353, 1242 => 352, 1238 => 350, 1229 => 349, 1225 => 348, 1222 => 347, 1220 => 346, 1217 => 345, 1208 => 344, 1204 => 343, 1201 => 342, 1198 => 341, 1191 => 340, 1190 => 339, 1187 => 338, 1183 => 336, 1174 => 334, 1170 => 333, 1165 => 331, 1161 => 329, 1159 => 328, 1154 => 326, 1151 => 325, 1143 => 322, 1140 => 321, 1138 => 320, 1135 => 319, 1128 => 315, 1124 => 314, 1119 => 313, 1113 => 311, 1111 => 310, 1107 => 309, 1101 => 307, 1099 => 306, 1093 => 303, 1089 => 302, 1085 => 301, 1081 => 300, 1077 => 299, 1070 => 296, 1068 => 295, 1065 => 294, 1064 => 293, 1054 => 291, 1042 => 288, 1035 => 287, 1023 => 285, 1021 => 284, 1018 => 283, 1017 => 282, 1014 => 281, 1012 => 280, 1009 => 279, 1005 => 277, 1003 => 276, 996 => 272, 990 => 271, 987 => 270, 984 => 269, 977 => 265, 971 => 264, 968 => 263, 965 => 262, 958 => 258, 952 => 257, 949 => 256, 946 => 255, 939 => 251, 933 => 250, 930 => 249, 927 => 248, 920 => 244, 914 => 243, 911 => 242, 908 => 241, 901 => 237, 895 => 236, 892 => 235, 889 => 234, 888 => 233, 885 => 232, 882 => 231, 879 => 230, 877 => 229, 874 => 228, 847 => 226, 846 => 225, 836 => 223, 833 => 222, 827 => 219, 823 => 218, 818 => 217, 816 => 216, 811 => 214, 807 => 213, 802 => 212, 799 => 211, 797 => 210, 791 => 206, 789 => 205, 782 => 200, 776 => 199, 772 => 197, 770 => 196, 763 => 194, 745 => 193, 741 => 191, 738 => 190, 734 => 189, 731 => 188, 727 => 187, 719 => 182, 715 => 181, 709 => 179, 706 => 178, 703 => 177, 702 => 176, 699 => 175, 697 => 174, 691 => 173, 680 => 171, 677 => 170, 672 => 169, 671 => 168, 668 => 167, 660 => 165, 657 => 164, 655 => 163, 652 => 162, 642 => 161, 632 => 160, 615 => 159, 612 => 158, 610 => 157, 599 => 156, 598 => 155, 594 => 153, 592 => 152, 583 => 151, 582 => 150, 579 => 149, 577 => 148, 574 => 147, 561 => 146, 558 => 145, 557 => 144, 542 => 142, 534 => 141, 506 => 138, 496 => 136, 493 => 135, 491 => 134, 487 => 133, 484 => 132, 483 => 131, 480 => 130, 471 => 124, 467 => 123, 460 => 119, 457 => 118, 449 => 115, 445 => 113, 443 => 112, 440 => 111, 434 => 108, 430 => 106, 428 => 105, 419 => 102, 412 => 100, 409 => 99, 403 => 98, 402 => 97, 389 => 95, 366 => 94, 340 => 93, 328 => 92, 308 => 91, 306 => 90, 302 => 89, 288 => 86, 284 => 85, 274 => 79, 272 => 78, 269 => 77, 268 => 76, 264 => 74, 262 => 73, 258 => 71, 252 => 69, 249 => 68, 236 => 67, 234 => 66, 223 => 65, 220 => 64, 218 => 63, 215 => 62, 207 => 57, 202 => 55, 196 => 54, 191 => 52, 187 => 51, 183 => 50, 178 => 48, 175 => 47, 173 => 46, 170 => 45, 168 => 44, 155 => 43, 154 => 42, 151 => 41, 147 => 39, 141 => 37, 135 => 35, 133 => 34, 122 => 33, 120 => 32, 117 => 31, 116 => 30, 112 => 28, 106 => 24, 101 => 22, 96 => 21, 88 => 19, 86 => 18, 77 => 15, 75 => 14, 72 => 13, 59 => 10, 56 => 9, 54 => 8, 51 => 7, 45 => 6, 42 => 5, 41 => 4, 32 => 3, 31 => 2, 19 => 1,);
  1546. }
  1547. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  1548. public function getSource()
  1549. {
  1550. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  1551. return $this->getSourceContext()->getCode();
  1552. }
  1553. public function getSourceContext()
  1554. {
  1555. return new Twig_Source("", "viewtopic_body.html", "");
  1556. }
  1557. }