<div id="mod_user_stats">
    {if $cfg.show_total}
    <div class="stat_block">
        <div class="title">{$LANG.HOW_MUCH_US}</div>
        <div class="body">
            <ul>
                <li>{$total_usr|spellcount:$LANG.USER:$LANG.USER2:$LANG.USER10}</li>
            </ul>
        </div>
    </div>
    {/if}

    {if $cfg.show_online}
    <div class="stat_block">
        <div class="title">Êòî îíëàéí?</div>
        <div class="body">
            <ul>
                <li>{$people.users|spellcount:$LANG.USER:$LANG.USER2:$LANG.USER10}</li>
                <li>{$people.guests|spellcount:$LANG.GUEST:$LANG.GUEST2:$LANG.GUEST10}</li>
                <li>{$online_link}</li>
            </ul>
        </div>
    </div>
    {/if}

    {if $cfg.show_gender}
    <div class="stat_block">
        <div class="title">Êòî ìû?</div>
        <div class="body">
            <ul>
                <li><a href="javascript:void(0)" rel=”nofollow” onclick="searchGender('m')">{$gender_stats.male|spellcount:$LANG.MALE1:$LANG.MALE2:$LANG.MALE10}</a></li>
                <li><a href="javascript:void(0)" rel=”nofollow” onclick="searchGender('f')">{$gender_stats.female|spellcount:$LANG.FEMALE1:$LANG.FEMALE2:$LANG.FEMALE10}</a></li>
                <li>{$LANG.UNKNOWN} &mdash; {$gender_stats.unknown}</li>
            </ul>
        </div>
    </div>
    {/if}

    {if $cfg.show_city}
    <div class="stat_block">
        <div class="title">{$LANG.WHERE_WE_FROM}</div>
        <div class="body">
            <ul>
                {foreach key=tid item=city from=$city_stats}
                    {if $city.href}
                        <li><a href="{$city.href}" rel=”nofollow”>{$city.city}</a> &mdash; {$city.count}</li>
                    {else}
                        <li>{$city.city} &mdash; {$city.count}</li>
                    {/if}
                {/foreach}
            </ul>
        </div>
    </div>
    {/if}

    {if $cfg.show_bday && $bday}
        <div class="stat_block_bday" style="margin-top:10px;">
            <div class="title">{$LANG.TODAY_BIRTH}:</div>
            <div class="body">
                {$bday}
            </div>
        </div>
    {/if}
    
</div>