Файл: adultscript-2.0.3-pro/files/admin/templates/default/photo_server_edit.tpl.php
Строк: 61
<?php defined('_VALID') or die('Restricted Access!'); ?>
<?php echo $this->fetch('errors'); ?>
<?php echo $this->fetch('messages'); ?>
<?php echo $this->fetch('warnings'); ?>
<div id="container" class="clearfix">
<div id="page">
<?php echo $this->fetch('photo_menu'); ?>
<div class="content clearfix">
<?php echo $this->fetch('photo_server_menu'); ?>
<?php if ($this->server): ?>
<form name="server-add-form" id="server-add-form" method="post" action="<?php echo ADMIN_URL; ?>/index.php?q=photo/server_edit&id=<?php echo $this->server['server_id']; ?>">
<fieldset>
<legend>Server Information</legend>
<div class="required">
<label for="server_name">Name</label>
<input name="server_name" type="text" id="server_name" class="mega" value="<?php echo e($this->server['server_name']); ?>" />
</div>
<div class="required">
<label for="status">Status</label>
<input name="status" type="radio" value="1" class="radio"<?php if ($this->server['status'] == '1'): echo ' checked="checked"'; endif; ?> /> Active
<input name="status" type="radio" value="0" class="radio"<?php if ($this->server['status'] == '0'): echo ' checked="checked"'; endif; ?> /> Suspended
</div>
</fieldset>
<fieldset>
<legend>FTP Credentials</legend>
<div class="required">
<label for="ftp_host">FTP Host</label>
<input name="ftp_host" type="text" id="ftp_host" class="large" value="<?php echo e($this->server['ftp_host']); ?>" />
</div>
<div class="required">
<label for="ftp_port">FTP Port</label>
<input name="ftp_port" type="text" id="ftp_port" class="tiny" value="<?php echo e($this->server['ftp_port']); ?>" />
</div>
<div class="required">
<label for="ftp_username">FTP Username</label>
<input name="ftp_username" type="text" id="ftp_username" class="large" value="<?php echo e($this->server['ftp_username']); ?>" />
</div>
<div class="required">
<label for="ftp_password">FTP Password</label>
<input name="ftp_password" type="password" id="ftp_password" class="large" value="<?php echo e($this->server['ftp_password']); ?>" />
</div>
<div class="required">
<label for="ftp_root">FTP Root</label>
<input name="ftp_root" type="text" id="ftp_root" class="mega" value="<?php echo e($this->server['ftp_root']); ?>" />
</div>
</fieldset>
<fieldset>
<legend>Serving Properties</legend>
<div class="required">
<label for="url">URL</label>
<input name="url" type="text" id="url" class="mega" value="<?php echo e($this->server['url']); ?>" />
</div>
</fieldset>
<div class="submit">
<input name="submit_edit" type="submit" id="submit_edit_server" class="button butDef" value=" Update Server " />
</div>
</form>
<?php else: ?>
<div class="none">Invalid server! Are you sure this server exists!?</div>
<?php endif; ?>
</div>
</div>
</div>