Файл: EasyHost v2.0/system/htdocs/admin/packages/package/config.html
Строк: 210
<?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')}>">
<form method="post">
<input type="hidden" name="command" value="admin/packages/package/config" />
<input type="hidden" name="id" value="<{package.id}>" />
<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('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('config')}>"><font color="#000000">Configuration</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('search')}>">Users</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('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> Configure this Package</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>General</b></td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Allow removal:</td>
<td><input type="checkbox" name="data_removal" value="1" <%if:"{package.config('removal')} == 1"%>checked="checked" <%end%>/></td>
</tr>
<tr>
<td width="100">Upload fields:</td>
<td><input type="text" name="data_upload_fields" size="5" value="<{package.config('upload_fields')}>" /></td>
</tr>
<tr>
<td width="100">FTP access:</td>
<td><input type="checkbox" name="data_ftp" value="1" <%if:"{package.config('ftp')} == 1"%>checked="checked" <%end%>/></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<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>Space Limits</b></td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Limit method:</td>
<td><input type="radio" name="data_space_method" value="0" <%if:"{package.config('space_method')} == 0"%>checked="checked" <%end%>/>Soft <input type="radio" name="data_space_method" value="1" <%if:"{package.config('space_method')} == 1"%>checked="checked" <%end%>/>Hard</td>
</tr>
<tr>
<td width="100">Disk quota:</td>
<td><input type="text" name="data_space_quota" size="10" value="<%size_format:"{package.config('space_quota')}"%>" /></td>
</tr>
<tr>
<td width="100">Max. file size:</td>
<td><input type="text" name="data_space_file" size="10" value="<%size_format:"{package.config('space_file')}"%>" /></td>
</tr>
<tr>
<td width="100">Max. files:</td>
<td><input type="text" name="data_space_max_files" size="10" value="<{package.config('space_max_files')}>" /></td>
</tr>
<tr>
<td width="100">Max. directories:</td>
<td><input type="text" name="data_space_max_directories" size="10" value="<{package.config('space_max_directories')}>" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<%if:"{system.service.config('transfer')} eq 'on'"%>
<tr>
<td>
<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>Transfer Limits</b></td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Daily:</td>
<td><input type="text" name="data_transfer_daily" size="10" value="<%size_format:"{package.config('transfer_daily')}"%>" /></td>
</tr>
<tr>
<td width="100">Monthly:</td>
<td><input type="text" name="data_transfer_monthly" size="10" value="<%size_format:"{package.config('transfer_monthly')}"%>" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<%end%>
<tr>
<td>
<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>Includes</b></td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Enable header:</td>
<td><input type="checkbox" name="data_includes_header" value="1" <%if:"{package.config('includes_header')} == 1"%>checked="checked" <%end%>/></td>
</tr>
<tr>
<td width="100">Enable footer:</td>
<td><input type="checkbox" name="data_includes_footer" value="1" <%if:"{package.config('includes_footer')} == 1"%>checked="checked" <%end%>/></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<%if:"{system.config('mysql_hostname')}"%>
<tr>
<td>
<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>MySQL Databases</b></td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Allow MySQL:</td>
<td><input type="checkbox" name="data_mysql_allow" value="1" <%if:"{package.config('mysql_allow')} == 1"%>checked="checked" <%end%>/></td>
</tr>
<tr>
<td width="100">Max. Databases:</td>
<td><input type="text" name="data_mysql_databases" size="5" value="<{package.config('mysql_databases')}>"/></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<%end%>
<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" value="Finish" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
?>