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

  1. <?php /* Smarty version 2.5.0, created on 2003-04-23 22:09:15
  2.          compiled from hhp.tpl */ ?>
  3. [OPTIONS]
  4. Compatibility=1.1 or later
  5. Compiled file=documentation.chm
  6. Contents file=contents.hhc
  7. Default topic=index.html
  8. Display compile progress=No
  9. Index file=Index.hhk
  10. Language=0x409 English (United States)
  11.  
  12.  
  13. [FILES]
  14. <?php if (isset($this->_sections['files'])) unset($this->_sections['files']);
  15. $this->_sections['files']['name'] = 'files';
  16. $this->_sections['files']['loop'] = is_array($this->_tpl_vars['files']) ? count($this->_tpl_vars['files']) : max(0, (int)$this->_tpl_vars['files']);
  17. $this->_sections['files']['show'] = true;
  18. $this->_sections['files']['max'] = $this->_sections['files']['loop'];
  19. $this->_sections['files']['step'] = 1;
  20. $this->_sections['files']['start'] = $this->_sections['files']['step'] > 0 ? 0 : $this->_sections['files']['loop']-1;
  21. if ($this->_sections['files']['show']) {
  22.     $this->_sections['files']['total'] = $this->_sections['files']['loop'];
  23.     if ($this->_sections['files']['total'] == 0)
  24.         $this->_sections['files']['show'] = false;
  25. } else
  26.     $this->_sections['files']['total'] = 0;
  27. if ($this->_sections['files']['show']):
  28.  
  29.             for ($this->_sections['files']['index'] = $this->_sections['files']['start'], $this->_sections['files']['iteration'] = 1;
  30.                  $this->_sections['files']['iteration'] <= $this->_sections['files']['total'];
  31.                  $this->_sections['files']['index'] += $this->_sections['files']['step'], $this->_sections['files']['iteration']++):
  32. $this->_sections['files']['rownum'] = $this->_sections['files']['iteration'];
  33. $this->_sections['files']['index_prev'] = $this->_sections['files']['index'] - $this->_sections['files']['step'];
  34. $this->_sections['files']['index_next'] = $this->_sections['files']['index'] + $this->_sections['files']['step'];
  35. $this->_sections['files']['first']      = ($this->_sections['files']['iteration'] == 1);
  36. $this->_sections['files']['last']       = ($this->_sections['files']['iteration'] == $this->_sections['files']['total']);
  37. ?>
  38. <?php echo $this->_tpl_vars['files'][$this->_sections['files']['index']]['name']; ?>
  39.  
  40. <?php endfor; endif; ?>
  41.  
  42. [INFOTYPES]
  43.