Vergleich forumdisplay.php - 1.6.10 - 1.6.18

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 12Zeile 12
define("IN_MYBB", 1);
define('THIS_SCRIPT', 'forumdisplay.php');


define("IN_MYBB", 1);
define('THIS_SCRIPT', 'forumdisplay.php');


$templatelist = "forumdisplay,forumdisplay_thread,forumbit_depth1_cat,forumbit_depth1_forum,forumbit_depth2_cat,forumbit_depth2_forum,forumdisplay_subforums,forumdisplay_threadlist,forumdisplay_moderatedby,forumdisplay_newthread,forumdisplay_searchforum,forumdisplay_orderarrow,forumdisplay_thread_rating,forumdisplay_threadlist_rating,forumdisplay_threadlist_sortrating,forumbit_moderators,forumbit_subforums,forumbit_depth2_forum_lastpost";

$templatelist = "forumdisplay,forumdisplay_thread,forumbit_depth1_cat,forumbit_depth2_cat,forumbit_depth2_forum,forumdisplay_subforums,forumdisplay_threadlist,forumdisplay_moderatedby,forumdisplay_newthread,forumdisplay_searchforum,forumdisplay_orderarrow,forumdisplay_thread_rating,forumdisplay_threadlist_rating,forumdisplay_threadlist_sortrating,forumbit_moderators,forumbit_subforums,forumbit_depth2_forum_lastpost";

$templatelist .= ",forumbit_depth1_forum_lastpost,forumdisplay_thread_multipage_page,forumdisplay_thread_multipage,forumdisplay_thread_multipage_more";
$templatelist .= ",multipage_prevpage,multipage_nextpage,multipage_page_current,multipage_page,multipage_start,multipage_end,multipage";
$templatelist .= ",forumjump_advanced,forumjump_special,forumjump_bit,forumdisplay_password_wrongpass,forumdisplay_password";

$templatelist .= ",forumbit_depth1_forum_lastpost,forumdisplay_thread_multipage_page,forumdisplay_thread_multipage,forumdisplay_thread_multipage_more";
$templatelist .= ",multipage_prevpage,multipage_nextpage,multipage_page_current,multipage_page,multipage_start,multipage_end,multipage";
$templatelist .= ",forumjump_advanced,forumjump_special,forumjump_bit,forumdisplay_password_wrongpass,forumdisplay_password";

Zeile 298Zeile 298
				{
$invisiblemark = '';
}

				{
$invisiblemark = '';
}

				



				if($user['invisible'] != 1 || $mybb->usergroup['canviewwolinvis'] == 1 || $user['uid'] == $mybb->user['uid'])
{
$user['username'] = format_name($user['username'], $user['usergroup'], $user['displaygroup']);

				if($user['invisible'] != 1 || $mybb->usergroup['canviewwolinvis'] == 1 || $user['uid'] == $mybb->user['uid'])
{
$user['username'] = format_name($user['username'], $user['usergroup'], $user['displaygroup']);

Zeile 308Zeile 308
				}
}
}

				}
}
}

	}


	}


	$guestsonline = '';
if($guestcount)
{
$guestsonline = $lang->sprintf($lang->users_browsing_forum_guests, $guestcount);

	$guestsonline = '';
if($guestcount)
{
$guestsonline = $lang->sprintf($lang->users_browsing_forum_guests, $guestcount);

	}


	}


	$onlinesep = '';
if($guestcount && $onlinemembers)
{
$onlinesep = $lang->comma;

	$onlinesep = '';
if($guestcount && $onlinemembers)
{
$onlinesep = $lang->comma;

	}


	}


	$invisonline = '';
if($inviscount && $mybb->usergroup['canviewwolinvis'] != 1 && ($inviscount != 1 && $mybb->user['invisible'] != 1))
{
$invisonline = $lang->sprintf($lang->users_browsing_forum_invis, $inviscount);

	$invisonline = '';
if($inviscount && $mybb->usergroup['canviewwolinvis'] != 1 && ($inviscount != 1 && $mybb->user['invisible'] != 1))
{
$invisonline = $lang->sprintf($lang->users_browsing_forum_invis, $inviscount);

	}


	}


	$onlinesep2 = '';
