1<% @LANGUAGE="VBSCRIPT" %> 2<% Response.Expires = 0 %> 3<% Server.ScriptTimeout = 1200 %> 4<!-- #INCLUDE FILE="monitor.inc" --> 5<% 6 If ID = "" Then ' The Session Expired 7 Response.Redirect(NoAuthURL) 8 End If 9 10 Set fs = CreateObject("Scripting.FileSystemObject") ' FileSystemObject to copy graphs 11 12 fs.CopyFile "c:\mrtg\targets\" & LineNumber & "-*.gif", "c:\InetPub\monitor.sunnyline.co.za\images\mrtg\" 13%> 14<html> 15 16<head> 17<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 18<meta http-equiv="Cache-Control" content="No Cache"> 19<meta http-equiv="Pragma" content="No Cache"> 20<meta http-equiv="Expires" content="0"> 21<meta name="GENERATOR" content="Microsoft FrontPage 4.0"> 22<meta name="ProgId" content="FrontPage.Editor.Document"> 23<link rel="StyleSheet" href="global/main.css" type="text/css"> 24<style type="text/css"> 25<!-- 26a:link { color: #003399 } 27a:visited { color: #003399 } 28a:hover { color: red } 29--> 30</style> 31</head> 32 33<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onload="Clock()"> 34 35<table border="0" cellpadding="0" cellspacing="0" width="100%"> 36 <tr> 37 <td valign="top"> 38 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 39 <tr> 40 <td valign="top" align="left"><font size="1"><img src="images/spacer.gif" width="53" height="22" alt></font></td> 41 <td valign="top" align="left" width="100%"> 42 <p class="HEADING"><span class="HEADING">Bandwidth Statistics For Circuit Number: <%= LineNumber %></span></td> 43 </tr> 44 <tr> 45 <td valign="middle" align="left" colspan="2"><font size="1"><img border="0" src="images/spacer.gif" width="110" height="19"><a href="default.asp?mode=logout">Logout 46 of Monitor</a><img border="0" src="images/spacer.gif" width="25" height="19"><a href="/config.asp">Configure Monitor</a></font></td> 47 </tr> 48 </table> 49 <hr> 50 <div align="left"> 51 <table border="0" cellpadding="2" cellspacing="0"> 52 <tr> 53 <td valign="top" align="left"><font size="1">Circuit Number:</font></td> 54 <td valign="top" align="left"><font size="1"><%= LineNumber %></font></td> 55 <td valign="top" align="left"><font size="1"><img border="0" src="images/spacer.gif" width="10" height="10"></font></td> 56 <td valign="top" align="left"><font size="1">Circuit Speed:</font></td> 57 <td valign="top" align="left"><font size="1"><%= LineSpeed %> <i>bps</i></font></td> 58 <td valign="top" align="left"><font size="1"><img border="0" src="images/spacer.gif" width="10" height="10"></font></td> 59 <td valign="top" align="left"><font size="1">Technical Contact:</font></td> 60 <td><a href="mailto:<%= EMail_Address %>"><font size="1"><%= EMail_Address %></font></a></td> 61 </tr> 62 <tr> 63 <td colspan="8" valign="top" align="left"><font size="1">You Last Visited Monitor On: <%= LastVisit %></font></td> 64 </tr> 65 </table> 66 </div> 67 <hr> 68 <% If Graph_Day = True Then %> 69 <table border="0" cellpadding="0" cellspacing="0"> 70 <tr> 71 <td valign="top"> 72 <p class="SEARCH" align="right"><font size="1"><b>Daily Graph<br> 73 <img border="0" src="images/spacer.gif" height="10" width="100"></b></font></p> 74 </td> 75 <td valign="top"><font size="1"><img src="images/spacer.gif" width="10">Shows Your Bandwidth Usage Over the last 24 Hours</font></td> 76 </tr> 77 <tr> 78 <td></td> 79 <td><font size="1"><img src="/images/mrtg/<%= LineNumber%>-day.gif" alt="Daily Bandwidth Graph" width="380" height="130"></font></td> 80 </tr> 81 </table> 82 <p> </p> 83 <hr> 84 <% End If %> 85 <% If Graph_Week = True Then %> 86 <table border="0" cellpadding="0" cellspacing="0"> 87 <tr> 88 <td valign="top"> 89 <p class="SEARCH" align="right"><font size="1"><b>Weekly Graph<br> 90 <img border="0" src="images/spacer.gif" height="10" width="100"></b></font></p> 91 </td> 92 <td valign="top"><font size="1"><img src="images/spacer.gif" width="10">Shows Your Bandwidth Usage Over the Last 7 Days</font></td> 93 </tr> 94 <tr> 95 <td></td> 96 <td><font size="1"><img src="/images/mrtg/<%= LineNumber%>-week.gif" alt="Weekly Bandwidth Graph" width="380" height="130"></font></td> 97 </tr> 98 </table> 99 <p><font size="1"><br> 100 </font></p> 101 <hr> 102 <% End If %> 103 <% If Graph_Month = True Then %> 104 <table border="0" cellpadding="0" cellspacing="0"> 105 <tr> 106 <td valign="top"> 107 <p class="SEARCH" align="right"><font size="1"><b>Monthly Graph<br> 108 <img border="0" src="images/spacer.gif" height="10" width="100"></b></font></p> 109 </td> 110 <td valign="top"><font size="1"><img src="images/spacer.gif" width="10">Shows Your Bandwidth Usage Over The Last Month</font></td> 111 </tr> 112 <tr> 113 <td></td> 114 <td><font size="1"><img src="/images/mrtg/<%= LineNumber%>-month.gif" alt="Monthly Bandwidth Graph" width="380" height="130"></font></td> 115 </tr> 116 </table> 117 <p> </p> 118 <hr> 119 <% End If %> 120 <% If Graph_Year = True Then %> 121 <table border="0" cellpadding="0" cellspacing="0"> 122 <tr> 123 <td valign="top"> 124 <p class="SEARCH" align="right"><font size="1"><b>Yearly Graph<br> 125 <img border="0" src="images/spacer.gif" height="10" width="100"></b></font></p> 126 </td> 127 <td valign="top"><font size="1"><img src="images/spacer.gif" width="10">Shows Your Bandwidth Usage Over The Last Year</font></td> 128 </tr> 129 <tr> 130 <td></td> 131 <td><font size="1"><img src="/images/mrtg/<%= LineNumber%>-year.gif" alt="Yearly Bandwidth Graph" width="380" height="130"></font></td> 132 </tr> 133 </table> 134 <p> </p> 135 <hr> 136 <% End If %> 137 </td> 138 </tr> 139</table> 140<table border="0" cellpadding="0" cellspacing="0" width="100%"> 141 <tr> 142 <td> 143 <div align="left"> 144 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 145 <tr> 146 <td colspan="2" valign="top" align="center"> 147 <p align="center"><font size="1"><b>�2000 <a href="mailto:cgknipe@mweb.co.za">Chris Knipe</a>. All Rights Reserved.</b></font></td> 148 </tr> 149 <tr> 150 <td valign="top" align="right"><br> 151 <img border="0" src="images/msie.gif" width="88" height="31"><img border="0" src="images/msprod.gif" width="88" height="31"><img border="0" src="images/spacer.gif" width="5" height="10"></td> 152 <td width="100%" valign="top" align="left"> 153 <table border="0" cellspacing="0" cellpadding="0"> 154 <tr> 155 <td width="63"><a href="http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"><img alt border="0" src="http://monitor.internal.sunnyline.co.za/images/mrtg-l.gif" width="63" height="25"></a></td> 156 <td width="25"><a href="http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"><img alt="MRTG" border="0" src="http://monitor.internal.sunnyline.co.za/images/mrtg-m.gif" width="25" height="25"></a></td> 157 <td width="388"><a href="http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"><img alt border="0" src="http://monitor.internal.sunnyline.co.za/images/mrtg-r.gif" width="388" height="25"></a></td> 158 </tr> 159 </table> 160 <SPACER TYPE=VERTICAL SIZE=4> 161 <table border="0" cellspacing="0" cellpadding="0"> 162 <tr valign="top"> 163 <td><font face="Arial,Helvetica" size="2"><a href="http://ee-staff.ethz.ch/~oetiker">Tobias Oetiker</a> <a href="mailto:oetiker@ee.ethz.ch"><oetiker@ee.ethz.ch></a> 164 and <a href="http://www.bungi.com">Dave Rand</a> <a href="mailto:dlr@bungi.com"><dlr@bungi.com></a></font></td> 165 166 </tr> 167 </table> 168 <p> </td> 169 </tr> 170 </table> 171 </div> 172 </td> 173 </tr> 174</table> 175</body> 176</html> 177