login.asp
上传用户:shbosideng
上传日期:2013-05-04
资源大小:1555k
文件大小:8k
源码类别:

SNMP编程

开发平台:

C/C++

  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.   Set fs = CreateObject("Scripting.FileSystemObject")           ' FileSystemObject to copy graphs
  10.   fs.CopyFile "c:mrtgtargets" & LineNumber & "-*.gif", "c:InetPubmonitor.sunnyline.co.zaimagesmrtg"
  11. %>
  12. <html>
  13. <head>
  14. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  15. <meta http-equiv="Cache-Control" content="No Cache">
  16. <meta http-equiv="Pragma" content="No Cache">
  17. <meta http-equiv="Expires" content="0">
  18. <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
  19. <meta name="ProgId" content="FrontPage.Editor.Document">
  20. <link rel="StyleSheet" href="global/main.css" type="text/css">
  21. <style type="text/css">
  22. <!--
  23. a:link       { color: #003399 }
  24. a:visited    { color: #003399 }
  25. a:hover      { color: red }
  26. -->
  27. </style>
  28. </head>
  29. <body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onload="Clock()">
  30. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  31.  <tr>
  32.   <td valign="top">
  33.   <table border="0" cellpadding="0" cellspacing="0" width="100%">
  34.    <tr>
  35.     <td valign="top" align="left"><font size="1"><img src="images/spacer.gif" width="53" height="22" alt></font></td>
  36.     <td valign="top" align="left" width="100%">
  37.     <p class="HEADING"><span class="HEADING">Bandwidth Statistics For Circuit Number: <%= LineNumber %></span></td>
  38.    </tr>
  39.    <tr>
  40.     <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
  41.     of Monitor</a><img border="0" src="images/spacer.gif" width="25" height="19"><a href="/config.asp">Configure Monitor</a></font></td>
  42.    </tr>
  43.   </table>
  44.   <hr>
  45.   <div align="left">
  46.    <table border="0" cellpadding="2" cellspacing="0">
  47.     <tr>
  48.      <td valign="top" align="left"><font size="1">Circuit Number:</font></td>
  49.      <td valign="top" align="left"><font size="1"><%= LineNumber %></font></td>
  50.      <td valign="top" align="left"><font size="1"><img border="0" src="images/spacer.gif" width="10" height="10"></font></td>
  51.      <td valign="top" align="left"><font size="1">Circuit Speed:</font></td>
  52.      <td valign="top" align="left"><font size="1"><%= LineSpeed %> <i>bps</i></font></td>
  53.      <td valign="top" align="left"><font size="1"><img border="0" src="images/spacer.gif" width="10" height="10"></font></td>
  54.      <td valign="top" align="left"><font size="1">Technical Contact:</font></td>
  55.      <td><a href="mailto:<%= EMail_Address %>"><font size="1"><%= EMail_Address %></font></a></td>
  56.     </tr>
  57.     <tr>
  58.      <td colspan="8" valign="top" align="left"><font size="1">You Last Visited Monitor On: <%= LastVisit %></font></td>
  59.     </tr>
  60.    </table>
  61.   </div>
  62.   <hr>
  63.   <% If Graph_Day = True Then %>
  64.   <table border="0" cellpadding="0" cellspacing="0">
  65.    <tr>
  66.     <td valign="top">
  67.     <p class="SEARCH" align="right"><font size="1"><b>Daily Graph<br>
  68.     <img border="0" src="images/spacer.gif" height="10" width="100"></b></font></p>
  69.     </td>
  70.     <td valign="top"><font size="1"><img src="images/spacer.gif" width="10">Shows Your Bandwidth Usage Over the last&nbsp; 24 Hours</font></td>
  71.    </tr>
  72.    <tr>
  73.     <td></td>
  74.     <td><font size="1"><img src="/images/mrtg/<%= LineNumber%>-day.gif" alt="Daily Bandwidth Graph" width="380" height="130"></font></td>
  75.    </tr>
  76.   </table>
  77.   <p>&nbsp;</p>
  78.   <hr>
  79.   <% End If %>
  80.   <% If Graph_Week = True Then %>
  81.   <table border="0" cellpadding="0" cellspacing="0">
  82.    <tr>
  83.     <td valign="top">
  84.     <p class="SEARCH" align="right"><font size="1"><b>Weekly Graph<br>
  85.     <img border="0" src="images/spacer.gif" height="10" width="100"></b></font></p>
  86.     </td>
  87.     <td valign="top"><font size="1"><img src="images/spacer.gif" width="10">Shows Your Bandwidth Usage Over the Last 7 Days</font></td>
  88.    </tr>
  89.    <tr>
  90.     <td></td>
  91.     <td><font size="1"><img src="/images/mrtg/<%= LineNumber%>-week.gif" alt="Weekly Bandwidth Graph" width="380" height="130"></font></td>
  92.    </tr>
  93.   </table>
  94.   <p><font size="1"><br>
  95.   </font></p>
  96.   <hr>
  97.   <% End If %>
  98.   <% If Graph_Month = True Then %>
  99.   <table border="0" cellpadding="0" cellspacing="0">
  100.    <tr>
  101.     <td valign="top">
  102.     <p class="SEARCH" align="right"><font size="1"><b>Monthly Graph<br>
  103.     <img border="0" src="images/spacer.gif" height="10" width="100"></b></font></p>
  104.     </td>
  105.     <td valign="top"><font size="1"><img src="images/spacer.gif" width="10">Shows Your Bandwidth Usage Over The Last Month</font></td>
  106.    </tr>
  107.    <tr>
  108.     <td></td>
  109.     <td><font size="1"><img src="/images/mrtg/<%= LineNumber%>-month.gif" alt="Monthly Bandwidth Graph" width="380" height="130"></font></td>
  110.    </tr>
  111.   </table>
  112.   <p>&nbsp;</p>
  113.   <hr>
  114.   <% End If %>
  115.   <% If Graph_Year = True Then %>
  116.   <table border="0" cellpadding="0" cellspacing="0">
  117.    <tr>
  118.     <td valign="top">
  119.     <p class="SEARCH" align="right"><font size="1"><b>Yearly Graph<br>
  120.     <img border="0" src="images/spacer.gif" height="10" width="100"></b></font></p>
  121.     </td>
  122.     <td valign="top"><font size="1"><img src="images/spacer.gif" width="10">Shows Your Bandwidth Usage Over The Last Year</font></td>
  123.    </tr>
  124.    <tr>
  125.     <td></td>
  126.     <td><font size="1"><img src="/images/mrtg/<%= LineNumber%>-year.gif" alt="Yearly Bandwidth Graph" width="380" height="130"></font></td>
  127.    </tr>
  128.   </table>
  129.   <p>&nbsp;</p>
  130.   <hr>
  131.   <% End If %>
  132.   </td>
  133.  </tr>
  134. </table>
  135. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  136.  <tr>
  137.   <td>
  138.   <div align="left">
  139.    <table border="0" cellpadding="0" cellspacing="0" width="100%">
  140.     <tr>
  141.      <td colspan="2" valign="top" align="center">
  142.      <p align="center"><font size="1"><b>