<div class="rankings blockHome" style="height: 580px;">
	<!--Open sub-block-->
	<div class="h2-title h2-title-table flex-s-c"><span>Gens</span></div>
	<div class="table tabTable-block active" id="players">
		<div class="tableBlock">
			<div class="tableBlock-title">
				<div class="tableBlock-title_player" style="color: white">Player</div>
				<div class="tableBlock-title_level" style="color: white">Contr</div>
				<div class="tableBlock-title_score" style="color: white">Fam</div>
			</div>
			<div id="top_players">
				<?php
				if (is_array($topResets)) {
					$showPlayerCountry = mconfig('show_country_flags') ? true : false;
					$charactersCountry = loadCache('character_country.cache');
					$gensType = $topResets[1] == 1 ? '<img class="rankings-gens-img" src="' . __PATH_TEMPLATE_IMG__ . 'gens_1.png" title="' . lang('rankings_txt_26', true) . '" alt="' . lang('rankings_txt_26', true) . '"/>' : '<img class="rankings-gens-img" src="' . __PATH_TEMPLATE_IMG__ . 'gens_2.png" title="' . lang('rankings_txt_27', true) . '" alt="' . lang('rankings_txt_27', true) . '"/>';
					if (!is_array($charactersCountry)) $showPlayerCountry = false;
					foreach ($topResets as $key => $row) {
						if ($key == 0) continue;
						if ($key >= 11) continue;

						echo '<div class="tableBlock-content">
								<div class="tableBlock-conten_number" style="color: #696868;">' . $key . '</div>
								<div class="tableBlock-conten_name"><img src="' . getCountryFlag($charactersCountry[$row[0]]) . '" />  ' . playerProfile($row[0]) . '</div>
								<div class="tableBlock-conten_lvl">' . number_format($row[2]) . '</div>
								<div class="tableBlock-conten_scr">' . $gensType . '</div>
							</div>';
					}
				}
				?>
			</div>
			<div class="all-button"><a href="<?php echo __BASE_URL__; ?>rankings/gens" class="button buttonsub">Ver Todos</a></div>
		</div>
	</div>
</div>