Файл: adultscript-2.0.3-pro/files/admin/templates/default/frontpage_config.tpl.php
Строк: 52
<?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">
<form id="frontpage-config-form" method="post" action="<?php echo ADMIN_URL; ?>/index.php?q=frontpage/config">
<fieldset>
<legend>Frontpage Configuration</legend>
<div class="required">
<label for="watched">Watched: </label>
<input name="watched" type="radio" id="watched-on" class="radio" value="1"<?php if ($this->fcfg['watched'] == '1'): echo ' checked="checled"'; endif; ?>/> Yes
<input name="watched" type="radio" id="watched-off" class="radio" value="0"<?php if ($this->fcfg['watched'] == '0'): echo ' checked="checled"'; endif; ?>/> No
</div>
<div class="required">
<label for="watched_per_page">Watched Per Page: </label>
<input name="watched_per_page" type="text" id="watched_per_page" class="small" value="<?php echo $this->fcfg['watched_per_page']; ?>" />
</div>
<div class="required">
<label for="videos">Display: </label>
<select name="videos" id="videos">
<option value="recent"<?php if ($this->fcfg['videos'] == 'recent'): echo ' selected="selected"'; endif; ?>>Recent Videos</option>
<option value="featured"<?php if ($this->fcfg['videos'] == 'featured'): echo ' selected="selected"'; endif; ?>>Featured Videos</option>
<option value="both"<?php if ($this->fcfg['videos'] == 'both'): echo ' selected="selected"'; endif; ?>>Recent and Featured Videos</option>
</select>
</div>
<div class="required">
<label for="videos_per_page">Videos per Page: </label>
<input name="videos_per_page" type="text" id="videos_per_page" class="small" value="<?php echo $this->fcfg['videos_per_page']; ?>" />
</div>
</fieldset>
<div class="submit">
<input name="submit-config" type="submit" id="submit-config" class="button butDef" value=" Update " />
</div>
</form>
</div>
</div>
</div>