PHP Classes

File: libs/Exel/PHPExcel/Shared/JAMA/docs/package.php

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Exel/PHPExcel/Shared/JAMA/docs/package.php   Download  
File: libs/Exel/PHPExcel/Shared/JAMA/docs/package.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 746 bytes
 

Contents

Class file image Download
<?php
include_once "includes/header.php";
include_once
"includes/navbar.php";
?>
<p>
Source Listing:
</p>
<ul>
  <?php
  chdir
("../");
 
$files = glob("*.php");
 
$files = array_merge($files, glob("util/*.php"));
  foreach (
$files as $fileName) {
   
?>
<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>
    <?php
 
}
 
?>
</ul>
<?php
if( isset($_REQUEST['view']) ) {
   
$hash = $_REQUEST['view'];
   
$n = array_search($hash, array_map(sha1, $files));
   
$fileName = $files[$n];
 
?>
<hr />
    Viewing: <?php echo $fileName;?>
    <hr />
    <?php
    highlight_file
($fileName);
   
?>
<hr />
<?php
}
include_once
"includes/footer.php";
?>