html fejl hjælp mig lige
jeg er ret ny i web og har prob. med denne side den viser hjælp er der nogen der kan hjælpe mig<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/minConn.asp" -->
<%
set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_minConn_STRING
Recordset1.Source = "SELECT * FROM haber ORDER BY tarih DESC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Dim Repeat1__numRows
Repeat1__numRows = 3
Dim Repeat1__index
Repeat1__index = 0
Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
%>
<%
' *** Validate request to log in to this site.
MM_LoginAction = Request.ServerVariables("URL")
If Request.QueryString<>"" Then MM_LoginAction = MM_LoginAction + "?" + Request.QueryString
MM_valUsername=CStr(Request.Form("navn"))
If MM_valUsername <> "" Then
MM_fldUserAuthorization=""
MM_redirectLoginSuccess="secenek.htm"
MM_redirectLoginFailed="logind.asp"
MM_flag="ADODB.Recordset"
set MM_rsUser = Server.CreateObject(MM_flag)
MM_rsUser.ActiveConnection = MM_minConn_STRING
MM_rsUser.Source = "SELECT brugernavn, pasord"
If MM_fldUserAuthorization <> "" Then MM_rsUser.Source = MM_rsUser.Source & "," & MM_fldUserAuthorization
MM_rsUser.Source = MM_rsUser.Source & " FROM admin WHERE brugernavn='" & MM_valUsername &"' AND pasord='" & CStr(Request.Form("pasord")) & "'"
MM_rsUser.CursorType = 0
MM_rsUser.CursorLocation = 2
MM_rsUser.LockType = 3
MM_rsUser.Open
If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
' username and password match - this is a valid user
Session("MM_Username") = MM_valUsername
If (MM_fldUserAuthorization <> "") Then
Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
Else
Session("MM_UserAuthorization") = ""
End If
if CStr(Request.QueryString("accessdenied")) <> "" And false Then
MM_redirectLoginSuccess = Request.QueryString("accessdenied")
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginSuccess)
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginFailed)
End If
%>
<html>
<head>
<title>123</title>
<link rel="stylesheet" href="css/body1.css" type="text/css">
<link rel="stylesheet" href="css/scroll.css" type="text/css">
</head>
<body scroll="yes" leftmargin="0" rightmargin="0" topmargin="0" class="body" onLoad="start()">
<table width="100%" height="100%" border="0" bgcolor="319ACE">
<tr>
<td align="center" valign="top">
<table border="0" width="784" height="100%" cellpadding="0" cellspacing="0" bgcolor="ffffff" bordercolor="cccccc">
<tr>
<!--venstre -->
<td align="center" valign="top">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="95%" border="0" cellspacing="0" cellpadding="0" height="95%">
<tr>
<td align="center" valign="top">
</td>
</tr>
</table>
</td>
<!-- center-->
<!--hojre -->
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
<%
Recordset1.Close()
%>