min side ser sjov ud!
Hej eksperter!Hvorfor ser min side sådan ud:
www.team-nopanic.dk/pages/situation_reports.asp
Skulle meget gerne se sådan ud:
www.team-nopanic.dk
Min kode ser sådan her ud:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<head>
<title>TN V.3.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="includes/stylesheet.css" rel="stylesheet" type="text/css">
<link href="includes/stylesheet_info.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="D7D7D7" leftmargin="40" topmargin="40" bottommargin="40">
<table border="0" cellpadding="0" cellspacing="0" class="motherboard">
<tr>
<td height="233" valign="top"><!--#include virtual="pages/includes/menu.asp"--> </td>
</tr>
<tr>
<td valign="top"><table width="100%" height="0%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="230" align="right" valign="top">
<!--#include virtual="pages/includes/infobox.asp"--></td>
<td width="20" valign="top"> </td>
<td width="536" align="right" valign="top"><br>
<table width="521" border="0" cellpadding="0" cellspacing="0" class="contenst_border">
<tr>
<td height="7" valign="top"><img src="../gfx/gif/contenst/bg_header.gif" width="521" height="7"></td>
</tr>
<tr>
<td height="361" align="center" valign="top" background="../gfx/gif/contenst/bg_middle.gif"><table width="500" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="36" valign="top"><table border="0" cellpadding="0" cellspacing="3" class="contenst_header">
<tr>
<td><strong><img src="../gfx/gif/icons/headquaters.gif" width="7" height="9"> Headquaters.</strong></td>
</tr>
<tr>
<td><img src="../gfx/gif/infobox/splitter.gif" width="100%" height="1"></td>
</tr>
</table> </td>
</tr>
</table>
<br><!--#include virtual="pages/includes/functions.asp" -->
<%
set conn = opendb()
SQL = "SELECT news.id as newsid, addeddate, addeddate, topic, body, author FROM news ORDER BY news.id DESC limit 0,4"
set RS = conn.execute(SQL)
if RS.EOF then
response.write("<font color='#cccccc'>Ingen nyheder fundet i databasen!</font>")
else
do while not RS.EOF
response.write("<table width='500' border='0' cellspacing='0' cellpadding='2' align='center'>")
response.write("<tr>")
response.write("<td colspan='2'><strong>" & RS("topic") & "</strong></td>")
response.write("</tr>")
response.write("<tr>")
response.write("<td height='1' colspan='2' background='gfx/gif/dot.gif' width='500'></td>")
response.write("</tr>")
response.write("<tr>")
response.write("<td width='500'><font color='#999999'>Skrevet d. " & formatdatetime(RS("addeddate"),2) & " kl. " & formatdatetime(RS("addeddate"),4) & "</a></font></td>")
response.write("</tr>")
response.write("<tr>")
response.write("<td><br>" & (RS("body")) & "</td>")
response.write("</tr>")
response.write("</table><br><br>")
RS.movenext
loop
end if
%></td>
</tr>
<tr>
<td height="19" valign="top"><img src="../gfx/gif/contenst/bg_bottom.gif" width="522" height="12"></td>
</tr>
</table></td>
<td width="13" valign="top"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="0%" valign="bottom"><img src="../gfx/gif/copyright.gif" width="799" height="23"></td>
</tr>
</table>
</body>
</html>
På forhånd tak