catalogs_basket.tpl 5.04 KB
<div class="title3 mt">Êîðçèíà</div>
<div class="itemsbox">
<div>&nbsp;</div>

 <form method="post" action="{$smarty.const.URL}catalogs/?modAction=basket">
<table cellpadding="4" cellspacing="1" border="0" width="100%" bgcolor="#94E001">
 <tr bgcolor="#94E001"><td noWrap><font color="#FFFFFF"><b>Ôîòî</b></font></td><td width="100%"><font color="#FFFFFF"><b>Òîâàð</b></font></td><td noWrap><font color="#FFFFFF"><b>Öåíà çà îäèí</b></font></td><td noWrap><font color="#FFFFFF"><b>Êîëè÷åñòâî</b></font></td><td noWrap><font color="#FFFFFF"><b>Çà âåñü òîâàð</b></font></td><tr>
{section name=i loop=$basket_products}
 <tr bgcolor="#F2FFDA">
 <td><a href="{$smarty.const.URL}uploaded/pic/catalogs/modifications/big/{$basket_products[i].pic_big}" rel="milkbox[gall1]" title="{$basket_products[i].name}"><img src="{if $basket_products[i].pic}{$smarty.const.URL}uploaded/pic/catalogs/modifications/{$basket_products[i].pic}{else}{$smarty.const.URL}img/noproduct.jpg{/if}" border="0" alt="{$basket_products[i].name|stripslashes|escape:'html'}" class="pic" /></a></td>
 <td><input type="hidden" name="product_id[]" value="{$basket_products[i].id}"><input type="hidden" name="product_name[]" value="{$basket_products[i].name|stripslashes|escape:'html'} : {if $basket_products[i].size}ðàçìåð: {$basket_products[i].size}, {/if}{if $basket_products[i].color}öâåò: {$basket_products[i].color}, {/if}{if $basket_products[i].code}Êîä: {$basket_products[i].code}{/if}"><b>{$basket_products[i].name|stripslashes}</b><br>{if $basket_products[i].size}ðàçìåð: {$basket_products[i].size}, {/if}{if $basket_products[i].color}öâåò: {$basket_products[i].color}, {/if}{if $basket_products[i].code}Êîä: {$basket_products[i].code}{/if}</td><td><input type="hidden" name="rubric_id[]" value="{$basket_products[i].rubric_id}"><input type="hidden" name="rubric_parent_id[]" value="{$basket_products[i].rubric_parent_id}"><input type="hidden" name="product_cine[]" value="{$basket_products[i].cine} {if $curs eq 'uah'}ãðí{elseif $curs eq 'uah_bank'}ãðí. áåçíàëè÷íûé{else}${/if}">{$basket_products[i].cine} {if $curs eq 'uah'}ãðí{elseif $curs eq 'uah_bank'}ãðí. áåçíàëè÷íûé{else}${/if}</td><td><input type="hidden" name="product_count[]" value="{$basket_products[i].products_count}"><input class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" type="text" value="{$basket_products[i].products_count}" name="proructs_count[{$basket_products[i].id}]" size="2"></td>
 <td><input type="hidden" name="product_cine_all[]" value="{$basket_products[i].products_cine_all} {if $curs eq 'uah'}ãðí{elseif $curs eq 'uah_bank'}ãðí. áåçíàëè÷íûé{else}${/if}">{$basket_products[i].products_cine_all} {if $curs eq 'uah'}ãðí{elseif $curs eq 'uah_bank'}ãðí. áåçíàëè÷íûé{else}${/if}</td>
 <tr>
{/section}
<tr bgcolor="#F2FFDA"><td colspan="4"><input type="submit" name="upload_order" value=" Ïåðåñ÷åòàòü " class="submit" /></td><td><b><input type="hidden" name="discount" value="{$user.discount}"><input type="hidden" name="cineAll" value="{$cineAll}"><input type="hidden" name="cineAll_discount" value="{$cineAll_discount}">{$cineAll} ãðí.</b></td>
{if $user.id>0}
<tr bgcolor="#FFF0F0"><td colspan="5" class="txtrb cnt">Âàøà ñêèäêà: {$user.discount}% Èòîãî ê îïëàòå: {$cineAll_discount} ãðí.</td></tr>
{/if}
</table>
</div>
<div>&nbsp;</div>
<div>&nbsp;</div>

<div class="title3">Îôîðìèòü çàêàç</div>
<div class="itemsbox">

{include file="error.tpl"}
<div id="inputArea">

<label>Âàøå èìÿ: <span class="red">*</span></label>
<input type="text" name="order_name" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="{$smarty.post.order_name|default:$user.name|escape:'html'}" />
<label>Âàø e-mail:</label>
<input type="text" name="order_email" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="{$smarty.post.order_email|default:$user.email|escape:'html'}" />
<label>Êîíòàêòíûé òåëåôîí: <span class="red">*</span></label>
<input type="text" name="order_phone" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="{$smarty.post.order_phone|default:$user.phone|escape:'html'}" />
<label>Ìîáèëüíûé òåëåôîí:</label>
<input type="text" name="order_phonemob" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="{$smarty.post.user_phonemob|default:$user.phonemob|escape:'html'}" />
<label>Âàøå àäðåñ: <span class="red">*</span></label>
<input type="text" name="order_adress" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="{$smarty.post.order_adress|default:$user.adress|escape:'html'}" />
<label>Òåêñò êîììåíòàðèÿ:</label>
<textarea rows="4" cols="30" name="order_comment" class="idle" onblur = "this.className='idle'" onfocus = "this.className='activeField'">{$smarty.post.text|default:$user.about|escape:'html'}</textarea>
<p>Ïîëÿ, âûäåëåííûå <span class="red">*</span>, çàïîëíèòå îáÿçàòåëüíî</p>
<p class="cnt"><input type="hidden" name="send_order"><input type="submit" value="Îòïðàâèòü" class="submit" /></p>
</div>
 </form>
 
 </div>