<?php /* Smarty version 2.6.19, created on 2010-11-19 15:49:03 compiled from result-clusters.tpl */ ?> <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('modifier', 'substring_before', 'result-clusters.tpl', 1, false),array('modifier', 'count', 'result-clusters.tpl', 9, false),array('function', 'translate', 'result-clusters.tpl', 29, false),)), $this); ?> <?php $this->assign('facetBrowse', ((is_array($_tmp=$_POST['fb'])) ? $this->_run_mod_handler('substring_before', true, $_tmp, ":") : smarty_modifier_substring_before($_tmp, ":"))); ?> <div class="bContent" id="refine_facet"> <?php $_from = $this->_tpl_vars['result']->facet_counts; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['cluster']): ?> <?php $_from = $this->_tpl_vars['cluster']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']): ?> <?php $this->assign('label', "REFINE_".($this->_tpl_vars['key'])); ?> <?php $this->assign('totalItems', count($this->_tpl_vars['item'])); ?> <?php if ($this->_tpl_vars['totalItems'] > 0): ?> <?php if ($this->_tpl_vars['facetBrowse'] == $this->_tpl_vars['key']): ?> <div id="<?php echo $this->_tpl_vars['key']; ?> "> <?php else: ?> <div id="<?php echo $this->_tpl_vars['key']; ?> " class="closed"> <?php endif; ?> <?php if ($this->_tpl_vars['key'] == 'fulltext'): ?> <strong onclick="showHideBox('<?php echo $this->_tpl_vars['key']; ?> ')"><?php echo $this->_tpl_vars['texts'][$this->_tpl_vars['label']]; ?> </strong> (<a href="#" onclick="javascript:applyFilter('<?php echo $this->_tpl_vars['item'][0][0]; ?>
</a> <?php endif; ?> <?php endif; ?> </h3> <!-- author --> <?php echo smarty_function_occ(array('label' => $this->_tpl_vars['texts']['LABEL_AUTHOR'],'element' => $this->_tpl_vars['doc']->au,'separator' => ";",'class' => 'author'), $this);?> <!-- source --> <?php if (((is_array($_tmp=$this->_tpl_vars['doc']->db)) ? $this->_run_mod_handler('contains', true, $_tmp, 'COCHRANE') : smarty_modifier_contains($_tmp, 'COCHRANE'))): ?> <?php echo smarty_function_occ(array('element' => $this->_tpl_vars['doc']->db,'separator' => ";",'class' => 'source','suffix' => 'SOURCE_','translation' => $this->_tpl_vars['texts']), $this);?> <?php else: ?> <?php if (((is_array($_tmp=$this->_tpl_vars['doc']->fo[0])) ? $this->_run_mod_handler('count', true, $_tmp) : count($_tmp)) > 0): ?> <?php $this->assign('journal', ((is_array($_tmp=$this->_tpl_vars['doc']->fo[0])) ? $this->_run_mod_handler('substring_before', true, $_tmp, ";") : smarty_modifier_substring_before($_tmp, ";"))); ?> <?php if ($this->_tpl_vars['doc']->type == 'article' && ((is_array($_tmp=$this->_tpl_vars['journal'])) ? $this->_run_mod_handler('count', true, $_tmp) : count($_tmp)) > 0): ?> <div class="source"> <a href="http://portal.revistas.bvs.br/transf.php?xsl=xsl/titles.xsl&xml=http://catserver.bireme.br/cgi-bin/wxis1660.exe/?IsisScript=../cgi-bin/catrevistas/catrevistas.xis|database_name=TITLES|list_type=title|cat_name=ALL|from=1|count=50&lang=pt&comefrom=home&home=false&task=show_magazines&request_made_adv_search=false&lang=pt&show_adv_search=false&help_file=/help_pt.htm&connector=ET&search_exp=<?php echo ((is_array($_tmp=$this->_tpl_vars['journal'])) ? $this->_run_mod_handler('noaccent', true, $_tmp) : smarty_modifier_noaccent($_tmp)); ?> " target="_blank"><span><?php echo $this->_tpl_vars['journal']; ?> </span></a>; <?php echo ((is_array($_tmp=$this->_tpl_vars['doc']->fo[0])) ? $this->_run_mod_handler('substring_after', true, $_tmp, ";") : smarty_modifier_substring_after($_tmp, ";")); ?> </div> <?php else: ?> <?php echo smarty_function_occ(array('element' => $this->_tpl_vars['doc']->fo,'separator' => ";",'class' => 'source'), $this);?> <?php endif; ?> <?php endif; ?> <?php endif; ?>