source: branches/comu-ver2/data/Smarty/templates/default/admin/products/review.tpl @ 18700

Revision 18700, 6.7 KB checked in by nanasess, 14 years ago (diff)

Copyright の更新(#601)

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