<?php /* Smarty version 2.6.25, created on 2018-10-09 08:25:23
         compiled from DefaultAdmin/dir_comments.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'DefaultAdmin/dir_comments.tpl', 18, false),array('modifier', 'trim', 'DefaultAdmin/dir_comments.tpl', 58, false),array('modifier', 'date_format', 'DefaultAdmin/dir_comments.tpl', 78, false),array('modifier', 'wordwrap', 'DefaultAdmin/dir_comments.tpl', 80, false),array('modifier', 'cat', 'DefaultAdmin/dir_comments.tpl', 97, false),array('function', 'cycle', 'DefaultAdmin/dir_comments.tpl', 67, false),array('block', 'escapejs', 'DefaultAdmin/dir_comments.tpl', 87, 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 echo '<div class="block"><!-- Comment Search Form --><form action="'; ?><?php echo @DOC_ROOT; ?><?php echo '/dir_comments.php" method="get"><table class="list search-box"><thead><tr><th class="listHeader" colspan="4">Search Comments</th></tr></thead><tbody><tr><td><input type="text" id="searchinput" name="search" maxlength="255" value="'; ?><?php if (! empty ( $this->_tpl_vars['search'] )): ?><?php echo ''; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['search'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo '" class="text searchinput" title="Add your search keywords" /></td><td><input type="submit" value="Search" title="Click to start search" class="button" /></td><td class="notice">'; ?><?php echo $this->_tpl_vars['min_keyword_length_comment']; ?><?php echo '</td></tr></tbody></table></form><!-- /Comment Search Form --></div>'; ?><?php if ($this->_tpl_vars['error']): ?><?php echo '<div class="block"><!-- Error --><div class="error"><h2>Error</h2><p>'; ?><?php echo $this->_tpl_vars['error']; ?><?php echo ' error(s) occured while processing.</p>'; ?><?php if (! empty ( $this->_tpl_vars['sql_error'] )): ?><?php echo '<p>The database server returned the following message:</p><p class="sql_error">'; ?><?php echo $this->_tpl_vars['sql_error']; ?><?php echo '</p>'; ?><?php endif; ?><?php echo '</div><!-- /Error --></div>'; ?><?php endif; ?><?php echo '<div class="block"><!-- Comment List --><form action="'; ?><?php echo @DOC_ROOT; ?><?php echo '/dir_comments.php" method="post" id="multiselect_list" name="multiselect_list"><input type="hidden" name="submitAction" id="submitAction" value="" /><table class="list"><thead><tr><th id="select" class="first-child"></th>'; ?><?php $_from = $this->_tpl_vars['columns']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['col'] => $this->_tpl_vars['name']):
?><?php echo ''; ?><?php if ($this->_tpl_vars['ENABLE_REWRITE'] || $this->_tpl_vars['col'] != 'TITLE_URL'): ?><?php echo '<th class="listHeader" id="'; ?><?php echo $this->_tpl_vars['col']; ?><?php echo '"><a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/dir_comments.php'; ?><?php if (isset ( $this->_tpl_vars['columnURLs'] ) && is_array ( $this->_tpl_vars['columnURLs'] )): ?><?php echo '?'; ?><?php echo $this->_tpl_vars['columnURLs'][$this->_tpl_vars['col']]; ?><?php echo ''; ?><?php endif; ?><?php echo '" title="Sort by: '; ?><?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="sort'; ?><?php if ($this->_tpl_vars['SORT_FIELD'] == $this->_tpl_vars['col'] && $this->_tpl_vars['requestOrder'] == 1): ?><?php echo ' '; ?><?php echo @SORT_ORDER; ?><?php echo ''; ?><?php endif; ?><?php echo '">'; ?><?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 '</a></th>'; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '<th class="last-child">Action</th></tr></thead><tbody>'; ?><?php $_from = $this->_tpl_vars['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['row']):
?><?php echo '<tr class="'; ?><?php echo smarty_function_cycle(array('values' => "odd,even"), $this);?><?php echo '"><td class="first-child"><label><input type="checkbox" name="multiselect_checkbox[]" value="'; ?><?php echo $this->_tpl_vars['id']; ?><?php echo '" title="Check box to select this item." /></label></td>'; ?><?php $_from = $this->_tpl_vars['columns']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['col'] => $this->_tpl_vars['name']):
?><?php echo ''; ?><?php if ($this->_tpl_vars['ENABLE_REWRITE'] || $this->_tpl_vars['col'] != 'TITLE_URL'): ?><?php echo '<td '; ?><?php if ($this->_tpl_vars['col'] == 'STATUS'): ?><?php echo 'class="status-'; ?><?php echo $this->_tpl_vars['row'][$this->_tpl_vars['col']]; ?><?php echo '"'; ?><?php endif; ?><?php echo '>'; ?><?php if ($this->_tpl_vars['col'] == 'STATUS'): ?><?php echo ''; ?><?php $this->assign('s', $this->_tpl_vars['row'][$this->_tpl_vars['col']]); ?><?php echo ''; ?><?php echo $this->_tpl_vars['stats'][$this->_tpl_vars['s']]; ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['col'] == 'DATE_ADDED'): ?><?php echo ''; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['row'][$this->_tpl_vars['col']])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['date_format']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['date_format'])); ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['col'] == 'DESCRIPTION'): ?><?php echo ''; ?><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['row'][$this->_tpl_vars['col']])) ? $this->_run_mod_handler('wordwrap', true, $_tmp, 40, ' ', 1) : smarty_modifier_wordwrap($_tmp, 40, ' ', 1)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['row'][$this->_tpl_vars['col']])) ? $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 '</td>'; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '<td class="noborder last-child"><a id="remove-comment-'; ?><?php echo $this->_tpl_vars['id']; ?><?php echo '" href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/dir_comments_action.php?action=D:'; ?><?php echo $this->_tpl_vars['id']; ?><?php echo '" onclick="return categ_rm_confirm(\''; ?><?php $this->_tag_stack[] = array('escapejs', array()); $_block_repeat=true;smarty_block_escapejs($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php echo 'Are you sure you want to remove this category?\\nNote: categories can not be restored after removal!'; ?><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_escapejs($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?><?php echo '\');" title="Remove Comment: '; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['row']['TITLE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" class="action delete"><span>Delete</span></a></td></tr>'; ?><?php endforeach; else: ?><?php echo '<tr><td colspan="'; ?><?php if ($this->_tpl_vars['ENABLE_REWRITE']): ?><?php echo '10'; ?><?php else: ?><?php echo '9'; ?><?php endif; ?><?php echo '" class="norec">No records found.</td></tr>'; ?><?php endif; unset($_from); ?><?php echo '</tbody></table>'; ?><?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, "/list_pager.tpl") : smarty_modifier_cat($_tmp, "/list_pager.tpl")), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?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, "/comment_action_btn.tpl") : smarty_modifier_cat($_tmp, "/comment_action_btn.tpl")), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '</form><!-- /Comment List --></div>'; ?>