Вход Регистрация
Файл: EasyHost v2.0/system/htdocs/manager/files/directory/default.html
Строк: 206
<?php
<html>
    <
head>
        <
link rel="stylesheet" type="text/css" href="<{system.htdocs}>styles/<{system.color}>/default.css" />
        <
title>DIRECTORY</title>
        <
script type="text/javascript">
        <!--
            function 
go(command)
            {
                
document.getElementById('form').command.value 'manager/files/file/' command;
            }

            function 
directory()
            {
                <%if:
"{system.param('dir_reload')}"%>
                
parent.left.location.reload();
                <%else%>
                if (
old_dir_lookup parent.left.document.getElementById('old_directory'))
                {
                    
old_dir parent.left.document.getElementById('td_' old_dir_lookup.value);
                    
old_dir.className 'none';

                    
old_dir_lookup.value '<{directory.path}>';

                    
current_dir parent.left.document.getElementById('td_<{directory.path}>');
                    
current_dir.className 'selected';
                }
                <%
end%>
            }
        
//-->
        
</script>
    </
head>
    <
body marginwidth="10" marginheight="10" topmargin="10" leftmargin="10" rightmargin="10" bottomargin="10" bgcolor="<{system.color('body_bg')}>" onload="directory()">
        <%if:
"{directory.children.count} > 0"%>
        <
form method="get" id="form">
            <
input type="hidden" name="command" value="manager/files/directory" />
            <
input type="hidden" name="temp" value="temp" />
            <
table border="0" cellspacing="0" cellpadding="0" width="100%">
                <
tr>
                    <
td bgcolor="<{system.color('border')}>">
                        <
table border="0" cellspacing="1" cellpadding="0" width="100%">
                            <
tr>
                                <
td>
                                    <
table border="0" cellspacing="0" cellpadding="0" width="100%" height="25" bgcolor="<{system.color('link')}>" background="<{system.htdocs}>styles/<{system.color}>/titlebg.gif">
                                        <
tr>
                                            <
td width="52" nowrap="nowrap">&nbsp;</td>
                                            <
td width="100%"><font color="#ffffff"><b>Name</b></font></td>
                                            <
td nowrap="nowrap"><font color="#ffffff"><b>Size</b></font></td>
                                            <
td width="21" nowrap="nowrap">&nbsp;</td>
                                            <
td width="133" nowrap="nowrap"><font color="#ffffff"><b>Date</b></font></td>
                                        </
tr>
                                    </
table>
                                    <
table border="0" cellspacing="0" cellpadding="10" width="100%">
                                        <
tr>
                                            <
td bgcolor="<{system.color('content_bg')}>">
                                                <
table border="0" cellspacing="0" cellpadding="0" width="100%">
                                                    <%
files%>
                                                    <
tr>
                                                        <
td width="16" nowrap="nowrap"><%if:"{file.type} && {file.type} ne 'directory'"%><a href="<{file.url}>" target="_blank"><img src="<{system.htdocs}>images/types/<{file.type}>.gif" border="0" width="16" height="16" alt="View this file in a new window." /></a><%else%>&nbsp;<%end%></td>
                                                        <
td nowrap="nowrap">&nbsp;<input type="checkbox" value="<{file.name}>" name="file" />&nbsp;</td>
                                                        <
td width="100%"><%if:"{file.type} eq 'directory'"%><a href="<{system.url}>&directory=<{directory.path}><{file.name}>/"><b><{file.name}></b></a><%else_if:"{file.type} eq 'html'"%><a href="<{system.url('/manager/files/file')}>&file=<{file.name}>" target="main"><{file.name}></a><%if:"length {file.title} > 0"%> (<{file.title}>)<%end%><%else_if:"{file.type} eq 'text'"%><a href="<{system.url('/manager/files/file')}>&file=<{file.name}>" target="main"><{file.name}></a><%else%><a href="<{file.url}>" target="_blank"><{file.name}></a><%end%></td>
                                                        <
td align="right"><{file.size.total}>&nbsp;</td>
                                                        <
