Файл: adultscript-2.0.3-pro/files/admin/templates/default/channel_config.tpl.php
Строк: 112
<?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('channel_menu'); ?>
<div class="content clearfix">
<div class="clearfix tabbar barProds">
<ul class="tabs">
<li class="tab3"><a href="#" onclick="showOnly('tab3','barProds')"><img src="<?php echo TPL_REL; ?>/images/icons/plus-small.png" alt="Advanced!" />Advanced</a></li>
<li class="tab2"><a href="#" onclick="showOnly('tab2','barProds')"><img src="<?php echo TPL_REL; ?>/images/icons/plus-small.png" alt="Avatar!" />View</a></li>
<li class="tab1"><a href="#" onclick="showOnly('tab1','barProds')" class="selected"><img src="<?php echo TPL_REL; ?>/images/icons/plus-small.png" alt="Registration!" />Browse</a></li>
</ul>
<div class="tabContent clearfix">
<form id="channel-config-form" method="post" action="<?php echo ADMIN_URL; ?>/index.php?q=channel/config">
<div class="tab1">
<fieldset>
<legend>Browse Settings</legend>
<div class="required">
<label for="channels_per_page">Channels Per Page</label>
<input name="channels_per_page" type="text" id="channels_per_page" class="tiny" value="<?php echo $this->ccfg['channels_per_page']; ?>" />
</div>
</fieldset>
</div>
<div class="tab2" style="display: none">
<fieldset>
<legend>View Settings</legend>
<div class="required">
<label for="videos_per_page">Videos Per Page</label>
<input name="videos_per_page" type="text" id="videos_per_page" class="tiny" value="<?php echo $this->ccfg['videos_per_page']; ?>" />
</div>
<fieldset>
<legend>Rating Settings</legend>
<div class="required">
<label for="rating_count">Rating Count</label>
<select name="rating_count" id="rating_count">
<option value="1"<?php if ($this->ccfg['rating_count'] == '1'): echo ' selected="selected"'; endif; ?>>Once</option>
<option value="0"<?php if ($this->ccfg['rating_count'] == '0'): echo ' selected="selected"'; endif; ?>>Unlimited</option>
</select>
</div>
<div class="required">
<label for="rating_type">Rating Type</label>
<select name="rating_type" id="rating_type">
<option value="ip"<?php if ($this->ccfg['rating_type'] == 'ip'): echo ' selected="selected"'; endif; ?>>IP</option>
<option value="user"<?php if ($this->ccfg['rating_type'] == 'user'): echo ' selected="selected"'; endif; ?>>User</option>
</select>
</div>
</fieldset>
</fieldset>
</div>
<div class="tab3" style="display: none;">
<fieldset>
<legend>Advanced Options</legend>
</fieldset>
</div>
<div class="submit">
<input name="submit_config" type="submit" id="submit_config" class="button butDef" value=" Save " />
<input name="submit_default" type="submit" id="submit_default" class="button butDef" value=" Default " />
</div>
</form>
</div>
</div>
</div>
</div>
</div>