<img src="/web/templates/Freyamu/images/ref.png">
<script src="/web/templates/default/js/referrals.js"></script>
<div class="referrals">


<div class="post_wrapp_n">
			<div class="post_wrapp_v2">
				<a style="color: #ffa759;font-size: 11px;font-weight: 600;">Информация</a>
				
				
				
				
				
				
				
				
				<div class="d_b-content ptop">

						<div class="post_text_n">
							<form id="unitpayForm1" action="https://unitpay.ru/pay/20540-4e268/qiwi" method="post" target="_blank">
								<table cellspacing="0">
									
									<tbody>
										
										<tr>
											<td width="50%" style="border: 1px solid rgba(119,91,99,0.70);background: rgba(165, 103, 103, 0.10);"><label for="account" style="cursor: pointer;">Шаг 1:</label></td>
											<td width="50%" style="border: 1px solid rgba(119,91,99,0.70);background: rgba(165, 103, 103, 0.10);"><label for="coins" style="cursor: pointer;">Нужен 5 Ресет, Награда 30,000,000 Zen, + 2 ResetPoint</label></td>
										</tr>
										<tr>
											
											
										</tr>
										
									</tbody>
																		
									<tbody>
										
										<tr>
											<td width="50%" style="border: 1px solid rgba(119,91,99,0.70);background: rgba(165, 103, 103, 0.10);"><label for="account" style="cursor: pointer;">Шаг 2:</label></td>
											<td width="50%" style="border: 1px solid rgba(119,91,99,0.70);background: rgba(165, 103, 103, 0.10);"><label for="coins" style="cursor: pointer;">Нужен 10 Ресет, Награда 100,000,000 Zen, + 5 ResetPoint</label></td>
										</tr>
										<tr>
											
											
										</tr>
										
									</tbody>
																		<tbody>
										
										<tr>
											<td width="50%" style="border: 1px solid rgba(119,91,99,0.70);background: rgba(165, 103, 103, 0.10);"><label for="account" style="cursor: pointer;">Шаг 3:</label></td>
											<td width="50%" style="border: 1px solid rgba(119,91,99,0.70);background: rgba(165, 103, 103, 0.10);"><label for="coins" style="cursor: pointer;">Нужен 20 Ресет, Награда 200,000,000 Zen, + 10 ResetPoint</label></td>
										</tr>
										<tr>
											
											
										</tr>
										
									</tbody>
																											<tbody>
										
										<tr>
											<td width="50%" style="border: 1px solid rgba(119,91,99,0.70);background: rgba(165, 103, 103, 0.10);"><label for="account" style="cursor: pointer;">Шаг 4:</label></td>
											<td width="50%" style="border: 1px solid rgba(119,91,99,0.70);background: rgba(165, 103, 103, 0.10);"><label for="coins" style="cursor: pointer;">Нужен 30 Ресет, Награда 300,000,000 Zen, + 15 ResetPoint</label></td>
										</tr>
										<tr>
											
											
										</tr>
										
									</tbody>
																																				<tbody>
										
										<tr>
											<td width="50%" style="border: 1px solid rgba(119,91,99,0.70);background: rgba(165, 103, 103, 0.10);"><label for="account" style="cursor: pointer;">Шаг 5:</label></td>
											<td width="50%" style="border: 1px solid rgba(119,91,99,0.70);background: rgba(165, 103, 103, 0.10);"><label for="coins" style="cursor: pointer;">Нужен 50 Ресет, Награда 500,000,000 Zen, + 30 ResetPoint</label></td>
										</tr>
										<tr>
											
											
										</tr>
										
									</tbody>
								</table>
							</form>
						</div>
					</div>
					
					
					<div class="d_playertop">                	
						<div class="post_text_n">



										</tr>
									</tbody>
								</table>
							</form>
						</div>
					</div>
					
					

				
				
				
				
				
			</div>
		</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
    </table>
<img src="/web/templates/Freyamu/images/ref1.png">
    {if $ReferralList == 0}
        <h4>Не найдено ни одного реферала</h4>
    {else}
        <form action="/user/referrals" method="post">

        <table class="ranking-table" width="100%" style="text-align:center;">
        <thead>
            <th>№</th>
            <th>Ник реферала</th>
            <th>Уровень</th>
            <th>Ресет</th>
        </thead>
        {$i = 1}
        {foreach $ReferralList as $Referral}

            {if $Referral == 0}
                {if $i%2 == 0}
                    <tr class="ranking-zebra">
                        {else}
                    <tr>
                {/if}
                <td>{$i}</td>
                <td>unknown</td>
                <td>0</td>
                <td>0</td>
            {else}
                {if $i%2 == 0}
                    <tr class="active-referral" class="ranking-zebra">
                        {else}
                    <tr class="active-referral">
                {/if}
                <td>{$i}</td>
                <td>{$Referral.Name}</td>
                <td>{$Referral.cLevel}</td>
                <td>{$Referral.Resets}</td>
                <tr class="no-ranking-zebra">
                    <td colspan="4">
                        <ul class="step-list">
                            {foreach $Referral.ListReward as $step}
                                <li>
                                <center>
                                <br>
                                    Шаг {$step} Нужен Ресет: {$ReferralConfigs.Steps[$step].NeedReset}
                                    {if $Referral.Resets >= $ReferralConfigs.Steps[$step].NeedReset}
                                        <button name="get_reward_referral" value="{$step}{$Referral.Name}">Получить награду</button>
                                        </center>
                                    {/if}
                                </li>
                            {/foreach}
                        </ul>
                    </td>
                </tr>
            {/if}
            </tr>
            {$i=$i+1}
        {/foreach}
        </table>

        </form>
    {/if}
</div>