Location: PHPKode > scripts > Phptempt > phptempt/list_dir.tpl
<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>
Return current item: Phptempt