Code Search for Developers
 
 
  

storagearea.asp from POL-distro scripts at Krugle


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

POL-distro scripts

The default distribution of scripts for the POL server project.

Project homepage: http://sourceforge.net/projects/pol-distro
Programming language(s): ASP,Pascal
License: other

  all_scripts.asp
  bandwidth.asp
  header.inc
  index.asp
  index.htm
  iostats.asp
  long_running_scripts.asp
  npcgroup.asp
  running_scripts.asp
  script_profiles.asp
  scriptex.asp
  storage.asp
  storagearea.asp
  viewitem.asp