Line | |
---|
1 | <%@Language="JScript"%>
|
---|
2 | <%
|
---|
3 | geoLocations = new ActiveXObject("AlaxInfo.MaxMindGeoLite.LazyLocations");
|
---|
4 | //geoLocation = geoLocations.Item("alax.info");
|
---|
5 | geoLocation = geoLocations.Item("80.92.234.64");
|
---|
6 | %>
|
---|
7 | <html>
|
---|
8 | <head>
|
---|
9 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
---|
10 | <title>Alax.Info - MaxMind - Geolocation</title>
|
---|
11 | </head>
|
---|
12 | <style>
|
---|
13 | </style>
|
---|
14 | <body>
|
---|
15 | <h1>Status</h1>
|
---|
16 | <ul>
|
---|
17 | <% if(geoLocations != null) { %>
|
---|
18 | <li>geoLocations: not null</li>
|
---|
19 | <li>geoLocations.Initialized: <% =geoLocations.Initialized %></li>
|
---|
20 | <% if(geoLocation != null) { %>
|
---|
21 | <li>geoLocation: not null</li>
|
---|
22 | <li>geoLocation.City: <% =geoLocation.City %></li>
|
---|
23 | <% } else { %>
|
---|
24 | <li>geoLocation: null</li>
|
---|
25 | <% } %>
|
---|
26 | <% } else { %>
|
---|
27 | <li>geoLocations: null</li>
|
---|
28 | <% } %>
|
---|
29 | </ul>
|
---|
30 | </body>
|
---|
31 | </html>
|
---|
Note: See
TracBrowser
for help on using the repository browser.