source: branches/dev/data/Smarty/templates/admin/design/header.tpl @ 17

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