Changeset 21073 for branches/version-2_11-dev/data/Smarty/templates/sphone/frontparts/bloc/category.tpl
- Timestamp:
- 2011/07/29 15:25:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/Smarty/templates/sphone/frontparts/bloc/category.tpl
r21050 r21073 75 75 </section> 76 76 <!-- ▲カテゴリ --> 77 78 <!--{* デフォルト 79 <!--商品カテゴリーここから--> 80 <div id="topcatarea"> 81 <h2 id="title-category" class="title-side">商品カテゴリ</h2> 82 </div> 83 84 <div id="block-category" class="block-side"> 85 <div class="create-box"> 86 87 <ul id="categorytree"> 88 <!--{assign var=preLev value=1}--> 89 <!--{assign var=firstdone value=0}--> 90 <!--{section name=cnt loop=$arrTree}--> 91 <!--{if $arrTree[cnt].view_flg != "2"}--> 92 <!--{assign var=level value=`$arrTree[cnt].level`}--> 93 <!--{if $level <= 2 || $arrTree[cnt].display == 1}--> 94 <!--{assign var=levdiff value=`$level-$preLev`}--> 95 <!--{if $levdiff > 0}--> 96 <ul> 97 <!--{elseif $levdiff == 0 && $firstdone == 1}--> 98 </li> 99 <!--{elseif $levdiff < 0}--> 100 <!--{section name=d loop=`$levdiff*-1`}--> 101 </li> 102 </ul> 103 <!--{/section}--> 104 </li> 105 <!--{/if}--> 106 107 <li class="level<!--{$level}--><!--{if in_array($arrTree[cnt].category_id, $tpl_category_id)}--> onmark<!--{/if}-->"><span class="category_header"></span><span class="category_body"><a href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrTree[cnt].category_id}-->"<!--{if in_array($arrTree[cnt].category_id, $tpl_category_id)}--> class="onlink"<!--{/if}-->><!--{$arrTree[cnt].category_name|h}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a></span> 108 <!--{if $firstdone == 0}--><!--{assign var=firstdone value=1}--><!--{/if}--> 109 <!--{assign var=preLev value=`$level`}--> 110 <!--{/if}--> 111 <!--{if $smarty.section.cnt.last}--> 112 <!--{if $preLev-1 > 0}--> 113 <!--{section name=d loop=`$preLev-1`}--> 114 </li> 115 </ul> 116 <!--{/section}--> 117 </li> 118 <!--{else}--> 119 </li> 120 <!--{/if}--> 121 <!--{/if}--> 122 <!--{/if}--> 123 <!--{/section}--> 124 </ul> 125 126 </div> 127 </div> 128 129 <!--{if $arrTree|@count > 0}--> 130 <script type="text/javascript" language="JavaScript"> 131 //<![CDATA[ 132 initCategoryList(); //カテゴリーリストの初期化 133 //]]> 134 </script> 135 <!--{/if}--> 136 137 <!--商品カテゴリーここまで--> 138 *}-->
Note: See TracChangeset
for help on using the changeset viewer.