If LCase(Session("uName")) = "admin" Then If Request.Cookies("user") <> "" Then Session("loggedIn") = "Yes" Session("uName") = Request.Cookies("user") End If %> <html>
<head> <title>Home</title> <script language="JavaScript" type="text/javascript"> na = navigator.appName != "Microsoft Internet Explorer" nu = navigator.userAgent.toLowerCase(); op = (nu.indexOf("opera") != -1); isIE5 = !na && !op && document.getElementById
function openwin(wid, ht, loc, r) { if (isIE5) { var w = wid; var h = ht var lp = (screen.width) ? (screen.width-w)/2 : 0; var tp = (screen.height) ? (screen.height-h)/2 : 0; var attrs = 'height=' + h + ',width=' + w + ',top=' + tp + ',left=' + lp + ', resizable=' + r + ', toolbar=no'; window.open(loc, "", attrs) } else { warnNonIE() } }
function warnNonIE() { if (!(isIE5)) { alert("Sorry, this application will only work in Microsoft Internet Explorer 5 or above") } } </script> </head>
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.