--- docman.php 2000/08/03 19:35:44 1.3
+++ docman.php 2000/12/21 07:30:04 1.25
@@ -35,22 +35,14 @@
/* existent address after file modifications. */
/*
- 2000-07-25 Dobrica Pavlinusic = $text ?>= $host ?>
-
+
- = $title ?>
+
ANYPORTAL(php) Site Manager
@@ -194,7 +189,7 @@
file size: " . $fsize . " Bytes" ; + $fsize = filesize($fsPath) ; + $fmodified = date("$GLOBALS[gblDateFmt] $GLOBALS[gblTimeFmt]", filemtime($fsPath)) ; + $faccessed = date("$GLOBALS[gblDateFmt] $GLOBALS[gblTimeFmt]", fileatime($fsPath)) ; + echo "
" ; - echo "last modified: " . $fmodified . "
" ; - echo "last accessed: " . $faccessed . "
" ; - echo " owner: " . fileowner($fsPath) . "
" ; - echo " group: " . filegroup($fsPath) . "
" ; - echo " permissions: " ; - echo printf( "%o", fileperms($fsPath) ) . "" ; - echo "
file size: " . $fsize . " Bytes" ; } - if ( $editable && ($writable || !$exists) ) { + if ( $editable && ($writable || !$exists) && !$file_lock ) { $fh = fopen($fsPath,"a+") ; rewind($fh) ; $fstr = fread($fh,filesize($fsPath)) ; @@ -276,17 +272,17 @@ $fstr = htmlentities( $fstr ) ; ?> - + +
" ; + echo "last modified: " . $fmodified . "
" ; + echo "last accessed: " . $faccessed . "
" ; + echo " owner: " . fileowner($fsPath) . "
" ; + echo " group: " . filegroup($fsPath) . "
" ; + echo " permissions: " ; + echo printf( "%o", fileperms($fsPath) ) . "" ; + echo "
$line[0] | $line[1] | $line[2] | $line[3] |
$e[1] | $e[2] | $e[3] | $e[4] |
- - | |||||||||||||||||||||||||||
= $gblIcon("up") ?> | + += $parent ?> | ||||||||||||||||||||||||||
DIRECTORY NAME | |||||||||||||||||||||||||||
DIRECTORY NAME | |||||||||||||||||||||||||||
- | |||||||||||||||||||||||||||
= $gblIcon("fldr") ?> | += $tstr ?> | ||||||||||||||||||||||||||
+ = $webRoot . $relDir ?> DOCUMENT NAME |
-
+ | = $gblIcon("blank").$gblIcon("blank") ?> |
+NOTE |
LAST UPDATE | FILE SIZE |
-
- |
-
- |
- |
- | Bytes | |
+= $file_url_html ?> | += $b ?> | += $note_html ?> | += date("$GLOBALS[gblDateFmt] $GLOBALS[gblTimeFmt]",$mod) ?> | += $sz ?>Bytes | |||||||||||
+ No files in this directory + |