td><{file.size.block}></td>
                                                        <
td width="20" nowrap="nowrap">&nbsp;</td>
                                                        <
td nowrap="nowrap"><{file.date_modified}></td>
                                                    </
tr>
                                                    <%
end%>
                                                </
table>
                                            </
td>
                                        </
tr>
                                    </
table>
                                </
td>
                            </
tr>
                            <
tr>
                                <
td>
                                    <
table border="0" cellspacing="0" cellpadding="3" width="100%" bgcolor="<{system.color('highlight_bg')}>">
                                        <
tr>
                                            <
td<%if:"{system.env('HTTP_USER_AGENT')} !~ /mozilla/4/i || {system.env('HTTP_USER_AGENT')} =~ /compatible/i"%> class="buttons"<%end%>>
                                                <
input type="submit" id="delete" value="Delete" onclick="go(this.id)" />
                                                <
input type="submit" id="rename" value="Rename" onclick="go(this.id)" />
                                                <
input type="submit" id="move" value="Move" onclick="go(this.id)" />
                                                <%if:
"{directory.files.count} > 0"%>
                                                <
input type="submit" id="copy" value="Copy" onclick="go(this.id)" />
                                                <%
end%>
                                            </
td>
                                            <
td align="right">
                                                <
select onchange="document.form.submit()" size="1" name="extension">
                                                    <
option value=""> - All - </option>
                                                    <%
extensions%>
                                                    <
option value="<{extension.name}>"<%if:"{system.param('extension')} eq {extension.name}"%> selected="selected"<%end%>><{extension.name}> (<{extension.files.count}>)</option>
                                                    <%
end%>
                                                </
select>
                                            </
td>
                                        </
tr>
                                    </
table>
                                </
td>
                            </
tr>
                        </
table>
                    </
td>
                </
tr>
            </
table>
            <
table border="0" cellspacing="10" cellpadding="0" width="100%">
                <
tr>
                    <
td><{directory.children_size.string}> (<{directory.files.count}> file<%if:"{directory.files.count} != 1"%>s<%end%>, <{directory.directories.count}> director<%if:"{directory.directories.count} != 1"%>ies<%else%>y<%end%>)</td>
                    <
td align="right">Disable WYSIWYG <input type="checkbox" name="disable_wysiwyg" value="1" onclick="document.getElementById('form').submit()"<%if:"{login.user.config('disable_wysiwyg')} == 1"%> checked="checked"<%end%> /></td>
                </
tr>
            </
table>
        </
form>
        <%else%>
        <
table border="0" cellspacing="0" cellpadding="0" width="100%">
            <
tr>
                <
td bgcolor="<{system.color('border')}>">
                    <
table border="0" cellspacing="1" cellpadding="0" width="100%">
                        <
tr>
                            <
td>
                                <
table border="0" cellspacing="0" cellpadding="0" width="100%" height="25" bgcolor="<{system.color('link')}>" background="<{system.htdocs}>styles/<{system.color}>/titlebg.gif">
                                    <
tr>
                                        <
td><font color="#ffffff"><b>&nbspFolder is Currently Empty</b></font></td>
                                    </
tr>
                                </
table>
                                <
table border="0" cellspacing="0" cellpadding="10" width="100%">
                                    <
tr>
                                        <
td bgcolor="<{system.color('content_bg')}>">
                                            <
table border="0" cellspacing="10" cellpadding="0" width="100%">
                                                <
tr>
                                                    <
td>You may use the 'Quick Links' on the bottom left of the manager to create files or folders.</td>
                                                </
tr>
                                            </
table>
                                        </
td>
                                    </
tr>
                                </
table>
                            </
td>
                        </
tr>
                    </
table>
                </
td>
            </
tr>
        </
table>
        <%
end%>
        <
script type="text/javascript">
        <!--
        
        if ( 
document.designMode )
            
document.cookie "designMode=true";
        
        
//-->
        
</script>
    </
body>
</
html>
?>
Онлайн: 0
Реклама