Show storagearea.asp syntax highlighted
<%
use uo;
use polsys;
use os;
set_script_option( SCRIPTOPT_NO_RUNAWAY, 1 );
%>
<html>
<head>
<title>POL Server Performance Center</title>
</head>
<body>
<%
var areaname := QueryParam( "Area" );
var areas := StorageAreas();
var area := areas[ areaname ];
%>
<p>POL Server Performance Center</p>
<p>Storage Area: <%=area%></p>
<p>Root Items: <%=area.count%></p>
<p>Total Items: <%=area.totalcount%></p>
<table>
<tr>
<td>Item Name</td>
<td>Total Items</td>
</tr>
<%
foreach item in area
%>
<tr>
<td><a href="viewitem.ecl?Serial=<%=item.serial%>"><%=item.name%></a></td>
<td><%=item.item_count%></td>
</tr>
<%
endforeach
%>
</table>
</body>
</html>
See more files for this project here