Location: PHPKode > scripts > File Display > file-display/test_FileDisplay.php
<?php

$activefolder = $HTTP_GET_VARS["activefolder"];

require_once('FileDisplayClass.inc.php');

$fileDisplay = New FileDisplay;  // initiate new object

/*
Next we can set some of the variables to alter the way that the directory
contents are presented.
This is optional.  If you choose not to set them here, the defaults from
the class will be used.  All the variables declared at the beginning of
the class with 'show' in their names can be set to true or false.
*/

$fileDisplay->showperms = true;

?>
<html>
<head>
<title>Class for displaying directories created by Greg Lane</title>
<style>
	font.theader {font-size: 11pt;  font-weight: bold; color: #FFFFFF; font-family: Arial}
	font.itemtext {font-size: 10pt; color: #990000 font-family: Arial}
</style>
</head>
<html>
<?php
$fileDisplay->showContents($activefolder);
?>
</html>

Return current item: File Display