PHPExcel
[ class tree: PHPExcel ] [ index: PHPExcel ] [ all elements ]

Source for file package.php

Documentation is available at package.php

  1. <?php
  2. include_once "includes/header.php";
  3. include_once "includes/navbar.php";
  4. ?>
  5. <p>
  6. Source Listing:
  7. </p>
  8. <ul>
  9.   <?php
  10.   chdir("../");
  11.   $files glob("*.php");
  12.   $files array_merge($filesglob("util/*.php"));
  13.   foreach ($files as $fileName{
  14.     ?>
  15.       <li><a href="package.php?view=<?php echo sha1($fileName);?>"><?php echo $fileName;?></a>&nbsp;-&nbsp;<?php echo date ("F d Y - g:i a"filemtime($fileName));?></li>
  16.     <?php
  17.   }
  18.   ?>
  19. </ul>
  20. <?php
  21. ifisset($_REQUEST['view']) ) {
  22.     $hash $_REQUEST['view'];
  23.     $n array_search($hasharray_map(sha1$files));
  24.     $fileName $files[$n];
  25.   ?>
  26.   <hr />  
  27.     Viewing: <?php echo $fileName;?>    
  28.     <hr />
  29.     <?php
  30.     highlight_file($fileName);
  31.     ?>
  32.     <hr />
  33. <?php
  34. }
  35. include_once "includes/footer.php";    
  36. ?>

Documentation generated on Sat, 19 May 2012 14:38:11 +0200 by phpDocumentor 1.4.4