<div id="lobby-games"> <h3 class="section-title"><?php echo WoW_Locale::GetString('template_management_your_games'); ?> </h3> <div id="games-list"> <?php if (WoW_Account::GetGameAccountsCount() == 0) { echo '<ul><li class="cta border-4">' . WoW_Locale::GetString('template_account_no_wow_games') . '</li></ul>'; } ?> <a href="#wow" class="games-title border-2 opened" rel="game-list-wow">World of Warcraft</a> <ul id="game-list-wow"> <?php $UserGames = WoW_Account::GetUserGames(); for ($i = 0; $i < count($UserGames); $i++) { ?> <li class="border-4" id="<?php echo strtoupper($UserGames[$i]['username']); ?> ::EU"> <span class="game-icon"> <img src="<?php echo WoW::GetWoWPath(); ?> /account/local-common/images/game-icons/wow<?php echo $UserGames[$i]['expansion'] > 0 ? 'x' . $UserGames[$i]['expansion'] : 'c'; ?> -32.png" alt="" width="32" height="32" /> </span>