<?php if ($admin_mode && !$inside_admin) {
    nc_print_status('Варианты товара редактируются в режиме администрирования', 'info');
} ?>
<?
echo $f_AdminCommon;
?>
<div class='item_full'>

    <div class='item_content'>
        <div class='item_photo'>
            <? if (!$f_BigImage): ?>
                <? if ($f_Image): ?>
                    <img src='<?= $f_Image_url ?>' />
                <? endif; ?>
            <? else: ?>
                <img src='<?= $f_BigImage_url ?>' />
            <? endif ?>
        </div>

        <div class="price_block">
            <div class="price">
                <?= $shop_mode == 2 ? $shop->FormatCurrency($f_Price) : $f_Price . '.-'; ?>
            </div>
            <div class="cart_btn">
                <?
                switch ($shop_mode) {
                    case 2:
                        ?>
                        <form <?=nc_ls_display_form(false, 0, null, 'cart_handler', array('json'=>1)) ?> method='post' id='netshop_<?= $f_RowID; ?>' action='<?= $SUB_FOLDER . $HTTP_ROOT_PATH; ?>modules/netshop/post.php' style='margin: 0px'>
                            <input type='hidden' name='redirect_url' value='<?= $GLOBALS['uri_path']; ?>' />
                            <input type='hidden' name='cart_mode' value='add' />
                            <input type='hidden' name='cart[<?= $classID; ?>][<?= $f_RowID; ?>]' value='1' />
                            <button type='submit' class='float_btn'>Купить</button>
                            <button type='submit'><i class='icon-large icon-cart-empty'></i></button>
                        </form>
                        <?
                        break;

                    case 1:
                        echo $nc_minishop->show_put_button($f_Name, $f_Price, $fullLink);
                        break;

                    default:
                        ?>
                            <form method='post' id='simple_shop_<?= $f_RowID; ?>' action='<?= $SUB_FOLDER . $orders_href ?>' style='margin: 0px'>
                                <input name='Sub_ID' type='hidden' value='<?= $cc ?>' />
                                <input name='Goods_ID' type='hidden' value='<?= $f_RowID ?>' />
                                <input name='Goods_Title' type='hidden' value='<?= $f_Name ?>' />
                                <input name='Cost' type='hidden' value='<?= $f_Price ?>' />
                                <input name='token' type='hidden' value='<?= md5($cc . "net(^_^)cat" . $f_Price . $f_RowID . $f_Name) ?>' />
                                <a href="#" onclick="document.getElementById('simple_shop_<?= $f_RowID; ?>').submit(); return false;" ><i class='icon-large icon-cart-empty'></i></a>
                            </form>
                        <?
                        break;
                }
                ?>
            </div>
        </div>
    </div>

    <div class='item_description'>
        <? if ($f_Description): ?>
            <div class="block_description">
                <div class="title">Общие характеристики</div>
                <?= nc_edit_inline('Description', $f_RowID, $cc) ?>
            </div>
        <? endif ?>
        <div class="title">Описание</div>
        <?= nc_edit_inline('Details', $f_RowID, $cc) ?>

        <div class="title">Технические характеристики</div>

        <table>
            <tr>
                <td>Длина, см</td>
                <td><?= $f_Property_Length; ?></td>
            </tr>
            <tr>
                <td>Ширина, см</td>
                <td><?= $f_Property_Width; ?></td>
            </tr>
            <tr>
                <td>Высота, см</td>
                <td><?= $f_Property_Height; ?></td>
            </tr>
            <tr>
                <td>Вес, кг</td>
                <td><?= $f_Property_Weight; ?></td>
            </tr>
            <tr>
                <td>Количество входов</td>
                <td><?= $f_Property_EntranceCount; ?></td>
            </tr>

            <tr>
                <td>Количество мест</td>
                <td><?= $f_Property_PlaceCount; ?></td>
            </tr>
            <tr>
                <td>Каркас</td>
                <td><?= $f_Property_Frame; ?></td>
            </tr>
            <tr>
                <td>Материал тента</td>
                <td><?= $f_Property_TentMaterial; ?></td>
            </tr>
            <tr>
                <td>Назначение</td>
                <td><?= $f_Property_Purpose; ?></td>
            </tr>
            <tr>
                <td>Тип</td>
                <td><?= $f_Property_TentType; ?></td>
            </tr>
        </table>

    </div>
</div>
