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

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