Файл: adultscript-2.0.3-pro/files/admin/templates/default/email_add.tpl.php
Строк: 51
<?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('main_menu'); ?>
<div class="content clearfix">
<?php echo $this->fetch('email_menu'); ?>
<form name="email-add-form" id="email-add-form" method="post" action="<?php echo ADMIN_URL; ?>/index.php?q=email/add">
<fieldset>
<legend>Email Properties</legend>
<div class="required">
<label for="name">Name</label>
<input name="name" type="text" id="name" class="medium" maxlength="99" value="<?php echo e($this->email['name']); ?>" />
</div>
<div class="optional">
<label for="description">Description</label>
<input name="description" type="text" id="description" class="mega" maxlength="200" value="<?php echo e($this->email['description']); ?>" />
</div>
<div class="optional">
<label for="status">Status</label>
<select name="status" id="status">
<option value="1"<?php if ($this->email['status'] == '1'): echo ' selected="selected"'; endif; ?>>Active</option>
<option value="0"<?php if ($this->email['status'] == '0'): echo ' selected="selected"'; endif; ?>>Suspended</option>
</select>
</div>
</fieldset>
<fieldset>
<legend>Email Information</legend>
<div class="required">
<label for="subject">Subject</label>
<input name="subject" type="text" id="subject" class="mega" value="<?php echo e($this->email['subject']); ?>" />
</div>
<div class="required">
<label for="message">Message:</label>
<textarea name="message" id="message" rows="20" cols="70" class="mega"><?php echo e($this->email['message']); ?></textarea>
</div>
</fieldset>
<div class="submit">
<input name="submit_add_email" type="submit" id="submit_add_email" class="button butDef" value=" Add Email " />
</div>
</form>
</div>
</div>
</div>