<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="cyb_topstats" active="1">
	<title>هاك إحصائية المنتدي المتقدم</title>
	<description>هاك يقوم بعمل إحصائية شاملة للمنتدي سلس وبلوحه تحكم رائعه , من تعريب فريق سيهات بويز ولا اسمح بازالة حقوق التعريب</description>
	<version>5.8.1</version>
	<url>http://www.saihat-boys.com/vb/</url>
	<versioncheckurl><![CDATA[http://www.vbulletin.org/forum/misc.php?do=productcheck&pid=cyb_topstats]]></versioncheckurl>
	<dependencies>
	</dependencies>
	<codes>
		<code version="5.6">
			<installcode><![CDATA[$db->hide_errors();
		$vbulletin->db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD showcybstats TINYINT( 1 ) DEFAULT '1' NOT NULL");

		$cyb_ind_b = false;
		$cyb_check_indexes = $vbulletin->db->query_read("SHOW INDEX FROM " . TABLE_PREFIX . "user");
		while ($cyb_found_indexes = $vbulletin->db->fetch_array($cyb_check_indexes))
		{
			if ($cyb_found_indexes['Key_name'] == 'post_thanks_thanked_times')
			{
				$cyb_ind_b = true;
			}
		}
		if (mysql_query("SELECT post_thanks_thanked_times FROM " . TABLE_PREFIX . "user LIMIT 0") AND !$cyb_ind_b)
		{
			$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD INDEX (post_thanks_thanked_times)");
		}
		$db->show_errors();]]></installcode>
			<uninstallcode><![CDATA[$db->hide_errors();
		$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user DROP showcybstats");
		$db->show_errors();]]></uninstallcode>
		</code>
	</codes>
	<templates>
		<template name="cyb_topstats_blogs" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$get_latest_blogs[fullblogtitle]"><if condition="$get_latest_blogs[newpost]">$newpostprefix<else />$oldpostprefix</if>&nbsp;<a href="$vboptions[bburl]/blog.php?$session[sessionurl]b=$get_latest_blogs[blogid]">$get_latest_blogs[titletrimmed]</a></td>
		<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$get_latest_blogs[fullusername]"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$get_latest_blogs[userid]">$get_latest_blogs[musername]</a></td>
	</tr>
	]]></template>
		<template name="cyb_topstats_classads" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$get_latest_classads[fullthreadtitle]"><if condition="$get_latest_classads[newpost]">$newpostprefix<else />$oldpostprefix</if>&nbsp;<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$get_latest_classads[threadid]">$get_latest_classads[titletrimmed]</a></td>
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$get_latest_classads[fullforumtitle]" width="1%">&nbsp;<a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$get_latest_classads[forumid]">$get_latest_classads[forumtitle]</a></td>
	</tr>
	]]></template>
		<template name="cyb_topstats_hottest" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$get_hottest_threads[fullthreadtitle]"><if condition="$get_hottest_threads[newpost]">$newpostprefix<else />$oldpostprefix</if>&nbsp;<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$get_hottest_threads[threadid]">$get_hottest_threads[titletrimmed]</a></td>
		<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[replies]" width="1%">&nbsp;$get_hottest_threads[replycount]</td>
	</tr>
	]]></template>
		<template name="cyb_topstats_infractions" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$getstats_infraction[fullusername]"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$getstats_infraction[userid]">$getstats_infraction[musername]</a></td>
		<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[cyb_infractions_and_points_full]" width="1%">&nbsp;<span class="time">$getstats_infraction[infs]/</span>$getstats_infraction[infpoints]</td>
	</tr>
	]]></template>
		<template name="cyb_topstats_latestnews" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$get_latest_news[fullthreadtitle]"><if condition="$get_latest_news[newpost]">$newpostprefix<else />$oldpostprefix</if>&nbsp;<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$get_latest_news[threadid]">$get_latest_news[titletrimmed]</a></td>
		<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[date]" width="1%">&nbsp;<if condition="$get_latest_news[newpost]">$get_news_postdate<else /><span class="time">$get_news_postdate</span></if></td>
	</tr>
	]]></template>
		<template name="cyb_topstats_member" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$get_new_mem[fullusername]" width="<if condition="($vboptions[cybtopstats_newmem_details]=='3')">33%<else />100%</if>"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$get_new_mem[userid]">$get_new_mem[musername]</a></td>
		<if condition="($vboptions[cybtopstats_newmem_details]=='3')">
			<td align="center" nowrap="nowrap" class="smallfont" title="$vbphrase[posts]" width="33%">&nbsp;<if condition="$get_new_mem[newuser]">$get_new_mem[posts]<else /><span class="time">$get_new_mem[posts]</span></if></td>
			<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[join_date]" width="33%">&nbsp;<if condition="$get_new_mem[newuser]">$cybmemberjoined<else /><span class="time">$cybmemberjoined</span></if></td>
		<else />
			<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="<if condition="($vboptions[cybtopstats_newmem_details]=='1')">$vbphrase[join_date]</if><if condition="($vboptions[cybtopstats_newmem_details]=='2')">$vbphrase[posts]</if>" width="1%">&nbsp;<if condition="$get_new_mem[newuser]"><if condition="($vboptions[cybtopstats_newmem_details]=='1')">$cybmemberjoined</if><if condition="($vboptions[cybtopstats_newmem_details]=='2')">$get_new_mem[posts]</if><else /><span class="time"><if condition="($vboptions[cybtopstats_newmem_details]=='1')">$cybmemberjoined</if><if condition="($vboptions[cybtopstats_newmem_details]=='2')">$get_new_mem[posts]</if></span></if></td>
		</if>
	</tr>
	]]></template>
		<template name="cyb_topstats_mostviewed" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$get_most_viewed[fullthreadtitle]"><if condition="$get_most_viewed[newpost]">$newpostprefix<else />$oldpostprefix</if>&nbsp;<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$get_most_viewed[threadid]">$get_most_viewed[titletrimmed]</a></td>
		<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[views]" width="1%">&nbsp;$get_most_viewed[views]</td>
	</tr>
	]]></template>
		<template name="cyb_topstats_newposts" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr valign="top">
		<if condition="$vboptions[cybtopstats_lastpost_linking]=='1'">
			<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$get_new_posts[fullthreadtitle]"><if condition="$get_new_posts[newpost]">$newpostprefix<else />$oldpostprefix</if>&nbsp;<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$get_new_posts[threadid]">$get_new_posts[titletrimmed]</a></td>
			<td align="$stylevar[left]" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[cyb_jump_to_unread_post_in_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$get_new_posts[threadid]" style="text-decoration:none">&nbsp;<font face="arial">&#9660;</font></a></td>
		</if>

		<if condition="$vboptions[cybtopstats_lastpost_linking]=='2'">
			<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[cyb_jump_to_unread_post_in_x]</phrase>"><if condition="$get_new_posts[newpost]">$newpostprefix<else />$oldpostprefix</if>&nbsp;<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$get_new_posts[threadid]">$get_new_posts[titletrimmed]</a></td>
			<td align="$stylevar[left]" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[cyb_jump_to_first_post_in_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$get_new_posts[threadid]" style="text-decoration:none">&nbsp;<font face="arial">&#9650;</font></a></td>
		</if>

		<if condition="$vboptions[cybtopstats_lastpost_linking]=='3'">
			<td align="$stylevar[left]" nowrap="nowrap" colspan="2" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[cyb_jump_to_unread_post_in_x]</phrase>"><if condition="$get_new_posts[newpost]">$newpostprefix<else />$oldpostprefix</if>&nbsp;<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$get_new_posts[threadid]">$get_new_posts[titletrimmed]</a></td>
		</if>

		<if condition="$vboptions[cybtopstats_lastpost_linking]=='4'">
			<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[cyb_jump_to_unread_post_in_x]</phrase>"><if condition="$get_new_posts[newpost]">$newpostprefix<else />$oldpostprefix</if>&nbsp;<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$get_new_posts[threadid]">$get_new_posts[titletrimmed]</a></td>
			<td align="$stylevar[left]" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[cyb_jump_to_unread_post_in_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;t=$get_new_posts[threadid]" style="text-decoration:none">&nbsp;<font face="arial">&#9660;</font></a></td>
		</if>

		<if condition="$vboptions[cybtopstats_lastpost_dateline]">
			<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$vbphrase[date]/$vbphrase[time]">&nbsp;<if condition="$get_new_posts[newpost]">$get_new_postdate, $get_new_posttime<else /><span class="time">$get_new_postdate, $get_new_posttime</span></if></td>
		</if>
		<if condition="$vboptions[cybtopstats_lastpost_poster]">
			<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="<if condition="!$get_new_posts[musername]">$vbphrase[guest]<else />$get_new_posts[fullusername]</if>">&nbsp;<if condition="!$get_new_posts[musername]"><div style="cursor:pointer;">&nbsp;$vbphrase[guest]</div><else /><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$get_new_posts[userid]">$get_new_posts[musername]</a></if></td>
		</if>
		<if condition="($vboptions[cybtopstats_lastpost_rvcounts]=='1') OR ($vboptions[cybtopstats_lastpost_rvcounts]=='3')">
			<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$vbphrase[replies]">&nbsp;$get_new_posts[replycount]</td>
		</if>
		<if condition="($vboptions[cybtopstats_lastpost_rvcounts]=='2') OR ($vboptions[cybtopstats_lastpost_rvcounts]=='3')">
			<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$vbphrase[views]">&nbsp;$get_new_posts[views]</td>
		</if>
		<if condition="$vboptions[cybtopstats_lastpost_forums]">
			<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$get_new_posts[fullforumtitle]" width="1%">&nbsp;&nbsp;<a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$get_new_posts[forumid]">$get_new_posts[forumtitle]</a></td>
		</if>

	</tr>
	]]></template>
		<template name="cyb_topstats_php" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
		$stylevar[htmldoctype]
		<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
		<head>
		<title>$vboptions[bbtitle] - <phrase 1="$resultsnr">$vbphrase[cyb_top_x_stats]</phrase></title>
		$headinclude
		</head>
		<body>
		$header
		$navbar
		<table class="tborder" width="100%" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
			<tr valign="top" class="alt1">
				<if condition="$canviewmore">
					<td align="$stylevar[left]" width="100%">
						<form action="" id="cybstatsresnum" name="cybstatsresnum" method="post"><input type="hidden" name="securitytoken" value="$cybafs_sectok" /><div class="smallfont">
						<phrase 1='<br /><select id="resultsnr" name="resultsnr" tabindex="1" onchange="cybstatsresnum.submit();">$resultsnrsw</select>'>$vbphrase[cyb_afs_show_x_results]</phrase>&nbsp;<input type="submit" class="button" value="$vbphrase[cyb_afs_results_update]" accesskey="s" /></div>
						</form>
					</td>
				<else />
					<td width="100%" align="center">$vbphrase[cyb_disabled]</td>
				</if>
				<td align="center">$forumjump</td>
			</tr>
		</table>
		<if condition="$canviewmore"><br />$cybtopstats</if>
		<br />
		$footer
		</body>
		</html>
	]]></template>
		<template name="cyb_topstats_poster" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$getstats_poster[fullusername]"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$getstats_poster[userid]">$getstats_poster[musername]</a></td>
		<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[posts]" width="1%">&nbsp;$getstats_poster[posts]</td>
	</tr>
	]]></template>
		<template name="cyb_topstats_referrer" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$getstats_referrer[fullusername]"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$getstats_referrer[userid]">$getstats_referrer[musername]</a></td>
		<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[cyb_referrals]" width="1%">&nbsp;$getstats_referrer[refnumber]</td>
	</tr>
	]]></template>
		<template name="cyb_topstats_reputation" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$getstats_rep[fullusername]"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$getstats_rep[userid]">$getstats_rep[musername]</a></td>
		<if condition="(!$vboptions[cybtopstats_rep_actual] OR (($vboptions[cybtopstats_timecut]>0) AND $vboptions[cybtopstats_timecut_rep]))">
			<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[cyb_reputations_and_level_full]" width="1%">&nbsp;<span class="time">$getstats_rep[reps]/</span>$getstats_rep[replevel]</td>
		<else />
			<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[reputation]" width="1%">&nbsp;$getstats_rep[reputation]</td>
		</if>
	</tr>
	]]></template>
		<template name="cyb_topstats_starter" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$getstats_starter[fullusername]"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$getstats_starter[userid]">$getstats_starter[musername]</a></td>
		<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[threads]" width="1%">&nbsp;$getstats_starter[threads]</td>
	</tr>
	]]></template>
		<template name="cyb_topstats_stats" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
		<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
		<thead>
			<tr valign="top">
				<td class="tcat" <if condition="($cybtopstats_t_colspan>'1')">colspan="$cybtopstats_t_colspan"</if>><a name="cyb_stats" style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('cyb_fh_stats')"><img id="collapseimg_cyb_fh_stats" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_cyb_fh_stats].gif" alt="" border="0" /></a>
				<if condition="$bbuserinfo[userid]">
					<span id="cybstatsoptions"><phrase 1="$resultsnr">$vbphrase[cyb_top_x_stats]</phrase> <if condition="$cybtopstats_timecut_enabled"><span class="smallfont">(<phrase 1="$vboptions[cybtopstats_timecut]">$vbphrase[cyb_last_x_hours]</phrase>)</span></if><script language="Javascript" type="text/javascript"> vbmenu_register("cybstatsoptions"); </script></span>
					<div class="vbmenu_popup" id="cybstatsoptions_menu" style="display:none">
						<table cellpadding="4" cellspacing="1" border="0">
							<tr valign="top">
								<td class="thead">$vbphrase[options]</td>
							</tr>
							<if condition="($canviewmore AND ($_REQUEST['do']!='cybstats'))">
								<tr valign="top">
									<td class="vbmenu_option" title="<phrase 1="$resultsnr">$vbphrase[cyb_afs_more_stats]</phrase>"><a href="$vboptions[bburl]/misc.php?$session[sessionurl]do=cybstats" rel="nofollow"><phrase 1="$resultsnr">$vbphrase[cyb_afs_more_stats]</phrase></a></td>
								</tr>
							</if>
							<if condition="$cybstats_show">
								<tr valign="top">
									<td class="vbmenu_option" title="$vbphrase[cyb_afs_turnoff_stats]"><a href="$vboptions[bburl]/misc.php?$session[sessionurl]do=disablestats" rel="nofollow">$vbphrase[cyb_afs_turnoff_stats]</a></td>
								</tr>
							</if>		
						</table>
					</div>
				<else />
					<phrase 1="$resultsnr">$vbphrase[cyb_top_x_stats]</phrase>
				</if>
				</td>
			</tr>
		</thead>
		<tbody id="collapseobj_cyb_fh_stats" style="$vbcollapse[collapseobj_cyb_fh_stats]">
			<tr style="height:1%;vertical-align:top">
				<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>" <if condition="($vboptions[cybtopstats_layout]=='2')">rowspan="4"<else />rowspan="2"</if> style="width:1px;height:$cybnpheight;max-height:$cybnpheight;display:none;"></td>
				<if condition="($vboptions[cybtopstats_switch_latestposts]=='1')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$vbphrase[cyb_latest_posts]</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s1]>'0')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s1t</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s3]>'0')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s3t</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s5]>'0')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s5t</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s7]>'0')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s7t</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s9]>'0')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s9t</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_latestposts]=='2')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$vbphrase[cyb_latest_posts]</td>
				</if>
			</tr>
			<tr style="vertical-align:top;height:$cybosheight;max-height:$cybosheight;">
				<if condition="($vboptions[cybtopstats_switch_latestposts]=='1')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>" <if condition="($vboptions[cybtopstats_layout]=='2')">rowspan="3"</if> style="height:$cybnpheight;max-height:$cybnpheight;">
						<table width="100%" cellpadding="0" cellspacing="0" border="0" style="height:<if condition="(THIS_SCRIPT!='misc')">100%<else />1%</if>" id="cybnp">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$vbphrase[thread]</td>
								<td>&nbsp;</td>
								<if condition="$vboptions[cybtopstats_lastpost_dateline]">
									<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[date], $vbphrase[time]</td>
								</if>
								<if condition="$vboptions[cybtopstats_lastpost_poster]">
									<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[posted_by]</td>
								</if>
								<if condition="($vboptions[cybtopstats_lastpost_rvcounts]=='1') OR ($vboptions[cybtopstats_lastpost_rvcounts]=='3')">
									<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[replies]</td>
								</if>
								<if condition="($vboptions[cybtopstats_lastpost_rvcounts]=='2') OR ($vboptions[cybtopstats_lastpost_rvcounts]=='3')">
									<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[views]</td>
								</if>
								<if condition="$vboptions[cybtopstats_lastpost_forums]">
									<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;&nbsp;$vbphrase[forum]</td>
								</if>
							</tr>
							$cybtopstats_newposts
						</table>
					</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s1]>'0')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
						<table width="100%" cellpadding="0" cellspacing="0" border="0">
							<if condition="($vboptions[cybtopstats_layout]=='1')">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s1p1</td>
								<td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s1p2</td>
							</tr>
							</if>
							$cyb_topstats_s1
						</table>
					</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s3]>'0')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
						<table width="100%" cellpadding="0" cellspacing="0" border="0">
							<if condition="($vboptions[cybtopstats_layout]=='1')">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s3p1</td>
								<td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s3p2</td>
							</tr>
							</if>
							$cyb_topstats_s3
						</table>
					</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s5]>'0')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
						<table width="100%" cellpadding="0" cellspacing="0" border="0">
							<if condition="($vboptions[cybtopstats_layout]=='1')">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s5p1</td>
								<td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s5p2</td>
							</tr>
							</if>
							$cyb_topstats_s5
						</table>
					</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s7]>'0')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
						<table width="100%" cellpadding="0" cellspacing="0" border="0">
							<if condition="($vboptions[cybtopstats_layout]=='1')">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s7p1</td>
								<td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s7p2</td>
							</tr>
							</if>
							$cyb_topstats_s7
						</table>
					</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s9]>'0')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
						<table width="100%" cellpadding="0" cellspacing="0" border="0">
							<if condition="($vboptions[cybtopstats_layout]=='1')">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s9p1</td>
								<td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s9p2</td>
							</tr>
							</if>
							$cyb_topstats_s9
						</table>
					</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_latestposts]=='2')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>" <if condition="($vboptions[cybtopstats_layout]=='2')">rowspan="3"</if> style="height:$cybnpheight;max-height:$cybnpheight;">
						<table width="100%" cellpadding="0" cellspacing="0" border="0" style="height:100%" id="cybnp">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$vbphrase[thread]</td>
								<td>&nbsp;</td>
								<if condition="$vboptions[cybtopstats_lastpost_dateline]">
									<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[date], $vbphrase[time]</td>
								</if>
								<if condition="$vboptions[cybtopstats_lastpost_poster]">
									<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[posted_by]</td>
								</if>
								<if condition="($vboptions[cybtopstats_lastpost_rvcounts]=='1') OR ($vboptions[cybtopstats_lastpost_rvcounts]=='3')">
									<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[replies]</td>
								</if>
								<if condition="($vboptions[cybtopstats_lastpost_rvcounts]=='2') OR ($vboptions[cybtopstats_lastpost_rvcounts]=='3')">
									<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;$vbphrase[views]</td>
								</if>
								<if condition="$vboptions[cybtopstats_lastpost_forums]">
									<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">&nbsp;&nbsp;$vbphrase[forum]</td>
								</if>
							</tr>
							$cybtopstats_newposts
						</table>
					</td>
				</if>
			</tr>
		<if condition="($vboptions[cybtopstats_layout]=='2')">
			<tr style="height:1%;vertical-align:top">
				<if condition="($vboptions[cybtopstats_switch_s2]>'0')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s2t</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s4]>'0')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s4t</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s6]>'0')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s6t</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s8]>'0')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s8t</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s10]>'0')">
					<td class="thead" align="$stylevar[left]" nowrap="nowrap">$cyb_topstats_s10t</td>
				</if>
			</tr>
			<tr style="vertical-align:top;height:$cybosheight;max-height:$cybosheight;">
				<if condition="($vboptions[cybtopstats_switch_s2]>'0')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
						<table width="100%" cellpadding="0" cellspacing="0" border="0">
							<if condition="($vboptions[cybtopstats_layout]=='1')">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s2p1</td>
								<td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s2p2</td>
							</tr>
							</if>
							$cyb_topstats_s2
						</table>
					</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s4]>'0')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
						<table width="100%" cellpadding="0" cellspacing="0" border="0">
							<if condition="($vboptions[cybtopstats_layout]=='1')">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s4p1</td>
								<td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s4p2</td>
							</tr>
							</if>
							$cyb_topstats_s4
						</table>
					</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s6]>'0')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
						<table width="100%" cellpadding="0" cellspacing="0" border="0">
							<if condition="($vboptions[cybtopstats_layout]=='1')">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s6p1</td>
								<td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s6p2</td>
							</tr>
							</if>
							$cyb_topstats_s6
						</table>
					</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s8]>'0')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
						<table width="100%" cellpadding="0" cellspacing="0" border="0">
							<if condition="($vboptions[cybtopstats_layout]=='1')">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s8p1</td>
								<td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s8p2</td>
							</tr>
							</if>
							$cyb_topstats_s8
						</table>
					</td>
				</if>
				<if condition="($vboptions[cybtopstats_switch_s10]>'0')">
					<td class="<if condition="($vboptions[cybtopstats_tablebg]=='1')">alt1<else />alt2</if>">
						<table width="100%" cellpadding="0" cellspacing="0" border="0">
							<if condition="($vboptions[cybtopstats_layout]=='1')">
							<tr style="height:14px;vertical-align:top">
								<td align="$stylevar[left]" nowrap="nowrap" class="smallfont">$cyb_topstats_s10p1</td>
								<td align="$stylevar[right]" nowrap="nowrap" class="smallfont">$cyb_topstats_s10p2</td>
							</tr>
							</if>
							$cyb_topstats_s10
						</table>
					</td>
				</if>
			</tr>
		</if>	
		</tbody>
	</table>
	<br />]]></template>
		<template name="cyb_topstats_thanks" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$getstats_thx[fullusername]"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$getstats_thx[userid]">$getstats_thx[musername]</a></td>
		<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[post_thanks_total_thanks]" width="1%">&nbsp;$getstats_thx[post_thanks_thanked_times]</td>
	</tr>
	]]></template>
		<template name="cyb_topstats_topforums" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<tr style="height:14px;vertical-align:top">
		<td align="$stylevar[left]" nowrap="nowrap" class="smallfont" title="$get_topforums[fullforumtitle]"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$get_topforums[forumid]">$get_topforums[titletrimmed]</a></td>
		<td align="$stylevar[right]" nowrap="nowrap" class="smallfont" title="$vbphrase[posts]" width="1%">&nbsp;$get_topforums[replycount]</td>
	</tr>
	]]></template>
		<template name="cyb_topstats_turnon" templatetype="template" date="1211644143" username="Cybernetec" version="5.8.1"><![CDATA[
	<if condition="!$cybstats_show"><a href="$vboptions[bburl]/misc.php?$session[sessionurl]do=enablestats" rel="nofollow">$vbphrase[cyb_afs_turnon_stats]</a></if>
	]]></template>
	</templates>
	<plugins>
		<plugin active="1" executionorder="5">
			<title>Cyb - Advanced Forum Statistics - CT</title>
			<hookname>cache_templates</hookname>
			<phpcode><![CDATA[
		if ($vbulletin->options['cybtopstats_enable_global'])
		{
			$globaltemplates = array_merge($globaltemplates, array('cyb_topstats_stats', 'cyb_topstats_latestnews', 'cyb_topstats_member', 'cyb_topstats_poster', 'cyb_topstats_starter', 'cyb_topstats_referrer', 'cyb_topstats_mostviewed', 'cyb_topstats_hottest', 'cyb_topstats_reputation', 'cyb_topstats_thanks', 'cyb_topstats_topforums', 'cyb_topstats_newposts', 'cyb_topstats_infractions', 'cyb_topstats_classads', 'cyb_topstats_blogs', 'cyb_topstats_turnon', 'cyb_topstats_php'));
		}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>Cyb - Advanced Forum Statistics - FH</title>
			<hookname>misc_start</hookname>
			<phpcode><![CDATA[
		if ($vbulletin->options['cybtopstats_enable_global'] AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['cybtopstats_excl_groups'])))
		{
			if ($_REQUEST['do'] == 'cybstats')
			{
				$cybafs_sectok = $vbulletin->userinfo['securitytoken'];
				if (!$cybafs_sectok)
				{
					$cybafs_sectok = 'none';
				}
				require_once('./global.php');
				construct_forum_jump();
				$navbits = construct_navbits(array('' => $vbphrase['cyb_top_stats']));
				eval('$navbar = "' . fetch_template('navbar') . '";');
				eval('print_output("' . fetch_template('cyb_topstats_php') . '");');
			}

			if (($_REQUEST['do'] == 'enablestats') AND $vbulletin->userinfo['userid'])
			{
				$vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "user SET showcybstats = '1' WHERE userid = " . $vbulletin->userinfo['userid'] . " ");
				exec_header_redirect($vbulletin->options['forumhome'].'.php#cyb_stats');
			}

			if (($_REQUEST['do'] == 'disablestats') AND $vbulletin->userinfo['userid'])
			{		
				$vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "user SET showcybstats = '0' WHERE userid = " . $vbulletin->userinfo['userid'] . " ");
				$vbulletin->templatecache['navbar'] = str_replace('$vbphrase[miscellaneous]</td></tr>', '$vbphrase[miscellaneous]</td></tr><tr><td class=\"vbmenu_option\" title=\"'.$vbphrase['cyb_afs_turnon_stats'].'\">'.$vbulletin->templatecache['cyb_topstats_turnon'].'</td></tr>', $vbulletin->templatecache['navbar']);
				eval(standard_error(fetch_error('cyb_topstats_disabled_note', $vbphrase['cyb_afs_turnon_stats'], $vbphrase['quick_links'])));
			}
		}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>Cyb - Advanced Forum Statistics - MN</title>
			<hookname>parse_templates</hookname>
			<phpcode><![CDATA[
		eval('$cybtopstats_locs = in_array(THIS_SCRIPT, array(misc,' . $vbulletin->options['cybtopstats_add_loc'] . '));');

		if ($vbulletin->options['cybtopstats_enable_global'] AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['cybtopstats_excl_groups'])) AND !isset($_POST['fromquickreply']))
		{
			if ($vbulletin->userinfo['userid'])
			{
				if ($vbulletin->userinfo['showcybstats']=='1')
				{
					$cybstats_show = true;
				}
				else
				{
					$cybstats_show = false;
				}

				if (!$cybstats_show)
				{
					$vbulletin->templatecache['navbar'] = str_replace('$vbphrase[miscellaneous]</td></tr>', '$vbphrase[miscellaneous]</td></tr><tr><td class=\"vbmenu_option\" title=\"'.$vbphrase['cyb_afs_turnon_stats'].'\">'.$vbulletin->templatecache['cyb_topstats_turnon'].'</td></tr>', $vbulletin->templatecache['navbar']);
				}
			}
			else
			{
				$cybstats_show = true;
			}
		}

		if (!$cybstats_show)
		{
			eval('$cybts_enablelink = "' . fetch_template('cyb_topstats_turnon') . '";');
		}

		if ($cybstats_show AND ((($vbulletin->options['cybtopstats_window_loc']!='0') AND (THIS_SCRIPT == "index")) OR in_array(THIS_SCRIPT, array($cybtopstats_locs))))
		{
			$db->hide_errors();
			global $vbulletin;

			$cybstatsforumperms = array();
			foreach($vbulletin->forumcache AS $cybtsforum)
			{
				$cybstatsforumperms[$cybtsforum["forumid"]] = fetch_permissions($cybtsforum['forumid']);
				if ((!($cybstatsforumperms[$cybtsforum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview'])) OR (!($cybtsforum['options'] & $vbulletin->bf_misc_forumoptions['active']) AND !$vbulletin->options['showprivateforums'] AND !in_array($vbulletin->userinfo['usergroupid'], array(5,6,7))))
				{
					$cybexclfids .= ','.$cybtsforum['forumid'];
				}
			}
			if ($vbulletin->options['cybtopstats_excl_forums']!='')
			{
				$cybexclfids .= ','.$vbulletin->options['cybtopstats_excl_forums'];
			}
			$cybexclfids = substr($cybexclfids, 1);
			if ($cybexclfids!='')
			{
				$cybexclforums_lastposts = "AND thread.forumid NOT IN($cybexclfids)";
				$cybexclforums_topforums = "AND thread.forumid NOT IN($cybexclfids)";
				$cybexclforums = "AND forumid NOT IN($cybexclfids)";
			}
			unset($cybtsforum);

			if ($vbulletin->options['cybtopstats_excl_groups_listing']!='')
			{
				$cybexclgids = ','.$vbulletin->options['cybtopstats_excl_groups_listing'];
			}			
			$cybexclgids = substr($cybexclgids, 1);
			if ($cybexclgids!='')
			{
				$cybexclgroups_user = "AND user.usergroupid NOT IN ($cybexclgids)";
				$cybexclgroups = "AND usergroupid NOT IN ($cybexclgids)";
			}			

			$cyb_rnr_first_srch = strpos($vbulletin->options['cybtopstats_amount_more'], ",");
			$cyb_rnr_first = substr($vbulletin->options['cybtopstats_amount_more'],0,$cyb_rnr_first_srch);

			if ($_REQUEST['do'] == 'cybstats')
			{
				$resultsnr = $vbulletin->input->clean_gpc('r', 'resultsnr', TYPE_UINT);

				$cyb_rnr_options = explode(',', $vbulletin->options['cybtopstats_amount_more']);
				foreach ($cyb_rnr_options AS $cyb_rnr_option)
				{
					eval('$resultsnrsw .= " <option value=\"'.$cyb_rnr_option.'\" " . iif($resultsnr==$cyb_rnr_option," selected=\"selected\"","").">'.$cyb_rnr_option.'</option> ";');
				}

				if ($resultsnr == '')
				{
					$resultsnr = $cyb_rnr_first;
				}
			}
			else
			{
				$resultsnr = intval($vbulletin->options['cybtopstats_amount_main']);
				if ($resultsnr <= 0)
				{
					$resultsnr = $cyb_rnr_first;
				}
			}

			if ($vbulletin->options['cybtopstats_layout']=='1')
			{
				$resultsnrnp = $resultsnr;
			}
			else
			{
				$resultsnrnp = $resultsnr * 2;
			}

			$trimthreadtitle = $vbulletin->options['cybtopstats_trim_threadtitles'];
			if ($trimthreadtitle <= 0)
			{
				$trimthreadtitle = $vbulletin->options['lastthreadchars'];
			}
			if ($trimthreadtitle == 1)
			{
				$trimthreadtitle = 300;
			}
			$trimusername = $vbulletin->options['cybtopstats_trim_usernames'];
			$trimforumtitles = $vbulletin->options['cybtopstats_trim_forumtitles'];	

			$newpostprefix = '<img border="0" alt="'.$vbphrase['new'].'" src="'.$vbulletin->options['cybtopstats_prefix_new'].'" />';
			$oldpostprefix = '<img border="0" alt="'.$vbphrase['old'].'" src="'.$vbulletin->options['cybtopstats_prefix_old'].'" />';
			$cyb_afs_bpar = array("<strong>","</strong>","<b>","</b>", "font-weight: bold", "font-weight:bold");

			if ($vbulletin->options['cybtopstats_layout']=='2')
			{
				if ($vbulletin->options['cybtopstats_switch_s1']=='0')
				{
					$vbulletin->options['cybtopstats_switch_s2']='0';
				}
				if ($vbulletin->options['cybtopstats_switch_s3']=='0')
				{
					$vbulletin->options['cybtopstats_switch_s4']='0';
				}
				if ($vbulletin->options['cybtopstats_switch_s5']=='0')
				{
					$vbulletin->options['cybtopstats_switch_s6']='0';
				}
				if ($vbulletin->options['cybtopstats_switch_s7']=='0')
				{
					$vbulletin->options['cybtopstats_switch_s8']='0';
				}
				if ($vbulletin->options['cybtopstats_switch_s9']=='0')
				{
					$vbulletin->options['cybtopstats_switch_s10']='0';
				}
				if ($vbulletin->options['cybtopstats_switch_s2']=='0')
				{
					$vbulletin->options['cybtopstats_switch_s1']='0';
				}
				if ($vbulletin->options['cybtopstats_switch_s4']=='0')
				{
					$vbulletin->options['cybtopstats_switch_s3']='0';
				}
				if ($vbulletin->options['cybtopstats_switch_s6']=='0')
				{
					$vbulletin->options['cybtopstats_switch_s5']='0';
				}
				if ($vbulletin->options['cybtopstats_switch_s8']=='0')
				{
					$vbulletin->options['cybtopstats_switch_s7']='0';
				}
				if ($vbulletin->options['cybtopstats_switch_s10']=='0')
				{
					$vbulletin->options['cybtopstats_switch_s9']='0';
				}
			}

			$cybtopstats_enable_latestnews = false;
			$cybtopstats_enable_newmem = false;
			$cybtopstats_enable_toppost = false;
			$cybtopstats_enable_topstarters = false;
			$cybtopstats_enable_topreferrers = false;
			$cybtopstats_enable_mostviewed = false;
			$cybtopstats_enable_hottest = false;
			$cybtopstats_enable_rep = false;
			$cybtopstats_enable_thx = false;
			$cybtopstats_enable_topforums = false;
			$cybtopstats_enable_infractions = false;
			$cybtopstats_enable_classads = false;
			$cybtopstats_enable_blogs = false;
			$cybtopstats_enable_lastpost = false;

			$cybtopstats_boxes = array($vbulletin->options['cybtopstats_switch_s1'],$vbulletin->options['cybtopstats_switch_s2'],$vbulletin->options['cybtopstats_switch_s3'],$vbulletin->options['cybtopstats_switch_s4'],$vbulletin->options['cybtopstats_switch_s5'],$vbulletin->options['cybtopstats_switch_s6'],$vbulletin->options['cybtopstats_switch_s7'],$vbulletin->options['cybtopstats_switch_s8'],$vbulletin->options['cybtopstats_switch_s9'],$vbulletin->options['cybtopstats_switch_s10']);

			if (in_array("1", $cybtopstats_boxes))
			{
				$cybtopstats_enable_latestnews = true;
			}
			if (in_array("2", $cybtopstats_boxes))
			{
				$cybtopstats_enable_newmem = true;
			}
			if (in_array("3", $cybtopstats_boxes))
			{
				$cybtopstats_enable_toppost = true;
			}
			if (in_array("4", $cybtopstats_boxes))
			{
				$cybtopstats_enable_topstarters = true;
			}
			if (in_array("5", $cybtopstats_boxes))
			{
				$cybtopstats_enable_topreferrers = true;
			}
			if (in_array("6", $cybtopstats_boxes))
			{
				$cybtopstats_enable_mostviewed = true;
			}
			if (in_array("7", $cybtopstats_boxes))
			{
				$cybtopstats_enable_hottest = true;
			}
			if (in_array("8", $cybtopstats_boxes))
			{
				$cybtopstats_enable_rep = true;
			}
			if (in_array("9", $cybtopstats_boxes))
			{
				$cybtopstats_enable_thx = true;
			}
			if (in_array("10", $cybtopstats_boxes))
			{
				$cybtopstats_enable_topforums = true;
			}
			if (in_array("11", $cybtopstats_boxes))
			{
				$cybtopstats_enable_infractions = true;
			}
			if (in_array("12", $cybtopstats_boxes))
			{
				$cybtopstats_enable_classads = true;
			}
			if (in_array("13", $cybtopstats_boxes))
			{
				$cybtopstats_enable_blogs = true;
			}
			if ($vbulletin->options['cybtopstats_switch_latestposts']!='0')
			{
				$cybtopstats_enable_lastpost = true;
			}

			$cybtopstats_t_colspan = 1;
			if ($vbulletin->options['cybtopstats_switch_s1']!='0')
			{
				$cybtopstats_t_colspan += 1;
			}
			if ($vbulletin->options['cybtopstats_switch_s3']!='0')
			{
				$cybtopstats_t_colspan += 1;
			}
			if ($vbulletin->options['cybtopstats_switch_s5']!='0')
			{
				$cybtopstats_t_colspan += 1;
			}
			if ($vbulletin->options['cybtopstats_switch_s7']!='0')
			{
				$cybtopstats_t_colspan += 1;
			}
			if ($vbulletin->options['cybtopstats_switch_s9']!='0')
			{
				$cybtopstats_t_colspan += 1;
			}
			if ($vbulletin->options['cybtopstats_switch_latestposts']=='2')
			{
				$cybtopstats_t_colspan += 1;
			}

			if ($vbulletin->options['cybtopstats_layout']=='1')
			{
				$cybnpheight = (14 * $resultsnr)."px";
			}
			else
			{
				$cybnpheight = ((($resultsnr * 14) * 2) + ($stylevar['cellpadding'] * 2) + 21)."px";
			}
			$cybosheight = ($resultsnr * 14)."px";

			$cybtopstats_timecut_enabled = false;
			if ($vbulletin->options['cybtopstats_timecut']>0)
			{
				$cybtopstats_timecut_start = TIMENOW - ($vbulletin->options['cybtopstats_timecut'] * 86400);
				if ($vbulletin->options['cybtopstats_timecut_latestnews'])
				{
					$cybtopstats_timecut_latestnews = "AND dateline > $cybtopstats_timecut_start";
					$vbphrase['cyb_latest_news'] = $vbphrase['cyb_latest_news'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_newmem'])
				{
					$cybtopstats_timecut_newmem = "AND joindate > $cybtopstats_timecut_start";
					$vbphrase['cyb_newest_members'] = $vbphrase['cyb_newest_members'].'*';
					$cybtopstats_timecut_enabled = true;
				}	
				if ($vbulletin->options['cybtopstats_timecut_toppost'])
				{
					$cybtopstats_timecut_toppost = "AND post.dateline > $cybtopstats_timecut_start";
					$vbphrase['cyb_top_posters'] = $vbphrase['cyb_top_posters'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_topstarters'])
				{
					$cybtopstats_timecut_topstarters = "AND thread.dateline > $cybtopstats_timecut_start";
					$vbphrase['cyb_top_starters'] = $vbphrase['cyb_top_starters'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_topreferrers'])
				{
					$cybtopstats_timecut_topreferrers = "AND refs.joindate > $cybtopstats_timecut_start";
					$vbphrase['cyb_top_referrers'] = $vbphrase['cyb_top_referrers'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_mostviewed'])
				{
					$cybtopstats_timecut_mostviewed = "AND dateline > $cybtopstats_timecut_start";
					$vbphrase['cyb_most_viewed'] = $vbphrase['cyb_most_viewed'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_hottest'])
				{
					$cybtopstats_timecut_hottest = "AND dateline > $cybtopstats_timecut_start";
					$vbphrase['cyb_hottest_threads'] = $vbphrase['cyb_hottest_threads'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_rep'])
				{
					$cybtopstats_timecut_rep = "AND reputation.dateline > $cybtopstats_timecut_start";
					$vbphrase['cyb_top_reputation'] = $vbphrase['cyb_top_reputation'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_thx'])
				{
					$cybtopstats_timecut_thx = "AND post.dateline > $cybtopstats_timecut_start";
					$vbphrase['cyb_thanked_members'] = $vbphrase['cyb_thanked_members'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_topforums'])
				{
					$cybtopstats_timecut_topforums = "AND post.dateline > $cybtopstats_timecut_start";
					$vbphrase['cyb_top_forums'] = $vbphrase['cyb_top_forums'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_infractions'])
				{
					$cybtopstats_timecut_infractions = "AND infraction.dateline > $cybtopstats_timecut_start";
					$vbphrase['cyb_top_infractions'] = $vbphrase['cyb_top_infractions'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_classads'])
				{
					$cybtopstats_timecut_classads = "AND dateline > $cybtopstats_timecut_start";
					$vbphrase['cyb_latest_classads'] = $vbphrase['cyb_latest_classads'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_blogs'])
				{
					$cybtopstats_timecut_blogs = "AND dateline > $cybtopstats_timecut_start";
					$vbphrase['cyb_latest_blogs'] = $vbphrase['cyb_latest_blogs'].'*';
					$cybtopstats_timecut_enabled = true;
				}
				if ($vbulletin->options['cybtopstats_timecut_lastpost'])
				{
					$cybtopstats_timecut_lastpost = "AND thread.lastpost > $cybtopstats_timecut_start";
					$vbphrase['cyb_latest_posts'] = $vbphrase['cyb_latest_posts'].'*';
					$cybtopstats_timecut_enabled = true;
				}
			}

			if ($cybtopstats_enable_latestnews AND ($vbulletin->options['cybtopstats_latestnews_newsforumid']!=''))
			{
				$get_stats_latestnews = $vbulletin->db->query_read("
					SELECT threadid, title, forumid, dateline, lastpost, visible, open
					FROM " . TABLE_PREFIX . "thread AS thread
					WHERE NOT ISNULL(threadid) AND forumid IN (".$vbulletin->options['cybtopstats_latestnews_newsforumid'].") AND visible = '1' AND open!='10' $cybtopstats_timecut_latestnews
					ORDER BY dateline DESC
					LIMIT 0, $resultsnr
				");
				while ($get_latest_news = $db->fetch_array($get_stats_latestnews))
				{
					$get_latest_news[fullthreadtitle] = strip_tags($get_latest_news[title]);
					if ($trimthreadtitle > 0)
					{
						$get_latest_news[titletrimmed] = fetch_trimmed_title($get_latest_news[fullthreadtitle], $trimthreadtitle);
					}
					else
					{
						$get_latest_news[titletrimmed] = $get_latest_news[fullthreadtitle];
					}
					if ($get_latest_news[lastpost] > $vbulletin->userinfo['lastvisit'])
					{
						$get_latest_news[newpost] = true;
					}
					$get_news_postdate = vbdate($vbulletin->options['cybtopstats_date_format'], $get_latest_news[dateline]);
					eval('$cybtopstats_latestnews .= "' . $vbulletin->templatecache['cyb_topstats_latestnews'] . '";');
				}
			}

			if ($cybtopstats_enable_newmem)
			{
				$get_stats_newmem = $vbulletin->db->query_read("
					SELECT userid, usergroupid, displaygroupid, username, joindate, posts
					FROM " . TABLE_PREFIX . "user AS user
					WHERE userid > '0' $cybexclgroups $cybtopstats_timecut_newmem
					ORDER BY joindate DESC
					LIMIT 0, $resultsnr
				");
				while ($get_new_mem = $db->fetch_array($get_stats_newmem))
				{
					$get_new_mem[fullusername] = strip_tags($get_new_mem[username]);
					if ($trimusername > 0)
					{
						$get_new_mem[username] = fetch_trimmed_title($get_new_mem[fullusername], $trimusername);
					}
					else
					{
						$get_new_mem[username] = $get_new_mem[fullusername];
					}
					$get_new_mem[musername] = fetch_musername($get_new_mem);

					if ($vbulletin->options['cybtopstats_bold_remove'])
					{
						$get_new_mem[musername] = str_replace($cyb_afs_bpar, "", $get_new_mem[musername]);
					}
					if ($get_new_mem[joindate] > $vbulletin->userinfo['lastvisit'])
					{
						$get_new_mem[newuser] = true;
					}
					$cybmemberjoined = vbdate($vbulletin->options['cybtopstats_date_format'], $get_new_mem['joindate']);
					eval('$cybtopstats_members .= "' . $vbulletin->templatecache['cyb_topstats_member'] . '";');
				}
			}

			if ($cybtopstats_enable_toppost)
			{
				if ($vbulletin->options['cybtopstats_timecut']>0)
				{
					$get_stats_posters = $vbulletin->db->query_read("
						SELECT COUNT(post.postid) AS posts, post.userid, post.dateline, user.usergroupid, user.displaygroupid, user.username
						FROM " . TABLE_PREFIX . "post AS post
						LEFT JOIN " . TABLE_PREFIX . "user AS user ON (post.userid = user.userid)
						LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid = post.threadid)
						LEFT JOIN " . TABLE_PREFIX . "forum AS forum ON (forum.forumid = thread.forumid)
						WHERE posts > '0' AND post.visible='1' AND (forum.options & 4096) $cybexclgroups $cybtopstats_timecut_toppost
						GROUP BY post.userid
						ORDER BY posts DESC
						LIMIT 0, $resultsnr
					");
				}
				else
				{
					$get_stats_posters = $vbulletin->db->query_read("
						SELECT userid, usergroupid, displaygroupid, username, posts
						FROM " . TABLE_PREFIX . "user AS user
						WHERE posts > '0' $cybexclgroups
						ORDER BY posts DESC
						LIMIT 0, $resultsnr
					");
				}
				while ($getstats_poster = $db->fetch_array($get_stats_posters))
				{
					$getstats_poster[fullusername] = strip_tags($getstats_poster[username]);
					if ($trimusername > 0)
					{
						$getstats_poster[username] = fetch_trimmed_title($getstats_poster[fullusername], $trimusername);
					}
					else
					{
						$getstats_poster[username] = $getstats_poster[fullusername];
					}
					$getstats_poster[musername] = fetch_musername($getstats_poster);

					if ($vbulletin->options['cybtopstats_bold_remove'])
					{
						$getstats_poster[musername] = str_replace($cyb_afs_bpar, "", $getstats_poster[musername]);
					}
					eval('$cybtopstats_posters .= "' . $vbulletin->templatecache['cyb_topstats_poster'] . '";');
				}
			}

			if ($cybtopstats_enable_topstarters)
			{
				$get_stats_starters = $vbulletin->db->query_read("
					SELECT COUNT(thread.threadid) AS threads, thread.postuserid, thread.dateline, user.userid, user.usergroupid, user.displaygroupid, user.username
					FROM " . TABLE_PREFIX . "thread AS thread
					LEFT JOIN " . TABLE_PREFIX . "user AS user ON (thread.postuserid = user.userid)
					LEFT JOIN " . TABLE_PREFIX . "forum AS forum ON (forum.forumid = thread.forumid)
					WHERE thread.visible='1' AND (forum.options & 4096) AND user.userid > '0' $cybexclgroups_user $cybtopstats_timecut_topstarters
					GROUP BY thread.postuserid
					ORDER BY threads DESC
					LIMIT 0, $resultsnr
				");
				while ($getstats_starter = $db->fetch_array($get_stats_starters))
				{
					$getstats_starter[fullusername] = strip_tags($getstats_starter[username]);
					if ($trimusername > 0)
					{
						$getstats_starter[username] = fetch_trimmed_title($getstats_starter[fullusername], $trimusername);
					}
					else
					{
						$getstats_starter[username] = $getstats_starter[fullusername];
					}
					$getstats_starter[musername] = fetch_musername($getstats_starter);
					if ($vbulletin->options['cybtopstats_bold_remove'])
					{
						$getstats_starter[musername] = str_replace($cyb_afs_bpar, "", $getstats_starter[musername]);
					}
					eval('$cybtopstats_starters .= "' . $vbulletin->templatecache['cyb_topstats_starter'] . '";');
				}
			}

			if ($cybtopstats_enable_topreferrers)
			{
				$get_stats_referrers = $vbulletin->db->query_read("
					SELECT COUNT(*) AS refnumber, user.username, user.userid, user.usergroupid, user.displaygroupid, user.referrerid, refs.joindate
					FROM " . TABLE_PREFIX . "user AS refs
					LEFT JOIN " . TABLE_PREFIX . "user AS user ON (refs.referrerid = user.userid)
					WHERE refs.referrerid > '0' AND user.userid > '0' $cybexclgroups_user $cybtopstats_timecut_topreferrers
					GROUP BY refs.referrerid
					ORDER BY refnumber DESC
					LIMIT 0, $resultsnr
				");
				while ($getstats_referrer = $db->fetch_array($get_stats_referrers))
				{
					$getstats_referrer[fullusername] = strip_tags($getstats_referrer[username]);
					if ($trimusername > 0)
					{
						$getstats_referrer[username] = fetch_trimmed_title($getstats_referrer[fullusername], $trimusername);
					}
					else
					{
						$getstats_referrer[username] = $getstats_referrer[fullusername];
					}
					$getstats_referrer[musername] = fetch_musername($getstats_referrer);

					if ($vbulletin->options['cybtopstats_bold_remove'])
					{
						$getstats_referrer[musername] = str_replace($cyb_afs_bpar, "", $getstats_referrer[musername]);
					}
					eval('$cybtopstats_referrers .= "' . $vbulletin->templatecache['cyb_topstats_referrer'] . '";');
				}
			}

			if ($cybtopstats_enable_mostviewed)
			{
				$get_stats_mostviewed = $vbulletin->db->query_read("
					SELECT threadid, title, forumid, views, dateline, visible, open
					FROM " . TABLE_PREFIX . "thread AS thread
					WHERE NOT ISNULL(threadid) AND visible = '1' AND views > '0' AND open!='10' $cybexclforums $cybtopstats_timecut_mostviewed
					ORDER BY views DESC
					LIMIT 0, $resultsnr
				");
				while ($get_most_viewed = $db->fetch_array($get_stats_mostviewed))
				{
					$get_most_viewed[fullthreadtitle] = strip_tags($get_most_viewed[title]);
					if ($trimthreadtitle > 0)
					{
						$get_most_viewed[titletrimmed] = fetch_trimmed_title($get_most_viewed[fullthreadtitle], $trimthreadtitle);
					}
					else
					{
						$get_most_viewed[titletrimmed] = $get_most_viewed[fullthreadtitle];
					}

					if ($get_most_viewed[lastpost] > $vbulletin->userinfo['lastvisit'])
					{
						$get_most_viewed[newpost] = true;
					}
					eval('$cybtopstats_mostviewed .= "' . $vbulletin->templatecache['cyb_topstats_mostviewed'] . '";');
				}
			}

			if ($cybtopstats_enable_hottest)
			{
				$get_stats_hottest = $vbulletin->db->query_read("
					SELECT threadid, title, lastpost, forumid, replycount, dateline, visible, open
					FROM " . TABLE_PREFIX . "thread AS thread
					WHERE NOT ISNULL(threadid) AND visible = '1' AND replycount > '0' AND open!='10' $cybexclforums $cybtopstats_timecut_hottest
					ORDER BY replycount DESC
					LIMIT 0, $resultsnr
				");
				while ($get_hottest_threads = $db->fetch_array($get_stats_hottest))
				{
					$get_hottest_threads[fullthreadtitle] = strip_tags($get_hottest_threads[title]);
					if ($trimthreadtitle > 0)
					{
						$get_hottest_threads[titletrimmed] = fetch_trimmed_title($get_hottest_threads[fullthreadtitle], $trimthreadtitle);
					}
					else
					{
						$get_hottest_threads[titletrimmed] = $get_hottest_threads[fullthreadtitle];
					}

					if ($get_hottest_threads[lastpost] > $vbulletin->userinfo['lastvisit'])
					{
						$get_hottest_threads[newpost] = true;
					}
					eval('$cybtopstats_hottest .= "' . $vbulletin->templatecache['cyb_topstats_hottest'] . '";');
				}
			}

			if ($cybtopstats_enable_rep)
			{
				if (!$vbulletin->options['cybtopstats_rep_actual'] OR (($vbulletin->options['cybtopstats_timecut']>0) AND $vbulletin->options['cybtopstats_timecut_rep']))
				{
					$get_stats_reputation = $vbulletin->db->query_read("
						SELECT COUNT(reputation.reputationid) AS reps, SUM(reputation.reputation) AS replevel, reputation.userid, user.usergroupid, user.displaygroupid, user.username, user.posts
						FROM " . TABLE_PREFIX . "reputation AS reputation
						LEFT JOIN " . TABLE_PREFIX . "user AS user ON (reputation.userid = user.userid)
						WHERE reputation.userid > '0' AND reputation.reputation > '0' $cybexclgroups $cybtopstats_timecut_rep
						GROUP BY reputation.userid
						ORDER BY replevel DESC
						LIMIT 0, $resultsnr
					");
				}
				else
				{
					$get_stats_reputation = $vbulletin->db->query_read("
						SELECT userid, usergroupid, displaygroupid, username, posts, reputation
						FROM " . TABLE_PREFIX . "user AS user
						WHERE reputation > '0' $cybexclgroups
						ORDER BY reputation DESC
						LIMIT 0, $resultsnr
					");
				}
				while ($getstats_rep = $db->fetch_array($get_stats_reputation))
				{
					$getstats_rep[fullusername] = strip_tags($getstats_rep[username]);
					if ($trimusername > 0)
					{
						$getstats_rep[username] = fetch_trimmed_title($getstats_rep[fullusername], $trimusername);
					}
					else
					{
						$getstats_rep[username] = $getstats_rep[fullusername];
					}
					$getstats_rep[musername] = fetch_musername($getstats_rep);

					if ($vbulletin->options['cybtopstats_bold_remove'])
					{
						$getstats_rep[musername] = str_replace($cyb_afs_bpar, "", $getstats_rep[musername]);
					}
					eval('$cybtopstats_reputation .= "' . $vbulletin->templatecache['cyb_topstats_reputation'] . '";');
				}
			}

			if ($cybtopstats_enable_thx AND $vbulletin->options['post_thanks_on_off'])
			{
				if ($vbulletin->options['cybtopstats_timecut']>0)
				{
					$get_stats_thanks = $vbulletin->db->query_read("
						SELECT SUM(post.post_thanks_amount) AS post_thanks_thanked_times, post.userid, user.usergroupid, user.displaygroupid, user.username, user.posts
						FROM " . TABLE_PREFIX . "post AS post
						LEFT JOIN " . TABLE_PREFIX . "user AS user ON (post.userid = user.userid)
						WHERE post_thanks_amount > '0' $cybexclgroups $cybtopstats_timecut_thx
						GROUP BY post.userid
						ORDER BY post_thanks_thanked_times DESC
						LIMIT 0, $resultsnr
					");
				}
				else
				{
					$get_stats_thanks = $vbulletin->db->query_read("
						SELECT userid, usergroupid, displaygroupid, username, posts, post_thanks_thanked_times
						FROM " . TABLE_PREFIX . "user AS user
						WHERE post_thanks_thanked_times > '0' $cybexclgroups
						ORDER BY post_thanks_thanked_times DESC
						LIMIT 0, $resultsnr
					");
				}
				while ($getstats_thx = $db->fetch_array($get_stats_thanks))
				{
					$getstats_thx[fullusername] = strip_tags($getstats_thx[username]);
					if ($trimusername > 0)
					{
						$getstats_thx[username] = fetch_trimmed_title($getstats_thx[fullusername], $trimusername);
					}
					else
					{
						$getstats_thx[username] = $getstats_thx[fullusername];
					}
					$getstats_thx[musername] = fetch_musername($getstats_thx);

					if ($vbulletin->options['cybtopstats_bold_remove'])
					{
						$getstats_thx[musername] = str_replace($cyb_afs_bpar, "", $getstats_thx[musername]);
					}
					eval('$cybtopstats_thanks .= "' . $vbulletin->templatecache['cyb_topstats_thanks'] . '";');
				}
			}

			if ($cybtopstats_enable_topforums)
			{
				if ($vbulletin->options['cybtopstats_timecut']>0)
				{
					$get_stats_topforums = $vbulletin->db->query_read("
						SELECT COUNT(post.postid) AS replycount, forum.forumid, forum.title_clean
						FROM " . TABLE_PREFIX . "post AS post
						LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (post.threadid = thread.threadid)
						LEFT JOIN " . TABLE_PREFIX . "forum AS forum ON (thread.forumid = forum.forumid)
						WHERE post.visible='1' AND thread.visible='1' AND (forum.options & 4096) $cybexclforums_topforums $cybtopstats_timecut_topforums
						GROUP BY thread.forumid
						ORDER BY replycount DESC
						LIMIT 0, $resultsnr
					");
				}
				else
				{
					$get_stats_topforums = $vbulletin->db->query_read("
						SELECT forumid, title_clean, replycount
						FROM " . TABLE_PREFIX . "forum AS forum
						WHERE replycount > '0' $cybexclforums
						ORDER BY replycount DESC
						LIMIT 0, $resultsnr
					");
				}
				while ($get_topforums = $db->fetch_array($get_stats_topforums))
				{
					$get_topforums[fullforumtitle] = strip_tags($get_topforums[title_clean]);
					if ($trimforumtitles > 0)
					{
						$get_topforums[titletrimmed] = fetch_trimmed_title($get_topforums[fullforumtitle], $trimforumtitles);
					}
					else
					{
						$get_topforums[titletrimmed] = $get_topforums[fullforumtitle];
					}
					eval('$cybtopstats_topforums .= "' . $vbulletin->templatecache['cyb_topstats_topforums'] . '";');
				}
			}

			if ($cybtopstats_enable_infractions)
			{
				$get_stats_infractions = $vbulletin->db->query_read("
					SELECT COUNT(infraction.infractionid) AS infs, SUM(infraction.points) AS infpoints, infraction.userid, user.usergroupid, user.displaygroupid, user.username
					FROM " . TABLE_PREFIX . "infraction AS infraction
					LEFT JOIN " . TABLE_PREFIX . "user AS user ON (infraction.userid = user.userid)
					WHERE infraction.userid > '0' AND infraction.points > '0' $cybexclgroups_user $cybtopstats_timecut_infractions
					GROUP BY infraction.userid
					ORDER BY infpoints DESC
					LIMIT 0, $resultsnr
				");
				while ($getstats_infraction = $db->fetch_array($get_stats_infractions))
				{
					$getstats_infraction[fullusername] = strip_tags($getstats_infraction[username]);
					if ($trimusername > 0)
					{
						$getstats_infraction[username] = fetch_trimmed_title($getstats_infraction[fullusername], $trimusername);
					}
					else
					{
						$getstats_infraction[username] = $getstats_infraction[fullusername];
					}
					$getstats_infraction[musername] = fetch_musername($getstats_infraction);

					if ($vbulletin->options['cybtopstats_bold_remove'])
					{
						$getstats_infraction[musername] = str_replace($cyb_afs_bpar, "", $getstats_infraction[musername]);
					}
					eval('$cybtopstats_infractions .= "' . $vbulletin->templatecache['cyb_topstats_infractions'] . '";');
				}
			}

			if ($cybtopstats_enable_classads AND ($vbulletin->options['cybtopstats_classads_forums']!=''))
			{
				$get_stats_classads = $vbulletin->db->query_read("
					SELECT threadid, title, lastpost, forumid, dateline, visible, open
					FROM " . TABLE_PREFIX . "thread AS thread
					WHERE NOT ISNULL(threadid) AND forumid IN (".$vbulletin->options['cybtopstats_classads_forums'].") AND visible = '1' AND open!='10' $cybtopstats_timecut_classads
					ORDER BY dateline DESC
					LIMIT 0, $resultsnr
				");
				while ($get_latest_classads = $db->fetch_array($get_stats_classads))
				{
					$get_latest_classads[fullthreadtitle] = strip_tags($get_latest_classads[title]);
					if ($trimthreadtitle > 0)
					{
						$get_latest_classads[titletrimmed] = fetch_trimmed_title($get_latest_classads[fullthreadtitle], $trimthreadtitle);
					}
					else
					{
						$get_latest_classads[titletrimmed] = $get_latest_classads[fullthreadtitle];
					}

					$get_latest_classads_forumtitle = strip_tags($vbulletin->forumcache["$get_latest_classads[forumid]"]['title_clean']);
					$get_latest_classads[fullforumtitle] = strip_tags($get_latest_classads_forumtitle);
					if ($trimforumtitles > 0)
					{
						$get_latest_classads[forumtitle] = fetch_trimmed_title($get_latest_classads[fullforumtitle], $trimforumtitles);
					}
					else
					{
						$get_latest_classads[forumtitle] = $get_latest_classads[fullforumtitle];
					}

					if ($get_latest_classads[lastpost] > $vbulletin->userinfo['lastvisit'])
					{
						$get_latest_classads[newpost] = true;
					}
					eval('$cybtopstats_classads .= "' . $vbulletin->templatecache['cyb_topstats_classads'] . '";');
				}
			}

			if ($cybtopstats_enable_blogs)
			{
				$get_stats_blogs = $vbulletin->db->query_read("
					SELECT blog.blogid, blog.title, blog.userid, user.username, user.usergroupid, blog.dateline
					FROM " . TABLE_PREFIX . "blog AS blog
					LEFT JOIN " . TABLE_PREFIX . "user AS user ON (blog.userid = user.userid)
					WHERE state = 'visible' $cybtopstats_timecut_blogs
					ORDER BY dateline DESC
					LIMIT 0, $resultsnr
				");
				while ($get_latest_blogs = $db->fetch_array($get_stats_blogs))
				{
					$get_latest_blogs[fullblogtitle] = strip_tags($get_latest_blogs[title]);
					if ($trimthreadtitle > 0)
					{
						$get_latest_blogs[titletrimmed] = fetch_trimmed_title($get_latest_blogs[fullblogtitle], $trimthreadtitle);
					}
					else
					{
						$get_latest_blogs[titletrimmed] = $get_latest_blogs[fullblogtitle];
					}

					$get_latest_blogs[fullusername] = strip_tags($get_latest_blogs[username]);
					if ($trimusername > 0)
					{
						$get_latest_blogs[username] = fetch_trimmed_title($get_latest_blogs[fullusername], $trimusername);
					}
					else
					{
						$get_latest_blogs[username] = $get_latest_blogs[fullusername];
					}
					$get_latest_blogs[musername] = fetch_musername($get_latest_blogs);

					if ($vbulletin->options['cybtopstats_bold_remove'])
					{
						$get_latest_blogs[musername] = str_replace($cyb_afs_bpar, "", $get_latest_blogs[musername]);
					}

					if ($get_latest_blogs[dateline] > $vbulletin->userinfo['lastvisit'])
					{
						$get_latest_blogs[newpost] = true;
					}
					eval('$cybtopstats_blogs .= "' . $vbulletin->templatecache['cyb_topstats_blogs'] . '";');
				}
			}

			if ($cybtopstats_enable_lastpost)
			{
				$get_stats_newposts = $vbulletin->db->query_read("
					SELECT thread.threadid, thread.title, thread.lastpost, thread.forumid, thread.replycount, thread.lastposter, thread.dateline, thread.views, thread.visible, thread.open, user.username, user.userid, user.usergroupid, user.displaygroupid
					FROM " . TABLE_PREFIX . "thread AS thread
					LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.username = thread.lastposter)
					WHERE NOT ISNULL(thread.threadid) AND thread.visible = '1' AND thread.open!='10' $cybexclforums_lastposts $cybtopstats_timecut_lastpost
					ORDER BY lastpost DESC
					LIMIT 0, $resultsnrnp
				");
				while ($get_new_posts = $db->fetch_array($get_stats_newposts))
				{
					$get_new_posts[fullthreadtitle] = strip_tags($get_new_posts[title]);
					if ($trimthreadtitle > 0)
					{
						$get_new_posts[titletrimmed] = fetch_trimmed_title($get_new_posts[fullthreadtitle], $trimthreadtitle);
					}
					else
					{
						$get_new_posts[titletrimmed] = $get_new_posts[fullthreadtitle];
					}

					if ($get_new_posts[lastpost] > $vbulletin->userinfo['lastvisit'])
					{
						$get_new_posts[newpost] = true;
					}

					$get_new_posts[fullusername] = strip_tags($get_new_posts[username]);
					if ($trimusername > 0)
					{
						$get_new_posts[username] = fetch_trimmed_title($get_new_posts[fullusername], $trimusername);
					}
					else
					{
						$get_new_posts[username] = $get_new_posts[fullusername];
					}
					$get_new_posts[musername] = fetch_musername($get_new_posts);

					$get_new_posts_forumtitle = strip_tags($vbulletin->forumcache["$get_new_posts[forumid]"]['title_clean']);
					$get_new_posts[fullforumtitle] = strip_tags($get_new_posts_forumtitle);
					if ($trimforumtitles > 0)
					{
						$get_new_posts[forumtitle] = fetch_trimmed_title($get_new_posts[fullforumtitle], $trimforumtitles);
					}
					else
					{
						$get_new_posts[forumtitle] = $get_new_posts[fullforumtitle];
					}

					if ($vbulletin->options['cybtopstats_bold_remove'])
					{
						$get_new_posts[musername] = str_replace($cyb_afs_bpar, "", $get_new_posts[musername]); 
					}
					$get_new_postdate = vbdate($vbulletin->options['cybtopstats_date_format'], $get_new_posts[lastpost]);
					$get_new_posttime = vbdate($vbulletin->options['cybtopstats_time_format'], $get_new_posts[lastpost]);
					eval('$cybtopstats_newposts .= "' . $vbulletin->templatecache['cyb_topstats_newposts'] . '";');
				}
			}

			if ($vbulletin->options['cybtopstats_newmem_details']=='3')
			{
				$cybtopstats_members_details = '<div align="center">'.$vbphrase['posts'].'</div></td><td align="'.$stylevar['right'].'" nowrap="nowrap" class="smallfont">'.$vbphrase['cyb_joined'];
			}
			else if ($vbulletin->options['cybtopstats_newmem_details']=='2')
			{
				$cybtopstats_members_details = $vbphrase['posts'];
			}
			else
			{
				$cybtopstats_members_details = $vbphrase['cyb_joined'];
			}

			switch ($vbulletin->options['cybtopstats_switch_s1'])
			{
				case 1: $cyb_topstats_s1t = $vbphrase['cyb_latest_news']; $cyb_topstats_s1 = $cybtopstats_latestnews; $cyb_topstats_s1p1 = $vbphrase['thread']; $cyb_topstats_s1p2 = $vbphrase['date']; break;
				case 2: $cyb_topstats_s1t = $vbphrase['cyb_newest_members']; $cyb_topstats_s1 = $cybtopstats_members; $cyb_topstats_s1p1 = $vbphrase['user']; $cyb_topstats_s1p2 = $cybtopstats_members_details; break;
				case 3: $cyb_topstats_s1t = $vbphrase['cyb_top_posters']; $cyb_topstats_s1 = $cybtopstats_posters; $cyb_topstats_s1p1 = $vbphrase['user']; $cyb_topstats_s1p2 = $vbphrase['posts']; break;
				case 4: $cyb_topstats_s1t = $vbphrase['cyb_top_starters']; $cyb_topstats_s1 = $cybtopstats_starters; $cyb_topstats_s1p1 = $vbphrase['user']; $cyb_topstats_s1p2 = $vbphrase['threads']; break;
				case 5: $cyb_topstats_s1t = $vbphrase['cyb_top_referrers']; $cyb_topstats_s1 = $cybtopstats_referrers; $cyb_topstats_s1p1 = $vbphrase['user']; $cyb_topstats_s1p2 = $vbphrase['cyb_referrals']; break;
				case 6: $cyb_topstats_s1t = $vbphrase['cyb_most_viewed']; $cyb_topstats_s1 = $cybtopstats_mostviewed; $cyb_topstats_s1p1 = $vbphrase['thread']; $cyb_topstats_s1p2 = $vbphrase['views']; break;
				case 7: $cyb_topstats_s1t = $vbphrase['cyb_hottest_threads']; $cyb_topstats_s1 = $cybtopstats_hottest; $cyb_topstats_s1p1 = $vbphrase['thread']; $cyb_topstats_s1p2 = $vbphrase['replies']; break;
				case 8: $cyb_topstats_s1t = $vbphrase['cyb_top_reputation']; $cyb_topstats_s1 = $cybtopstats_reputation; $cyb_topstats_s1p1 = $vbphrase['user']; $cyb_topstats_s1p2 = $vbphrase['cyb_reputations_and_level']; break;
				case 9: $cyb_topstats_s1t = $vbphrase['cyb_thanked_members']; $cyb_topstats_s1 = $cybtopstats_thanks; $cyb_topstats_s1p1 = $vbphrase['user']; $cyb_topstats_s1p2 = $vbphrase['cyb_thanked_times']; break;
				case 10: $cyb_topstats_s1t = $vbphrase['cyb_top_forums']; $cyb_topstats_s1 = $cybtopstats_topforums; $cyb_topstats_s1p1 = $vbphrase['forum']; $cyb_topstats_s1p2 = $vbphrase['posts']; break;
				case 11: $cyb_topstats_s1t = $vbphrase['cyb_top_infractions']; $cyb_topstats_s1 = $cybtopstats_infractions; $cyb_topstats_s1p1 = $vbphrase['user']; $cyb_topstats_s1p2 = $vbphrase['cyb_infractions_and_points']; break;
				case 12: $cyb_topstats_s1t = $vbphrase['cyb_latest_classads']; $cyb_topstats_s1 = $cybtopstats_classads; $cyb_topstats_s1p1 = $vbphrase['cybstats_ad']; $cyb_topstats_s1p2 = $vbphrase['forum']; break;
				case 13: $cyb_topstats_s1t = $vbphrase['cyb_latest_blogs']; $cyb_topstats_s1 = $cybtopstats_blogs; $cyb_topstats_s1p1 = $vbphrase['title']; $cyb_topstats_s1p2 = $vbphrase['user']; break;
			}
			switch ($vbulletin->options['cybtopstats_switch_s2'])
			{
				case 1: $cyb_topstats_s2t = $vbphrase['cyb_latest_news']; $cyb_topstats_s2 = $cybtopstats_latestnews; $cyb_topstats_s2p1 = $vbphrase['thread']; $cyb_topstats_s2p2 = $vbphrase['date']; break;
				case 2: $cyb_topstats_s2t = $vbphrase['cyb_newest_members']; $cyb_topstats_s2 = $cybtopstats_members; $cyb_topstats_s2p1 = $vbphrase['user']; $cyb_topstats_s2p2 = $cybtopstats_members_details; break;
				case 3: $cyb_topstats_s2t = $vbphrase['cyb_top_posters']; $cyb_topstats_s2 = $cybtopstats_posters; $cyb_topstats_s2p1 = $vbphrase['user']; $cyb_topstats_s2p2 = $vbphrase['posts']; break;
				case 4: $cyb_topstats_s2t = $vbphrase['cyb_top_starters']; $cyb_topstats_s2 = $cybtopstats_starters; $cyb_topstats_s2p1 = $vbphrase['user']; $cyb_topstats_s2p2 = $vbphrase['threads']; break;
				case 5: $cyb_topstats_s2t = $vbphrase['cyb_top_referrers']; $cyb_topstats_s2 = $cybtopstats_referrers; $cyb_topstats_s2p1 = $vbphrase['user']; $cyb_topstats_s2p2 = $vbphrase['cyb_referrals']; break;
				case 6: $cyb_topstats_s2t = $vbphrase['cyb_most_viewed']; $cyb_topstats_s2 = $cybtopstats_mostviewed; $cyb_topstats_s2p1 = $vbphrase['thread']; $cyb_topstats_s2p2 = $vbphrase['views']; break;
				case 7: $cyb_topstats_s2t = $vbphrase['cyb_hottest_threads']; $cyb_topstats_s2 = $cybtopstats_hottest; $cyb_topstats_s2p1 = $vbphrase['thread']; $cyb_topstats_s2p2 = $vbphrase['replies']; break;
				case 8: $cyb_topstats_s2t = $vbphrase['cyb_top_reputation']; $cyb_topstats_s2 = $cybtopstats_reputation; $cyb_topstats_s2p1 = $vbphrase['user']; $cyb_topstats_s2p2 = $vbphrase['cyb_reputations_and_level']; break;
				case 9: $cyb_topstats_s2t = $vbphrase['cyb_thanked_members']; $cyb_topstats_s2 = $cybtopstats_thanks; $cyb_topstats_s2p1 = $vbphrase['user']; $cyb_topstats_s2p2 = $vbphrase['cyb_thanked_times']; break;
				case 10: $cyb_topstats_s2t = $vbphrase['cyb_top_forums']; $cyb_topstats_s2 = $cybtopstats_topforums; $cyb_topstats_s2p1 = $vbphrase['forum']; $cyb_topstats_s2p2 = $vbphrase['posts']; break;
				case 11: $cyb_topstats_s2t = $vbphrase['cyb_top_infractions']; $cyb_topstats_s2 = $cybtopstats_infractions; $cyb_topstats_s2p1 = $vbphrase['user']; $cyb_topstats_s2p2 = $vbphrase['cyb_infractions_and_points']; break;
				case 12: $cyb_topstats_s2t = $vbphrase['cyb_latest_classads']; $cyb_topstats_s2 = $cybtopstats_classads; $cyb_topstats_s2p1 = $vbphrase['cybstats_ad']; $cyb_topstats_s2p2 = $vbphrase['forum']; break;
				case 13: $cyb_topstats_s2t = $vbphrase['cyb_latest_blogs']; $cyb_topstats_s2 = $cybtopstats_blogs; $cyb_topstats_s2p1 = $vbphrase['title']; $cyb_topstats_s2p2 = $vbphrase['user']; break;
			}
			switch ($vbulletin->options['cybtopstats_switch_s3'])
			{
				case 1: $cyb_topstats_s3t = $vbphrase['cyb_latest_news']; $cyb_topstats_s3 = $cybtopstats_latestnews; $cyb_topstats_s3p1 = $vbphrase['thread']; $cyb_topstats_s3p2 = $vbphrase['date']; break;
				case 2: $cyb_topstats_s3t = $vbphrase['cyb_newest_members']; $cyb_topstats_s3 = $cybtopstats_members; $cyb_topstats_s3p1 = $vbphrase['user']; $cyb_topstats_s3p2 = $cybtopstats_members_details; break;
				case 3: $cyb_topstats_s3t = $vbphrase['cyb_top_posters']; $cyb_topstats_s3 = $cybtopstats_posters; $cyb_topstats_s3p1 = $vbphrase['user']; $cyb_topstats_s3p2 = $vbphrase['posts']; break;
				case 4: $cyb_topstats_s3t = $vbphrase['cyb_top_starters']; $cyb_topstats_s3 = $cybtopstats_starters; $cyb_topstats_s3p1 = $vbphrase['user']; $cyb_topstats_s3p2 = $vbphrase['threads']; break;
				case 5: $cyb_topstats_s3t = $vbphrase['cyb_top_referrers']; $cyb_topstats_s3 = $cybtopstats_referrers; $cyb_topstats_s3p1 = $vbphrase['user']; $cyb_topstats_s3p2 = $vbphrase['cyb_referrals']; break;
				case 6: $cyb_topstats_s3t = $vbphrase['cyb_most_viewed']; $cyb_topstats_s3 = $cybtopstats_mostviewed; $cyb_topstats_s3p1 = $vbphrase['thread']; $cyb_topstats_s3p2 = $vbphrase['views']; break;
				case 7: $cyb_topstats_s3t = $vbphrase['cyb_hottest_threads']; $cyb_topstats_s3 = $cybtopstats_hottest; $cyb_topstats_s3p1 = $vbphrase['thread']; $cyb_topstats_s3p2 = $vbphrase['replies']; break;
				case 8: $cyb_topstats_s3t = $vbphrase['cyb_top_reputation']; $cyb_topstats_s3 = $cybtopstats_reputation; $cyb_topstats_s3p1 = $vbphrase['user']; $cyb_topstats_s3p2 = $vbphrase['cyb_reputations_and_level']; break;
				case 9: $cyb_topstats_s3t = $vbphrase['cyb_thanked_members']; $cyb_topstats_s3 = $cybtopstats_thanks; $cyb_topstats_s3p1 = $vbphrase['user']; $cyb_topstats_s3p2 = $vbphrase['cyb_thanked_times']; break;
				case 10: $cyb_topstats_s3t = $vbphrase['cyb_top_forums']; $cyb_topstats_s3 = $cybtopstats_topforums; $cyb_topstats_s3p1 = $vbphrase['forum']; $cyb_topstats_s3p2 = $vbphrase['posts']; break;
				case 11: $cyb_topstats_s3t = $vbphrase['cyb_top_infractions']; $cyb_topstats_s3 = $cybtopstats_infractions; $cyb_topstats_s3p1 = $vbphrase['user']; $cyb_topstats_s3p2 = $vbphrase['cyb_infractions_and_points']; break;
				case 12: $cyb_topstats_s3t = $vbphrase['cyb_latest_classads']; $cyb_topstats_s3 = $cybtopstats_classads; $cyb_topstats_s3p1 = $vbphrase['cybstats_ad']; $cyb_topstats_s3p2 = $vbphrase['forum']; break;
				case 13: $cyb_topstats_s3t = $vbphrase['cyb_latest_blogs']; $cyb_topstats_s3 = $cybtopstats_blogs; $cyb_topstats_s3p1 = $vbphrase['title']; $cyb_topstats_s3p2 = $vbphrase['user']; break;
			}
			switch ($vbulletin->options['cybtopstats_switch_s4'])
			{
				case 1: $cyb_topstats_s4t = $vbphrase['cyb_latest_news']; $cyb_topstats_s4 = $cybtopstats_latestnews; $cyb_topstats_s4p1 = $vbphrase['thread']; $cyb_topstats_s4p2 = $vbphrase['date']; break;
				case 2: $cyb_topstats_s4t = $vbphrase['cyb_newest_members']; $cyb_topstats_s4 = $cybtopstats_members; $cyb_topstats_s4p1 = $vbphrase['user']; $cyb_topstats_s4p2 = $cybtopstats_members_details; break;
				case 3: $cyb_topstats_s4t = $vbphrase['cyb_top_posters']; $cyb_topstats_s4 = $cybtopstats_posters; $cyb_topstats_s4p1 = $vbphrase['user']; $cyb_topstats_s4p2 = $vbphrase['posts']; break;
				case 4: $cyb_topstats_s4t = $vbphrase['cyb_top_starters']; $cyb_topstats_s4 = $cybtopstats_starters; $cyb_topstats_s4p1 = $vbphrase['user']; $cyb_topstats_s4p2 = $vbphrase['threads']; break;
				case 5: $cyb_topstats_s4t = $vbphrase['cyb_top_referrers']; $cyb_topstats_s4 = $cybtopstats_referrers; $cyb_topstats_s4p1 = $vbphrase['user']; $cyb_topstats_s4p2 = $vbphrase['cyb_referrals']; break;
				case 6: $cyb_topstats_s4t = $vbphrase['cyb_most_viewed']; $cyb_topstats_s4 = $cybtopstats_mostviewed; $cyb_topstats_s4p1 = $vbphrase['thread']; $cyb_topstats_s4p2 = $vbphrase['views']; break;
				case 7: $cyb_topstats_s4t = $vbphrase['cyb_hottest_threads']; $cyb_topstats_s4 = $cybtopstats_hottest; $cyb_topstats_s4p1 = $vbphrase['thread']; $cyb_topstats_s4p2 = $vbphrase['replies']; break;
				case 8: $cyb_topstats_s4t = $vbphrase['cyb_top_reputation']; $cyb_topstats_s4 = $cybtopstats_reputation; $cyb_topstats_s4p1 = $vbphrase['user']; $cyb_topstats_s4p2 = $vbphrase['cyb_reputations_and_level']; break;
				case 9: $cyb_topstats_s4t = $vbphrase['cyb_thanked_members']; $cyb_topstats_s4 = $cybtopstats_thanks; $cyb_topstats_s4p1 = $vbphrase['user']; $cyb_topstats_s4p2 = $vbphrase['cyb_thanked_times']; break;
				case 10: $cyb_topstats_s4t = $vbphrase['cyb_top_forums']; $cyb_topstats_s4 = $cybtopstats_topforums; $cyb_topstats_s4p1 = $vbphrase['forum']; $cyb_topstats_s4p2 = $vbphrase['posts']; break;
				case 11: $cyb_topstats_s4t = $vbphrase['cyb_top_infractions']; $cyb_topstats_s4 = $cybtopstats_infractions; $cyb_topstats_s4p1 = $vbphrase['user']; $cyb_topstats_s4p2 = $vbphrase['cyb_infractions_and_points']; break;
				case 12: $cyb_topstats_s4t = $vbphrase['cyb_latest_classads']; $cyb_topstats_s4 = $cybtopstats_classads; $cyb_topstats_s4p1 = $vbphrase['cybstats_ad']; $cyb_topstats_s4p2 = $vbphrase['forum']; break;
				case 13: $cyb_topstats_s4t = $vbphrase['cyb_latest_blogs']; $cyb_topstats_s4 = $cybtopstats_blogs; $cyb_topstats_s4p1 = $vbphrase['title']; $cyb_topstats_s4p2 = $vbphrase['user']; break;
			}
			switch ($vbulletin->options['cybtopstats_switch_s5'])
			{
				case 1: $cyb_topstats_s5t = $vbphrase['cyb_latest_news']; $cyb_topstats_s5 = $cybtopstats_latestnews; $cyb_topstats_s5p1 = $vbphrase['thread']; $cyb_topstats_s5p2 = $vbphrase['date']; break;
				case 2: $cyb_topstats_s5t = $vbphrase['cyb_newest_members']; $cyb_topstats_s5 = $cybtopstats_members; $cyb_topstats_s5p1 = $vbphrase['user']; $cyb_topstats_s5p2 = $cybtopstats_members_details; break;
				case 3: $cyb_topstats_s5t = $vbphrase['cyb_top_posters']; $cyb_topstats_s5 = $cybtopstats_posters; $cyb_topstats_s5p1 = $vbphrase['user']; $cyb_topstats_s5p2 = $vbphrase['posts']; break;
				case 4: $cyb_topstats_s5t = $vbphrase['cyb_top_starters']; $cyb_topstats_s5 = $cybtopstats_starters; $cyb_topstats_s5p1 = $vbphrase['user']; $cyb_topstats_s5p2 = $vbphrase['threads']; break;
				case 5: $cyb_topstats_s5t = $vbphrase['cyb_top_referrers']; $cyb_topstats_s5 = $cybtopstats_referrers; $cyb_topstats_s5p1 = $vbphrase['user']; $cyb_topstats_s5p2 = $vbphrase['cyb_referrals']; break;
				case 6: $cyb_topstats_s5t = $vbphrase['cyb_most_viewed']; $cyb_topstats_s5 = $cybtopstats_mostviewed; $cyb_topstats_s5p1 = $vbphrase['thread']; $cyb_topstats_s5p2 = $vbphrase['views']; break;
				case 7: $cyb_topstats_s5t = $vbphrase['cyb_hottest_threads']; $cyb_topstats_s5 = $cybtopstats_hottest; $cyb_topstats_s5p1 = $vbphrase['thread']; $cyb_topstats_s5p2 = $vbphrase['replies']; break;
				case 8: $cyb_topstats_s5t = $vbphrase['cyb_top_reputation']; $cyb_topstats_s5 = $cybtopstats_reputation; $cyb_topstats_s5p1 = $vbphrase['user']; $cyb_topstats_s5p2 = $vbphrase['cyb_reputations_and_level']; break;
				case 9: $cyb_topstats_s5t = $vbphrase['cyb_thanked_members']; $cyb_topstats_s5 = $cybtopstats_thanks; $cyb_topstats_s5p1 = $vbphrase['user']; $cyb_topstats_s5p2 = $vbphrase['cyb_thanked_times']; break;
				case 10: $cyb_topstats_s5t = $vbphrase['cyb_top_forums']; $cyb_topstats_s5 = $cybtopstats_topforums; $cyb_topstats_s5p1 = $vbphrase['forum']; $cyb_topstats_s5p2 = $vbphrase['posts']; break;
				case 11: $cyb_topstats_s5t = $vbphrase['cyb_top_infractions']; $cyb_topstats_s5 = $cybtopstats_infractions; $cyb_topstats_s5p1 = $vbphrase['user']; $cyb_topstats_s5p2 = $vbphrase['cyb_infractions_and_points']; break;
				case 12: $cyb_topstats_s5t = $vbphrase['cyb_latest_classads']; $cyb_topstats_s5 = $cybtopstats_classads; $cyb_topstats_s5p1 = $vbphrase['cybstats_ad']; $cyb_topstats_s5p2 = $vbphrase['forum']; break;
				case 13: $cyb_topstats_s5t = $vbphrase['cyb_latest_blogs']; $cyb_topstats_s5 = $cybtopstats_blogs; $cyb_topstats_s5p1 = $vbphrase['title']; $cyb_topstats_s5p2 = $vbphrase['user']; break;
			}
			switch ($vbulletin->options['cybtopstats_switch_s6'])
			{
				case 1: $cyb_topstats_s6t = $vbphrase['cyb_latest_news']; $cyb_topstats_s6 = $cybtopstats_latestnews; $cyb_topstats_s6p1 = $vbphrase['thread']; $cyb_topstats_s6p2 = $vbphrase['date']; break;
				case 2: $cyb_topstats_s6t = $vbphrase['cyb_newest_members']; $cyb_topstats_s6 = $cybtopstats_members; $cyb_topstats_s6p1 = $vbphrase['user']; $cyb_topstats_s6p2 = $cybtopstats_members_details; break;
				case 3: $cyb_topstats_s6t = $vbphrase['cyb_top_posters']; $cyb_topstats_s6 = $cybtopstats_posters; $cyb_topstats_s6p1 = $vbphrase['user']; $cyb_topstats_s6p2 = $vbphrase['posts']; break;
				case 4: $cyb_topstats_s6t = $vbphrase['cyb_top_starters']; $cyb_topstats_s6 = $cybtopstats_starters; $cyb_topstats_s6p1 = $vbphrase['user']; $cyb_topstats_s6p2 = $vbphrase['threads']; break;
				case 5: $cyb_topstats_s6t = $vbphrase['cyb_top_referrers']; $cyb_topstats_s6 = $cybtopstats_referrers; $cyb_topstats_s6p1 = $vbphrase['user']; $cyb_topstats_s6p2 = $vbphrase['cyb_referrals']; break;
				case 6: $cyb_topstats_s6t = $vbphrase['cyb_most_viewed']; $cyb_topstats_s6 = $cybtopstats_mostviewed; $cyb_topstats_s6p1 = $vbphrase['thread']; $cyb_topstats_s6p2 = $vbphrase['views']; break;
				case 7: $cyb_topstats_s6t = $vbphrase['cyb_hottest_threads']; $cyb_topstats_s6 = $cybtopstats_hottest; $cyb_topstats_s6p1 = $vbphrase['thread']; $cyb_topstats_s6p2 = $vbphrase['replies']; break;
				case 8: $cyb_topstats_s6t = $vbphrase['cyb_top_reputation']; $cyb_topstats_s6 = $cybtopstats_reputation; $cyb_topstats_s6p1 = $vbphrase['user']; $cyb_topstats_s6p2 = $vbphrase['cyb_reputations_and_level']; break;
				case 9: $cyb_topstats_s6t = $vbphrase['cyb_thanked_members']; $cyb_topstats_s6 = $cybtopstats_thanks; $cyb_topstats_s6p1 = $vbphrase['user']; $cyb_topstats_s6p2 = $vbphrase['cyb_thanked_times']; break;
				case 10: $cyb_topstats_s6t = $vbphrase['cyb_top_forums']; $cyb_topstats_s6 = $cybtopstats_topforums; $cyb_topstats_s6p1 = $vbphrase['forum']; $cyb_topstats_s6p2 = $vbphrase['posts']; break;
				case 11: $cyb_topstats_s6t = $vbphrase['cyb_top_infractions']; $cyb_topstats_s6 = $cybtopstats_infractions; $cyb_topstats_s6p1 = $vbphrase['user']; $cyb_topstats_s6p2 = $vbphrase['cyb_infractions_and_points']; break;
				case 12: $cyb_topstats_s6t = $vbphrase['cyb_latest_classads']; $cyb_topstats_s6 = $cybtopstats_classads; $cyb_topstats_s6p1 = $vbphrase['cybstats_ad']; $cyb_topstats_s6p2 = $vbphrase['forum']; break;
				case 13: $cyb_topstats_s6t = $vbphrase['cyb_latest_blogs']; $cyb_topstats_s6 = $cybtopstats_blogs; $cyb_topstats_s6p1 = $vbphrase['title']; $cyb_topstats_s6p2 = $vbphrase['user']; break;
			}
			switch ($vbulletin->options['cybtopstats_switch_s7'])
			{
				case 1: $cyb_topstats_s7t = $vbphrase['cyb_latest_news']; $cyb_topstats_s7 = $cybtopstats_latestnews; $cyb_topstats_s7p1 = $vbphrase['thread']; $cyb_topstats_s7p2 = $vbphrase['date']; break;
				case 2: $cyb_topstats_s7t = $vbphrase['cyb_newest_members']; $cyb_topstats_s7 = $cybtopstats_members; $cyb_topstats_s7p1 = $vbphrase['user']; $cyb_topstats_s7p2 = $cybtopstats_members_details; break;
				case 3: $cyb_topstats_s7t = $vbphrase['cyb_top_posters']; $cyb_topstats_s7 = $cybtopstats_posters; $cyb_topstats_s7p1 = $vbphrase['user']; $cyb_topstats_s7p2 = $vbphrase['posts']; break;
				case 4: $cyb_topstats_s7t = $vbphrase['cyb_top_starters']; $cyb_topstats_s7 = $cybtopstats_starters; $cyb_topstats_s7p1 = $vbphrase['user']; $cyb_topstats_s7p2 = $vbphrase['threads']; break;
				case 5: $cyb_topstats_s7t = $vbphrase['cyb_top_referrers']; $cyb_topstats_s7 = $cybtopstats_referrers; $cyb_topstats_s7p1 = $vbphrase['user']; $cyb_topstats_s7p2 = $vbphrase['cyb_referrals']; break;
				case 6: $cyb_topstats_s7t = $vbphrase['cyb_most_viewed']; $cyb_topstats_s7 = $cybtopstats_mostviewed; $cyb_topstats_s7p1 = $vbphrase['thread']; $cyb_topstats_s7p2 = $vbphrase['views']; break;
				case 7: $cyb_topstats_s7t = $vbphrase['cyb_hottest_threads']; $cyb_topstats_s7 = $cybtopstats_hottest; $cyb_topstats_s7p1 = $vbphrase['thread']; $cyb_topstats_s7p2 = $vbphrase['replies']; break;
				case 8: $cyb_topstats_s7t = $vbphrase['cyb_top_reputation']; $cyb_topstats_s7 = $cybtopstats_reputation; $cyb_topstats_s7p1 = $vbphrase['user']; $cyb_topstats_s7p2 = $vbphrase['cyb_reputations_and_level']; break;
				case 9: $cyb_topstats_s7t = $vbphrase['cyb_thanked_members']; $cyb_topstats_s7 = $cybtopstats_thanks; $cyb_topstats_s7p1 = $vbphrase['user']; $cyb_topstats_s7p2 = $vbphrase['cyb_thanked_times']; break;
				case 10: $cyb_topstats_s7t = $vbphrase['cyb_top_forums']; $cyb_topstats_s7 = $cybtopstats_topforums; $cyb_topstats_s7p1 = $vbphrase['forum']; $cyb_topstats_s7p2 = $vbphrase['posts']; break;
				case 11: $cyb_topstats_s7t = $vbphrase['cyb_top_infractions']; $cyb_topstats_s7 = $cybtopstats_infractions; $cyb_topstats_s7p1 = $vbphrase['user']; $cyb_topstats_s7p2 = $vbphrase['cyb_infractions_and_points']; break;
				case 12: $cyb_topstats_s7t = $vbphrase['cyb_latest_classads']; $cyb_topstats_s7 = $cybtopstats_classads; $cyb_topstats_s7p1 = $vbphrase['cybstats_ad']; $cyb_topstats_s7p2 = $vbphrase['forum']; break;
				case 13: $cyb_topstats_s7t = $vbphrase['cyb_latest_blogs']; $cyb_topstats_s7 = $cybtopstats_blogs; $cyb_topstats_s7p1 = $vbphrase['title']; $cyb_topstats_s7p2 = $vbphrase['user']; break;
			}
			switch ($vbulletin->options['cybtopstats_switch_s8'])
			{
				case 1: $cyb_topstats_s8t = $vbphrase['cyb_latest_news']; $cyb_topstats_s8 = $cybtopstats_latestnews; $cyb_topstats_s8p1 = $vbphrase['thread']; $cyb_topstats_s8p2 = $vbphrase['date']; break;
				case 2: $cyb_topstats_s8t = $vbphrase['cyb_newest_members']; $cyb_topstats_s8 = $cybtopstats_members; $cyb_topstats_s8p1 = $vbphrase['user']; $cyb_topstats_s8p2 = $cybtopstats_members_details; break;
				case 3: $cyb_topstats_s8t = $vbphrase['cyb_top_posters']; $cyb_topstats_s8 = $cybtopstats_posters; $cyb_topstats_s8p1 = $vbphrase['user']; $cyb_topstats_s8p2 = $vbphrase['posts']; break;
				case 4: $cyb_topstats_s8t = $vbphrase['cyb_top_starters']; $cyb_topstats_s8 = $cybtopstats_starters; $cyb_topstats_s8p1 = $vbphrase['user']; $cyb_topstats_s8p2 = $vbphrase['threads']; break;
				case 5: $cyb_topstats_s8t = $vbphrase['cyb_top_referrers']; $cyb_topstats_s8 = $cybtopstats_referrers; $cyb_topstats_s8p1 = $vbphrase['user']; $cyb_topstats_s8p2 = $vbphrase['cyb_referrals']; break;
				case 6: $cyb_topstats_s8t = $vbphrase['cyb_most_viewed']; $cyb_topstats_s8 = $cybtopstats_mostviewed; $cyb_topstats_s8p1 = $vbphrase['thread']; $cyb_topstats_s8p2 = $vbphrase['views']; break;
				case 7: $cyb_topstats_s8t = $vbphrase['cyb_hottest_threads']; $cyb_topstats_s8 = $cybtopstats_hottest; $cyb_topstats_s8p1 = $vbphrase['thread']; $cyb_topstats_s8p2 = $vbphrase['replies']; break;
				case 8: $cyb_topstats_s8t = $vbphrase['cyb_top_reputation']; $cyb_topstats_s8 = $cybtopstats_reputation; $cyb_topstats_s8p1 = $vbphrase['user']; $cyb_topstats_s8p2 = $vbphrase['cyb_reputations_and_level']; break;
				case 9: $cyb_topstats_s8t = $vbphrase['cyb_thanked_members']; $cyb_topstats_s8 = $cybtopstats_thanks; $cyb_topstats_s8p1 = $vbphrase['user']; $cyb_topstats_s8p2 = $vbphrase['cyb_thanked_times']; break;
				case 10: $cyb_topstats_s8t = $vbphrase['cyb_top_forums']; $cyb_topstats_s8 = $cybtopstats_topforums; $cyb_topstats_s8p1 = $vbphrase['forum']; $cyb_topstats_s8p2 = $vbphrase['posts']; break;
				case 11: $cyb_topstats_s8t = $vbphrase['cyb_top_infractions']; $cyb_topstats_s8 = $cybtopstats_infractions; $cyb_topstats_s8p1 = $vbphrase['user']; $cyb_topstats_s8p2 = $vbphrase['cyb_infractions_and_points']; break;
				case 12: $cyb_topstats_s8t = $vbphrase['cyb_latest_classads']; $cyb_topstats_s8 = $cybtopstats_classads; $cyb_topstats_s8p1 = $vbphrase['cybstats_ad']; $cyb_topstats_s8p2 = $vbphrase['forum']; break;
				case 13: $cyb_topstats_s8t = $vbphrase['cyb_latest_blogs']; $cyb_topstats_s8 = $cybtopstats_blogs; $cyb_topstats_s8p1 = $vbphrase['title']; $cyb_topstats_s8p2 = $vbphrase['user']; break;
			}
			switch ($vbulletin->options['cybtopstats_switch_s9'])
			{
				case 1: $cyb_topstats_s9t = $vbphrase['cyb_latest_news']; $cyb_topstats_s9 = $cybtopstats_latestnews; $cyb_topstats_s9p1 = $vbphrase['thread']; $cyb_topstats_s9p2 = $vbphrase['date']; break;
				case 2: $cyb_topstats_s9t = $vbphrase['cyb_newest_members']; $cyb_topstats_s9 = $cybtopstats_members; $cyb_topstats_s9p1 = $vbphrase['user']; $cyb_topstats_s9p2 = $cybtopstats_members_details; break;
				case 3: $cyb_topstats_s9t = $vbphrase['cyb_top_posters']; $cyb_topstats_s9 = $cybtopstats_posters; $cyb_topstats_s9p1 = $vbphrase['user']; $cyb_topstats_s9p2 = $vbphrase['posts']; break;
				case 4: $cyb_topstats_s9t = $vbphrase['cyb_top_starters']; $cyb_topstats_s9 = $cybtopstats_starters; $cyb_topstats_s9p1 = $vbphrase['user']; $cyb_topstats_s9p2 = $vbphrase['threads']; break;
				case 5: $cyb_topstats_s9t = $vbphrase['cyb_top_referrers']; $cyb_topstats_s9 = $cybtopstats_referrers; $cyb_topstats_s9p1 = $vbphrase['user']; $cyb_topstats_s9p2 = $vbphrase['cyb_referrals']; break;
				case 6: $cyb_topstats_s9t = $vbphrase['cyb_most_viewed']; $cyb_topstats_s9 = $cybtopstats_mostviewed; $cyb_topstats_s9p1 = $vbphrase['thread']; $cyb_topstats_s9p2 = $vbphrase['views']; break;
				case 7: $cyb_topstats_s9t = $vbphrase['cyb_hottest_threads']; $cyb_topstats_s9 = $cybtopstats_hottest; $cyb_topstats_s9p1 = $vbphrase['thread']; $cyb_topstats_s9p2 = $vbphrase['replies']; break;
				case 8: $cyb_topstats_s9t = $vbphrase['cyb_top_reputation']; $cyb_topstats_s9 = $cybtopstats_reputation; $cyb_topstats_s9p1 = $vbphrase['user']; $cyb_topstats_s9p2 = $vbphrase['cyb_reputations_and_level']; break;
				case 9: $cyb_topstats_s9t = $vbphrase['cyb_thanked_members']; $cyb_topstats_s9 = $cybtopstats_thanks; $cyb_topstats_s9p1 = $vbphrase['user']; $cyb_topstats_s9p2 = $vbphrase['cyb_thanked_times']; break;
				case 10: $cyb_topstats_s9t = $vbphrase['cyb_top_forums']; $cyb_topstats_s9 = $cybtopstats_topforums; $cyb_topstats_s9p1 = $vbphrase['forum']; $cyb_topstats_s9p2 = $vbphrase['posts']; break;
				case 11: $cyb_topstats_s9t = $vbphrase['cyb_top_infractions']; $cyb_topstats_s9 = $cybtopstats_infractions; $cyb_topstats_s9p1 = $vbphrase['user']; $cyb_topstats_s9p2 = $vbphrase['cyb_infractions_and_points']; break;
				case 12: $cyb_topstats_s9t = $vbphrase['cyb_latest_classads']; $cyb_topstats_s9 = $cybtopstats_classads; $cyb_topstats_s9p1 = $vbphrase['cybstats_ad']; $cyb_topstats_s9p2 = $vbphrase['forum']; break;
				case 13: $cyb_topstats_s9t = $vbphrase['cyb_latest_blogs']; $cyb_topstats_s9 = $cybtopstats_blogs; $cyb_topstats_s9p1 = $vbphrase['title']; $cyb_topstats_s9p2 = $vbphrase['user']; break;
			}
			switch ($vbulletin->options['cybtopstats_switch_s10'])
			{
				case 1: $cyb_topstats_s10t = $vbphrase['cyb_latest_news']; $cyb_topstats_s10 = $cybtopstats_latestnews; $cyb_topstats_s10p1 = $vbphrase['thread']; $cyb_topstats_s10p2 = $vbphrase['date']; break;
				case 2: $cyb_topstats_s10t = $vbphrase['cyb_newest_members']; $cyb_topstats_s10 = $cybtopstats_members; $cyb_topstats_s10p1 = $vbphrase['user']; $cyb_topstats_s10p2 = $cybtopstats_members_details; break;
				case 3: $cyb_topstats_s10t = $vbphrase['cyb_top_posters']; $cyb_topstats_s10 = $cybtopstats_posters; $cyb_topstats_s10p1 = $vbphrase['user']; $cyb_topstats_s10p2 = $vbphrase['posts']; break;
				case 4: $cyb_topstats_s10t = $vbphrase['cyb_top_starters']; $cyb_topstats_s10 = $cybtopstats_starters; $cyb_topstats_s10p1 = $vbphrase['user']; $cyb_topstats_s10p2 = $vbphrase['threads']; break;
				case 5: $cyb_topstats_s10t = $vbphrase['cyb_top_referrers']; $cyb_topstats_s10 = $cybtopstats_referrers; $cyb_topstats_s10p1 = $vbphrase['user']; $cyb_topstats_s10p2 = $vbphrase['cyb_referrals']; break;
				case 6: $cyb_topstats_s10t = $vbphrase['cyb_most_viewed']; $cyb_topstats_s10 = $cybtopstats_mostviewed; $cyb_topstats_s10p1 = $vbphrase['thread']; $cyb_topstats_s10p2 = $vbphrase['views']; break;
				case 7: $cyb_topstats_s10t = $vbphrase['cyb_hottest_threads']; $cyb_topstats_s10 = $cybtopstats_hottest; $cyb_topstats_s10p1 = $vbphrase['thread']; $cyb_topstats_s10p2 = $vbphrase['replies']; break;
				case 8: $cyb_topstats_s10t = $vbphrase['cyb_top_reputation']; $cyb_topstats_s10 = $cybtopstats_reputation; $cyb_topstats_s10p1 = $vbphrase['user']; $cyb_topstats_s10p2 = $vbphrase['cyb_reputations_and_level']; break;
				case 9: $cyb_topstats_s10t = $vbphrase['cyb_thanked_members']; $cyb_topstats_s10 = $cybtopstats_thanks; $cyb_topstats_s10p1 = $vbphrase['user']; $cyb_topstats_s10p2 = $vbphrase['cyb_thanked_times']; break;
				case 10: $cyb_topstats_s10t = $vbphrase['cyb_top_forums']; $cyb_topstats_s10 = $cybtopstats_topforums; $cyb_topstats_s10p1 = $vbphrase['forum']; $cyb_topstats_s10p2 = $vbphrase['posts']; break;
				case 11: $cyb_topstats_s10t = $vbphrase['cyb_top_infractions']; $cyb_topstats_s10 = $cybtopstats_infractions; $cyb_topstats_s10p1 = $vbphrase['user']; $cyb_topstats_s10p2 = $vbphrase['cyb_infractions_and_points']; break;
				case 12: $cyb_topstats_s10t = $vbphrase['cyb_latest_classads']; $cyb_topstats_s10 = $cybtopstats_classads; $cyb_topstats_s10p1 = $vbphrase['cybstats_ad']; $cyb_topstats_s10p2 = $vbphrase['forum']; break;
				case 13: $cyb_topstats_s10t = $vbphrase['cyb_latest_blogs']; $cyb_topstats_s10 = $cybtopstats_blogs; $cyb_topstats_s10p1 = $vbphrase['title']; $cyb_topstats_s10p2 = $vbphrase['user']; break;
			}

			if (!is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['cybtopstats_cant_viewmore'])))
			{
				$canviewmore = true;
			}
			else
			{
				$canviewmore = false;
			}

			eval('$cybtopstats .= "' . $vbulletin->templatecache['cyb_topstats_stats'] . '";');	
			switch ($vbulletin->options['cybtopstats_window_loc'])
			{
				case 0: $cyb_topstats_sr1 = ''; break;
				case 1: $cyb_topstats_sr1 = '$navbar'; break;
				case 2:	$cyb_topstats_sr1 = '<!-- main -->'; break;
				case 3: $cyb_topstats_sr1 = '<!-- what\'s going on box -->'; break;
				case 4:	$cyb_topstats_sr1 = '<!-- end what\'s going on box -->'; break;
			}

			if ($vbulletin->options['cybtopstats_window_loc']!='0')
			{
				$vbulletin->templatecache['FORUMHOME'] = str_replace($cyb_topstats_sr1, $cyb_topstats_sr1.'$cybtopstats', $vbulletin->templatecache['FORUMHOME']);
			}
			$db->show_errors();
		}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title><![CDATA[Cybernetec's Hacks Template Group]]></title>
			<hookname>template_groups</hookname>
			<phpcode><![CDATA[$only['cyb_'] = 'Cybernetec';
		]]></phpcode>
		</plugin>
	</plugins>
	<phrases>
		<phrasetype name="Error Messages" fieldname="error">
			<phrase name="cyb_topstats_disabled_note" date="0" username="" version=""><![CDATA[<center>تم إيقاف الإحصائيات بنجاح.<br /><br />لإعادة تفعيل الإحصائيات إستخدم "{1}" خيارات "{2}" من قائمة.</center>]]></phrase>
		</phrasetype>
		<phrasetype name="GLOBAL" fieldname="global">
			<phrase name="cyb_afs_more_stats" date="0" username="" version=""><![CDATA[مشاهدة نتائج أكثر]]></phrase>
			<phrase name="cyb_afs_results_update" date="0" username="" version=""><![CDATA[تحديث]]></phrase>
			<phrase name="cyb_afs_show_x_results" date="0" username="" version=""><![CDATA[النتائج للمشاهدة: {1}]]></phrase>
			<phrase name="cyb_afs_turnoff_stats" date="0" username="" version=""><![CDATA[إيقاف الإحصائيات]]></phrase>
			<phrase name="cyb_afs_turnon_stats" date="0" username="" version=""><![CDATA[تشغيل الإحصائيات]]></phrase>
			<phrase name="cyb_disabled" date="0" username="" version=""><![CDATA[معطلة]]></phrase>
			<phrase name="cyb_hottest_threads" date="0" username="" version=""><![CDATA[المواضيع الساخنة]]></phrase>
			<phrase name="cyb_infractions_and_points" date="0" username="" version=""><![CDATA[Infs/Points]]></phrase>
			<phrase name="cyb_infractions_and_points_full" date="0" username="" version=""><![CDATA[Infractions/Infraction Points]]></phrase>
			<phrase name="cyb_joined" date="0" username="" version=""><![CDATA[Joined]]></phrase>
			<phrase name="cyb_jump_to_first_post_in_x" date="0" username="" version=""><![CDATA[Jump to first post in thread '{1}']]></phrase>
			<phrase name="cyb_jump_to_unread_post_in_x" date="0" username="" version=""><![CDATA[Jump to first unread post in thread '{1}']]></phrase>
			<phrase name="cyb_last_x_hours" date="0" username="" version=""><![CDATA[* - in last {1} days]]></phrase>
			<phrase name="cyb_latest_blogs" date="0" username="" version=""><![CDATA[آخر المدونات]]></phrase>
			<phrase name="cyb_latest_classads" date="0" username="" version=""><![CDATA[آخر الإعلانات]]></phrase>
			<phrase name="cyb_latest_news" date="0" username="" version=""><![CDATA[أخر أخبار المنتدي]]></phrase>
			<phrase name="cyb_latest_posts" date="0" username="" version=""><![CDATA[آخر المشاركات]]></phrase>
			<phrase name="cyb_layout_onerow" date="0" username="" version=""><![CDATA[صف واحد]]></phrase>
			<phrase name="cyb_layout_tworows" date="0" username="" version=""><![CDATA[صفين]]></phrase>
			<phrase name="cyb_most_viewed" date="0" username="" version=""><![CDATA[أكثر المواضيع مشاهدة]]></phrase>
			<phrase name="cyb_newest_members" date="0" username="" version=""><![CDATA[الأعضاء الجدد]]></phrase>
			<phrase name="cyb_referrals" date="0" username="" version=""><![CDATA[Referrals]]></phrase>
			<phrase name="cyb_reputations" date="0" username="" version=""><![CDATA[Reputations]]></phrase>
			<phrase name="cyb_reputations_and_level" date="0" username="" version=""><![CDATA[Reps/Level]]></phrase>
			<phrase name="cyb_reputations_and_level_full" date="0" username="" version=""><![CDATA[Reputations/Reputation Level]]></phrase>
			<phrase name="cyb_thanked_members" date="0" username="" version=""><![CDATA[الأكثر شكراً]]></phrase>
			<phrase name="cyb_thanked_times" date="0" username="" version=""><![CDATA[Thanked]]></phrase>
			<phrase name="cyb_top_forums" date="0" username="" version=""><![CDATA[المنتدي الأكثر شعبية]]></phrase>
			<phrase name="cyb_top_infractions" date="0" username="" version=""><![CDATA[أعلى المخالفين]]></phrase>
			<phrase name="cyb_top_posters" date="0" username="" version=""><![CDATA[أكثر الاعضاء مشاركه]]></phrase>
			<phrase name="cyb_top_referrers" date="0" username="" version=""><![CDATA[أكثر الدعوات من]]></phrase>
			<phrase name="cyb_top_reputation" date="0" username="" version=""><![CDATA[اعلى تقيم]]></phrase>
			<phrase name="cyb_top_starters" date="0" username="" version=""><![CDATA[أكثر الاعضاء مواضيع]]></phrase>
			<phrase name="cyb_top_stats" date="0" username="" version=""><![CDATA[أعلى الإحصائيات ]]></phrase>
			<phrase name="cyb_top_x_stats" date="0" username="" version=""><![CDATA[أعلى {1} إحصائيات]]></phrase>
			<phrase name="cybstats_ad" date="0" username="" version=""><![CDATA[Ad]]></phrase>
			<phrase name="cybstats_lp_left" date="0" username="" version=""><![CDATA[أخر المشاركات في اليسار]]></phrase>
			<phrase name="cybstats_lp_right" date="0" username="" version=""><![CDATA[أخر المشاركات في اليمين]]></phrase>
			<phrase name="cybstats_mainbox_noauto" date="0" username="" version=""><![CDATA[لاشئ]]></phrase>
			<phrase name="cybstats_put_above_forums" date="0" username="" version=""><![CDATA[ضعه أعلى الأقسام]]></phrase>
			<phrase name="cybstats_put_bellow_navbar" date="0" username="" version=""><![CDATA[ضعه أسفل النفبار]]></phrase>
			<phrase name="cybstats_put_below_forums" date="0" username="" version=""><![CDATA[ضعه أسفل الأقسام]]></phrase>
			<phrase name="cybstats_put_below_wol" date="0" username="" version=""><![CDATA[وضع أسفل "إحصائيات المنتدى‘]]></phrase>
			<phrase name="cybstats_ttlp_an" date="0" username="" version=""><![CDATA[العنوان لآخر مشاركة .بدون سهم]]></phrase>
			<phrase name="cybstats_ttlp_atlp" date="0" username="" version=""><![CDATA[الاثنين.العنوان والسهم لآخر مشاركة]]></phrase>
			<phrase name="cybstats_ttlp_atts" date="0" username="" version=""><![CDATA[العنوان لآخر مشاركة .والسهم  لبداية الموضوع]]></phrase>
			<phrase name="cybstats_tts_atlp" date="0" username="" version=""><![CDATA[العنوان لبداية الموضوع.السهم لآخر مشاركة]]></phrase>
		</phrasetype>
		<phrasetype name="vBulletin Settings" fieldname="vbsettings">
			<phrase name="setting_cybtopstats_add_loc_desc" date="0" username="" version=""><![CDATA[ضع مكان الإحصائايات الرئيسي على حسب الطلب<br /><br />ملاحظة: اقرأ الملف Info.txt لتفهم وظيفة هذه العملية]]></phrase>
			<phrase name="setting_cybtopstats_amount_main_desc" date="0" username="" version=""><![CDATA[عدد النتائج للعرض في رئيسية الإحصائيات]]></phrase>
			<phrase name="setting_cybtopstats_amount_more_desc" date="0" username="" version=""><![CDATA[عد النتائج التي سوف تظهر في <a href="../misc.php?do=cybstats" target="_blank">صفحة منفصلة</a><br />(قائمة النتائج القابلة للعرض , إفصل بينهم بعلامة)]]></phrase>
			<phrase name="setting_cybtopstats_bold_remove_desc" date="0" username="" version=""><![CDATA[حذف الغمق (Bold) من أسماء الأعضاء]]></phrase>
			<phrase name="setting_cybtopstats_cant_viewmore_desc" date="0" username="" version=""><![CDATA[المجموعات الغير مسموح لها بمشاهدة  <a href="../misc.php?do=cybstats" target="_blank">المزيد من النتائج</a>]]></phrase>
			<phrase name="setting_cybtopstats_classads_forums_desc" date="0" username="" version=""><![CDATA[آخر إعلانات المنتدى (اكتب أرقام الأقسام وافصل بينها بفاصلة))]]></phrase>
			<phrase name="setting_cybtopstats_date_format_desc" date="0" username="" version=""><![CDATA[صيغة التاريخ<br />أضف "%" قبل كل بارامتر إذا لم يظهر التاريخ]]></phrase>
			<phrase name="setting_cybtopstats_enable_global_desc" date="0" username="" version=""><![CDATA[تفعيل الهاك]]></phrase>
			<phrase name="setting_cybtopstats_enable_global_title" date="0" username="" version=""><![CDATA[خيارات الهاك]]></phrase>
			<phrase name="setting_cybtopstats_excl_forums_desc" date="0" username="" version=""><![CDATA[الأقسام المستثنية من الإحصائيات (افصل بين الأرقام بفاصلة)]]></phrase>
			<phrase name="setting_cybtopstats_excl_forums_title" date="0" username="" version=""><![CDATA[التصاريح]]></phrase>
			<phrase name="setting_cybtopstats_excl_groups_desc" date="0" username="" version=""><![CDATA[المجموعات التي لا تستطيع مشاهدة الإحصائيات (افصل بين الأرقام بفاصلة)]]></phrase>
			<phrase name="setting_cybtopstats_excl_groups_listing_desc" date="0" username="" version=""><![CDATA[المجموعات المستثنية من الإحصائيات (افصل بين الأرقام بفاصلة)]]></phrase>
			<phrase name="setting_cybtopstats_lastpost_dateline_desc" date="0" username="" version=""><![CDATA[أظهر تاريخ/وقت المشاركة]]></phrase>
			<phrase name="setting_cybtopstats_lastpost_forums_desc" date="0" username="" version=""><![CDATA[أظهر القسم]]></phrase>
			<phrase name="setting_cybtopstats_lastpost_linking_desc" date="0" username="" version=""><![CDATA[عنوان الموضوع ووصلة السهم]]></phrase>
			<phrase name="setting_cybtopstats_lastpost_poster_desc" date="0" username="" version=""><![CDATA[أظهر آخر مشارك]]></phrase>
			<phrase name="setting_cybtopstats_lastpost_rvcounts_desc" date="0" username="" version=""><![CDATA[أظهر عدد المشاركات/المشاهدات]]></phrase>
			<phrase name="setting_cybtopstats_latestnews_newsforumid_desc" date="0" username="" version=""><![CDATA[آخر أخبار المنتدى (ضع أرقام الأقسام وافصل بينها بفاصلة))]]></phrase>
			<phrase name="setting_cybtopstats_latestnews_newsforumid_title" date="0" username="" version=""><![CDATA[تفاصيل الإحصائيات]]></phrase>
			<phrase name="setting_cybtopstats_layout_desc" date="0" username="" version=""><![CDATA[الشكل العام]]></phrase>
			<phrase name="setting_cybtopstats_newmem_details_desc" date="0" username="" version=""><![CDATA[تفاصيل الأعضاء الجدد]]></phrase>
			<phrase name="setting_cybtopstats_prefix_new_desc" date="0" username="" version=""><![CDATA[مسار أيقونة (جديد)]]></phrase>
			<phrase name="setting_cybtopstats_prefix_old_desc" date="0" username="" version=""><![CDATA[مسار أيقونة (قديم)]]></phrase>
			<phrase name="setting_cybtopstats_rep_actual_desc" date="0" username="" version=""><![CDATA[أظهر عدد التقييمات الصحيحة التي أعطيت من قبل الأعضاء]]></phrase>
			<phrase name="setting_cybtopstats_switch_latestposts_desc" date="0" username="" version=""><![CDATA[<table style="margin-left:20px" width="55%" border="1" cellspacing="0" cellpadding="0"><tr><td bgcolor="silver">&nbsp;</td><td></td><td></td><td></td><td></td><td></td><td bgcolor="silver">&nbsp;</td></tr></table>]]></phrase>
			<phrase name="setting_cybtopstats_switch_latestposts_title" date="0" username="" version=""><![CDATA[آخر المشاركات]]></phrase>
			<phrase name="setting_cybtopstats_switch_s10_desc" date="0" username="" version=""><![CDATA[<table style="margin-left:20px" width="55%" border="1" cellspacing="0" cellpadding="0"><tr><td rowspan="2">&nbsp;</td><td></td><td></td><td></td><td></td><td></td><td rowspan="2">&nbsp;</td></tr><tr><td></td><td></td><td></td><td></td><td bgcolor="silver"></td></tr></table>]]></phrase>
			<phrase name="setting_cybtopstats_switch_s1_desc" date="0" username="" version=""><![CDATA[<table style="margin-left:20px" width="55%" border="1" cellspacing="0" cellpadding="0"><tr><td>&nbsp;</td><td bgcolor="silver"></td><td></td><td></td><td></td><td></td><td>&nbsp;</td></tr></table>]]></phrase>
			<phrase name="setting_cybtopstats_switch_s1_title" date="0" username="" version=""><![CDATA[إدارة الإحصائيات - الصف الأول]]></phrase>
			<phrase name="setting_cybtopstats_switch_s2_desc" date="0" username="" version=""><![CDATA[<table style="margin-left:20px" width="55%" border="1" cellspacing="0" cellpadding="0"><tr><td rowspan="2">&nbsp;</td><td></td><td></td><td></td><td></td><td></td><td rowspan="2">&nbsp;</td></tr><tr><td bgcolor="silver"></td><td></td><td></td><td></td><td></td></tr></table>]]></phrase>
			<phrase name="setting_cybtopstats_switch_s2_title" date="0" username="" version=""><![CDATA[إدارة الإحصائيات - الصف الثاني]]></phrase>
			<phrase name="setting_cybtopstats_switch_s3_desc" date="0" username="" version=""><![CDATA[<table style="margin-left:20px" width="55%" border="1" cellspacing="0" cellpadding="0"><tr><td>&nbsp;</td><td></td><td bgcolor="silver"><td></td></td><td></td><td></td><td>&nbsp;</td></tr></table>]]></phrase>
			<phrase name="setting_cybtopstats_switch_s4_desc" date="0" username="" version=""><![CDATA[<table style="margin-left:20px" width="55%" border="1" cellspacing="0" cellpadding="0"><tr><td rowspan="2">&nbsp;</td><td></td><td></td><td></td><td></td><td></td><td rowspan="2">&nbsp;</td></tr><tr><td></td><td bgcolor="silver"></td><td></td><td></td><td></td></tr></table>]]></phrase>
			<phrase name="setting_cybtopstats_switch_s5_desc" date="0" username="" version=""><![CDATA[<table style="margin-left:20px" width="55%" border="1" cellspacing="0" cellpadding="0"><tr><td>&nbsp;</td><td></td><td></td><td bgcolor="silver"><td></td></td><td></td><td>&nbsp;</td></tr></table>]]></phrase>
			<phrase name="setting_cybtopstats_switch_s6_desc" date="0" username="" version=""><![CDATA[<table style="margin-left:20px" width="55%" border="1" cellspacing="0" cellpadding="0"><tr><td rowspan="2">&nbsp;</td><td></td><td></td><td></td><td></td><td></td><td rowspan="2">&nbsp;</td></tr><tr><td></td><td></td><td bgcolor="silver"></td><td></td><td></td></tr></table>]]></phrase>
			<phrase name="setting_cybtopstats_switch_s7_desc" date="0" username="" version=""><![CDATA[<table style="margin-left:20px" width="55%" border="1" cellspacing="0" cellpadding="0"><tr><td>&nbsp;</td><td></td><td></td><td></td><td bgcolor="silver"><td></td></td><td>&nbsp;</td></tr></table>]]></phrase>
			<phrase name="setting_cybtopstats_switch_s8_desc" date="0" username="" version=""><![CDATA[<table style="margin-left:20px" width="55%" border="1" cellspacing="0" cellpadding="0"><tr><td rowspan="2">&nbsp;</td><td></td><td></td><td></td><td></td><td></td><td rowspan="2">&nbsp;</td></tr><tr><td></td><td></td><td></td><td bgcolor="silver"></td><td></td></tr></table>]]></phrase>
			<phrase name="setting_cybtopstats_switch_s9_desc" date="0" username="" version=""><![CDATA[<table style="margin-left:20px" width="55%" border="1" cellspacing="0" cellpadding="0"><tr><td>&nbsp;</td><td></td><td></td><td></td><td></td><td bgcolor="silver"></td><td>&nbsp;</td></tr></table>]]></phrase>
			<phrase name="setting_cybtopstats_tablebg_desc" date="0" username="" version=""><![CDATA[لون خلفية الجدول]]></phrase>
			<phrase name="setting_cybtopstats_tablebg_title" date="0" username="" version=""><![CDATA[التزيين/المكياج]]></phrase>
			<phrase name="setting_cybtopstats_time_format_desc" date="0" username="" version=""><![CDATA[صيغة الوقت<br />Add "%" أضف "%" قبل كل بارامتر إذا لم يظهر الوقت]]></phrase>
			<phrase name="setting_cybtopstats_timecut_blogs_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "آخر المدونات"]]></phrase>
			<phrase name="setting_cybtopstats_timecut_classads_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "آخر الإعلانات"]]></phrase>
			<phrase name="setting_cybtopstats_timecut_desc" date="0" username="" version=""><![CDATA[احسب البيانات منذ × أيام - ضع × (صفر للتعطيل)<br />ملاحظة: هذا قد يزيد مدة التحميل قليلاً]]></phrase>
			<phrase name="setting_cybtopstats_timecut_hottest_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "المواضيع الساخنة"]]></phrase>
			<phrase name="setting_cybtopstats_timecut_infractions_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "أعلى المخالفات"]]></phrase>
			<phrase name="setting_cybtopstats_timecut_lastpost_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "آخر المشاركات"]]></phrase>
			<phrase name="setting_cybtopstats_timecut_latestnews_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "آخر الأخبار""]]></phrase>
			<phrase name="setting_cybtopstats_timecut_mostviewed_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "أكثر المواضيع مشاهدة"]]></phrase>
			<phrase name="setting_cybtopstats_timecut_newmem_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "الأعضاء الجدد""]]></phrase>
			<phrase name="setting_cybtopstats_timecut_rep_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "أعلى تقيم"]]></phrase>
			<phrase name="setting_cybtopstats_timecut_thx_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "الأكثر شكراً"]]></phrase>
			<phrase name="setting_cybtopstats_timecut_title" date="0" username="" version=""><![CDATA[قطع الوقت]]></phrase>
			<phrase name="setting_cybtopstats_timecut_topforums_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "المنتدى الأكثر شعبية"]]></phrase>
			<phrase name="setting_cybtopstats_timecut_toppost_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "أكثر الاعضاء مشاركة""]]></phrase>
			<phrase name="setting_cybtopstats_timecut_topreferrers_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "أكثر الدعوات من"]]></phrase>
			<phrase name="setting_cybtopstats_timecut_topstarters_desc" date="0" username="" version=""><![CDATA[تفعيل قطع الوقت على "أكثر الاعضاء موضيع"]]></phrase>
			<phrase name="setting_cybtopstats_trim_forumtitles_desc" date="0" username="" version=""><![CDATA[تقصير أسماء الأقسام (صفر للتعطي)]]></phrase>
			<phrase name="setting_cybtopstats_trim_threadtitles_desc" date="0" username="" version=""><![CDATA[تقصير عناوين المواضيع (صفر للتعطيل))]]></phrase>
			<phrase name="setting_cybtopstats_trim_usernames_desc" date="0" username="" version=""><![CDATA[تقصير أسماء الأعضاء (صفر للتعطي)]]></phrase>
			<phrase name="setting_cybtopstats_window_loc_desc" date="0" username="" version=""><![CDATA[الإحصائيات في الصفحة الرئيسية]]></phrase>
			<phrase name="settinggroup_cybtopstats" date="0" username="" version=""><![CDATA[إعدادات هاك إحصائية المنتدي المتقدم تعريب فريق سيهات بويز]]></phrase>
		</phrasetype>
	</phrases>
	<options>
		<settinggroup name="cybtopstats" displayorder="65535">
			<setting varname="cybtopstats_enable_global" displayorder="5">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="cybtopstats_layout" displayorder="10">
				<datatype>free</datatype>
				<optioncode>select:piped
1|cyb_layout_onerow
2|cyb_layout_tworows</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="cybtopstats_amount_main" displayorder="15">
				<datatype>number</datatype>
				<defaultvalue>5</defaultvalue>
			</setting>
			<setting varname="cybtopstats_amount_more" displayorder="20">
				<datatype>free</datatype>
				<defaultvalue>5,10,20,30,50,100,200</defaultvalue>
			</setting>
			<setting varname="cybtopstats_window_loc" displayorder="25">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cybstats_mainbox_noauto
1|cybstats_put_bellow_navbar
2|cybstats_put_above_forums
3|cybstats_put_below_forums
4|cybstats_put_below_wol</optioncode>
				<defaultvalue>3</defaultvalue>
			</setting>
			<setting varname="cybtopstats_add_loc" displayorder="30">
				<datatype>free</datatype>
			</setting>
			<setting varname="cybtopstats_switch_s1" displayorder="35">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|cyb_latest_news
2|cyb_newest_members
3|cyb_top_posters
4|cyb_top_starters
5|cyb_top_referrers
6|cyb_most_viewed
7|cyb_hottest_threads
8|cyb_top_reputation
9|cyb_thanked_members
10|cyb_top_forums
11|cyb_top_infractions
12|cyb_latest_classads
13|cyb_latest_blogs</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="cybtopstats_switch_s3" displayorder="40">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|cyb_latest_news
2|cyb_newest_members
3|cyb_top_posters
4|cyb_top_starters
5|cyb_top_referrers
6|cyb_most_viewed
7|cyb_hottest_threads
8|cyb_top_reputation
9|cyb_thanked_members
10|cyb_top_forums
11|cyb_top_infractions
12|cyb_latest_classads
13|cyb_latest_blogs</optioncode>
				<defaultvalue>7</defaultvalue>
			</setting>
			<setting varname="cybtopstats_switch_s5" displayorder="45">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|cyb_latest_news
2|cyb_newest_members
3|cyb_top_posters
4|cyb_top_starters
5|cyb_top_referrers
6|cyb_most_viewed
7|cyb_hottest_threads
8|cyb_top_reputation
9|cyb_thanked_members
10|cyb_top_forums
11|cyb_top_infractions
12|cyb_latest_classads
13|cyb_latest_blogs</optioncode>
				<defaultvalue>6</defaultvalue>
			</setting>
			<setting varname="cybtopstats_switch_s7" displayorder="50">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|cyb_latest_news
2|cyb_newest_members
3|cyb_top_posters
4|cyb_top_starters
5|cyb_top_referrers
6|cyb_most_viewed
7|cyb_hottest_threads
8|cyb_top_reputation
9|cyb_thanked_members
10|cyb_top_forums
11|cyb_top_infractions
12|cyb_latest_classads
13|cyb_latest_blogs</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_switch_s9" displayorder="55">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|cyb_latest_news
2|cyb_newest_members
3|cyb_top_posters
4|cyb_top_starters
5|cyb_top_referrers
6|cyb_most_viewed
7|cyb_hottest_threads
8|cyb_top_reputation
9|cyb_thanked_members
10|cyb_top_forums
11|cyb_top_infractions
12|cyb_latest_classads
13|cyb_latest_blogs</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_switch_s2" displayorder="60">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|cyb_latest_news
2|cyb_newest_members
3|cyb_top_posters
4|cyb_top_starters
5|cyb_top_referrers
6|cyb_most_viewed
7|cyb_hottest_threads
8|cyb_top_reputation
9|cyb_thanked_members
10|cyb_top_forums
11|cyb_top_infractions
12|cyb_latest_classads
13|cyb_latest_blogs</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="cybtopstats_switch_s4" displayorder="65">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|cyb_latest_news
2|cyb_newest_members
3|cyb_top_posters
4|cyb_top_starters
5|cyb_top_referrers
6|cyb_most_viewed
7|cyb_hottest_threads
8|cyb_top_reputation
9|cyb_thanked_members
10|cyb_top_forums
11|cyb_top_infractions
12|cyb_latest_classads
13|cyb_latest_blogs</optioncode>
				<defaultvalue>3</defaultvalue>
			</setting>
			<setting varname="cybtopstats_switch_s6" displayorder="70">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|cyb_latest_news
2|cyb_newest_members
3|cyb_top_posters
4|cyb_top_starters
5|cyb_top_referrers
6|cyb_most_viewed
7|cyb_hottest_threads
8|cyb_top_reputation
9|cyb_thanked_members
10|cyb_top_forums
11|cyb_top_infractions
12|cyb_latest_classads
13|cyb_latest_blogs</optioncode>
				<defaultvalue>5</defaultvalue>
			</setting>
			<setting varname="cybtopstats_switch_s8" displayorder="75">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|cyb_latest_news
2|cyb_newest_members
3|cyb_top_posters
4|cyb_top_starters
5|cyb_top_referrers
6|cyb_most_viewed
7|cyb_hottest_threads
8|cyb_top_reputation
9|cyb_thanked_members
10|cyb_top_forums
11|cyb_top_infractions
12|cyb_latest_classads
13|cyb_latest_blogs</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_switch_s10" displayorder="80">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|cyb_latest_news
2|cyb_newest_members
3|cyb_top_posters
4|cyb_top_starters
5|cyb_top_referrers
6|cyb_most_viewed
7|cyb_hottest_threads
8|cyb_top_reputation
9|cyb_thanked_members
10|cyb_top_forums
11|cyb_top_infractions
12|cyb_latest_classads
13|cyb_latest_blogs</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_latestnews_newsforumid" displayorder="85">
				<datatype>free</datatype>
			</setting>
			<setting varname="cybtopstats_newmem_details" displayorder="90">
				<datatype>free</datatype>
				<optioncode>select:piped
1|join_date
2|posts
3|join_date(,)posts</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="cybtopstats_rep_actual" displayorder="91">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="cybtopstats_classads_forums" displayorder="95">
				<datatype>free</datatype>
			</setting>
			<setting varname="cybtopstats_switch_latestposts" displayorder="100">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|cybstats_lp_left
2|cybstats_lp_right</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="cybtopstats_lastpost_linking" displayorder="105">
				<datatype>free</datatype>
				<optioncode>select:piped
1|cybstats_tts_atlp
2|cybstats_ttlp_atts
3|cybstats_ttlp_an
4|cybstats_ttlp_atlp</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="cybtopstats_lastpost_dateline" displayorder="110">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="cybtopstats_lastpost_poster" displayorder="115">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="cybtopstats_lastpost_rvcounts" displayorder="120">
				<datatype>free</datatype>
				<optioncode>select:piped
0|cyb_disabled
1|replies
2|views
3|replies(,)views</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_lastpost_forums" displayorder="125">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="cybtopstats_excl_forums" displayorder="130">
				<datatype>free</datatype>
			</setting>
			<setting varname="cybtopstats_excl_groups" displayorder="135">
				<datatype>free</datatype>
			</setting>
			<setting varname="cybtopstats_cant_viewmore" displayorder="140">
				<datatype>free</datatype>
				<defaultvalue>1,8</defaultvalue>
			</setting>
			<setting varname="cybtopstats_excl_groups_listing" displayorder="145">
				<datatype>free</datatype>
			</setting>
			<setting varname="cybtopstats_tablebg" displayorder="150">
				<datatype>free</datatype>
				<optioncode>select:piped
1|Alt1
2|Alt2</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="cybtopstats_date_format" displayorder="155">
				<datatype>free</datatype>
				<defaultvalue>d-m</defaultvalue>
			</setting>
			<setting varname="cybtopstats_time_format" displayorder="160">
				<datatype>free</datatype>
				<defaultvalue>H:i</defaultvalue>
			</setting>
			<setting varname="cybtopstats_prefix_new" displayorder="165">
				<datatype>free</datatype>
				<defaultvalue>images/statusicon/post_new.gif</defaultvalue>
			</setting>
			<setting varname="cybtopstats_prefix_old" displayorder="170">
				<datatype>free</datatype>
				<defaultvalue>images/statusicon/post_old.gif</defaultvalue>
			</setting>
			<setting varname="cybtopstats_bold_remove" displayorder="175">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="cybtopstats_trim_threadtitles" displayorder="180">
				<datatype>number</datatype>
				<defaultvalue>18</defaultvalue>
			</setting>
			<setting varname="cybtopstats_trim_forumtitles" displayorder="185">
				<datatype>number</datatype>
				<defaultvalue>18</defaultvalue>
			</setting>
			<setting varname="cybtopstats_trim_usernames" displayorder="190">
				<datatype>number</datatype>
				<defaultvalue>13</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut" displayorder="195">
				<datatype>number</datatype>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_latestnews" displayorder="200">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_newmem" displayorder="205">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_toppost" displayorder="210">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_topstarters" displayorder="215">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_topreferrers" displayorder="220">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_mostviewed" displayorder="225">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_hottest" displayorder="230">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_rep" displayorder="235">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_thx" displayorder="240">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_topforums" displayorder="245">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_infractions" displayorder="250">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_classads" displayorder="255">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_blogs" displayorder="260">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="cybtopstats_timecut_lastpost" displayorder="265">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
		</settinggroup>
	</options>
	<helptopics>
	</helptopics>
	<cronentries>
	</cronentries>
	<faqentries>
	</faqentries>
</product>
