From 363a9cce7812b80a4dadb58e6a3a11394c5afa8a Mon Sep 17 00:00:00 2001 From: andryeyev Date: Wed, 16 Dec 2015 12:19:42 +0200 Subject: [PATCH] - подарочный коврик --- templates/box/_product.tpl | 67 ------------------------------------------------------------------- templates/box/product.tpl | 5 +---- templates/box/product_kite.tpl | 4 +--- templates/catalogs_product.tpl | 5 +---- 4 files changed, 3 insertions(+), 78 deletions(-) delete mode 100644 templates/box/_product.tpl diff --git a/templates/box/_product.tpl b/templates/box/_product.tpl deleted file mode 100644 index 302ac49..0000000 --- a/templates/box/_product.tpl +++ /dev/null @@ -1,67 +0,0 @@ -
- {* -
{if $rubric.list_name} {$rubric.list_name} {else} {$data[i].list_name} {/if}{$data[i].brend_name}
- *} -
- {$data[i].list_name} {$data[i].brend_name} - {if $data[i].sail eq 1} -
- {/if} -
-
- -
-
-
    -
  • {$data[i].rating}
  • -
  • 1
  • -
  • 2
  • -
  • 3
  • -
  • 4
  • -
  • 5
  • -
-
-

{$data[i].rating2} íà îñíîâå {$data[i].vote_num} ãîëîñîâ

-
- {if $data[i].cine eq 1} -
Òîâàð îæèäàåòñÿ
- {if $data[i].active>1}
{$data[i].active}
{/if} - {elseif $data[i].is_cost2 eq 1} -
{$data[i].cine}
-
{$data[i].cine2}
- {else} - {if $data[i].cine_last>0}
{$data[i].cine_last}
{/if} -
{if $data[i].salepc>0}{/if}{$data[i].cine} ãðí.{if $data[i].salepc>0}{/if}{if $rubric.is_usd eq 1}
{$data[i].cine|usd} ${/if}
{if $data[i].sale>0}*{/if}
- {/if} - - - - - - - {if $data[i].cine ne 1} - Êóïèòü
- {/if} - - - {if $data[i].salepc>0} - {assign var="twenty_procent" value="`$data[i].cine*$data[i].salepc/100`"} - -
= {$data[i].cine-$twenty_procent|round} ãðí.

- {/if} -
-
- {* - {$rubric.list_name} {$data[i].brend_name}, {if $rubric.literal eq 1}{$data[i].name|stripslashes|prodliteral}{else}{$data[i].name|stripslashes}{/if} - *} - {$data[i].ph1} {$rubric.list_name} {$data[i].brend_name} {$data[i].art}, {if $rubric.literal eq 1}{$data[i].name|stripslashes|prodliteral}{else}{$data[i].name|stripslashes}{/if} -
Íàëè÷èå è öåíû
óòî÷íÿéòå íà
ìîìåíò ïîêóïêè
-

{$data[i].about|stripslashes|strip_tags|truncate:100}

- {*
- - *} -
- {if $data[i].kovrick eq 1} - - {/if} -
\ No newline at end of file diff --git a/templates/box/product.tpl b/templates/box/product.tpl index 21317a3..c2efefe 100644 --- a/templates/box/product.tpl +++ b/templates/box/product.tpl @@ -60,8 +60,5 @@ {*
*} -
- {if $data[i].kovrick eq 1} - - {/if} +
\ No newline at end of file diff --git a/templates/box/product_kite.tpl b/templates/box/product_kite.tpl index f00d1d4..1a4a02c 100644 --- a/templates/box/product_kite.tpl +++ b/templates/box/product_kite.tpl @@ -61,7 +61,5 @@ *}
- {if $data[i].kovrick eq 1} - - {/if} + \ No newline at end of file diff --git a/templates/catalogs_product.tpl b/templates/catalogs_product.tpl index cd3f690..2bfcfca 100644 --- a/templates/catalogs_product.tpl +++ b/templates/catalogs_product.tpl @@ -72,10 +72,7 @@ {if $rubric.filter}{$rubric.filter}{else}{$smarty.const.FILTER_LABEL_3}{/if} {section name=i loop=$product_filters}{$product_filters[i].name} {/section}

{if $lang eq 'ukr'}{$product.about|stripslashes}{else}{$product.text|stripslashes}{/if} -

- {if $product.kovrick eq 1} - - {/if} +
{if $smarty.get.test eq 1} {/if} -- libgit2 0.21.4