• NMWCMS Theme Adapt documentation

  • Docs Last Updated For Version: 4.1.7+

Get Started

Setting up new themes requires specific folders to be created and will not work with any other, nmwcms also needs the main files to be called "header" and "footer" with a tpl type.

1) Create main folder with name MyTheme_theme, this name can be anything.
2) Create folders called css / images / includes / js / json_configs / language / page_tpl / Theme_Backup in the main folder.
3) In each folder add an empty file called index.html
4) Then add files called header.tpl / footer.tpl in main folder. ( Mobile Case: mobile_header.tpl / mobile_footer.tpl )

For example...
5) Copy your non-NMWCMS theme codes to header.tpl and footer.tpl ( Mobile Case: mobile_header.tpl / mobile_footer.tpl ) ( split in two where page content is between the two )




Preparing Header

All themes will need a head section to be set with proper codes for webste to fully function.

JQuery Script Load
: Important* JQ for page module animations/effects
CMS Module Style Load
: Important* to load page module visual look.
Website Title
: Returns website title from admincp config.
Meta Tags
: Returns meta tags from admincp config.
Meta Description
: Returns meta description from admincp config.
Theme Path
: Template path to load images/js/css/tpl properly

For example...
<meta charset="utf-8">
<title>{$Echo.website_title}</title>
<meta name="keywords" content="{$Echo.meta_tags}" />
<meta name="description" content="{$Echo.meta_description}" />
<meta name="viewport" content="width=1900, maximum-scale=1">
<link rel="icon" href="{$Echo.theme_path}/images/favicon.ico" type="image/x-icon"/>
{$Echo.include_nmwcms_style_file}
<script src="system/js/jquery-1.10.2.min.js"></script>




Account Panel Menu Links

Links that can be accesed when user is logged-in.

<li><a href="index.php?id=account_settings">{_lang_Account_Settings}</a></li>
<li><a href="index.php?id=game_panel">{_lang_Game_Panel}</a></li>
<li><a href="index.php?id=vote_reward">{_lang_Vote_Reward}</a></li>
<li><a href="index.php?id=buy_credits">{_lang_Buy} {$Echo.paym_sys_currency_name}</a></li>
<li><a href="index.php?id=item_mail">{_lang_Item_Mail}</a></li>
<li><a href="index.php?id=warehouse">{_lang_Warehouse}</a></li>
<li><a href="index.php?id=web_deposit">{_lang_Web_Deposit}</a></li>
<li><a href="index.php?id=achievements">{_lang_Achievements}</a></li>
<li><a href="index.php?id=custom_page">{$Echo.custom_page_name1}</a></li>
<li><a href="index.php?id=custom_page2">{$Echo.custom_page_name2}</a></li>
<li><a href="index.php?id=custom_page3">{$Echo.custom_page_name3}</a></li>
<li><a href="index.php?id=custom_page4">{$Echo.custom_page_name4}</a></li>
<li><a href="index.php?id=custom_page5">{$Echo.custom_page_name5}</a></li>
<li><a href="index.php?id=currency_convert">{_lang_Currency_Convert}</a></li>
<li><a href="index.php?id=exchange_system">{_lang_Exchange_System}</a></li>
<li><a href="index.php?id=scramble_game">{_lang_Scramble_Game}</a></li>
<li><a href="index.php?id=information_hide">{_lang_Information_Hide}</a></li>
<li><a href="index.php?id=buy_gm_status">{_lang_Buy_GM_Status}</a></li>
<li><a href="index.php?id=auction">{_lang_Auction}</a></li>
<li><a href="index.php?id=currency_transfer">{_lang_Currency_Transfer}</a></li>
<li><a href="index.php?id=buy_vip_status">{_lang_VIP_Buy}</a></li>
<li><a href="index.php?id=castle_siege_register">{_lang_Siege_Guild_Register}</a></li>
<li><a href="index.php?id=character_market">{_lang_Character_BUY_SELL}</a></li>
<li><a href="index.php?id=invite_friends">{_lang_Friend_Invite}</a></li>
<li><a href="index.php?id=support_ticket">{_lang_Support_Ticket}</a></li>
<li><a href="index.php?id=vip_transfer">{_lang_VIP_Transfer}</a></li>
<li><a href="index.php?id=custom_item_sell">CustomNameHere</a></li>
<li><a href="index.php?id=battle_pass">{_lang_Battle_Pass}</a></li>
<li><a href="index.php?id=promo_code">{_lang_Promo_Code}</a></li>
<li><a href="index.php?id=streamer_box">{_lang_Live_Stream_Add}</a></li>

<li><a href="index.php?logout_user=yes">{_lang_Log_Out}</a></li>
For each page link is possible to set "Active" class when page is viewed, replace "account_settings" to specific page id.

Links can be automatically disabled ( hide ) if module is turned off in admincp using this codes
{if $Echo.act_account_settings == 'true'}<li><a href="index.php?id=account_settings">{_lang_Account_Settings}</a></li>{/if}
{if $Echo.act_game_panel == 'true'}<li><a href="index.php?id=game_panel">{_lang_Game_Panel}</a></li>{/if}
{if $Echo.act_free_credits == 'true'}<li><a href="index.php?id=vote_reward">{_lang_Vote_Reward}</a></li>{/if}
{if $Echo.act_buy_credits == 'true'}<li><a href="index.php?id=buy_credits">{_lang_Buy} {$Echo.paym_sys_currency_name}</a></li>{/if}
{if $Echo.act_warehouse == 'true'}<li><a href="index.php?id=warehouse">{_lang_Warehouse}</a></li>{/if}
{if $Echo.act_item_mail_sys == 'true'}<li><a href="index.php?id=item_mail">{_lang_Item_Mail}</a></li>{/if}
{if $Echo.act_jewel_wallet_sys == 'true'}<li><a href="index.php?id=web_deposit">{_lang_Web_Deposit}</a></li>{/if}
{if $Echo.act_achievement_system == 'true'}<li><a href="index.php?id=achievements">{_lang_Achievements}</a></li>{/if}
{if $Echo.custom_page_name1 != ''}<li><a href="index.php?id=custom_page">{$Echo.custom_page_name1}</a></li>{/if}
{if $Echo.custom_page_name2 != ''}<li><a href="index.php?id=custom_page2">{$Echo.custom_page_name2}</a></li>{/if}
{if $Echo.custom_page_name3 != ''}<li><a href="index.php?id=custom_page3">{$Echo.custom_page_name3}</a></li>{/if}
{if $Echo.custom_page_name4 != ''}<li><a href="index.php?id=custom_page4">{$Echo.custom_page_name4}</a></li>{/if}
{if $Echo.custom_page_name5 != ''}<li><a href="index.php?id=custom_page5">{$Echo.custom_page_name5}</a></li>{/if}
{if $Echo.act_currency_convert == 'true'}<li><a href="index.php?id=currency_convert">{_lang_Currency_Convert}</a></li>{/if}
{if $Echo.act_exhcnage_system == 'true'}<li><a href="index.php?id=exchange_system">{_lang_Exchange_System}</a></li>{/if}
{if $Echo.act_scramble_game == 'true'}<li><a href="index.php?id=scramble_game">{_lang_Scramble_Game}</a></li>{/if}
{if $Echo.act_info_hide == 'true'}<li><a href="index.php?id=information_hide">{_lang_Information_Hide}</a></li>{/if}
{if $Echo.act_gm_status_buy == 'true'}<li><a href="index.php?id=buy_gm_status">{_lang_Buy_GM_Status}</a></li>{/if}
{if $Echo.act_auction_system == 'true'}<li><a href="index.php?id=auction">{_lang_Auction}</a></li>{/if}
{if $Echo.act_currency_transfer == 'true'}<li><a href="index.php?id=currency_transfer">{_lang_Currency_Transfer}</a></li>{/if}
{if $Echo.act_vip_status_buy == 'true'}<li><a href="index.php?id=buy_vip_status">{_lang_VIP_Buy}</a></li>{/if}
{if $Echo.act_castle_siege_reg == 'true'}<li><a href="index.php?id=castle_siege_register">{_lang_Siege_Guild_Register}</a></li>{/if}
{if $Echo.act_character_market == 'true'}<li><a href="index.php?id=character_market">{_lang_Character_BUY_SELL}</a></li>{/if}
{if $Echo.act_friend_invite == 'true'}<li><a href="index.php?id=invite_friends">{_lang_Friend_Invite}</a></li>{/if}
{if $Echo.act_support_ticket == 'true'}<li><a href="index.php?id=support_ticket">{_lang_Support_Ticket}</a></li>{/if}
{if $Echo.act_vip_transfer == 'true'}<li><a href="index.php?id=vip_transfer">{_lang_VIP_Transfer}</a></li>{/if}
{if $Echo.act_item_for_sell_module == 'true'}<li><a href="index.php?id=custom_item_sell">CustomNameHere</a></li>{/if}
{if $Echo.act_battle_pass == 'true'}<li><a href="index.php?id=battle_pass">{_lang_Battle_Pass}</a></li>{/if}
{if $Echo.act_promo_system == 'true'}<li><a href="index.php?id=promo_code">{_lang_Promo_Code}</a></li>{/if}
{if $Echo.act_streamer_box == 'true'}<li><a href="index.php?id=streamer_box">{_lang_Live_Stream_Add}</a></li>{/if}




Game Panel Menu Links

This links by default can be found in game panel page but can also be used outside of it.

<li><a href="index.php?id=character_manage">{_lang_CHARACTER_MANAGE}</a></li>
<li><a href="index.php?user=reset_character">{_lang_RESET_CHARACTER_b}</a></li>
<li><a href="index.php?user=grand_reset_character">{_lang_GRAND_RESET_CHARACTER}</a></li>
<li><a href="index.php?user=buy_character_level">{_lang_BUY_CHARACTER_LEVEL}</a></li>
<li><a href="index.php?user=add_character_stats">{_lang_ADD_CHARACTER_STATS}</a></li>
<li><a href="index.php?user=buy_character_stats">{_lang_BUY_CHARACTER_STATS}</a></li>
<li><a href="index.php?user=sell_level_up_points">{_lang_SELL_LEVEL_UP_POINTS}</a></li>
<li><a href="index.php?user=clear_character_pk">{_lang_CLEAR_CHARACTER_PK}</a></li>
<li><a href="index.php?user=rename_character">{_lang_RENAME_CHARACTER}</a></li>
<li><a href="index.php?user=change_character_class">{_lang_CHANGE_CHARACTER_CLASS}</a></li>
<li><a href="index.php?user=reset_character_stats">{_lang_RESET_CHARACTER_STATS}</a></li>
<li><a href="index.php?user=reset_skilltree">{_lang_RESET_MASTER_SKILLTREE}</a></li>
<li><a href="index.php?user=warp_character">{_lang_WARP_CHARACTER}</a></li>
<li><a href="index.php?user=clean_inventory">{_lang_CLEAN_INVENTORY}</a></li>
<li><a href="index.php?user=buy_master_level">{_lang_BUY_MASTER_LEVEL}</a></li>
<li><a href="index.php?user=character_transfer">{_lang_TRANSFER_CHARACTER}</a></li>
<li><a href="index.php?user=character_dual_stats">{_lang_CHARACTER_DUAL_STATS}</a></li>
Links can be automatically disabled ( hide ) if module is turned off in admincp using this codes
{if $Echo.act_character_manage == 'true'}<li><a href="index.php?id=character_manage">{_lang_CHARACTER_MANAGE}</a></li>
{if $Echo.act_reset_character == 'true'}<li><a href="index.php?user=reset_character">{_lang_RESET_CHARACTER_b}</a></li>
{if $Echo.act_greset_character == 'true'}<li><a href="index.php?user=grand_reset_character">{_lang_GRAND_RESET_CHARACTER}</a></li>
{if $Echo.act_buy_level == 'true'}<li><a href="index.php?user=buy_character_level">{_lang_BUY_CHARACTER_LEVEL}</a></li>
{if $Echo.act_add_stats == 'true'}<li><a href="index.php?user=add_character_stats">{_lang_ADD_CHARACTER_STATS}</a></li>
{if $Echo.act_buy_stats == 'true'}<li><a href="index.php?user=buy_character_stats">{_lang_BUY_CHARACTER_STATS}</a></li>
{if $Echo.act_sell_lvlup_points == 'true'}<li><a href="index.php?user=sell_level_up_points">{_lang_SELL_LEVEL_UP_POINTS}</a></li>
{if $Echo.act_change_class == 'true'}<li><a href="index.php?user=change_character_class">{_lang_CHANGE_CHARACTER_CLASS}</a></li>
{if $Echo.act_clear_pk == 'true'}<li><a href="index.php?user=clear_character_pk">{_lang_CLEAR_CHARACTER_PK}</a></li>
{if $Echo.act_rename_character == 'true'}<li><a href="index.php?user=rename_character">{_lang_RENAME_CHARACTER}</a></li>
{if $Echo.act_reset_skilltree == 'true'}<li><a href="index.php?user=reset_skilltree">{_lang_RESET_MASTER_SKILLTREE}</a></li>
{if $Echo.act_reset_stats == 'true'}<li><a href="index.php?user=reset_character_stats">{_lang_RESET_CHARACTER_STATS}</a></li>
{if $Echo.act_warp_character == 'true'}<li><a href="index.php?user=warp_character">{_lang_WARP_CHARACTER}</a></li>
{if $Echo.act_clean_inventory == 'true'}<li><a href="index.php?user=clean_inventory">{_lang_CLEAN_INVENTORY}</a></li>
{if $Echo.act_buy_mlevel == 'true'}<li><a href="index.php?user=buy_master_level">{_lang_BUY_MASTER_LEVEL}</a></li>
{if $Echo.act_transfer_character == 'true'}<li><a href="index.php?user=character_transfer">{_lang_TRANSFER_CHARACTER}</a></li>
{if $Echo.act_dual_stats == 'true'}<li><a href="index.php?user=character_dual_stats">{_lang_CHARACTER_DUAL_STATS}</a></li>




Base Code List

Base codes can be used for many things all around theme and theme includes to offer nearly any possible styling and or need by the coder.

NMWCMS Version
User Log-in status
: Returns "ok" if user is logged-in account
Login Errors
: Displays error on user login if username/password wrong.
Returns content of $_GET['user']
Returns content of $_GET['gm']
Returns content of $_GET['id']
Returns content of $_GET['post']
Language return URL set
: Used only for language url to load existing page on language change
Language URL
Active Language Name Full
: Returns name for example "English", "Latvian", "Russian"
Active Language Name Short
: Returns name for example "en", "la", "ru"
User Username
User Display Name
User Avatar Image URL
Currency Name 1-6
Currency Values 1-6 ( Loads user currency )
Server Time/Date
: Example - February 18, 2022, 21:03:34
Server Hours Only
: Example - 21:03:34
Local Time/Date
: Example - February 18, 2022, 20:03:34
Local Hours Only
: Example - 20:03:34
Current Page Name
: Returns page name like "Account Settings"
CountDown Timer
: Added in <body> tag on "position:relative;" div
GM Event Notice
: Usually added right before closing </body> tag
HOF Module Content Load
: Usually added at top of content section
Streamer Box Content Load
: Usually added at top of content section
Mobile View Case ( returns 1/0 )
: Can be used on html when page is viewed with phone or tablet
MultiDB Count
: Total count of active MultiDBs on the website
MultiDB ON Check
: Returns 1 or 0 depending if MultiDB is more then 1 in count.
MeMuOnline Check
: Returns "yes" or "no"
Active MultiDB
: Active MultiDB number that is being used and displayed to user
MultiDB Second DB Check
: Returns 1 or 0
MultiDB Third DB Check
: Returns 1 or 0
MultiDB Forth DB Check
: Returns 1 or 0




Castle Siege Information

CS MultiDB Information that is possible to display on website theme at nearly any location about castle siege.

Castle Siege Guild Logo
Castle Siege Guild Name
Castle Siege Guild Score
Castle Siege Guild Master
Castle Siege Date
Castle Siege State Text
Castle Siege CountDown Box
Castle Siege CountDown Status
Castle Siege CountDown Base Times




MultiDB Code Cases

Display MultiDB Information that can be displayed at once in a same page.

MultiDB Full Title
MultiDB Short Title
MultiDB GS Status Per DB
MultiDB Total Accounts
MultiDB Total Characters
MultiDB Total Guilds
MultiDB Game Masters
MultiDB Active 24 Hours
MultiDB Online Record
MultiDB Online Count
MultiDB Online As Percents
Total Online
: Returns MultiDB total number of players online




Image Slider Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div id="NMWslideshow{if $Echo.slider_Empt == '0'}Empt{/if}">{if $Echo.slider_Empt == '0'}<span><img src="system/images/empty_slider.gif" style="width: {$Echo.set_width}px;height: {$Echo.set_height}px;"></span>{/if}
	{foreach $sliderList as $sliderL}
		<div id="asKeySetNF{$sliderL.nr}" style="display:{$sliderL.set_block_or_none};">
		{if $sliderL.img_count >= '2'}
			{if $sliderL.inc_img_buttons == 'yes'}
				<a class="nmwslide-prev" onclick="minusSlides({$sliderL.nr})">❮</a>
				<a class="nmwslide-next" onclick="plusSlides({$sliderL.nr})">❯</a>
			{/if}
		{/if}
		{if $sliderL.inc_img_title == 'yes'}<div style="z-index:7;border-radius: 3px 3px 3px 3px;border: 1px solid {$sliderL.set_title_border};margin-top:{$sliderL.tYis}px;font-family:{$sliderL.set_font_family};margin-left:{$sliderL.tXis}px;padding:{$sliderL.set_padding};background-color:{$sliderL.set_title_bg};position: absolute;color:{$sliderL.set_title_color}">{$sliderL.title}</div>{/if}
		<img src="{$sliderL.image_url}" style="width: {$sliderL.set_width}px;height: {$sliderL.set_height}px;"></div>
	{/foreach}
</div>
<script>
$("#NMWslideshow div:gt(0)").hide();
$( document ).ready(function() {
	
	var timer = null;
	var countLNF = '0';
	
	$('#NMWslideshow').hover(function(ev){
		clearInterval(timer);
	}, function(ev){
		timer = setInterval(function() {
		  countLNF = showDivCnt(countLNF);
		}, {$Echo.slider_interval});
	});

	timer = setInterval(function() {
	  countLNF = showDivCnt(countLNF);
	}, {$Echo.slider_interval});


});

function showDivCnt(countLNF) {
	var maxCountLNF = {$Echo.slider_img_count};
	if(maxCountLNF == 0){} else {
		var nextcountLNF = parseInt(countLNF) + parseInt(1);
		if(countLNF >= maxCountLNF){ nextcountLNF = 0; countLNF = maxCountLNF; };
		$('#asKeySetNF'+countLNF).fadeOut({$Echo.slider_fade_out_speed}).end().appendTo('#NMWslideshow');
		$('#asKeySetNF'+nextcountLNF).fadeIn({$Echo.slider_fade_out_speed}).end().appendTo('#NMWslideshow');
		if(countLNF >= maxCountLNF){ countLNF = 0; } else { countLNF = parseInt(countLNF) + parseInt(1); };
		return countLNF;
	};
}

function plusSlides(n) {
	var maxCountLNF = {$Echo.slider_img_count};
	if(maxCountLNF == 0){} else {
		var np = parseInt(n) + parseInt(1);
		if(n == maxCountLNF){ np = 0; n = maxCountLNF; };
		$('#asKeySetNF'+n).fadeOut({$Echo.slider_fade_out_speed}).end().appendTo('#NMWslideshow');
		$('#asKeySetNF'+np).fadeIn({$Echo.slider_fade_out_speed}).end().appendTo('#NMWslideshow');
	};
}

function minusSlides(n) {
	var maxCountLNF = {$Echo.slider_img_count};
	if(maxCountLNF == 0){} else {
		var np = parseInt(n) - parseInt(1);
		if(n == 0){ np = maxCountLNF; n = 0; };
		$('#asKeySetNF'+n).fadeOut({$Echo.slider_fade_out_speed}).end().appendTo('#NMWslideshow');
		$('#asKeySetNF'+np).fadeIn({$Echo.slider_fade_out_speed}).end().appendTo('#NMWslideshow');
	};
}

</script>




DB Statistics Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div id="sw_statistics">
	<div class="topLoad_box showingNow">
		<ul class="list-group">
			{if $Echo.mdb1_info_1_text2 != '' && $Echo.mdb1_info_1_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb1_info_1_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_info_1_text2}</span></li>{/if}
			{if $Echo.mdb1_info_2_text2 != '' && $Echo.mdb1_info_2_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb1_info_2_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_info_2_text2}</span></li>{/if}
			{if $Echo.mdb1_info_3_text2 != '' && $Echo.mdb1_info_3_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb1_info_3_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_info_3_text2}</span></li>{/if}
			{if $Echo.mdb1_info_4_text2 != '' && $Echo.mdb1_info_4_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb1_info_4_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_info_4_text2}</span></li>{/if}
			{if $Echo.mdb1_info_5_text2 != '' && $Echo.mdb1_info_5_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb1_info_5_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_info_5_text2}</span></li>{/if}
			{if $Echo.mdb1_info_6_text2 != '' && $Echo.mdb1_info_6_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb1_info_6_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_info_6_text2}</span></li>{/if}
			{if $Echo.mdb1_info_7_text2 != '' && $Echo.mdb1_info_7_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb1_info_7_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_info_7_text2}</span></li>{/if}
				
			{if $Echo.mdb1_stat_panel_accounts == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Accounts} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_total_accounts}</span></li>{/if}
			{if $Echo.mdb1_stat_panel_chars == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Characters} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_total_characters}</span></li>{/if}
			{if $Echo.mdb1_stat_panel_guilds == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Guilds} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_total_guilds}</span></li>{/if}
			{if $Echo.mdb1_stat_panel_gms == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Game_Masters} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_game_masters}</span></li>{/if}
			{if $Echo.mdb1_hide_online == 'no'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Players_Online} <span class="badge" style="color:green;">{$Echo.mdb1_online_Count}</span></li>{/if}
			{if $Echo.mdb1_stat_panel_onlrec == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Online_Record} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_online_record}</span></li>{/if}
			{if $Echo.mdb1_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_24Hours} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_active_24hours}</span></li>{/if}
			{if $Echo.mdb1_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_7Days} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_active_7days}</span></li>{/if}
			{if $Echo.mdb1_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_30Days} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb1_active_30days}</span></li>{/if}
		</ul>
	</div>

	{if $Echo.second_database_check == '1'}
	<div class="topLoad_box">
		<ul class="list-group">
			{if $Echo.mdb2_info_1_text2 != '' && $Echo.mdb2_info_1_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb2_info_1_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_info_1_text2}</span></li>{/if}
			{if $Echo.mdb2_info_2_text2 != '' && $Echo.mdb2_info_2_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb2_info_2_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_info_2_text2}</span></li>{/if}
			{if $Echo.mdb2_info_3_text2 != '' && $Echo.mdb2_info_3_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb2_info_3_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_info_3_text2}</span></li>{/if}
			{if $Echo.mdb2_info_4_text2 != '' && $Echo.mdb2_info_4_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb2_info_4_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_info_4_text2}</span></li>{/if}
			{if $Echo.mdb2_info_5_text2 != '' && $Echo.mdb2_info_5_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb2_info_5_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_info_5_text2}</span></li>{/if}
			{if $Echo.mdb2_info_6_text2 != '' && $Echo.mdb2_info_6_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb2_info_6_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_info_6_text2}</span></li>{/if}
			{if $Echo.mdb2_info_7_text2 != '' && $Echo.mdb2_info_7_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb2_info_7_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_info_7_text2}</span></li>{/if}
			
			{if $Echo.mdb2_stat_panel_accounts == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Accounts} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_total_accounts}</span></li>{/if}
			{if $Echo.mdb2_stat_panel_chars == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Characters} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_total_characters}</span></li>{/if}
			{if $Echo.mdb2_stat_panel_guilds == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Guilds} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_total_guilds}</span></li>{/if}
			{if $Echo.mdb2_stat_panel_gms == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Game_Masters} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_game_masters}</span></li>{/if}
			{if $Echo.mdb2_hide_online == 'no'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Players_Online} <span class="badge" style="color:green;">{$Echo.mdb2_online_Count}</span></li>{/if}
			{if $Echo.mdb2_stat_panel_onlrec == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Online_Record} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_online_record}</span></li>{/if}
			{if $Echo.mdb2_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_24Hours} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_active_24hours}</span></li>{/if}
			{if $Echo.mdb2_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_7Days} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_active_7days}</span></li>{/if}
			{if $Echo.mdb2_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_30Days} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb2_active_30days}</span></li>{/if}
		</ul>
	</div>
	{/if}

	{if $Echo.third_database_check == '1'}
	<div class="topLoad_box">
		<ul class="list-group">
			{if $Echo.mdb3_info_1_text2 != '' && $Echo.mdb3_info_1_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb3_info_1_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_info_1_text2}</span></li>{/if}
			{if $Echo.mdb3_info_2_text2 != '' && $Echo.mdb3_info_2_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb3_info_2_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_info_2_text2}</span></li>{/if}
			{if $Echo.mdb3_info_3_text2 != '' && $Echo.mdb3_info_3_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb3_info_3_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_info_3_text2}</span></li>{/if}
			{if $Echo.mdb3_info_4_text2 != '' && $Echo.mdb3_info_4_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb3_info_4_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_info_4_text2}</span></li>{/if}
			{if $Echo.mdb3_info_5_text2 != '' && $Echo.mdb3_info_5_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb3_info_5_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_info_5_text2}</span></li>{/if}
			{if $Echo.mdb3_info_6_text2 != '' && $Echo.mdb3_info_6_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb3_info_6_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_info_6_text2}</span></li>{/if}
			{if $Echo.mdb3_info_7_text2 != '' && $Echo.mdb3_info_7_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb3_info_7_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_info_7_text2}</span></li>{/if}
			
			{if $Echo.mdb3_stat_panel_accounts == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Accounts} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_total_accounts}</span></li>{/if}
			{if $Echo.mdb3_stat_panel_chars == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Characters} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_total_characters}</span></li>{/if}
			{if $Echo.mdb3_stat_panel_guilds == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Guilds} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_total_guilds}</span></li>{/if}
			{if $Echo.mdb3_stat_panel_gms == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Game_Masters} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_game_masters}</span></li>{/if}
			{if $Echo.mdb3_hide_online == 'no'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Players_Online} <span class="badge" style="color:green;">{$Echo.mdb3_online_Count}</span></li>{/if}
			{if $Echo.mdb3_stat_panel_onlrec == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Online_Record} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_online_record}</span></li>{/if}
			{if $Echo.mdb3_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_24Hours} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_active_24hours}</span></li>{/if}
			{if $Echo.mdb3_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_7Days} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_active_7days}</span></li>{/if}
			{if $Echo.mdb3_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_30Days} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb3_active_30days}</span></li>{/if}
		</ul>
	</div>
	{/if}

	{if $Echo.forth_database_check == '1'}
	<div class="topLoad_box">
		<ul class="list-group">
			{if $Echo.mdb4_info_1_text2 != '' && $Echo.mdb4_info_1_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb4_info_1_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_info_1_text2}</span></li>{/if}
			{if $Echo.mdb4_info_2_text2 != '' && $Echo.mdb4_info_2_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb4_info_2_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_info_2_text2}</span></li>{/if}
			{if $Echo.mdb4_info_3_text2 != '' && $Echo.mdb4_info_3_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb4_info_3_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_info_3_text2}</span></li>{/if}
			{if $Echo.mdb4_info_4_text2 != '' && $Echo.mdb4_info_4_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb4_info_4_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_info_4_text2}</span></li>{/if}
			{if $Echo.mdb4_info_5_text2 != '' && $Echo.mdb4_info_5_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb4_info_5_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_info_5_text2}</span></li>{/if}
			{if $Echo.mdb4_info_6_text2 != '' && $Echo.mdb4_info_6_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb4_info_6_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_info_6_text2}</span></li>{/if}
			{if $Echo.mdb4_info_7_text2 != '' && $Echo.mdb4_info_7_text1 != ''}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{$Echo.mdb4_info_7_text1} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_info_7_text2}</span></li>{/if}
			
			{if $Echo.mdb4_stat_panel_accounts == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Accounts} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_total_accounts}</span></li>{/if}
			{if $Echo.mdb4_stat_panel_chars == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Characters} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_total_characters}</span></li>{/if}
			{if $Echo.mdb4_stat_panel_guilds == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Total_Guilds} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_total_guilds}</span></li>{/if}
			{if $Echo.mdb4_stat_panel_gms == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Game_Masters} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_game_masters}</span></li>{/if}
			{if $Echo.mdb4_hide_online == 'no'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Players_Online} <span class="badge" style="color:green;">{$Echo.mdb4_online_Count}</span></li>{/if}
			{if $Echo.mdb4_stat_panel_onlrec == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Online_Record} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_online_record}</span></li>{/if}
			{if $Echo.mdb4_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_24Hours} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_active_24hours}</span></li>{/if}
			{if $Echo.mdb4_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_7Days} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_active_7days}</span></li>{/if}
			{if $Echo.mdb4_stat_panel_actdchour == '1'}<li class="list-group-item" style="color: rgb(171, 168, 82);padding: 10px 1px 10px 20px;background: none;border: none;border-radius: 1px;border-bottom: 1px solid #332022;">{_lang_Active_In_30Days} <span class="badge" style="color:rgb(171, 168, 82);">{$Echo.mdb4_active_30days}</span></li>{/if}
		</ul>
	</div>
	{/if}
