?>
/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>
 private static function LoadInitialStats()
 {
     if (!WoW_Characters::IsCorrect()) {
         WoW_Log::WriteError('%s : character was not found!', __METHOD__);
         return false;
     }
     self::$player_levelstats = DB::World()->selectRow("SELECT `str` AS `strength`, `agi` AS `agility`, `sta` AS `stamina`, `inte` AS `intellect`, `spi` AS `spirit` FROM `player_levelstats` WHERE `race` = %d AND `class` = %d AND `level` = %d LIMIT 1", WoW_Characters::GetRaceID(), WoW_Characters::GetClassID(), WoW_Characters::GetLevel());
     if (!self::$player_levelstats) {
         WoW_Log::WriteError('%s : unable to find player_levelstats data for player %s (GUID: %d, raceID: %d, classID: %d, level: %d)!', __METHOD__, WoW_Characters::GetName(), WoW_Characters::GetGUID(), WoW_Characters::GetRaceID(), WoW_Characters::GetClassID(), WoW_Characters::GetLevel());
         return false;
     }
     self::$player_classlevelstats = DB::World()->selectRow("SELECT `basehp`, `basemana` FROM `player_classlevelstats` WHERE `class` = %d AND `level` = %d LIMIT 1", WoW_Characters::GetClassID(), WoW_Characters::GetLevel());
     if (!self::$player_levelstats) {
         WoW_Log::WriteError('%s : unable to find player_classlevelstats data for player %s (GUID: %d, raceID: %d, classID: %d, level: %d)!', __METHOD__, WoW_Characters::GetName(), WoW_Characters::GetGUID(), WoW_Characters::GetRaceID(), WoW_Characters::GetClassID(), WoW_Characters::GetLevel());
         return false;
     }
     for ($i = OBJECT_FIELD_GUID; $i <= PLAYER_END; ++$i) {
         self::SetInt32Value($i, 0);
     }
     return true;
 }
">

		<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;
}
<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();