source: branches/comu-ver2/data/Smarty/templates/default/admin/total/index.tpl @ 18254

Revision 18254, 7.2 KB checked in by Seasoft, 15 years ago (diff)

#528(改行コードが混在している)を改修

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