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

Revision 19785, 5.5 KB checked in by Seasoft, 13 years ago (diff)

#862(テンプレート上のエスケープを簡単に)
#628(未使用処理・定義などの削除)

  • Smarty 変数 tpl_start

#879(jQuery の ready イベントと競合する body の onload イベントを使用している)

  • Property svn:eol-style set to LF
  • 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-2010 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<!--{* ▼CONTENTS *}-->
25<div id="home">
26
27    <!--{* お知らせここから *}-->
28    <div id="home-info">
29        <!--{foreach item=info from=$arrInfo}-->
30        <dl class="home-info-item">
31            <dt class="date"><!--{$info.disp_date|sfDispDBDate:false|h}--></dt>
32            <dt class="title"><!--{$info.title}--></dt>
33            <dd class="body"><!--{$info.body}--></dd>
34        </dl>
35        <!--{/foreach}-->
36    </div>
37    <!--{* お知らせここまで *}-->
38
39    <!--{* メインエリア *}-->
40    <div id="home-main">
41    <form name="form1" method="post" action="#">
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.URL_DIR}--><!--{$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>受注日</th>
116                    <th>顧客名</th>
117                    <th>購入商品</th>
118                    <th>支払方法</th>
119                    <th>購入金額(円)</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>
138<!--{* ▲CONTENTS *}-->
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
Note: See TracBrowser for help on using the repository browser.