You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.7 KiB
33 lines
1.7 KiB
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<div class="addCartAttr">
|
|
<div class="attr_list">
|
|
{foreach from=$spe_array item=spe_list}
|
|
<div class="item">
|
|
<div class="dt">{$spe_list.name}:</div>
|
|
<div class="dd">
|
|
{if $spe_list.attr_type==1}
|
|
<ul>
|
|
{foreach from=$spe_list.values item=val name=spe}
|
|
{if $smarty.foreach.spe.iteration < 2}
|
|
<li class="selected"><b></b><a href="javascript:void(0)">{$val.label}</a><input class="hide" id="spec_value_{$val.id}" type="radio" checked name="spec_{$spe_list.attr_id}" value="{$val.id}" /></li>
|
|
{else}
|
|
<li><b></b><a href="javascript:void(0)">{$val.label}</a><input class="hide" id="spec_value_{$val.id}" type="radio" name="spec_{$spe_list.attr_id}" value="{$val.id}" /></li>
|
|
{/if}
|
|
{/foreach}
|
|
</ul>
|
|
{else}
|
|
<ul>
|
|
{foreach from=$spe_list.values item=val name=spe}
|
|
{if $smarty.foreach.spe.iteration < 2}
|
|
<li class="selected"><b></b><a href="javascript:void(0)">{$val.label}</a><input class="hide" id="spec_value_{$val.id}" type="checkbox" checked name="spec_{$spe_list.attr_id}" value="{$val.id}" /></li>
|
|
{else}
|
|
<li><b></b><a href="javascript:void(0)">{$val.label}</a><input class="hide" id="spec_value_{$val.id}" type="checkbox" name="spec_{$spe_list.attr_id}" value="{$val.id}" /></li>
|
|
{/if}
|
|
{/foreach}
|
|
</ul>
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
{/foreach}
|
|
</div>
|
|
</div>
|