source: branches/version-2_4/data/Smarty/templates/default/admin/contents/campaign.tpl @ 18734

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