source: branches/dev/data/Smarty/templates/admin/contents/campaign.tpl @ 208

Revision 208, 15.1 KB checked in by uehara, 17 years ago (diff)
Line 
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// ¥«¡¼¥È¤Ë¾¦ÉʤòÆþ¤ì¤ë¤Ë¥Á¥§¥Ã¥¯¤¬Æþ¤Ã¤Æ¤¤¤ë¤«¥Á¥§¥Ã¥¯
12function fnIsCartOn(){
13    if (document.form1.cart_flg.checked){
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<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
23<input type="hidden" name="mode" value="">
24<input type="hidden" name="campaign_id" value="<!--{$campaign_id}-->" >
25<input type="hidden" name="is_update" value="<!--{$is_update}-->" >
26
27<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
28    <tr valign="top">
29        <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
30            <!--¢§SUB NAVI-->
31            <!--{include file=$tpl_subnavi}-->
32            <!--¢¥SUB NAVI-->
33        </td>
34        <td class="mainbg">
35            <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
36            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
37                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
38                <tr>
39                    <td align="center">
40                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
41                       
42                            <tr><td height="14"></td></tr>
43                            <tr>
44                                <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
45                            </tr>
46                            <tr>
47                                <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>
48                                <td bgcolor="#cccccc">
49                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
50                                    <tr>
51                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
52                                    </tr>
53                                    <tr>
54                                        <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>
55                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥­¥ã¥ó¥Ú¡¼¥ó¥Ú¡¼¥¸ÅÐÏ¿</span></td>
56                                        <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>
57                                    </tr>
58                                    <tr>
59                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
60                                    </tr>
61                                    <tr>
62                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
63                                    </tr>
64                                </table>
65
66                                <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
67                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 
68                                    <thead>
69                                    <tr>
70                                        <td bgcolor="#f2f1ec" width="140" class="fs12n">¥­¥ã¥ó¥Ú¡¼¥ó̾<span class="red"> *</span></td>
71                                        <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>
72                                    </tr>
73                                    </thead>
74                                    <tfoot>
75                                    <tr class="fs12n">
76                                        <td bgcolor="#f2f1ec" width="140">¥­¥ã¥ó¥Ú¡¼¥ó´ü´Ö<span class="red"> *</span></td>
77                                        <td bgcolor="#ffffff" width="538">
78                                            <span class="red"><!--{$arrErr.start_year}--><!--{$arrErr.start_month}--><!--{$arrErr.start_day}--></span>
79                                            ³«»ÏÆü»þ¡§
80                                            <select name="start_year" <!--{if $arrErr.start_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
81                                                <option value="" selected>----</option>
82                                                <!--{html_options options=$arrYear selected=$arrForm.start_year}-->
83                                            </select>ǯ
84                                            <select name="start_month" <!--{if $arrErr.start_month || $arrErr.start_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
85                                                <option value="" selected>--</option>
86                                                <!--{html_options options=$arrMonth selected=$arrForm.start_month}-->
87                                            </select>·î
88                                            <select name="start_day" <!--{if $arrErr.start_day || $arrErr.start_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
89                                                <option value="" selected>--</option>
90                                                <!--{html_options options=$arrDay selected=$arrForm.start_day}-->
91                                            </select>Æü
92                                            <select name="start_hour" <!--{if $arrErr.start_hour || $arrErr.start_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
93                                                <option value="" selected>--</option>
94                                                <!--{html_options options=$arrHour selected=$arrForm.start_hour}-->
95                                            </select>»þ
96                                            <select name="start_minute" <!--{if $arrErr.start_minute || $arrErr.start_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
97                                                <option value="" selected>--</option>
98                                                <!--{html_options options=$arrMinutes selected=$arrForm.start_minute}-->
99                                            </select>ʬ<br/><br/><br/>
100                                            <span class="red"><!--{$arrErr.end_year}--><!--{$arrErr.end_month}--><!--{$arrErr.end_day}--></span>   
101                                            Ää»ßÆü»þ¡§
102                                            <select name="end_year" <!--{if $arrErr.end_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
103                                                <option value="" selected>----</option>
104                                                <!--{html_options options=$arrYear selected=$arrForm.end_year}-->
105                                            </select>ǯ
106                                            <select name="end_month" <!--{if $arrErr.end_month || $arrErr.end_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
107                                                <option value="" selected>--</option>
108                                                <!--{html_options options=$arrMonth selected=$arrForm.end_month}-->
109                                            </select>·î
110                                            <select name="end_day" <!--{if $arrErr.end_day || $arrErr.end_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
111                                                <option value="" selected>--</option>
112                                                <!--{html_options options=$arrDay selected=$arrForm.end_day}-->
113                                            </select>Æü
114                                            <select name="end_hour" <!--{if $arrErr.end_hour || $arrErr.end_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
115                                                <option value="" selected>--</option>
116                                                <!--{html_options options=$arrHour selected=$arrForm.end_hour}-->
117                                            </select>»þ
118                                            <select name="end_minute" <!--{if $arrErr.end_minute || $arrErr.end_year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
119                                                <option value="" selected>--</option>
120                                                <!--{html_options options=$arrMinutes selected=$arrForm.end_minute}-->
121                                            </select>ʬ<br/><br/><br/>
122                                        </td>
123                                    </tr>                                   
124                                    <tr>
125                                        <td bgcolor="#f2f1ec" width="140" class="fs12n">¥Ç¥£¥ì¥¯¥È¥ê̾<span class="red"> *</span></td>
126                                        <td bgcolor="#ffffff" width="538">
127                                            <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/>
128                                            <span class="fs10">¢¨<!--{$smarty.const.SITE_URL|sfTrimURL}--><!--{$smarty.const.URL_DIR|sfTrimURL}--><!--{$smarty.const.CAMPAIGN_URL}-->ÆþÎϤ·¤¿¥Ç¥£¥ì¥¯¥ê̾/ ¤Ç¥¢¥¯¥»¥¹½ÐÍè¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£</span>
129                                        </td>
130                                    </tr>
131                                    <tr>
132                                        <td bgcolor="#f2f1ec" width="140" class="fs12n">¿½¹þ¿ôÀ©¸æ</td>
133                                        <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;·ï¤Ç½ªÎ»¥Ú¡¼¥¸¤ËÀÚ¤êÂؤ¨
134                                        </td>
135                                    </tr>                               
136                                    <tr class="fs12n">
137                                        <td bgcolor="#f2f1ec" width="140">½ÅÊ£¿½¹þÀ©¸æ</td>
138                                        <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>
139                                    </tr>
140                                    <tr class="fs12n">
141                                        <td bgcolor="#f2f1ec" width="140">¥«¡¼¥È¤Ë¾¦ÉʤòÆþ¤ì¤ë</td>
142                                        <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>
143                                    </tr>
144                                    <tr class="fs12n">
145                                        <td bgcolor="#f2f1ec" width="140">Á÷ÎÁ̵ÎÁÀßÄê</td>
146                                        <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>
147                                    </tr>
148                                    </tfoot>
149                                </table>
150                                <!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
151                               
152                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
153                                    <tr>
154                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
155                                        <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
156                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
157                                    </tr>
158                                    <tr>
159                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
160                                        <td bgcolor="#e9e7de" align="center">
161                                        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
162                                            <tr>
163                                                <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>
164                                            </tr>
165                                        </table>
166                                        </td>
167                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
168                                    </tr>
169                                    <tr>
170                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
171                                    </tr>
172                                    </form>
173                                </table>
174                               
175                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
176                                    <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
177                                </table>
178                               
179                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
180                                    <tr>
181                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
182                                    </tr>
183                                    <tr>
184                                        <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>
185                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥­¥ã¥ó¥Ú¡¼¥ó°ìÍ÷</span></td>                                       
186                                        <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>
187                                    </tr>
188                                    <tr>
189                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
190                                    </tr>
191                                    <tr>
192                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
193                                    </tr>
194                                </table>
195
196                                <!--¢§°ìÍ÷ɽ¼¨¥¨¥ê¥¢¤³¤³¤«¤é-->
197                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
198                                    <tr bgcolor="#f2f1ec" align="center" class="fs12n">
199                                        <td width="205" rowspan="2">¥­¥ã¥ó¥Ú¡¼¥ó̾</td>
200                                        <td width="50" rowspan="2">¿½¹þ¿Í¿ô</td>
201                                        <td width="160" colspan="2">¥Ç¥¶¥¤¥óÀßÄê</td>
202                                        <td width="50" rowspan="2">ÊÔ½¸</td>
203                                        <td width="50" rowspan="2">ºï½ü</td>
204                                        <td width="50" rowspan="2">CSV</td>
205                                    </tr>
206                                    <tr bgcolor="#f2f1ec" align="center" class="fs12n">
207                                        <td width="80">¥­¥ã¥ó¥Ú¡¼¥óÃæ</td>
208                                        <td width="80">¥­¥ã¥ó¥Ú¡¼¥ó½ªÎ»</td>
209                                    </tr>
210                                    <!--{section name=cnt loop=$arrCampaign}-->                 
211                                    <tr bgcolor="#ffffff" align="center" class="fs12n">
212                                        <td width="205"><!--{$arrCampaign[cnt].campaign_name}--></td>
213                                        <td width="50"><!--{$arrCampaign[cnt].total_count}--></td>
214                                        <td width="80"><a href="<!--{$smarty.const.URL_CAMPAIGN_DESIGN}-->?campaign_id=<!--{$arrCampaign[cnt].campaign_id}-->&status=active">ÀßÄê</a></td>
215                                        <td width="80"><a href="<!--{$smarty.const.URL_CAMPAIGN_DESIGN}-->?campaign_id=<!--{$arrCampaign[cnt].campaign_id}-->&status=end">ÀßÄê</a></td>
216                                        <!--{if $arrCampaign[cnt].campaign_id != $arrForm.campaign_id}-->
217                                        <td width="50"><a href="javascript:fnFormModeSubmit('form1', 'update', 'campaign_id', '<!--{$arrCampaign[cnt].campaign_id}-->')">ÊÔ½¸</a></td>
218                                        <!--{else}-->
219                                        <td width="50">ÊÔ½¸</td>
220                                        <!--{/if}-->
221                                        <td width="50"><a href="javascript:fnFormModeSubmit('form1', 'delete', 'campaign_id', '<!--{$arrCampaign[cnt].campaign_id}-->')">ºï½ü</a></td>
222                                        <td width="50"><a href="javascript:fnFormModeSubmit('form1', 'csv', 'campaign_id', '<!--{$arrCampaign[cnt].campaign_id}-->')">CSV</a></td>
223                                    </tr>
224                                    <!--{/section}-->                                   
225                                </table>
226                                <!--¢¥°ìÍ÷ɽ¼¨¥¨¥ê¥¢¤³¤³¤Þ¤Ç-->
227                                   
228                                </td>
229                                <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>
230                            </tr>
231                            <tr>
232                                <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
233                            </tr>
234                            <tr><td height="30"></td></tr>
235                        </table>
236                    </td>
237                </tr>
238                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
239            </table>
240            <!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
241        </td>
242    </tr>
243</table>
244</form>
245<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
Note: See TracBrowser for help on using the repository browser.