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 | <form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
|
---|
11 | <input type="hidden" name="mode" value="">
|
---|
12 | <input type="hidden" name="now_file" value="<!--{$tpl_now_dir}-->">
|
---|
13 | <input type="hidden" name="tree_select_file" value="">
|
---|
14 | <input type="hidden" name="tree_status" value="">
|
---|
15 | <input type="hidden" name="select_file" value="">
|
---|
16 | <tr valign="top">
|
---|
17 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
|
---|
18 | <!--▼SUB NAVI-->
|
---|
19 | <!--{include file=$tpl_subnavi}-->
|
---|
20 | <!--▲SUB NAVI-->
|
---|
21 | </td>
|
---|
22 | <td class="mainbg">
|
---|
23 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
24 | <!--メインエリア-->
|
---|
25 | <tr>
|
---|
26 | <td align="center">
|
---|
27 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
28 | <tr><td height="14"></td></tr>
|
---|
29 | <tr>
|
---|
30 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
31 | </tr>
|
---|
32 | <tr valign="top">
|
---|
33 | <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>
|
---|
34 | <td bgcolor="#cccccc">
|
---|
35 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
36 | <tr>
|
---|
37 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
38 | </tr>
|
---|
39 | <tr>
|
---|
40 | <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>
|
---|
41 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->ファイル管理</span></td>
|
---|
42 | <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>
|
---|
43 | </tr>
|
---|
44 | <tr>
|
---|
45 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
46 | </tr>
|
---|
47 | <tr>
|
---|
48 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
49 | </tr>
|
---|
50 | </table>
|
---|
51 | <!--▼ファイル管理テーブルここから-->
|
---|
52 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
53 | <tr class="fs12n" bgcolor="#f2f1ec">
|
---|
54 | <td>ディレクトリ</td>
|
---|
55 | <td>
|
---|
56 | <div id="now_dir">
|
---|
57 | <img src="<!--{$smarty.const.URL_DIR}-->img/admin/contents/folder_open.gif" alt="フォルダ">
|
---|
58 | <!--{$tpl_now_file}-->
|
---|
59 | </div>
|
---|
60 | </td>
|
---|
61 | </tr>
|
---|
62 | <tr class="fs12n" bgcolor="#ffffff">
|
---|
63 | <td>
|
---|
64 | <div id="tree"></div>
|
---|
65 | </td>
|
---|
66 | <td><span class="red"><!--{$arrErr.select_file}--></span>
|
---|
67 | <div id="file_view">
|
---|
68 | <table border="0" cellspacing="0" cellpadding="2" summary=" ">
|
---|
69 | <tr class="fs12n" bgcolor="#f2f1ec">
|
---|
70 | <td>ファイル名</td>
|
---|
71 | <td align="right">サイズ</td>
|
---|
72 | <td>更新日付</td>
|
---|
73 | </tr>
|
---|
74 | <!--{if !$tpl_is_top_dir}-->
|
---|
75 | <tr class="fs12n" id="parent_dir" onclick="fnSetFormVal('form1', 'select_file', '<!--{$tpl_parent_dir|escape}-->');fnSelectFile('parent_dir', '#808080');" onDblClick="setTreeStatus('tree_status');fnDbClick(arrTree, '<!--{$tpl_parent_dir|escape}-->', true, '<!--{$tpl_now_dir|escape}-->', true)" style="" onMouseOver="fnChangeBgColor('parent_dir', '#808080');" onMouseOut="fnChangeBgColor('parent_dir', '');">
|
---|
76 | <td>
|
---|
77 | <img src="<!--{$smarty.const.URL_DIR}-->img/admin/contents/folder_parent.gif" alt="フォルダ"> ..
|
---|
78 | </td>
|
---|
79 | <td align="right"></td>
|
---|
80 | <td></td>
|
---|
81 | </tr>
|
---|
82 | <!--{/if}-->
|
---|
83 | <!--{section name=cnt loop=$arrFileList}-->
|
---|
84 | <!--{assign var="id" value="select_file`$smarty.section.cnt.index`"}-->
|
---|
85 | <tr class="fs12n" id="<!--{$id}-->" onclick="fnSetFormVal('form1', 'select_file', '<!--{$arrFileList[cnt].file_path|escape}-->');fnSelectFile('<!--{$id}-->', '#808080');" onDblClick="setTreeStatus('tree_status');fnDbClick(arrTree, '<!--{$arrFileList[cnt].file_path|escape}-->', <!--{if $arrFileList[cnt].is_dir|escape}-->true<!--{else}-->false<!--{/if}-->, '<!--{$tpl_now_dir|escape}-->', false)" style="" onMouseOver="fnChangeBgColor('<!--{$id}-->', '#808080');" onMouseOut="fnChangeBgColor('<!--{$id}-->', '');">
|
---|
86 | <td>
|
---|
87 | <!--{if $arrFileList[cnt].is_dir}-->
|
---|
88 | <img src="<!--{$smarty.const.URL_DIR}-->img/admin/contents/folder_close.gif" alt="フォルダ">
|
---|
89 | <!--{else}-->
|
---|
90 | <img src="<!--{$smarty.const.URL_DIR}-->img/admin/contents/file.gif">
|
---|
91 | <!--{/if}-->
|
---|
92 | <!--{$arrFileList[cnt].file_name|escape}-->
|
---|
93 | </td>
|
---|
94 | <td align="right"><!--{$arrFileList[cnt].file_size|number_format}--></td>
|
---|
95 | <td><!--{$arrFileList[cnt].file_time|escape}--></td>
|
---|
96 | </tr>
|
---|
97 | <!--{/section}-->
|
---|
98 | </table>
|
---|
99 | </div>
|
---|
100 | <table border="0" cellspacing="0" cellpadding="5" summary=" ">
|
---|
101 | <tr>
|
---|
102 | <td><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('view','',''); return false;" value="表示"></td>
|
---|
103 | <td><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('download','',''); return false;" value="ダウンロード"></td>
|
---|
104 | <td><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('delete','',''); return false;" value="削除"></td>
|
---|
105 | </tr>
|
---|
106 | </table>
|
---|
107 | </td>
|
---|
108 | </tr>
|
---|
109 | </table>
|
---|
110 | <table width="678" border="1" cellspacing="1" cellpadding="8" summary=" ">
|
---|
111 | <tr class="fs12n">
|
---|
112 | <td>現在のディレクトリ : <!--{$tpl_now_dir|sfTrimURL}-->/</td>
|
---|
113 | </tr>
|
---|
114 | </table>
|
---|
115 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
116 | <tr class="fs12n">
|
---|
117 | <td bgcolor="#f2f1ec">ファイルのアップロード</td>
|
---|
118 | <td bgcolor="#ffffff"><span class="red"><!--{$arrErr.upload_file}--></span><input type="file" name="upload_file" size="64" class="box54" <!--{if $arrErr.upload_file}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('upload','',''); return false;" value="アップロード"></td>
|
---|
119 | </tr>
|
---|
120 | <tr class="fs12n">
|
---|
121 | <td bgcolor="#f2f1ec">フォルダ作成</td>
|
---|
122 | <td bgcolor="#ffffff"><span class="red"><!--{$arrErr.create_file}--></span><input type="text" name="create_file" value="" style="width:336px;<!--{if $arrErr.create_file}--> background-color:<!--{$smarty.const.ERR_COLOR|escape}--><!--{/if}-->"><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('create','',''); return false;" value="作成"></td>
|
---|
123 | </tr>
|
---|
124 | <thead>
|
---|
125 | </table>
|
---|
126 | <!--▲ファイル管理テーブルここまで-->
|
---|
127 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
128 | <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
|
---|
129 | </table>
|
---|
130 |
|
---|
131 | </td>
|
---|
132 | <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>
|
---|
133 | </tr>
|
---|
134 | <tr>
|
---|
135 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
136 | </tr>
|
---|
137 | <tr><td height="30"></td></tr>
|
---|
138 | </table>
|
---|
139 | </td>
|
---|
140 | </tr>
|
---|
141 | <!--メインエリア-->
|
---|
142 | </table>
|
---|
143 | </td>
|
---|
144 | </tr>
|
---|
145 | </form>
|
---|
146 | </table>
|
---|
147 | <!--★★メインコンテンツ★★--> |
---|