<div class="animated" style="animation-delay: 0.5s; animation-name: zoomIn;">
    <img src="/web/templates/Freyamu/images/stats-title.png" class="wr_title title_rating">

    <div class="content-center">

        <!--
        <script>
            $(document).ready(function() {
                var destination = $( ".title_rating" ).offset().top;
                jQuery( "html:not(:animated),body:not(:animated)" ).animate( { scrollTop: destination }, 800 );
                return false;
            });
        </script>
        -->
        <script type="text/javascript">
            $(function(){
                setTimeout("$('body,html').stop().animate({  scrollTop:315 },1000)",500);
                $('#b_tabs_stats_0').addClass('active'); // добавить класс
                $('#b_tabs_stats_serv_0').addClass('active'); // добавить класс
            });
            $(document).ready(function() {
                $('.main-content').height($('.b_playertop_0').height()+500);
            });
        </script>


        <div id="b_tabs_stats_0" class="b_playertop_all s0 active">
            <div class="b_b-content ptop">
                <div class="b_playertop_0 active">
                    <div class="scroller">

                        <table  class="table_bs" width="100%" style="margin-bottom:12px; padding-top: 3px;">

                            <tr>
                                <td class="no-bg" rowspan="10" style="text-align: center;"><img src="{$Guild[0].G_Mark}" /></td>
                                <th>Название</th>
                                <td><a href="/statistic/guild/{$Guild[0].G_Name}">{$Guild[0].G_Name}</a></td>
                            </tr>
                            <tr>
                                <th>Мастер</th>
                                <td><a href="/statistic/player/{$Guild[0].G_Master}">{$Guild[0].G_Master}</a></td>
                            </tr>
                            <tr>
                                <th>Очков</th>
                                <td>{$Guild[0].G_Score}</td>
                            </tr>
                            <tr>
                                <th>Альянс</th>
                                <th>
                                    {if $Guild[0].Aliance == ''}
                                        -/-
                                    {else}
                                        <a href="/statistic/guild/{$Guild[0].Aliance}">{$Guild[0].Aliance}</a>
                                    {/if}
                                </th>
                            </tr>
                        </table>
                        <h1>Информация об учасниках</h1>
                        <table class="table-member" width="100%">
                            <tr class="header-ranking-table">
                                <th>№</th>
                                <th>Ник</th>
                                <th>Класс</th>
                                <th>Уровень</th>
                                <th>Ресет</th>
                                <th>Гранд Ресет</th>
                                <th>Статус</th>
                            </tr>
                            {$i = 1}
                            {foreach $Guild as $member}
                                {if $i%2 == 0}
                                    <tr class="ranking-zebra">
                                        {else}
                                    <tr>
                                {/if}
                                {if $member.Online}
                                    <td style="background: green;">{$i}</td>
                                {else}
                                    <td style="background: rgba(187, 81, 81, 0.31);">{$i}</td>
                                {/if}
                                <td><a href="/statistic/player/{$member.Name}">{$member.Name}</a></td>
                                {if $member.PremiumTime > 0}
                                    <td><img src="/web/templates/default/images/hide.png" height="20" alt=""></td>
                                    <td><img src="/web/templates/default/images/hide.png" height="20" alt=""></td>
                                    <td><img src="/web/templates/default/images/hide.png" height="20" alt=""></td>
                                    <td><img src="/web/templates/default/images/hide.png" height="20" alt=""></td>
                                {else}
                                    <td>{Character::GetClassName($member.Class)}</td>
                                    <td>{$member.cLevel}</td>
                                    <td>{$member.Resets}</td>
                                    <td>{$member.GrandResets}</td>
                                {/if}
                                <td>{$member.G_Status}</td>
                                </tr>
                                {$i=$i+1}
                            {/foreach}
                        </table>
                    </div></div>
            </div>
            <ul class="b_tabs_sub_0">
                <li class="b_0_pvp "><a href="/statistic/players">Игроков</a></li><li class="b_0_pk active"><a
                            href="/statistic/pk">Убийц</a></li><li class="b_0_clan"><a href="/statistic/guilds">Кланов</a></li><li class="b_0_castl">
                    <a href="/statistic/castle">Замок</a></li>
            </ul>
        </div>

    </div>


