'; $end = 'thread link'; $blank = 'thread link'; $vert = 'thread link'; $loc_emoticons = KUNENA_URLEMOTIONSPATH; // topic emoticons $topic_emoticons = array (); $topic_emoticons[0] = KUNENA_URLEMOTIONSPATH . 'default.gif'; $topic_emoticons[1] = KUNENA_URLEMOTIONSPATH . 'exclam.gif'; $topic_emoticons[2] = KUNENA_URLEMOTIONSPATH . 'question.gif'; $topic_emoticons[3] = KUNENA_URLEMOTIONSPATH . 'arrow.gif'; $topic_emoticons[4] = KUNENA_URLEMOTIONSPATH . 'love.gif'; $topic_emoticons[5] = KUNENA_URLEMOTIONSPATH . 'grin.gif'; $topic_emoticons[6] = KUNENA_URLEMOTIONSPATH . 'shock.gif'; $topic_emoticons[7] = KUNENA_URLEMOTIONSPATH . 'smile.gif'; function thread_flat(&$tree, &$leaves, $branchid = 0, $level = 0) { foreach ($leaves[$branchid] as $leaf) { $leaf->level = $level; $tree[] = $leaf; $GLOBALS['KUNENA_c']++; if (is_array($leaves[$leaf->id])) thread_flat($tree, $leaves, $leaf->id, $level + 1); } return $tree; } $GLOBALS['KUNENA_c'] = 0; $tree = thread_flat($tree, $messages); ?>
shownew && $kunena_my->id != 0) { ?> id == 0) { echo ''; } ?> name = kunena_htmlspecialchars($leaf->name); $leaf->subject = kunena_htmlspecialchars($leaf->subject); $leaf->email = kunena_htmlspecialchars($leaf->email); //get all html out of the subject & email & name before posting: ?> shownew && $kunena_my->id != 0 && !$leaf->moved) { if (($prevCheck < ($leaf->time)) && (sizeof($read_topics) == 0) || !in_array($leaf->thread, $read_topics)) { //new post echo ''; } else { //not new posts echo ''; } } else { echo ''; } ?> id == $id ? " class=\"".$boardclass."sectiontableentry2\"" : ""; ?>>
       
'; echo isset($fbIcons['unreadmessage']) ? '' . _GEN_UNREAD . '' : $fbConfig->newchar; echo ''; echo isset($fbIcons['readmessage']) ? '' . _GEN_NOUNREAD . '' : $fbConfig->newchar; echo ' id==$id?" class=\"".$boardclass."sectiontableentry2\">":">"; if ($leaf->ordering==0) { if($leaf->locked==0) { echo " "; } else { echo isset($fbIcons['topiclocked']) ? ''._GEN_LOCKED_TOPIC.'' : ''._GEN_LOCKED_TOPIC.''; $topicLocked=1; } } else { echo isset($fbIcons['topicsticky']) ? ''._GEN_ISSTICKY.'' : ''._GEN_ISSTICKY.''; $topicSticky=1; } ?> id==$id?" class=\"".$boardclass."sectiontableentry2\"":"";?>> topic_emoticon == 0 ? 'thread link' : "topic_emoticon] . "\" alt=\"emo\" />"; ?>
id == $id ? " class=\"".$boardclass."sectiontableentry2\"" : ""; ?>> level + 1] = count($messages[$leaf->id]); $array[$leaf->level]--; for ($i = 0; $i < $leaf->level; $i++) { if ($array[$i] > 0) echo ($vert); elseif ($array[$i] == 0) echo ($blank); } if ($array[$leaf->level] > 0) echo ($join); elseif ($array[$leaf->level] == 0 && $leaf->parent != 0) echo ($end); //else echo($blank); ?> moved) { $kunena_db->setQuery("SELECT `mesid` FROM #__fb_messages_text WHERE `mesid`=" . $leaf->id); $newURL .= $kunena_db->loadResult(); } else $newURL .= '&id=' . $leaf->id . $viewstr . '&catid=' . $catid; $newURL = JRoute::_($newURL); //JRoute::_(KUNENA_LIVEURLREL.'&func=view&id='.$leaf->id.$viewstr.'&catid='.$catid); ?> id == $id ? " class=\"".$boardclass."sectiontableentry2\"" : ""; ?>> subject); ?> allowfavorites) { $kunena_db->setQuery("select count(*) from #__fb_favorites where thread = $leaf->id && userid = $kunena_my->id"); if (intval($kunena_db->loadResult()) > 0) { echo isset($fbIcons['favoritestar']) ? '' . _KUNENA_FAVORITE . '' : '' . _KUNENA_FAVORITE . ''; } } ?>
id==$id?' class="'.$boardclass.'sectiontableentry2"':'';?>> email != "" && $kunena_my->id > 0 && $fbConfig->showemail ? '' . stripslashes($leaf->name) . '' : stripslashes($leaf->name); ?> id==$id?' class=""'.$boardclass.'sectiontableentry2"':'';?>> moved ? date(_DATETIME, $leaf->time) : date(_DATETIME, $leaf->time); ?>