1<?php /* Smarty version 2.6.0, created on 2006-09-06 23:24:47 2 compiled from docblock.tpl */ ?> 3<!-- ========== Info from phpDoc block ========= --> 4<?php if ($this->_tpl_vars['sdesc']): ?> 5<p class="short-description"><?php echo $this->_tpl_vars['sdesc']; ?> 6</p> 7<?php endif; if ($this->_tpl_vars['desc']): ?> 8<p class="description"><?php echo $this->_tpl_vars['desc']; ?> 9</p> 10<?php endif; if ($this->_tpl_vars['tags']): ?> 11 <ul class="tags"> 12 <?php if (isset($this->_sections['tags'])) unset($this->_sections['tags']); 13$this->_sections['tags']['name'] = 'tags'; 14$this->_sections['tags']['loop'] = is_array($_loop=$this->_tpl_vars['tags']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); 15$this->_sections['tags']['show'] = true; 16$this->_sections['tags']['max'] = $this->_sections['tags']['loop']; 17$this->_sections['tags']['step'] = 1; 18$this->_sections['tags']['start'] = $this->_sections['tags']['step'] > 0 ? 0 : $this->_sections['tags']['loop']-1; 19if ($this->_sections['tags']['show']) { 20 $this->_sections['tags']['total'] = $this->_sections['tags']['loop']; 21 if ($this->_sections['tags']['total'] == 0) 22 $this->_sections['tags']['show'] = false; 23} else 24 $this->_sections['tags']['total'] = 0; 25if ($this->_sections['tags']['show']): 26 27 for ($this->_sections['tags']['index'] = $this->_sections['tags']['start'], $this->_sections['tags']['iteration'] = 1; 28 $this->_sections['tags']['iteration'] <= $this->_sections['tags']['total']; 29 $this->_sections['tags']['index'] += $this->_sections['tags']['step'], $this->_sections['tags']['iteration']++): 30$this->_sections['tags']['rownum'] = $this->_sections['tags']['iteration']; 31$this->_sections['tags']['index_prev'] = $this->_sections['tags']['index'] - $this->_sections['tags']['step']; 32$this->_sections['tags']['index_next'] = $this->_sections['tags']['index'] + $this->_sections['tags']['step']; 33$this->_sections['tags']['first'] = ($this->_sections['tags']['iteration'] == 1); 34$this->_sections['tags']['last'] = ($this->_sections['tags']['iteration'] == $this->_sections['tags']['total']); 35?> 36 <li><span class="field"><?php echo $this->_tpl_vars['tags'][$this->_sections['tags']['index']]['keyword']; ?> 37:</span> <?php echo $this->_tpl_vars['tags'][$this->_sections['tags']['index']]['data']; ?> 38</li> 39 <?php endfor; endif; ?> 40 </ul> 41<?php endif; ?>