Файл: EasyHost v2.0/system/htdocs/admin/system/config.html
Строк: 249
<?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" name="form">
<input type="hidden" name="command" value="admin/system/config" />
<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('service')}>">Service</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('includes')}>">Includes</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('appearance')}>">Appearance</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('defaults')}>">Default Accounts</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('updates')}>">Updates</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%">
<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> System Configuration</b></font></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="20" width="100%" bgcolor="<{system.color('content_bg')}>">
<tr>
<td>Modify your global software settings.</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>Paths</b></td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Root directory:</td>
<td><input type="text" name="conf_root_dir" size="60" value="<{system.config('root_dir')}>" /></td>
</tr>
<tr>
<td width="100">Root URL:</td>
<td><input type="text" name="conf_root_url" size="60" value="<{system.config('root_url')}>" /></td>
</tr>
<tr>
<td width="100">Script URL:</td>
<td><input type="text" name="conf_script_url" size="60" value="<{system.config('script_url')}>" /></td>
</tr>
<tr>
<td width="100">System directory:</td>
<td><input type="text" name="conf_system_dir" size="60" value="<{system.config('system_dir')}>" /></td>
</tr>
<tr>
<td width="100">Sytem URL:</td>
<td><input type="text" name="conf_system_url" size="60" value="<{system.config('system_url')}>" /></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>Mail Settings</b></td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Sendmail:</td>
<td><input type="radio" name="conf_mail_method" value="sendmail" <%if:"{system.config('mail_method')} eq 'sendmail'"%>checked="checked" <%end%>/> <input type="text" name="conf_mail_sendmail" size="20" value="<{system.config('mail_sendmail')}>" onfocus="document.form.conf_mail_method[0].checked = 1" /></td>
</tr>
<tr>
<td width="100"> </td>
<td><b>OR</b></td>
</tr>
<tr>
<td width="100">SMTP server:</td>
<td><input type="radio" name="conf_mail_method" value="smtp" <%if:"{system.config('mail_method')} eq 'smtp'"%>checked="checked" <%end%>/> <input type="text" name="conf_mail_smtp" size="20" value="<{system.config('mail_smtp')}>" onfocus="document.form.conf_mail_method[1].checked = 1" /></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>General Limits</b></td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Username min.:</td>
<td><input type="text" name="conf_username_min" size="5" value="<{system.config('username_min')}>" /></td>
<td width="100">Username max.:</td>
<td><input type="text" name="conf_username_max" size="5" value="<{system.config('username_max')}>" /></td>
</tr>
<tr>
<td width="100">Password min.:</td>
<td><input type="text" name="conf_password_min" size="5" value="<{system.config('password_min')}>" /></td>
<td width="100">Password max.:</td>
<td><input type="text" name="conf_password_max" size="5" value="<{system.config('password_max')}>" /></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>MySQL Server for Users</b></td>
</tr>
<tr>
<td>Allows EasyHost users to create MySQL databases. Enter account information for a user with full privilleges to the MySQL server.</td>
</tr>
</table>
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="100">Hostname:</td>
<td><input type="text" name="conf_mysql_hostname" size="30" value="<{system.config('mysql_hostname')}>" /></td>
</tr>
<tr>
<td width="100">Username:</td>
<td><input type="text" name="conf_mysql_username" size="30" value="<{system.config('mysql_username')}>" /></td>
</tr>
<tr>
<td width="100">Password:</td>
<td><input type="text" name="conf_mysql_password" size="30" value="<{system.config('mysql_password')}>" /></td>
</tr>
</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" value="Finish" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
?>