">

		<div class="profile-sidebar-anchor">
			<div class="profile-sidebar-outer">
				<div class="profile-sidebar-inner">
					<div class="profile-sidebar-contents">



		<div class="profile-sidebar-crest">

			<a href="<?php 
echo WoW_Characters::GetURL();
?>
" rel="np" class="profile-sidebar-character-model" style="background-image: url(/wow/static/images/2d/inset/<?php 
echo WoW_Characters::GetRaceID() . '-' . WoW_Characters::GetGender();
?>
.jpg);">
				<span class="hover"></span>
				<span class="fade"></span>
			</a>

			<div class="profile-sidebar-info">
                <?php 
if (WoW_Characters::GetGuildID() > 0) {
    $guild_str = sprintf('<div class="guild">
						<a href="%s?character=%s">%s</a>
					</div>', WoW_Characters::GetGuildURL(), urlencode(WoW_Characters::GetName()), WoW_Characters::GetGuildName());
} else {
    $guild_str = null;
}
?>
/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>
<div class="profile-sidebar-crest">
    <a href="<?php 
echo WoW_Characters::GetURL();
?>
" rel="np" class="profile-sidebar-character-model" style="background-image: url(<?php 
echo WoW::GetWoWPath();
?>
/wow/static/images/2d/inset/<?php 
echo sprintf('%d-%d', WoW_Characters::GetRaceID(), WoW_Characters::GetGender());
?>
.jpg);">
        <span class="hover"></span>
        <span class="fade"></span>
    </a>
    <div class="profile-sidebar-info">
        <div class="name"><a href="<?php 
echo WoW_Characters::GetURL();
?>
" rel="np"><?php 
echo WoW_Characters::GetName();
?>
</a></div>
        <div class="under-name color-c<?php 
echo WoW_Characters::GetClassID();
?>
">
            <a href="<?php 
echo WoW::GetWoWPath();
?>
/wow/game/race/<?php 
echo WoW_Characters::GetRaceKey();