<div class=" view-guild">
<div class="title1">
    <h1>Информация о гильдии</h1>
</div>
<div id="content_center">
    <div class="box-style1" style="margin-bottom:25px;">
        <div class="entry">
            <div>
                <table 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="/default/images/hide.png" height="20" alt=""></td>
                                <td><img src="/default/images/hide.png" height="20" alt=""></td>
                                <td><img src="/default/images/hide.png" height="20" alt=""></td>
                                <td><img src="/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>
</div>
</div>