summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-am/index.phtml
blob: a83cfba3810550493664d2f8d8c1219cc44a3e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head>
<html> 
<head> 
        <title>my LaTeX pages</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#aa0000" alink="#ff3300" vlink="#330099">
	<hr noshade="noshade">
	<h1>pst-am by Manuel Luque and Herbert Vo&szlig;</h1>
<!--
<h4> All the files have a <strong>Beta-Status</strong>! For a stable version look at <a href="ftp://ftp.dante
.de/pub/tex/graphics/pstricks/contrib/pst-3dplot/">CTAN</a></h4>
-->
	<hr noshade="noshade">
	<div class=text> 
<? 
$cdir = dir("./"); 

$entries=array();
while ($entry = $cdir->read()) 
	$entries[] = $entry;

echo "Files in this directory:"; 
echo "	<hr noshade=\"noshade\">"; 
echo "<table>";

asort($entries);
reset($entries);

//foreach($entries as $entry) {
while (list(, $entry) = each($entries)) {
//   if (!is_dir($entry) && ($entry != "index.phtml") && ($entry != ".htaccess")) {
   if (($entry != ".") && ($entry != "index.phtml") && ($entry != ".htaccess")) {
    echo "<tr>";
      echo "<td><a href=\"$entry\">$entry</a></td>"; 
      if (is_dir($entry))
        echo "<td>&lt;Dir&gt;</td>";
      else
        echo "<td></td>";
      echo "<td align=\"right\">&nbsp;".filesize($entry)." Byte&nbsp;</td>"; 
      echo "<td align=\"right\">&nbsp;".date("D, j F Y, H:i:s",filemtime($entry))."&nbsp;</td>"; 
      echo "</tr>";
   } 
}
echo "</table>";

?> 
<hr noshade="noshade">
Page last updated on <?php echo date("d.m.Y", getlastmod() ); ?>
</p>
</div> 
<hr>
<?
if (file_exists("README")) {
	$fp = fopen("README","r");
	echo "<pre>";
	while ($line=fgets($fp,1000)) {
		echo "$line";
	}
	echo "</pre>";
	fclose($fp);
}
?>
</body> 
</html>