- Timestamp:
- 2008/03/04 14:30:57 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/Smarty/templates/default/mobile/products/detail.tpl
r17101 r17103 36 36 <!--{/if}--> 37 37 <img src="<!--{$arrFile[$key].filepath}-->"> 38 <!--{if count($arrFile) > 1}-->38 <!--{if $subImageFlag == true}--> 39 39 <br>画像 40 <!--{foreach from=$arrFile item=i key=k name=image}--> 41 <!--{if $k == $smarty.get.image || ($smarty.get.image == "" && $k == "main_image")}--> 42 [<!--{$smarty.foreach.image.index+1}-->] 40 <!--{if ($smarty.get.image == "" || $smarty.get.image == "main_image")}--> 41 [1] 42 <!--{else}--> 43 [<a href="<!--{$smarty.server.PHP_SELF|escape}-->?product_id=<!--{$smarty.get.product_id}-->&image=main_image">1</a>] 44 <!--{/if}--> 45 46 <!--{assign var=num value="2"}--> 47 <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> 48 <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}--> 49 <!--{if $arrFile[$key].filepath != ""}--> 50 <!--{if $key == $smarty.get.image}--> 51 [<!--{$num}-->] 43 52 <!--{else}--> 44 [<a href="<!--{$smarty.server.PHP_SELF|escape}-->?product_id=<!--{$smarty.get.product_id}-->&image=<!--{$k }-->"><!--{$smarty.foreach.image.index+1}--></a>]53 [<a href="<!--{$smarty.server.PHP_SELF|escape}-->?product_id=<!--{$smarty.get.product_id}-->&image=<!--{$key}-->"><!--{$num}--></a>] 45 54 <!--{/if}--> 46 <!--{/foreach}--> 55 <!--{assign var=num value="`$num+1`"}--> 56 <!--{/if}--> 57 <!--{/section}--> 47 58 <!--{/if}--> 48 59 <br>
Note: See TracChangeset
for help on using the changeset viewer.