home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 June / PCpro_2005_06.ISO / files / opensource / xamp / xampp-win32.exe / xampp / left_frame.tpl < prev    next >
Encoding:
Text File  |  2004-03-24  |  30.7 KB  |  481 lines

  1. <?php /* Smarty version 2.5.0, created on 2003-04-28 18:39:48
  2.          compiled from left_frame.tpl */ ?>
  3. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  4. $this->_smarty_include("header.tpl", array('top2' => true));
  5. $this->_tpl_vars = $_smarty_tpl_vars;
  6. unset($_smarty_tpl_vars);
  7.  ?>
  8. <div class="package-title"><?php echo $this->_tpl_vars['package']; ?>
  9. </div>
  10. <div class="package-details">
  11.  
  12.     <dl class="tree">
  13.         
  14.         <dt class="folder-title">Description</dt>
  15.         <dd>
  16.             <a href='<?php echo $this->_tpl_vars['classtreepage']; ?>
  17. .html' target='right'>Class trees</a><br />
  18.             <a href='<?php echo $this->_tpl_vars['elementindex']; ?>
  19. .html' target='right'>Index of elements</a><br />
  20.             <?php if ($this->_tpl_vars['hastodos']): ?>
  21.                 <a href="<?php echo $this->_tpl_vars['todolink']; ?>
  22. " target="right">Todo List</a><br />
  23.             <?php endif; ?>
  24.         </dd>
  25.     
  26.         <?php if (isset($this->_sections['p'])) unset($this->_sections['p']);
  27. $this->_sections['p']['name'] = 'p';
  28. $this->_sections['p']['loop'] = is_array($this->_tpl_vars['info']) ? count($this->_tpl_vars['info']) : max(0, (int)$this->_tpl_vars['info']);
  29. $this->_sections['p']['show'] = true;
  30. $this->_sections['p']['max'] = $this->_sections['p']['loop'];
  31. $this->_sections['p']['step'] = 1;
  32. $this->_sections['p']['start'] = $this->_sections['p']['step'] > 0 ? 0 : $this->_sections['p']['loop']-1;
  33. if ($this->_sections['p']['show']) {
  34.     $this->_sections['p']['total'] = $this->_sections['p']['loop'];
  35.     if ($this->_sections['p']['total'] == 0)
  36.         $this->_sections['p']['show'] = false;
  37. } else
  38.     $this->_sections['p']['total'] = 0;
  39. if ($this->_sections['p']['show']):
  40.  
  41.  
  42.             for ($this->_sections['p']['index'] = $this->_sections['p']['start'], $this->_sections['p']['iteration'] = 1;
  43.  
  44.                  $this->_sections['p']['iteration'] <= $this->_sections['p']['total'];
  45.  
  46.                  $this->_sections['p']['index'] += $this->_sections['p']['step'], $this->_sections['p']['iteration']++):
  47. $this->_sections['p']['rownum'] = $this->_sections['p']['iteration'];
  48. $this->_sections['p']['index_prev'] = $this->_sections['p']['index'] - $this->_sections['p']['step'];
  49. $this->_sections['p']['index_next'] = $this->_sections['p']['index'] + $this->_sections['p']['step'];
  50. $this->_sections['p']['first']      = ($this->_sections['p']['iteration'] == 1);
  51. $this->_sections['p']['last']       = ($this->_sections['p']['iteration'] == $this->_sections['p']['total']);
  52. ?>
  53.                     
  54.             <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['subpackage'] == ""): ?>
  55.                 
  56.                 <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']): ?>
  57.                     <dt class="folder-title">Tutorials/Manuals</dt>
  58.                     <dd>
  59.                     <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['pkg']): ?>
  60.                         <dl class="tree">
  61.                         <dt class="folder-title">Package-level</dt>
  62.                         <dd>
  63.                         <?php if (isset($this->_sections['ext'])) unset($this->_sections['ext']);
  64. $this->_sections['ext']['name'] = 'ext';
  65. $this->_sections['ext']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['pkg']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['pkg']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['pkg']);
  66. $this->_sections['ext']['show'] = true;
  67. $this->_sections['ext']['max'] = $this->_sections['ext']['loop'];
  68. $this->_sections['ext']['step'] = 1;
  69. $this->_sections['ext']['start'] = $this->_sections['ext']['step'] > 0 ? 0 : $this->_sections['ext']['loop']-1;
  70. if ($this->_sections['ext']['show']) {
  71.     $this->_sections['ext']['total'] = $this->_sections['ext']['loop'];
  72.     if ($this->_sections['ext']['total'] == 0)
  73.         $this->_sections['ext']['show'] = false;
  74. } else
  75.     $this->_sections['ext']['total'] = 0;
  76. if ($this->_sections['ext']['show']):
  77.  
  78.  
  79.             for ($this->_sections['ext']['index'] = $this->_sections['ext']['start'], $this->_sections['ext']['iteration'] = 1;
  80.  
  81.                  $this->_sections['ext']['iteration'] <= $this->_sections['ext']['total'];
  82.  
  83.                  $this->_sections['ext']['index'] += $this->_sections['ext']['step'], $this->_sections['ext']['iteration']++):
  84. $this->_sections['ext']['rownum'] = $this->_sections['ext']['iteration'];
  85. $this->_sections['ext']['index_prev'] = $this->_sections['ext']['index'] - $this->_sections['ext']['step'];
  86. $this->_sections['ext']['index_next'] = $this->_sections['ext']['index'] + $this->_sections['ext']['step'];
  87. $this->_sections['ext']['first']      = ($this->_sections['ext']['iteration'] == 1);
  88. $this->_sections['ext']['last']       = ($this->_sections['ext']['iteration'] == $this->_sections['ext']['total']);
  89. ?>
  90.                             <?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['pkg'][$this->_sections['ext']['index']]; ?>
  91.  
  92.                         <?php endfor; endif; ?>
  93.                         </dd>
  94.                         </dl>
  95.                     <?php endif; ?>
  96.                     
  97.                     <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['cls']): ?>
  98.                         <dl class="tree">
  99.                         <dt class="folder-title">Class-level</dt>
  100.                         <dd>
  101.                         <?php if (isset($this->_sections['ext'])) unset($this->_sections['ext']);
  102. $this->_sections['ext']['name'] = 'ext';
  103. $this->_sections['ext']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['cls']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['cls']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['cls']);
  104. $this->_sections['ext']['show'] = true;
  105. $this->_sections['ext']['max'] = $this->_sections['ext']['loop'];
  106. $this->_sections['ext']['step'] = 1;
  107. $this->_sections['ext']['start'] = $this->_sections['ext']['step'] > 0 ? 0 : $this->_sections['ext']['loop']-1;
  108. if ($this->_sections['ext']['show']) {
  109.     $this->_sections['ext']['total'] = $this->_sections['ext']['loop'];
  110.     if ($this->_sections['ext']['total'] == 0)
  111.         $this->_sections['ext']['show'] = false;
  112. } else
  113.     $this->_sections['ext']['total'] = 0;
  114. if ($this->_sections['ext']['show']):
  115.  
  116.  
  117.             for ($this->_sections['ext']['index'] = $this->_sections['ext']['start'], $this->_sections['ext']['iteration'] = 1;
  118.  
  119.                  $this->_sections['ext']['iteration'] <= $this->_sections['ext']['total'];
  120.  
  121.                  $this->_sections['ext']['index'] += $this->_sections['ext']['step'], $this->_sections['ext']['iteration']++):
  122. $this->_sections['ext']['rownum'] = $this->_sections['ext']['iteration'];
  123. $this->_sections['ext']['index_prev'] = $this->_sections['ext']['index'] - $this->_sections['ext']['step'];
  124. $this->_sections['ext']['index_next'] = $this->_sections['ext']['index'] + $this->_sections['ext']['step'];
  125. $this->_sections['ext']['first']      = ($this->_sections['ext']['iteration'] == 1);
  126. $this->_sections['ext']['last']       = ($this->_sections['ext']['iteration'] == $this->_sections['ext']['total']);
  127. ?>
  128.                             <?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['cls'][$this->_sections['ext']['index']]; ?>
  129.  
  130.                         <?php endfor; endif; ?>
  131.                         </dd>
  132.                         </dl>
  133.                     <?php endif; ?>
  134.                     
  135.                     <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['proc']): ?>
  136.                         <dl class="tree">
  137.                         <dt class="folder-title">Function-level</dt>
  138.                         <dd>
  139.                         <?php if (isset($this->_sections['ext'])) unset($this->_sections['ext']);
  140. $this->_sections['ext']['name'] = 'ext';
  141. $this->_sections['ext']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['proc']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['proc']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['proc']);
  142. $this->_sections['ext']['show'] = true;
  143. $this->_sections['ext']['max'] = $this->_sections['ext']['loop'];
  144. $this->_sections['ext']['step'] = 1;
  145. $this->_sections['ext']['start'] = $this->_sections['ext']['step'] > 0 ? 0 : $this->_sections['ext']['loop']-1;
  146. if ($this->_sections['ext']['show']) {
  147.     $this->_sections['ext']['total'] = $this->_sections['ext']['loop'];
  148.     if ($this->_sections['ext']['total'] == 0)
  149.         $this->_sections['ext']['show'] = false;
  150. } else
  151.     $this->_sections['ext']['total'] = 0;
  152. if ($this->_sections['ext']['show']):
  153.  
  154.  
  155.             for ($this->_sections['ext']['index'] = $this->_sections['ext']['start'], $this->_sections['ext']['iteration'] = 1;
  156.  
  157.                  $this->_sections['ext']['iteration'] <= $this->_sections['ext']['total'];
  158.  
  159.                  $this->_sections['ext']['index'] += $this->_sections['ext']['step'], $this->_sections['ext']['iteration']++):
  160. $this->_sections['ext']['rownum'] = $this->_sections['ext']['iteration'];
  161. $this->_sections['ext']['index_prev'] = $this->_sections['ext']['index'] - $this->_sections['ext']['step'];
  162. $this->_sections['ext']['index_next'] = $this->_sections['ext']['index'] + $this->_sections['ext']['step'];
  163. $this->_sections['ext']['first']      = ($this->_sections['ext']['iteration'] == 1);
  164. $this->_sections['ext']['last']       = ($this->_sections['ext']['iteration'] == $this->_sections['ext']['total']);
  165. ?>
  166.                             <?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['proc'][$this->_sections['ext']['index']]; ?>
  167.  
  168.                         <?php endfor; endif; ?>
  169.                         </dd>
  170.                         </dl>
  171.                     <?php endif; ?>
  172.                     </dd>
  173.                 <?php endif; ?>
  174.                 <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['classes']): ?>
  175.                     <dt class="folder-title">Classes</dt>
  176.                     <?php if (isset($this->_sections['class'])) unset($this->_sections['class']);
  177. $this->_sections['class']['name'] = 'class';
  178. $this->_sections['class']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['classes']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['classes']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['classes']);
  179. $this->_sections['class']['show'] = true;
  180. $this->_sections['class']['max'] = $this->_sections['class']['loop'];
  181. $this->_sections['class']['step'] = 1;
  182. $this->_sections['class']['start'] = $this->_sections['class']['step'] > 0 ? 0 : $this->_sections['class']['loop']-1;
  183. if ($this->_sections['class']['show']) {
  184.     $this->_sections['class']['total'] = $this->_sections['class']['loop'];
  185.     if ($this->_sections['class']['total'] == 0)
  186.         $this->_sections['class']['show'] = false;
  187. } else
  188.     $this->_sections['class']['total'] = 0;
  189. if ($this->_sections['class']['show']):
  190.  
  191.  
  192.             for ($this->_sections['class']['index'] = $this->_sections['class']['start'], $this->_sections['class']['iteration'] = 1;
  193.  
  194.                  $this->_sections['class']['iteration'] <= $this->_sections['class']['total'];
  195.  
  196.                  $this->_sections['class']['index'] += $this->_sections['class']['step'], $this->_sections['class']['iteration']++):
  197. $this->_sections['class']['rownum'] = $this->_sections['class']['iteration'];
  198. $this->_sections['class']['index_prev'] = $this->_sections['class']['index'] - $this->_sections['class']['step'];
  199. $this->_sections['class']['index_next'] = $this->_sections['class']['index'] + $this->_sections['class']['step'];
  200. $this->_sections['class']['first']      = ($this->_sections['class']['iteration'] == 1);
  201. $this->_sections['class']['last']       = ($this->_sections['class']['iteration'] == $this->_sections['class']['total']);
  202. ?>
  203.                         <dd><a href='<?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['classes'][$this->_sections['class']['index']]['link']; ?>
  204. ' target='right'><?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['classes'][$this->_sections['class']['index']]['title']; ?>
  205. </a></dd>
  206.                     <?php endfor; endif; ?>
  207.                 <?php endif; ?>
  208.                 <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['functions']): ?>
  209.                     <dt class="folder-title">Functions</dt>
  210.                     <?php if (isset($this->_sections['f'])) unset($this->_sections['f']);
  211. $this->_sections['f']['name'] = 'f';
  212. $this->_sections['f']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['functions']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['functions']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['functions']);
  213. $this->_sections['f']['show'] = true;
  214. $this->_sections['f']['max'] = $this->_sections['f']['loop'];
  215. $this->_sections['f']['step'] = 1;
  216. $this->_sections['f']['start'] = $this->_sections['f']['step'] > 0 ? 0 : $this->_sections['f']['loop']-1;
  217. if ($this->_sections['f']['show']) {
  218.     $this->_sections['f']['total'] = $this->_sections['f']['loop'];
  219.     if ($this->_sections['f']['total'] == 0)
  220.         $this->_sections['f']['show'] = false;
  221. } else
  222.     $this->_sections['f']['total'] = 0;
  223. if ($this->_sections['f']['show']):
  224.  
  225.  
  226.             for ($this->_sections['f']['index'] = $this->_sections['f']['start'], $this->_sections['f']['iteration'] = 1;
  227.  
  228.                  $this->_sections['f']['iteration'] <= $this->_sections['f']['total'];
  229.  
  230.                  $this->_sections['f']['index'] += $this->_sections['f']['step'], $this->_sections['f']['iteration']++):
  231. $this->_sections['f']['rownum'] = $this->_sections['f']['iteration'];
  232. $this->_sections['f']['index_prev'] = $this->_sections['f']['index'] - $this->_sections['f']['step'];
  233. $this->_sections['f']['index_next'] = $this->_sections['f']['index'] + $this->_sections['f']['step'];
  234. $this->_sections['f']['first']      = ($this->_sections['f']['iteration'] == 1);
  235. $this->_sections['f']['last']       = ($this->_sections['f']['iteration'] == $this->_sections['f']['total']);
  236. ?>
  237.                         <dd><a href='<?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['functions'][$this->_sections['f']['index']]['link']; ?>
  238. ' target='right'><?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['functions'][$this->_sections['f']['index']]['title']; ?>
  239. </a></dd>
  240.                     <?php endfor; endif; ?>
  241.                 <?php endif; ?>
  242.                 <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['files']): ?>
  243.                     <dt class="folder-title">Files</dt>
  244.                     <?php if (isset($this->_sections['nonclass'])) unset($this->_sections['nonclass']);
  245. $this->_sections['nonclass']['name'] = 'nonclass';
  246. $this->_sections['nonclass']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['files']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['files']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['files']);
  247. $this->_sections['nonclass']['show'] = true;
  248. $this->_sections['nonclass']['max'] = $this->_sections['nonclass']['loop'];
  249. $this->_sections['nonclass']['step'] = 1;
  250. $this->_sections['nonclass']['start'] = $this->_sections['nonclass']['step'] > 0 ? 0 : $this->_sections['nonclass']['loop']-1;
  251. if ($this->_sections['nonclass']['show']) {
  252.     $this->_sections['nonclass']['total'] = $this->_sections['nonclass']['loop'];
  253.     if ($this->_sections['nonclass']['total'] == 0)
  254.         $this->_sections['nonclass']['show'] = false;
  255. } else
  256.     $this->_sections['nonclass']['total'] = 0;
  257. if ($this->_sections['nonclass']['show']):
  258.  
  259.  
  260.             for ($this->_sections['nonclass']['index'] = $this->_sections['nonclass']['start'], $this->_sections['nonclass']['iteration'] = 1;
  261.  
  262.                  $this->_sections['nonclass']['iteration'] <= $this->_sections['nonclass']['total'];
  263.  
  264.                  $this->_sections['nonclass']['index'] += $this->_sections['nonclass']['step'], $this->_sections['nonclass']['iteration']++):
  265. $this->_sections['nonclass']['rownum'] = $this->_sections['nonclass']['iteration'];
  266. $this->_sections['nonclass']['index_prev'] = $this->_sections['nonclass']['index'] - $this->_sections['nonclass']['step'];
  267. $this->_sections['nonclass']['index_next'] = $this->_sections['nonclass']['index'] + $this->_sections['nonclass']['step'];
  268. $this->_sections['nonclass']['first']      = ($this->_sections['nonclass']['iteration'] == 1);
  269. $this->_sections['nonclass']['last']       = ($this->_sections['nonclass']['iteration'] == $this->_sections['nonclass']['total']);
  270. ?>
  271.                         <dd><a href='<?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['files'][$this->_sections['nonclass']['index']]['link']; ?>
  272. ' target='right'><?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['files'][$this->_sections['nonclass']['index']]['title']; ?>
  273. </a></dd>
  274.                     <?php endfor; endif; ?>
  275.                 <?php endif; ?>
  276.                                 
  277.             <?php else: ?>
  278.                 <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']): ?>            
  279.                     <dt class="folder-title">Tutorials/Manuals</dt>
  280.                     <dd>
  281.                     <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['pkg']): ?>
  282.                         <dl class="tree">
  283.                         <dt class="folder-title">Package-level</dt>
  284.                         <dd>
  285.                         <?php if (isset($this->_sections['ext'])) unset($this->_sections['ext']);
  286. $this->_sections['ext']['name'] = 'ext';
  287. $this->_sections['ext']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['pkg']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['pkg']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['pkg']);
  288. $this->_sections['ext']['show'] = true;
  289. $this->_sections['ext']['max'] = $this->_sections['ext']['loop'];
  290. $this->_sections['ext']['step'] = 1;
  291. $this->_sections['ext']['start'] = $this->_sections['ext']['step'] > 0 ? 0 : $this->_sections['ext']['loop']-1;
  292. if ($this->_sections['ext']['show']) {
  293.     $this->_sections['ext']['total'] = $this->_sections['ext']['loop'];
  294.     if ($this->_sections['ext']['total'] == 0)
  295.         $this->_sections['ext']['show'] = false;
  296. } else
  297.     $this->_sections['ext']['total'] = 0;
  298. if ($this->_sections['ext']['show']):
  299.  
  300.  
  301.             for ($this->_sections['ext']['index'] = $this->_sections['ext']['start'], $this->_sections['ext']['iteration'] = 1;
  302.  
  303.                  $this->_sections['ext']['iteration'] <= $this->_sections['ext']['total'];
  304.  
  305.                  $this->_sections['ext']['index'] += $this->_sections['ext']['step'], $this->_sections['ext']['iteration']++):
  306. $this->_sections['ext']['rownum'] = $this->_sections['ext']['iteration'];
  307. $this->_sections['ext']['index_prev'] = $this->_sections['ext']['index'] - $this->_sections['ext']['step'];
  308. $this->_sections['ext']['index_next'] = $this->_sections['ext']['index'] + $this->_sections['ext']['step'];
  309. $this->_sections['ext']['first']      = ($this->_sections['ext']['iteration'] == 1);
  310. $this->_sections['ext']['last']       = ($this->_sections['ext']['iteration'] == $this->_sections['ext']['total']);
  311. ?>
  312.                             <?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['pkg'][$this->_sections['ext']['index']]; ?>
  313.  
  314.                         <?php endfor; endif; ?>
  315.                         </dd>
  316.                         </dl>
  317.                     <?php endif; ?>
  318.                     
  319.                     <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['cls']): ?>
  320.                         <dl class="tree">
  321.                         <dt class="folder-title">Class-level</dt>
  322.                         <dd>
  323.                         <?php if (isset($this->_sections['ext'])) unset($this->_sections['ext']);
  324. $this->_sections['ext']['name'] = 'ext';
  325. $this->_sections['ext']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['cls']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['cls']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['cls']);
  326. $this->_sections['ext']['show'] = true;
  327. $this->_sections['ext']['max'] = $this->_sections['ext']['loop'];
  328. $this->_sections['ext']['step'] = 1;
  329. $this->_sections['ext']['start'] = $this->_sections['ext']['step'] > 0 ? 0 : $this->_sections['ext']['loop']-1;
  330. if ($this->_sections['ext']['show']) {
  331.     $this->_sections['ext']['total'] = $this->_sections['ext']['loop'];
  332.     if ($this->_sections['ext']['total'] == 0)
  333.         $this->_sections['ext']['show'] = false;
  334. } else
  335.     $this->_sections['ext']['total'] = 0;
  336. if ($this->_sections['ext']['show']):
  337.  
  338.  
  339.             for ($this->_sections['ext']['index'] = $this->_sections['ext']['start'], $this->_sections['ext']['iteration'] = 1;
  340.  
  341.                  $this->_sections['ext']['iteration'] <= $this->_sections['ext']['total'];
  342.  
  343.                  $this->_sections['ext']['index'] += $this->_sections['ext']['step'], $this->_sections['ext']['iteration']++):
  344. $this->_sections['ext']['rownum'] = $this->_sections['ext']['iteration'];
  345. $this->_sections['ext']['index_prev'] = $this->_sections['ext']['index'] - $this->_sections['ext']['step'];
  346. $this->_sections['ext']['index_next'] = $this->_sections['ext']['index'] + $this->_sections['ext']['step'];
  347. $this->_sections['ext']['first']      = ($this->_sections['ext']['iteration'] == 1);
  348. $this->_sections['ext']['last']       = ($this->_sections['ext']['iteration'] == $this->_sections['ext']['total']);
  349. ?>
  350.                             <?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['cls'][$this->_sections['ext']['index']]; ?>
  351.  
  352.                         <?php endfor; endif; ?>
  353.                         </dd>
  354.                         </dl>
  355.                     <?php endif; ?>
  356.                     
  357.                     <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['proc']): ?>
  358.                         <dl class="tree">
  359.                         <dt class="folder-title">Function-level</dt>
  360.                         <dd>
  361.                         <?php if (isset($this->_sections['ext'])) unset($this->_sections['ext']);
  362. $this->_sections['ext']['name'] = 'ext';
  363. $this->_sections['ext']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['proc']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['proc']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['proc']);
  364. $this->_sections['ext']['show'] = true;
  365. $this->_sections['ext']['max'] = $this->_sections['ext']['loop'];
  366. $this->_sections['ext']['step'] = 1;
  367. $this->_sections['ext']['start'] = $this->_sections['ext']['step'] > 0 ? 0 : $this->_sections['ext']['loop']-1;
  368. if ($this->_sections['ext']['show']) {
  369.     $this->_sections['ext']['total'] = $this->_sections['ext']['loop'];
  370.     if ($this->_sections['ext']['total'] == 0)
  371.         $this->_sections['ext']['show'] = false;
  372. } else
  373.     $this->_sections['ext']['total'] = 0;
  374. if ($this->_sections['ext']['show']):
  375.  
  376.  
  377.             for ($this->_sections['ext']['index'] = $this->_sections['ext']['start'], $this->_sections['ext']['iteration'] = 1;
  378.  
  379.                  $this->_sections['ext']['iteration'] <= $this->_sections['ext']['total'];
  380.  
  381.                  $this->_sections['ext']['index'] += $this->_sections['ext']['step'], $this->_sections['ext']['iteration']++):
  382. $this->_sections['ext']['rownum'] = $this->_sections['ext']['iteration'];
  383. $this->_sections['ext']['index_prev'] = $this->_sections['ext']['index'] - $this->_sections['ext']['step'];
  384. $this->_sections['ext']['index_next'] = $this->_sections['ext']['index'] + $this->_sections['ext']['step'];
  385. $this->_sections['ext']['first']      = ($this->_sections['ext']['iteration'] == 1);
  386. $this->_sections['ext']['last']       = ($this->_sections['ext']['iteration'] == $this->_sections['ext']['total']);
  387. ?>
  388.                             <?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['tutorials']['proc'][$this->_sections['ext']['index']]; ?>
  389.  
  390.                         <?php endfor; endif; ?>
  391.                         </dd>
  392.                         </dl>
  393.                     <?php endif; ?>
  394.                     </dd>
  395.                 <?php endif; ?>
  396.                 
  397.                 <dt class="sub-package"><?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['subpackage']; ?>
  398. </dt>
  399.                 <dd>
  400.                     <dl class="tree">
  401.                         <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['subpackagetutorial']): ?>
  402.                             <div><a href="<?php echo $this->_tpl_vars['info']['0']['subpackagetutorialnoa']; ?>
  403. " target="right"><?php echo $this->_tpl_vars['info']['0']['subpackagetutorialtitle']; ?>
  404. </a></div>
  405.                         <?php endif; ?>
  406.                         <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['classes']): ?>
  407.                             <dt class="folder-title">Classes</dt>
  408.                             <?php if (isset($this->_sections['class'])) unset($this->_sections['class']);
  409. $this->_sections['class']['name'] = 'class';
  410. $this->_sections['class']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['classes']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['classes']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['classes']);
  411. $this->_sections['class']['show'] = true;
  412. $this->_sections['class']['max'] = $this->_sections['class']['loop'];
  413. $this->_sections['class']['step'] = 1;
  414. $this->_sections['class']['start'] = $this->_sections['class']['step'] > 0 ? 0 : $this->_sections['class']['loop']-1;
  415. if ($this->_sections['class']['show']) {
  416.     $this->_sections['class']['total'] = $this->_sections['class']['loop'];
  417.     if ($this->_sections['class']['total'] == 0)
  418.         $this->_sections['class']['show'] = false;
  419. } else
  420.     $this->_sections['class']['total'] = 0;
  421. if ($this->_sections['class']['show']):
  422.  
  423.  
  424.             for ($this->_sections['class']['index'] = $this->_sections['class']['start'], $this->_sections['class']['iteration'] = 1;
  425.  
  426.                  $this->_sections['class']['iteration'] <= $this->_sections['class']['total'];
  427.  
  428.                  $this->_sections['class']['index'] += $this->_sections['class']['step'], $this->_sections['class']['iteration']++):
  429. $this->_sections['class']['rownum'] = $this->_sections['class']['iteration'];
  430. $this->_sections['class']['index_prev'] = $this->_sections['class']['index'] - $this->_sections['class']['step'];
  431. $this->_sections['class']['index_next'] = $this->_sections['class']['index'] + $this->_sections['class']['step'];
  432. $this->_sections['class']['first']      = ($this->_sections['class']['iteration'] == 1);
  433. $this->_sections['class']['last']       = ($this->_sections['class']['iteration'] == $this->_sections['class']['total']);
  434. ?>
  435.                                 <dd><a href='<?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['classes'][$this->_sections['class']['index']]['link']; ?>
  436. ' target='right'><?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['classes'][$this->_sections['class']['index']]['title']; ?>
  437. </a></dd>
  438.                             <?php endfor; endif; ?>
  439.                         <?php endif; ?>
  440.                         <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['functions']): ?>
  441.                             <dt class="folder-title">Functions</dt>
  442.                             <?php if (isset($this->_sections['f'])) unset($this->_sections['f']);
  443. $this->_sections['f']['name'] = 'f';
  444. $this->_sections['f']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['functions']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['functions']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['functions']);
  445. $this->_sections['f']['show'] = true;
  446. $this->_sections['f']['max'] = $this->_sections['f']['loop'];
  447. $this->_sections['f']['step'] = 1;
  448. $this->_sections['f']['start'] = $this->_sections['f']['step'] > 0 ? 0 : $this->_sections['f']['loop']-1;
  449. if ($this->_sections['f']['show']) {
  450.     $this->_sections['f']['total'] = $this->_sections['f']['loop'];
  451.     if ($this->_sections['f']['total'] == 0)
  452.         $this->_sections['f']['show'] = false;
  453. } else
  454.     $this->_sections['f']['total'] = 0;
  455. if ($this->_sections['f']['show']):
  456.  
  457.  
  458.             for ($this->_sections['f']['index'] = $this->_sections['f']['start'], $this->_sections['f']['iteration'] = 1;
  459.  
  460.                  $this->_sections['f']['iteration'] <= $this->_sections['f']['total'];
  461.  
  462.                  $this->_sections['f']['index'] += $this->_sections['f']['step'], $this->_sections['f']['iteration']++):
  463. $this->_sections['f']['rownum'] = $this->_sections['f']['iteration'];
  464. $this->_sections['f']['index_prev'] = $this->_sections['f']['index'] - $this->_sections['f']['step'];
  465. $this->_sections['f']['index_next'] = $this->_sections['f']['index'] + $this->_sections['f']['step'];
  466. $this->_sections['f']['first']      = ($this->_sections['f']['iteration'] == 1);
  467. $this->_sections['f']['last']       = ($this->_sections['f']['iteration'] == $this->_sections['f']['total']);
  468. ?>
  469.                                 <dd><a href='<?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['functions'][$this->_sections['f']['index']]['link']; ?>
  470. ' target='right'><?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['functions'][$this->_sections['f']['index']]['title']; ?>
  471. </a></dd>
  472.                             <?php endfor; endif; ?>
  473.                         <?php endif; ?>
  474.                         <?php if ($this->_tpl_vars['info'][$this->_sections['p']['index']]['files']): ?>
  475.                             <dt class="folder-title">Files</dt>
  476.                             <?php if (isset($this->_sections['nonclass'])) unset($this->_sections['nonclass']);
  477. $this->_sections['nonclass']['name'] = 'nonclass';
  478. $this->_sections['nonclass']['loop'] = is_array($this->_tpl_vars['info'][$this->_sections['p']['index']]['files']) ? count($this->_tpl_vars['info'][$this->_sections['p']['index']]['files']) : max(0, (int)$this->_tpl_vars['info'][$this->_sections['p']['index']]['files']);
  479. $this->_sections['nonclass']['show'] = true;
  480. $this->_sections['nonclass']['max'] = $this->_sections['nonclass']['loop'];
  481. $this->_sections['nonclass']['step'] = 1;
  482. $this->_sections['nonclass']['start'] = $this->_sections['nonclass']['step'] > 0 ? 0 : $this->_sections['nonclass']['loop']-1;
  483. if ($this->_sections['nonclass']['show']) {
  484.     $this->_sections['nonclass']['total'] = $this->_sections['nonclass']['loop'];
  485.     if ($this->_sections['nonclass']['total'] == 0)
  486.         $this->_sections['nonclass']['show'] = false;
  487. } else
  488.     $this->_sections['nonclass']['total'] = 0;
  489. if ($this->_sections['nonclass']['show']):
  490.  
  491.  
  492.             for ($this->_sections['nonclass']['index'] = $this->_sections['nonclass']['start'], $this->_sections['nonclass']['iteration'] = 1;
  493.  
  494.                  $this->_sections['nonclass']['iteration'] <= $this->_sections['nonclass']['total'];
  495.  
  496.                  $this->_sections['nonclass']['index'] += $this->_sections['nonclass']['step'], $this->_sections['nonclass']['iteration']++):
  497. $this->_sections['nonclass']['rownum'] = $this->_sections['nonclass']['iteration'];
  498. $this->_sections['nonclass']['index_prev'] = $this->_sections['nonclass']['index'] - $this->_sections['nonclass']['step'];
  499. $this->_sections['nonclass']['index_next'] = $this->_sections['nonclass']['index'] + $this->_sections['nonclass']['step'];
  500. $this->_sections['nonclass']['first']      = ($this->_sections['nonclass']['iteration'] == 1);
  501. $this->_sections['nonclass']['last']       = ($this->_sections['nonclass']['iteration'] == $this->_sections['nonclass']['total']);
  502. ?>
  503.                                 <dd><a href='<?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['files'][$this->_sections['nonclass']['index']]['link']; ?>
  504. ' target='right'><?php echo $this->_tpl_vars['info'][$this->_sections['p']['index']]['files'][$this->_sections['nonclass']['index']]['title']; ?>
  505. </a></dd>
  506.                             <?php endfor; endif; ?>
  507.                         <?php endif; ?>
  508.                     </dl>
  509.                 </dd>
  510.                                 
  511.             <?php endif; ?>
  512.             
  513.         <?php endfor; endif; ?>
  514.     </dl>
  515. </div>
  516. <p class="notes"><a href="<?php echo $this->_tpl_vars['phpdocwebsite']; ?>
  517. " target="_blank">phpDocumentor v <span class="field"><?php echo $this->_tpl_vars['phpdocversion']; ?>
  518. </span></a></p>
  519. </BODY>
  520. </HTML>