M
M
Magnum0792017-05-30 19:34:05
Smarty
Magnum079, 2017-05-30 19:34:05

How to convert code to smarty?

Good!
I am a newbie in smart, please help me to transform the following code:

{if $LINK1}
  <p><a href="{$LINK1_URL}" target="{$LINK1_TARGET}">{$LINK1_TITLE}</a></p>
{/if}

{if $LINK2}
  <p><a href="{$LINK2_URL}" target="{$LINK2_TARGET}">{$LINK2_TITLE}</a></p>
{/if}

...
and so on up to $LINK32.
Please help me make this a cycle. Thanks in advance for replies :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Reshetnyak, 2018-07-11
@Vampireos

https://www.yandex.ru/search/?clid=2186621&text=sm...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question