/cache/production/twig/11/119da9f18c2884bcaff56b7bfce7a4870f3992a377539ddc4b796864a44a261d.php
PHP | 1585 lines | 1279 code | 28 blank | 278 comment | 134 complexity | cdd7e4fe2c053d091758f36bfe2730c8 MD5 | raw file
Possible License(s): AGPL-1.0, BSD-3-Clause
Large files files are truncated, but you can click here to view the full file
- <?php
- /* viewtopic_body.html */
- class __TwigTemplate_700600ca8a5db427d435ac72502fd35bf8ebd7203df7016a20064ed5ee23a633 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", "viewtopic_body.html", 1)->display($context);
- if ($namespace) {
- $this->env->setNamespaceLookUpOrder($previous_look_up_order);
- }
- // line 2
- // line 3
- echo "<h2 class=\"topic-title\">";
- echo "<a href=\"";
- echo (isset($context["U_VIEW_TOPIC"]) ? $context["U_VIEW_TOPIC"] : null);
- echo "\">";
- echo (isset($context["TOPIC_TITLE"]) ? $context["TOPIC_TITLE"] : null);
- echo "</a>";
- echo "</h2>
- ";
- // line 4
- // line 5
- echo "<!-- NOTE: remove the style=\"display: none\" when you want to have the forum description on the topic body -->
- ";
- // line 6
- if ((isset($context["FORUM_DESC"]) ? $context["FORUM_DESC"] : null)) {
- echo "<div style=\"display: none !important;\">";
- echo (isset($context["FORUM_DESC"]) ? $context["FORUM_DESC"] : null);
- echo "<br /></div>";
- }
- // line 7
- echo "
- ";
- // line 8
- if ((isset($context["MODERATORS"]) ? $context["MODERATORS"] : null)) {
- // line 9
- echo "<p>
- \t<strong>";
- // line 10
- if ((isset($context["S_SINGLE_MODERATOR"]) ? $context["S_SINGLE_MODERATOR"] : null)) {
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("MODERATOR");
- } else {
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("MODERATORS");
- }
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
- echo "</strong> ";
- echo (isset($context["MODERATORS"]) ? $context["MODERATORS"] : null);
- echo "
- </p>
- ";
- }
- // line 13
- echo "
- ";
- // line 14
- if ((isset($context["S_FORUM_RULES"]) ? $context["S_FORUM_RULES"] : null)) {
- // line 15
- echo "\t<div class=\"rules";
- if ((isset($context["U_FORUM_RULES"]) ? $context["U_FORUM_RULES"] : null)) {
- echo " rules-link";
- }
- echo "\">
- \t\t<div class=\"inner\">
- \t\t";
- // line 18
- if ((isset($context["U_FORUM_RULES"]) ? $context["U_FORUM_RULES"] : null)) {
- // line 19
- echo "\t\t\t<a href=\"";
- echo (isset($context["U_FORUM_RULES"]) ? $context["U_FORUM_RULES"] : null);
- echo "\">";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FORUM_RULES");
- echo "</a>
- \t\t";
- } else {
- // line 21
- echo "\t\t\t<strong>";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FORUM_RULES");
- echo "</strong><br />
- \t\t\t";
- // line 22
- echo (isset($context["FORUM_RULES"]) ? $context["FORUM_RULES"] : null);
- echo "
- \t\t";
- }
- // line 24
- echo "
- \t\t</div>
- \t</div>
- ";
- }
- // line 28
- echo "
- <div class=\"action-bar bar-top\">
- \t";
- // line 30
- // line 31
- echo "
- \t";
- // line 32
- if (( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null) && (isset($context["S_DISPLAY_REPLY_INFO"]) ? $context["S_DISPLAY_REPLY_INFO"] : null))) {
- // line 33
- echo "\t\t<a href=\"";
- echo (isset($context["U_POST_REPLY_TOPIC"]) ? $context["U_POST_REPLY_TOPIC"] : null);
- echo "\" class=\"postbutton\" title=\"";
- if ((isset($context["S_IS_LOCKED"]) ? $context["S_IS_LOCKED"] : null)) {
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC_LOCKED");
- } else {
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_REPLY");
- }
- echo "\">
- \t\t\t";
- // line 34
- if ((isset($context["S_IS_LOCKED"]) ? $context["S_IS_LOCKED"] : null)) {
- // line 35
- echo "\t\t\t\t<span>";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BUTTON_TOPIC_LOCKED");
- echo "</span> <i class=\"icon fa-lock fa-fw\" aria-hidden=\"true\"></i>
- \t\t\t";
- } else {
- // line 37
- echo "\t\t\t\t<span>";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BUTTON_POST_REPLY");
- echo "</span> <i class=\"icon fa-reply fa-fw\" aria-hidden=\"true\"></i>
- \t\t\t";
- }
- // line 39
- echo "\t\t</a>
- \t";
- }
- // line 41
- echo "
- \t";
- // line 42
- // line 43
- echo "\t";
- $location = "viewtopic_topic_tools.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("viewtopic_topic_tools.html", "viewtopic_body.html", 43)->display($context);
- if ($namespace) {
- $this->env->setNamespaceLookUpOrder($previous_look_up_order);
- }
- // line 44
- echo "\t";
- // line 45
- echo "
- \t";
- // line 46
- if ((isset($context["S_DISPLAY_SEARCHBOX"]) ? $context["S_DISPLAY_SEARCHBOX"] : null)) {
- // line 47
- echo "\t\t<div class=\"search-box\" role=\"search\">
- \t\t\t<form method=\"get\" id=\"topic-search\" action=\"";
- // line 48
- echo (isset($context["S_SEARCHBOX_ACTION"]) ? $context["S_SEARCHBOX_ACTION"] : null);
- echo "\">
- \t\t\t<fieldset>
- \t\t\t\t<input class=\"inputbox search tiny\" type=\"search\" name=\"keywords\" id=\"search_keywords\" size=\"20\" placeholder=\"";
- // line 50
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_TOPIC");
- echo "\" />
- \t\t\t\t<button class=\"button button-search\" type=\"submit\" title=\"";
- // line 51
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH");
- echo "\">
- \t\t\t\t\t<i class=\"icon fa-search fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
- // line 52
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH");
- echo "</span>
- \t\t\t\t</button>
- \t\t\t\t<a href=\"";
- // line 54
- echo (isset($context["U_SEARCH"]) ? $context["U_SEARCH"] : null);
- echo "\" class=\"button button-search-end\" title=\"";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_ADV");
- echo "\">
- \t\t\t\t\t<i class=\"icon fa-cog fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
- // line 55
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_ADV");
- echo "</span>
- \t\t\t\t</a>
- \t\t\t\t";
- // line 57
- echo (isset($context["S_SEARCH_LOCAL_HIDDEN_FIELDS"]) ? $context["S_SEARCH_LOCAL_HIDDEN_FIELDS"] : null);
- echo "
- \t\t\t</fieldset>
- \t\t\t</form>
- \t\t</div>
- \t";
- }
- // line 62
- echo "
- \t";
- // line 63
- if ((twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "pagination", array())) || (isset($context["TOTAL_POSTS"]) ? $context["TOTAL_POSTS"] : null))) {
- // line 64
- echo "\t\t<div class=\"pagination\">
- \t\t\t";
- // line 65
- if (((isset($context["U_VIEW_UNREAD_POST"]) ? $context["U_VIEW_UNREAD_POST"] : null) && !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null))) {
- echo "<a href=\"";
- echo (isset($context["U_VIEW_UNREAD_POST"]) ? $context["U_VIEW_UNREAD_POST"] : null);
- echo "\" class=\"mark\">";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEW_UNREAD_POST");
- echo "</a> • ";
- }
- echo (isset($context["TOTAL_POSTS"]) ? $context["TOTAL_POSTS"] : null);
- echo "
- \t\t\t";
- // line 66
- if (twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "pagination", array()))) {
- // line 67
- echo "\t\t\t\t";
- $location = "pagination.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("pagination.html", "viewtopic_body.html", 67)->display($context);
- if ($namespace) {
- $this->env->setNamespaceLookUpOrder($previous_look_up_order);
- }
- // line 68
- echo "\t\t\t";
- } else {
- // line 69
- echo "\t\t\t\t• ";
- echo (isset($context["PAGE_NUMBER"]) ? $context["PAGE_NUMBER"] : null);
- echo "
- \t\t\t";
- }
- // line 71
- echo "\t\t</div>
- \t";
- }
- // line 73
- echo "\t";
- // line 74
- echo "</div>
- ";
- // line 76
- // line 77
- echo "
- ";
- // line 78
- if ((isset($context["S_HAS_POLL"]) ? $context["S_HAS_POLL"] : null)) {
- // line 79
- echo "\t<form method=\"post\" action=\"";
- echo (isset($context["S_POLL_ACTION"]) ? $context["S_POLL_ACTION"] : null);
- echo "\" data-ajax=\"vote_poll\" class=\"topic_poll\">
- \t<div class=\"panel\">
- \t\t<div class=\"inner\">
- \t\t<div class=\"content\">
- \t\t\t<h2 class=\"poll-title\">";
- // line 85
- echo (isset($context["POLL_QUESTION"]) ? $context["POLL_QUESTION"] : null);
- echo "</h2>
- \t\t\t<p class=\"author\">";
- // line 86
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POLL_LENGTH");
- if (((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null) && (isset($context["L_POLL_LENGTH"]) ? $context["L_POLL_LENGTH"] : null))) {
- echo "<br />";
- }
- if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
- echo "<span class=\"poll_max_votes\">";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("MAX_VOTES");
- echo "</span>";
- }
- echo "</p>
- \t\t\t<fieldset class=\"polls\">
- \t\t\t";
- // line 89
- $context['_parent'] = $context;
- $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "poll_option", array()));
- foreach ($context['_seq'] as $context["_key"] => $context["poll_option"]) {
- // line 90
- echo "\t\t\t\t";
- // line 91
- echo "\t\t\t\t<dl class=\"";
- if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
- echo "voted";
- }
- if ($this->getAttribute($context["poll_option"], "POLL_OPTION_MOST_VOTES", array())) {
- echo " most-votes";
- }
- echo "\"";
- if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
- echo " title=\"";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POLL_VOTED_OPTION");
- echo "\"";
- }
- echo " data-alt-text=\"";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POLL_VOTED_OPTION");
- echo "\" data-poll-option-id=\"";
- echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
- echo "\">
- \t\t\t\t\t<dt>";
- // line 92
- if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
- echo "<label for=\"vote_";
- echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
- echo "\">";
- echo $this->getAttribute($context["poll_option"], "POLL_OPTION_CAPTION", array());
- echo "</label>";
- } else {
- echo $this->getAttribute($context["poll_option"], "POLL_OPTION_CAPTION", array());
- }
- echo "</dt>
- \t\t\t\t\t";
- // line 93
- if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
- echo "<dd style=\"width: auto;\" class=\"poll_option_select\">";
- if ((isset($context["S_IS_MULTI_CHOICE"]) ? $context["S_IS_MULTI_CHOICE"] : null)) {
- echo "<input type=\"checkbox\" name=\"vote_id[]\" id=\"vote_";
- echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
- echo "\" value=\"";
- echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
- echo "\"";
- if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
- echo " checked=\"checked\"";
- }
- echo " />";
- } else {
- echo "<input type=\"radio\" name=\"vote_id[]\" id=\"vote_";
- echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
- echo "\" value=\"";
- echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
- echo "\"";
- if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
- echo " checked=\"checked\"";
- }
- echo " />";
- }
- echo "</dd>";
- }
- // line 94
- echo "\t\t\t\t\t<dd class=\"resultbar";
- if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
- echo " hidden";
- }
- echo "\"><div class=\"";
- if (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 20)) {
- echo "pollbar1";
- } elseif (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 40)) {
- echo "pollbar2";
- } elseif (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 60)) {
- echo "pollbar3";
- } elseif (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 80)) {
- echo "pollbar4";
- } else {
- echo "pollbar5";
- }
- echo "\" style=\"width:";
- echo $this->getAttribute($context["poll_option"], "POLL_OPTION_PERCENT_REL", array());
- echo ";\">";
- echo $this->getAttribute($context["poll_option"], "POLL_OPTION_RESULT", array());
- echo "</div></dd>
- \t\t\t\t\t<dd class=\"poll_option_percent";
- // line 95
- if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
- echo " hidden";
- }
- echo "\">";
- if (($this->getAttribute($context["poll_option"], "POLL_OPTION_RESULT", array()) == 0)) {
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("NO_VOTES");
- } else {
- echo $this->getAttribute($context["poll_option"], "POLL_OPTION_PERCENT", array());
- }
- echo "</dd>
- \t\t\t\t</dl>
- \t\t\t\t";
- // line 97
- // line 98
- echo "\t\t\t";
- }
- $_parent = $context['_parent'];
- unset($context['_seq'], $context['_iterated'], $context['_key'], $context['poll_option'], $context['_parent'], $context['loop']);
- $context = array_intersect_key($context, $_parent) + $_parent;
- // line 99
- echo "
- \t\t\t\t<dl class=\"poll_total_votes";
- // line 100
- if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
- echo " hidden";
- }
- echo "\">
- \t\t\t\t\t<dt> </dt>
- \t\t\t\t\t<dd class=\"resultbar\">";
- // line 102
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOTAL_VOTES");
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
- echo " <span class=\"poll_total_vote_cnt\">";
- echo (isset($context["TOTAL_VOTES"]) ? $context["TOTAL_VOTES"] : null);
- echo "</span></dd>
- \t\t\t\t</dl>
- \t\t\t";
- // line 105
- if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
- // line 106
- echo "\t\t\t\t<dl style=\"border-top: none;\" class=\"poll_vote\">
- \t\t\t\t\t<dt> </dt>
- \t\t\t\t\t<dd class=\"resultbar\"><input type=\"submit\" name=\"update\" value=\"";
- // line 108
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SUBMIT_VOTE");
- echo "\" class=\"button1\" /></dd>
- \t\t\t\t</dl>
- \t\t\t";
- }
- // line 111
- echo "
- \t\t\t";
- // line 112
- if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
- // line 113
- echo "\t\t\t\t<dl style=\"border-top: none;\" class=\"poll_view_results\">
- \t\t\t\t\t<dt> </dt>
- \t\t\t\t\t<dd class=\"resultbar\"><a href=\"";
- // line 115
- echo (isset($context["U_VIEW_RESULTS"]) ? $context["U_VIEW_RESULTS"] : null);
- echo "\">";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEW_RESULTS");
- echo "</a></dd>
- \t\t\t\t</dl>
- \t\t\t";
- }
- // line 118
- echo "\t\t\t</fieldset>
- \t\t\t<div class=\"vote-submitted hidden\">";
- // line 119
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VOTE_SUBMITTED");
- echo "</div>
- \t\t</div>
- \t\t</div>
- \t\t";
- // line 123
- echo (isset($context["S_FORM_TOKEN"]) ? $context["S_FORM_TOKEN"] : null);
- echo "
- \t\t";
- // line 124
- echo (isset($context["S_HIDDEN_FIELDS"]) ? $context["S_HIDDEN_FIELDS"] : null);
- echo "
- \t</div>
- \t</form>
- \t<hr />
- ";
- }
- // line 130
- echo "
- ";
- // line 131
- // line 132
- echo "
- ";
- // line 133
- $context['_parent'] = $context;
- $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "postrow", array()));
- foreach ($context['_seq'] as $context["_key"] => $context["postrow"]) {
- // line 134
- echo "\t";
- // line 135
- echo "\t";
- if ($this->getAttribute($context["postrow"], "S_FIRST_UNREAD", array())) {
- // line 136
- echo "\t\t<a id=\"unread\" class=\"anchor\"";
- if ((isset($context["S_UNREAD_VIEW"]) ? $context["S_UNREAD_VIEW"] : null)) {
- echo " data-url=\"";
- echo $this->getAttribute($context["postrow"], "U_MINI_POST", array());
- echo "\"";
- }
- echo "></a>
- \t";
- }
- // line 138
- echo "\t<div id=\"p";
- echo $this->getAttribute($context["postrow"], "POST_ID", array());
- echo "\" class=\"post has-profile ";
- if (($this->getAttribute($context["postrow"], "S_ROW_COUNT", array()) % 2 == 1)) {
- echo "bg1";
- } else {
- echo "bg2";
- }
- if ($this->getAttribute($context["postrow"], "S_UNREAD_POST", array())) {
- echo " unreadpost";
- }
- if ($this->getAttribute($context["postrow"], "S_POST_REPORTED", array())) {
- echo " reported";
- }
- if ($this->getAttribute($context["postrow"], "S_POST_DELETED", array())) {
- echo " deleted";
- }
- if (($this->getAttribute($context["postrow"], "S_ONLINE", array()) && !$this->getAttribute($context["postrow"], "S_POST_HIDDEN", array()))) {
- echo " online";
- }
- if ($this->getAttribute($context["postrow"], "POSTER_WARNINGS", array())) {
- echo " warned";
- }
- echo "\">
- \t\t<div class=\"inner\">
- \t\t<dl class=\"postprofile\" id=\"profile";
- // line 141
- echo $this->getAttribute($context["postrow"], "POST_ID", array());
- echo "\"";
- if ($this->getAttribute($context["postrow"], "S_POST_HIDDEN", array())) {
- echo " style=\"display: none;\"";
- }
- echo ">
- \t\t\t<dt class=\"";
- // line 142
- if (($this->getAttribute($context["postrow"], "RANK_TITLE", array()) || $this->getAttribute($context["postrow"], "RANK_IMG", array()))) {
- echo "has-profile-rank";
- } else {
- echo "no-profile-rank";
- }
- echo " ";
- if ($this->getAttribute($context["postrow"], "POSTER_AVATAR", array())) {
- echo "has-avatar";
- } else {
- echo "no-avatar";
- }
- echo "\">
- \t\t\t\t<div class=\"avatar-container\">
- \t\t\t\t\t";
- // line 144
- // line 145
- echo "\t\t\t\t\t";
- if ($this->getAttribute($context["postrow"], "POSTER_AVATAR", array())) {
- // line 146
- echo "\t\t\t\t\t\t";
- if ($this->getAttribute($context["postrow"], "U_POST_AUTHOR", array())) {
- echo "<a href=\"";
- echo $this->getAttribute($context["postrow"], "U_POST_AUTHOR", array());
- echo "\" class=\"avatar\">";
- echo $this->getAttribute($context["postrow"], "POSTER_AVATAR", array());
- echo "</a>";
- } else {
- echo "<span class=\"avatar\">";
- echo $this->getAttribute($context["postrow"], "POSTER_AVATAR", array());
- echo "</span>";
- }
- // line 147
- echo "\t\t\t\t\t";
- }
- // line 148
- echo "\t\t\t\t\t";
- // line 149
- echo "\t\t\t\t</div>
- \t\t\t\t";
- // line 150
- // line 151
- echo "\t\t\t\t";
- if ( !$this->getAttribute($context["postrow"], "U_POST_AUTHOR", array())) {
- echo "<strong>";
- echo $this->getAttribute($context["postrow"], "POST_AUTHOR_FULL", array());
- echo "</strong>";
- } else {
- echo $this->getAttribute($context["postrow"], "POST_AUTHOR_FULL", array());
- }
- // line 152
- echo "\t\t\t\t";
- // line 153
- echo "\t\t\t</dt>
- \t\t\t";
- // line 155
- // line 156
- echo "\t\t\t";
- if (($this->getAttribute($context["postrow"], "RANK_TITLE", array()) || $this->getAttribute($context["postrow"], "RANK_IMG", array()))) {
- echo "<dd class=\"profile-rank\">";
- echo $this->getAttribute($context["postrow"], "RANK_TITLE", array());
- if (($this->getAttribute($context["postrow"], "RANK_TITLE", array()) && $this->getAttribute($context["postrow"], "RANK_IMG", array()))) {
- echo "<br />";
- }
- echo $this->getAttribute($context["postrow"], "RANK_IMG", array());
- echo "</dd>";
- }
- // line 157
- echo "\t\t\t";
- // line 158
- echo "
- \t\t";
- // line 159
- if (($this->getAttribute($context["postrow"], "POSTER_POSTS", array()) != "")) {
- echo "<dd class=\"profile-posts\"><strong>";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POSTS");
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
- echo "</strong> ";
- if (($this->getAttribute($context["postrow"], "U_SEARCH", array()) !== "")) {
- echo "<a href=\"";
- echo $this->getAttribute($context["postrow"], "U_SEARCH", array());
- echo "\">";
- }
- echo $this->getAttribute($context["postrow"], "POSTER_POSTS", array());
- if (($this->getAttribute($context["postrow"], "U_SEARCH", array()) !== "")) {
- echo "</a>";
- }
- echo "</dd>";
- }
- // line 160
- echo "\t\t";
- if ($this->getAttribute($context["postrow"], "POSTER_JOINED", array())) {
- echo "<dd class=\"profile-joined\"><strong>";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("JOINED");
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
- echo "</strong> ";
- echo $this->getAttribute($context["postrow"], "POSTER_JOINED", array());
- echo "</dd>";
- }
- // line 161
- echo "\t\t";
- if ($this->getAttribute($context["postrow"], "POSTER_WARNINGS", array())) {
- echo "<dd class=\"profile-warnings\"><strong>";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("WARNINGS");
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
- echo "</strong> ";
- echo $this->getAttribute($context["postrow"], "POSTER_WARNINGS", array());
- echo "</dd>";
- }
- // line 162
- echo "
- \t\t";
- // line 163
- if ($this->getAttribute($context["postrow"], "S_PROFILE_FIELD1", array())) {
- // line 164
- echo "\t\t\t<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
- \t\t\t<dd><strong>";
- // line 165
- echo $this->getAttribute($context["postrow"], "PROFILE_FIELD1_NAME", array());
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
- echo "</strong> ";
- echo $this->getAttribute($context["postrow"], "PROFILE_FIELD1_VALUE", array());
- echo "</dd>
- \t\t";
- }
- // line 167
- echo "
- \t\t";
- // line 168
- // line 169
- echo "\t\t";
- $context['_parent'] = $context;
- $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["postrow"], "custom_fields", array()));
- foreach ($context['_seq'] as $context["_key"] => $context["custom_fields"]) {
- // line 170
- echo "\t\t\t";
- if ( !$this->getAttribute($context["custom_fields"], "S_PROFILE_CONTACT", array())) {
- // line 171
- echo "\t\t\t\t<dd class=\"profile-custom-field profile-";
- echo $this->getAttribute($context["custom_fields"], "PROFILE_FIELD_IDENT", array());
- echo "\"><strong>";
- echo $this->getAttribute($context["custom_fields"], "PROFILE_FIELD_NAME", array());
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
- echo "</strong> ";
- echo $this->getAttribute($context["custom_fields"], "PROFILE_FIELD_VALUE", array());
- echo "</dd>
- \t\t\t";
- }
- // line 173
- echo "\t\t";
- }
- $_parent = $context['_parent'];
- unset($context['_seq'], $context['_iterated'], $context['_key'], $context['custom_fields'], $context['_parent'], $context['loop']);
- $context = array_intersect_key($context, $_parent) + $_parent;
- // line 174
- echo "\t\t";
- // line 175
- echo "
- \t\t";
- // line 176
- // line 177
- echo "\t\t";
- if (( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null) && twig_length_filter($this->env, $this->getAttribute($context["postrow"], "contact", array())))) {
- // line 178
- echo "\t\t\t<dd class=\"profile-contact\">
- \t\t\t\t<strong>";
- // line 179
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("CONTACT");
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
- echo "</strong>
- \t\t\t\t<div class=\"dropdown-container dropdown-left\">
- \t\t\t\t\t<a href=\"#\" class=\"dropdown-trigger\" title=\"";
- // line 181
- echo $this->getAttribute($context["postrow"], "CONTACT_USER", array());
- echo "\">
- \t\t\t\t\t\t<i class=\"icon fa-commenting-o fa-fw icon-lg\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
- // line 182
- echo $this->getAttribute($context["postrow"], "CONTACT_USER", array());
- echo "</span>
- \t\t\t\t\t</a>
- \t\t\t\t\t<div class=\"dropdown\">
- \t\t\t\t\t\t<div class=\"pointer\"><div class=\"pointer-inner\"></div></div>
- \t\t\t\t\t\t<div class=\"dropdown-contents contact-icons\">
- \t\t\t\t\t\t\t";
- // line 187
- $context['_parent'] = $context;
- $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["postrow"], "contact", array()));
- foreach ($context['_seq'] as $context["_key"] => $context["contact"]) {
- // line 188
- echo "\t\t\t\t\t\t\t\t";
- $context["REMAINDER"] = ($this->getAttribute($context["contact"], "S_ROW_COUNT", array()) % 4);
- // line 189
- echo "\t\t\t\t\t\t\t\t";
- $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)));
- $context['definition']->set('S_LAST_CELL', $value);
- // line 190
- echo "\t\t\t\t\t\t\t\t";
- if (((isset($context["REMAINDER"]) ? $context["REMAINDER"] : null) == 0)) {
- // line 191
- echo "\t\t\t\t\t\t\t\t\t<div>
- \t\t\t\t\t\t\t\t";
- }
- // line 193
- echo "\t\t\t\t\t\t\t\t\t<a href=\"";
- if ($this->getAttribute($context["contact"], "U_CONTACT", array())) {
- echo $this->getAttribute($context["contact"], "U_CONTACT", array());
- } else {
- echo $this->getAttribute($context["postrow"], "U_POST_AUTHOR", array());
- }
- echo "\" title=\"";
- echo $this->getAttribute($context["contact"], "NAME", array());
- echo "\"";
- if ($this->getAttribute((isset($context["definition"]) ? $context["definition"] : null), "S_LAST_CELL", array())) {
- echo " class=\"last-cell\"";
- }
- if (($this->getAttribute($context["contact"], "ID", array()) == "jabber")) {
- echo " onclick=\"popup(this.href, 750, 320); return false;\"";
- }
- echo ">
- \t\t\t\t\t\t\t\t\t\t<span class=\"contact-icon ";
- // line 194
- echo $this->getAttribute($context["contact"], "ID", array());
- echo "-icon\">";
- echo $this->getAttribute($context["contact"], "NAME", array());
- echo "</span>
- \t\t\t\t\t\t\t\t\t</a>
- \t\t\t\t\t\t\t\t";
- // line 196
- if ((((isset($context["REMAINDER"]) ? $context["REMAINDER"] : null) == 3) || $this->getAttribute($context["contact"], "S_LAST_ROW", array()))) {
- // line 197
- echo "\t\t\t\t\t\t\t\t\t</div>
- \t\t\t\t\t\t\t\t";
- }
- // line 199
- echo "\t\t\t\t\t\t\t";
- }
- $_parent = $context['_parent'];
- unset($context['_seq'], $context['_iterated'], $context['_key'], $context['contact'], $context['_parent'], $context['loop']);
- $context = array_intersect_key($context, $_parent) + $_parent;
- // line 200
- echo "\t\t\t\t\t\t</div>
- \t\t\t\t\t</div>
- \t\t\t\t</div>
- \t\t\t</dd>
- \t\t";
- }
- // line 205
- echo "\t\t";
- // line 206
- echo "
- \t\t</dl>
- \t\t<div class=\"postbody\">
- \t\t\t";
- // line 210
- if ($this->getAttribute($context["postrow"], "S_POST_HIDDEN", array())) {
- // line 211
- echo "\t\t\t\t";
- if ($this->getAttribute($context["postrow"], "S_POST_DELETED", array())) {
- // line 212
- echo "\t\t\t\t\t<div class=\"ignore\" id=\"post_hidden";
- echo $this->getAttribute($context["postrow"], "POST_ID", array());
- echo "\">
- \t\t\t\t\t\t";
- // line 213
- echo $this->getAttribute($context["postrow"], "L_POST_DELETED_MESSAGE", array());
- echo "<br />
- \t\t\t\t\t\t";
- // line 214
- echo $this->getAttribute($context["postrow"], "L_POST_DISPLAY", array());
- echo "
- \t\t\t\t\t</div>
- \t\t\t\t";
- } elseif ($this->getAttribute( // line 216
- $context["postrow"], "S_IGNORE_POST", array())) {
- // line 217
- echo "\t\t\t\t\t<div class=\"ignore\" id=\"post_hidden";
- echo $this->getAttribute($context["postrow"], "POST_ID", array());
- echo "\">
- \t\t\t\t\t\t";
- // line 218
- echo $this->getAttribute($context["postrow"], "L_IGNORE_POST", array());
- echo "<br />
- \t\t\t\t\t\t";
- // line 219
- echo $this->getAttribute($context["postrow"], "L_POST_DISPLAY", array());
- echo "
- \t\t\t\t\t</div>
- \t\t\t\t";
- }
- // line 222
- echo "\t\t\t";
- }
- // line 223
- echo "\t\t\t<div id=\"post_content";
- echo $this->getAttribute($context["postrow"], "POST_ID", array());
- echo "\"";
- if ($this->getAttribute($context["postrow"], "S_POST_HIDDEN", array())) {
- echo " style=\"display: none;\"";
- }
- echo ">
- \t\t\t";
- // line 225
- // line 226
- echo "\t\t\t<h5 ";
- if ($this->getAttribute($context["postrow"], "S_FIRST_ROW", array())) {
- echo "class=\"first\"";
- }
- echo ">";
- if ($this->getAttribute($context["postrow"], "POST_ICON_IMG", array())) {
- echo "<img src=\"";
- echo (isset($context["T_ICONS_PATH"]) ? $context["T_ICONS_PATH"] : null);
- echo $this->getAttribute($context["postrow"], "POST_ICON_IMG", array());
- echo "\" width=\"";
- echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_WIDTH", array());
- echo "\" height=\"";
- echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_HEIGHT", array());
- echo "\" alt=\"";
- echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_ALT", array());
- echo "\" title=\"";
- echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_ALT", array());
- echo "\" /> ";
- }
- echo "<a href=\"#p";
- echo $this->getAttribute($context["postrow"], "POST_ID", array());
- echo "\">";
- echo $this->getAttribute($context["postrow"], "POST_SUBJECT", array());
- echo "</a></h5>
- \t\t";
- // line 228
- $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()));
- $context['definition']->set('SHOW_POST_BUTTONS', $value);
- // line 229
- echo "\t\t";
- // line 230
- echo "\t\t";
- if ( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null)) {
- // line 231
- echo "\t\t\t";
- if ($this->getAttribute((isset($context["definition"]) ? $context["definition"] : null), "SHOW_POST_BUTTONS", array())) {
- // line 232
- echo "\t\t\t\t<ul class=\"post-buttons\">
- \t\t\t\t\t";
- // line 233
- // line 234
- echo "\t\t\t\t\t";
- if ($this->getAttribute($context["postrow"], "U_EDIT", array())) {
- // line 235
- echo "\t\t\t\t\t\t<li>
- \t\t\t\t\t\t\t<a href=\"";
- // line 236
- echo $this->getAttribute($context["postrow"], "U_EDIT", array());
- echo "\" title=\"";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("EDIT_POST");
- echo "\" class=\"button button-icon-only\">
- \t\t\t\t\t\t\t\t<i class=\"icon fa-pencil fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
- // line 237
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BUTTON_EDIT");
- echo "</span>
- \t\t\t\t\t\t\t</a>
- \t\t\t\t\t\t</li>
- \t\t\t\t\t";
- }
- // line 241
- echo "\t\t\t\t\t";
- if ($this->getAttribute($context["postrow"], "U_DELETE", array())) {
- // line 242
- echo "\t\t\t\t\t\t<li>
- \t\t\t\t\t\t\t<a href=\"";
- // line 243
- echo $this->getAttribute($context["postrow"], "U_DELETE", array());
- echo "\" title=\"";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("DELETE_POST");
- echo "\" class=\"button button-icon-only\">
- \t\t\t\t\t\t\t\t<i class=\"icon fa-times fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
- // line 244
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("DELETE_POST");
- echo "</span>
- \t\t\t\t\t\t\t</a>
- \t\t\t\t\t\t</li>
- \t\t\t\t\t";
- }
- // line 248
- echo "\t\t\t\t\t";
- if ($this->getAttribute($context["postrow"], "U_REPORT", array())) {
- // line 249
- echo "\t\t\t\t\t\t<li>
- \t\t\t\t\t\t\t<a href=\"";
- // line 250
- echo $this->getAttribute($context["postrow"], "U_REPORT", array());
- echo "\" title=\"";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPORT_POST");
- echo "\" class=\"button button-icon-only\">
- \t\t\t\t\t\t\t\t<i class=\"icon fa-exclamation fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
- // line 251
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPORT_POST");
- echo "</span>
- \t\t\t\t\t\t\t</a>
- \t\t\t\t\t\t</li>
- \t\t\t\t\t";
- }
- // line 255
- echo "\t\t\t\t\t";
- if ($this->getAttribute($context["postrow"], "U_WARN", array())) {
- // line 256
- echo "\t\t\t\t\t\t<li>
- \t\t\t\t\t\t\t<a href=\"";
- // line 257
- echo $this->getAttribute($context["postrow"], "U_WARN", array());
- echo "\" title=\"";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("WARN_USER");
- echo "\" class=\"button button-icon-only\">
- \t\t\t\t\t\t\t\t<i class=\"icon fa-exclamation-triangle fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
- // line 258
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("WARN_USER");
- echo "</span>
- \t\t\t\t\t\t\t</a>
- \t\t\t\t\t\t</li>
- \t\t\t\t\t";
- }
- // line 262
- echo "\t\t\t\t\t";
- if ($this->getAttribute($context["postrow"], "U_INFO", array())) {
- // line 263
- echo "\t\t\t\t\t\t<li>
- \t\t\t\t\t\t\t<a href=\"";
- // line 264
- echo $this->getAttribute($context["postrow"], "U_INFO", array());
- echo "\" title=\"";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("INFORMATION");
- echo "\" class=\"button button-icon-only\">
- \t\t\t\t\t\t\t\t<i class=\"icon fa-info fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
- // line 265
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("INFORMATION");
- echo "</span>
- \t\t\t\t\t\t\t</a>
- \t\t\t\t\t\t</li>
- \t\t\t\t\t";
- }
- // line 269
- echo "\t\t\t\t\t";
- if ($this->getAttribute($context["postrow"], "U_QUOTE", array())) {
- // line 270
- echo "\t\t\t\t\t\t<li>
- \t\t\t\t\t\t\t<a href=\"";
- // line 271
- echo $this->getAttribute($context["postrow"], "U_QUOTE", array());
- echo "\" title=\"";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPLY_WITH_QUOTE");
- echo "\" class=\"button button-icon-only\">
- \t\t\t\t\t\t\t\t<i class=\"icon fa-quote-left fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
- // line 272
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("QUOTE");
- echo "</span>
- \t\t\t\t\t\t\t</a>
- \t\t\t\t\t\t</li>
- \t\t\t\t\t";
- }
- // line 276
- echo "\t\t\t\t\t";
- // line 277
- echo "\t\t\t\t</ul>
- \t\t\t";
- }
- // line 279
- echo "\t\t";
- }
- // line 280
- echo "\t\t";
- // line 281
- echo "
- \t\t\t";
- // line 282
- // line 283
- echo "\t\t\t<p class=\"author\">
- \t\t\t\t";
- // line 284
- if ((isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null)) {
- // line 285
- echo "\t\t\t\t\t<span><i class=\"icon fa-file fa-fw ";
- if ($this->getAttribute($context["postrow"], "S_UNREAD_POST", array())) {
- echo "icon-red";
- } else {
- echo "icon-lightgray";
- }
- echo " icon-md\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
- echo $this->getAttribute($context["postrow"], "MINI_POST", array());
- echo "</span></span>
- \t\t\t\t";
- } else {
- // line 287
- echo "\t\t\t\t\t<a class=\"unread\" href=\"";
- echo $this->getAttribute($context["postrow"], "U_MINI_POST", array());
- echo "\" title=\"";
- echo $this->getAttribute($context["postrow"], "MINI_POST", array());
- echo "\">
- \t\t\t\t\t\t<i class=\"icon fa-file fa-fw ";
- // line 288
- if ($this->getAttribute($context["postrow"], "S_UNREAD_POST", array())) {
- echo "icon-red";
- } else {
- echo "icon-lightgray";
- }
- echo " icon-md\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
- echo $this->getAttribute($context["postrow"], "MINI_POST", array());
- echo "</span>
- \t\t\t\t\t</a>
- \t\t\t\t";
- }
- // line 291
- echo "\t\t\t\t<span class=\"responsive-hide\">";
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
- echo " <strong>";
- echo $this->getAttribute($context["postrow"], "POST_AUTHOR_FULL", array());
- echo "</strong> » </span>";
- echo $this->getAttribute($context["postrow"], "POST_DATE", array());
- echo "
- \t\t\t</p>
- \t\t\t";
- // line 293
- // line 294
- echo "
- \t\t\t";
- // line 295
- if ($this->getAttribute($context["postrow"], "S_POST_UNAPPROVED", array())) {
- // line 296
- echo "\t\t\t<form method=\"post\" class=\"mcp_approve\" action=\"";
- echo $this->getAttribute($context["postrow"], "U_APPROVE_ACTION", array());
- echo "\">
- \t\t\t\t<p class=\"post-notice unapproved\">
- \t\t\t\t\t<span><i class=\"icon fa-question icon-red fa-fw\" aria-hidden=\"true\"></i></span>
- \t\t\t\t\t<strong>";
- // line 299
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_UNAPPROVED_ACTION");
- echo "</strong>
- \t\t\t\t\t<input class=\"button2\" type=\"submit\" value=\"";
- // line 300
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("DISAPPROVE");
- echo "\" name=\"action[disapprove]\" />
- \t\t\t\t\t<input class=\"button1\" type=\"submit\" value=\"";
- // line 301
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("APPROVE");
- echo "\" name=\"action[approve]\" />
- \t\t\t\t\t<input type=\"hidden\" name=\"post_id_list[]\" value=\"";
- // line 302
- echo $this->getAttribute($context["postrow"], "POST_ID", array());
- echo "\" />
- \t\t\t\t\t";
- // line 303
- echo (isset($context["S_FORM_TOKEN"]) ? $context["S_FORM_TOKEN"] : null);
- echo "
- \t\t\t\t</p>
- \t\t\t</form>
- \t\t\t";
- } elseif ($this->getAttribute( // line 306
- $context["postrow"], "S_POST_DELETED", array())) {
- // line 307
- echo "\t\t\t<form method=\"post\" class=\"mcp_approve\" action=\"";
- echo $this->getAttribute($context["postrow"], "U_APPROVE_ACTION", array());
- echo "\">
- \t\t\t\t<p class=\"post-notice deleted\">
- \t\t\t\t\t<strong>";
- // line 309
- echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_DELETED_ACTION");
- echo…
Large files files are truncated, but you can click here to view the full file