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

  1. <?php /* Smarty version 2.5.0, created on 2003-07-02 15:12:41
  2.          compiled from errors.tpl */ ?>
  3. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  4. $this->_smarty_include("header.tpl", array('noleftindex' => true));
  5. $this->_tpl_vars = $_smarty_tpl_vars;
  6. unset($_smarty_tpl_vars);
  7.  ?>
  8. <?php if (isset($this->_sections['files'])) unset($this->_sections['files']);
  9. $this->_sections['files']['name'] = 'files';
  10. $this->_sections['files']['loop'] = is_array($this->_tpl_vars['files']) ? count($this->_tpl_vars['files']) : max(0, (int)$this->_tpl_vars['files']);
  11. $this->_sections['files']['show'] = true;
  12. $this->_sections['files']['max'] = $this->_sections['files']['loop'];
  13. $this->_sections['files']['step'] = 1;
  14. $this->_sections['files']['start'] = $this->_sections['files']['step'] > 0 ? 0 : $this->_sections['files']['loop']-1;
  15. if ($this->_sections['files']['show']) {
  16.     $this->_sections['files']['total'] = $this->_sections['files']['loop'];
  17.     if ($this->_sections['files']['total'] == 0)
  18.         $this->_sections['files']['show'] = false;
  19. } else
  20.     $this->_sections['files']['total'] = 0;
  21. if ($this->_sections['files']['show']):
  22.  
  23.  
  24.             for ($this->_sections['files']['index'] = $this->_sections['files']['start'], $this->_sections['files']['iteration'] = 1;
  25.  
  26.                  $this->_sections['files']['iteration'] <= $this->_sections['files']['total'];
  27.  
  28.                  $this->_sections['files']['index'] += $this->_sections['files']['step'], $this->_sections['files']['iteration']++):
  29. $this->_sections['files']['rownum'] = $this->_sections['files']['iteration'];
  30. $this->_sections['files']['index_prev'] = $this->_sections['files']['index'] - $this->_sections['files']['step'];
  31. $this->_sections['files']['index_next'] = $this->_sections['files']['index'] + $this->_sections['files']['step'];
  32. $this->_sections['files']['first']      = ($this->_sections['files']['iteration'] == 1);
  33. $this->_sections['files']['last']       = ($this->_sections['files']['iteration'] == $this->_sections['files']['total']);
  34. ?>
  35. <a href="#<?php echo $this->_tpl_vars['files'][$this->_sections['files']['index']]['file']; ?>
  36. "><?php echo $this->_tpl_vars['files'][$this->_sections['files']['index']]['file']; ?>
  37. </a><br>
  38. <?php endfor; endif; ?>
  39. <?php if (count((array)$this->_tpl_vars['all'])):
  40.     foreach ((array)$this->_tpl_vars['all'] as $this->_tpl_vars['file'] => $this->_tpl_vars['issues']):
  41. ?>
  42. <a name="<?php echo $this->_tpl_vars['file']; ?>
  43. "></a>
  44. <h1><?php echo $this->_tpl_vars['file']; ?>
  45. </h1>
  46. <?php if (count ( $this->_tpl_vars['issues']['warnings'] )): ?>
  47. <h2>Warnings:</h2><br>
  48. <?php if (isset($this->_sections['warnings'])) unset($this->_sections['warnings']);
  49. $this->_sections['warnings']['name'] = 'warnings';
  50. $this->_sections['warnings']['loop'] = is_array($this->_tpl_vars['issues']['warnings']) ? count($this->_tpl_vars['issues']['warnings']) : max(0, (int)$this->_tpl_vars['issues']['warnings']);
  51. $this->_sections['warnings']['show'] = true;
  52. $this->_sections['warnings']['max'] = $this->_sections['warnings']['loop'];
  53. $this->_sections['warnings']['step'] = 1;
  54. $this->_sections['warnings']['start'] = $this->_sections['warnings']['step'] > 0 ? 0 : $this->_sections['warnings']['loop']-1;
  55. if ($this->_sections['warnings']['show']) {
  56.     $this->_sections['warnings']['total'] = $this->_sections['warnings']['loop'];
  57.     if ($this->_sections['warnings']['total'] == 0)
  58.         $this->_sections['warnings']['show'] = false;
  59. } else
  60.     $this->_sections['warnings']['total'] = 0;
  61. if ($this->_sections['warnings']['show']):
  62.  
  63.  
  64.             for ($this->_sections['warnings']['index'] = $this->_sections['warnings']['start'], $this->_sections['warnings']['iteration'] = 1;
  65.  
  66.                  $this->_sections['warnings']['iteration'] <= $this->_sections['warnings']['total'];
  67.  
  68.                  $this->_sections['warnings']['index'] += $this->_sections['warnings']['step'], $this->_sections['warnings']['iteration']++):
  69. $this->_sections['warnings']['rownum'] = $this->_sections['warnings']['iteration'];
  70. $this->_sections['warnings']['index_prev'] = $this->_sections['warnings']['index'] - $this->_sections['warnings']['step'];
  71. $this->_sections['warnings']['index_next'] = $this->_sections['warnings']['index'] + $this->_sections['warnings']['step'];
  72. $this->_sections['warnings']['first']      = ($this->_sections['warnings']['iteration'] == 1);
  73. $this->_sections['warnings']['last']       = ($this->_sections['warnings']['iteration'] == $this->_sections['warnings']['total']);
  74. ?>
  75. <b><?php echo $this->_tpl_vars['issues']['warnings'][$this->_sections['warnings']['index']]['name']; ?>
  76. </b> - <?php echo $this->_tpl_vars['issues']['warnings'][$this->_sections['warnings']['index']]['listing']; ?>
  77. <br>
  78. <?php endfor; endif; ?>
  79. <?php endif; ?>
  80. <?php if (count ( $this->_tpl_vars['issues']['errors'] )): ?>
  81. <h2>Errors:</h2><br>
  82. <?php if (isset($this->_sections['errors'])) unset($this->_sections['errors']);
  83. $this->_sections['errors']['name'] = 'errors';
  84. $this->_sections['errors']['loop'] = is_array($this->_tpl_vars['issues']['errors']) ? count($this->_tpl_vars['issues']['errors']) : max(0, (int)$this->_tpl_vars['issues']['errors']);
  85. $this->_sections['errors']['show'] = true;
  86. $this->_sections['errors']['max'] = $this->_sections['errors']['loop'];
  87. $this->_sections['errors']['step'] = 1;
  88. $this->_sections['errors']['start'] = $this->_sections['errors']['step'] > 0 ? 0 : $this->_sections['errors']['loop']-1;
  89. if ($this->_sections['errors']['show']) {
  90.     $this->_sections['errors']['total'] = $this->_sections['errors']['loop'];
  91.     if ($this->_sections['errors']['total'] == 0)
  92.         $this->_sections['errors']['show'] = false;
  93. } else
  94.     $this->_sections['errors']['total'] = 0;
  95. if ($this->_sections['errors']['show']):
  96.  
  97.  
  98.             for ($this->_sections['errors']['index'] = $this->_sections['errors']['start'], $this->_sections['errors']['iteration'] = 1;
  99.  
  100.                  $this->_sections['errors']['iteration'] <= $this->_sections['errors']['total'];
  101.  
  102.                  $this->_sections['errors']['index'] += $this->_sections['errors']['step'], $this->_sections['errors']['iteration']++):
  103. $this->_sections['errors']['rownum'] = $this->_sections['errors']['iteration'];
  104. $this->_sections['errors']['index_prev'] = $this->_sections['errors']['index'] - $this->_sections['errors']['step'];
  105. $this->_sections['errors']['index_next'] = $this->_sections['errors']['index'] + $this->_sections['errors']['step'];
  106. $this->_sections['errors']['first']      = ($this->_sections['errors']['iteration'] == 1);
  107. $this->_sections['errors']['last']       = ($this->_sections['errors']['iteration'] == $this->_sections['errors']['total']);
  108. ?>
  109. <b><?php echo $this->_tpl_vars['issues']['errors'][$this->_sections['errors']['index']]['name']; ?>
  110. </b> - <?php echo $this->_tpl_vars['issues']['errors'][$this->_sections['errors']['index']]['listing']; ?>
  111. <br>
  112. <?php endfor; endif; ?>
  113. <?php endif; ?>
  114. <?php endforeach; endif; ?>
  115. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  116. $this->_smarty_include("footer.tpl", array());
  117. $this->_tpl_vars = $_smarty_tpl_vars;
  118. unset($_smarty_tpl_vars);
  119.  ?>