</div>

{if $Echo.MultDB_check == '1'}
<br>
<center>
	<button class="mvc-buttons-style statistics_btn mvc-buttons-style-blackRec" id="statistics_db1">{$Echo.mdb1_short_title}</button>
	{if $Echo.second_database_check == '1'}<button class="mvc-buttons-style statistics_btn mvc-buttons-style-defaultReC" id="statistics_db2">{$Echo.mdb2_short_title}</button>{/if}
	{if $Echo.third_database_check == '1'}<button class="mvc-buttons-style statistics_btn mvc-buttons-style-defaultReC" id="statistics_db3">{$Echo.mdb3_short_title}</button>{/if}
	{if $Echo.forth_database_check == '1'}<button class="mvc-buttons-style statistics_btn mvc-buttons-style-defaultReC" id="statistics_db4">{$Echo.mdb4_short_title}</button>{/if}
</center>

<script>
$(function () {
	$("#sw_statistics .topLoad_box:eq(0)").nextAll().hide();
	$('#statistics_next').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.next('.topLoad_box').index();
		if(index == -1){ index = 0; }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#statistics_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#statistics_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#statistics_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#statistics_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#statistics_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_statistics .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#statistics_prev').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.prev('.topLoad_box').index();
		if(index == -1){ index = ({$Echo.mdb_count}-1); }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#statistics_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#statistics_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#statistics_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#statistics_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#statistics_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_statistics .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#statistics_db1').click(function(){ $(".statistics_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#statistics_db1").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_statistics .topLoad_box").eq(0).show().siblings().hide(); });
	$('#statistics_db2').click(function(){ $(".statistics_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#statistics_db2").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_statistics .topLoad_box").eq(1).show().siblings().hide(); });
	$('#statistics_db3').click(function(){ $(".statistics_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#statistics_db3").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_statistics .topLoad_box").eq(2).show().siblings().hide(); });
	$('#statistics_db4').click(function(){ $(".statistics_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#statistics_db4").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_statistics .topLoad_box").eq(3).show().siblings().hide(); });
});
</script>
{/if}




Top Characters Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div id="sw_topCharacters">
	<div class="mvc-table topLoad_box showingNow">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					{if $Echo.show_ml_db1 == '1'}<th>ML</th>{/if}
					<th>{_lang_Lvl}</th>
					{if $Echo.show_rr_db1 == 'true'}<th>{_lang_RR}</th>{/if}
					{if $Echo.show_gr_db1 == 'true'}<th>{_lang_GR}</th>{/if}
				</tr>
			</thead>
			<tbody>
			{foreach $topCharacters1 as $disp}
				<tr>
					<td>{$disp.nr} {$disp.flag}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=1&mpsrv=1&viewc={$disp.urlName}" title="{_lang_View_More}">{$disp.Name}</a></td>
					{if $Echo.show_ml_db1 == '1'}<td>{$disp.mLevel}</td>{/if}
					<td>{$disp.Level}</td>
					{if $Echo.show_rr_db1 == 'true'}<td>{$disp.RR}</td>{/if}
					{if $Echo.show_gr_db1 == 'true'}<td>{$disp.GR}</td>{/if}
				</tr>
			{/foreach}
		</table>
	</div>

	{if $Echo.second_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					{if $Echo.show_ml_db2 == '1'}<th>ML</th>{/if}
					<th>{_lang_Lvl}</th>
					{if $Echo.show_rr_db2 == 'true'}<th>{_lang_RR}</th>{/if}
					{if $Echo.show_gr_db2 == 'true'}<th>{_lang_GR}</th>{/if}
				</tr>
			</thead>
			<tbody>
			{foreach $topCharacters2 as $disp}
				<tr>
					<td>{$disp.nr} {$disp.flag}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=1&mpsrv=2&viewc={$disp.urlName}" title="{_lang_View_More}">{$disp.Name}</a></td>
					{if $Echo.show_ml_db2 == '1'}<td>{$disp.mLevel}</td>{/if}
					<td>{$disp.Level}</td>
					{if $Echo.show_rr_db2 == 'true'}<td>{$disp.RR}</td>{/if}
					{if $Echo.show_gr_db2 == 'true'}<td>{$disp.GR}</td>{/if}
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.third_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					{if $Echo.show_ml_db3 == '1'}<th>ML</th>{/if}
					<th>{_lang_Lvl}</th>
					{if $Echo.show_rr_db3 == 'true'}<th>{_lang_RR}</th>{/if}
					{if $Echo.show_gr_db3 == 'true'}<th>{_lang_GR}</th>{/if}
				</tr>
			</thead>
			<tbody>
			{foreach $topCharacters3 as $disp}
				<tr>
					<td>{$disp.nr} {$disp.flag}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=1&mpsrv=3&viewc={$disp.urlName}" title="{_lang_View_More}">{$disp.Name}</a></td>
					{if $Echo.show_ml_db3 == '1'}<td>{$disp.mLevel}</td>{/if}
					<td>{$disp.Level}</td>
					{if $Echo.show_rr_db3 == 'true'}<td>{$disp.RR}</td>{/if}
					{if $Echo.show_gr_db3 == 'true'}<td>{$disp.GR}</td>{/if}
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.forth_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					{if $Echo.show_ml_db4 == '1'}<th>ML</th>{/if}
					<th>{_lang_Lvl}</th>
					{if $Echo.show_rr_db4 == 'true'}<th>{_lang_RR}</th>{/if}
					{if $Echo.show_gr_db4 == 'true'}<th>{_lang_GR}</th>{/if}
				</tr>
			</thead>
			<tbody>
			{foreach $topCharacters4 as $disp}
				<tr>
					<td>{$disp.nr} {$disp.flag}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=1&mpsrv=4&viewc={$disp.urlName}" title="{_lang_View_More}">{$disp.Name}</a></td>
					{if $Echo.show_ml_db4 == '1'}<td>{$disp.mLevel}</td>{/if}
					<td>{$disp.Level}</td>
					{if $Echo.show_rr_db4 == 'true'}<td>{$disp.RR}</td>{/if}
					{if $Echo.show_gr_db4 == 'true'}<td>{$disp.GR}</td>{/if}
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}
</div>

{if $Echo.MultDB_check == '1'}
<center>
	<button class="mvc-buttons-style topCharacters_btn mvc-buttons-style-blackRec" id="topCharacters_db1">{$Echo.mdb1_short_title}</button>
	{if $Echo.second_database_check == '1'}<button class="mvc-buttons-style topCharacters_btn mvc-buttons-style-defaultReC" id="topCharacters_db2">{$Echo.mdb2_short_title}</button>{/if}
	{if $Echo.third_database_check == '1'}<button class="mvc-buttons-style topCharacters_btn mvc-buttons-style-defaultReC" id="topCharacters_db3">{$Echo.mdb3_short_title}</button>{/if}
	{if $Echo.forth_database_check == '1'}<button class="mvc-buttons-style topCharacters_btn mvc-buttons-style-defaultReC" id="topCharacters_db4">{$Echo.mdb4_short_title}</button>{/if}
</center>

<script>
$(function () {
	$("#sw_topCharacters .topLoad_box:eq(0)").nextAll().hide();
	$('#topCharacters_next').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.next('.topLoad_box').index();
		if(index == -1){ index = 0; }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#topCharacters_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#topCharacters_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#topCharacters_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#topCharacters_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#topCharacters_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_topCharacters .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#topCharacters_prev').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.prev('.topLoad_box').index();
		if(index == -1){ index = ({$Echo.mdb_count}-1); }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#topCharacters_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#topCharacters_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#topCharacters_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#topCharacters_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#topCharacters_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_topCharacters .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#topCharacters_db1').click(function(){ $(".topCharacters_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topCharacters_db1").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topCharacters .topLoad_box").eq(0).show().siblings().hide(); });
	$('#topCharacters_db2').click(function(){ $(".topCharacters_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topCharacters_db2").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topCharacters .topLoad_box").eq(1).show().siblings().hide(); });
	$('#topCharacters_db3').click(function(){ $(".topCharacters_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topCharacters_db3").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topCharacters .topLoad_box").eq(2).show().siblings().hide(); });
	$('#topCharacters_db4').click(function(){ $(".topCharacters_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topCharacters_db4").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topCharacters .topLoad_box").eq(3).show().siblings().hide(); });
});
</script>
{/if}




Top Guilds Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div id="sw_topGuild">
	<div class="mvc-table topLoad_box showingNow">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Logo}</th>
					<th>{_lang_Score}</th>
					<th>{_lang_Master}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topGuildsList1 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td><a href="index.php?id=rankings&rank=2&mpsrv=1&viewg={$disp.Gname}" title="{_lang_View_More}">{$disp.Gname}</a></td>
					<td><img src="{$disp.Logo}" style="width:15px;height:15px;border:0;"></td>
					<td>{$disp.Score}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=2&mpsrv=1&viewc={$disp.GMaster}" title="{_lang_View_More}">{$disp.GMaster}</a></td>
				</tr>
			{/foreach}
		</table>
	</div>

	{if $Echo.second_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Logo}</th>
					<th>{_lang_Score}</th>
					<th>{_lang_Master}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topGuildsList2 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td><a href="index.php?id=rankings&rank=2&mpsrv=2&viewg={$disp.Gname}" title="{_lang_View_More}">{$disp.Gname}</a></td>
					<td><img src="{$disp.Logo}" style="width:15px;height:15px;border:0;"></td>
					<td>{$disp.Score}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=2&mpsrv=2&viewc={$disp.GMaster}" title="{_lang_View_More}">{$disp.GMaster}</a></td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.third_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Logo}</th>
					<th>{_lang_Score}</th>
					<th>{_lang_Master}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topGuildsList3 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td><a href="index.php?id=rankings&rank=2&mpsrv=3&viewg={$disp.Gname}" title="{_lang_View_More}">{$disp.Gname}</a></td>
					<td><img src="{$disp.Logo}" style="width:15px;height:15px;border:0;"></td>
					<td>{$disp.Score}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=2&mpsrv=3&viewc={$disp.GMaster}" title="{_lang_View_More}">{$disp.GMaster}</a></td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.forth_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Logo}</th>
					<th>{_lang_Score}</th>
					<th>{_lang_Master}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topGuildsList4 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td><a href="index.php?id=rankings&rank=2&mpsrv=4&viewg={$disp.Gname}" title="{_lang_View_More}">{$disp.Gname}</a></td>
					<td><img src="{$disp.Logo}" style="width:15px;height:15px;border:0;"></td>
					<td>{$disp.Score}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=2&mpsrv=4&viewc={$disp.GMaster}" title="{_lang_View_More}">{$disp.GMaster}</a></td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}
</div>

{if $Echo.MultDB_check == '1'}
<center>
	<button class="mvc-buttons-style topGuild_btn mvc-buttons-style-blackRec" id="topGuild_db1">{$Echo.mdb1_short_title}</button>
	{if $Echo.second_database_check == '1'}<button class="mvc-buttons-style topGuild_btn mvc-buttons-style-defaultReC" id="topGuild_db2">{$Echo.mdb2_short_title}</button>{/if}
	{if $Echo.third_database_check == '1'}<button class="mvc-buttons-style topGuild_btn mvc-buttons-style-defaultReC" id="topGuild_db3">{$Echo.mdb3_short_title}</button>{/if}
	{if $Echo.forth_database_check == '1'}<button class="mvc-buttons-style topGuild_btn mvc-buttons-style-defaultReC" id="topGuild_db4">{$Echo.mdb4_short_title}</button>{/if}
</center>

<script>
$(function () {
	$("#sw_topGuild .topLoad_box:eq(0)").nextAll().hide();
	$('#topGuild_next').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.next('.topLoad_box').index();
		if(index == -1){ index = 0; }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#topGuild_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#topGuild_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#topGuild_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#topGuild_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#topGuild_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_topGuild .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#topGuild_prev').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.prev('.topLoad_box').index();
		if(index == -1){ index = ({$Echo.mdb_count}-1); }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#topGuild_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#topGuild_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#topGuild_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#topGuild_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#topGuild_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_topGuild .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#topGuild_db1').click(function(){ $(".topGuild_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topGuild_db1").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topGuild .topLoad_box").eq(0).show().siblings().hide(); });
	$('#topGuild_db2').click(function(){ $(".topGuild_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topGuild_db2").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topGuild .topLoad_box").eq(1).show().siblings().hide(); });
	$('#topGuild_db3').click(function(){ $(".topGuild_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topGuild_db3").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topGuild .topLoad_box").eq(2).show().siblings().hide(); });
	$('#topGuild_db4').click(function(){ $(".topGuild_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topGuild_db4").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topGuild .topLoad_box").eq(3).show().siblings().hide(); });
});
</script>
{/if}




Top Online Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div id="sw_topOnline">
	<div class="mvc-table topLoad_box showingNow">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Online_Time}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topOnlineList1 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=3&mpsrv=1&viewc={$disp.CharName}" title="{_lang_View_More}">{$disp.CharName}</a></td>
					<td><small>{$disp.OnlineTime}</small></td>
				</tr>
			{/foreach}
		</table>
	</div>

	{if $Echo.second_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Online_Time}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topOnlineList2 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=3&mpsrv=2&viewc={$disp.CharName}" title="{_lang_View_More}">{$disp.CharName}</a></td>
					<td><small>{$disp.OnlineTime}</small></td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.third_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Online_Time}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topOnlineList3 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=3&mpsrv=3&viewc={$disp.CharName}" title="{_lang_View_More}">{$disp.CharName}</a></td>
					<td><small>{$disp.OnlineTime}</small></td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.forth_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Online_Time}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topOnlineList4 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=3&mpsrv=4&viewc={$disp.CharName}" title="{_lang_View_More}">{$disp.CharName}</a></td>
					<td><small>{$disp.OnlineTime}</small></td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}
</div>

{if $Echo.MultDB_check == '1'}
<center>
	<button class="mvc-buttons-style topOnline_btn mvc-buttons-style-blackRec" id="topOnline_db1">{$Echo.mdb1_short_title}</button>
	{if $Echo.second_database_check == '1'}<button class="mvc-buttons-style topOnline_btn mvc-buttons-style-defaultReC" id="topOnline_db2">{$Echo.mdb2_short_title}</button>{/if}
	{if $Echo.third_database_check == '1'}<button class="mvc-buttons-style topOnline_btn mvc-buttons-style-defaultReC" id="topOnline_db3">{$Echo.mdb3_short_title}</button>{/if}
	{if $Echo.forth_database_check == '1'}<button class="mvc-buttons-style topOnline_btn mvc-buttons-style-defaultReC" id="topOnline_db4">{$Echo.mdb4_short_title}</button>{/if}
</center>

<script>
$(function () {
	$("#sw_topOnline .topLoad_box:eq(0)").nextAll().hide();
	$('#topOnline_next').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.next('.topLoad_box').index();
		if(index == -1){ index = 0; }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#topOnline_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#topOnline_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#topOnline_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#topOnline_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#topOnline_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_topOnline .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#topOnline_prev').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.prev('.topLoad_box').index();
		if(index == -1){ index = ({$Echo.mdb_count}-1); }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#topOnline_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#topOnline_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#topOnline_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#topOnline_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#topOnline_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_topOnline .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#topOnline_db1').click(function(){ $(".topOnline_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topOnline_db1").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topOnline .topLoad_box").eq(0).show().siblings().hide(); });
	$('#topOnline_db2').click(function(){ $(".topOnline_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topOnline_db2").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topOnline .topLoad_box").eq(1).show().siblings().hide(); });
	$('#topOnline_db3').click(function(){ $(".topOnline_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topOnline_db3").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topOnline .topLoad_box").eq(2).show().siblings().hide(); });
	$('#topOnline_db4').click(function(){ $(".topOnline_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topOnline_db4").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topOnline .topLoad_box").eq(3).show().siblings().hide(); });
});
</script>
{/if}




Top PK Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div id="sw_topPK">
	<div class="mvc-table topLoad_box showingNow">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_PK_Count}</th>
					<th>{_lang_PK_Level}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topPKList1 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=4&mpsrv=1&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.PkCount}</td>
					<td>{$disp.PkLevel}</td>
				</tr>
			{/foreach}
		</table>
	</div>

	{if $Echo.second_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_PK_Count}</th>
					<th>{_lang_PK_Level}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topPKList2 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=4&mpsrv=2&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.PkCount}</td>
					<td>{$disp.PkLevel}</td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.third_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_PK_Count}</th>
					<th>{_lang_PK_Level}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topPKList3 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=4&mpsrv=3&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.PkCount}</td>
					<td>{$disp.PkLevel}</td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.forth_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_PK_Count}</th>
					<th>{_lang_PK_Level}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topPKList4 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=4&mpsrv=4&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.PkCount}</td>
					<td>{$disp.PkLevel}</td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}
</div>

{if $Echo.MultDB_check == '1'}
<center>
	<button class="mvc-buttons-style topPK_btn mvc-buttons-style-blackRec" id="topPK_db1">{$Echo.mdb1_short_title}</button>
	{if $Echo.second_database_check == '1'}<button class="mvc-buttons-style topPK_btn mvc-buttons-style-defaultReC" id="topPK_db2">{$Echo.mdb2_short_title}</button>{/if}
	{if $Echo.third_database_check == '1'}<button class="mvc-buttons-style topPK_btn mvc-buttons-style-defaultReC" id="topPK_db3">{$Echo.mdb3_short_title}</button>{/if}
	{if $Echo.forth_database_check == '1'}<button class="mvc-buttons-style topPK_btn mvc-buttons-style-defaultReC" id="topPK_db4">{$Echo.mdb4_short_title}</button>{/if}
</center>

<script>
$(function () {
	$("#sw_topPK .topLoad_box:eq(0)").nextAll().hide();
	$('#topPK_next').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.next('.topLoad_box').index();
		if(index == -1){ index = 0; }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#topPK_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#topPK_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#topPK_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#topPK_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#topPK_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_topPK .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#topPK_prev').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.prev('.topLoad_box').index();
		if(index == -1){ index = ({$Echo.mdb_count}-1); }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#topPK_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#topPK_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#topPK_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#topPK_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#topPK_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_topPK .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#topPK_db1').click(function(){ $(".topPK_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topPK_db1").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topPK .topLoad_box").eq(0).show().siblings().hide(); });
	$('#topPK_db2').click(function(){ $(".topPK_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topPK_db2").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topPK .topLoad_box").eq(1).show().siblings().hide(); });
	$('#topPK_db3').click(function(){ $(".topPK_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topPK_db3").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topPK .topLoad_box").eq(2).show().siblings().hide(); });
	$('#topPK_db4').click(function(){ $(".topPK_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topPK_db4").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topPK .topLoad_box").eq(3).show().siblings().hide(); });
});
</script>
{/if}




Top Gens Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div id="sw_topGens">
	<div class="mvc-table topLoad_box showingNow">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Points}</th>
					<th>{_lang_Family}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topGensList1 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=5&mpsrv=1&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.Points}</td>
					<td>{$disp.Family}</td>
				</tr>
			{/foreach}
		</table>
	</div>

	{if $Echo.second_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Points}</th>
					<th>{_lang_Family}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topGensList2 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=5&mpsrv=2&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.Points}</td>
					<td>{$disp.Family}</td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.third_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Points}</th>
					<th>{_lang_Family}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topGensList3 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=5&mpsrv=3&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.Points}</td>
					<td>{$disp.Family}</td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.forth_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Points}</th>
					<th>{_lang_Family}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $topGensList4 as $disp}
				<tr>
					<td>{$disp.nr}</td>
					<td>{$disp.HOFimg} <a href="index.php?id=rankings&rank=5&mpsrv=4&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.Points}</td>
					<td>{$disp.Family}</td>
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}
</div>

{if $Echo.MultDB_check == '1'}
<center>
	<button class="mvc-buttons-style topGens_btn mvc-buttons-style-blackRec" id="topGens_db1">{$Echo.mdb1_short_title}</button>
	{if $Echo.second_database_check == '1'}<button class="mvc-buttons-style topGens_btn mvc-buttons-style-defaultReC" id="topGens_db2">{$Echo.mdb2_short_title}</button>{/if}
	{if $Echo.third_database_check == '1'}<button class="mvc-buttons-style topGens_btn mvc-buttons-style-defaultReC" id="topGens_db3">{$Echo.mdb3_short_title}</button>{/if}
	{if $Echo.forth_database_check == '1'}<button class="mvc-buttons-style topGens_btn mvc-buttons-style-defaultReC" id="topGens_db4">{$Echo.mdb4_short_title}</button>{/if}
</center>

<script>
$(function () {
	$("#sw_topGens .topLoad_box:eq(0)").nextAll().hide();
	$('#topGens_next').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.next('.topLoad_box').index();
		if(index == -1){ index = 0; }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#topGens_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#topGens_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#topGens_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#topGens_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#topGens_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_topGens .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#topGens_prev').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.prev('.topLoad_box').index();
		if(index == -1){ index = ({$Echo.mdb_count}-1); }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#topGens_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#topGens_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#topGens_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#topGens_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#topGens_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_topGens .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#topGens_db1').click(function(){ $(".topGens_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topGens_db1").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topGens .topLoad_box").eq(0).show().siblings().hide(); });
	$('#topGens_db2').click(function(){ $(".topGens_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topGens_db2").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topGens .topLoad_box").eq(1).show().siblings().hide(); });
	$('#topGens_db3').click(function(){ $(".topGens_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topGens_db3").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topGens .topLoad_box").eq(2).show().siblings().hide(); });
	$('#topGens_db4').click(function(){ $(".topGens_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#topGens_db4").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_topGens .topLoad_box").eq(3).show().siblings().hide(); });
});
</script>
{/if}




Market Latest Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div id="sw_iMarketItems">
	<div class="mvc-table topLoad_box showingNow">
		{foreach $topMarketList1 as $disp}
			<span style="cursor:pointer;" title='{$disp.item_info_hover}<br>
			{if $disp.market_multi_price == "yes" && $disp.sell_cost == "0"}
				{if $disp.slot1 != "0"}<small><b>{$disp.slot1}</b> {$disp.thisPrice1}</small>/{/if}
				{if $disp.slot2 != "0"}<small><b>{$disp.slot2}</b> {$disp.thisPrice2}</small>/{/if}
				{if $disp.slot3 != "0"}<small><b>{$disp.slot3}</b> {$disp.thisPrice3}</small>/{/if}
				{if $disp.slot4 != "0"}<small><b>{$disp.slot4}</b> {$disp.thisPrice4}</small>/{/if}
				{if $disp.slot5 != "0"}<small><b>{$disp.slot5}</b> {$disp.thisPrice5}</small>/{/if}
				{if $disp.slot6 != "0"}<small><b>{$disp.slot6}</b> {$disp.thisPrice6}</small>/{/if}
				{if $disp.slot7 != "0"}<small><b>{$disp.slot7}</b> {$disp.thisPrice7}</small>/{/if}
				{if $disp.slot8 != "0"}<small><b>{$disp.slot8}</b> {$disp.thisPrice8}</small>/{/if}
			{/if}
			{if $disp.sell_cost != "0"}
				<small><i><b>{_lang_Cost}:</b> {$disp.sell_cost} {$disp.market_cur_name}</i></small>
			{/if}
			<br><small><i><b>{_lang_Seller_Note}:</b> {$disp.item_note}</i></small>'>
			
				<div onclick="window.location.href = 'index.php?id=market';" class="list-group-item-includ nmw-include-styling" style="padding:15px;">
					<table style="width:100%">
						<tr style="width:100%">
							<td style="width:80%;color:#999;"> {$disp.titlefull} {if $disp.sell_cost != "0"}<br> <i style="color:#aba852;"><b>{_lang_Cost}:</b> {$disp.sell_cost} {$disp.market_cur_name}</i>{/if} <br><small style="color:#8c8c8c;">{$disp.seller_displ_name}</small></td>
							<td style="width:40px">
								<div style="position:absolute;background:url(system/images/items/mmib.jpg) center top no-repeat;margin-top:-20px;width:40px;height:40px;">
									<center><img src="system/images/items/{$disp.item_image}" style="max-width:40px;max-height:40px;"></center>
								</div>
							</td>
						</tr>
					</table>

				</div>
			</span>
		{/foreach}
	</div>

	{if $Echo.second_database_check == '1'}
	<div class="mvc-table topLoad_box">
		{foreach $topMarketList2 as $disp}
			<span style="cursor:pointer;" title='{$disp.item_info_hover}<br>
			{if $disp.market_multi_price == "yes" && $disp.sell_cost == "0"}
				{if $disp.slot1 != "0"}<small><b>{$disp.slot1}</b> {$disp.thisPrice1}</small>/{/if}
				{if $disp.slot2 != "0"}<small><b>{$disp.slot2}</b> {$disp.thisPrice2}</small>/{/if}
				{if $disp.slot3 != "0"}<small><b>{$disp.slot3}</b> {$disp.thisPrice3}</small>/{/if}
				{if $disp.slot4 != "0"}<small><b>{$disp.slot4}</b> {$disp.thisPrice4}</small>/{/if}
				{if $disp.slot5 != "0"}<small><b>{$disp.slot5}</b> {$disp.thisPrice5}</small>/{/if}
				{if $disp.slot6 != "0"}<small><b>{$disp.slot6}</b> {$disp.thisPrice6}</small>/{/if}
				{if $disp.slot7 != "0"}<small><b>{$disp.slot7}</b> {$disp.thisPrice7}</small>/{/if}
				{if $disp.slot8 != "0"}<small><b>{$disp.slot8}</b> {$disp.thisPrice8}</small>/{/if}
			{/if}
			{if $disp.sell_cost != "0"}
				<small><i><b>{_lang_Cost}:</b> {$disp.sell_cost} {$disp.market_cur_name}</i></small>
			{/if}
			<br><small><i><b>{_lang_Seller_Note}:</b> {$disp.item_note}</i></small>'>
			
				<div onclick="window.location.href = 'index.php?id=market';" class="list-group-item-includ nmw-include-styling" style="padding:15px;">
					<table style="width:100%">
						<tr style="width:100%">
							<td style="width:80%;color:#999;"> {$disp.titlefull} {if $disp.sell_cost != "0"}<br> <i style="color:#aba852;"><b>{_lang_Cost}:</b> {$disp.sell_cost} {$disp.market_cur_name}</i>{/if} <br><small style="color:#8c8c8c;">{$disp.seller_displ_name}</small></td>
							<td style="width:40px">
								<div style="position:absolute;background:url(system/images/items/mmib.jpg) center top no-repeat;margin-top:-20px;width:40px;height:40px;">
									<center><img src="system/images/items/{$disp.item_image}" style="max-width:40px;max-height:40px;"></center>
								</div>
							</td>
						</tr>
					</table>

				</div>
			</span>
		{/foreach}
	</div>
	{/if}

	{if $Echo.third_database_check == '1'}
	<div class="mvc-table topLoad_box">
		{foreach $topMarketList3 as $disp}
			<span style="cursor:pointer;" title='{$disp.item_info_hover}<br>
			{if $disp.market_multi_price == "yes" && $disp.sell_cost == "0"}
				{if $disp.slot1 != "0"}<small><b>{$disp.slot1}</b> {$disp.thisPrice1}</small>/{/if}
				{if $disp.slot2 != "0"}<small><b>{$disp.slot2}</b> {$disp.thisPrice2}</small>/{/if}
				{if $disp.slot3 != "0"}<small><b>{$disp.slot3}</b> {$disp.thisPrice3}</small>/{/if}
				{if $disp.slot4 != "0"}<small><b>{$disp.slot4}</b> {$disp.thisPrice4}</small>/{/if}
				{if $disp.slot5 != "0"}<small><b>{$disp.slot5}</b> {$disp.thisPrice5}</small>/{/if}
				{if $disp.slot6 != "0"}<small><b>{$disp.slot6}</b> {$disp.thisPrice6}</small>/{/if}
				{if $disp.slot7 != "0"}<small><b>{$disp.slot7}</b> {$disp.thisPrice7}</small>/{/if}
				{if $disp.slot8 != "0"}<small><b>{$disp.slot8}</b> {$disp.thisPrice8}</small>/{/if}
			{/if}
			{if $disp.sell_cost != "0"}
				<small><i><b>{_lang_Cost}:</b> {$disp.sell_cost} {$disp.market_cur_name}</i></small>
			{/if}
			<br><small><i><b>{_lang_Seller_Note}:</b> {$disp.item_note}</i></small>'>
			
				<div onclick="window.location.href = 'index.php?id=market';" class="list-group-item-includ nmw-include-styling" style="padding:15px;">
					<table style="width:100%">
						<tr style="width:100%">
							<td style="width:80%;color:#999;"> {$disp.titlefull} {if $disp.sell_cost != "0"}<br> <i style="color:#aba852;"><b>{_lang_Cost}:</b> {$disp.sell_cost} {$disp.market_cur_name}</i>{/if} <br><small style="color:#8c8c8c;">{$disp.seller_displ_name}</small></td>
							<td style="width:40px">
								<div style="position:absolute;background:url(system/images/items/mmib.jpg) center top no-repeat;margin-top:-20px;width:40px;height:40px;">
									<center><img src="system/images/items/{$disp.item_image}" style="max-width:40px;max-height:40px;"></center>
								</div>
							</td>
						</tr>
					</table>

				</div>
			</span>
		{/foreach}
	</div>
	{/if}

	{if $Echo.forth_database_check == '1'}
	<div class="mvc-table topLoad_box">
		{foreach $topMarketList4 as $disp}
			<span style="cursor:pointer;" title='{$disp.item_info_hover}<br>
			{if $disp.market_multi_price == "yes" && $disp.sell_cost == "0"}
				{if $disp.slot1 != "0"}<small><b>{$disp.slot1}</b> {$disp.thisPrice1}</small>/{/if}
				{if $disp.slot2 != "0"}<small><b>{$disp.slot2}</b> {$disp.thisPrice2}</small>/{/if}
				{if $disp.slot3 != "0"}<small><b>{$disp.slot3}</b> {$disp.thisPrice3}</small>/{/if}
				{if $disp.slot4 != "0"}<small><b>{$disp.slot4}</b> {$disp.thisPrice4}</small>/{/if}
				{if $disp.slot5 != "0"}<small><b>{$disp.slot5}</b> {$disp.thisPrice5}</small>/{/if}
				{if $disp.slot6 != "0"}<small><b>{$disp.slot6}</b> {$disp.thisPrice6}</small>/{/if}
				{if $disp.slot7 != "0"}<small><b>{$disp.slot7}</b> {$disp.thisPrice7}</small>/{/if}
				{if $disp.slot8 != "0"}<small><b>{$disp.slot8}</b> {$disp.thisPrice8}</small>/{/if}
			{/if}
			{if $disp.sell_cost != "0"}
				<small><i><b>{_lang_Cost}:</b> {$disp.sell_cost} {$disp.market_cur_name}</i></small>
			{/if}
			<br><small><i><b>{_lang_Seller_Note}:</b> {$disp.item_note}</i></small>'>
			
				<div onclick="window.location.href = 'index.php?id=market';" class="list-group-item-includ nmw-include-styling" style="padding:15px;">
					<table style="width:100%">
						<tr style="width:100%">
							<td style="width:80%;color:#999;"> {$disp.titlefull} {if $disp.sell_cost != "0"}<br> <i style="color:#aba852;"><b>{_lang_Cost}:</b> {$disp.sell_cost} {$disp.market_cur_name}</i>{/if} <br><small style="color:#8c8c8c;">{$disp.seller_displ_name}</small></td>
							<td style="width:40px">
								<div style="position:absolute;background:url(system/images/items/mmib.jpg) center top no-repeat;margin-top:-20px;width:40px;height:40px;">
									<center><img src="system/images/items/{$disp.item_image}" style="max-width:40px;max-height:40px;"></center>
								</div>
							</td>
						</tr>
					</table>

				</div>
			</span>
		{/foreach}
	</div>
	{/if}
</div>

{if $Echo.MultDB_check == '1'}
<center>
	<button class="mvc-buttons-style iMarketItems_btn mvc-buttons-style-blackRec" id="iMarketItems_db1">{$Echo.mdb1_short_title}</button>
	{if $Echo.second_database_check == '1'}<button class="mvc-buttons-style iMarketItems_btn mvc-buttons-style-defaultReC" id="iMarketItems_db2">{$Echo.mdb2_short_title}</button>{/if}
	{if $Echo.third_database_check == '1'}<button class="mvc-buttons-style iMarketItems_btn mvc-buttons-style-defaultReC" id="iMarketItems_db3">{$Echo.mdb3_short_title}</button>{/if}
	{if $Echo.forth_database_check == '1'}<button class="mvc-buttons-style iMarketItems_btn mvc-buttons-style-defaultReC" id="iMarketItems_db4">{$Echo.mdb4_short_title}</button>{/if}
	<div style="height:15px;"></div>
</center>

<script>
$(function () {
	$("#sw_iMarketItems .topLoad_box:eq(0)").nextAll().hide();
	$('#iMarketItems_next').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.next('.topLoad_box').index();
		if(index == -1){ index = 0; }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#iMarketItems_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#iMarketItems_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#iMarketItems_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#iMarketItems_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#iMarketItems_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_iMarketItems .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#iMarketItems_prev').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.prev('.topLoad_box').index();
		if(index == -1){ index = ({$Echo.mdb_count}-1); }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#iMarketItems_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#iMarketItems_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#iMarketItems_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#iMarketItems_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#iMarketItems_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_iMarketItems .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#iMarketItems_db1').click(function(){ $(".iMarketItems_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#iMarketItems_db1").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_iMarketItems .topLoad_box").eq(0).show().siblings().hide(); });
	$('#iMarketItems_db2').click(function(){ $(".iMarketItems_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#iMarketItems_db2").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_iMarketItems .topLoad_box").eq(1).show().siblings().hide(); });
	$('#iMarketItems_db3').click(function(){ $(".iMarketItems_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#iMarketItems_db3").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_iMarketItems .topLoad_box").eq(2).show().siblings().hide(); });
	$('#iMarketItems_db4').click(function(){ $(".iMarketItems_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#iMarketItems_db4").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_iMarketItems .topLoad_box").eq(3).show().siblings().hide(); });
});
</script>
{/if}




Character Market Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div id="sw_CharMarket">
	<div class="mvc-table topLoad_box showingNow">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Cost}</th>
					<th>{_lang_Class}</th>
					<th>{_lang_Resets}</th>
					<th>{_lang_Grand_Resets}</th>
					<th>{_lang_Strenght}</th>
					<th>{_lang_Agility}</th>
					<th>{_lang_Vitality}</th>
					<th>{_lang_Energy}</th>
					<th>{_lang_Command}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $charMarkList1 as $disp}
				<tr onclick="window.location.href = 'index.php?id=character_market';">
					<td><img src="system/images/classes/{$disp.Class_img}.png" style="width:25px;height:35px;border:0;"></td>
					<td><a href="index.php?id=rankings&rank=1&mpsrv=1&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.Cost} {$disp.char_market_cur_name}</td>
					<td>{$disp.Class_name}</td>
					<td>{$disp.Resets}</td>
					<td>{$disp.Grand_resets}</td>
					<td>{$disp.Strength}</td>
					<td>{$disp.Dexterity}</td>
					<td>{$disp.Vitality}</td>
					<td>{$disp.Energy}</td>
					{if $disp.Leadership >= '1'}<td>{$disp.Leadership}</td>{/if}
				</tr>
			{/foreach}
		</table>
	</div>

	{if $Echo.second_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Cost}</th>
					<th>{_lang_Class}</th>
					<th>{_lang_Resets}</th>
					<th>{_lang_Grand_Resets}</th>
					<th>{_lang_Strenght}</th>
					<th>{_lang_Agility}</th>
					<th>{_lang_Vitality}</th>
					<th>{_lang_Energy}</th>
					<th>{_lang_Command}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $charMarkList2 as $disp}
				<tr onclick="window.location.href = 'index.php?id=character_market';">
					<td><img src="system/images/classes/{$disp.Class_img}.png" style="width:25px;height:35px;border:0;"></td>
					<td><a href="index.php?id=rankings&rank=1&mpsrv=1&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.Cost} {$disp.char_market_cur_name}</td>
					<td>{$disp.Class_name}</td>
					<td>{$disp.Resets}</td>
					<td>{$disp.Grand_resets}</td>
					<td>{$disp.Strength}</td>
					<td>{$disp.Dexterity}</td>
					<td>{$disp.Vitality}</td>
					<td>{$disp.Energy}</td>
					{if $disp.Leadership >= '1'}<td>{$disp.Leadership}</td>{/if}
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.third_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Cost}</th>
					<th>{_lang_Class}</th>
					<th>{_lang_Resets}</th>
					<th>{_lang_Grand_Resets}</th>
					<th>{_lang_Strenght}</th>
					<th>{_lang_Agility}</th>
					<th>{_lang_Vitality}</th>
					<th>{_lang_Energy}</th>
					<th>{_lang_Command}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $charMarkList3 as $disp}
				<tr onclick="window.location.href = 'index.php?id=character_market';">
					<td><img src="system/images/classes/{$disp.Class_img}.png" style="width:25px;height:35px;border:0;"></td>
					<td><a href="index.php?id=rankings&rank=1&mpsrv=1&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.Cost} {$disp.char_market_cur_name}</td>
					<td>{$disp.Class_name}</td>
					<td>{$disp.Resets}</td>
					<td>{$disp.Grand_resets}</td>
					<td>{$disp.Strength}</td>
					<td>{$disp.Dexterity}</td>
					<td>{$disp.Vitality}</td>
					<td>{$disp.Energy}</td>
					{if $disp.Leadership >= '1'}<td>{$disp.Leadership}</td>{/if}
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}

	{if $Echo.forth_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th></th>
					<th>{_lang_Name}</th>
					<th>{_lang_Cost}</th>
					<th>{_lang_Class}</th>
					<th>{_lang_Resets}</th>
					<th>{_lang_Grand_Resets}</th>
					<th>{_lang_Strenght}</th>
					<th>{_lang_Agility}</th>
					<th>{_lang_Vitality}</th>
					<th>{_lang_Energy}</th>
					<th>{_lang_Command}</th>
				</tr>
			</thead>
			<tbody>
			{foreach $charMarkList4 as $disp}
				<tr onclick="window.location.href = 'index.php?id=character_market';">
					<td><img src="system/images/classes/{$disp.Class_img}.png" style="width:25px;height:35px;border:0;"></td>
					<td><a href="index.php?id=rankings&rank=1&mpsrv=1&viewc={$disp.Name}" title="{_lang_View_More}">{$disp.Name}</a></td>
					<td>{$disp.Cost} {$disp.char_market_cur_name}</td>
					<td>{$disp.Class_name}</td>
					<td>{$disp.Resets}</td>
					<td>{$disp.Grand_resets}</td>
					<td>{$disp.Strength}</td>
					<td>{$disp.Dexterity}</td>
					<td>{$disp.Vitality}</td>
					<td>{$disp.Energy}</td>
					{if $disp.Leadership >= '1'}<td>{$disp.Leadership}</td>{/if}
				</tr>
			{/foreach}
		</table>
	</div>
	{/if}
</div>

{if $Echo.MultDB_check == '1'}
<center>
	<button class="mvc-buttons-style CharMarket_btn mvc-buttons-style-blackRec" id="CharMarket_db1">{$Echo.mdb1_short_title}</button>
	{if $Echo.second_database_check == '1'}<button class="mvc-buttons-style CharMarket_btn mvc-buttons-style-defaultReC" id="CharMarket_db2">{$Echo.mdb2_short_title}</button>{/if}
	{if $Echo.third_database_check == '1'}<button class="mvc-buttons-style CharMarket_btn mvc-buttons-style-defaultReC" id="CharMarket_db3">{$Echo.mdb3_short_title}</button>{/if}
	{if $Echo.forth_database_check == '1'}<button class="mvc-buttons-style CharMarket_btn mvc-buttons-style-defaultReC" id="CharMarket_db4">{$Echo.mdb4_short_title}</button>{/if}
</center>

<script>
$(function () {
	$("#sw_CharMarket .topLoad_box:eq(0)").nextAll().hide();
	$('#CharMarket_next').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.next('.topLoad_box').index();
		if(index == -1){ index = 0; }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#CharMarket_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#CharMarket_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#CharMarket_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#CharMarket_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#CharMarket_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_CharMarket .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#CharMarket_prev').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.prev('.topLoad_box').index();
		if(index == -1){ index = ({$Echo.mdb_count}-1); }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#CharMarket_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#CharMarket_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#CharMarket_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#CharMarket_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#CharMarket_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_CharMarket .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#CharMarket_db1').click(function(){ $(".CharMarket_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#CharMarket_db1").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_CharMarket .topLoad_box").eq(0).show().siblings().hide(); });
	$('#CharMarket_db2').click(function(){ $(".CharMarket_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#CharMarket_db2").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_CharMarket .topLoad_box").eq(1).show().siblings().hide(); });
	$('#CharMarket_db3').click(function(){ $(".CharMarket_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#CharMarket_db3").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_CharMarket .topLoad_box").eq(2).show().siblings().hide(); });
	$('#CharMarket_db4').click(function(){ $(".CharMarket_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#CharMarket_db4").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_CharMarket .topLoad_box").eq(3).show().siblings().hide(); });
});
</script>
{/if}




Event Timer Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div class="event_scrollbar" style="scrollbar-color:#3c2b23 #352226;">
	<div id="sw_eventList">
		<div class="mvc-table topLoad_box showingNow">
			{foreach $eventList1 as $disp}
				<span style="cursor:pointer;" title='{foreach $disp.all_event_dates as $displD} {if $displD.date == $displD.activeDate} <span style="color:green;padding-left:5px;">{$displD.activeDate}</span><br> {else} {$displD.date}<br> {/if} {/foreach}'>
					<div class="list-group-item-includ nmw-include-styling" style="padding:15px;">
						<table style="width:100%">
							<tr style="width:100%"><td style="text-align:center;color:#fff;"> {$disp.event_name} </td></tr>
							<tr style="width:100%"><td style="text-align:center;color:#aba852;padding:4px;"> {$disp.current_event_time} </td></tr>
						</table>
					</div>
				</span>
			{/foreach}
		</div>

		{if $Echo.second_database_check == '1'}
		<div class="mvc-table topLoad_box">
			{foreach $eventList2 as $disp}
				<span style="cursor:pointer;" title='{foreach $disp.all_event_dates as $displD} {if $displD.date == $displD.activeDate} <span style="color:green;padding-left:5px;">{$displD.activeDate}</span><br> {else} {$displD.date}<br> {/if} {/foreach}'>
					<div class="list-group-item-includ nmw-include-styling" style="padding:15px;">
						<table style="width:100%">
							<tr style="width:100%"><td style="text-align:center;color:#fff;"> {$disp.event_name} </td></tr>
							<tr style="width:100%"><td style="text-align:center;color:#aba852;padding:4px;"> {$disp.current_event_time} </td></tr>
						</table>
					</div>
				</span>
			{/foreach}
		</div>
		{/if}

		{if $Echo.third_database_check == '1'}
		<div class="mvc-table topLoad_box">
			{foreach $eventList3 as $disp}
				<span style="cursor:pointer;" title='{foreach $disp.all_event_dates as $displD} {if $displD.date == $displD.activeDate} <span style="color:green;padding-left:5px;">{$displD.activeDate}</span><br> {else} {$displD.date}<br> {/if} {/foreach}'>
					<div class="list-group-item-includ nmw-include-styling" style="padding:15px;">
						<table style="width:100%">
							<tr style="width:100%"><td style="text-align:center;color:#fff;"> {$disp.event_name} </td></tr>
							<tr style="width:100%"><td style="text-align:center;color:#aba852;padding:4px;"> {$disp.current_event_time} </td></tr>
						</table>
					</div>
				</span>
			{/foreach}
		</div>
		{/if}

		{if $Echo.forth_database_check == '1'}
		<div class="mvc-table topLoad_box">
			{foreach $eventList4 as $disp}
				<span style="cursor:pointer;" title='{foreach $disp.all_event_dates as $displD} {if $displD.date == $displD.activeDate} <span style="color:green;padding-left:5px;">{$displD.activeDate}</span><br> {else} {$displD.date}<br> {/if} {/foreach}'>
					<div class="list-group-item-includ nmw-include-styling" style="padding:15px;">
						<table style="width:100%">
							<tr style="width:100%"><td style="text-align:center;color:#fff;"> {$disp.event_name} </td></tr>
							<tr style="width:100%"><td style="text-align:center;color:#aba852;padding:4px;"> {$disp.current_event_time} </td></tr>
						</table>
					</div>
				</span>
			{/foreach}
		</div>
		{/if}
	</div>
</div>

{if $Echo.MultDB_check == '1'}
<br>
<center>
	<button class="mvc-buttons-style eventList_btn mvc-buttons-style-blackRec" id="eventList_db1">{$Echo.mdb1_short_title}</button>
	{if $Echo.second_database_check == '1'}<button class="mvc-buttons-style eventList_btn mvc-buttons-style-defaultReC" id="eventList_db2">{$Echo.mdb2_short_title}</button>{/if}
	{if $Echo.third_database_check == '1'}<button class="mvc-buttons-style eventList_btn mvc-buttons-style-defaultReC" id="eventList_db3">{$Echo.mdb3_short_title}</button>{/if}
	{if $Echo.forth_database_check == '1'}<button class="mvc-buttons-style eventList_btn mvc-buttons-style-defaultReC" id="eventList_db4">{$Echo.mdb4_short_title}</button>{/if}
</center>

<script>
$(function () {
	$("#sw_eventList .topLoad_box:eq(0)").nextAll().hide();
	$('#eventList_next').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.next('.topLoad_box').index();
		if(index == -1){ index = 0; }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#eventList_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#eventList_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#eventList_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#eventList_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#eventList_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_eventList .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#eventList_prev').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.prev('.topLoad_box').index();
		if(index == -1){ index = ({$Echo.mdb_count}-1); }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#eventList_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#eventList_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#eventList_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#eventList_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#eventList_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_eventList .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#eventList_db1').click(function(){ $(".eventList_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#eventList_db1").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_eventList .topLoad_box").eq(0).show().siblings().hide(); });
	$('#eventList_db2').click(function(){ $(".eventList_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#eventList_db2").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_eventList .topLoad_box").eq(1).show().siblings().hide(); });
	$('#eventList_db3').click(function(){ $(".eventList_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#eventList_db3").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_eventList .topLoad_box").eq(2).show().siblings().hide(); });
	$('#eventList_db4').click(function(){ $(".eventList_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#eventList_db4").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_eventList .topLoad_box").eq(3).show().siblings().hide(); });
});
</script>
{/if}




Short News Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div class="mvc-table">
	{foreach $newsList as $disp}
	<div onclick="window.location.href = '{$disp.full_url}';" class="list-group-item-includ nmw-include-styling" style="cursor:pointer;padding:15px;">
		<table style="width:100%">
			<tr style="width:100%">
				<td style="width:80%;"> {$disp.tag_NEW} {$disp.title} </td>
				<td style="width:150px">
					<u>{$disp.posted_by}</u> <small>{$disp.Date|date_format:"%B %e, %Y %H:%M:%S"}</small>
				</td>
			</tr>
		</table>
	</div>
	{/foreach}
</div>




Hall Of Fame Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme


Replace "DarkWizard" with one of other class names for other class support: DarkWizard, DarkKnight, FairyElf, MagicGladiator, DarkLord, Summoner, RageFighter, GrowLancer, RuneWizard, Slayer, GunCrusher, LightWizard, LemuriaMage, IllusionKnight

Full Example...
<div id="sw_HallOfFame">
	<div class="mvc-table topLoad_box showingNow">
		<div style="width:100%;height:120px;border-bottom: 2px solid rgba(190,190,36,0.2);">
			<center>
				<div style="width:100%;cursor:pointer;" onclick="window.location.href = 'index.php?id=Hall_Of_Fame';">
				{if $mdb1_HOF_DATA.DarkWizard == '1' && $mdb1_HOF_DATA.DarkWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.DarkWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.DarkWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.DarkWizard_Effects_css}">{$mdb1_HOF_DATA.DarkWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/0.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.DarkKnight == '1' && $mdb1_HOF_DATA.DarkKnight_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.DarkKnight_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.DarkKnight_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.DarkKnight_Effects_css}">{$mdb1_HOF_DATA.DarkKnight_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/16.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.FairyElf == '1' && $mdb1_HOF_DATA.FairyElf_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.FairyElf_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.FairyElf_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.FairyElf_Effects_css}">{$mdb1_HOF_DATA.FairyElf_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/32.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.MagicGladiator == '1' && $mdb1_HOF_DATA.MagicGladiator_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.MagicGladiator_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.MagicGladiator_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.MagicGladiator_Effects_css}">{$mdb1_HOF_DATA.MagicGladiator_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/48.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.DarkLord == '1' && $mdb1_HOF_DATA.DarkLord_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.DarkLord_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.DarkLord_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.DarkLord_Effects_css}">{$mdb1_HOF_DATA.DarkLord_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/64.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.Summoner == '1' && $mdb1_HOF_DATA.Summoner_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.Summoner_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.Summoner_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.Summoner_Effects_css}">{$mdb1_HOF_DATA.Summoner_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/80.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.RageFighter == '1' && $mdb1_HOF_DATA.RageFighter_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.RageFighter_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.RageFighter_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.RageFighter_Effects_css}">{$mdb1_HOF_DATA.RageFighter_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/96.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.GrowLancer == '1' && $mdb1_HOF_DATA.GrowLancer_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.GrowLancer_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.GrowLancer_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.GrowLancer_Effects_css}">{$mdb1_HOF_DATA.GrowLancer_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/112.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.RuneWizard == '1' && $mdb1_HOF_DATA.RuneWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.RuneWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.RuneWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.RuneWizard_Effects_css}">{$mdb1_HOF_DATA.RuneWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/128.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.Slayer == '1' && $mdb1_HOF_DATA.Slayer_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.Slayer_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.Slayer_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.Slayer_Effects_css}">{$mdb1_HOF_DATA.Slayer_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/144.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.GunCrusher == '1' && $mdb1_HOF_DATA.GunCrusher_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.GunCrusher_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.GunCrusher_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.GunCrusher_Effects_css}">{$mdb1_HOF_DATA.GunCrusher_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/160.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.LightWizard == '1' && $mdb1_HOF_DATA.LightWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.LightWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.LightWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.LightWizard_Effects_css}">{$mdb1_HOF_DATA.LightWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/176.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.LemuriaMage == '1' && $mdb1_HOF_DATA.LemuriaMage_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.LemuriaMage_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.LemuriaMage_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.LemuriaMage_Effects_css}">{$mdb1_HOF_DATA.LemuriaMage_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/192.png">
					</span>
				{/if}
				{if $mdb1_HOF_DATA.IllusionKnight == '1' && $mdb1_HOF_DATA.IllusionKnight_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb1_HOF_DATA.IllusionKnight_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb1_HOF_DATA.db_switched}&viewc={$mdb1_HOF_DATA.IllusionKnight_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb1_HOF_DATA.IllusionKnight_Effects_css}">{$mdb1_HOF_DATA.IllusionKnight_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/208.png">
					</span>
				{/if}
				</div>
			</center>
		</div>
		<br>
	</div>

	{if $Echo.second_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<div style="width:100%;height:120px;border-bottom: 2px solid rgba(190,190,36,0.2);">
			<center>
				<div style="width:100%;cursor:pointer;" onclick="window.location.href = 'index.php?id=Hall_Of_Fame';">
				{if $mdb2_HOF_DATA.DarkWizard == '1' && $mdb2_HOF_DATA.DarkWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.DarkWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.DarkWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.DarkWizard_Effects_css}">{$mdb2_HOF_DATA.DarkWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/0.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.DarkKnight == '1' && $mdb2_HOF_DATA.DarkKnight_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.DarkKnight_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.DarkKnight_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.DarkKnight_Effects_css}">{$mdb2_HOF_DATA.DarkKnight_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/16.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.FairyElf == '1' && $mdb2_HOF_DATA.FairyElf_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.FairyElf_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.FairyElf_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.FairyElf_Effects_css}">{$mdb2_HOF_DATA.FairyElf_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/32.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.MagicGladiator == '1' && $mdb2_HOF_DATA.MagicGladiator_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.MagicGladiator_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.MagicGladiator_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.MagicGladiator_Effects_css}">{$mdb2_HOF_DATA.MagicGladiator_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/48.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.DarkLord == '1' && $mdb2_HOF_DATA.DarkLord_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.DarkLord_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.DarkLord_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.DarkLord_Effects_css}">{$mdb2_HOF_DATA.DarkLord_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/64.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.Summoner == '1' && $mdb2_HOF_DATA.Summoner_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.Summoner_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.Summoner_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.Summoner_Effects_css}">{$mdb2_HOF_DATA.Summoner_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/80.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.RageFighter == '1' && $mdb2_HOF_DATA.RageFighter_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.RageFighter_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.RageFighter_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.RageFighter_Effects_css}">{$mdb2_HOF_DATA.RageFighter_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/96.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.GrowLancer == '1' && $mdb2_HOF_DATA.GrowLancer_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.GrowLancer_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.GrowLancer_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.GrowLancer_Effects_css}">{$mdb2_HOF_DATA.GrowLancer_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/112.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.RuneWizard == '1' && $mdb2_HOF_DATA.RuneWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.RuneWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.RuneWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.RuneWizard_Effects_css}">{$mdb2_HOF_DATA.RuneWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/128.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.Slayer == '1' && $mdb2_HOF_DATA.Slayer_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.Slayer_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.Slayer_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.Slayer_Effects_css}">{$mdb2_HOF_DATA.Slayer_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/144.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.GunCrusher == '1' && $mdb2_HOF_DATA.GunCrusher_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.GunCrusher_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.GunCrusher_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.GunCrusher_Effects_css}">{$mdb2_HOF_DATA.GunCrusher_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/160.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.LightWizard == '1' && $mdb2_HOF_DATA.LightWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.LightWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.LightWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.LightWizard_Effects_css}">{$mdb2_HOF_DATA.LightWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/176.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.LemuriaMage == '1' && $mdb2_HOF_DATA.LemuriaMage_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.LemuriaMage_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.LemuriaMage_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.LemuriaMage_Effects_css}">{$mdb2_HOF_DATA.LemuriaMage_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/192.png">
					</span>
				{/if}
				{if $mdb2_HOF_DATA.IllusionKnight == '1' && $mdb2_HOF_DATA.IllusionKnight_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb2_HOF_DATA.IllusionKnight_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb2_HOF_DATA.db_switched}&viewc={$mdb2_HOF_DATA.IllusionKnight_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb2_HOF_DATA.IllusionKnight_Effects_css}">{$mdb2_HOF_DATA.IllusionKnight_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/208.png">
					</span>
				{/if}
				</div>
			</center>
		</div>
		<br>
	</div>
	{/if}

	{if $Echo.third_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<div style="width:100%;height:120px;border-bottom: 2px solid rgba(190,190,36,0.2);">
			<center>
				<div style="width:100%;cursor:pointer;" onclick="window.location.href = 'index.php?id=Hall_Of_Fame';">
				{if $mdb3_HOF_DATA.DarkWizard == '1' && $mdb3_HOF_DATA.DarkWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.DarkWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.DarkWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.DarkWizard_Effects_css}">{$mdb3_HOF_DATA.DarkWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/0.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.DarkKnight == '1' && $mdb3_HOF_DATA.DarkKnight_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.DarkKnight_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.DarkKnight_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.DarkKnight_Effects_css}">{$mdb3_HOF_DATA.DarkKnight_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/16.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.FairyElf == '1' && $mdb3_HOF_DATA.FairyElf_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.FairyElf_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.FairyElf_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.FairyElf_Effects_css}">{$mdb3_HOF_DATA.FairyElf_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/32.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.MagicGladiator == '1' && $mdb3_HOF_DATA.MagicGladiator_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.MagicGladiator_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.MagicGladiator_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.MagicGladiator_Effects_css}">{$mdb3_HOF_DATA.MagicGladiator_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/48.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.DarkLord == '1' && $mdb3_HOF_DATA.DarkLord_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.DarkLord_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.DarkLord_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.DarkLord_Effects_css}">{$mdb3_HOF_DATA.DarkLord_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/64.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.Summoner == '1' && $mdb3_HOF_DATA.Summoner_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.Summoner_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.Summoner_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.Summoner_Effects_css}">{$mdb3_HOF_DATA.Summoner_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/80.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.RageFighter == '1' && $mdb3_HOF_DATA.RageFighter_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.RageFighter_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.RageFighter_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.RageFighter_Effects_css}">{$mdb3_HOF_DATA.RageFighter_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/96.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.GrowLancer == '1' && $mdb3_HOF_DATA.GrowLancer_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.GrowLancer_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.GrowLancer_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.GrowLancer_Effects_css}">{$mdb3_HOF_DATA.GrowLancer_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/112.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.RuneWizard == '1' && $mdb3_HOF_DATA.RuneWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.RuneWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.RuneWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.RuneWizard_Effects_css}">{$mdb3_HOF_DATA.RuneWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/128.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.Slayer == '1' && $mdb3_HOF_DATA.Slayer_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.Slayer_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.Slayer_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.Slayer_Effects_css}">{$mdb3_HOF_DATA.Slayer_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/144.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.GunCrusher == '1' && $mdb3_HOF_DATA.GunCrusher_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.GunCrusher_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.GunCrusher_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.GunCrusher_Effects_css}">{$mdb3_HOF_DATA.GunCrusher_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/160.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.LightWizard == '1' && $mdb3_HOF_DATA.LightWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.LightWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.LightWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.LightWizard_Effects_css}">{$mdb3_HOF_DATA.LightWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/176.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.LemuriaMage == '1' && $mdb3_HOF_DATA.LemuriaMage_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.LemuriaMage_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.LemuriaMage_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.LemuriaMage_Effects_css}">{$mdb3_HOF_DATA.LemuriaMage_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/192.png">
					</span>
				{/if}
				{if $mdb3_HOF_DATA.IllusionKnight == '1' && $mdb3_HOF_DATA.IllusionKnight_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb3_HOF_DATA.IllusionKnight_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb3_HOF_DATA.db_switched}&viewc={$mdb3_HOF_DATA.IllusionKnight_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb3_HOF_DATA.IllusionKnight_Effects_css}">{$mdb3_HOF_DATA.IllusionKnight_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/208.png">
					</span>
				{/if}
				</div>
			</center>
		</div>
		<br>
	</div>
	{/if}

	{if $Echo.forth_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<div style="width:100%;height:120px;border-bottom: 2px solid rgba(190,190,36,0.2);">
			<center>
				<div style="width:100%;cursor:pointer;" onclick="window.location.href = 'index.php?id=Hall_Of_Fame';">
				{if $mdb4_HOF_DATA.DarkWizard == '1' && $mdb4_HOF_DATA.DarkWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.DarkWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.DarkWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.DarkWizard_Effects_css}">{$mdb4_HOF_DATA.DarkWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/0.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.DarkKnight == '1' && $mdb4_HOF_DATA.DarkKnight_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.DarkKnight_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.DarkKnight_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.DarkKnight_Effects_css}">{$mdb4_HOF_DATA.DarkKnight_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/16.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.FairyElf == '1' && $mdb4_HOF_DATA.FairyElf_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.FairyElf_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.FairyElf_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.FairyElf_Effects_css}">{$mdb4_HOF_DATA.FairyElf_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/32.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.MagicGladiator == '1' && $mdb4_HOF_DATA.MagicGladiator_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.MagicGladiator_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.MagicGladiator_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.MagicGladiator_Effects_css}">{$mdb4_HOF_DATA.MagicGladiator_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/48.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.DarkLord == '1' && $mdb4_HOF_DATA.DarkLord_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.DarkLord_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.DarkLord_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.DarkLord_Effects_css}">{$mdb4_HOF_DATA.DarkLord_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/64.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.Summoner == '1' && $mdb4_HOF_DATA.Summoner_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.Summoner_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.Summoner_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.Summoner_Effects_css}">{$mdb4_HOF_DATA.Summoner_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/80.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.RageFighter == '1' && $mdb4_HOF_DATA.RageFighter_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.RageFighter_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.RageFighter_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.RageFighter_Effects_css}">{$mdb4_HOF_DATA.RageFighter_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/96.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.GrowLancer == '1' && $mdb4_HOF_DATA.GrowLancer_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.GrowLancer_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.GrowLancer_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.GrowLancer_Effects_css}">{$mdb4_HOF_DATA.GrowLancer_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/112.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.RuneWizard == '1' && $mdb4_HOF_DATA.RuneWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.RuneWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.RuneWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.RuneWizard_Effects_css}">{$mdb4_HOF_DATA.RuneWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/128.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.Slayer == '1' && $mdb4_HOF_DATA.Slayer_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.Slayer_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.Slayer_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.Slayer_Effects_css}">{$mdb4_HOF_DATA.Slayer_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/144.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.GunCrusher == '1' && $mdb4_HOF_DATA.GunCrusher_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.GunCrusher_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.GunCrusher_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.GunCrusher_Effects_css}">{$mdb4_HOF_DATA.GunCrusher_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/160.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.LightWizard == '1' && $mdb4_HOF_DATA.LightWizard_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.LightWizard_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.LightWizard_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.LightWizard_Effects_css}">{$mdb4_HOF_DATA.LightWizard_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/176.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.LemuriaMage == '1' && $mdb4_HOF_DATA.LemuriaMage_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.LemuriaMage_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.LemuriaMage_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.LemuriaMage_Effects_css}">{$mdb4_HOF_DATA.LemuriaMage_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/192.png">
					</span>
				{/if}
				{if $mdb4_HOF_DATA.IllusionKnight == '1' && $mdb4_HOF_DATA.IllusionKnight_name != ''}
					<span style="display: inline-block;width:110px;">
						<span><img style="width:20px;" src="{$mdb4_HOF_DATA.IllusionKnight_image}"></span>
						<a href="index.php?id=rankings&rank=1&mpsrv={$mdb4_HOF_DATA.db_switched}&viewc={$mdb4_HOF_DATA.IllusionKnight_name}" title="View More"><span style="padding-left:3px;font-size:12;{$mdb4_HOF_DATA.IllusionKnight_Effects_css}">{$mdb4_HOF_DATA.IllusionKnight_name}</span></a>
						<br>
						<img style="padding-top:10px;width:50px;height:50px;border-radius: 50%;" src="system/images/classes/208.png">
					</span>
				{/if}
				</div>
			</center>
		</div>
		<br>
	</div>
	{/if}
</div>

{if $Echo.MultDB_check == '1'}
<div style="margin-top:-20px">
	<button class="mvc-buttons-style HallOfFame_btn mvc-buttons-style-blackRec" id="HallOfFame_db1">{$Echo.mdb1_short_title}</button>
	{if $Echo.second_database_check == '1'}<button class="mvc-buttons-style HallOfFame_btn mvc-buttons-style-defaultReC" id="HallOfFame_db2">{$Echo.mdb2_short_title}</button>{/if}
	{if $Echo.third_database_check == '1'}<button class="mvc-buttons-style HallOfFame_btn mvc-buttons-style-defaultReC" id="HallOfFame_db3">{$Echo.mdb3_short_title}</button>{/if}
	{if $Echo.forth_database_check == '1'}<button class="mvc-buttons-style HallOfFame_btn mvc-buttons-style-defaultReC" id="HallOfFame_db4">{$Echo.mdb4_short_title}</button>{/if}
</div>
<br>

<script>
$(function () {
	$("#sw_HallOfFame .topLoad_box:eq(0)").nextAll().hide();
	$("#sw_HallOfFamePage .topLoad_boxH:eq(0)").nextAll().hide();
	
	$('#HallOfFame_db1').click(function(){ $(".HallOfFame_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#HallOfFame_db1").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_HallOfFamePage .topLoad_boxH").eq(0).show().siblings().hide(); $("#sw_HallOfFame .topLoad_box").eq(0).show().siblings().hide(); });
	$('#HallOfFame_db2').click(function(){ $(".HallOfFame_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#HallOfFame_db2").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_HallOfFamePage .topLoad_boxH").eq(1).show().siblings().hide(); $("#sw_HallOfFame .topLoad_box").eq(1).show().siblings().hide(); });
	$('#HallOfFame_db3').click(function(){ $(".HallOfFame_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#HallOfFame_db3").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_HallOfFamePage .topLoad_boxH").eq(2).show().siblings().hide(); $("#sw_HallOfFame .topLoad_box").eq(2).show().siblings().hide(); });
	$('#HallOfFame_db4').click(function(){ $(".HallOfFame_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#HallOfFame_db4").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_HallOfFamePage .topLoad_boxH").eq(3).show().siblings().hide(); $("#sw_HallOfFame .topLoad_box").eq(3).show().siblings().hide(); });
});
</script>
{/if}




Forum RSS/Built-In Latest Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div class="list-group">
{foreach $forumList as $disp}
	<table style="width:100%;border-bottom:1px solid rgba(155, 146, 137, 0.13);background:none;" >
		<tr style="width:100%;padding:5px 5px 5px 20px;display: block;">
			<td style="width:40px">
				<div style="position:absolute;margin-top:-13px;width:28px;height:28px;">
					<center>{if $disp.User_thumb_photo != ''}<img src="{$disp.User_thumb_photo}" alt="" style="width:28px;height:28px;" class=""> {else} <img src="system/images/forum_post_exts.png" alt="" style="width:28px;height:28px;" class="">{/if}</center>
				</div>
			</td>
			<td style="width:80%;" title="{$disp.Full_title}" >
				<a href="{$disp.Post_link}" style="color:#aba852;"> {$disp.Short_title} </a>
				<br> <i style="color:#b7ac98;">{$disp.Date|date_format:"%B %e, %Y %H:%M:%S"}</i> <br><small style="color:#bca1808f;">{if $disp.Check_if_topic == '1'} {_lang_TOPIC} {_lang_By} {else} {_lang_REPLY_From} {/if} <u>{$disp.User_name}</u></small></td>
		</tr>
	</table>
{/foreach}
</div>




Arka War Include

Side includes are a seperate files loaded into theme with their own defined codes

Include URL for theme

Full Example...
<div id="sw_ArkaWar">
	<div class="mvc-table topLoad_box showingNow">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th>{_lang_Mark}</th>
					<th>{_lang_Zone}</th>
					<th>{_lang_Winner}</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td><img src="{$Echo.mdb1_arcaWar_group1_logo}" alt="arca" style="width: 25px;"></td>
					<td>{$Echo.mdb1_arcaWar_group1_name}</td>
					<td>{$Echo.mdb1_arcaWar_group1_guild}</td>
				</tr>
				<tr>
					<td><img src="{$Echo.mdb1_arcaWar_group2_logo}" alt="arca" style="width: 25px;"></td>
					<td>{$Echo.mdb1_arcaWar_group2_name}</td>
					<td>{$Echo.mdb1_arcaWar_group2_guild}</td>
				</tr>
				<tr>
					<td colspan="3">{_lang_Next_Siege}: <span>{$Echo.mdb1_arcaWar_date|date_format:"%B %e, %Y %H:%M:%S"}</span></td>
				</tr>
		</table>
	</div>

	{if $Echo.second_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th>{_lang_Mark}</th>
					<th>{_lang_Zone}</th>
					<th>{_lang_Winner}</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td><img src="{$Echo.mdb2_arcaWar_group1_logo}" alt="arca" style="width: 25px;"></td>
					<td>{$Echo.mdb2_arcaWar_group1_name}</td>
					<td>{$Echo.mdb2_arcaWar_group1_guild}</td>
				</tr>
				<tr>
					<td><img src="{$Echo.mdb2_arcaWar_group2_logo}" alt="arca" style="width: 25px;"></td>
					<td>{$Echo.mdb2_arcaWar_group2_name}</td>
					<td>{$Echo.mdb2_arcaWar_group2_guild}</td>
				</tr>
				<tr>
					<td colspan="3">{_lang_Next_Siege}: <span>{$Echo.mdb2_arcaWar_date|date_format:"%B %e, %Y %H:%M:%S"}</span></td>
				</tr>
		</table>
	</div>
	{/if}

	{if $Echo.third_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th>{_lang_Mark}</th>
					<th>{_lang_Zone}</th>
					<th>{_lang_Winner}</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td><img src="{$Echo.mdb3_arcaWar_group1_logo}" alt="arca" style="width: 25px;"></td>
					<td>{$Echo.mdb3_arcaWar_group1_name}</td>
					<td>{$Echo.mdb3_arcaWar_group1_guild}</td>
				</tr>
				<tr>
					<td><img src="{$Echo.mdb3_arcaWar_group2_logo}" alt="arca" style="width: 25px;"></td>
					<td>{$Echo.mdb3_arcaWar_group2_name}</td>
					<td>{$Echo.mdb3_arcaWar_group2_guild}</td>
				</tr>
				<tr>
					<td colspan="3">{_lang_Next_Siege}: <span>{$Echo.mdb3_arcaWar_date|date_format:"%B %e, %Y %H:%M:%S"}</span></td>
				</tr>
		</table>
	</div>
	{/if}

	{if $Echo.forth_database_check == '1'}
	<div class="mvc-table topLoad_box">
		<table class="mvc-table nmw-include-table-styling">
			<thead>
				<tr>
					<th>{_lang_Mark}</th>
					<th>{_lang_Zone}</th>
					<th>{_lang_Winner}</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td><img src="{$Echo.mdb4_arcaWar_group1_logo}" alt="arca" style="width: 25px;"></td>
					<td>{$Echo.mdb4_arcaWar_group1_name}</td>
					<td>{$Echo.mdb4_arcaWar_group1_guild}</td>
				</tr>
				<tr>
					<td><img src="{$Echo.mdb4_arcaWar_group2_logo}" alt="arca" style="width: 25px;"></td>
					<td>{$Echo.mdb4_arcaWar_group2_name}</td>
					<td>{$Echo.mdb4_arcaWar_group2_guild}</td>
				</tr>
				<tr>
					<td colspan="3">{_lang_Next_Siege}: <span>{$Echo.mdb4_arcaWar_date|date_format:"%B %e, %Y %H:%M:%S"}</span></td>
				</tr>
		</table>
	</div>
	{/if}
</div>

{if $Echo.MultDB_check == '1'}
<center>
	<button class="mvc-buttons-style ArkaWar_btn mvc-buttons-style-blackRec" id="ArkaWar_db1">{$Echo.mdb1_short_title}</button>
	{if $Echo.second_database_check == '1'}<button class="mvc-buttons-style ArkaWar_btn mvc-buttons-style-defaultReC" id="ArkaWar_db2">{$Echo.mdb2_short_title}</button>{/if}
	{if $Echo.third_database_check == '1'}<button class="mvc-buttons-style ArkaWar_btn mvc-buttons-style-defaultReC" id="ArkaWar_db3">{$Echo.mdb3_short_title}</button>{/if}
	{if $Echo.forth_database_check == '1'}<button class="mvc-buttons-style ArkaWar_btn mvc-buttons-style-defaultReC" id="ArkaWar_db4">{$Echo.mdb4_short_title}</button>{/if}
</center>

<script>
$(function () {
	$("#sw_ArkaWar .topLoad_box:eq(0)").nextAll().hide();
	$('#ArkaWar_next').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.next('.topLoad_box').index();
		if(index == -1){ index = 0; }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#ArkaWar_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#ArkaWar_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#ArkaWar_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#ArkaWar_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#ArkaWar_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_ArkaWar .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#ArkaWar_prev').click(function(){
		var $showingNow = $('.showingNow');
		var index = $showingNow.prev('.topLoad_box').index();
		if(index == -1){ index = ({$Echo.mdb_count}-1); }
		var $curr = $(".topLoad_box").eq(index);
		$(".topLoad_box").removeClass('showingNow');
		$curr.addClass('showingNow');
		if(index == '0'){ $("#ArkaWar_title").html("{$Echo.mdb1_short_title}"); } 
		else if(index == '1'){ $("#ArkaWar_title").html("{$Echo.mdb2_short_title}"); } 
		else if(index == '2'){ $("#ArkaWar_title").html("{$Echo.mdb3_short_title}"); } 
		else if(index == '3'){ $("#ArkaWar_title").html("{$Echo.mdb4_short_title}"); }
		else { $("#ArkaWar_title").html("{$Echo.mdb1_short_title}"); }
		$("#sw_ArkaWar .topLoad_box").eq(index).show().siblings().hide();
	});
	$('#ArkaWar_db1').click(function(){ $(".ArkaWar_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#ArkaWar_db1").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_ArkaWar .topLoad_box").eq(0).show().siblings().hide(); });
	$('#ArkaWar_db2').click(function(){ $(".ArkaWar_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#ArkaWar_db2").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_ArkaWar .topLoad_box").eq(1).show().siblings().hide(); });
	$('#ArkaWar_db3').click(function(){ $(".ArkaWar_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#ArkaWar_db3").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_ArkaWar .topLoad_box").eq(2).show().siblings().hide(); });
	$('#ArkaWar_db4').click(function(){ $(".ArkaWar_btn").removeClass('mvc-buttons-style-blackRec').addClass('mvc-buttons-style-defaultReC'); $("#ArkaWar_db4").removeClass('mvc-buttons-style-defaultReC').addClass('mvc-buttons-style-blackRec'); $("#sw_ArkaWar .topLoad_box").eq(3).show().siblings().hide(); });
});
</script>
{/if}




Code Examples

Examples of handy codes to do specific tasks like a seperate home page from default theme


Castle Siege CountDown For MultiDB 1 ( Replace mdb1 to mdb2 for other db support )
<div id="CastleSclockdiv" style="font-size:20px;padding:0px;"> {$Echo.mdb1_csiege_countdown_script}
	{if $Echo.mdb1_csiege_CD_siege_status == '1'} <div><span><b>{_lang_Siege_Has_Started}</b></span></div>
	{elseif $Echo.mdb1_csiege_CD_siege_status == '2'} <div><span><b>{_lang_Siege_Has_Ended}</b></span></div>
	{elseif $Echo.mdb1_csiege_CD_siege_status == '3'} <div><span><b>{_lang_End_of_Castle_cycle}</b></span></div>{else}
		<div style="padding:2px;"><span style="padding:15px;"> <b><span style="font-size:20px;" id="csDays1">{$Echo.mdb1_csiege_CD_box_days}</span></b> <small>{_lang_day_D}</small></span></div>
		<div style="padding:2px;"><span style="padding:15px;"> <b><span style="font-size:20px;" id="csHours1">{$Echo.mdb1_csiege_CD_box_hours}</span></b> <small>{_lang_hour_H}</small></span></div>
		<div style="padding:2px;"><span style="padding:15px;"> <b><span style="font-size:20px;" id="csMinutes1">{$Echo.mdb1_csiege_CD_box_minutes}</span></b> <small>{_lang_minute_M}</small></span></div>
		<div style="padding:2px;"><span style="padding:15px;"> <b><span style="font-size:20px;" id="csSeconds1">{$Echo.mdb1_csiege_CD_box_seconds}</span></b> <small>{_lang_second_S}</small></span></div>
	{/if}
</div>

Account Login/Account Panel Cases With MultiDB And MeDB
{if $Echo.user_login_status == 'ok'}

	<!-- Displays MultiDB Active Server Title & Loading Select If Using MeDB -->
	{if $Echo.MultDB_check == '1' && $Echo.sql_ismedb == 'no'} <span>{_lang_Server}: <b style="color:#b9985e;">{if $Echo.act_mdb_switched == '1' || $Echo.act_mdb_switched == ''} {$Echo.mdb1_full_title} {/if} {if $Echo.act_mdb_switched == '2'} {$Echo.mdb2_full_title} {/if} {if $Echo.act_mdb_switched == '3'} {$Echo.mdb3_full_title} {/if} {if $Echo.act_mdb_switched == '4'} {$Echo.mdb4_full_title} {/if}</b></span> {/if}
	{if $Echo.MultDB_check == '1' && $Echo.sql_ismedb == 'yes'}
		<span><select name="db_switching_sys" id="db_switching_sys">
			<option value="1" {if $Echo.act_mdb_switched == '1'}selected{/if}>{$Echo.mdb1_full_title}</option>
			{if $Echo.second_database_check == '1'}<option value="2" {if $Echo.act_mdb_switched == '2'}selected{/if}>{$Echo.mdb2_full_title}</option>{/if}
			{if $Echo.third_database_check == '1'}<option value="3" {if $Echo.act_mdb_switched == '3'}selected{/if}>{$Echo.mdb3_full_title}</option>{/if}
			{if $Echo.forth_database_check == '1'}<option value="4" {if $Echo.act_mdb_switched == '4'}selected{/if}>{$Echo.mdb4_full_title}</option>{/if}
		</select></span>
		<script> $(document).ready(function() { $( "#db_switching_sys" ).on('change', function() { var slcDb = $( "#db_switching_sys" ).val();
					if(slcDb == '1'){ window.location.href = "index.php?db_switch_selected=1{if $Echo.cur_Page_URL != '&g=/'}&{$Echo.cur_Page_URL}{else}&g=index.php?id=news{/if}";
					} else if(slcDb == '2'){ window.location.href = "index.php?db_switch_selected=2{if $Echo.cur_Page_URL != '&g=/'}&{$Echo.cur_Page_URL}{else}&g=index.php?id=news{/if}";
					} else if(slcDb == '3'){ window.location.href = "index.php?db_switch_selected=3{if $Echo.cur_Page_URL != '&g=/'}&{$Echo.cur_Page_URL}{else}&g=index.php?id=news{/if}";
					} else if(slcDb == '4'){ window.location.href = "index.php?db_switch_selected=4{if $Echo.cur_Page_URL != '&g=/'}&{$Echo.cur_Page_URL}{else}&g=index.php?id=news{/if}"; } else { };
		}); }); </script>
	{/if}
	
	<!-- User Logged-in Displaying User Panel Links With Avatar And Credits Here -->
	
{else}

	<!-- User Is NOT Logged-in -->
	<form method="post" action=""><input name="login_user" type="hidden" value="" />
		<input type="text" placeholder="{_lang_Username}" name="login_username" required>
		<input type="password" placeholder="{_lang_Password}" name="login_password" required>
		{if $Echo.MultDB_check == '1' && $Echo.sql_ismedb == 'no'}
			<select name="login_server" class="login">
				<option value="0" selected="selected">{$Echo.mdb1_full_title}</option>
				{if $Echo.second_database_check == '1'}<option value="2">{$Echo.mdb2_full_title}</option>{/if}
				{if $Echo.third_database_check == '1'}<option value="3">{$Echo.mdb3_full_title}</option>{/if}
				{if $Echo.forth_database_check == '1'}<option value="4">{$Echo.mdb4_full_title}</option>{/if}
			</select>
		{/if}
		<button type="submit" name="login_user" value="submit">{_lang_LOG_IN}</button>
	</form>
	
{/if}

Language Links
<a href="index.php?language=Russian{$Echo.cur_Page_URL}" title="Russian"><img src="system/images/flags/ru.png" style="width:40px;height:25px;" alt="Russian"></a>
<a href="index.php?language=Latvian{$Echo.cur_Page_URL}" title="Latvian"><img src="system/images/flags/lv.png" style="width:40px;height:25px;" alt="Latvian"></a>
<a href="index.php?language=English{$Echo.cur_Page_URL}" title="English"><img src="system/images/flags/gb.png" style="width:40px;height:25px;" alt="English"></a>

Home Page Section
{if $Echo.GET_id == '' && $Echo.GET_user == '' && $Echo.GET_gm == ''}
	<!-- Home Page Html Here -->
{/if}
Hides Content While Home Page is Visited ( Added In <div> with style )
{if $Echo.GET_id == '' && $Echo.GET_user == '' && $Echo.GET_gm == ''}display:none;{/if}