1 | <!--{*
|
---|
2 | /*
|
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
|
---|
4 | *
|
---|
5 | * http://www.lockon.co.jp/
|
---|
6 | */
|
---|
7 | *}-->
|
---|
8 | <!--★★メインコンテンツ★★-->
|
---|
9 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
10 | <form name="form1" id="form1" method="POST" action="<!--{$smarty.server.PHP_SELF|escape}-->" >
|
---|
11 | <input type="hidden" name="mode" value="">
|
---|
12 | <input type="hidden" name="status" value="<!--{if $arrForm.status == ""}-->1<!--{else}--><!--{$arrForm.status}--><!--{/if}-->" >
|
---|
13 | <input type="hidden" name="search_pageno" value="<!--{$tpl_pageno}-->" >
|
---|
14 | <input type="hidden" name="order_id" value="">
|
---|
15 | <tr valign="top">
|
---|
16 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
|
---|
17 | <!-- サブナビ -->
|
---|
18 | <!--{include file=$tpl_subnavi}-->
|
---|
19 | </td>
|
---|
20 | <td class="mainbg">
|
---|
21 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
22 | <!--メインエリア-->
|
---|
23 | <tr>
|
---|
24 | <td align="center">
|
---|
25 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
26 | <tr><td height="14"></td></tr>
|
---|
27 | <tr>
|
---|
28 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
29 | </tr>
|
---|
30 | <tr>
|
---|
31 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
32 | <td bgcolor="#cccccc">
|
---|
33 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
34 | <tr>
|
---|
35 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
36 | </tr>
|
---|
37 | <tr>
|
---|
38 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
|
---|
39 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->ステータス管理</span></td>
|
---|
40 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
|
---|
41 | </tr>
|
---|
42 | <tr>
|
---|
43 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
44 | </tr>
|
---|
45 | <tr>
|
---|
46 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
47 | </tr>
|
---|
48 | </table>
|
---|
49 | <!--登録テーブルここから-->
|
---|
50 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
51 | <tr bgcolor="#ffffff">
|
---|
52 | <td bgcolor="#ffffff" align="center" valign="top" height="400">
|
---|
53 | <!--{if $tpl_linemax > 0 }-->
|
---|
54 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
55 | <tr>
|
---|
56 | <td>
|
---|
57 | <select name="change_status">
|
---|
58 | <option value="" selected="selected" style="<!--{$Errormes|sfGetErrorColor}-->" >選択してください</option>
|
---|
59 | <!--{foreach key=key item=item from=$arrORDERSTATUS}-->
|
---|
60 | <!--{if $key ne $SelectedStatus}-->
|
---|
61 | <option value="<!--{$key}-->" ><!--{$item}--></option>
|
---|
62 | <!--{/if}-->
|
---|
63 | <!--{/foreach}-->
|
---|
64 | <option value="delete">削除</option>
|
---|
65 | </select>
|
---|
66 | </td>
|
---|
67 | <td><input type="button" name="regist" value="反映" onclick="fnSelectCheckSubmit();"></td>
|
---|
68 | </tr>
|
---|
69 | </table>
|
---|
70 |
|
---|
71 | <table width="650" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
72 | <tr class="fs12"><td align="left"><!--{$tpl_linemax}-->件が該当しました。 </td></tr>
|
---|
73 | <tr class="fs12">
|
---|
74 | <td align="center">
|
---|
75 | <!--▼ページナビ-->
|
---|
76 | <!--{$tpl_strnavi}-->
|
---|
77 | <!--▲ページナビ-->
|
---|
78 | </td>
|
---|
79 | </tr>
|
---|
80 | </table>
|
---|
81 |
|
---|
82 | <table width="650" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
83 | <tr>
|
---|
84 | <td align="right"><input type="button" name="btn01" value="全て選択" onclick="fnBoxChecked(true);"> <input type="button" name="btn01" value="全て解除" onclick="fnBoxChecked(false);"></td>
|
---|
85 | </tr>
|
---|
86 | <tr><td height="10"></td></tr>
|
---|
87 | </table>
|
---|
88 |
|
---|
89 | <table width="650" border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
|
---|
90 | <tr bgcolor="#f2f1ec" align="center" class="fs12n">
|
---|
91 | <td width="30">受注番号</td>
|
---|
92 | <td width="90">受注日</td>
|
---|
93 | <td width="100">顧客名</td>
|
---|
94 | <td width="90">支払方法</td>
|
---|
95 | <td width="81">購入金額(円)</td>
|
---|
96 | <td width="70">発送日</td>
|
---|
97 | <td width="70">対応状況</td>
|
---|
98 | <td width="30">選択</td>
|
---|
99 | </tr>
|
---|
100 | <!--{section name=cnt loop=$arrStatus}-->
|
---|
101 | <!--{assign var=status value="`$arrStatus[cnt].status`"}-->
|
---|
102 | <tr bgcolor="<!--{$arrORDERSTATUS_COLOR[$status]}-->" class="fs12">
|
---|
103 | <td align="center"><a href ="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnOpenWindow('./edit.php?order_id=<!--{$arrStatus[cnt].order_id}-->','order_disp','800','900'); return false;" ><!--{$arrStatus[cnt].order_id}--></td>
|
---|
104 | <td align="center"><!--{$arrStatus[cnt].create_date|sfDispDBDate:false}--></td>
|
---|
105 | <td><!--{$arrStatus[cnt].order_name01|escape}--><!--{$arrStatus[cnt].order_name02|escape}--></td>
|
---|
106 | <!--{assign var=payment_id value=`$arrStatus[cnt].payment_id`}-->
|
---|
107 | <td align="center"><!--{$arrPayment[$payment_id]|escape}--></td>
|
---|
108 | <td align="right"><!--{$arrStatus[cnt].total|number_format}--></td>
|
---|
109 | <td align="center"><!--{if $arrStatus[cnt].status eq 5}--><!--{$arrStatus[cnt].commit_date|sfDispDBDate:false}--><!--{else}-->未発送<!--{/if}--></td>
|
---|
110 | <td align="center"><!--{$arrORDERSTATUS[$status]}--></td>
|
---|
111 | <td align="center"><input type="checkbox" name="move[]" value="<!--{$arrStatus[cnt].order_id}-->" ></td>
|
---|
112 | </tr>
|
---|
113 | <!--{/section}-->
|
---|
114 | </table>
|
---|
115 | <input type="hidden" name="move[]" value="" >
|
---|
116 |
|
---|
117 | <table width="650" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
118 | <tr><td height="10"></td></tr>
|
---|
119 | <tr>
|
---|
120 | <td align="right"><input type="button" name="btn01" value="全て選択" onclick="fnBoxChecked(true);"> <input type="button" name="btn01" value="全て解除" onclick="fnBoxChecked(false);"></td>
|
---|
121 | </tr>
|
---|
122 | <tr><td height="10"></td></tr>
|
---|
123 | </table>
|
---|
124 |
|
---|
125 | <table width="650" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
126 | <tr class="fs12">
|
---|
127 | <td align="center">
|
---|
128 | <!--▼ページナビ-->
|
---|
129 | <!--{$tpl_strnavi}-->
|
---|
130 | <!--▲ページナビ-->
|
---|
131 | </td>
|
---|
132 | </tr>
|
---|
133 | </table>
|
---|
134 |
|
---|
135 | <!--{elseif $arrStatus != "" & $tpl_linemax == 0}-->
|
---|
136 | <table width="650" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
137 | <tr class="fs12"><td align="center">該当するデータはありません。</td></tr>
|
---|
138 | </table>
|
---|
139 | <!--{/if}-->
|
---|
140 |
|
---|
141 | </td>
|
---|
142 | </tr>
|
---|
143 | </table>
|
---|
144 |
|
---|
145 | <!--登録テーブルここまで-->
|
---|
146 |
|
---|
147 | </td>
|
---|
148 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
149 | </tr>
|
---|
150 | <tr>
|
---|
151 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
152 | </tr>
|
---|
153 | <tr><td height="30"></td></tr>
|
---|
154 |
|
---|
155 | </table>
|
---|
156 | </td>
|
---|
157 | </tr>
|
---|
158 | <!--メインエリア-->
|
---|
159 | </table>
|
---|
160 | </td>
|
---|
161 | </tr>
|
---|
162 | </form>
|
---|
163 | </table>
|
---|
164 | <!--★★メインコンテンツ★★-->
|
---|
165 |
|
---|
166 |
|
---|
167 | <script type="text/javascript">
|
---|
168 | <!--
|
---|
169 | function fnSelectCheckSubmit(){
|
---|
170 |
|
---|
171 | var selectflag = 0;
|
---|
172 | var fm = document.form1;
|
---|
173 |
|
---|
174 | if(fm.change_status.options[document.form1.change_status.selectedIndex].value == ""){
|
---|
175 | selectflag = 1;
|
---|
176 | }
|
---|
177 |
|
---|
178 | if(selectflag == 1){
|
---|
179 | alert('セレクトボックスが選択されていません');
|
---|
180 | return false;
|
---|
181 | }
|
---|
182 | var i;
|
---|
183 | var checkflag = 0;
|
---|
184 | var max = fm["move[]"].length;
|
---|
185 |
|
---|
186 | if(max) {
|
---|
187 | for (i=0;i<max;i++){
|
---|
188 | if(fm["move[]"][i].checked == true){
|
---|
189 | checkflag = 1;
|
---|
190 | }
|
---|
191 | }
|
---|
192 | } else {
|
---|
193 | if(fm["move[]"].checked == true) {
|
---|
194 | checkflag = 1;
|
---|
195 | }
|
---|
196 | }
|
---|
197 |
|
---|
198 | if(checkflag == 0){
|
---|
199 | alert('チェックボックスが選択されていません');
|
---|
200 | return false;
|
---|
201 | }
|
---|
202 |
|
---|
203 | if(selectflag == 0 && checkflag == 1){
|
---|
204 | document.form1.mode.value = 'search';
|
---|
205 | document.form1.submit();
|
---|
206 | }
|
---|
207 | }
|
---|
208 |
|
---|
209 | function fnBoxChecked(check){
|
---|
210 | var count;
|
---|
211 | var fm = document.form1;
|
---|
212 | var max = fm["move[]"].length;
|
---|
213 | for(count=0; count<max; count++){
|
---|
214 | fm["move[]"][count].checked = check;
|
---|
215 | }
|
---|
216 | }
|
---|
217 |
|
---|
218 | //-->
|
---|
219 | </script>
|
---|