<tmpl_include name="inc.head.tmpl">
<tmpl_include name="inc.titleBar.tmpl">
<div id="content">
	<tmpl_if name="type" value="all">
		<tmpl_include name="inc.serverStats.all.tmpl">
	<tmpl_elseif name="type" value="drivespace">
		<tmpl_include name="inc.serverStats.drivespace.tmpl">
	<tmpl_elseif name="type" value="who">
		<tmpl_include name="inc.serverStats.who.tmpl">
	<tmpl_elseif name="type" value="ps">
		<tmpl_include name="inc.serverStats.ps.tmpl">
	<tmpl_elseif name="type" value="netstat">
		<tmpl_include name="inc.serverStats.netstat.tmpl">
	<tmpl_elseif name="type" value="xfer">
		<tmpl_include name="inc.serverStats.xfer.tmpl">
	</tmpl_if>
	<tmpl_include name="inc.subfoot.tmpl">
</div>
<div id="stats">
	<form name="typeSelector" action="index.php?iid=serverStats" method="post">
		<div id="drivespaceTitle">
			<a class="mainMenu" href="javascript:slider('statsDrivespace','toggle')">Type</a>
		</div>
		<div id="statsDrivespace">
			<div id="statsDiskspaceBar2">
				<select name="type" onChange="javascript:submit();">
					<tmpl_loop name="type_list">
						<option value="<tmpl_var name="name">" <tmpl_if name="selected">selected</tmpl_if>><tmpl_var name="name"></option>
					</tmpl_loop>
				</select>
			</div>
			<div class="serverStatsBottom">
				<span id="diskspace"><input type="submit" value="Change Type"></span>
			</div>
		</div>
	</form>
</div>
</body>
</html>