{**
* XS2:
*
* This file is developed by Solutecs, LLC for the purpose of the company
* and is provided together with XS2 Framework as and inherent part of the
* system. This file can be used on the terms of License Agreement.
*
* +7 (495) 585-0833 / 13 Rusakovskaya street, Moscow 107140 Russia
*
* @link http://www.solutecs.com
* @copyright ©1998-2007 Solutecs, LLC
* @version 1.XX
*}
{if $items|@count}
{strip}
<form name="calcuate"
action="{xs2Href mod=$_THE.QUE.MOD obj=$_THE.QUE.OBJ met="calculate"}" method="POST">
<input type="hidden" name="action" value="calculate" />
<table>
<thead>
<tr>
<td>Наименование</td>
<td>Цена</td>
<td>Количество</td>
<td>Стоимость</td>
<td> </td>
</tr>
</thead>
<tbody>
{foreach from=$items item="item"}
<tr>
<td>
<a href="{xs2Href mod=$_THE.QUE.MOD obj="item" met="show" atr=$item.NodId}">
{$item.NName}
</a>
</td>
<td>
{$item.Price}
</td>
<td>
<input type="text" size="2" name="cnt[{$item.NodId}]" value="{$item._count}" />
</td>
<td>
{$item._sum}
</td>
<td>
<a href="{xs2Href mod=$_THE.QUE.MOD obj=$_THE.QUE.OBJ met="remove" atr=$item.NodId}">
Удалить
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
<p>
Всего: {$total}<br>
<input type="submit" value="Пересчитать" />
</p>
</form>
<form action="{xs2Href mod=$_THE.QUE.MOD obj=$_THE.QUE.OBJ met="send"}"
method="POST" name="sendorder">
<input type="hidden" name="action" value="order" />
<p>
<font color="red">•</font> ФИО:
<input type="text" name="NName" value="" />
</p>
<p>
E-mail:
<input type="text" name="Email" value="" />
</p>
<p>
<font color="red">•</font> Телефон:
<input type="text" name="Phone" value="" />
</p>
<p>
Адрес:
<input type="text" name="Address" value="" />
</p>
<p>
<input type="submit" value="Оформить заказ" />
</p>
</form>
{/strip}
{else}
<p>Корзина пуста</p>
{/if}
<hr>
<p><a href="{xs2Href mod=$_THE.QUE.MOD obj="categories" met="show"}">Каталог</a></p>
|
|