        <?php $cat = array("1" => "samp", "2" => "rust", "3" => "cs", "4" => "other", "5" => "mine");?>

        <div id="page-wrapper">
            <div class="row" style="padding-top: 20px">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-body shop-head" style="background-image: url('/images/<?=$cat[$shop['shop_game']]?>_header.png')">
                            <img src="/images/<?=$cat[$shop['shop_game']]?>_icon.png" style="float: left">
                            <div class="game-name">
                                <?=$shop['shop_name']?>
                                <p><?=$shop['shop_domain']?></p>
                            </div>
                            <div class="site-balance">
                                Баланс сайта
                                <p><?=$shop['shop_balance']?> <i class="fa fa-rub"></i></p>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-12">
                    <div class="panel panel-default nav-panel">
                        <div class="panel-body" style="text-align: center">
                            <ul id="site-nav" class="nav nav-pills">
                                <li><a href="/project/<?=$shop['shop_id']?>">Статистика</a></li>
                                <!-- <li><a href="/project/<?=$shop['shop_id']?>/template">Шаблон</a></li> -->
                                <!-- <li><a href="/project/<?=$shop['shop_id']?>/servers">Серверы</a></li> -->
                                <li><a href="/project/<?=$shop['shop_id']?>/items">Последние покупки</a></li>
                                <!-- <li><a href="/project/<?=$shop['shop_id']?>/players">Игроки</a></li> -->
                                <!-- <li><a href="/project/<?=$shop['shop_id']?>/news">Новости</a></li> -->
                                <li><a href="/project/<?=$shop['shop_id']?>/setting">Настройки</a></li>
                                <li class="active"><a href="/project/<?=$shop['shop_id']?>/form">Форма оплаты</a></li>
                                <li class="pull-right"><a href="#"><?php if($shop['shop_status'] == 0): ?> 
                               <span class="label label-warning">Ожидает модерации</span>
                               <?php elseif($shop['shop_status'] == 1): ?> 
                               <span class="label label-success">Одобрен</span>
                               <?php elseif($shop['shop_status'] >= 2): ?> 
                               <span class="label label-danger">Заблокирован</span>
                               <?php endif; ?></a></li>
                            </ul>
                        </div>
                    </div>
                </div>

                <div class="col-lg-12">
                    <div class="col-lg-6">
                      <ul class="nav nav-tabs" role="tablist">
                        <li role="presentation" class="active"><a href="#url" aria-controls="url" role="tab" data-toggle="tab">Ссылка оплаты</a></li>
                        <li role="presentation" class=""><a href="#form" aria-controls="form" role="tab" data-toggle="tab">HTML форма</a></li>
                      </ul>

                      <!-- Tab panes -->
                      <div class="tab-content">
                        <div role="tabpanel" class="tab-pane well active" id="url">
                          http://api.localpay.ru/pay?public_key=<span class="alert-info"><?=$shop['shop_public_key']?></span>&<span class="alert-success">sum</span>=10&<span class="alert-success">account</span>=demo&<span class="alert-success">desc</span>=Описание+платежа
                        </div>
                        <div role="tabpanel" class="tab-pane well" id="form">
                            &lt;form action=&quot;http://api.localpay.ru/pay&quot;&gt;<br/>
                          &lt;input type=&quot;hidden&quot; name=&quot;public_key&quot; value=&quot;<span class="alert-info"><?=$shop['shop_public_key']?></span>&quot;&gt;<br/>
                          &lt;input type=&quot;text&quot; <span class="alert-success">name=&quot;account&quot;</span> value=&quot;test&quot;&gt;<br/>
                          &lt;input type=&quot;text&quot; <span class="alert-success">name=&quot;sum&quot;</span> value=&quot;50&quot;&gt;<br/>
                          &lt;input type=&quot;hidden&quot; <span class="alert-success">name=&quot;desc&quot;</span> value=&quot;Описание платежа&quot;&gt;<br/>
                          &lt;input class=&quot;btn&quot; type=&quot;submit&quot; value=&quot;Оплатить&quot;&gt;<br/>
                          &lt;/form&gt;
                        </div>
                      </div>
                  </div>
                  
                  <div class="col-lg-6">
                    <table class="table table-striped">
                      <tbody>
                        <tr>
                          <td class="span3" style="border-top: none"><span class="label label-success">:sum</span></td>
                          <td class="text-medium" style="border-top: none">Сумма платежа (например, 10)</td>
                        </tr>
                        <tr>
                          <td class="span2" style="border-top: 1px solid #eee"><span class="label label-success">:account</span></td>
                          <td class="text-medium" style="border-top: 1px solid #eee">Идентификатор абонента в системе партнера <br>(например email абонента или номер заказа)</td>
                        </tr>
                        <tr>
                          <td class="span2" style="border-top: 1px solid #eee"><span class="label label-success">:desc</span></td>
                          <td class="text-medium" style="border-top: 1px solid #eee">Описание заказа</td>
                        </tr>
                        <tr>
                          <td class="span2" style="border-top: 1px solid #eee"><span class="label label-default">:sign</span></td>
                          <td class="text-medium" style="border-top: 1px solid #eee"><a target="_blank" href="http://help.localpay.ru/article/creating-payment">Цифровая подпись запроса</a>.
                              Формируется как md5 хеш результата склеивания параметров: account, currency, desc, sum и
                              <a href="http://cp.localpay.ru/project/<?=$shop['shop_id']?>/setting">SECRET KEY</a>.
                          </td>
                        </tr>
                      </tbody>
                    </table>
                  </div>
                </div>
            </div>
        <!-- /#page-wrapper -->