source: branches/version-2_12-dev/data/Smarty/templates/admin/home.tpl @ 21537

Revision 21537, 5.3 KB checked in by Seasoft, 12 years ago (diff)

#1613 (ソース整形・ソースコメントの改善)

  • 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-2011 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<div id="home">
25
26    <!--{* お知らせここから *}-->
27    <div id="home-info">
28        <!--{foreach item=info from=$arrInfo}-->
29            <dl class="home-info-item">
30                <dt class="date"><!--{$info.disp_date|sfDispDBDate:false|h}--></dt>
31                <dt class="title"><!--{$info.title}--></dt>
32                <dd class="body"><!--{$info.body}--></dd>
33            </dl>
34        <!--{/foreach}-->
35    </div>
36    <!--{* お知らせここまで *}-->
37
38    <!--{* メインエリア *}-->
39    <div id="home-main">
40        <form name="form1" method="post" action="#">
41        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
42
43        <!--{* システム情報ここから *}-->
44        <h2>システム情報</h2>
45        <table summary="システム情報" class="shop-info">
46            <tr>
47                <th>EC-CUBEバージョン</td>
48                <td><!--{$smarty.const.ECCUBE_VERSION}--></td>
49            </tr>
50            <tr>
51                <th>PHPバージョン</td>
52                <td><!--{$php_version}--></td>
53            </tr>
54            <tr>
55                <th>DBバージョン</td>
56                <td><!--{$db_version}--></td>
57            </tr>
58            <tr>
59                <th>詳細</td>
60                <td><a href="<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->system/system.php">システム設定>システム情報</a></td>
61            </tr>
62        </table>
63        <!--{* システム情報ここまで *}-->
64
65        <!--{* ショップの状況ここから *}-->
66        <h2>ショップの状況</h2>
67        <table summary="ショップの状況" class="shop-info">
68            <tr>
69                <th>現在の会員数</td>
70                <td><!--{$customer_cnt|default:"0"|number_format}-->名</td>
71            </tr>
72            <tr>
73                <th>昨日の売上高</td>
74                <td><!--{$order_yesterday_amount|default:"0"|number_format}-->円</td>
75            </tr>
76            <tr>
77                <th>昨日の売上件数</td>
78                <td><!--{$order_yesterday_cnt|default:"0"|number_format}-->件</td>
79            </tr>
80            <tr>
81                <th><span>今月の売上高</span><span>(昨日まで) </span></td>
82                <td><!--{$order_month_amount|default:"0"|number_format}-->円</td>
83            </tr>
84            <tr>
85                <th><span>今月の売上件数 </span><span>(昨日まで) </span></td>
86                <td><!--{$order_month_cnt|default:"0"|number_format}-->件</td>
87            </tr>
88            <tr>
89                <th>昨日のレビュー書き込み数</td>
90                <td><!--{$review_yesterday_cnt|default:"0"}-->件</td>
91            </tr>
92            <tr>
93                <th>会員の保持ポイント合計</td>
94                <td><!--{$customer_point|default:"0"}-->pt</td>
95            </tr>
96            <tr>
97                <th>レビュー書き込み非表示数</td>
98                <td><!--{$review_nondisp_cnt|default:"0"}-->件</td>
99            </tr>
100            <tr>
101                <th>品切れ商品</td>
102                <td>
103                <!--{section name=i loop=$arrSoldout}-->
104                <!--{$arrSoldout[i].product_id}-->:<!--{$arrSoldout[i].name|h}--><br />
105                <!--{/section}-->
106                </td>
107            </tr>
108        </table>
109        <!--{* ショップの状況ここまで *}-->
110
111        <!--{* 新規受付一覧ここから *}-->
112        <h2>新規受付一覧</h2>
113        <table summary="新規受付一覧" id="home-order">
114            <tr>
115                <th class="center">受注日</th>
116                <th class="center">お名前</th>
117                <th class="center">購入商品</th>
118                <th class="center">支払方法</th>
119                <th class="center">購入金額(円)</th>
120            </tr>
121            <!--{section name=i loop=$arrNewOrder}-->
122            <tr>
123                <td><!--{$arrNewOrder[i].create_date}--></td>
124                <td><!--{$arrNewOrder[i].name01|h}--> <!--{$arrNewOrder[i].name02|h}--></td>
125                <td><!--{$arrNewOrder[i].product_name|h}--></td>
126                <td><!--{$arrNewOrder[i].payment_method|h}--></td>
127                <td class="right"><!--{$arrNewOrder[i].total|number_format}-->円</td>
128            </tr>
129            <!--{/section}-->
130        </table>
131        <!--{* 新規受付一覧ここまで *}-->
132
133        </form>
134    </div>
135    <!--{* メインエリア *}-->
136
137</div>
Note: See TracBrowser for help on using the repository browser.