source: branches/version-2_12-multilang/data/Smarty/templates/admin/total/page_products.tpl @ 22434

Revision 22434, 2.9 KB checked in by adachi, 11 years ago (diff)

#2060 メッセージIDの振り直し:tpl_tpl361 - tpl420

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24
25<table id="total-products" class="list">
26    <tr>
27        <th><!--{t string="tpl_Ranking_01"}--></th>
28        <th><!--{t string="tpl_Product code_01"}--></th>
29        <th><!--{t string="tpl_Product name_01"}--></th>
30        <th><!--{t string="tpl_692"}--></th>
31        <th><!--{t string="tpl_Quantity_01"}--></th>
32        <th><!--{t string="tpl_Unit price_01"}--></th>
33        <th><!--{t string="tpl_502"}--></th>
34    </tr>
35
36    <!--{section name=cnt loop=$arrResults}-->
37        <!--{* 色分け判定 *}-->
38        <!--{assign var=type value="`$smarty.section.cnt.index%2`"}-->
39        <!--{if $type == 0}-->
40            <!--{* 偶数行 *}-->
41            <!--{assign var=color value="even"}-->
42        <!--{else}-->
43            <!--{* 奇数行 *}-->
44            <!--{assign var=color value="odd"}-->
45        <!--{/if}-->
46
47        <tr class="<!--{$color}-->">
48            <td class="center"><!--{*順位*}--><!--{$smarty.section.cnt.iteration}--></td>
49            <td class="right"><!--{*商品コード*}--><!--{$arrResults[cnt].product_code|h}--></td>
50            <td class="left"><!--{*商品名*}--><!--{$arrResults[cnt].product_name|sfCutString:40:false|h}--></td>
51            <td class="right"><!--{*購入件数*}--><!--{t string="tpl_701" T_FIELD=$arrResults[cnt].order_count}--></td>
52            <td class="right"><!--{*数量*}--><!--{$arrResults[cnt].products_count}--></td>
53            <td class="right"><!--{*単価*}--><!--{t string="tpl_500" escape="none" T_FIELD=$arrResults[cnt].price|number_format}--></td>
54            <td class="right"><!--{*金額*}--><!--{t string="tpl_500" escape="none" T_FIELD=$arrResults[cnt].total|number_format}--></td>
55        </tr>
56    <!--{/section}-->
57
58    <tr>
59        <th><!--{t string="tpl_Ranking_01"}--></th>
60        <th><!--{t string="tpl_Product code_01"}--></th>
61        <th><!--{t string="tpl_Product name_01"}--></th>
62        <th><!--{t string="tpl_692"}--></th>
63        <th><!--{t string="tpl_Quantity_01"}--></th>
64        <th><!--{t string="tpl_Unit price_01"}--></th>
65        <th><!--{t string="tpl_502"}--></th>
66    </tr>
67</table>
Note: See TracBrowser for help on using the repository browser.