1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5 <link rel=stylesheet href="css/squasher.css">
6 <title>Squasher</title>
8 <body align="center" style="min-width:1000px;">
10 <div class="container">
12 <div class="banner"> <div class="control">{if $user_level > 99}<a href="?">home</a> | <a href="?tools=access">access</a> |{/if}{if $user_level > 99} <a href="?tools=users">users</a> | <a href="?tools=logs">logs</a> |{/if} <a href="index.php?tools=logout">logout({$user_name})</a> </div></div>
14 <div class="spacer"></div>
16 <div class="menucontainer">
20 <div class="menuhead"> logs </div>
22 <div {if $logtype eq "all" }class="menuitem_selected"{else}class="menuitem"{/if} onClick="location.href='?tools=logs&logtype=all'" style="cursor:pointer" > all </div>
23 <div {if $logtype eq "delete" }class="menuitem_selected"{else}class="menuitem"{/if} onClick="location.href='?tools=logs&logtype=delete'" style="cursor:pointer" > delete </div>
24 <div {if $logtype eq "download"}class="menuitem_selected"{else}class="menuitem"{/if} onClick="location.href='?tools=logs&logtype=download'" style="cursor:pointer" > download </div>
25 <div {if $logtype eq "login" }class="menuitem_selected"{else}class="menuitem"{/if} onClick="location.href='?tools=logs&logtype=login'" style="cursor:pointer" > login </div>
26 <div {if $logtype eq "debug" }class="menuitem_selected"{else}class="menuitem"{/if} onClick="location.href='?tools=logs&logtype=debug'" style="cursor:pointer" > squasher </div>
30 <div class="clear"></div>
32 <div class="menu"></div>
34 <div class="clear"></div>
38 <div class="spacer"></div>
41 <table style="border-spacing:0;spacing:0;padding:0;width:990px;background-color:#C7F09E;">
43 <tr class="logentry_header" align="center">
44 <td width='*' colspan="5">Today</td>
47 {foreach item=entry from=$logs.today key=id}
48 <tr class="logentry_{$entry.action}" align="left">
49 <td width='160px'> {$entry.date}</td>
50 <td width='40px' > {$entry.user_name}</td>
51 <td width='120px' title="{$entry.users_from_ip}"> {$entry.ip}</td>
52 <td width='80px' > {$entry.action}</td>
53 <td width='*' title="{$entry.file|substr:10}{if $entry.ip eq 'retry'}\n : This file did not pass validation. A request was mailed to the RO to restart the upload.{/if}{if $entry.ip eq 'cleanup'}\n : This file entry was missing all chunks. This entry was removed.{/if}"> {$entry.file|substr:10:64}</td>
56 <tr style="background-color:#C7F09E;" align="center">
57 <td width='*' colspan="3"><hr></td>
58 <td width='120px'>Log is empty</td>
59 <td width='*'><hr></td>
63 <tr class="logentry_header" align="center">
64 <td width='*' colspan="5">Yesterday</td>
67 {foreach item=entry from=$logs.yesterday key=id} <tr class="logentry_{$entry.action}" align="left">
68 <td width='160px'> {$entry.date}</td>
69 <td width='40px' > {$entry.user_name}</td>
70 <td width='120px' title="{$entry.users_from_ip}"> {$entry.ip}</td>
71 <td width='80px'> {$entry.action}</td>
72 <td width='*' title="{$entry.file|substr:10}{if $entry.ip eq 'retry'}\n : This file did not pass validation. A request was mailed to the RO to restart the upload.{/if}{if $entry.ip eq 'cleanup'}\n : This file entry was missing all chunks. This entry was removed.{/if}"> {$entry.file|substr:10:64}</td>
75 <tr style="background-color:#C7F09E;" align="center">
76 <td width='*' colspan="3"><hr></td>
77 <td width='120px'>Log is empty</td>
78 <td width='*'><hr></td>
82 <tr class="logentry_header" align="center">
83 <td width='*' colspan="5">Last week</td>
86 {foreach item=entry from=$logs.lastweek key=id}
87 <tr class="logentry_{$entry.action}" align="left">
88 <td width='160px'> {$entry.date}</td>
89 <td width='40px' > {$entry.user_name}</td>
90 <td width='120px' title="{$entry.users_from_ip}"> {$entry.ip}</td>
91 <td width='80px'> {$entry.action}</td>
92 <td width='*' title="{$entry.file|substr:10}{if $entry.ip eq 'retry'}\n : This file did not pass validation. A request was mailed to the RO to restart the upload.{/if}{if $entry.ip eq 'cleanup'}\n : This file entry was missing all chunks. This entry was removed.{/if}"> {$entry.file|substr:10:64}</td>
95 <tr style="background-color:#C7F09E;" align="center">
96 <td width='*' colspan="3"><hr></td>
97 <td width='120px'>Log is empty</td>
98 <td width='*'><hr></td>
102 <tr class="logentry_header" align="center">
103 <td width='*' colspan="5">Older</td>
106 {foreach item=entry from=$logs.older key=id}
107 <tr class="logentry_{$entry.action}" align="left">
108 <td width='160px'> {$entry.date}</td>
109 <td width='40px' > {$entry.user_name}</td>
110 <td width='120px' title="{$entry.users_from_ip}"> {$entry.ip}</td>
111 <td width='80px'> {$entry.action}</td>
112 <td width='*' title="{$entry.file|substr:10}{if $entry.ip eq 'retry'}\n : This file did not pass validation. A request was mailed to the RO to restart the upload.{/if}{if $entry.ip eq 'cleanup'}\n : This file entry was missing all chunks. This entry was removed.{/if}"> {$entry.file|substr:10:64}</td>
115 <tr style="background-color:#C7F09E;" align="center">
116 <td width='*' colspan="3"><hr></td>
117 <td width='120px'>Log is empty</td>
118 <td width='*'><hr></td>
124 <div class="spacer"></div>
126 <div class="bottomimage"></div>
128 <div class="clear"></div>
130 <div class="spacer"></div>
132 <div class="footer"> </div>
135 {if $debug}{debug}{/if}