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

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