PHP Classes

File: list_dir.tpl

Recommend this page to a friend!
  Classes of Hans Körber  >  Phptempt  >  list_dir.tpl  >  Download  
File: list_dir.tpl
Role: Auxiliary data
Content type: text/plain
Description: Template for the list_dir.php example script
Class: Phptempt
Template engine for PHP and Java
Author: By
Last change:
Date: 19 years ago
Size: 1,037 bytes
 

Contents

Class file image Download
<html>
<head>
<title>Files in directory {FOLDERNAME}</title>
</head>
<body>
<!--$ begin dirlist-->
	<table>
		<tr>
			<td>
				<IMG SRC="/icons/folder.gif" ALT="[DIR]">
			</td>
			<td>
				<b><!--$ var FOLDERNAME-->
					folder name<!--$ end FOLDERNAME--></b>
			</td>
			<td>&nbsp;</td>
		</tr>
		<!--$ begin entry-->
			<tr>
				<td>&nbsp;</td>
				<td colspan="2">
					<!--$ check NOACCESS-->
						<em>Access denied</em>
					<!--$ end NOACCESS-->
					<!--$ rec doc.dirlist-->
						<table bgcolor="#E0E0E0">
							<tr><td>Recursive area, contains
								subdirectory and file lists
							</td></tr>
						</table>
					<!--$ end doc.dirlist-->
					<!--$ begin textfile-->
						<table>
							<td>
								<img src="/icons/text.gif" alt="[FILE]">
							</td>
							<td>
								<!--$ var NAME-->
									textfile.name<!--$ end NAME-->
							</td>
						</table>
					<!--$ end textfile-->
				</td>
			</tr>
		<!--$ end entry-->
	</table>
<!--$ end dirlist-->
</body></html>
For more information send a message to info at phpclasses dot org.