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