- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
<form style="height:15px ; width:100px"method=post name='ChangeCurrencyForm'>
{literal}
<script language='JavaScript'>
function _changeCurrency()
{
document.ChangeCurrencyForm.submit();
}
</script>
{/literal}
<select name='current_currency' onchange='JavaScript:_changeCurrency()'>
{section name=i loop=$currencies}
{if $log eq "" && $currencies[i].CID eq 2 | $currencies[i].CID eq 3 | $currencies[i].CID eq 4 | $currencies[i].CID eq 5 | $currencies[i].CID eq 6}
{*розница*} {elseif ($log eq "" or $log eq "" or $log eq "tigrakiev") && $currencies[i].CID eq 2 | $currencies[i].CID eq 3 | $currencies[i].CID eq 5 | $currencies[i].CID eq 6}
{*мелкий опт*} {elseif ($log eq "" or $log eq "") && $currencies[i].CID eq 2 | $currencies[i].CID eq 3 | $currencies[i].CID eq 4 | $currencies[i].CID eq 6}
{*опт*} {elseif ($log eq "") && $currencies[i].CID eq 2 | $currencies[i].CID eq 3 | $currencies[i].CID eq 4 | $currencies[i].CID eq 5}
{*плейлист*} {elseif ($log ne "" && $log ne "" && $log ne "" && $log ne "" && $log ne "" && $log ne "" && $log ne "") && $currencies[i].CID eq 2 | $currencies[i].CID eq 3 | $currencies[i].CID eq 4 | $currencies[i].CID eq 5 | $currencies[i].CID eq 6}
{else}
<option value='{$currencies[i].CID}'
{if $currencies[i].CID eq $current_currency}
selected
{/if}
>
{$currencies[i].Name}
</option>
{/if}
{/section}
</select>