Файл: EasyHost v2.0/system/htdocs/admin/users/user/usage.html
Строк: 202
<?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')}>">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<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}>">Details</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 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('modify')}>">Modify</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 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('login')}>">Login</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 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('email')}>">E-mail</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 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('log')}>">Log History</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 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('usage')}>"><font color="#000000">Usage</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('delete')}>">Delete</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>
<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> Account Usage</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><b>Disk Summary</b></td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Space:</td>
<td><%size:"{user.usage('space')}"%><%if:"{user.config('space_quota')} > 0"%> / <%size:"{user.config('space_quota')}"%> (<%size:"{user.config('space_quota')} - {user.usage('space')}"%> available)<%end%></td>
</tr>
<tr>
<td width="100">Files:</td>
<td><{user.usage('files')}><%if:"{user.config('space_max_files')} > 0"%> / <{user.config('space_max_files')}><%end%></td>
</tr>
<tr>
<td width="100">Directories:</td>
<td><{user.usage('directories')}><%if:"{user.config('space_max_directories')} > 0"%> / <{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>
<%if:"{system.service.config('transfer')} eq 'on'"%>
<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>Transfer Summary</b></td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Today:</td>
<td><{user.transfer.string}><%if:"{user.config('transfer_daily')} > 0"%> / <%size:"{user.config('transfer_daily')}"%> (<%size:"{user.config('transfer_daily')} - {user.transfer.bytes}"%> available)<%end%></td>
</tr>
<tr>
<td width="100">Month total:</td>
<td><{user.transfer_monthly.string}><%if:"{user.config('transfer_monthly')} > 0"%> / <%size:"{user.config('transfer_monthly')}"%> (<%size:"{user.config('transfer_monthly')} - {user.transfer_monthly.bytes}"%> available)<%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>Month Overview (Transfer)</b></td>
</tr>
</table>
<table border="0" cellspacing="5" cellpadding="0">
<tr>
<td>
<table border="0" cellspacing="5" cellpadding="0">
<tr>
<%days%>
<td bgcolor="<{system.color('border')}>">
<table border="0" cellspacing="1" cellpadding="0" width="100%">
<tr>
<td bgcolor="<{system.color('content_bg')}>" valign="bottom" height="102">
<table border="0" cellspacing="1" cellpadding="0" width="100%">
<tr>
<td bgcolor="#ff9900" valign="bottom"><img src="http://demo.cyberscript.net/system/htdocs/images/blank.gif" width="1" height="<{percent}>" alt="<{amount.string}>" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<%end%>
<td valign="top"><%size:"{highest}"%></td>
</tr>
<tr>
<%days%>
<td style="font-size: 6.5pt"><{day}></td>
<%end%>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<%end%>
</table>
</td>
</tr>
</table>
</body>
</html>
?>