home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / function.tpl < prev    next >
Encoding:
Text File  |  2004-03-24  |  3.7 KB  |  42 lines

  1. <?php /* Smarty version 2.5.0, created on 2003-07-27 20:47:12
  2.          compiled from function.tpl */ ?>
  3. <?php $this->_load_plugins(array(
  4. array('modifier', 'rawurlencode', 'function.tpl', 4, false),)); ?><?php ob_start(); ?>Function <?php echo $this->_tpl_vars['intricatefunctioncall']['name']; ?>
  5. <?php $this->_smarty_vars['capture']['flink'] = ob_get_contents(); ob_end_clean(); ?>
  6. <?php ob_start(); ?><?php echo $this->_tpl_vars['intricatefunctioncall']['name']; ?>
  7. ()|||<?php echo $this->_tpl_vars['sdesc']; ?>
  8. <?php $this->_smarty_vars['capture']['findex'] = ob_get_contents(); ob_end_clean(); ?>
  9. <pdffunction:addDestination arg="<?php echo $this->_tpl_vars['dest']; ?>
  10. " arg="FitH" arg=$this->y />
  11. <text size="10" justification="left"><i><?php echo $this->_tpl_vars['return']; ?>
  12. </i> function <?php echo $this->_tpl_vars['intricatefunctioncall']['name']; ?>
  13. (<?php if (isset($this->_sections['params'])) unset($this->_sections['params']);
  14. $this->_sections['params']['name'] = 'params';
  15. $this->_sections['params']['loop'] = is_array($this->_tpl_vars['intricatefunctioncall']['params']) ? count($this->_tpl_vars['intricatefunctioncall']['params']) : max(0, (int)$this->_tpl_vars['intricatefunctioncall']['params']);
  16. $this->_sections['params']['show'] = true;
  17. $this->_sections['params']['max'] = $this->_sections['params']['loop'];
  18. $this->_sections['params']['step'] = 1;
  19. $this->_sections['params']['start'] = $this->_sections['params']['step'] > 0 ? 0 : $this->_sections['params']['loop']-1;
  20. if ($this->_sections['params']['show']) {
  21.     $this->_sections['params']['total'] = $this->_sections['params']['loop'];
  22.     if ($this->_sections['params']['total'] == 0)
  23.         $this->_sections['params']['show'] = false;
  24. } else
  25.     $this->_sections['params']['total'] = 0;
  26. if ($this->_sections['params']['show']):
  27.  
  28.             for ($this->_sections['params']['index'] = $this->_sections['params']['start'], $this->_sections['params']['iteration'] = 1;
  29.                  $this->_sections['params']['iteration'] <= $this->_sections['params']['total'];
  30.                  $this->_sections['params']['index'] += $this->_sections['params']['step'], $this->_sections['params']['iteration']++):
  31. $this->_sections['params']['rownum'] = $this->_sections['params']['iteration'];
  32. $this->_sections['params']['index_prev'] = $this->_sections['params']['index'] - $this->_sections['params']['step'];
  33. $this->_sections['params']['index_next'] = $this->_sections['params']['index'] + $this->_sections['params']['step'];
  34. $this->_sections['params']['first']      = ($this->_sections['params']['iteration'] == 1);
  35. $this->_sections['params']['last']       = ($this->_sections['params']['iteration'] == $this->_sections['params']['total']);
  36. ?><?php if ($this->_sections['params']['index'] > 0): ?>, <?php endif; ?><?php if ($this->_tpl_vars['intricatefunctioncall']['params'][$this->_sections['params']['index']]['default'] != ''): ?>[<?php endif; ?><?php echo $this->_tpl_vars['intricatefunctioncall']['params'][$this->_sections['params']['index']]['name']; ?>
  37. <?php if ($this->_tpl_vars['intricatefunctioncall']['params'][$this->_sections['params']['index']]['default'] != ''): ?> = <?php echo $this->_tpl_vars['intricatefunctioncall']['params'][$this->_sections['params']['index']]['default']; ?>
  38. ]<?php endif; ?><?php endfor; endif; ?>) <i>[line <?php if ($this->_tpl_vars['slink']): ?><?php echo $this->_tpl_vars['slink']; ?>
  39. <?php else: ?><?php echo $this->_tpl_vars['linenumber']; ?>
  40. <?php endif; ?>]</i><C:rf:3<?php echo $this->_run_mod_handler('rawurlencode', true, $this->_smarty_vars['capture']['flink']); ?>
  41. ><C:index:<?php echo $this->_run_mod_handler('rawurlencode', true, $this->_smarty_vars['capture']['findex']); ?>
  42. ></text>