source: branches/version-2_5-dev/data/Smarty/templates/admin/products/review.tpl @ 19954

Revision 19954, 7.0 KB checked in by nanasess, 10 years ago (diff)

#382(管理画面XHTMLに変更)

  • ボタンに return false を付与

#628(未使用処理・定義などの削除)

  • Smarty/templates/admin/sales を削除
  • 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<div id="products" class="contents-main">
25<form name="search_form" method="post" action="?" >
26<input type="hidden" name="mode" value="search" />
27  <h2>検索条件設定</h2>
28
29  <!--検索条件設定テーブルここから-->
30  <table>
31    <tr>
32      <th>投稿者名</th>
33      <td><input type="text" name="search_reviewer_name" value="<!--{$arrForm.search_reviewer_name|h}-->" size="30" class="box30" /></td>
34      <th>投稿者URL</th>
35      <td><input type="text" name="search_reviewer_url" value="<!--{$arrForm.search_reviewer_url}-->" size="30" class="box30" /></td>
36    </tr>
37    <tr>
38      <th>商品名</th>
39      <td><input type="text" name="search_name" value="<!--{$arrForm.search_name|h}-->" size="30" class="box30" /></td>
40      <th>商品コード</th>
41      <td><input type="text" name="search_product_code" value="<!--{$arrForm.search_product_code|h}-->" size="30" class="box30" /></td>
42    </tr>
43    <tr>
44      <th>性別</th>
45      <!--{assign var=key value=search_sex}-->
46      <td><!--{html_checkboxes name="$key" options=$arrSex selected=$arrForm[$key]}--></td>
47      <th>おすすめレベル</th>
48      <td>
49      <!--{assign var=key value=search_recommend_level}-->
50      <select name="<!--{$key}-->">
51      <option value="" selected="selected">選択してください</option>
52      <!--{html_options options=$arrRECOMMEND selected=$arrForm[$key].value}-->
53      </select></td>
54    </tr>
55    <tr>
56      <th>投稿日</th>
57      <td colspan="3">
58      <!--{if $arrErr.search_startyear || $arrErr.search_endyear}-->
59      <span class="attention"><!--{$arrErr.search_startyear}--></span>
60      <span class="attention"><!--{$arrErr.search_endyear}--></span>
61      <!--{/if}-->
62      <select name="search_startyear" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
63      <option value="">----</option>
64      <!--{html_options options=$arrStartYear selected=$arrForm.search_startyear}-->
65      </select>年
66      <select name="search_startmonth" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
67      <option value="">--</option>
68      <!--{html_options options=$arrStartMonth selected=$arrForm.search_startmonth}-->
69      </select>月
70      <select name="search_startday" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
71      <option value="">--</option>
72      <!--{html_options options=$arrStartDay selected=$arrForm.search_startday}-->
73      </select>日~
74      <select name="search_endyear" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
75      <option value="">----</option>
76      <!--{html_options options=$arrEndYear selected=$arrForm.search_endyear}-->
77      </select>年
78      <select name="search_endmonth" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
79      <option value="">--</option>
80      <!--{html_options options=$arrEndMonth selected=$arrForm.search_endmonth}-->
81      </select>月
82      <select name="search_endday" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
83      <option value="">--</option>
84      <!--{html_options options=$arrEndDay selected=$arrForm.search_endday}-->
85      </select>日
86      </td>
87    </tr>
88  </table>
89
90  <div class="btn">
91    検索結果表示件数
92    <!--{assign var=key value="search_page_max"}-->
93    <!--{if $arrErr[$key]}-->
94    <span class="attention"><!--{$arrErr[$key]}--></span>
95    <!--{/if}-->
96    <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
97    <!--{html_options options=$arrPageMax selected=$arrForm.search_page_max}-->
98    </select> 件
99    <div class="btn-area">
100      <ul>
101        <li>
102          <a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
103      </ul>
104    </div>
105  </div>
106</form> 
107
108
109<!--{if $smarty.post.mode == 'search'}-->
110
111<!--★★検索結果一覧★★-->
112<form name="form1" id="form1" method="post" action="?">
113  <input type="hidden" name="mode" value="search" />
114  <input type="hidden" name="review_id" value="" />
115  <input type="hidden" name="search_pageno" value="<!--{$tpl_pageno}-->" />
116  <!--{foreach key=key item=item from=$arrHidden}-->
117  <!--{if $key ne "search_pageno"}-->
118  <input type="hidden" name="<!--{$key}-->" value="<!--{$item}-->" />
119  <!--{/if}-->
120  <!--{/foreach}-->
121  <h2>検索結果一覧</h2>
122  <div class="btn">
123    <span class="attention"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。
124    <!--{if $smarty.const.ADMIN_MODE == '1'}-->
125    <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><span>検索結果をすべて削除</span></a>
126    <!--{/if}-->
127    <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"><span>CSV ダウンロード</span></a>
128  </div>
129  <!--{include file=$tpl_pager}-->
130 
131  <!--{ if $arrReview > 0 & $tpl_linemax > 0 }-->
132  <!--検索結果表示テーブル-->
133  <table id="products-review-result" class="list">
134    <tr>
135      <th>投稿日</th>
136      <th>投稿者名</th>
137      <th>商品名</th>
138      <th>おすすめレベル</th>
139      <th>表示・非表示</th>
140      <th class="edit">編集</th>
141      <th class="delete">削除</th>
142    </tr>
143
144    <!--{section name=cnt loop=$arrReview}-->
145    <tr>
146      <td><!--{$arrReview[cnt].create_date|sfDispDBDate}--></td>
147      <td><!--{$arrReview[cnt].reviewer_name|h}--></td>
148      <td><!--{$arrReview[cnt].name|h}--></td>
149      <!--{assign var=key value="`$arrReview[cnt].recommend_level`"}-->
150      <td><!--{$arrRECOMMEND[$key]}--></td>
151      <td class="menu"><!--{if $arrReview[cnt].status eq 1}-->表示<!--{elseif $arrReview[cnt].status eq 2}-->非表示<!--{/if}--></td>
152      <td class="menu"><a href="javascript:;" onclick="fnChangeAction('./review_edit.php'); fnModeSubmit('','review_id','<!--{$arrReview[cnt].review_id}-->'); return false;">編集</a></td>
153      <td class="menu"><a href="javascript:;" onclick="fnModeSubmit('delete','review_id','<!--{$arrReview[cnt].review_id}-->'); return false;">削除</a></td>
154    </tr>
155    <!--{/section}-->
156  </table>
157  <!--検索結果表示テーブル-->
158  <!--{ /if }-->
159</form>
160<!--{ /if }-->
161<!--★★検索結果一覧★★-->
162</div>
Note: See TracBrowser for help on using the repository browser.