| 2 |
rsolanki |
1 |
<%
|
|
|
2 |
'===================================================================
|
|
|
3 |
' Computer Common
|
|
|
4 |
'===================================================================
|
|
|
5 |
%>
|
|
|
6 |
<!--#include file="../class/classTemplateManager.asp"-->
|
|
|
7 |
<!--#include file="../class/classTabControl.asp"-->
|
|
|
8 |
<!--#include file="../class/classActionButtonControl.asp"-->
|
|
|
9 |
<%
|
|
|
10 |
'------------ VARIABLE DEFINITION -------------
|
|
|
11 |
Dim parClient_ip
|
|
|
12 |
Dim objComputerCollector
|
|
|
13 |
Dim objBtnControl
|
|
|
14 |
Dim aTabBtnsDef
|
|
|
15 |
'------------ CONSTANTS DECLARATION -----------
|
|
|
16 |
Const PARENT_TITLE = "Computers"
|
|
|
17 |
Const LIMG_COMPUTERS = "<img src='images/i_computer.gif' width='11' height='16' hspace='2' border='0' align='absmiddle'>"
|
|
|
18 |
Const LIMG_COMPUTERS_LRG = "<img src='images/i_computer_lrg.gif' width='18' height='18' hspace='2' border='0' align='absmiddle'>"
|
|
|
19 |
'------------ VARIABLE INIT -------------------
|
|
|
20 |
parClient_ip = Request("client_ip")
|
|
|
21 |
Set objComputerCollector = CreateObject("Scripting.Dictionary")
|
|
|
22 |
Set objBtnControl = New ActionButtonControl
|
|
|
23 |
'------------ CONDITIONS ----------------------
|
|
|
24 |
'----------------------------------------------
|
|
|
25 |
%>
|
|
|
26 |
<%
|
|
|
27 |
'------------ RUN BEFORE PAGE RENDER ----------
|
|
|
28 |
objPMod.PersistInQryString ("client_ip")
|
|
|
29 |
objPMod.PersistInQryString ("tree")
|
|
|
30 |
'----------------------------------------------
|
|
|
31 |
%>
|
|
|
32 |
<%
|
|
|
33 |
'-----------------------------------------------------------------------------------------------------------------
|
|
|
34 |
Sub GetComputerDetails ( sClient_ip, ByRef outobjDetails )
|
|
|
35 |
outobjDetails.Item ("client_ip") = sClient_ip
|
|
|
36 |
End Sub
|
|
|
37 |
'-----------------------------------------------------------------------------------------------------------------
|
|
|
38 |
Sub RenderTitle ( objCollector )
|
|
|
39 |
Response.write LIMG_COMPUTERS_LRG &"<b>"& objCollector.Item("client_ip") &"</b>"
|
|
|
40 |
|
|
|
41 |
End Sub
|
|
|
42 |
'-----------------------------------------------------------------------------------------------------------------
|
|
|
43 |
%>
|