Jeg har købt et domain gennem
www.b-one.dk og som du skriver det, så kommer jeg i tanke om, at det måske er der fejlen forekommer, men vil meget gerne have din hjælp...er ikke hardcore til dette.
Koden for hele denne side er:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xxx</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<link href="ego.css" rel="stylesheet" type="text/css">
</head>
<body class="broedtxt">
<table width="781" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="1" height="305"><div align="right"><img src="grafik/kant.jpg" width="1" height="305"></div></td>
<td width="80"> <p class="broedtxt"><img src="grafik/trans.gif" width="80" height="6"></p></div>
</td>
<td width="252" valign="top" class="broedtxt"><p align="center"><img src="grafik/harry_larry.gif" width="191" height="179"></p>
<p align="center"><span class="countdownwatch">Klub Knudberg <br>
tæller dagene til<br>
<font color="#FF0000">Pubcrawl den 8. oktober 2005</font><br>
</span>
<SCRIPT LANGUAGE="JAVASCRIPT">
today = new Date();
BigDay = new Date("October 8, 2005")
msPerDay = 24 * 60 * 60 * 1000 ;
timeLeft = (BigDay.getTime() - today.getTime());
e_daysLeft = timeLeft / msPerDay;
daysLeft = Math.floor(e_daysLeft);
e_hrsLeft = (e_daysLeft - daysLeft)*24;
hrsLeft = Math.floor(e_hrsLeft);
minsLeft = Math.floor((e_hrsLeft - hrsLeft)*60);
document.write("" + daysLeft + " days " + hrsLeft +" hours and " + minsLeft + " minutes<P>");
</SCRIPT>
<br>
</p>
<td width="446" valign="top" class="broedtxt"><style>
BODY { SCROLLBAR-FACE-COLOR: #DFDFDF;
SCROLLBAR-HIGHLIGHT-COLOR: #F5F5F5;
SCROLLBAR-SHADOW-COLOR: #999999;
SCROLLBAR-3DLIGHT-COLOR: #DFDFDF;
SCROLLBAR-ARROW-COLOR: #999999;
SCROLLBAR-TRACK-COLOR: #DFDFDF;
SCROLLBAR-DARKSHADOW-COLOR: #ffffff
}
</style>
<div style="position:absolut; overflow: auto; height=305">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><%
' Databaseforbindelse - husk at angive sti til din database
Set Conn = Server.CreateObject("ADODB.Connection")
DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; "
DSN = DSN & "DBQ=" & Server.MapPath ("../www/users.mdb")
Conn.Open DSN
' SQL forespørgsel
strSQL = "Select * from home order by ID desc"
' Udfør forespørgsel (objRec indeholder nu resultatet)
Set objRec = Conn.Execute(strSQL)
do while not objRec.eof
comment = Replace(objrec("text"), vbCrLf, "<BR>")
response.write "<table border=""0"" bordercolor=""#666666"" width=""453"" cellpadding=""0"" cellspacing=""0""><tr><td bordercolor=""#cccccc"">"
response.write "<table width=""405"" align=""left"" cellpadding=""3"" cellspacing=""0""><tr class=""broedtxt""><td background=""system/td_back.gif"">"
response.write "<span class=""overskrifter"">" & objrec("nick") & "</span>"
response.write "</td><td align=""right"" background=""system/td_back.gif"">"
response.write "</td></tr>"
response.write "<tr><td colspan=""2"">"
response.write "<table class=""broedtxt"" cellpadding=""0"" cellspacing=""0"" width=""100%""><tr><td>"
response.write comment
response.write "</td></tr></table>"
response.write "</td></tr>"
response.write "</table>"
response.write "</td></tr></table><br>"
objRec.movenext
loop
' Luk databaseforbindelse
Conn.Close
Set Conn = Nothing
%> </td>
</tr>
</table>
</div>
<td width="2" height="305"><img src="grafik/kant.jpg" width="1" height="305"></td>
</tr>
<tr>
<td colspan="5"><img src="grafik/bottom_grafik.jpg" width="780" height="70"></td>
</tr>
</table>
<p>
<map name="Image1Map">
<area shape="rect" coords="3,1,110,28" href="#">
</map>
<map name="Image2Map">
<area shape="rect" coords="3,1,114,28" href="#">
</map>
</p>
</body>
</html>