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 | <!--★★メインコンテンツ★★--> |
---|
25 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
26 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" > |
---|
27 | <input type="hidden" name="mode" value="complete" /> |
---|
28 | <input type="hidden" name="review_id" value="<!--{$arrReview.review_id|escape}-->" /> |
---|
29 | <!--{foreach key=key item=item from=$arrSearchHidden}--> |
---|
30 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->"> |
---|
31 | <!--{/foreach}--> |
---|
32 | <tr valign="top"> |
---|
33 | <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> |
---|
34 | <!--▼SUB NAVI--> |
---|
35 | <!--{include file=$tpl_subnavi}--> |
---|
36 | <!--▲SUB NAVI--> |
---|
37 | </td> |
---|
38 | <td class="mainbg" > |
---|
39 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
40 | <!--メインエリア--> |
---|
41 | <tr> |
---|
42 | <td align="center"> |
---|
43 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
44 | |
---|
45 | <tr><td height="14"></td></tr> |
---|
46 | <tr> |
---|
47 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> |
---|
48 | </tr> |
---|
49 | <tr> |
---|
50 | <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
51 | <td bgcolor="#cccccc"> |
---|
52 | |
---|
53 | <!--▼登録テーブルここから--> |
---|
54 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
55 | <tr> |
---|
56 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> |
---|
57 | </tr> |
---|
58 | <tr> |
---|
59 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> |
---|
60 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->レビュー編集</span></td> |
---|
61 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> |
---|
62 | </tr> |
---|
63 | <tr> |
---|
64 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> |
---|
65 | </tr> |
---|
66 | <tr> |
---|
67 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> |
---|
68 | </tr> |
---|
69 | </table> |
---|
70 | |
---|
71 | |
---|
72 | <!--▼編集テーブルここから--> |
---|
73 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" " bgcolor="#cccccc"> |
---|
74 | <tr class="fs12n"> |
---|
75 | <td bgcolor="#f2f1ec" width="160">商品名</td> |
---|
76 | <td bgcolor="#ffffff" width="483"><!--{$arrReview.name|escape}--></td> |
---|
77 | </tr> |
---|
78 | <tr class="fs12n"> |
---|
79 | <td bgcolor="#f2f1ec">レビュー表示</td> |
---|
80 | <td bgcolor="#ffffff"><!--{if $arrErr.status}--><span class="red12"><!--{$arrErr.status}--></span><br /><!--{/if}--> |
---|
81 | <input type="radio" name="status" value="2" <!--{if $arrReview.status eq 2}-->checked<!--{/if}-->>非表示<!--{if $arrReview.status eq 2 && !$tpl_status_change}--><!--{else}--><input type="radio" name="status" value="1" <!--{if $arrReview.status eq 1}-->checked<!--{/if}-->>表示<!--{/if}--></td> |
---|
82 | </tr> |
---|
83 | <tr class="fs12n"> |
---|
84 | <td bgcolor="#f2f1ec">投稿日</td> |
---|
85 | <td bgcolor="#ffffff"><!--{$arrReview.create_date|sfDispDBDate}--></td> |
---|
86 | </tr> |
---|
87 | <tr class="fs12n"> |
---|
88 | <td bgcolor="#f2f1ec">投稿者名<span class="red"> *</span></td> |
---|
89 | <td bgcolor="#ffffff"><span class="red12"><!--{$arrErr.reviewer_name}--></span> |
---|
90 | <input type="text" class="box60" name="reviewer_name" value="<!--{$arrReview.reviewer_name|escape}-->" style="<!--{$arrErr.reviewer_name|sfGetErrorColor}-->" size=30><span class="red12"></td> |
---|
91 | </tr> |
---|
92 | <tr class="fs12n"> |
---|
93 | <td bgcolor="#f2f1ec">ホームページアドレス</td> |
---|
94 | <td bgcolor="#ffffff"><span class="red12"><!--{$arrErr.reviewer_url}--></span> |
---|
95 | <input type="text" class="box60" name="reviewer_url" maxlength="<!--{$smarty.const.URL_LEN}-->" value="<!--{$arrReview.reviewer_url|escape}-->" style="<!--{$arrErr.reviewer_url|sfGetErrorColor}-->" size=30><span class="red12"></td> |
---|
96 | </tr> |
---|
97 | <tr class="fs12n"> |
---|
98 | <td bgcolor="#f2f1ec">性別</td> |
---|
99 | <td bgcolor="#ffffff"><!--{html_radios_ex name="sex" options=$arrSex selected=$arrReview.sex}--></td> |
---|
100 | </tr> |
---|
101 | <tr class="fs12n"> |
---|
102 | <td bgcolor="#f2f1ec">おすすめレベル<span class="red"> *</span></td> |
---|
103 | <td bgcolor="#ffffff"> |
---|
104 | <!--{assign var=key value="recommend_level"}--> |
---|
105 | <span class="red12"><!--{$arrErr.recommend_level}--></span> |
---|
106 | <select name="<!--{$key}-->" style="<!--{$arrErr.recommend_level|sfGetErrorColor}-->" > |
---|
107 | <option value="" selected="selected">選択してください</option> |
---|
108 | <!--{html_options options=$arrRECOMMEND selected=$arrReview[$key]}--> |
---|
109 | </select> |
---|
110 | </td> |
---|
111 | </tr> |
---|
112 | <tr class="fs12n"> |
---|
113 | <td bgcolor="#f2f1ec">タイトル<span class="red"> *</span></td> |
---|
114 | <td bgcolor="#ffffff"><span class="red12"><!--{$arrErr.title}--></span> |
---|
115 | <input type="text" class="box60" name="title" value="<!--{$arrReview.title|escape}-->" style="<!--{$arrErr.title|sfGetErrorColor}-->" size=30><span class="red12"></td> |
---|
116 | </tr> |
---|
117 | <tr class="fs12n"> |
---|
118 | <td bgcolor="#f2f1ec">コメント<span class="red"> *</span></td> |
---|
119 | <td bgcolor="#ffffff"><span class="red12"><!--{$arrErr.comment}--></span> |
---|
120 | <textarea name="comment" rows="20" cols="60" class="area60" wrap="soft" style="<!--{$arrErr.comment|sfGetErrorColor}-->" ><!--{$arrReview.comment|escape}--></textarea></td> |
---|
121 | </tr> |
---|
122 | </table> |
---|
123 | <!--▲編集テーブルここまで--> |
---|
124 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
125 | <tr> |
---|
126 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
127 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
128 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
129 | </tr> |
---|
130 | <tr> |
---|
131 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
132 | <td bgcolor="#e9e7de" align="center"> |
---|
133 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
134 | <tr> |
---|
135 | <td> |
---|
136 | <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_search_back_on.jpg',this);" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_search_back.jpg',this);" src="<!--{$TPL_DIR}-->img/contents/btn_search_back.jpg" width="123" height="24" alt="検索画面に戻る" border="0" name="back" onclick="document.form1.action='./review.php'; fnModeSubmit('search','','');" ></a> |
---|
137 | <input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" onclick="fnModeSubmit('complete','','');" /> |
---|
138 | </td> |
---|
139 | </tr> |
---|
140 | </table> |
---|
141 | </td> |
---|
142 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
143 | </tr> |
---|
144 | <tr> |
---|
145 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
146 | </tr> |
---|
147 | </table> |
---|
148 | <!-- ▲登録テーブルここまで --> |
---|
149 | |
---|
150 | </td> |
---|
151 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
152 | </tr> |
---|
153 | <tr> |
---|
154 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
155 | </tr> |
---|
156 | <tr><td height="30"></td></tr> |
---|
157 | </table> |
---|
158 | </td> |
---|
159 | </tr> |
---|
160 | <!--メインエリア--> |
---|
161 | </table> |
---|
162 | </td> |
---|
163 | </tr> |
---|
164 | </form> |
---|
165 | </table> |
---|
166 | <!--★★メインコンテンツ★★--> |
---|