<?php /* Smarty version 2.6.25, created on 2018-04-20 09:38:56
         compiled from DefaultAdmin/dir_link_types_edit.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'DefaultAdmin/dir_link_types_edit.tpl', 4, false),array('modifier', 'escape', 'DefaultAdmin/dir_link_types_edit.tpl', 12, false),array('modifier', 'trim', 'DefaultAdmin/dir_link_types_edit.tpl', 54, false),array('function', 'html_options', 'DefaultAdmin/dir_link_types_edit.tpl', 109, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "messages.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=@ADMIN_TEMPLATE)) ? $this->_run_mod_handler('cat', true, $_tmp, "/validation.tpl") : smarty_modifier_cat($_tmp, "/validation.tpl")), 'smarty_include_vars' => array('form_id' => 'submit_form','validators' => $this->_tpl_vars['validators'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php echo ''; ?><?php if (( isset ( $this->_tpl_vars['error'] ) && $this->_tpl_vars['error'] > 0 ) || ! empty ( $this->_tpl_vars['sql_error'] )): ?><?php echo '<div class="error block"><h2>Error</h2><p>An error occured while saving.</p>'; ?><?php if (! empty ( $this->_tpl_vars['errorMsg'] )): ?><?php echo '<p>'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['errorMsg'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo '</p>'; ?><?php endif; ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['sql_error'] )): ?><?php echo '<p>The database server returned the following message:</p><p>'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['sql_error'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo '</p>'; ?><?php endif; ?><?php echo '</div>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['posted']): ?><?php echo '<div class="success block">Link Type saved.</div>'; ?><?php endif; ?><?php echo '<div class="block"><form method="post" action="" enctype="multipart/form-data" id="submit_form"><table class="formPage">'; ?><?php if (isset ( $this->_tpl_vars['action'] ) && ( $this->_tpl_vars['action'] == 'N' || $this->_tpl_vars['action'] == 'E' )): ?><?php echo '<thead><tr><th colspan="2">'; ?><?php if ($this->_tpl_vars['action'] == 'N'): ?><?php echo 'Create new Link Type'; ?><?php elseif ($this->_tpl_vars['action'] == 'E'): ?><?php echo 'Edit Link Type'; ?><?php endif; ?><?php echo '</th></tr></thead>'; ?><?php endif; ?><?php echo '<tbody>'; ?><?php if (@PAYPAL_ACCOUNT == ''): ?><?php echo '<tr><td colspan="2"><div class="error block">Your PAYPAL ACCOUNT has not been filled in. If any of your link types have their price set up, front end submission will not work at all. You may set your PAYPAL ACCOUNT <a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/conf_settings.php?c=9&r=1">here</a>.</div></td></tr>'; ?><?php endif; ?><?php echo '<tr><td class="label required"><label for="NAME">Name:</label></td><td class="smallDesc"><input type="text" id="NAME" name="NAME" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['NAME'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" class="text" /></td></tr><tr><td class="label required"><label for="DEEP_LINKS">Deep Links:</label></td><td class="smallDesc"><input type="text" id="DEEP_LINKS" name="DEEP_LINKS" value="'; ?><?php if ($this->_tpl_vars['DEEP_LINKS'] > 0): ?><?php echo ''; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['DEEP_LINKS'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo '" class="text" /><p>Number of additional URLs. Leave empty for no deep links.</p></td></tr><tr><td class="label required"><label for="MULTIPLE_CATEGORIES">Multiple Categories:</label></td><td class="smallDesc"><input type="text" id="MULTIPLE_CATEGORIES" name="MULTIPLE_CATEGORIES" value="'; ?><?php if ($this->_tpl_vars['MULTIPLE_CATEGORIES'] > 0): ?><?php echo ''; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['MULTIPLE_CATEGORIES'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo '" class="text" /><p>Number of max allowed categories. Leave empty for 1 default category.</p></td></tr><tr><td class="label required"><label for="COUNT_IMAGES">Count Of Images:</label></td><td class="smallDesc"><input type="text" id="COUNT_IMAGES" name="COUNT_IMAGES" value="'; ?><?php if ($this->_tpl_vars['COUNT_IMAGES'] > 0): ?><?php echo ''; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['COUNT_IMAGES'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo '" class="text" /><p>Number of IMAGES. Leave empty for no Additional images.</p></td></tr><tr><td class="label"><label for="DESCRIPTION">Description:</label></td><td class="smallDesc">'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=@ADMIN_TEMPLATE)) ? $this->_run_mod_handler('cat', true, $_tmp, "/rte.tpl") : smarty_modifier_cat($_tmp, "/rte.tpl")), 'smarty_include_vars' => array('NAME' => 'DESCRIPTION','VALUE' => $this->_tpl_vars['DESCRIPTION'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '</td></tr>'; ?><?php if ($this->_tpl_vars['IMGTN']): ?><?php echo '<tr><td class="label required"><label for="IMGTN">Current Image:</label></td><td class="smallDesc"><a href="'; ?><?php echo $this->_tpl_vars['IMG']; ?><?php echo '" class="thickbox"><img src="'; ?><?php echo $this->_tpl_vars['IMGTN']; ?><?php echo '" border="0" alt="Current Link Image" /></a></td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php echo '<tr><td class="label required"><label for="FEATURED">Featured:</label></td><td class="smallDesc">'; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['no_yes'],'selected' => $this->_tpl_vars['FEATURED'],'name' => 'FEATURED','id' => 'FEATURED'), $this);?><?php echo '</td></tr><tr><td class="label required"><label for="NOFOLLOW">No Follow:</label></td><td class="smallDesc">'; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['no_yes'],'selected' => $this->_tpl_vars['NOFOLLOW'],'name' => 'NOFOLLOW','id' => 'NOFOLLOW'), $this);?><?php echo '</td></tr><tr><td class="label required"><label for="PRICE">Price:</label></td><td class="smallDesc"><input type="text" id="PRICE" name="PRICE" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['PRICE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" class="text" /><p>Leave empty for free links.</p></td></tr><tr><td class="label required"><label for="PAY_UM">Time Unit:</label></td><td class="smallDesc">'; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['payment_um'],'selected' => $this->_tpl_vars['PAY_UM'],'name' => 'PAY_UM','id' => 'PAY_UM'), $this);?><?php echo '<p class="small">Time unit used for paid links validity period<br /><b>(note: this option is only needed paid links)</b></p></td></tr><tr><td class="label required"><label for="STATUS">Status:</label></td><td class="smallDesc">'; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['stats'],'selected' => $this->_tpl_vars['STATUS'],'name' => 'STATUS','id' => 'STATUS'), $this);?><?php echo '</td></tr><tr><td class="label required"><label for="REQUIRE_APPROVAL">Require Admin Approval:</label></td><td class="smallDesc">'; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['no_yes'],'selected' => $this->_tpl_vars['REQUIRE_APPROVAL'],'name' => 'REQUIRE_APPROVAL','id' => 'REQUIRE_APPROVAL'), $this);?><?php echo '</td></tr><tr><td class="label required"><label for="PAGERANK_MIN">Minimum PageRank:</label></td><td class="smallDesc"><input type="text" id="PAGERANK_MIN" name="PAGERANK_MIN" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['PAGERANK_MIN'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" class="text" /><p>Minimum pagerank for link submission. Leave blank for no restriction.</p><div class="error block">This feature is considered Beta and may not work as expected. Enable at your own risk.</div></td></tr></tbody><tfoot><tr><td><input type="reset" id="reset-link-submit" name="reset" value="Reset" alt="Reset form" title="Reset form" class="button" /></td><td><input type="submit" id="send-link-submit" name="save" value="Save" alt="Save form" title="Save link" class="button" /></td></tr></tfoot></table><input type="hidden" name="id" value="'; ?><?php echo $this->_tpl_vars['id']; ?><?php echo '" /><input type="hidden" name="formSubmitted" value="1" /><input type="hidden" name="submit_session" value="'; ?><?php echo $this->_tpl_vars['submit_session']; ?><?php echo '" /></form></div>'; ?>
