<%! /* */ /* */ %> <% string browser; string hbuf[]; int i, count; boolean is_admin; is_admin = __icm_get_system_property ("is_admin"); browser = __icm_get_browser_type(); count = __icm_get_hbuf (hbuf); %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel=stylesheet type="text/css" href="../public/css/controls_<%=browser%>.css"> <link rel=stylesheet type="text/css" href="../public/css/sapbsp.css"> <title>ICM Statistic</title> </head> <body class="sapBdy"> <table border=0 cellspacing=1 cellpadding=0 class="sapTbvAlt" width="90%"> <tr> <td class="sapTbvCellAlt" colspan="1"><i><b>Hostname Buffer</b></i></td> <td class="sapTbvCellAlt" align="right"> <% if (is_admin) { %> <a href="./confirm.icp?what=reset_hbuf" class="sapBtnStd"> <nobr>Reset Buffer</nobr></a> <% } else __output (" "); %> <a href="javascript:location.reload()" class="sapBtnEmph" title="refresh page"><nobr>Refresh</nobr></a> </td> </tr> <% i = 0; for (i = 0; i < count; i++) { %> <tr> <td class="sapTbvCellAlt" colspan="3"><%=hbuf[i]%></td> </tr> <% } %> </table> </body> </html>