<a class="tabard-link" href="<?php 
echo WoW_Guild::GetGuildURL();
?>
"></a>
			</div>
			<div class="profile-sidebar-info">
				<div class="name"><a href="<?php 
echo WoW_Guild::GetGuildURL();
?>
"><?php 
echo WoW_Guild::GetGuildName();
?>
</a></div>
				<div class="under-name">
					<?php 
echo sprintf(WoW_Locale::GetString('template_guild_under_name'), WoW_Guild::GetGuildLevel(), WoW_Locale::GetString(sprintf('faction_' . WoW_Guild::GetGuildFactionText())));
?>
				</div>
				<div class="realm">
					<span id="profile-info-realm" class="tip" data-battlegroup="<?php 
echo WoWConfig::$DefaultBGName;
?>
"><?php 
echo WoW_Guild::GetGuildRealmName();
?>
</span>
				</div>
			</div>
		</div>
        <?php 
WoW_Template::LoadTemplate('block_guild_menu');
?>
/wow/player/rating-pegi.jpg';
//]]>
</script>
<meta name="title" content="<?php 
echo WoW_Template::GetPageData('overall_meta_title') != null ? WoW_Template::GetPageData('overall_meta_title') : 'World of Warcraft';
?>
" />
<link rel="image_src" href="<?php 
echo WoW_Template::GetPageData('overall_meta_img') != null ? WoW_Template::GetPageData('overall_meta_img') : WoW::GetWoWPath() . '/wow/static/images/icons/facebook/game.jpg';
?>
" />
<?php 
switch (WoW_Template::GetPageData('page')) {
    case 'character_profile':
        echo sprintf('<style type="text/css">#content .content-top { background: url("%s/wow/static/images/character/summary/backgrounds/race/%d.jpg") left top no-repeat; }.profile-wrapper { background-image: url("%s/wow/static/images/2d/profilemain/race/%d-%d.jpg"); }</style>', WoW::GetWoWPath(), WoW_Characters::GetRaceID(), WoW::GetWoWPath(), WoW_Characters::GetRaceID(), WoW_Characters::GetGender());
        break;
    case 'character_talents':
        echo sprintf('<style type="text/css">.talentcalc-cell .icon .texture { background-image: url(%s/wow/wow-assets/static/images/talents/icons/%d-greyscale.jpg); }</style>', WoW::GetWoWPath(), WoW_Characters::GetClassID());
        break;
    case 'guild':
        echo sprintf('<style type="text/css">#content .content-top { background: url("%s/wow/static/images/guild/summary/bg-%s.jpg") left top no-repeat; }</style>', WoW::GetWoWPath(), WoW_Guild::GetGuildFactionText());
        break;
    case 'zone':
        echo sprintf('<style type="text/css">#content .content-top { background: url("%s/wow/static/images/wiki/zone/bgs/%s.jpg") 0 0 no-repeat; }</style>', WoW::GetWoWPath(), WoW_Template::GetPageData('zone_key'));
        break;
}
?>

</head>