Файл: adultscript-2.0.3-pro/files/admin/templates/default/link_config.tpl.php
Строк: 126
<?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('link_menu'); ?>
<div class="content clearfix">
<form id="link-config-form" method="post" action="<?php echo ADMIN_URL; ?>/index.php?q=link/config">
<fieldset>
<legend>Link Add</legend>
<div class="required">
<label for="add_page">Enable Link Add Page:</label>
<input name="add_page" type="radio" id="add_page" class="radio" value="1"<?php if ($this->lcfg['add_page'] == '1'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="add_page" type="radio" class="radio" value="0"<?php if ($this->lcfg['add_page'] == '0'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="backlink_check">Automatic Backlink Check</label>
<input name="backlink_check" type="radio" id="backlink_check" class="radio" value="1"<?php if ($this->lcfg['backlink_check'] == '1'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="backlink_check" type="radio" class="radio" value="0"<?php if ($this->lcfg['backlink_check'] == '0'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="pagerank_min">Minimum Pagerank</label>
<input name="pagerank_min" type="text" id="pagerank_min" class="small" value="<?php echo $this->lcfg['pagerank_min']; ?>" />
</div>
</fieldset>
<fieldset>
<legend>Link Exchange</legend>
<div class="required">
<label for="check_check">Cheat Checker</label>
<select name="cheat_check" id="cheat_check">
<option value="1"<?php if ($this->lcfg['cheat_check'] == '1'): echo ' selected="selected"'; endif; ?>>Enabled</option>
<option value="0"<?php if ($this->lcfg['cheat_check'] == '0'): echo ' selected="selected"'; endif; ?>>Disabled</option>
</select>
</div>
<div class="required">
<label for="referer_limit">Same IP Limit</label>
<input name="referer_limit" type="text" id="referer_limit" class="small" value="<?php echo $this->lcfg['referer_limit']; ?>" /> Number of visitors with the same IP a site can send every day!
</div>
</fieldset>
<fieldset>
<legend>Link Widgets</legend>
<div class="required">
<label for="order">Order Method</label>
<select name="order" id="order">
<option value="link_id"<?php if ($this->lcfg['order'] == 'link_id'): echo ' selected="selected"'; endif; ?>>Add Date</option>
<option value="traffic"<?php if ($this->lcfg['order'] == 'traffic'): echo ' selected="selected"'; endif; ?>>Traffic Sent</option>
</select>
</div>
<div class="required">
<label for="frontpage">Frontpage Only:</label>
<input name="frontpage" type="radio" id="frontpage_yes" class="radio" value="1"<?php if ($this->lcfg['frontpage'] == '1'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="frontpage" type="radio" class="frontpage_no" value="0"<?php if ($this->lcfg['frontpage'] == '0'): echo ' checked="checked"'; endif; ?> /> No
</div>
</fieldset>
<fieldset>
<legend>Link Check</legend>
<div class="required">
<label for="cron_check">Cron Check:</label>
<input name="cron_check" type="radio" id="cron_check" class="radio" value="1"<?php if ($this->lcfg['cron_check'] == '1'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="cron_check" type="radio" class="radio" value="0"<?php if ($this->lcfg['cron_check'] == '0'): echo ' checked="checked"'; endif; ?> /> No
<span class="help-info">If enabled, urls will be checked automatically for backlinks and disabled if not found!</span>
</div>
</fieldset>
<div class="submit">
<input name="submit-config" type="submit" id="submit-config" class="button butDef" value=" Update " />
</div>
</form>
</div>
</div>
</div>