Файл: EasyHost v2.0/system/htdocs/manager/usage/default.html
Строк: 90
<?php
<html>
<head>
<link rel="stylesheet" type="text/css" href="<{system.htdocs}>styles/<{system.service.config('color')}>/default.css" />
</head>
<body marginwidth="10" marginheight="10" topmargin="10" leftmargin="10" rightmargin="10" bottomargin="10" bgcolor="<{system.color('body_bg')}>">
<%if:"{system.service.config('transfer')}"%>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="<{system.color('highlight_bg')}>"><img src="<{system.htdocs}>styles/<{system.service.config('color')}>/topleft.gif" alt="["></td>
<td bgcolor="<{system.color('highlight_bg')}>">
<table border="0" cellspacing="0" cellpadding="0" height="24">
<tr>
<td height="1" bgcolor="<{system.color('border')}>"><img src="<{system.htdocs}>images/blank.gif" width="1" height="1" /></td>
</tr>
<tr>
<td height="23"><a href="<{system.url}>"><font color="#000000">Disk</font></a></td>
</tr>
</table>
</td>
<td bgcolor="<{system.color('highlight_bg')}>"><img src="<{system.htdocs}>styles/<{system.service.config('color')}>/topmiddle.gif" alt="|"></td>
<td bgcolor="<{system.color('content_bg')}>"><img src="<{system.htdocs}>styles/<{system.service.config('color')}>/topleft.gif" alt="["></td>
<td bgcolor="<{system.color('content_bg')}>">
<table border="0" cellspacing="0" cellpadding="0" height="24">
<tr>
<td height="1" bgcolor="<{system.color('border')}>"><img src="<{system.htdocs}>images/blank.gif" width="1" height="1" /></td>
</tr>
<tr>
<td height="23"><a href="<{system.url('transfer')}>">Transfer</a></td>
</tr>
</table>
</td>
<td bgcolor="<{system.color('content_bg')}>"><img src="<{system.htdocs}>styles/<{system.service.config('color')}>/topmiddle.gif" alt="|"></td>
<td><img src="<{system.htdocs}>styles/<{system.service.config('color')}>/topright.gif" alt="]"></td>
</tr>
</table>
<%end%>
<table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="<{system.color('border')}>">
<tr>
<td>
<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> Disk Summary</b></font></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="10" width="100%" bgcolor="<{system.color('content_bg')}>">
<tr>
<td>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Space:</td>
<td><%size:"{login.user.usage('space')}"%><%if:"{login.user.config('space_quota')} > 0"%> / <%size:"{login.user.config('space_quota')}"%> (<%size:"{login.user.config('space_quota')} - {login.user.usage('space')}"%> available)<%end%></td>
</tr>
<tr>
<td width="100">Files:</td>
<td><{login.user.usage('files')}><%if:"{login.user.config('space_max_files')} > 0"%> / <{login.user.config('space_max_files')}><%end%></td>
</tr>
<tr>
<td width="100">Directories:</td>
<td><{login.user.usage('directories')}><%if:"{login.user.config('space_max_directories')} > 0"%> / <{login.user.config('space_max_directories')}><%end%></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="<{system.color('content_bg')}>">
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td><b>Directories</b></td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<%directories%>
<tr>
<td width="100"><{directory.path}></td>
<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>
</tr>
<%end%>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
?>