| 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 | <script type="text/javascript"> |
---|
| 26 | <!-- |
---|
| 27 | function fnSelectCheckSubmit(action){ |
---|
| 28 | |
---|
| 29 | var fm = document.form1; |
---|
| 30 | |
---|
| 31 | if (!fm["pdf_order_id[]"]) { |
---|
| 32 | return false; |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | var checkflag = false; |
---|
| 36 | var max = fm["pdf_order_id[]"].length; |
---|
| 37 | |
---|
| 38 | if (max) { |
---|
| 39 | for (var i=0; i<max; i++) { |
---|
| 40 | if(fm["pdf_order_id[]"][i].checked == true){ |
---|
| 41 | checkflag = true; |
---|
| 42 | } |
---|
| 43 | } |
---|
| 44 | } else { |
---|
| 45 | if(fm["pdf_order_id[]"].checked == true) { |
---|
| 46 | checkflag = true; |
---|
| 47 | } |
---|
| 48 | } |
---|
| 49 | |
---|
| 50 | if(!checkflag){ |
---|
| 51 | alert('<!--{t string="tpl_398"}-->'); |
---|
| 52 | return false; |
---|
| 53 | } |
---|
| 54 | |
---|
| 55 | fnOpenPdfSettingPage(action); |
---|
| 56 | } |
---|
| 57 | |
---|
| 58 | function fnOpenPdfSettingPage(action){ |
---|
| 59 | var fm = document.form1; |
---|
| 60 | win02("about:blank", "pdf_input", "620","650"); |
---|
| 61 | |
---|
| 62 | // 退避 |
---|
| 63 | tmpTarget = fm.target; |
---|
| 64 | tmpMode = fm.mode.value; |
---|
| 65 | tmpAction = fm.action; |
---|
| 66 | |
---|
| 67 | fm.target = "pdf_input"; |
---|
| 68 | fm.mode.value = 'pdf'; |
---|
| 69 | fm.action = action; |
---|
| 70 | fm.submit(); |
---|
| 71 | |
---|
| 72 | // 復元 |
---|
| 73 | fm.target = tmpTarget; |
---|
| 74 | fm.mode.value = tmpMode; |
---|
| 75 | fm.action = tmpAction; |
---|
| 76 | } |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | function fnSelectMailCheckSubmit(action){ |
---|
| 80 | |
---|
| 81 | var fm = document.form1; |
---|
| 82 | |
---|
| 83 | if (!fm["mail_order_id[]"]) { |
---|
| 84 | return false; |
---|
| 85 | } |
---|
| 86 | |
---|
| 87 | var checkflag = false; |
---|
| 88 | var max = fm["mail_order_id[]"].length; |
---|
| 89 | |
---|
| 90 | if (max) { |
---|
| 91 | for (var i=0; i<max; i++) { |
---|
| 92 | if(fm["mail_order_id[]"][i].checked == true){ |
---|
| 93 | checkflag = true; |
---|
| 94 | } |
---|
| 95 | } |
---|
| 96 | } else { |
---|
| 97 | if(fm["mail_order_id[]"].checked == true) { |
---|
| 98 | checkflag = true; |
---|
| 99 | } |
---|
| 100 | } |
---|
| 101 | |
---|
| 102 | if(!checkflag){ |
---|
| 103 | alert('<!--{t string="tpl_398"}-->'); |
---|
| 104 | return false; |
---|
| 105 | } |
---|
| 106 | |
---|
| 107 | fm.mode.value="mail_select"; |
---|
| 108 | fm.action=action; |
---|
| 109 | fm.submit(); |
---|
| 110 | } |
---|
| 111 | |
---|
| 112 | $(function(){ |
---|
| 113 | |
---|
| 114 | $( "#datepickersearch_sbirth" ).datepicker({ |
---|
| 115 | beforeShowDay: function(date) { |
---|
| 116 | if(date.getDay() == 0) { |
---|
| 117 | return [true,"date-sunday"]; |
---|
| 118 | } else if(date.getDay() == 6){ |
---|
| 119 | return [true,"date-saturday"]; |
---|
| 120 | } else { |
---|
| 121 | return [true]; |
---|
| 122 | } |
---|
| 123 | },changeMonth: 'true' |
---|
| 124 | ,changeYear: 'true' |
---|
| 125 | ,onSelect: function(dateText, inst){ |
---|
| 126 | setDatesearch_sbirth(dateText); |
---|
| 127 | }, |
---|
| 128 | showButtonPanel: true, |
---|
| 129 | beforeShow: showAdditionalButtonsearch_sbirth, |
---|
| 130 | onChangeMonthYear: showAdditionalButtonsearch_sbirth |
---|
| 131 | }); |
---|
| 132 | |
---|
| 133 | $("#datepickersearch_sbirth").blur( function() { |
---|
| 134 | var dateText = $(this).val(); |
---|
| 135 | setDatesearch_sbirth(dateText); |
---|
| 136 | }); |
---|
| 137 | |
---|
| 138 | $( "#datepickersearch_ebirth" ).datepicker({ |
---|
| 139 | beforeShowDay: function(date) { |
---|
| 140 | if(date.getDay() == 0) { |
---|
| 141 | return [true,"date-sunday"]; |
---|
| 142 | } else if(date.getDay() == 6){ |
---|
| 143 | return [true,"date-saturday"]; |
---|
| 144 | } else { |
---|
| 145 | return [true]; |
---|
| 146 | } |
---|
| 147 | },changeMonth: 'true' |
---|
| 148 | ,changeYear: 'true' |
---|
| 149 | ,onSelect: function(dateText, inst){ |
---|
| 150 | setDatesearch_ebirth(dateText); |
---|
| 151 | }, |
---|
| 152 | showButtonPanel: true, |
---|
| 153 | beforeShow: showAdditionalButtonsearch_ebirth, |
---|
| 154 | onChangeMonthYear: showAdditionalButtonsearch_ebirth |
---|
| 155 | }); |
---|
| 156 | |
---|
| 157 | $("#datepickersearch_ebirth").blur( function() { |
---|
| 158 | var dateText = $(this).val(); |
---|
| 159 | setDatesearch_ebirth(dateText); |
---|
| 160 | }); |
---|
| 161 | |
---|
| 162 | |
---|
| 163 | $( "#datepickersearch_sorder" ).datepicker({ |
---|
| 164 | beforeShowDay: function(date) { |
---|
| 165 | if(date.getDay() == 0) { |
---|
| 166 | return [true,"date-sunday"]; |
---|
| 167 | } else if(date.getDay() == 6){ |
---|
| 168 | return [true,"date-saturday"]; |
---|
| 169 | } else { |
---|
| 170 | return [true]; |
---|
| 171 | } |
---|
| 172 | },changeMonth: 'true' |
---|
| 173 | ,changeYear: 'true' |
---|
| 174 | ,onSelect: function(dateText, inst){ |
---|
| 175 | setDatesearch_sorder(dateText); |
---|
| 176 | }, |
---|
| 177 | showButtonPanel: true, |
---|
| 178 | beforeShow: showAdditionalButtonsearch_sorder, |
---|
| 179 | onChangeMonthYear: showAdditionalButtonsearch_sorder |
---|
| 180 | }); |
---|
| 181 | |
---|
| 182 | $("#datepickersearch_sorder").blur( function() { |
---|
| 183 | var dateText = $(this).val(); |
---|
| 184 | setDatesearch_sorder(dateText); |
---|
| 185 | }); |
---|
| 186 | |
---|
| 187 | $( "#datepickersearch_eorder" ).datepicker({ |
---|
| 188 | beforeShowDay: function(date) { |
---|
| 189 | if(date.getDay() == 0) { |
---|
| 190 | return [true,"date-sunday"]; |
---|
| 191 | } else if(date.getDay() == 6){ |
---|
| 192 | return [true,"date-saturday"]; |
---|
| 193 | } else { |
---|
| 194 | return [true]; |
---|
| 195 | } |
---|
| 196 | },changeMonth: 'true' |
---|
| 197 | ,changeYear: 'true' |
---|
| 198 | ,onSelect: function(dateText, inst){ |
---|
| 199 | setDatesearch_eorder(dateText); |
---|
| 200 | }, |
---|
| 201 | showButtonPanel: true, |
---|
| 202 | beforeShow: showAdditionalButtonsearch_eorder, |
---|
| 203 | onChangeMonthYear: showAdditionalButtonsearch_eorder |
---|
| 204 | }); |
---|
| 205 | |
---|
| 206 | $("#datepickersearch_eorder").blur( function() { |
---|
| 207 | var dateText = $(this).val(); |
---|
| 208 | setDatesearch_eorder(dateText); |
---|
| 209 | }); |
---|
| 210 | |
---|
| 211 | |
---|
| 212 | $( "#datepickersearch_supdate" ).datepicker({ |
---|
| 213 | beforeShowDay: function(date) { |
---|
| 214 | if(date.getDay() == 0) { |
---|
| 215 | return [true,"date-sunday"]; |
---|
| 216 | } else if(date.getDay() == 6){ |
---|
| 217 | return [true,"date-saturday"]; |
---|
| 218 | } else { |
---|
| 219 | return [true]; |
---|
| 220 | } |
---|
| 221 | },changeMonth: 'true' |
---|
| 222 | ,changeYear: 'true' |
---|
| 223 | ,onSelect: function(dateText, inst){ |
---|
| 224 | setDatesearch_supdate(dateText); |
---|
| 225 | }, |
---|
| 226 | showButtonPanel: true, |
---|
| 227 | beforeShow: showAdditionalButtonsearch_supdate, |
---|
| 228 | onChangeMonthYear: showAdditionalButtonsearch_supdate |
---|
| 229 | }); |
---|
| 230 | |
---|
| 231 | $("#datepickersearch_supdate").blur( function() { |
---|
| 232 | var dateText = $(this).val(); |
---|
| 233 | setDatesearch_supdate(dateText); |
---|
| 234 | }); |
---|
| 235 | |
---|
| 236 | $( "#datepickersearch_eupdate" ).datepicker({ |
---|
| 237 | beforeShowDay: function(date) { |
---|
| 238 | if(date.getDay() == 0) { |
---|
| 239 | return [true,"date-sunday"]; |
---|
| 240 | } else if(date.getDay() == 6){ |
---|
| 241 | return [true,"date-saturday"]; |
---|
| 242 | } else { |
---|
| 243 | return [true]; |
---|
| 244 | } |
---|
| 245 | },changeMonth: 'true' |
---|
| 246 | ,changeYear: 'true' |
---|
| 247 | ,onSelect: function(dateText, inst){ |
---|
| 248 | setDatesearch_eupdate(dateText); |
---|
| 249 | }, |
---|
| 250 | showButtonPanel: true, |
---|
| 251 | beforeShow: showAdditionalButtonsearch_eupdate, |
---|
| 252 | onChangeMonthYear: showAdditionalButtonsearch_eupdate |
---|
| 253 | }); |
---|
| 254 | |
---|
| 255 | $("#datepickersearch_eupdate").blur( function() { |
---|
| 256 | var dateText = $(this).val(); |
---|
| 257 | setDatesearch_eupdate(dateText); |
---|
| 258 | }); |
---|
| 259 | |
---|
| 260 | }); |
---|
| 261 | |
---|
| 262 | var btn = $('<button class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" type="button">Clear</button>'); |
---|
| 263 | |
---|
| 264 | var showAdditionalButtonsearch_sbirth = function (input) { |
---|
| 265 | setTimeout(function () { |
---|
| 266 | var buttonPane = $(input) |
---|
| 267 | .datepicker("widget") |
---|
| 268 | .find(".ui-datepicker-buttonpane"); |
---|
| 269 | btn |
---|
| 270 | .unbind("click") |
---|
| 271 | .bind("click", function () { |
---|
| 272 | $.datepicker._clearDate(input); |
---|
| 273 | $("*[name=search_sbirthyear]").val(""); |
---|
| 274 | $("*[name=search_sbirthmonth]").val(""); |
---|
| 275 | $("*[name=search_sbirthday]").val(""); |
---|
| 276 | }); |
---|
| 277 | btn.appendTo(buttonPane); |
---|
| 278 | }, 1); |
---|
| 279 | }; |
---|
| 280 | |
---|
| 281 | var showAdditionalButtonsearch_ebirth = function (input) { |
---|
| 282 | setTimeout(function () { |
---|
| 283 | var buttonPane = $(input) |
---|
| 284 | .datepicker("widget") |
---|
| 285 | .find(".ui-datepicker-buttonpane"); |
---|
| 286 | btn |
---|
| 287 | .unbind("click") |
---|
| 288 | .bind("click", function () { |
---|
| 289 | $.datepicker._clearDate(input); |
---|
| 290 | $("*[name=search_ebirthyear]").val(""); |
---|
| 291 | $("*[name=search_ebirthmonth]").val(""); |
---|
| 292 | $("*[name=search_ebirthday]").val(""); |
---|
| 293 | }); |
---|
| 294 | btn.appendTo(buttonPane); |
---|
| 295 | }, 1); |
---|
| 296 | }; |
---|
| 297 | |
---|
| 298 | var showAdditionalButtonsearch_sorder = function (input) { |
---|
| 299 | setTimeout(function () { |
---|
| 300 | var buttonPane = $(input) |
---|
| 301 | .datepicker("widget") |
---|
| 302 | .find(".ui-datepicker-buttonpane"); |
---|
| 303 | btn |
---|
| 304 | .unbind("click") |
---|
| 305 | .bind("click", function () { |
---|
| 306 | $.datepicker._clearDate(input); |
---|
| 307 | $("*[name=search_sorderyear]").val(""); |
---|
| 308 | $("*[name=search_sordermonth]").val(""); |
---|
| 309 | $("*[name=search_sorderday]").val(""); |
---|
| 310 | }); |
---|
| 311 | btn.appendTo(buttonPane); |
---|
| 312 | }, 1); |
---|
| 313 | }; |
---|
| 314 | |
---|
| 315 | var showAdditionalButtonsearch_eorder = function (input) { |
---|
| 316 | setTimeout(function () { |
---|
| 317 | var buttonPane = $(input) |
---|
| 318 | .datepicker("widget") |
---|
| 319 | .find(".ui-datepicker-buttonpane"); |
---|
| 320 | btn |
---|
| 321 | .unbind("click") |
---|
| 322 | .bind("click", function () { |
---|
| 323 | $.datepicker._clearDate(input); |
---|
| 324 | $("*[name=search_eorderyear]").val(""); |
---|
| 325 | $("*[name=search_eordermonth]").val(""); |
---|
| 326 | $("*[name=search_eorderday]").val(""); |
---|
| 327 | }); |
---|
| 328 | btn.appendTo(buttonPane); |
---|
| 329 | }, 1); |
---|
| 330 | }; |
---|
| 331 | |
---|
| 332 | var showAdditionalButtonsearch_supdate = function (input) { |
---|
| 333 | setTimeout(function () { |
---|
| 334 | var buttonPane = $(input) |
---|
| 335 | .datepicker("widget") |
---|
| 336 | .find(".ui-datepicker-buttonpane"); |
---|
| 337 | btn |
---|
| 338 | .unbind("click") |
---|
| 339 | .bind("click", function () { |
---|
| 340 | $.datepicker._clearDate(input); |
---|
| 341 | $("*[name=search_supdateyear]").val(""); |
---|
| 342 | $("*[name=search_supdatemonth]").val(""); |
---|
| 343 | $("*[name=search_supdateday]").val(""); |
---|
| 344 | }); |
---|
| 345 | btn.appendTo(buttonPane); |
---|
| 346 | }, 1); |
---|
| 347 | }; |
---|
| 348 | |
---|
| 349 | var showAdditionalButtonsearch_eupdate = function (input) { |
---|
| 350 | setTimeout(function () { |
---|
| 351 | var buttonPane = $(input) |
---|
| 352 | .datepicker("widget") |
---|
| 353 | .find(".ui-datepicker-buttonpane"); |
---|
| 354 | btn |
---|
| 355 | .unbind("click") |
---|
| 356 | .bind("click", function () { |
---|
| 357 | $.datepicker._clearDate(input); |
---|
| 358 | $("*[name=search_eupdateyear]").val(""); |
---|
| 359 | $("*[name=search_eupdatemonth]").val(""); |
---|
| 360 | $("*[name=search_eupdateday]").val(""); |
---|
| 361 | }); |
---|
| 362 | btn.appendTo(buttonPane); |
---|
| 363 | }, 1); |
---|
| 364 | }; |
---|
| 365 | |
---|
| 366 | function setDatesearch_sbirth(dateText){ |
---|
| 367 | var dates = dateText.split('/'); |
---|
| 368 | $("*[name=search_sbirthyear]").val(dates[0]); |
---|
| 369 | $("*[name=search_sbirthmonth]").val(dates[1]); |
---|
| 370 | $("*[name=search_sbirthday]").val(dates[2]); |
---|
| 371 | } |
---|
| 372 | |
---|
| 373 | function setDatesearch_ebirth(dateText){ |
---|
| 374 | var dates = dateText.split('/'); |
---|
| 375 | $("*[name=search_ebirthyear]").val(dates[0]); |
---|
| 376 | $("*[name=search_ebirthmonth]").val(dates[1]); |
---|
| 377 | $("*[name=search_ebirthday]").val(dates[2]); |
---|
| 378 | } |
---|
| 379 | |
---|
| 380 | function setDatesearch_sorder(dateText){ |
---|
| 381 | var dates = dateText.split('/'); |
---|
| 382 | $("*[name=search_sorderyear]").val(dates[0]); |
---|
| 383 | $("*[name=search_sordermonth]").val(dates[1]); |
---|
| 384 | $("*[name=search_sorderday]").val(dates[2]); |
---|
| 385 | } |
---|
| 386 | |
---|
| 387 | function setDatesearch_eorder(dateText){ |
---|
| 388 | var dates = dateText.split('/'); |
---|
| 389 | $("*[name=search_eorderyear]").val(dates[0]); |
---|
| 390 | $("*[name=search_eordermonth]").val(dates[1]); |
---|
| 391 | $("*[name=search_eorderday]").val(dates[2]); |
---|
| 392 | } |
---|
| 393 | |
---|
| 394 | function setDatesearch_supdate(dateText){ |
---|
| 395 | var dates = dateText.split('/'); |
---|
| 396 | $("*[name=search_supdateyear]").val(dates[0]); |
---|
| 397 | $("*[name=search_supdatemonth]").val(dates[1]); |
---|
| 398 | $("*[name=search_supdateday]").val(dates[2]); |
---|
| 399 | } |
---|
| 400 | |
---|
| 401 | function setDatesearch_eupdate(dateText){ |
---|
| 402 | var dates = dateText.split('/'); |
---|
| 403 | $("*[name=search_eupdateyear]").val(dates[0]); |
---|
| 404 | $("*[name=search_eupdatemonth]").val(dates[1]); |
---|
| 405 | $("*[name=search_eupdateday]").val(dates[2]); |
---|
| 406 | } |
---|
| 407 | //--> |
---|
| 408 | </script> |
---|
| 409 | <div id="order" class="contents-main"> |
---|
| 410 | <form name="search_form" id="search_form" method="post" action="?"> |
---|
| 411 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 412 | <input type="hidden" name="mode" value="search" /> |
---|
| 413 | <h2><!--{t string="tpl_250"}--></h2> |
---|
| 414 | <!--{* 検索条件設定テーブルここから *}--> |
---|
| 415 | <table> |
---|
| 416 | <tr> |
---|
| 417 | <th><!--{t string="tpl_231"}--></th> |
---|
| 418 | <td> |
---|
| 419 | <!--{assign var=key1 value="search_order_id1"}--> |
---|
| 420 | <!--{assign var=key2 value="search_order_id2"}--> |
---|
| 421 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
| 422 | <span class="attention"><!--{$arrErr[$key2]}--></span> |
---|
| 423 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 424 | <!--{t string="-"}--> |
---|
| 425 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 426 | </td> |
---|
| 427 | <th><!--{t string="tpl_360"}--></th> |
---|
| 428 | <td> |
---|
| 429 | <!--{assign var=key value="search_order_status"}--> |
---|
| 430 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 431 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> |
---|
| 432 | <option value=""><!--{t string="tpl_068"}--></option> |
---|
| 433 | <!--{html_options options=$arrORDERSTATUS selected=$arrForm[$key].value}--> |
---|
| 434 | </select> |
---|
| 435 | </td> |
---|
| 436 | </tr> |
---|
| 437 | <tr> |
---|
| 438 | <th><!--{t string="tpl_208"}--></th> |
---|
| 439 | <td colspan="3"> |
---|
| 440 | <!--{assign var=key value="search_order_name"}--> |
---|
| 441 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 442 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" /> |
---|
| 443 | </td> |
---|
| 444 | </tr> |
---|
| 445 | <tr> |
---|
| 446 | <th><!--{t string="tpl_108"}--></th> |
---|
| 447 | <td> |
---|
| 448 | <!--{assign var=key value="search_order_email"}--> |
---|
| 449 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 450 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /> |
---|
| 451 | </td> |
---|
| 452 | <th><!--{t string="tpl_037"}--></th> |
---|
| 453 | <td> |
---|
| 454 | <!--{assign var=key value="search_order_tel"}--> |
---|
| 455 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 456 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /> |
---|
| 457 | </td> |
---|
| 458 | </tr> |
---|
| 459 | <tr> |
---|
| 460 | <th><!--{t string="tpl_217"}--></th> |
---|
| 461 | <td colspan="3"> |
---|
| 462 | <!--{if $arrErr.search_sbirthyear || $arrErr.search_ebirthyear}--> |
---|
| 463 | <span class="attention"><!--{$arrErr.search_sbirthyear}--></span> |
---|
| 464 | <span class="attention"><!--{$arrErr.search_ebirthyear}--></span> |
---|
| 465 | <!--{/if}--> |
---|
| 466 | <input id="datepickersearch_sbirth" type="text" value="<!--{if $arrForm.search_sbirthyear.value != "" && $arrForm.search_sbirthmonth.value != "" && $arrForm.search_sbirthday.value != ""}--><!--{$arrForm.search_sbirthyear.value|h}-->/<!--{$arrForm.search_sbirthmonth.value|h|string_format:'%02d'}-->/<!--{$arrForm.search_sbirthday.value|h|string_format:'%02d'}--><!--{/if}-->" <!--{if $arrErr.search_sbirthyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 467 | <input type="hidden" name="search_sbirthyear" value="<!--{$arrForm.search_sbirthyear.value}-->" /> |
---|
| 468 | <input type="hidden" name="search_sbirthmonth" value="<!--{$arrForm.search_sbirthmonth.value}-->" /> |
---|
| 469 | <input type="hidden" name="search_sbirthday" value="<!--{$arrForm.search_sbirthday.value}-->" /> |
---|
| 470 | <!--{t string="-"}--> |
---|
| 471 | <input id="datepickersearch_ebirth" type="text" value="<!--{if $arrForm.search_ebirthyear.value != "" && $arrForm.search_ebirthmonth.value != "" && $arrForm.search_ebirthday.value != ""}--><!--{$arrForm.search_ebirthyear.value|h}-->/<!--{$arrForm.search_ebirthmonth.value|h|string_format:'%02d'}-->/<!--{$arrForm.search_ebirthday.value|h|string_format:'%02d'}--><!--{/if}-->" <!--{if $arrErr.search_ebirthyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 472 | <input type="hidden" name="search_ebirthyear" value="<!--{$arrForm.search_ebirthyear.value}-->" /> |
---|
| 473 | <input type="hidden" name="search_ebirthmonth" value="<!--{$arrForm.search_ebirthmonth.value}-->" /> |
---|
| 474 | <input type="hidden" name="search_ebirthday" value="<!--{$arrForm.search_ebirthday.value}-->" /> |
---|
| 475 | </td> |
---|
| 476 | </tr> |
---|
| 477 | <tr> |
---|
| 478 | <th><!--{t string="tpl_215"}--></th> |
---|
| 479 | <td colspan="3"> |
---|
| 480 | <!--{assign var=key value="search_order_sex"}--> |
---|
| 481 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 482 | <!--{html_checkboxes name="$key" options=$arrSex selected=$arrForm[$key].value}--> |
---|
| 483 | </td> |
---|
| 484 | </tr> |
---|
| 485 | <tr> |
---|
| 486 | <th><!--{t string="tpl_016"}--></th> |
---|
| 487 | <td colspan="3"> |
---|
| 488 | <!--{assign var=key value="search_payment_id"}--> |
---|
| 489 | <span class="attention"><!--{$arrErr[$key]|h}--></span> |
---|
| 490 | <!--{html_checkboxes name="$key" options=$arrPayments selected=$arrForm[$key].value}--> |
---|
| 491 | </td> |
---|
| 492 | </tr> |
---|
| 493 | <tr> |
---|
| 494 | <th><!--{t string="tpl_359"}--></th> |
---|
| 495 | <td colspan="3"> |
---|
| 496 | <!--{if $arrErr.search_sorderyear || $arrErr.search_eorderyear}--> |
---|
| 497 | <span class="attention"><!--{$arrErr.search_sorderyear}--></span> |
---|
| 498 | <span class="attention"><!--{$arrErr.search_eorderyear}--></span> |
---|
| 499 | <!--{/if}--> |
---|
| 500 | <input id="datepickersearch_sorder" type="text" value="<!--{if $arrForm.search_sorderyear.value != "" && $arrForm.search_sordermonth.value != "" && $arrForm.search_sorderday.value != ""}--><!--{$arrForm.search_sorderyear.value|h}-->/<!--{$arrForm.search_sordermonth.value|h|string_format:'%02d'}-->/<!--{$arrForm.search_sorderday.value|h|string_format:'%02d'}--><!--{/if}-->" <!--{if $arrErr.search_sorderyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 501 | <input type="hidden" name="search_sorderyear" value="<!--{$arrForm.search_sorderyear.value}-->" /> |
---|
| 502 | <input type="hidden" name="search_sordermonth" value="<!--{$arrForm.search_sordermonth.value}-->" /> |
---|
| 503 | <input type="hidden" name="search_sorderday" value="<!--{$arrForm.search_sorderday.value}-->" /> |
---|
| 504 | <!--{t string="-"}--> |
---|
| 505 | <input id="datepickersearch_eorder" type="text" value="<!--{if $arrForm.search_eorderyear.value != "" && $arrForm.search_eordermonth.value != "" && $arrForm.search_eorderday.value != ""}--><!--{$arrForm.search_eorderyear.value|h}-->/<!--{$arrForm.search_eordermonth.value|h|string_format:'%02d'}-->/<!--{$arrForm.search_eorderday.value|h|string_format:'%02d'}--><!--{/if}-->" <!--{if $arrErr.search_eorderyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 506 | <input type="hidden" name="search_eorderyear" value="<!--{$arrForm.search_eorderyear.value}-->" /> |
---|
| 507 | <input type="hidden" name="search_eordermonth" value="<!--{$arrForm.search_eordermonth.value}-->" /> |
---|
| 508 | <input type="hidden" name="search_eorderday" value="<!--{$arrForm.search_eorderday.value}-->" /> |
---|
| 509 | </td> |
---|
| 510 | </tr> |
---|
| 511 | <tr> |
---|
| 512 | <th><!--{t string="tpl_399"}--></th> |
---|
| 513 | <td colspan="3"> |
---|
| 514 | <!--{if $arrErr.search_supdateyear || $arrErr.search_eupdateyear}--> |
---|
| 515 | <span class="attention"><!--{$arrErr.search_supdateyear}--></span> |
---|
| 516 | <span class="attention"><!--{$arrErr.search_eupdateyear}--></span> |
---|
| 517 | <!--{/if}--> |
---|
| 518 | <input id="datepickersearch_supdate" type="text" value="<!--{if $arrForm.search_supdateyear.value != "" && $arrForm.search_supdatemonth.value != "" && $arrForm.search_supdateday.value != ""}--><!--{$arrForm.search_supdateyear.value|h}-->/<!--{$arrForm.search_supdatemonth.value|h|string_format:'%02d'}-->/<!--{$arrForm.search_supdateday.value|h|string_format:'%02d'}--><!--{/if}-->" <!--{if $arrErr.search_supdateyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 519 | <input type="hidden" name="search_supdateyear" value="<!--{$arrForm.search_supdateyear.value}-->" /> |
---|
| 520 | <input type="hidden" name="search_supdatemonth" value="<!--{$arrForm.search_supdatemonth.value}-->" /> |
---|
| 521 | <input type="hidden" name="search_supdateday" value="<!--{$arrForm.search_supdateday.value}-->" /> |
---|
| 522 | <!--{t string="-"}--> |
---|
| 523 | <input id="datepickersearch_eupdate" type="text" value="<!--{if $arrForm.search_eupdateyear.value != "" && $arrForm.search_eupdatemonth.value != "" && $arrForm.search_eupdateday.value != ""}--><!--{$arrForm.search_eupdateyear.value|h}-->/<!--{$arrForm.search_eupdatemonth.value|h|string_format:'%02d'}-->/<!--{$arrForm.search_eupdateday.value|h|string_format:'%02d'}--><!--{/if}-->" <!--{if $arrErr.search_eupdateyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 524 | <input type="hidden" name="search_eupdateyear" value="<!--{$arrForm.search_eupdateyear.value}-->" /> |
---|
| 525 | <input type="hidden" name="search_eupdatemonth" value="<!--{$arrForm.search_eupdatemonth.value}-->" /> |
---|
| 526 | <input type="hidden" name="search_eupdateday" value="<!--{$arrForm.search_eupdateday.value}-->" /> |
---|
| 527 | </td> |
---|
| 528 | </tr> |
---|
| 529 | <tr> |
---|
| 530 | <th><!--{t string="tpl_232"}--></th> |
---|
| 531 | <td> |
---|
| 532 | <!--{assign var=key1 value="search_total1"}--> |
---|
| 533 | <!--{assign var=key2 value="search_total2"}--> |
---|
| 534 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
| 535 | <span class="attention"><!--{$arrErr[$key2]}--></span> |
---|
| 536 | <!--{t string="currency_prefix"}--> |
---|
| 537 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 538 | <!--{t string="currency_suffix"}--> |
---|
| 539 | <!--{t string="-"}--> |
---|
| 540 | <!--{t string="currency_prefix"}--> |
---|
| 541 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 542 | <!--{t string="currency_suffix"}--> |
---|
| 543 | </td> |
---|
| 544 | <th><!--{t string="tpl_400"}--></th> |
---|
| 545 | <td> |
---|
| 546 | <!--{assign var=key value="search_product_name"}--> |
---|
| 547 | <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}--> |
---|
| 548 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="6" class="box30" /> |
---|
| 549 | </td> |
---|
| 550 | </tr> |
---|
| 551 | </table> |
---|
| 552 | |
---|
| 553 | <div class="btn"> |
---|
| 554 | <p class="page_rows"><!--{t string="tpl_251"}--> |
---|
| 555 | <!--{assign var=key value="search_page_max"}--> |
---|
| 556 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 557 | <!--{t string="record_prefix"}--> |
---|
| 558 | <select name="<!--{$arrForm[$key].keyname}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> |
---|
| 559 | <!--{html_options options=$arrPageMax selected=$arrForm[$key].value}--> |
---|
| 560 | </select> |
---|
| 561 | <!--{t string="record_suffix"}--> |
---|
| 562 | </p> |
---|
| 563 | <div class="btn-area"> |
---|
| 564 | <ul> |
---|
| 565 | <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_252"}--></span></a></li> |
---|
| 566 | </ul> |
---|
| 567 | </div> |
---|
| 568 | </div> |
---|
| 569 | <!--検索条件設定テーブルここまで--> |
---|
| 570 | </form> |
---|
| 571 | |
---|
| 572 | <!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete')}--> |
---|
| 573 | |
---|
| 574 | <!--★★検索結果一覧★★--> |
---|
| 575 | <form name="form1" id="form1" method="post" action="?"> |
---|
| 576 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 577 | <input type="hidden" name="mode" value="search" /> |
---|
| 578 | <input type="hidden" name="order_id" value="" /> |
---|
| 579 | <!--{foreach key=key item=item from=$arrHidden}--> |
---|
| 580 | <!--{if is_array($item)}--> |
---|
| 581 | <!--{foreach item=c_item from=$item}--> |
---|
| 582 | <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" /> |
---|
| 583 | <!--{/foreach}--> |
---|
| 584 | <!--{else}--> |
---|
| 585 | <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /> |
---|
| 586 | <!--{/if}--> |
---|
| 587 | <!--{/foreach}--> |
---|
| 588 | <h2><!--{t string="tpl_253"}--></h2> |
---|
| 589 | <div class="btn"> |
---|
| 590 | <!--検索結果数--><!--{t string="tpl_230" T_FIELD=$tpl_linemax}--> |
---|
| 591 | <!--{if $smarty.const.ADMIN_MODE == '1'}--> |
---|
| 592 | <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><span><!--{t string="tpl_327"}--></span></a> |
---|
| 593 | <!--{/if}--> |
---|
| 594 | <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"><!--{t string="tpl_254"}--></a> |
---|
| 595 | <a class="btn-normal" href="../contents/csv.php?tpl_subno_csv=order"><!--{t string="tpl_255"}--></a> |
---|
| 596 | <a class="btn-normal" href="javascript:;" onclick="fnSelectCheckSubmit('pdf.php'); return false;"><span><!--{t string="tpl_401"}--></span></a> |
---|
| 597 | <a class="btn-normal" href="javascript:;" onclick="fnSelectMailCheckSubmit('mail.php'); return false;"><span><!--{t string="tpl_402"}--></span></a> |
---|
| 598 | </div> |
---|
| 599 | <!--{if count($arrResults) > 0}--> |
---|
| 600 | |
---|
| 601 | <!--{include file=$tpl_pager}--> |
---|
| 602 | |
---|
| 603 | <!--{* 検索結果表示テーブル *}--> |
---|
| 604 | <table class="list"> |
---|
| 605 | <col width="10%" /> |
---|
| 606 | <col width="8%" /> |
---|
| 607 | <col width="15%" /> |
---|
| 608 | <col width="8%" /> |
---|
| 609 | <col width="10%" /> |
---|
| 610 | <col width="10%" /> |
---|
| 611 | <col width="10%" /> |
---|
| 612 | <col width="10%" /> |
---|
| 613 | <col width="5%" /> |
---|
| 614 | <col width="9%" /> |
---|
| 615 | <col width="5%" /> |
---|
| 616 | <!--{* ペイジェントモジュール連携用 *}--> |
---|
| 617 | <!--{assign var=path value=`$smarty.const.MODULE_REALDIR`mdl_paygent/paygent_order_index.tpl}--> |
---|
| 618 | <!--{if file_exists($path)}--> |
---|
| 619 | <!--{include file=$path}--> |
---|
| 620 | <!--{else}--> |
---|
| 621 | <tr> |
---|
| 622 | <th><!--{t string="tpl_359"}--></th> |
---|
| 623 | <th><!--{t string="tpl_231"}--></th> |
---|
| 624 | <th><!--{t string="tpl_208"}--></th> |
---|
| 625 | <th><!--{t string="tpl_016"}--></th> |
---|
| 626 | <th><!--{t string="tpl_403"}--></th> |
---|
| 627 | <th><!--{t string="tpl_404"}--></th> |
---|
| 628 | <th><!--{t string="tpl_360"}--></th> |
---|
| 629 | <th><label for="pdf_check"><!--{t string="tpl_405"}--></label> <input type="checkbox" name="pdf_check" id="pdf_check" onclick="fnAllCheck(this, 'input[name=pdf_order_id[]]')" /></th> |
---|
| 630 | <th><!--{t string="tpl_003"}--></th> |
---|
| 631 | <th><!--{t string="tpl_719"}--> <input type="checkbox" name="mail_check" id="mail_check" onclick="fnAllCheck(this, 'input[name=mail_order_id[]]')" /></th> |
---|
| 632 | <th><!--{t string="tpl_004"}--></th> |
---|
| 633 | </tr> |
---|
| 634 | |
---|
| 635 | <!--{section name=cnt loop=$arrResults}--> |
---|
| 636 | <!--{assign var=status value="`$arrResults[cnt].status`"}--> |
---|
| 637 | <tr style="background:<!--{$arrORDERSTATUS_COLOR[$status]}-->;"> |
---|
| 638 | <td class="center"><!--{$arrResults[cnt].create_date|sfDispDBDate}--></td> |
---|
| 639 | <td class="center"><!--{$arrResults[cnt].order_id}--></td> |
---|
| 640 | <td><!--{$arrResults[cnt].order_name01|h}--> <!--{$arrResults[cnt].order_name02|h}--></td> |
---|
| 641 | <!--{assign var=payment_id value="`$arrResults[cnt].payment_id`"}--> |
---|
| 642 | <td class="center"><!--{$arrPayments[$payment_id]}--></td> |
---|
| 643 | <td class="right"><!--{$arrResults[cnt].total|number_format}--></td> |
---|
| 644 | <td class="center"><!--{$arrResults[cnt].commit_date|sfDispDBDate|default_t:"tpl_234"}--></td> |
---|
| 645 | <td class="center"><!--{$arrORDERSTATUS[$status]}--></td> |
---|
| 646 | <td class="center"> |
---|
| 647 | <input type="checkbox" name="pdf_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" id="pdf_order_id_<!--{$arrResults[cnt].order_id}-->"/><label for="pdf_order_id_<!--{$arrResults[cnt].order_id}-->"><!--{t string="tpl_406"}--></label><br> |
---|
| 648 | <a href="./" onClick="win02('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','620','650'); return false;"><span class="icon_class"><!--{t string="tpl_407"}--></span></a> |
---|
| 649 | </td> |
---|
| 650 | <td class="center"><a href="?" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_EDIT_URLPATH}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_edit"><!--{t string="tpl_003"}--></span></a></td> |
---|
| 651 | <td class="center"> |
---|
| 652 | <!--{if $arrResults[cnt].order_email|strlen >= 1}--> |
---|
| 653 | <input type="checkbox" name="mail_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" id="mail_order_id_<!--{$arrResults[cnt].order_id}-->"/><label for="mail_order_id_<!--{$arrResults[cnt].order_id}-->"><!--{t string="tpl_408"}--></label><br> |
---|
| 654 | <a href="?" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_MAIL_URLPATH}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_mail"><!--{t string="tpl_409"}--></span></a> |
---|
| 655 | <!--{/if}--> |
---|
| 656 | </td> |
---|
| 657 | <td class="center"><a href="?" onclick="fnModeSubmit('delete_order', 'order_id', <!--{$arrResults[cnt].order_id}-->); return false;"><span class="icon_delete"><!--{t string="tpl_004"}--></span></a></td> |
---|
| 658 | </tr> |
---|
| 659 | <!--{/section}--> |
---|
| 660 | <!--{/if}--> |
---|
| 661 | </table> |
---|
| 662 | <!--{* 検索結果表示テーブル *}--> |
---|
| 663 | |
---|
| 664 | <!--{/if}--> |
---|
| 665 | |
---|
| 666 | </form> |
---|
| 667 | <!--{/if}--> |
---|
| 668 | </div> |
---|