File: /home/httpd/html/dowork.biz/public_html/compile/%%D1^D19^D1959F2B%%_quick_search_projects.tpl.php
<?php /* Smarty version 2.6.16, created on 2020-09-28 14:52:18
compiled from /home/httpd/html/dowork.biz/public_html/activecollab/application/modules/system/views/_quick_search_projects.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'lang', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/system/views/_quick_search_projects.tpl', 2, false),array('function', 'cycle', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/system/views/_quick_search_projects.tpl', 6, false),array('function', 'project_link', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/system/views/_quick_search_projects.tpl', 8, false),array('function', 'project_progress', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/system/views/_quick_search_projects.tpl', 9, false),array('function', 'assemble', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/system/views/_quick_search_projects.tpl', 15, false),array('modifier', 'clean', '/home/httpd/html/dowork.biz/public_html/activecollab/application/modules/system/views/_quick_search_projects.tpl', 7, false),)), $this); ?>
<div id="quick_search_projects_result">
<h3><?php $this->_tag_stack[] = array('lang', array()); $_block_repeat=true;smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Search Results<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></h3>
<?php if (is_foreachable ( $this->_tpl_vars['results'] )): ?>
<table>
<?php $_from = $this->_tpl_vars['results']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['object']):
?>
<tr class="<?php echo smarty_function_cycle(array('values' => 'odd,even'), $this);?>
">
<td class="icon"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['object']->getIconUrl())) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)); ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['object']->getName())) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)); ?>
" /></td>
<td class="name"><?php echo smarty_function_project_link(array('project' => $this->_tpl_vars['object']), $this);?>
</td>
<td class="status"><?php echo smarty_function_project_progress(array('project' => $this->_tpl_vars['object'],'info' => false), $this);?>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<?php if ($this->_tpl_vars['pagination']->hasNext()): ?>
<?php $this->assign('items_per_page', $this->_tpl_vars['pagination']->getItemsPerPage()); ?>
<p id="quick_search_more_results"><a href="<?php echo smarty_function_assemble(array('route' => 'search','q' => $this->_tpl_vars['search_for'],'type' => $this->_tpl_vars['search_type']), $this);?>
"><?php $this->_tag_stack[] = array('lang', array('count' => $this->_tpl_vars['pagination']->getTotalItems()-$this->_tpl_vars['items_per_page'])); $_block_repeat=true;smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>:count more »<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></a></p>
<?php endif; else: ?>
<p><?php $this->_tag_stack[] = array('lang', array()); $_block_repeat=true;smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>We haven't found any projects that matched your request<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_lang($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></p>
<?php endif; ?>
</div>