if($invisonline != '' && $guestcount)
{
$onlinesep2 = $lang->comma;

	$onlinesep2 = '';
if($invisonline != '' && $guestcount)
{
$onlinesep2 = $lang->comma;

	}

	}

	eval("\$usersbrowsing = \"".$templates->get("forumdisplay_usersbrowsing")."\";");
}


	eval("\$usersbrowsing = \"".$templates->get("forumdisplay_usersbrowsing")."\";");
}


Zeile 344Zeile 344
	{
$foruminfo['rulestitle'] = $lang->sprintf($lang->forum_rules, $foruminfo['name']);
}

	{
$foruminfo['rulestitle'] = $lang->sprintf($lang->forum_rules, $foruminfo['name']);
}

	



	$rules_parser = array(
"allow_html" => 1,
"allow_mycode" => 1,

	$rules_parser = array(
"allow_html" => 1,
"allow_mycode" => 1,

Zeile 537Zeile 537
}

// Needs to be initialized in order to speed-up things. Fixes #2031

}

// Needs to be initialized in order to speed-up things. Fixes #2031

$orderarrow = array('rating'=>'', 'subject'=>'', 'starter'=>'', 'replies'=>'', 'views'=>''); 

$orderarrow = array('rating'=>'', 'subject'=>'', 'starter'=>'', 'replies'=>'', 'views'=>'');

eval("\$orderarrow['$sortby'] = \"".$templates->get("forumdisplay_orderarrow")."\";");

$threadcount = 0;

eval("\$orderarrow['$sortby'] = \"".$templates->get("forumdisplay_orderarrow")."\";");

$threadcount = 0;

Zeile 550Zeile 550

