Advertisement
Guest User

Jquery error

a guest
Jun 18th, 2014
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 27.56 KB | None | 0 0
  1. <script type="text/javascript">
  2. <!--
  3.    var baseDir = '{$base_dir_ssl}';
  4. -->
  5. </script>
  6. <script type="text/javascript" src="{$js_dir}layer.js"></script>
  7. <script type="text/javascript" src="{$content_dir}js/conditions.js"></script>
  8. <script type="text/javascript" src="{$js_dir}order-main.js"></script>
  9. {if !$virtual_cart && $giftAllowed && $cart->gift == 1}
  10. <script type="text/javascript">{literal}
  11. // <![CDATA[
  12.    $('document').ready( function(){
  13.        $('#gift_div').toggle('slow');
  14.     });
  15. //]]>
  16. {/literal}</script>
  17. {/if}
  18. {include file=$tpl_dir|cat:'thickbox.tpl'}
  19. {capture name=path}{l s='Shipping'}{/capture}
  20. {include file=$tpl_dir|cat:'breadcrumb.tpl'}
  21. <div id="shopping_cart_summary">
  22. {assign var='current_step' value='address'}
  23. {include file=$tpl_dir|cat:'order-steps.tpl'}
  24. {include file=$tpl_dir|cat:'errors.tpl'}
  25. <form autocomplete="off"  id="account-creation_form" action="{$base_dir_ssl}order.php" method="post" onsubmit="return acceptCGV('{l s='Please accept the terms of service before the next step.' js=1}');">
  26. {if $virtual_cart}
  27.     <input id="input_virtual_carrier" class="hidden" type="hidden" name="id_carrier" value="0" />
  28. {else}
  29. <fieldset class="noPair">
  30.     <div class="title"><div class="leftRound"></div><div class="rightRound"></div><h3>{l s='Choose your delivery method'}</h3></div>
  31.     <div class="content_block noPadding">
  32.         <div class="topRound"></div><div class="bottomRound"></div>
  33.     {if $recyclablePackAllowed}
  34.     <!--p class="checkbox">
  35.        <input type="checkbox" name="recyclable" id="recyclable" value="1" {if $recyclable == 1}checked="checked"{/if} />
  36.        <label for="recyclable">{l s='I agree to receive my order in recycled packaging'}.</label>
  37.    </p-->
  38.     {/if}
  39.     {if $carriers && count($carriers)}
  40.    <div class="table_block">
  41.        <table class="std" id="carrierType">
  42.            <!--thead>
  43.                <tr>
  44.                    <th class="carrier_action first_item"></th>
  45.                    <th class="carrier_name item">{l s='Carrier'}</th>
  46.                    <th class="carrier_infos item">{l s='Information'}</th>
  47.                    <th class="carrier_price last_item">{l s='Price'}</th>
  48.                </tr>
  49.            </thead-->
  50.            <tbody>
  51.            {foreach from=$carriers item=carrier key=k name=myLoop}
  52.                <tr class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{/if} {if $smarty.foreach.myLoop.index % 2}alternate_item{else}item{/if}">
  53.                    {if $show_weight1000 && $carrier.id_carrier|intval != 76}
  54.                        {continue}
  55.                    {/if}
  56.                    <td class="carrier_action radio">
  57.                        <input type="radio" name="id_carrier" value="{$carrier.id_carrier|intval}" id="id_carrier{$carrier.id_carrier|intval}" {if $carrier.id_carrier == $checked || ($checked == 0 && $i == 0) || ($carriers|@sizeof == 1) || $default_carrier == $carrier.id_carrier}checked="checked"{/if} />
  58.                    </td>
  59.                    <td class="carrier_name">
  60.                        <label for="id_carrier{$carrier.id_carrier|intval}">
  61.                            <!--{if $carrier.img}<img src="{$carrier.img|escape:'htmlall':'UTF-8'}" alt="{$carrier.name|escape:'htmlall':'UTF-8'}" />{else}{$carrier.name|escape:'htmlall':'UTF-8'}{/if}-->
  62.                            {$foao}
  63.                            {$carrier.name|escape:'htmlall':'UTF-8'}
  64.                            {if $carrier.price}
  65.                            <span class="price">
  66.                                {if $priceDisplay == 1}{convertPrice price=$carrier.price_tax_exc}{else}{convertPrice price=$carrier.price}{/if}
  67.                            </span>
  68.                            {if $use_taxes}{if $priceDisplay == 1} {l s='(tax excl.)'}{else} {l s='(tax incl.)'}{/if}{/if}
  69.                            {else if $carrier.id_reference != 137}
  70.                                {l s='Free!'}
  71.                            {/if}
  72.                            {if $carrier.delay}
  73.                                <div class="infoBlock question">
  74.                                    <div class="holder">
  75.                                        <div class="topDecor"></div>
  76.                                        <div class="bottomDecor"></div>
  77.                                        {if $k==1}
  78.                                            {l s='Venipak'}
  79.                                        {else}
  80.                                            {l s='Popup be pristatymo'}
  81.                                        {/if}
  82.                                    </div>
  83.                                </div>
  84.                            {/if}
  85.                        </label>
  86.                    </td>
  87.                    <!--td class="carrier_infos">{$carrier.delay|escape:'htmlall':'UTF-8'}</td>
  88.                    <td class="carrier_price">
  89.                        {if $carrier.price}
  90.                            <span class="price">
  91.                                {if $priceDisplay == 1}{convertPrice price=$carrier.price_tax_exc}{else}{convertPrice price=$carrier.price}{/if}
  92.                            </span>
  93.                            {if $use_taxes}{if $priceDisplay == 1} {l s='(tax excl.)'}{else} {l s='(tax incl.)'}{/if}{/if}
  94.                        {else}
  95.                            {l s='Free!'}
  96.                        {/if}
  97.                    </td-->
  98.                    {if $carrier_places && $carrier.id_reference == 137}
  99.                        <tr>
  100.                            <td class="carrier_places" colspan="2" style="display:none;" id="{$carrier.id_carrier|intval}_places">
  101.                                 <input type="hidden" name="carrierplacesid" value="{$carrier.id_carrier|intval}" />
  102.                                 <div style="width: 920px;">
  103.                                     <div style="float: left; width: 370px;">
  104.                                         {$carrier_places}
  105.                                         <p style="width:350px;color:red;font-size: 12px">{l s='Choose a delivery address:'}</p>
  106.                                     </div>
  107.                                 {if $carrier_embed}
  108.                                     <div style="float: left; width: 550px;">
  109.                                         {$carrier_embed}
  110.                                         <small style="width:550px;background-color:white;font-size:10px;">
  111.                                             View
  112.                                             <a target="_blank" style="color:#0000FF;text-align:left;" href="{$carrier_href}">
  113.                                                 DPD Siuntų taškų tinklas
  114.                                             </a>
  115.                                              in a larger map
  116.                                         </small>
  117.                                     </div>
  118.                                 {/if}
  119.                                 </div>
  120.                             </td>
  121.                         </tr>
  122.                     {/if}
  123.                 </tr>
  124.                 <tr>
  125.                     <td colspan="2" class="carrier_infos">{$carrier.delay|escape:'htmlall':'UTF-8'}</td>
  126.                 </tr>
  127.             {/foreach}
  128.             {$HOOK_EXTRACARRIER}
  129.             </tbody>
  130.         </table>
  131.         <div style="display: none;" id="extra_carrier"></div>
  132.     </div>
  133.     {else}
  134.         <p class="warning">{l s='There are no carriers available that will deliver to this address!'}</td></tr>
  135.     {/if}
  136. <div id="hidePart">
  137.     {if $giftAllowed}
  138.         <!--h3 class="gift_title">{l s='Gift'}</h3>
  139.        <p class="checkbox">
  140.            <input type="checkbox" name="gift" id="gift" value="1" {if $cart->gift == 1}checked="checked"{/if} onclick="$('#gift_div').toggle('slow');" />
  141.            <label for="gift">{l s='I would like the order to be gift-wrapped.'}</label>
  142.            <br />
  143.            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  144.            {if $gift_wrapping_price > 0}
  145.                ({l s='Additional cost of'}
  146.                <span class="price">
  147.                    {if $priceDisplay == 1}{convertPrice price=$total_wrapping_tax_exc}{else}{convertPrice price=$total_wrapping}{/if}
  148.                </span>
  149.                {if $use_taxes}{if $priceDisplay == 1} {l s='(tax excl.)'}{else} {l s='(tax incl.)'}{/if}{/if})
  150.            {/if}
  151.        </p-->
  152.         <p id="gift_div" class="textarea">
  153.             <label for="gift_message">{l s='If you wish, you can add a note to the gift:'}</label>
  154.             <textarea rows="5" cols="35" id="gift_message" name="gift_message">{$cart->gift_message|escape:'htmlall':'UTF-8'}</textarea>
  155.         </p>
  156.     {/if}
  157. {/if}
  158. <!--strong>{l s='Your basket contains items that you have specifically ordered'}</strong-->
  159. <div id="shopping_cart_summary">
  160. <div id="order-detail-content" class="table_block">
  161.     <table id="cart_summary" class="std">
  162.         <thead>
  163.             <tr >
  164.                 <th class="cart_ref first_item">{l s='Ref.'}</th>
  165.                 <!--th class="cart_product">{l s='Product'}</th-->
  166.                 <th class="cart_description item">{l s='Description'}</th>
  167.                 <th class="cart_category item">{l s='Delivery time'}</th>
  168.                 {if $dealer}
  169.                 <th class="cart_availability item">{l s='Avail.'}</th>
  170.                 {/if}
  171.                 <th class="cart_unit item">{l s='Unit price'}</th>
  172.                 {if $dealer}
  173.                 <th class="cart_unit item">{l s='Dealer price'}</th>
  174.                 {/if}
  175.                 <th class="cart_quantity item">{l s='Qty'}</th>
  176.                 <th class="cart_total">{l s='Total'}</th>
  177.                 <th class="cart_delete last_item">{l s='Delete'}</th>
  178.             </tr>
  179.         </thead>
  180.         <tbody>
  181.         {foreach from=$products item=product name=productLoop}
  182.             {if $product.reference}
  183.             {assign var='productId' value=$product.id_product}
  184.             {assign var='productAttributeId' value=$product.id_product_attribute}
  185.             {assign var='quantityDisplayed' value=0}
  186.             {include file=$tpl_dir|cat:'shopping-cart-product-line.tpl'}
  187.             {* Then the customized datas ones *}
  188.             {if isset($customizedDatas.$productId.$productAttributeId)}
  189.                 {foreach from=$customizedDatas.$productId.$productAttributeId key='id_customization' item='customization'}
  190.                     <tr class="alternate_item cart_item">
  191.                         <td colspan="5">
  192.                             {foreach from=$customization.datas key='type' item='datas'}
  193.                                 {if $type == $CUSTOMIZE_FILE}
  194.                                     <div class="customizationUploaded">
  195.                                         <ul class="customizationUploaded">
  196.                                             {foreach from=$datas item='picture'}<li><img src="{$pic_dir}{$picture.value}_small" alt="" class="customizationUploaded" /></li>{/foreach}
  197.                                         </ul>
  198.                                     </div>
  199.                                 {elseif $type == $CUSTOMIZE_TEXTFIELD}
  200.                                     <ul class="typedText">
  201.                                         {foreach from=$datas item='textField' name='typedText'}<li>{if $textField.name}{$textField.name}{else}{l s='Text #'}{$smarty.foreach.typedText.index+1}{/if}{l s=':'} {$textField.value}</li>{/foreach}
  202.                                     </ul>
  203.                                 {/if}
  204.                             {/foreach}
  205.                         </td>
  206.                         <td class="cart_quantity">
  207.                             <a class="cart_quantity_delete" href="{$base_dir_ssl}cart.php?delete&amp;id_product={$product.id_product|intval}&amp;ipa={$product.id_product_attribute|intval}&amp;id_customization={$id_customization}&amp;token={$token_cart}"><img src="{$img_dir}icon/delete.gif" alt="{l s='Delete'}" title="{l s='Delete this customization'}" class="icon" /></a>
  208.                             <p>{$customization.quantity}</p>
  209.                         </td>
  210.                         <td class="cart_total"></td>
  211.                     </tr>
  212.                     {assign var='quantityDisplayed' value=$quantityDisplayed+$customization.quantity}
  213.                 {/foreach}
  214.                 {* If it exists also some uncustomized products *}
  215.                 {if $product.quantity-$quantityDisplayed > 0}{include file=$tpl_dir|cat:'shopping-cart-product-line.tpl'}{/if}
  216.             {/if}
  217.             {/if}
  218.         {/foreach}
  219.         {foreach from=$gifts item=product name=productLoop}
  220.             {include file=$tpl_dir|cat:'shopping-cart-gifts-line.tpl'}
  221.         {/foreach}
  222.         </tbody>
  223.     {if $discounts AND $total_discounts != 0}
  224.         <tbody>
  225.         {foreach from=$discounts item=discount name=discountLoop}
  226.             <tr class="cart_discount {if $smarty.foreach.discountLoop.last}last_item{elseif $smarty.foreach.discountLoop.first}first_item{else}item{/if}">
  227.                 <td class="cart_discount_name" colspan="2">{$discount.name}</td>
  228.                 <td class="cart_discount_description" colspan="3">{$discount.description}</td>
  229.                 <td class="cart_discount_price"><span class="price-discount">
  230.                     {if $discount.value_real > 0}
  231.                         {if !$priceDisplay}{displayPrice price=$discount.value_real*-1}{else}{displayPrice price=$discount.value_tax_exc*-1}{/if}
  232.                     {/if}
  233.                 </span></td>
  234.                 <td class="cart_discount_delete"><a href="{$base_dir_ssl}order.php?deleteDiscount={$discount.id_discount}" title="{l s='Delete'}"><img src="{$img_dir}icon/delete.gif" alt="{l s='Delete'}" class="icon" /></a></td>
  235.             </tr>
  236.         {/foreach}
  237.         </tbody>
  238.     {/if}
  239.     </table>
  240.     {if $show_deliver_types}
  241.     <div class="chooseOneDeliverType">
  242.         <p>
  243.             {l s='Please choose'}:
  244.         </p>
  245.         <input type="radio" name="deliver_type" value="0" />
  246.         <label><strong>{l s='Available to deliver the goods within 3-4 days, while remaining within 3-4 weeks'}</strong></label><br />
  247.         <input type="radio" name="deliver_type" value="1" checked="checked" />
  248.         <label><strong>{l s='Deliver all goods within 3-4 weeks'}</strong></label>
  249.     </div>
  250.     {/if}
  251. </div>
  252. </div>
  253. <br/><br/><br/>
  254. <hr/>
  255. <script type="text/javascript">
  256. <!--
  257.    var addresses = new Array();
  258.    {foreach from=$addresses key=k item=address}
  259.        addresses[{$address.id_address|intval}] = new Array('{$address.company|addslashes}', '{$address.firstname|addslashes}', '{$address.lastname|addslashes}', '{$address.address1|addslashes}', '{$address.phone_mobile|addslashes}', '{$address.postcode|addslashes}', '{$address.city|addslashes}', '{$address.country|addslashes}', '{$address.other|addslashes}', '{$address.alias|addslashes}', '{$address.company_code|addslashes}', '{$address.vat_code|addslashes}');
  260.    {/foreach}
  261.    var submitedForm = '{$submitedForm}';
  262. -->
  263. </script>
  264. <script type="text/javascript" src="{$js_dir}order-address.js"></script>
  265. {capture name=path}{l s='Addresses'}{/capture}
  266.     <div class="addresses" id="shippingAddress">
  267.         {if $stairsPrice >= 0}
  268.             <p class="checkbox nolenght sfSame">
  269.                 <input style="float: left;" type="checkbox" id="steps_deliver" name="steps_deliver" value="{$stairsPriceNoCurrency}" {if $cart->steps_deliver > 0}checked="checked"{/if} />
  270.                 <label for="stepsDeliver">{l s='Užnešimas laiptais'} +  {convertPrice price=$stairsPrice}.</label><i style="float: left; line-height: 12px;">{l s="Prekių virš 120 kg užnešimas laiptais negalimas"}</i>
  271.             </p>
  272.         {else}
  273.             <input style="display: none;" type="checkbox" id="steps_deliver" name="steps_deliver" value="1" />
  274.         {/if}
  275.         <br class="clear" />
  276.         <p class="checkbox nolenght sfSame">
  277.             <input checked="checked" type="checkbox" id="addressesAreEquals" value="1" name="same" onclick="updateAddressesDisplay();" {if !$checkedSame} {else if $cart->id_address_invoice == $cart->id_address_delivery || $addresses|@count == 1}checked="checked"{/if} />
  278.             <label for="addressesAreEquals">{l s='Use the same address for billing.'}</label>
  279.         </p>
  280.         <p id="address_invoice_form" class="address_add submit select">
  281.             <a href="{$base_dir_ssl}address.php?back=order.php&amp;step=1{if $back}&mod={$back}{/if}" title="{l s='Add'}" class="button_large">{l s='Add a new address'}</a>
  282.         </p>
  283.         {if $cookie->id_lang == "4" || $cookie->id_lang == "5"}
  284.                 {assign var="if_lang" value="true"}
  285.                 {/if}
  286.         <div class="clear"></div>
  287.         <fieldset class="pair first" id="address_delivery">
  288.             <div class="title"><div class="leftRound"></div><div class="rightRound"></div><h3>{l s='Your delivery address'}</h3></div>
  289.             <div class="content_block">
  290.                 <div class="topRound"></div><div class="bottomRound"></div>
  291.                 <input id="reloadValue" type="hidden" name="reloadValue" value="" />
  292.                 <input type="hidden" name="id_address" class="id_address" value="{$cart->id_address_delivery|escape:'htmlall':'UTF-8'}" maxlength="64" />
  293.                 <input type="hidden" name="token" value="{$token}" />
  294.                 <input type="hidden" name="firstname" class="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{else}{$first_address.firstname|escape:'htmlall':'UTF-8'}{/if}" />
  295.                 <input type="hidden" class="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{else}{$first_address.lastname|escape:'htmlall':'UTF-8'}{/if}" />
  296.                 <p {if $addresses|@count <= 1}style="display: none;"{/if} class="select">
  297.                     <label for="id_address_delivery"><small>{l s='Addresses'}</small></label>
  298.                     <select autocomplete="off" name="id_address_delivery" id="id_address_delivery" class="address_select" onchange="updateAddressesDisplay(false, 'delivery');">
  299.                         {section loop=$addresses step=-1 name=address}
  300.                                 <option value="{$addresses[address].id_address|intval}" {if $addresses[address].id_address == $cart->id_address_delivery}selected="selected"{/if}>{$addresses[address].alias|escape:'htmlall':'UTF-8'}</option>
  301.                         {/section}
  302.                     </select>
  303.                 </p>
  304.                 <p class="required text">
  305.                     <label for="city"><sup>*</sup>{l s='City / district'}:</label>
  306.                     <input type="text" name="city" class="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{else}{$first_address.city|escape:'htmlall':'UTF-8'}{/if}" maxlength="64" />
  307.                 </p>
  308.                 <p class="required text">
  309.                     <label for="postcode"{if $if_lang}style="padding-left:16px;padding-right:0px;"{/if}><sup>*</sup>{l s='Postal code / Zip code'}: {if $if_lang}<span style="font-weight:normal;">{if $cookie->id_lang == 4}LT{else}LV{/if}-</span>{/if}</label>
  310.                     <input type="text" class="postcode" name="postcode" {if $if_lang}style="margin-left:0px;"{/if} value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{$first_address.postcode|escape:'htmlall':'UTF-8'}{/if}" />
  311.                 </p>
  312.                 <p class="required text">
  313.                     <label for="address1"><sup>*</sup>{l s='Address'}:</label>
  314.                     <input type="text" class="address1" name="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{else}{$first_address.address1|escape:'htmlall':'UTF-8'}{/if}" />
  315.                 </p>
  316.                 <p class="required text">
  317.                     <label for="phone_mobile"><sup>*</sup>{l s='Phone'}:</label>
  318.                     <input type="text" class="phone_mobile" name="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{else}{$first_address.phone_mobile|escape:'htmlall':'UTF-8'}{/if}" />
  319.                 </p>
  320.                 <p class="required select" >
  321.                     <label for="id_country"><sup>*</sup>{l s='Country'}:</label>
  322.                     <select class="id_country" name="id_country">{$countries_list}</select>
  323.                     <img class="countryPreloader" class="icon" alt="Atnaujinama" src="{$base_dir_ssl}themes/vssport_new/img2/preloader.gif" />
  324.                 </p>
  325.                 <p class="text">
  326.                     <label for="company">{l s='Company'}:</label>
  327.                     <input type="text" id="company" name="company" value="{$address.company|escape:'htmlall':'UTF-8'}" />
  328.                 </p>
  329.                 <p class="text">
  330.                     <label for="company_code">{l s='Company code'}:</label>
  331.                     <input type="text" id="company_code" name="company_code" value="{$address.company_code|escape:'htmlall':'UTF-8'}" />
  332.                 </p>
  333.                 <p class="text">
  334.                     <label for="vat_code">{l s='VAT code'}:</label>
  335.                     <input type="text" id="vat_code" name="vat_code" value="{$address.vat_code|escape:'htmlall':'UTF-8'}" />
  336.                 </p>
  337.                 <p class="textarea">
  338.                     <label for="other">{l s='Additional information'}:</label>
  339.                     <textarea class="other" name="other" cols="26" rows="3">{if isset($smarty.post.other)}{$smarty.post.other}{else}{$first_address.other|escape:'htmlall':'UTF-8'}{/if}</textarea>
  340.                 </p>
  341.                 <a class="address_update" href="{$base_dir_ssl}address.php?id_address={$address.id_address|intval}&amp;back=order.php&amp;step=1{if $back}&mod={$back}{/if}" title="{l s='Update'}">{l s='Update'}</a>
  342.                 <div class="clear"></div>
  343.             </div>
  344.         </fieldset>
  345.         <fieldset class="pair" id="address_invoice">
  346.             <div class="title"><div class="leftRound"></div><div class="rightRound"></div><h3>{l s='Your billing address'}</h3></div>
  347.             <div class="content_block">
  348.                 <div class="topRound"></div><div class="bottomRound"></div>
  349.                 <input type="hidden" name="id_address2" class="id_address" value="{$invoice_address.id_address|escape:'htmlall':'UTF-8'}" maxlength="64" />
  350.                 <input type="hidden" name="token" value="{$token}" />
  351.                 <input type="hidden" name="firstname2" class="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{else}{$invoice_address.firstname|escape:'htmlall':'UTF-8'}{/if}" />
  352.                 <input type="hidden" class="lastname" name="lastname2" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{else}{$invoice_address.lastname|escape:'htmlall':'UTF-8'}{/if}" />
  353.                 <p {if $addresses|@count <= 1}style="display: none;"{/if} class="select">
  354.                     <label for="id_address_invoice" class="strong"><small>{l s='Addresses'}</small></label>
  355.                     <select autocomplete="off" name="id_address_invoice" id="id_address_invoice" class="address_select" onchange="updateAddressesDisplay(false, 'invoice');">
  356.                     {section loop=$addresses step=-1 name=address}
  357.                             <option value="{$addresses[address].id_address|intval}" {if $addresses[address].id_address == $cart->id_address_invoice && $cart->id_address_delivery != $cart->id_address_invoice}selected="selected"{/if}>{$addresses[address].alias|escape:'htmlall':'UTF-8'}</option>
  358.                    {/section}
  359.                    </select>
  360.                </p>
  361.                <p class="required text">
  362.                    <label for="city"><sup>*</sup>{l s='City / district'}:</label>
  363.                    <input type="text" name="city2" class="city" value="{if isset($smarty.post.city2)}{$smarty.post.city2}{else}{$invoice_address.city|escape:'htmlall':'UTF-8'}{/if}" maxlength="64" />
  364.                </p>
  365.                <p class="required text">
  366.                    <label for="postcode"{if $if_lang}style="padding-left:16px;padding-right:0px;"{/if}><sup>*</sup>{l s='Postal code / Zip code'}: {if $if_lang}<span style="font-weight:normal;">{if $cookie->id_lang == 4}LT{else}LV{/if}-</span>{/if}</label>
  367.                     <input type="text" class="postcode" {if $if_lang}style="margin-left:0px;"{/if} name="postcode2" value="{if isset($smarty.post.postcode2)}{$smarty.post.postcode2}{else}{$invoice_address.postcode|escape:'htmlall':'UTF-8'}{/if}" />
  368.                 </p>
  369.                 <p class="required text">
  370.                     <label for="address1"><sup>*</sup>{l s='Address'}:</label>
  371.                     <input type="text" class="address1" name="address12" value="{if isset($smarty.post.address12)}{$smarty.post.address12}{else}{$invoice_address.address1|escape:'htmlall':'UTF-8'}{/if}" />
  372.                 </p>
  373.                 <p class="required text">
  374.                     <label for="phone_mobile2"><sup>*</sup>{l s='Phone'}:</label>
  375.                     <input type="text" class="phone_mobile" name="phone_mobile2" value="{if isset($smarty.post.phone_mobile2)}{$smarty.post.phone_mobile2}{else}{$invoice_address.phone_mobile|escape:'htmlall':'UTF-8'}{/if}" />
  376.                 </p>
  377.                 <p class="required select">
  378.                     <label for="id_country"><sup>*</sup>{l s='Country'}:</label>
  379.                     <select class="id_country" name="id_country2">{$countries_list}</select>
  380.                 </p>
  381.                 <p class="text">
  382.                     <label for="company2">{l s='Company'}:</label>
  383.                     <input type="text" class="company" name="company2" value="{$invoice_address.company|escape:'htmlall':'UTF-8'}" />
  384.                 </p>
  385.                 <p class="text">
  386.                     <label for="company_code2">{l s='Company code'}:</label>
  387.                     <input type="text" class="company_code" name="company_code2" value="{$invoice_address.company_code|escape:'htmlall':'UTF-8'}" />
  388.                 </p>
  389.                 <p class="text">
  390.                     <label for="vat_code2">{l s='VAT code'}:</label>
  391.                     <input type="text" class="vat_code" name="vat_code2" value="{$invoice_address.vat_code|escape:'htmlall':'UTF-8'}" />
  392.                 </p>
  393.                 <p class="textarea">
  394.                     <label for="other">{l s='Additional information'}:</label>
  395.                     <textarea class="other" name="other2" cols="26" rows="3">{if isset($smarty.post.other)}{$smarty.post.other}{else}{$invoice_address.other|escape:'htmlall':'UTF-8'}{/if}</textarea>
  396.                 </p>
  397.                 <a class="address_update" href="{$base_dir_ssl}address.php?id_address={$address.id_address|intval}&amp;back=order.php&amp;step=1{if $back}&mod={$back}{/if}" title="{l s='Update'}">{l s='Update'}</a>
  398.                 <div class="clear"></div>
  399.             </div>
  400.         </fieldset>
  401.         <div class="clear"></div>
  402.     </div>
  403.     </div>
  404.     {if $conditions}
  405.     <p class="checkbox rulesConfirmation">
  406.         <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} />
  407.         <label class="cgv" for="cgv">{l s='I agree with the terms of service and I adhere to them unconditionally.'}</label> <a target="_blank" href="{$link_conditions}" class="thickbox">{l s='(read)'}</a>
  408.     </p>
  409.         {/if}
  410.     <p class="cart_navigation submit">
  411.         <input type="hidden" name="step" value="3" />
  412.         <input type="hidden" name="back" value="{$back}" />
  413.         <a href="{$base_dir_ssl}order.php" title="{l s='Previous'}" class="button back_button">&laquo; {l s='Previous'}</a>
  414.         <input type="submit" name="processCarrier" value="{l s='Next'} &raquo;" class="exclusive" />
  415.     </p>
  416. </form>
  417. </div>
  418. </div>
  419. </fieldset>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement