Location: PHPKode > projects > @1 File Store > templates/pf.tpl
{include file=header.tpl}
<h1>{$lang.pending_files}</h1>
{if $sub_folders && count($sub_folders)}
<table border="1" cellpadding="2" style="border-collapse: collapse" bordercolor="#E8E8E8">
{foreach item="sfolder" from=$sub_folders}
<tr>
<td><img src="css/folder.gif" width=16 height=16> <a href="folder.php?id={$sfolder.id}">{$sfolder.folder_name}</a></td>
<td>{$sfolder.folder_desc}</td>
</tr>
{/foreach}
</table>
<br>
{/if}
{if $PAGES && count($PAGES.pages)>0}
<p>Pages:{include file="pages.tpl" pages="`$PAGES`"}</p>
{/if}
<table class="data">
<tr>
<td><b>{$lang.date_added}</b></td>
<td><b>{$lang.file_description}</b></td>
<td><b>{$lang.file_size}</b></td>
<td><b>{$lang.uploaded_by}</b></td>
<td><b>{$lang.file_type}</b></td>
{if $IsAdmin}
<td><b>{$lang.confirm}</b></td>
<td colspan="3"><b>{$lang.action}</b></td>
<td><b>{$lang.location}</b></td>
{/if}
</tr>
{foreach item="file" from=$filelist}
<tr>
<td>{$file.dateadd|date_format:"%Y-%m-%d"}</td>
<td>{$file.descript}</td>
{if $file.filesize < 1024}
<td>{$file.filesize|string_format:"%d"} {$lang.bytes}</td>
{/if}
{if $file.filesize > 1024 & $file.filesize < 1048576}
<td>{$file.filesize/1024|string_format:"%.2f"} {$lang.kb}</td>
{/if}
{if $file.filesize > 1048576}
<td>{$file.filesize/1048576|string_format:"%.2f"} {$lang.mb}</td>
{/if}
<td>{$file.real_name} <font color=gray>[{$file.login}]</font></td>
<td>{$file.file_type}</td>
<td>
{if $file.confirm=='Y'}
Y
{else}
<a href="confirm.php?id={$file.id}&folder={$file.folder_id}&frm=pending">{$lang.confirm}</a>
{/if}
</td>
<td align="center"><a href="control/files/edit.php?id={$file.id}&folder={$file.folder_id}&frm=pending" title="{$lang.edit_file}"><img src="css/b_edit.gif" border=0></a></td>
<td align="center"><a href="control/files/delete.php?id={$file.id}&folder={$file.folder_id}&frm=pending" title="{$lang.delete_file}"><img src="css/b_delete.gif" border=0</a></td>
<td align="center">
<a href="movef.php?id={$file.id}&folder={$file.folder_id}&frm=pending" title="{$lang.move_file}"><img src="css/b_move.gif" border=0></a>
</td>
<td>{$file.loc}</td>
</tr>
{/foreach}
</table>
<p><a href="pf.php?confirmall=yes">{$lang.confirm_all}</a><p>
{include file=footer.tpl}
Return current item: @1 File Store