source: branches/dev/data/Smarty/templates/admin/contents/campaign_design.tpl @ 367

Revision 367, 9.8 KB checked in by uehara, 17 years ago (diff)
RevLine 
[8]1<!--{*
2/*
[17]3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
[8]4 *
5 * http://www.lockon.co.jp/
6 */
7*}-->
8<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
[367]9<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
[8]10<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" >
11<input type="hidden" name="mode" value="">
12<input type="hidden" name="campaign_id" value="<!--{$arrForm.campaign_id}-->">
13<input type="hidden" name="status" value="<!--{$arrForm.status}-->">
14<input type="hidden" name="header_row" value="">
15<input type="hidden" name="contents_row" value="">
16<input type="hidden" name="footer_row" value="">
17    <tr valign="top">
18        <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
19            <!--¢§SUB NAVI-->
20            <!--{include file=$tpl_subnavi}-->
21            <!--¢¥SUB NAVI-->
22        </td>
23        <td class="mainbg">
24            <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
25            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
26                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
27                <tr>
28                    <td align="center">
29                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
30                            <tr><td height="14"></td></tr>
31                            <tr>
32                                <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
33                            </tr>
34                            <tr>
35                                <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>
36                                <td bgcolor="#cccccc">
37                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
38                                    <tr>
39                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
40                                    </tr>
41                                    <tr>
42                                        <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>
43                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë--><!--{$tpl_campaign_title}--></span></td>
44                                        <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>
45                                    </tr>
46                                    <tr>
47                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
48                                    </tr>
49                                    <tr>
50                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
51                                    </tr>
52                                </table>
53
54                                <!--¢§¥Ø¥Ã¥À¡¼ÊÔ½¸¡¡¤³¤³¤«¤é-->
55                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
56                                    <tr class="fs12n">
57                                        <td bgcolor="#f2f1ec" align="center"><strong>¥Ø¥Ã¥À¡¼ÊÔ½¸</strong></td>
58                                    </tr>
59                                   
60                                    <tr class="fs12n">
61                                        <td bgcolor="#f2f1ec" align="center">
62                                            <br/><textarea name="header" cols=90 rows=<!--{$header_row}--> align="left" wrap=off style="width: 650px;"><!--{$header_data}--></textarea>
63                                            <div align="right">
64                                            <input type="button" value=<!--{if $header_row > 13}-->"¾®¤µ¤¯¤¹¤ë"<!--{else}-->"Â礭¤¯¤¹¤ë"<!--{/if}--> onClick="ChangeSize(this, header, 50, 13, header_row)">
65                                            </div><br/>
66                                        </td>
67                                    </tr>
68                                </table>
69                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
70                                    <tr>
71                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
72                                        <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
73                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
74                                    </tr>
75                                    <tr>
76                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
77                                    </tr>
78                                </table>
79
80                                <!--¢¥¥Ø¥Ã¥À¡¼ÊÔ½¸¡¡¤³¤³¤Þ¤Ç-->
81
82                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
83                                    <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
84                                </table>
85
86                                <!--¢§¥³¥ó¥Æ¥ó¥ÄÊÔ½¸¡¡¤³¤³¤«¤é-->
87                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
88                                    <tr class="fs12n">
89                                        <td bgcolor="#f2f1ec" align="center"><strong>¥³¥ó¥Æ¥ó¥ÄÊÔ½¸</strong></td>
90                                    </tr>
91                                    <tr class="fs12n">
92                                        <td bgcolor="#f2f1ec" align="center" colspan="2"><br/>
93                                            <textarea name="contents" cols=90 rows=<!--{$contents_row}--> align="left" wrap=off style="width: 650px;"><!--{$contents_data}--></textarea>
94                                            <div align="right">
95                                            <input type="button" value="¾¦ÉÊÀßÄê" onclick="win03('./campaign_create_tag.php?campaign_id=<!--{$arrForm.campaign_id}-->', 'search', '550', '500');">
96                                            <input type="button" value=<!--{if $contents_row > 13}-->"¾®¤µ¤¯¤¹¤ë"<!--{else}-->"Â礭¤¯¤¹¤ë"<!--{/if}--> onClick="ChangeSize(this, contents, 50, 13, contents_row)">
97                                            </div><br/>
98                                        </td>
99                                    </tr>
100                                </table>
101                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
102                                    <tr>
103                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
104                                        <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
105                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
106                                    </tr>
107                                    <tr>
108                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
109                                    </tr>
110                                </table>
111
112                                <!--¢¥¥³¥ó¥Æ¥ó¥ÄÊÔ½¸¡¡¤³¤³¤Þ¤Ç-->
113
114                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
115                                    <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
116                                </table>
117
118                                <!--¢§¥Õ¥Ã¥¿¡¼ÊÔ½¸¡¡¤³¤³¤«¤é-->
119                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
120                                    <tr class="fs12n">
121                                        <td bgcolor="#f2f1ec" align="center" colspan="3"><strong>¥Õ¥Ã¥¿¡¼ÊÔ½¸</strong></td>
122                                    </tr>
123
124                                    <tr class="fs12n">
125                                        <td bgcolor="#f2f1ec" align="center"><br/>
126                                            <textarea name="footer" cols=90 rows=<!--{$footer_row}--> align="left" wrap=off style="width: 650px;"><!--{$footer_data}--></textarea>
127                                            <div align="right">
128                                            <input type="button" value=<!--{if $footer_row > 13}-->"¾®¤µ¤¯¤¹¤ë"<!--{else}-->"Â礭¤¯¤¹¤ë"<!--{/if}--> onClick="ChangeSize(this, footer, 50, 13, footer_row)">
129                                            </div><br/>
130                                        </td>
131                                    </tr>
132                                </table>
133                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
134                                    <tr>
135                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
136                                        <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
137                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
138                                    </tr>
139                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
140                                        <td bgcolor="#e9e7de" align="center">
141                                        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
142                                            <tr>
143                                                <td>
144                                                    <input type="button" onclick="fnFormModeSubmit('form1', 'return', '', ''); return false;" value="ÅÐÏ¿¥Ú¡¼¥¸¤ØÌá¤ë">                                         
145                                                    <input type="button" onclick="fnFormModeSubmit('form1', 'regist', '', ''); return false;" value="Êݸ">
146                                                    <input type="button" onclick="fnFormModeSubmit('form1', 'preview', '', ''); return false;" value="¥×¥ì¥Ó¥å¡¼">
147                                                </td>
148                                            </tr>
149                                        </table>
150                                        </td>
151                                        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>                             
152                                    <tr>
153                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
154                                    </tr>
155                                </table>                               
156                                <!--¢¥¥Õ¥Ã¥¿¡¼ÊÔ½¸¡¡¤³¤³¤Þ¤Ç-->
157                                </td>
158                                <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>
159                            </tr>
160                            <tr>
161                                <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
162                            </tr>
163                            <tr><td height="30"></td></tr>
164                        </table>
165                    </td>
166                </tr>
167                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
168            </table>
169            <!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
170        </td>
171    </tr>
[367]172</form>
[8]173</table>
174<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
175
176<script type="text/javascript">
177    /* ¥Æ¥­¥¹¥È¥¨¥ê¥¢¤ÎÂ礭¤µ¤òÊѹ¹¤¹¤ë */
178    function ChangeSize(button, TextArea, Max, Min, row_tmp){
179        if(TextArea.rows <= Min){
180            TextArea.rows=Max; button.value="¾®¤µ¤¯¤¹¤ë"; row_tmp.value=Max;
181        }else{
182            TextArea.rows =Min; button.value="Â礭¤¯¤¹¤ë"; row_tmp.value=Min;
183        }
184    }
185   
186    /* ¥Ö¥é¥¦¥¶¤Î¼ïÎà¤ò¥»¥Ã¥È¤¹¤ë */
187    function lfnSetBrowser(form, item){
188        browser_type = 0;
189        if(navigator.userAgent.indexOf("MSIE") >= 0){
190            browser_type = 1;
191        }
192        else if(navigator.userAgent.indexOf("Gecko/") >= 0){
193            browser_type = 2;
194        }
195       
196        document[form][item].value=browser_type;
197    }
198
199</script>
Note: See TracBrowser for help on using the repository browser.