Файл: adultscript-2.0.3-pro/files/admin/templates/default/adv_group_edit.tpl.php
Строк: 58
<?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('adv_menu'); ?>
<div class="content clearfix">
<?php echo $this->fetch('adv_group_menu'); ?>
<?php if ($this->group): ?>
<form name="adv-group-edit-form" id="adv-group-edit-form" method="post" action="<?php echo ADMIN_URL; ?>/index.php?q=adv/group_edit&id=<?php echo $this->group['adv_group_id']; ?>">
<fieldset>
<legend>Advertising Group Information</legend>
<div class="required">
<label for="name">Name</label>
<input name="adv_group_name" type="text" id="name" class="large" maxlength="100" value="<?php echo e($this->group['adv_group_name']); ?>" />
</div>
<div class="required">
<label for="description">Description</label>
<input name="adv_group_desc" type="text" id="description" class="mega" maxlength="255" value="<?php echo e($this->group['adv_group_desc']); ?>" />
</div>
<div class="required">
<label for="slug">Slug</label>
<input name="adv_group_slug" type="text" id="slug" class="large" value="<?php echo e($this->group['adv_group_slug']); ?>" />
</div>
</fieldset>
<fieldset>
<legend>Advertising Group Properties</legend>
<div class="required">
<label for="rotate">Rotate</label>
<input name="adv_rotate" type="radio" id="rotate" class="radio" value="1"<?php if ($this->group['adv_rotate'] == '1'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="adv_rotate" type="radio" class="radio" value="0"<?php if ($this->group['adv_rotate'] == '0'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="status">Status</label>
<input name="status" type="radio" id="status" class="radio" value="1"<?php if ($this->group['status'] == '1'): echo ' checked="checked"'; endif; ?> /> Active
<input name="status" type="radio" class="radio" value="0"<?php if ($this->group['status'] == '0'): echo ' checked="checked"'; endif; ?> /> Suspended
</div>
</fieldset>
<div class="submit">
<input name="submit_group_edit" type="submit" id="submit_group_edit" class="button butDef" value=" Update Advertising Group " />
</div>
</form>
<?php else: ?>
<div class="none">Invalid advertising group!!!</div>
<?php endif; ?>
</div>
</div>
</div>