source: branches/comu/data/Smarty/templates/admin/contents/campaign.tpl @ 11984

Revision 11984, 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 <!--{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}-->"/>&nbsp;·ï¤Ç½ªÎ»¥Ú¡¼¥¸¤ËÀÚ¤êÂؤ¨
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<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
Note: See TracBrowser for help on using the repository browser.