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

  1. <?php /* Smarty version 2.5.0, created on 2003-04-28 19:40:56
  2.          compiled from category.tpl */ ?>
  3. <chapter id="<?php echo $this->_tpl_vars['id']; ?>
  4. ">
  5. <title><?php echo $this->_tpl_vars['category']; ?>
  6. </title>
  7. <?php if (isset($this->_sections['ids'])) unset($this->_sections['ids']);
  8. $this->_sections['ids']['name'] = 'ids';
  9. $this->_sections['ids']['loop'] = is_array($this->_tpl_vars['ids']) ? count($this->_tpl_vars['ids']) : max(0, (int)$this->_tpl_vars['ids']);
  10. $this->_sections['ids']['show'] = true;
  11. $this->_sections['ids']['max'] = $this->_sections['ids']['loop'];
  12. $this->_sections['ids']['step'] = 1;
  13. $this->_sections['ids']['start'] = $this->_sections['ids']['step'] > 0 ? 0 : $this->_sections['ids']['loop']-1;
  14. if ($this->_sections['ids']['show']) {
  15.     $this->_sections['ids']['total'] = $this->_sections['ids']['loop'];
  16.     if ($this->_sections['ids']['total'] == 0)
  17.         $this->_sections['ids']['show'] = false;
  18. } else
  19.     $this->_sections['ids']['total'] = 0;
  20. if ($this->_sections['ids']['show']):
  21.  
  22.  
  23.             for ($this->_sections['ids']['index'] = $this->_sections['ids']['start'], $this->_sections['ids']['iteration'] = 1;
  24.  
  25.                  $this->_sections['ids']['iteration'] <= $this->_sections['ids']['total'];
  26.  
  27.                  $this->_sections['ids']['index'] += $this->_sections['ids']['step'], $this->_sections['ids']['iteration']++):
  28. $this->_sections['ids']['rownum'] = $this->_sections['ids']['iteration'];
  29. $this->_sections['ids']['index_prev'] = $this->_sections['ids']['index'] - $this->_sections['ids']['step'];
  30. $this->_sections['ids']['index_next'] = $this->_sections['ids']['index'] + $this->_sections['ids']['step'];
  31. $this->_sections['ids']['first']      = ($this->_sections['ids']['iteration'] == 1);
  32. $this->_sections['ids']['last']       = ($this->_sections['ids']['iteration'] == $this->_sections['ids']['total']);
  33. ?>
  34. &<?php echo $this->_tpl_vars['ids'][$this->_sections['ids']['index']]; ?>
  35. ;
  36. <?php endfor; endif; ?>
  37. </chapter>
  38. <!-- Generated by phpDocumentor v <?php echo $this->_tpl_vars['phpdocversion']; ?>
  39.  <?php echo $this->_tpl_vars['phpdocwebsite']; ?>
  40.  -->
  41. <!-- Keep this comment at the end of the file
  42. Local variables:
  43. mode: sgml
  44. sgml-omittag:t
  45. sgml-shorttag:t
  46. sgml-minimize-attributes:nil
  47. sgml-always-quote-attributes:t
  48. sgml-indent-step:1
  49. sgml-indent-data:t
  50. sgml-parent-document:nil
  51. sgml-default-dtd-file:"../../../../manual.ced"
  52. sgml-exposed-tags:nil
  53. sgml-local-catalogs:nil
  54. sgml-local-ecat-files:nil
  55. End:
  56. vim600: syn=xml fen fdm=syntax fdl=2 si
  57. vim: et tw=78 syn=sgml
  58. vi: ts=1 sw=1
  59. -->