source: branches/comu/data/Smarty/templates_c/admin/%%56^566^566CC779%%file_manager.tpl.php @ 2

Revision 2, 12.3 KB checked in by root, 17 years ago (diff)

new import

Line 
1<?php /* Smarty version 2.6.13, created on 2007-01-10 13:54:44
2         compiled from contents/file_manager.tpl */ ?>
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'contents/file_manager.tpl', 10, false),array('modifier', 'number_format', 'contents/file_manager.tpl', 94, false),array('modifier', 'sfTrimURL', 'contents/file_manager.tpl', 112, false),)), $this); ?>
5<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
6<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
7<form name="form1" method="post" action="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
8"  enctype="multipart/form-data">
9<input type="hidden" name="mode" value="">
10<input type="hidden" name="now_file" value="<?php echo $this->_tpl_vars['tpl_now_dir']; ?>
11">
12<input type="hidden" name="tree_select_file" value="">
13<input type="hidden" name="tree_status" value="">
14<input type="hidden" name="select_file" value="">
15    <tr valign="top">
16        <td background="<?php echo @URL_DIR; ?>
17img/contents/navi_bg.gif" height="402">
18            <!--¢§SUB NAVI-->
19            <?php $_smarty_tpl_vars = $this->_tpl_vars;
20$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['tpl_subnavi'], 'smarty_include_vars' => array()));
21$this->_tpl_vars = $_smarty_tpl_vars;
22unset($_smarty_tpl_vars);
23 ?>
24            <!--¢¥SUB NAVI-->
25        </td>
26        <td class="mainbg">
27            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
28                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
29                <tr>
30                    <td align="center">
31                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
32                            <tr><td height="14"></td></tr>
33                            <tr>
34                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
35img/contents/main_top.jpg" width="706" height="14" alt=""></td>
36                            </tr>
37                            <tr valign="top">
38                                <td background="<?php echo @URL_DIR; ?>
39img/contents/main_left.jpg"><img src="<?php echo @URL_DIR; ?>
40img/common/_.gif" width="14" height="1" alt=""></td>
41                                <td bgcolor="#cccccc">
42                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
43                                    <tr>
44                                        <td colspan="3"><img src="<?php echo @URL_DIR; ?>
45img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
46                                    </tr>
47                                    <tr>
48                                        <td background="<?php echo @URL_DIR; ?>
49img/contents/contents_title_left_bg.gif"><img src="<?php echo @URL_DIR; ?>
50img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
51                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥Õ¥¡¥¤¥ë´ÉÍý</span></td>
52                                        <td background="<?php echo @URL_DIR; ?>
53img/contents/contents_title_right_bg.gif"><img src="<?php echo @URL_DIR; ?>
54img/common/_.gif" width="18" height="1" alt=""></td>
55                                    </tr>
56                                    <tr>
57                                        <td colspan="3"><img src="<?php echo @URL_DIR; ?>
58img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
59                                    </tr>
60                                    <tr>
61                                        <td colspan="3"><img src="<?php echo @URL_DIR; ?>
62img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
63                                    </tr>
64                                </table>
65                                <!--¢§¥Õ¥¡¥¤¥ë´ÉÍý¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
66                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
67                                    <tr class="fs12n" bgcolor="#f2f1ec">
68                                        <td>¥Ç¥£¥ì¥¯¥È¥ê</td>
69                                        <td>
70                                            <div id="now_dir">
71                                            <img src="<?php echo @URL_DIR; ?>
72img/admin/contents/folder_open.gif" alt="¥Õ¥©¥ë¥À">
73                                            &nbsp;<?php echo $this->_tpl_vars['tpl_now_file']; ?>
74
75                                            </div>
76                                        </td>
77                                    </tr>
78                                    <tr class="fs12n" bgcolor="#ffffff">
79                                        <td>
80                                            <div id="tree"></div>
81                                        </td>
82                                        <td><span class="red"><?php echo $this->_tpl_vars['arrErr']['select_file']; ?>
83</span>
84                                            <div id="file_view">
85                                                <table border="0" cellspacing="0" cellpadding="2" summary=" ">
86                                                    <tr class="fs12n" bgcolor="#f2f1ec">
87                                                        <td>¥Õ¥¡¥¤¥ë̾</td>
88                                                        <td align="right">¥µ¥¤¥º</td>
89                                                        <td>¹¹¿·ÆüÉÕ</td>
90                                                    </tr>
91                                                    <?php if (! $this->_tpl_vars['tpl_is_top_dir']): ?>
92                                                    <tr class="fs12n" id="parent_dir" onclick="fnSetFormVal('form1', 'select_file', '<?php echo ((is_array($_tmp=$this->_tpl_vars['tpl_parent_dir'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
93');fnSelectFile('parent_dir', '#808080');" onDblClick="setTreeStatus('tree_status');fnDbClick(arrTree, '<?php echo ((is_array($_tmp=$this->_tpl_vars['tpl_parent_dir'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
94', true, '<?php echo ((is_array($_tmp=$this->_tpl_vars['tpl_now_dir'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
95', true)" style="" onMouseOver="fnChangeBgColor('parent_dir', '#808080');" onMouseOut="fnChangeBgColor('parent_dir', '');">
96                                                        <td>
97                                                            <img src="<?php echo @URL_DIR; ?>
98img/admin/contents/folder_parent.gif" alt="¥Õ¥©¥ë¥À">&nbsp;..
99                                                        </td>
100                                                        <td align="right"></td>
101                                                        <td></td>
102                                                    </tr>                                       
103                                                    <?php endif; ?>
104                                                    <?php unset($this->_sections['cnt']);
105$this->_sections['cnt']['name'] = 'cnt';
106$this->_sections['cnt']['loop'] = is_array($_loop=$this->_tpl_vars['arrFileList']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
107$this->_sections['cnt']['show'] = true;
108$this->_sections['cnt']['max'] = $this->_sections['cnt']['loop'];
109$this->_sections['cnt']['step'] = 1;
110$this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1;
111if ($this->_sections['cnt']['show']) {
112    $this->_sections['cnt']['total'] = $this->_sections['cnt']['loop'];
113    if ($this->_sections['cnt']['total'] == 0)
114        $this->_sections['cnt']['show'] = false;
115} else
116    $this->_sections['cnt']['total'] = 0;
117if ($this->_sections['cnt']['show']):
118
119            for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1;
120                 $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total'];
121                 $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++):
122$this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration'];
123$this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step'];
124$this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step'];
125$this->_sections['cnt']['first']      = ($this->_sections['cnt']['iteration'] == 1);
126$this->_sections['cnt']['last']       = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']);
127?>
128                                                    <?php $this->assign('id', "select_file".($this->_sections['cnt']['index'])); ?>
129                                                    <tr class="fs12n" id="<?php echo $this->_tpl_vars['id']; ?>
130" onclick="fnSetFormVal('form1', 'select_file', '<?php echo ((is_array($_tmp=$this->_tpl_vars['arrFileList'][$this->_sections['cnt']['index']]['file_path'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
131');fnSelectFile('<?php echo $this->_tpl_vars['id']; ?>
132', '#808080');" onDblClick="setTreeStatus('tree_status');fnDbClick(arrTree, '<?php echo ((is_array($_tmp=$this->_tpl_vars['arrFileList'][$this->_sections['cnt']['index']]['file_path'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
133', <?php if (((is_array($_tmp=$this->_tpl_vars['arrFileList'][$this->_sections['cnt']['index']]['is_dir'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp))): ?>true<?php else: ?>false<?php endif; ?>, '<?php echo ((is_array($_tmp=$this->_tpl_vars['tpl_now_dir'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
134', false)" style="" onMouseOver="fnChangeBgColor('<?php echo $this->_tpl_vars['id']; ?>
135', '#808080');" onMouseOut="fnChangeBgColor('<?php echo $this->_tpl_vars['id']; ?>
136', '');">
137                                                        <td>
138                                                            <?php if ($this->_tpl_vars['arrFileList'][$this->_sections['cnt']['index']]['is_dir']): ?>
139                                                            <img src="<?php echo @URL_DIR; ?>
140img/admin/contents/folder_close.gif" alt="¥Õ¥©¥ë¥À">
141                                                            <?php else: ?>
142                                                            <img src="<?php echo @URL_DIR; ?>
143img/admin/contents/file.gif">
144                                                            <?php endif; ?>
145                                                            <?php echo ((is_array($_tmp=$this->_tpl_vars['arrFileList'][$this->_sections['cnt']['index']]['file_name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
146
147                                                        </td>
148                                                        <td align="right"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrFileList'][$this->_sections['cnt']['index']]['file_size'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
149</td>
150                                                        <td><?php echo ((is_array($_tmp=$this->_tpl_vars['arrFileList'][$this->_sections['cnt']['index']]['file_time'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
151</td>
152                                                    </tr>
153                                                    <?php endfor; endif; ?>
154                                                </table>
155                                            </div>
156                                            <table border="0" cellspacing="0" cellpadding="5" summary=" ">
157                                                <tr>
158                                                    <td><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('view','',''); return false;" value="ɽ¼¨"></td>
159                                                    <td><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('download','',''); return false;" value="¥À¥¦¥ó¥í¡¼¥É"></td>
160                                                    <td><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('delete','',''); return false;" value="ºï½ü"></td>
161                                                </tr>
162                                            </table>
163                                        </td>
164                                    </tr>
165                                </table>
166                                <table width="678" border="1" cellspacing="1" cellpadding="8" summary=" ">
167                                    <tr class="fs12n">
168                                        <td>¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê&nbsp;¡§&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['tpl_now_dir'])) ? $this->_run_mod_handler('sfTrimURL', true, $_tmp) : sfTrimURL($_tmp)); ?>
169/</td>
170                                    </tr>
171                                </table>
172                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
173                                    <tr class="fs12n">
174                                        <td bgcolor="#f2f1ec">¥Õ¥¡¥¤¥ë¤Î¥¢¥Ã¥×¥í¡¼¥É</td>
175                                        <td bgcolor="#ffffff"><span class="red"><?php echo $this->_tpl_vars['arrErr']['upload_file']; ?>
176</span><input type="file" name="upload_file" size="64" class="box54" <?php if ($this->_tpl_vars['arrErr']['upload_file']): ?>style="background-color:<?php echo ((is_array($_tmp=@ERR_COLOR)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
177"<?php endif; ?>><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('upload','',''); return false;" value="¥¢¥Ã¥×¥í¡¼¥É"></td>
178                                    </tr>
179                                    <tr class="fs12n">
180                                        <td bgcolor="#f2f1ec">¥Õ¥©¥ë¥ÀºîÀ®</td>
181                                        <td bgcolor="#ffffff"><span class="red"><?php echo $this->_tpl_vars['arrErr']['create_file']; ?>
182</span><input type="text" name="create_file" value="" style="width:336px;<?php if ($this->_tpl_vars['arrErr']['create_file']): ?> background-color:<?php echo ((is_array($_tmp=@ERR_COLOR)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp));  endif; ?>"><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('create','',''); return false;" value="ºîÀ®"></td>
183                                    </tr>
184                                    <thead>
185                                </table>
186                                <!--¢¥¥Õ¥¡¥¤¥ë´ÉÍý¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
187                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
188                                    <tr><td colspan="3"><img src="<?php echo @URL_DIR; ?>
189img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
190                                </table>
191                                   
192                                </td>
193                                <td background="<?php echo @URL_DIR; ?>
194img/contents/main_right.jpg"><img src="<?php echo @URL_DIR; ?>
195img/common/_.gif" width="14" height="1" alt=""></td>
196                            </tr>
197                            <tr>
198                                <td colspan="3"><img src="<?php echo @URL_DIR; ?>
199img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
200                            </tr>
201                            <tr><td height="30"></td></tr>
202                        </table>
203                    </td>
204                </tr>
205                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
206            </table>
207        </td>
208    </tr>
209</form>
210</table>
211<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
Note: See TracBrowser for help on using the repository browser.