<div xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" style="display: none;">
<?php 
$categoryID = WoW_Achievements::GetCategoryForTemplate();
if (!$categoryID) {
    WoW_Log::WriteError('Achievements : categoryID is not defined!');
    exit;
}
$categoryInfo = WoW_Achievements::GetCategoryInfoFromDB($categoryID);
if (!$categoryInfo) {
    WoW_Log::WriteError('Achievements : categoryInfo for categoryID %d was not found!', $categoryID);
    exit;
}
$achievements = WoW_Achievements::AchievementCategory($categoryID);
if (!$achievements) {
    WoW_Log::WriteError('Achievements : achievements for categoryID %d was not found!', $categoryID);
    exit;
}
?>
<div id="cat-<?php 
echo $categoryInfo['id'];
?>
" class="container<?php 
if ($categoryID == 81) {
    echo ' feats';
}
?>
">
<h3 class="category"><?php 
echo $categoryInfo['name'];
?>
</h3><?php