1 | <!--{*
|
---|
2 | /*
|
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
|
---|
4 | *
|
---|
5 | * http://www.lockon.co.jp/
|
---|
6 | */
|
---|
7 | *}-->
|
---|
8 |
|
---|
9 | <script type="text/javascript">
|
---|
10 | <!--
|
---|
11 | // カートに商品を入れるにチェックが入っているかチェック
|
---|
12 | function fnIsCartOn(){
|
---|
13 | if (document.form1.cart_flg.checked <!--{if $is_update}-->|| <!--{$arrForm.cart_flg}--><!--{/if}-->){
|
---|
14 | document.form1.deliv_free_flg.disabled = false;
|
---|
15 | } else {
|
---|
16 | document.form1.deliv_free_flg.disabled = true;
|
---|
17 | }
|
---|
18 | }
|
---|
19 | //-->
|
---|
20 | </script>
|
---|
21 | <!--★★メインコンテンツ★★-->
|
---|
22 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
23 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
|
---|
24 | <input type="hidden" name="mode" value="">
|
---|
25 | <input type="hidden" name="campaign_id" value="<!--{$campaign_id}-->" >
|
---|
26 | <input type="hidden" name="is_update" value="<!--{$is_update}-->" >
|
---|
27 | <!--{if $is_update}-->
|
---|
28 | <input type="hidden" name="cart_flg" value="<!--{$arrForm.cart_flg}-->" >
|
---|
29 | <!--{/if}-->
|
---|
30 | <tr valign="top">
|
---|
31 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
|
---|
32 | <!--▼SUB NAVI-->
|
---|
33 | <!--{include file=$tpl_subnavi}-->
|
---|
34 | <!--▲SUB NAVI-->
|
---|
35 | </td>
|
---|
36 | <td class="mainbg">
|
---|
37 | <!--▼登録テーブルここから-->
|
---|
38 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
39 | <!--メインエリア-->
|
---|
40 | <tr>
|
---|
41 | <td align="center">
|
---|
42 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
43 |
|
---|
44 | <tr><td height="14"></td></tr>
|
---|
45 | <tr>
|
---|
46 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
47 | </tr>
|
---|
48 | <tr>
|
---|
49 | <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>
|
---|
50 | <td bgcolor="#cccccc">
|
---|
51 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
52 | <tr>
|
---|
53 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
54 | </tr>
|
---|
55 | <tr>
|
---|
56 | <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>
|
---|
57 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->キャンペーンページ登録</span></td>
|
---|
58 | <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>
|
---|
59 | </tr>
|
---|
60 | <tr>
|
---|
61 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
62 | </tr>
|
---|
63 | <tr>
|
---|
64 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
65 | </tr>
|
---|
66 | </table>
|
---|
67 |
|
---|
68 | <!--▼登録テーブルここから-->
|
---|
69 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
70 | <thead>
|
---|
71 | <tr>
|
---|
72 | <td bgcolor="#f2f1ec" width="140" class="fs12n">キャンペーン名<span class="red"> *</span></td>
|
---|
73 | <td bgcolor="#ffffff" width="538" class="fs12n"><span class="red"><!--{$arrErr.campaign_name}--></span><input type="text" name="campaign_name" size="60" class="box60" value="<!--{$arrForm.campaign_name|escape}-->" <!--{if $arrErr.campaign_name}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}--> maxlength="<!--{$smarty.const.STEXT_LEN}-->"/></span>
|
---|
74 | </tr>
|
---|
75 | </thead>
|
---|
76 | <tfoot>
|
---|
77 | <tr class="fs12n">
|
---|
78 | <td bgcolor="#f2f1ec" width="140">キャンペーン期間<span class="red"> *</span></td>
|
---|
79 | <td bgcolor="#ffffff" width="538">
|
---|
80 | <span class="red"><!--{$arrErr.start_year}--><!--{$arrErr.start_month}--><!--{$arrErr.start_day}--></span>
|
---|
81 | 開始日時:
|
---|
82 | <select name="start_year" <!--{if $arrErr.start_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
|
---|
83 | <option value="" selected>----</option>
|
---|
84 | <!--{html_options options=$arrYear selected=$arrForm.start_year}-->
|
---|
85 | </select>年
|
---|
86 | <select name="start_month" <!--{if $arrErr.start_month || $arrErr.start_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
|
---|
87 | <option value="" selected>--</option>
|
---|
88 | <!--{html_options options=$arrMonth selected=$arrForm.start_month}-->
|
---|
89 | </select>月
|
---|
90 | <select name="start_day" <!--{if $arrErr.start_day || $arrErr.start_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
|
---|
91 | <option value="" selected>--</option>
|
---|
92 | <!--{html_options options=$arrDay selected=$arrForm.start_day}-->
|
---|
93 | </select>日
|
---|
94 | <select name="start_hour" <!--{if $arrErr.start_hour || $arrErr.start_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
|
---|
95 | <option value="" selected>--</option>
|
---|
96 | <!--{html_options options=$arrHour selected=$arrForm.start_hour}-->
|
---|
97 | </select>時
|
---|
98 | <select name="start_minute" <!--{if $arrErr.start_minute || $arrErr.start_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
|
---|
99 | <option value="" selected>--</option>
|
---|
100 | <!--{html_options options=$arrMinutes selected=$arrForm.start_minute}-->
|
---|
101 | </select>分<br/><br/><br/>
|
---|
102 | <span class="red"><!--{$arrErr.end_year}--><!--{$arrErr.end_month}--><!--{$arrErr.end_day}--></span>
|
---|
103 | 停止日時:
|
---|
104 | <select name="end_year" <!--{if $arrErr.end_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
|
---|
105 | <option value="" selected>----</option>
|
---|
106 | <!--{html_options options=$arrYear selected=$arrForm.end_year}-->
|
---|
107 | </select>年
|
---|
108 | <select name="end_month" <!--{if $arrErr.end_month || $arrErr.end_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
|
---|
109 | <option value="" selected>--</option>
|
---|
110 | <!--{html_options options=$arrMonth selected=$arrForm.end_month}-->
|
---|
111 | </select>月
|
---|
112 | <select name="end_day" <!--{if $arrErr.end_day || $arrErr.end_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
|
---|
113 | <option value="" selected>--</option>
|
---|
114 | <!--{html_options options=$arrDay selected=$arrForm.end_day}-->
|
---|
115 | </select>日
|
---|
116 | <select name="end_hour" <!--{if $arrErr.end_hour || $arrErr.end_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
|
---|
117 | <option value="" selected>--</option>
|
---|
118 | <!--{html_options options=$arrHour selected=$arrForm.end_hour}-->
|
---|
119 | </select>時
|
---|
120 | <select name="end_minute" <!--{if $arrErr.end_minute || $arrErr.end_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
|
---|
121 | <option value="" selected>--</option>
|
---|
122 | <!--{html_options options=$arrMinutes selected=$arrForm.end_minute}-->
|
---|
123 | </select>分<br/><br/><br/>
|
---|
124 | </td>
|
---|
125 | </tr>
|
---|
126 | <tr>
|
---|
127 | <td bgcolor="#f2f1ec" width="140" class="fs12n">ディレクトリ名<span class="red"> *</span></td>
|
---|
128 | <td bgcolor="#ffffff" width="538">
|
---|
129 | <span class="red12"><!--{$arrErr.directory_name}--></span><input type="text" name="directory_name" size="60" class="box60" value="<!--{$arrForm.directory_name|escape}-->" <!--{if $arrErr.directory_name}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}--> maxlength="<!--{$smarty.const.STEXT_LEN}-->"/></span><br/>
|
---|
130 | <span class="fs10">※<!--{$smarty.const.SITE_URL|sfTrimURL}--><!--{$smarty.const.URL_DIR|sfTrimURL}--><!--{$smarty.const.CAMPAIGN_URL}-->入力したディレクリ名/ でアクセス出来るようになります。</span>
|
---|
131 | </td>
|
---|
132 | </tr>
|
---|
133 | <tr>
|
---|
134 | <td bgcolor="#f2f1ec" width="140" class="fs12n">申込数制御</td>
|
---|
135 | <td bgcolor="#ffffff" width="538" class="fs12n"><span class="red"><!--{$arrErr.limit_count}--></span><input type="text" name="limit_count" size="54" class="box6" value="<!--{$arrForm.limit_count|escape}-->" <!--{if $arrErr.limit_count}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}--> maxlength="<!--{$smarty.const.STEXT_LEN}-->"/> 件で終了ページに切り替え
|
---|
136 | </td>
|
---|
137 | </tr>
|
---|
138 | <tr class="fs12n">
|
---|
139 | <td bgcolor="#f2f1ec" width="140">重複申込制御</td>
|
---|
140 | <td bgcolor="#ffffff" width="538"><input type="checkbox" name="orverlapping_flg" id="orverlapping_flg" value="1" <!--{if $arrForm.orverlapping_flg eq 1}--> checked <!--{/if}--> ><label for="orverlapping_flg">重複申込を制御する</label></td>
|
---|
141 | </tr>
|
---|
142 | <tr class="fs12n">
|
---|
143 | <td bgcolor="#f2f1ec" width="140">カートに商品を入れる</td>
|
---|
144 | <td bgcolor="#ffffff" width="538"><input type="checkbox" onclick="fnIsCartOn()" name="cart_flg" id="cart_flg" value="1" <!--{if $arrForm.cart_flg eq 1}--> checked <!--{/if}--> <!--{if $is_update}-->disabled<!--{/if}-->><label for="cart_flg">カートに商品を入れるようにする</label></td>
|
---|
145 | </tr>
|
---|
146 | <tr class="fs12n">
|
---|
147 | <td bgcolor="#f2f1ec" width="140">送料無料設定</td>
|
---|
148 | <td bgcolor="#ffffff" width="538"><input type="checkbox" name="deliv_free_flg" id="deliv_free_flg" value="1" <!--{if $arrForm.deliv_free_flg eq 1}--> checked <!--{/if}--> ><label for="deliv_free_flg">送料無料</label></td>
|
---|
149 | </tr>
|
---|
150 | </tfoot>
|
---|
151 | </table>
|
---|
152 | <!--▲登録テーブルここまで-->
|
---|
153 |
|
---|
154 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
155 | <tr>
|
---|
156 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
157 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
|
---|
158 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
159 | </tr>
|
---|
160 | <tr>
|
---|
161 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
162 | <td bgcolor="#e9e7de" align="center">
|
---|
163 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
164 | <tr>
|
---|
165 | <td><a href="javascript:fnFormModeSubmit('form1', 'regist', '', '');"><img onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0"></a></td>
|
---|
166 | </tr>
|
---|
167 | </table>
|
---|
168 | </td>
|
---|
169 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
170 | </tr>
|
---|
171 | <tr>
|
---|
172 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
|
---|
173 | </tr>
|
---|
174 | </form>
|
---|
175 | </table>
|
---|
176 |
|
---|
177 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
178 | <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
|
---|
179 | </table>
|
---|
180 |
|
---|
181 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
182 | <tr>
|
---|
183 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
184 | </tr>
|
---|
185 | <tr>
|
---|
186 | <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>
|
---|
187 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->キャンペーン一覧</span></td>
|
---|
188 | <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>
|
---|
189 | </tr>
|
---|
190 | <tr>
|
---|
191 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
192 | </tr>
|
---|
193 | <tr>
|
---|
194 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
195 | </tr>
|
---|
196 | </table>
|
---|
197 |
|
---|
198 | <!--▼一覧表示エリアここから-->
|
---|
199 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
200 | <tr bgcolor="#f2f1ec" align="center" class="fs12n">
|
---|
201 | <td width="205" rowspan="2">キャンペーン名</td>
|
---|
202 | <td width="50" rowspan="2">申込人数</td>
|
---|
203 | <td width="160" colspan="2">デザイン設定</td>
|
---|
204 | <td width="50" rowspan="2">編集</td>
|
---|
205 | <td width="50" rowspan="2">削除</td>
|
---|
206 | <td width="50" rowspan="2">CSV</td>
|
---|
207 | </tr>
|
---|
208 | <tr bgcolor="#f2f1ec" align="center" class="fs12n">
|
---|
209 | <td width="80">キャンペーン中</td>
|
---|
210 | <td width="80">キャンペーン終了</td>
|
---|
211 | </tr>
|
---|
212 | <!--{section name=cnt loop=$arrCampaign}-->
|
---|
213 | <tr bgcolor="#ffffff" align="center" class="fs12n">
|
---|
214 | <td width="205"><!--{$arrCampaign[cnt].campaign_name}--></td>
|
---|
215 | <td width="50"><!--{$arrCampaign[cnt].total_count}--></td>
|
---|
216 | <td width="80"><a href="<!--{$smarty.const.URL_CAMPAIGN_DESIGN}-->?campaign_id=<!--{$arrCampaign[cnt].campaign_id}-->&status=active">設定</a></td>
|
---|
217 | <td width="80"><a href="<!--{$smarty.const.URL_CAMPAIGN_DESIGN}-->?campaign_id=<!--{$arrCampaign[cnt].campaign_id}-->&status=end">設定</a></td>
|
---|
218 | <!--{if $arrCampaign[cnt].campaign_id != $arrForm.campaign_id}-->
|
---|
219 | <td width="50"><a href="javascript:fnFormModeSubmit('form1', 'update', 'campaign_id', '<!--{$arrCampaign[cnt].campaign_id}-->')">編集</a></td>
|
---|
220 | <!--{else}-->
|
---|
221 | <td width="50">編集</td>
|
---|
222 | <!--{/if}-->
|
---|
223 | <td width="50"><a href="javascript:fnFormModeSubmit('form1', 'delete', 'campaign_id', '<!--{$arrCampaign[cnt].campaign_id}-->')">削除</a></td>
|
---|
224 | <td width="50"><a href="javascript:fnFormModeSubmit('form1', 'csv', 'campaign_id', '<!--{$arrCampaign[cnt].campaign_id}-->')">CSV</a></td>
|
---|
225 | </tr>
|
---|
226 | <!--{/section}-->
|
---|
227 | </table>
|
---|
228 | <!--▲一覧表示エリアここまで-->
|
---|
229 |
|
---|
230 | </td>
|
---|
231 | <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>
|
---|
232 | </tr>
|
---|
233 | <tr>
|
---|
234 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
235 | </tr>
|
---|
236 | <tr><td height="30"></td></tr>
|
---|
237 | </table>
|
---|
238 | </td>
|
---|
239 | </tr>
|
---|
240 | <!--メインエリア-->
|
---|
241 | </table>
|
---|
242 | <!--▲登録テーブルここまで-->
|
---|
243 | </td>
|
---|
244 | </tr>
|
---|
245 | </form>
|
---|
246 | </table>
|
---|
247 | <!--★★メインコンテンツ★★-->
|
---|