if($fpermissions['canviewthreads'] != 0)
{


if($fpermissions['canviewthreads'] != 0)
{

	



	// How many posts are there?
if($datecut > 0 || isset($fpermissions['canonlyviewownthreads']) && $fpermissions['canonlyviewownthreads'] == 1)
{

	// How many posts are there?
if($datecut > 0 || isset($fpermissions['canonlyviewownthreads']) && $fpermissions['canonlyviewownthreads'] == 1)
{

Zeile 566Zeile 566
		{
$threadcount += $forum_threads['unapprovedthreads'];
}

		{
$threadcount += $forum_threads['unapprovedthreads'];
}

		



		// If we have 0 threads double check there aren't any "moved" threads
if($threadcount == 0)
{

		// If we have 0 threads double check there aren't any "moved" threads
if($threadcount == 0)
{

Zeile 577Zeile 577
}

// How many pages are there?

}

// How many pages are there?

if(!$mybb->settings['threadsperpage'])

if(!$mybb->settings['threadsperpage'] || (int)$mybb->settings['threadsperpage'] < 1)

{
$mybb->settings['threadsperpage'] = 20;
}

{
$mybb->settings['threadsperpage'] = 20;
}

Zeile 605Zeile 605
$end = $start + $perpage;
$lower = $start + 1;
$upper = $end;

$end = $start + $perpage;
$lower = $start + 1;
$upper = $end;





if($upper > $threadcount)

if($upper > $threadcount)

{

{

	$upper = $threadcount;
}

	$upper = $threadcount;
}





// Assemble page URL
if($mybb->input['sortby'] || $mybb->input['order'] || $mybb->input['datecut']) // Ugly URL

// Assemble page URL
if($mybb->input['sortby'] || $mybb->input['order'] || $mybb->input['datecut']) // Ugly URL

{	

{

	$page_url = str_replace("{fid}", $fid, FORUM_URL_PAGED);

	$page_url = str_replace("{fid}", $fid, FORUM_URL_PAGED);

	



	if($mybb->settings['seourls'] == "yes" || ($mybb->settings['seourls'] == "auto" && isset($_SERVER['SEO_SUPPORT']) && $_SERVER['SEO_SUPPORT'] == 1))
{
$q = "?";

	if($mybb->settings['seourls'] == "yes" || ($mybb->settings['seourls'] == "auto" && isset($_SERVER['SEO_SUPPORT']) && $_SERVER['SEO_SUPPORT'] == 1))
{
$q = "?";

Zeile 626Zeile 626
		$q = '';
$and = "&";
}

		$q = '';
$and = "&";
}

	



	if((!empty($foruminfo['defaultsortby']) && $sortby != $foruminfo['defaultsortby']) || (empty($foruminfo['defaultsortby']) && $sortby != "lastpost"))
{
$page_url .= "{$q}{$and}sortby={$sortby}";
$q = '';
$and = "&";
}

	if((!empty($foruminfo['defaultsortby']) && $sortby != $foruminfo['defaultsortby']) || (empty($foruminfo['defaultsortby']) && $sortby != "lastpost"))
{
$page_url .= "{$q}{$and}sortby={$sortby}";
$q = '';
$and = "&";
}

	



	if($sortordernow != "desc")
{
$page_url .= "{$q}{$and}order={$sortordernow}";
$q = '';
$and = "&";
}

	if($sortordernow != "desc")
{
$page_url .= "{$q}{$and}order={$sortordernow}";
$q = '';
$and = "&";
}

	



	if($datecut > 0)
{
$page_url .= "{$q}{$and}datecut={$datecut}";

	if($datecut > 0)
{
$page_url .= "{$q}{$and}datecut={$datecut}";

Zeile 663Zeile 663
			break;
default:
$ratingadd = "(t.totalratings/t.numratings) AS averagerating, ";

			break;
default:
$ratingadd = "(t.totalratings/t.numratings) AS averagerating, ";

	}

	}


$lpbackground = "trow2";
eval("\$ratingcol = \"".$templates->get("forumdisplay_threadlist_rating")."\";");


$lpbackground = "trow2";
eval("\$ratingcol = \"".$templates->get("forumdisplay_threadlist_rating")."\";");

Zeile 693Zeile 693
	$limit = '';
$announcements = '';
if($mybb->settings['announcementlimit'])

	$limit = '';
$announcements = '';
if($mybb->settings['announcementlimit'])

	{

	{

		$limit = "LIMIT 0, ".$mybb->settings['announcementlimit'];
}


		$limit = "LIMIT 0, ".$mybb->settings['announcementlimit'];
}


Zeile 722Zeile 722
		{
$new_class = ' class="subject_new"';
$folder = "newfolder";

		{
$new_class = ' class="subject_new"';
$folder = "newfolder";

		}

		}

		else
{
$new_class = ' class="subject_old"';

		else
{
$new_class = ' class="subject_old"';

Zeile 751Zeile 751
		{
$rating = '';
$lpbackground = "trow1";

		{
$rating = '';
$lpbackground = "trow1";

		}


		}


		if($ismod)
{
eval("\$modann = \"".$templates->get("forumdisplay_announcements_announcement_modbit")."\";");

		if($ismod)
{
eval("\$modann = \"".$templates->get("forumdisplay_announcements_announcement_modbit")."\";");

Zeile 781Zeile 781
	else if(!empty($cookie))
{
my_setcookie("mybb[announcements]", addslashes(serialize($cookie)), -1);

	else if(!empty($cookie))
{
my_setcookie("mybb[announcements]", addslashes(serialize($cookie)), -1);

	}

	}

}
else
{

}
else
{

Zeile 806Zeile 806
	$ratings = false;
$moved_threads = array();
while($thread = $db->fetch_array($query))

	$ratings = false;
$moved_threads = array();
while($thread = $db->fetch_array($query))

	{		

	{

		$threadcache[$thread['tid']] = $thread;

if($thread['numratings'] > 0 && $ratings == false)
{
$ratings = true; // Looks for ratings in the forum

		$threadcache[$thread['tid']] = $thread;

if($thread['numratings'] > 0 && $ratings == false)
{
$ratings = true; // Looks for ratings in the forum

		}

		}


// If this is a moved thread - set the tid for participation marking and thread read marking to that of the moved thread
if(substr($thread['closed'], 0, 5) == "moved")


// If this is a moved thread - set the tid for participation marking and thread read marking to that of the moved thread
if(substr($thread['closed'], 0, 5) == "moved")

Zeile 835Zeile 835
		}
}


		}
}


	if($mybb->settings['allowthreadratings'] != 0 && $foruminfo['allowtratings'] != 0 && $mybb->user['uid'] && !empty($tids) && $ratings == true)

	if($mybb->settings['allowthreadratings'] != 0 && $foruminfo['allowtratings'] != 0 && $mybb->user['uid'] && !empty($threadcache) && $ratings == true)

	{
// Check if we've rated threads on this page
// Guests get the pleasure of not being ID'd, but will be checked when they try and rate

	{
// Check if we've rated threads on this page
// Guests get the pleasure of not being ID'd, but will be checked when they try and rate

		$imp = implode(",", $tids);

		$imp = implode(",", array_keys($threadcache));

		$query = $db->simple_select("threadratings", "tid, uid", "tid IN ({$imp}) AND uid = '{$mybb->user['uid']}'");

while($rating = $db->fetch_array($query))

		$query = $db->simple_select("threadratings", "tid, uid", "tid IN ({$imp}) AND uid = '{$mybb->user['uid']}'");

while($rating = $db->fetch_array($query))

		{

		{

			$threadcache[$rating['tid']]['rated'] = 1;
}
}
}

// If user has moderation tools available, prepare the Select All feature

			$threadcache[$rating['tid']]['rated'] = 1;
}
}
}

// If user has moderation tools available, prepare the Select All feature

$num_results = $db->num_rows($query);
if(is_moderator($fid) && $num_results > 0)

if(is_moderator($fid) && $threadcount > $perpage)


{

{

	$lang->page_selected = $lang->sprintf($lang->page_selected, intval($num_results));

	$lang->page_selected = $lang->sprintf($lang->page_selected, count($threadcache));

	$lang->select_all = $lang->sprintf($lang->select_all, intval($threadcount));
$lang->all_selected = $lang->sprintf($lang->all_selected, intval($threadcount));
eval("\$selectall = \"".$templates->get("forumdisplay_inlinemoderation_selectall")."\";");

	$lang->select_all = $lang->sprintf($lang->select_all, intval($threadcount));
$lang->all_selected = $lang->sprintf($lang->all_selected, intval($threadcount));
eval("\$selectall = \"".$templates->get("forumdisplay_inlinemoderation_selectall")."\";");

Zeile 884Zeile 883
// Read threads
if($mybb->user['uid'] && $mybb->settings['threadreadcut'] > 0 && !empty($threadcache))
{

// Read threads
if($mybb->user['uid'] && $mybb->settings['threadreadcut'] > 0 && !empty($threadcache))
{

	$query = $db->simple_select("threadsread", "*", "uid='{$mybb->user['uid']}' AND tid IN ({$tids})"); 

	$query = $db->simple_select("threadsread", "*", "uid='{$mybb->user['uid']}' AND tid IN ({$tids})");

	while($readthread = $db->fetch_array($query))
{

	while($readthread = $db->fetch_array($query))
{

		if(!empty($moved_threads[$readthread['tid']])) 
{
$readthread['tid'] = $moved_threads[$readthread['tid']];

		if(!empty($moved_threads[$readthread['tid']]))
{
$readthread['tid'] = $moved_threads[$readthread['tid']];

	 	}
if($threadcache[$readthread['tid']])
{

	 	}
if($threadcache[$readthread['tid']])
{

	 		$threadcache[$readthread['tid']]['lastread'] = $readthread['dateline']; 

	 		$threadcache[$readthread['tid']]['lastread'] = $readthread['dateline'];

		}

		}

	}
}

	}
}


if($mybb->settings['threadreadcut'] > 0 && $mybb->user['uid'])
{


if($mybb->settings['threadreadcut'] > 0 && $mybb->user['uid'])
{

Zeile 910Zeile 909
	}
}
else

	}
}
else

{

{

	$forum_read = my_get_array_cookie("forumread", $fid);

	$forum_read = my_get_array_cookie("forumread", $fid);





	if($mybb->cookies['mybb']['readallforums'] && !$forum_read)
{
$forum_read = $mybb->cookies['mybb']['lastvisit'];

	if($mybb->cookies['mybb']['readallforums'] && !$forum_read)
{
$forum_read = $mybb->cookies['mybb']['lastvisit'];

Zeile 926Zeile 925
{
if(!$mybb->settings['maxmultipagelinks'])
{

{
if(!$mybb->settings['maxmultipagelinks'])
{

		$mybb->settings['maxmultipagelinks'] = 5;		
}

if(!$mybb->settings['postsperpage'])
{
$mybb->settings['postperpage'] = 20;

		$mybb->settings['maxmultipagelinks'] = 5;
}

if(!$mybb->settings['postsperpage'] || (int)$mybb->settings['postsperpage'] < 1)
{
$mybb->settings['postsperpage'] = 20;

	}

foreach($threadcache as $thread)

	}

foreach($threadcache as $thread)

Zeile 944Zeile 943
		{
$bgcolor = "trow_shaded";
}

		{
$bgcolor = "trow_shaded";
}

		else
{
$bgcolor = alt_trow();
}


		else
{
$bgcolor = alt_trow();
}


		if($thread['sticky'] == 1)

		if($thread['sticky'] == 1)

		{

		{

			$thread_type_class = " forumdisplay_sticky";

			$thread_type_class = " forumdisplay_sticky";

		}

		}

		else
{
$thread_type_class = " forumdisplay_regular";
}

$folder = '';

		else
{
$thread_type_class = " forumdisplay_regular";
}

$folder = '';

		$prefix = '';

		$prefix = '';


$thread['author'] = $thread['uid'];
if(!$thread['username'])
{
$thread['username'] = $thread['threadusername'];
$thread['profilelink'] = $thread['threadusername'];


$thread['author'] = $thread['uid'];
if(!$thread['username'])
{
$thread['username'] = $thread['threadusername'];
$thread['profilelink'] = $thread['threadusername'];

		}

		}

		else
{
$thread['profilelink'] = build_profile_link($thread['username'], $thread['uid']);
}

		else
{
$thread['profilelink'] = build_profile_link($thread['username'], $thread['uid']);
}

		



		// If this thread has a prefix, insert a space between prefix and subject
$thread['threadprefix'] = $threadprefix = '';
if($thread['prefix'] != 0)

		// If this thread has a prefix, insert a space between prefix and subject
$thread['threadprefix'] = $threadprefix = '';
if($thread['prefix'] != 0)

Zeile 986Zeile 985
		if($thread['icon'] > 0 && $icon_cache[$thread['icon']])
{
$icon = $icon_cache[$thread['icon']];

		if($thread['icon'] > 0 && $icon_cache[$thread['icon']])
{
$icon = $icon_cache[$thread['icon']];

 
			$icon['path'] = htmlspecialchars_uni($icon['path']);
$icon['name'] = htmlspecialchars_uni($icon['name']);

			$icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" />";
}
else

			$icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" />";
}
else

		{

		{

			$icon = "&nbsp;";

			$icon = "&nbsp;";

		}

		}


$prefix = '';
if($thread['poll'])


$prefix = '';
if($thread['poll'])

		{

		{

			$prefix = $lang->poll_prefix;
}


			$prefix = $lang->poll_prefix;
}


Zeile 1004Zeile 1005
			eval("\$threads .= \"".$templates->get("forumdisplay_sticky_sep")."\";");
$shownormalsep = true;
$donestickysep = true;

			eval("\$threads .= \"".$templates->get("forumdisplay_sticky_sep")."\";");
$shownormalsep = true;
$donestickysep = true;

		}

		}

		else if($thread['sticky'] == 0 && !empty($shownormalsep))
{
eval("\$threads .= \"".$templates->get("forumdisplay_threads_sep")."\";");

		else if($thread['sticky'] == 0 && !empty($shownormalsep))
{
eval("\$threads .= \"".$templates->get("forumdisplay_threads_sep")."\";");

Zeile 1032Zeile 1033

$ratingvotesav = $lang->sprintf($lang->rating_votes_average, $thread['numratings'], $thread['averagerating']);
eval("\$rating = \"".$templates->get("forumdisplay_thread_rating")."\";");


$ratingvotesav = $lang->sprintf($lang->rating_votes_average, $thread['numratings'], $thread['averagerating']);
eval("\$rating = \"".$templates->get("forumdisplay_thread_rating")."\";");

			}
}

			}
}


$thread['pages'] = 0;
$thread['multipage'] = '';


$thread['pages'] = 0;
$thread['multipage'] = '';

Zeile 1063Zeile 1064
			}

for($i = 1; $i <= $pagesstop; ++$i)

			}

for($i = 1; $i <= $pagesstop; ++$i)

			{

			{

				$page_link = get_thread_link($thread['tid'], $i);
eval("\$threadpages .= \"".$templates->get("forumdisplay_thread_multipage_page")."\";");
}

				$page_link = get_thread_link($thread['tid'], $i);
eval("\$threadpages .= \"".$templates->get("forumdisplay_thread_multipage_page")."\";");
}





			eval("\$thread['multipage'] = \"".$templates->get("forumdisplay_thread_multipage")."\";");

			eval("\$thread['multipage'] = \"".$templates->get("forumdisplay_thread_multipage")."\";");

		}

		}

		else
{
$threadpages = '';

		else
{
$threadpages = '';

Zeile 1078Zeile 1079
		}

if($ismod)

		}

if($ismod)

		{

		{

			if(isset($mybb->cookies[$inlinecookie]) && my_strpos($mybb->cookies[$inlinecookie], "|{$thread['tid']}|"))
{
$inlinecheck = "checked=\"checked\"";

			if(isset($mybb->cookies[$inlinecookie]) && my_strpos($mybb->cookies[$inlinecookie], "|{$thread['tid']}|"))
{
$inlinecheck = "checked=\"checked\"";

Zeile 1091Zeile 1092

$multitid = $thread['tid'];
eval("\$modbit = \"".$templates->get("forumdisplay_thread_modbit")."\";");


$multitid = $thread['tid'];
eval("\$modbit = \"".$templates->get("forumdisplay_thread_modbit")."\";");

		}
else

		}
else

		{
$modbit = '';

		{
$modbit = '';

		}


		}


		if($moved[0] == "moved")
{
$prefix = $lang->moved_prefix;

		if($moved[0] == "moved")
{
$prefix = $lang->moved_prefix;

Zeile 1107Zeile 1108

$thread['threadlink'] = get_thread_link($thread['tid']);
$thread['lastpostlink'] = get_thread_link($thread['tid'], 0, "lastpost");


$thread['threadlink'] = get_thread_link($thread['tid']);
$thread['lastpostlink'] = get_thread_link($thread['tid'], 0, "lastpost");





		// Determine the folder
$folder = '';
$folder_label = '';

		// Determine the folder
$folder = '';
$folder_label = '';

Zeile 1136Zeile 1137
		else
{
$last_read = my_get_array_cookie("threadread", $thread['tid']);

		else
{
$last_read = my_get_array_cookie("threadread", $thread['tid']);

		}


		}


		if($forum_read > $last_read)

		if($forum_read > $last_read)

		{

		{

			$last_read = $forum_read;
}


			$last_read = $forum_read;
}


Zeile 1151Zeile 1152
			$thread['newpostlink'] = get_thread_link($thread['tid'], 0, "newpost");
eval("\$gotounread = \"".$templates->get("forumdisplay_thread_gotounread")."\";");
$unreadpost = 1;

			$thread['newpostlink'] = get_thread_link($thread['tid'], 0, "newpost");
eval("\$gotounread = \"".$templates->get("forumdisplay_thread_gotounread")."\";");
$unreadpost = 1;

		}

		}

		else
{
$folder_label .= $lang->icon_no_new;

		else
{
$folder_label .= $lang->icon_no_new;

Zeile 1195Zeile 1196
		$lastposttime = my_date($mybb->settings['timeformat'], $thread['lastpost']);
$lastposter = $thread['lastposter'];
$lastposteruid = $thread['lastposteruid'];

		$lastposttime = my_date($mybb->settings['timeformat'], $thread['lastpost']);
$lastposter = $thread['lastposter'];
$lastposteruid = $thread['lastposteruid'];





		// Don't link to guest's profiles (they have no profile).
if($lastposteruid == 0)
{

		// Don't link to guest's profiles (they have no profile).
if($lastposteruid == 0)
{

Zeile 1238Zeile 1239
			else
{
$attachment_count = $lang->attachment_count;

			else
{
$attachment_count = $lang->attachment_count;

			}


			}


			eval("\$attachment_count = \"".$templates->get("forumdisplay_thread_attachment_count")."\";");
}
else

			eval("\$attachment_count = \"".$templates->get("forumdisplay_thread_attachment_count")."\";");
}
else

Zeile 1269Zeile 1270
			{
eval("\$customthreadtools .= \"".$templates->get("forumdisplay_inlinemoderation_custom_tool")."\";");
}

			{
eval("\$customthreadtools .= \"".$templates->get("forumdisplay_inlinemoderation_custom_tool")."\";");
}

			



			if($customthreadtools)
{
eval("\$customthreadtools = \"".$templates->get("forumdisplay_inlinemoderation_custom")."\";");

			if($customthreadtools)
{
eval("\$customthreadtools = \"".$templates->get("forumdisplay_inlinemoderation_custom")."\";");