locked == 0)
{
if ($fbConfig->shownew && $kunena_my->id != 0 && !$leaf->moved)
{
if (($prevCheck < $last_reply[$leaf->id]->time) && !in_array($last_reply[$leaf->id]->thread, $read_topics))
{
//new post(s) in topic
echo '';
echo isset($fbIcons['unreadmessage']) ? ' ' : stripslashes($fbConfig->newchar);
echo ' | ';
}
else
{
//no new posts in topic
echo '';
echo isset($fbIcons['readmessage']) ? ' ' : stripslashes($fbConfig->newchar);
echo ' | ';
}
}
else
{
//not Login
echo '';
echo isset($fbIcons['notloginmessage']) ? ' ' : stripslashes($fbConfig->newchar);
echo ' | ';
}
}
else
{
echo isset($fbIcons['topiclocked']) ? ' ' : ' | ';
$topicLocked = 1;
}
?>
moved == 0)
{
?>
topic_emoticon == 0 ? ' ' : " topic_emoticon] . "\" alt=\"emo\" border=\"0\" />"; ?>
|
ordering == 0) {
echo "";
}
else
{
echo " | ";
echo isset($fbIcons['topicsticky']) ? ' ' : ' ';
$topicSticky = 1;
}
?>
0) {
echo isset($fbIcons['topicattach']) ? ' ' : ' ';
}
?>
catid, $leaf->id, kunena_htmlspecialchars(stripslashes($leaf->subject)), '', 'follow', 'fb-topic-title fbm');?>
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']) ? '  ' : '  ';
}
}
?>
userid, kunena_htmlspecialchars(stripslashes($leaf->name)));?>
shownew && $kunena_my->id != 0)
{
if (($prevCheck < $last_reply[$leaf->id]->time) && !in_array($last_reply[$leaf->id]->thread, $read_topics)) {
//new post(s) in topic
echo ' (' . $fbConfig->newchar . ")";
}
}
?>
avataroncat) {
echo $bof_avatar;
}
?>
id];
$threadPages = 1;
if ($totalMessages > $fbConfig->messages_per_page)
{
$threadPages = ceil($totalMessages / $fbConfig->messages_per_page);
echo (" [");
echo _PAGE.' '.CKunenaLink::GetThreadPageLink($fbConfig, 'view', $leaf->catid, $leaf->id, 1, $fbConfig->messages_per_page, 1);
if ($threadPages > 3)
{
echo ("...");
$startPage = $threadPages - 2;
}
else
{
echo (",");
$startPage = 2;
}
$noComma = true;
for ($hopPage = $startPage; $hopPage <= $threadPages; $hopPage++)
{
if ($noComma) {
$noComma = false;
}
else {
echo (",");
}
echo CKunenaLink::GetThreadPageLink($fbConfig, 'view', $leaf->catid, $leaf->id, $hopPage, $fbConfig->messages_per_page, $hopPage);
}
echo ("]");
}
?>
setQuery("SELECT message, mesid FROM #__fb_messages_text WHERE mesid='{$leaf->id}'");
$newURL = $kunena_db->loadResult();
// split the string and separate catid and id for proper link assembly
parse_str($newURL, $newURLParams);
?>
|
|
subject)), kunena_htmlspecialchars(stripslashes($leaf->subject)), 'follow', 'fb-topic-title-cover');?>
|
moved ? _KUNENA_TOPIC_MOVED : (int)$thread_counts[$leaf->id]; ?>
|
moved ? _KUNENA_TOPIC_MOVED : (int)$hits[$leaf->id]; ?>
|
moved ? _KUNENA_TOPIC_MOVED_LONG : date(_DATETIME, $last_reply[$leaf->id]->time); ?>
moved) {
}
else
{
?>
id]->userid, kunena_htmlspecialchars(stripslashes($last_reply[$leaf->id]->name)));?>
moved)
{
$tmpicon = isset($fbIcons['latestpost']) ? '  ':'  ';
}
echo CKunenaLink::GetThreadPageLink($fbConfig, 'view', $leaf->catid, $leaf->id, $threadPages, $fbConfig->messages_per_page, $tmpicon, $last_reply[$leaf->id]->id);
?>
|
|