Файл: adultscript-2.0.3-pro/files/admin/templates/default/template_config_defboot.tpl.php
Строк: 462
<?php defined('_VALID') or die('Restricted Access!'); ?>
<script type="text/javascript">
$(document).ready(function() {
$("input[name='sharing_links']").change(function() {
$("#sharing-links-container").slideToggle();
});
});
</script>
<div class="clearfix tabbar barProds">
<ul class="tabs">
<li class="tab4"><a href="#" onclick="showOnly('tab4','barProds')"><img src="<?php echo TPL_REL; ?>/images/icons/plus-small.png" />Javascript</a></li>
<li class="tab3"><a href="#" onclick="showOnly('tab3','barProds')"><img src="<?php echo TPL_REL; ?>/images/icons/plus-small.png" />Sharing</a></li>
<li class="tab2"><a href="#" onclick="showOnly('tab2','barProds')"><img src="<?php echo TPL_REL; ?>/images/icons/plus-small.png" />Design</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!" />Widgets</a></li>
</ul>
<div class="tabContent clearfix">
<form id="template-config-form" method="post" enctype="multipart/form-data" action="<?php echo ADMIN_URL; ?>/index.php?q=template/config&id=<?php echo $this->tpl_id; ?>">
<div class="tab1">
<fieldset>
<legend>Widgets</legend>
<fieldset>
<legend>Front Page</legend>
<div class="required">
<label for="categories_left">Categories Left:</label>
<input name="categories_left" type="radio" id="categories_left_on" value="1"<?php if ($this->config['categories_left'] == '1'): echo ' checked="checked"'; endif; ?>> Active
<input name="categories_left" type="radio" id="categories_left_off" value="0"<?php if ($this->config['categories_left'] == '0'): echo ' checked="checked"'; endif; ?>> Suspended
</div>
<div class="required">
<label for="categories_popular">Popular Categories:</label>
<input name="categories_popular" type="radio" id="categories_popular_on" value="1"<?php if ($this->config['categories_popular'] == '1'): echo ' checked="checked"'; endif; ?>> Active
<input name="categories_popular" type="radio" id="categories_popular_off" value="0"<?php if ($this->config['categories_popular'] == '0'): echo ' checked="checked"'; endif; ?>> Suspended
</div>
<div class="required">
<label for="tags_popular">Popular Tags:</label>
<input name="tags_popular" type="radio" id="tags_popular_on" value="1"<?php if ($this->config['tags_popular'] == '1'): echo ' checked="checked"'; endif; ?>> Active
<input name="tags_popular" type="radio" id="tags_popular_off" value="0"<?php if ($this->config['tags_popular'] == '0'): echo ' checked="checked"'; endif; ?>> Suspended
</div>
<div class="required"<?php if (!VModule::enabled('channel')): echo ' style="display: none;"'; endif; ?>>
<label for="channels_popular">Popular Channels:</label>
<input name="channels_popular" type="radio" id="channels_popular_on" value="1"<?php if ($this->config['channels_popular'] == '1'): echo ' checked="checked"'; endif; ?>> Active
<input name="channels_popular" type="radio" id="channels_popular_off" value="0"<?php if ($this->config['channels_popular'] == '0'): echo ' checked="checked"'; endif; ?>> Suspended
</div>
<div class="required"<?php if (!VModule::enabled('pornstar')): echo ' style="display: none;"'; endif; ?>>
<label for="pornstars_popular">Popular Pornstars:</label>
<input name="pornstars_popular" type="radio" id="pornstars_popular_on" value="1"<?php if ($this->config['pornstars_popular'] == '1'): echo ' checked="checked"'; endif; ?>> Active
<input name="pornstars_popular" type="radio" id="pornstars_popular_off" value="0"<?php if ($this->config['pornstars_popular'] == '0'): echo ' checked="checked"'; endif; ?>> Suspended
</div>
<div class="required"<?php if (!VModule::enabled('photo')): echo ' style="display: none;"'; endif; ?>>
<label for="albums_recent">Recent Photo Albums:</label>
<input name="albums_recent" type="radio" id="albums_recent_on" value="1"<?php if ($this->config['albums_recent'] == '1'): echo ' checked="checked"'; endif; ?>> Active
<input name="albums_recent" type="radio" id="albums_recent_off" value="0"<?php if ($this->config['albums_recent'] == '0'): echo ' checked="checked"'; endif; ?>> Suspended
</div>
<div class="required"<?php if (!VModule::enabled('photo')): echo ' style="display: none;"'; endif; ?>>
<label for="albums_recent">Popular Photo Albums:</label>
<input name="albums_popular" type="radio" id="albums_popular_on" value="1"<?php if ($this->config['albums_popular'] == '1'): echo ' checked="checked"'; endif; ?>> Active
<input name="albums_popular" type="radio" id="albums_popular_off" value="0"<?php if ($this->config['albums_popular'] == '0'): echo ' checked="checked"'; endif; ?>> Suspended
</div>
<div class="required"<?php if (!VModule::enabled('link')): echo ' style="display: none;"'; endif; ?>>
<label for="links">Links:</label>
<input name="links" type="radio" id="links_on" value="1"<?php if ($this->config['links'] == '1'): echo ' checked="checked"'; endif; ?>> Active
<input name="links" type="radio" id="links_off" value="0"<?php if ($this->config['links'] == '0'): echo ' checked="checked"'; endif; ?>> Suspended
</div>
</fieldset>
<fieldset>
<legend>Video Pages</legend>
<div class="required">
<label for="categories_left">Categories Left:</label>
<input name="video_categories_left" type="radio" id="video_categories_left_on" value="1"<?php if ($this->config['video_categories_left'] == '1'): echo ' checked="checked"'; endif; ?>> Active
<input name="video_categories_left" type="radio" id="video_categories_left_off" value="0"<?php if ($this->config['video_categories_left'] == '0'): echo ' checked="checked"'; endif; ?>> Suspended
</div>
</fieldset>
<fieldset>
<legend>Photo Pages</legend>
<div class="required">
<label for="categories_left">Categories Left:</label>
<input name="photo_categories_left" type="radio" id="photo_categories_left_on" value="1"<?php if ($this->config['photo_categories_left'] == '1'): echo ' checked="checked"'; endif; ?>> Active
<input name="photo_categories_left" type="radio" id="photo_categories_left_off" value="0"<?php if ($this->config['photo_categories_left'] == '0'): echo ' checked="checked"'; endif; ?>> Suspended
</div>
</fieldset>
</fieldset>
</div>
<div class="tab2" style="display: none;">
<fieldset>
<legend>Colors</legend>
<div class="required">
<label for="colors">Colors:</label>
<div class="categories">
<div style="width: 48%; float: left; margin: 5px 0;">
<input name="colors" type="radio" value="light"<?php if ($this->config['colors'] == 'light'): echo ' checked="checked"'; endif; ?>> Default Light<br />
<input name="colors" type="radio" value="light-blue"<?php if ($this->config['colors'] == 'light-blue'): echo ' checked="checked"'; endif; ?>> Light Blue<br />
<input name="colors" type="radio" value="light-fuchsia"<?php if ($this->config['colors'] == 'light-fuchsia'): echo ' checked="checked"'; endif; ?>> Light Fuchsia<br />
<input name="colors" type="radio" value="light-lime"<?php if ($this->config['colors'] == 'light-lime'): echo ' checked="checked"'; endif; ?>> Light Lime<br />
<input name="colors" type="radio" value="light-orange"<?php if ($this->config['colors'] == 'light-orange'): echo ' checked="checked"'; endif; ?>> Light Orange<br />
<input name="colors" type="radio" value="light-pink"<?php if ($this->config['colors'] == 'light-pink'): echo ' checked="checked"'; endif; ?>> Light Pink<br />
<input name="colors" type="radio" value="light-purple"<?php if ($this->config['colors'] == 'light-purple'): echo ' checked="checked"'; endif; ?>> Light Purple<br />
<input name="colors" type="radio" value="light-red"<?php if ($this->config['colors'] == 'light-red'): echo ' checked="checked"'; endif; ?>> Light Red<br />
<input name="colors" type="radio" value="light-yellow"<?php if ($this->config['colors'] == 'light-yellow'): echo ' checked="checked"'; endif; ?>> Light Yellow
</div>
<div style="width: 48%; float: left; margin: 5px 0;">
<input name="colors" type="radio" value="dark"<?php if ($this->config['colors'] == 'dark'): echo ' checked="checked"'; endif; ?>> Default Dark<br />
<input name="colors" type="radio" value="dark-blue"<?php if ($this->config['colors'] == 'dark-blue'): echo ' checked="checked"'; endif; ?>> Dark Blue<br />
<input name="colors" type="radio" value="dark-fuchsia"<?php if ($this->config['colors'] == 'dark-fuchsia'): echo ' checked="checked"'; endif; ?>> Dark Fuchsia<br />
<input name="colors" type="radio" value="dark-lime"<?php if ($this->config['colors'] == 'dark-lime'): echo ' checked="checked"'; endif; ?>> Dark Lime<br />
<input name="colors" type="radio" value="dark-orange"<?php if ($this->config['colors'] == 'dark-orange'): echo ' checked="checked"'; endif; ?>> Dark Orange<br />
<input name="colors" type="radio" value="dark-pink"<?php if ($this->config['colors'] == 'dark-pink'): echo ' checked="checked"'; endif; ?>> Dark Pink<br />
<input name="colors" type="radio" value="dark-purple"<?php if ($this->config['colors'] == 'dark-purple'): echo ' checked="checked"'; endif; ?>> Dark Purple<br />
<input name="colors" type="radio" value="dark-red"<?php if ($this->config['colors'] == 'dark-red'): echo ' checked="checked"'; endif; ?>> Dark Red<br />
<input name="colors" type="radio" value="dark-yellow"<?php if ($this->config['colors'] == 'dark-yellow'): echo ' checked="checked"'; endif; ?>> Dark Yellow
</div>
</div>
</div>
</fieldset>
<fieldset>
<legend>Logo</legend>
<div class="required">
<label for="current">Current Logo:</label>
<img src="<?php if ($this->config['logo_url'] != ''): echo $this->config['logo_url']; else: echo BASE_URL.'/templates/defboot/images/logo.png'; endif; ?>" alt="" />
<span class="help-info">Added using a logo <?php if ($this->config['logo_url'] != ''): echo 'url'; else: echo 'file'; endif; ?>!</span>
</div>
<div class="required">
<label for="logo">Logo File:</label>
<input name="logo_file" type="file" id="logo" />
</div>
<div class="required">
<label for="logo_url">Logo URL:</label>
<input name="logo_url" type="text" class="mega" value="<?php echo $this->config['logo_url']; ?>" />
</div>
<span class="help-large">Select a logo file (png only) or enter the URL of your logo image (can be any extension)!</span>
</fieldset>
</div>
<div class="tab3" style="display: none;">
<fieldset>
<legend>Share Links</legend>
<div class="required">
<label for="sharing_links">Sharing Links:</label>
<input name="sharing_links" type="radio" id="sharing_links_on" value="1"<?php if ($this->config['sharing_links'] == '1'): echo ' checked="checked"'; endif; ?>> Active
<input name="sharing_links" type="radio" id="sharing_links_off" value="0"<?php if ($this->config['sharing_links'] == '0'): echo ' checked="checked"'; endif; ?>> Suspended
</div>
<div class="share-links-container"<?php if ($this->config['sharing_links'] == '0'): echo ' style="display: none;"'; endif; ?>>
<fieldset>
<legend>Social Networking</legend>
<div class="required">
<label for="facebook">Facebook:</label>
<input name="facebook" id="facebook" class="mega" type="text" value="<?php echo $this->config['facebook']; ?>" />
</div>
<div class="required">
<label for="twitter">Twitter:</label>
<input name="twitter" id="twitter" class="mega" type="text" value="<?php echo $this->config['twitter']; ?>" />
</div>
<div class="required">
<label for="google_plus">Google Plus:</label>
<input name="google_plus" id="google_plus" class="mega" type="text" value="<?php echo $this->config['google_plus']; ?>" />
</div>
<div class="required">
<label for="thumblr">Thumblr:</label>
<input name="thumblr" id="thumblr" class="mega" type="text" value="<?php echo $this->config['thumblr']; ?>" />
</div>
<div class="required">
<label for="pinterest">Pinterest:</label>
<input name="pinterest" id="pinterest" class="mega" type="text" value="<?php echo $this->config['pinterest']; ?>" />
</div>
<div class="required">
<label for="instagram">Instagram:</label>
<input name="instagram" id="instagram" class="mega" type="text" value="<?php echo $this->config['instagram']; ?>" />
</div>
</fieldset>
<fieldset>
<legend>Custom Links</legend>
<div class="required">
<label for="sharing_code">Custom Code</label>
<textarea name="sharing_code" id="sharing_code" class="mega" rows="5"><?php echo $this->config['sharing_code']; ?></textarea>
<span class="help-info">
Use this textarea to enter your custom urls (for a network of sites). The html code must be in the following format:<br/>
<?php echo nl2br(e('<li><a href="URL-1" target="_blank">SITE NAME 1</a></li>'."n".'<li><a href="URL-2" target="_blank">SITE NAME 2</a></li>'."n".'<li><a href="URL-3" target="_blank">SITE NAME 3</a></li>'."n".'<li><a href="URL-4" target="_blank">SITE NAME 4</a></li>')); ?>
<br>If a custom code is entered, then it will be displayed and the social networking links will be disabled!
</span>
</div>
</fieldset>
</div>
</fieldset>
</div>
<div class="tab4" style="display: none;">
<fieldset>
<legend>Javascript Code</legend>
<div class="required">
<label for="javascript_code">Javascript Code:</label>
<textarea name="javascript_code" id="javascript_code" class="mega" rows="10"><?php echo $this->config['javascript_code']; ?></textarea>
<span class="help-large">
You can add your popunder, messenger ads and other javascript code here! The code is injected in the HTML in the head section! If you need to include
other javascript files use <?php echo htmlspecialchars('<script type="text/javascript" src="URL HERE"></script>'); ?> and after use <?php echo htmlspecialchars('<script type="text/javascript">CODE HERE</script>'); ?>!
</span>
</div>
</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>