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

Revision 22058, 8.9 KB checked in by h_yoshimoto, 11 years ago (diff)

#1955 r21998~r22057間のコミットをmerge

  • 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<div id="total" class="contents-main">
26    <!--{* 検索条件設定テーブルここから *}-->
27    <table summary="検索条件設定テーブル" class="input-form form">
28        <tr>
29            <th>月度集計</th>
30            <td>
31                <form name="search_form1" id="search_form1" method="post" action="?">
32                    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
33                    <input type="hidden" name="mode" value="search" />
34                    <input type="hidden" name="form" value="1" />
35                    <input type="hidden" name="page" value="<!--{$arrForm.page.value|h}-->" />
36                    <input type="hidden" name="type" value="<!--{$smarty.post.type|h}-->" />
37                    <!--{if $arrErr.search_startyear_m || $arrErr.search_endyear_m}-->
38                        <span class="attention"><!--{$arrErr.search_startyear_m}--></span>
39                        <span class="attention"><!--{$arrErr.search_endyear_m}--></span>
40                    <!--{/if}-->
41                    <select name="search_startyear_m"    style="<!--{$arrErr.search_startyear_m|sfGetErrorColor}-->">
42                        <!--{html_options options=$arrYear selected=$arrForm.search_startyear_m.value}-->
43                    </select>年
44                    <select name="search_startmonth_m" style="<!--{$arrErr.search_startyear_m|sfGetErrorColor}-->">
45                        <!--{html_options options=$arrMonth selected=$arrForm.search_startmonth_m.value}-->
46                    </select>月度 (<!--{if $smarty.const.CLOSE_DAY == 31}-->末<!--{else}--><!--{$smarty.const.CLOSE_DAY}--><!--{/if}-->日締め)
47                    <a class="btn-normal" href="javascript:;" onclick="fnFormModeSubmit('search_form1', 'search', '', ''); return false;" name="subm">月度で集計する</a>
48                </form>
49            </td>
50        </tr>
51        <tr>
52            <th>期間集計</th>
53            <td>
54                <form name="search_form2" id="search_form2" method="post" action="?">
55                    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
56                    <input type="hidden" name="mode" value="search" />
57                    <input type="hidden" name="form" value="2" />
58                    <input type="hidden" name="page" value="<!--{$arrForm.page.value|h}-->" />
59                    <input type="hidden" name="type" value="<!--{$smarty.post.type|h}-->" />
60                    <!--{if $arrErr.search_startyear || $arrErr.search_endyear}-->
61                        <span class="attention"><!--{$arrErr.search_startyear}--></span>
62                        <span class="attention"><!--{$arrErr.search_endyear}--></span>
63                    <!--{/if}-->
64                    <select name="search_startyear"    style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
65                        <option value="">----</option>
66                        <!--{html_options options=$arrYear selected=$arrForm.search_startyear.value|h}-->
67                    </select>年
68                    <select name="search_startmonth" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
69                        <option value="">--</option>
70                        <!--{html_options options=$arrMonth selected=$arrForm.search_startmonth.value|h}-->
71                    </select>月
72                    <select name="search_startday" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
73                        <option value="">--</option>
74                        <!--{html_options options=$arrDay selected=$arrForm.search_startday.value|h}-->
75                    </select>日~
76                    <select name="search_endyear" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
77                        <option value="">----</option>
78                        <!--{html_options options=$arrYear selected=$arrForm.search_endyear.value|h}-->
79                    </select>年
80                    <select name="search_endmonth" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
81                        <option value="">--</option>
82                        <!--{html_options options=$arrMonth selected=$arrForm.search_endmonth.value|h}-->
83                    </select>月
84                    <select name="search_endday" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
85                        <option value="">--</option>
86                        <!--{html_options options=$arrDay selected=$arrForm.search_endday.value|h}-->
87                    </select>日
88                    <a class="btn-normal" href="javascript:;" onclick="fnFormModeSubmit('search_form2', 'search', '', ''); return false;" name="subm">期間で集計する</a>
89                </form>
90            </td>
91        </tr>
92    </table>
93    <!--{* 検索条件設定テーブルここまで *}-->
94
95
96    <!--{* 検索結果一覧ここから *}-->
97    <!--{if count($arrResults) > 0}-->
98        <form name="form1" id="form1" method="post" action="?">
99        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
100        <input type="hidden" name="mode" value="search" />
101        <input type="hidden" name="form" value="<!--{$arrForm.form.value|h}-->" />
102        <input type="hidden" name="type" value="<!--{$arrForm.type.value|h}-->" />
103        <input type="hidden" name="page" value="<!--{$arrForm.page.value|h}-->" />
104        <!--{foreach key=key item=item from=$arrHidden}-->
105            <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
106        <!--{/foreach}-->
107
108            <!--検索結果表示テーブル-->
109            <h2><!--{include file=$tpl_graphsubtitle}--></h2>
110
111            <div class="btn">
112                <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"><span>CSVダウンロード</span></a>
113            </div>
114
115            <!--{* グラフ表示 *}-->
116                <!--{if $install_GD}-->
117                <div id="graph-image">
118                    <!--{* <img src="<!--{$tpl_image}-->?<!--{$cashtime}-->" alt="グラフ"> *}-->
119                    <img src="?draw_image=true&amp;type=<!--{$smarty.post.type|h}-->&amp;mode=search&amp;page=<!--{$smarty.post.page|h}-->&amp;search_startyear_m=<!--{$smarty.post.search_startyear_m|h}-->&amp;search_startmonth_m=<!--{$smarty.post.search_startmonth_m|h}-->&amp;search_startyear=<!--{$smarty.post.search_startyear|h}-->&amp;search_startmonth=<!--{$smarty.post.search_startmonth|h}-->&amp;search_startday=<!--{$smarty.post.search_startday|h}-->&amp;search_endyear=<!--{$smarty.post.search_endyear|h}-->&amp;search_endmonth=<!--{$smarty.post.search_endmonth|h}-->&amp;search_endday=<!--{$smarty.post.search_endday|h}-->" alt="グラフ" />
120                </div>
121                <!--{/if}-->
122            <!--{* グラフ表示 *}-->
123
124            <!--{* ▼検索結果テーブルここから *}-->
125            <!--{include file=$tpl_page_type}-->
126            <!--{* ▲検索結果テーブルここまで *}-->
127            <!--検索結果表示テーブル-->
128        </form>
129    <!--{else}-->
130        <!--{if $smarty.post.mode == 'search'}-->
131            <form name="form1" id="form1" method="post" action="?">
132            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
133            <input type="hidden" name="mode" value="search" />
134            <input type="hidden" name="type" value="<!--{$arrForm.type.value|h}-->" />
135            <input type="hidden" name="page" value="<!--{$arrForm.page.value|h}-->" />
136            <!--{foreach key=key item=item from=$arrHidden}-->
137                <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
138            <!--{/foreach}-->
139            <!--検索結果表示テーブル-->
140            <h2><!--{include file=$tpl_graphsubtitle}--></h2>
141            <div class="message">
142                該当するデータはありません。
143            </div>
144            <!--検索結果表示テーブル-->
145            </form>
146        <!--{/if}-->
147    <!--{/if}-->
148    <!--{* 検索結果一覧ここまで *}-->
149</div>
Note: See TracBrowser for help on using the repository browser.