Avatar billede BUZZDK72 Juniormester
27. august 2012 - 20:25 Der er 1 løsning

ASP - Hjælp til fotogalleri.

Hej jeg sidder og slås lidt med et lille problem.

Jeg har lavet en accessdatabase med nogle foto, som jeg gerne vil trække de fire nyeste billeder ud fra. Dette virker også fint, men de kommer frem horizontalt og ikke vertikalt som jeg gerne vil have dem til. Der kommer også en stor sort ramme i midten, den skal normalt kun fylde 1 px men fylder 5 px ved ikke lige hvad der er sket - Nogle forslag ??? min kode ser således ud ( se siden på http://www.4460.dk ).

<% @ Language=VBScript LCID=1030 %>

<!--#include file ="henvisning.asp"-->

<%Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & database

IP = Request.Servervariables("REMOTE_ADDR")
Conn.Execute("Insert Into Statistik(IP) Values('"& IP &"')")

Conn.Close
Set Conn = Nothing%>

<html>

<head>

<meta content="4460, Snertinge, Snertinge Byportal, Kalundborg, Kalundborg Kommune" name="keywords">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="Author" content="4460 - Snertinge Byportal">
<meta name="Copyright" content="4460 - Snertinge Byportal">
<meta name="Distribution" content="Global">
<meta name="Generator" content="Microsoft FrontPage 12.0">
<meta name="Microsoft Border" content="B">
<meta name="Rating" content="General">
<meta name="Revisit-after" content="1 Days">
<meta name="Robots" content="All">
<meta name="Robots" content="Index, Follow">
<meta http-equiv="Cache-Control" content="No-Store">
<meta http-equiv="Content-Language" content="da">

</head>

<title>4460 - Snertinge Byportal</title>

<link href="css/4460.css" type="text/css" rel="stylesheet">
<link rel="shortcut icon" href="foto/icon/icon.ico">

<style type="text/css">
.auto-style3 {
    text-align: left;
}
.auto-style6 {
    border-style: solid;
    border-width: 0px;
}
.auto-style7 {
    border-right: 1px solid #000000;
    FONT-WEIGHT: normal;
    FONT-SIZE: 10px;
    COLOR: #000000;
    FONT-FAMILY: Verdana;
    HEIGHT: 18px;
    border-left-style: solid;
    border-left-width: 1px;
    border-top-style: solid;
    border-top-width: 1px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}
.auto-style10 {
    border-left: 1px solid #000000;
    border-right-style: solid;
    border-right-width: 1px;
    border-top-style: solid;
    border-top-width: 1px;
    border-bottom: 1px solid #000000;
}
.auto-style11 {
    text-align: center;
}

.auto-style13 {
    border-top: 1px solid #000000;
    FONT-WEIGHT: normal;
    FONT-SIZE: 10px;
    COLOR: #000000;
    FONT-FAMILY: Verdana;
    border-left-style: solid;
    border-left-width: 1px;
    border-right-style: solid;
    border-right-width: 1px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    background-color: #C0C0C0;
}
.auto-style14 {
    border-style: solid;
    border-width: 1px;
    FONT-WEIGHT: bold;
    FONT-SIZE: 10px;
    COLOR: #000000;
    FONT-FAMILY: Verdana;
    background-color: #C0C0C0;
}

strong      { font-weight: bold; }

a {
    color: #000000;
}

.auto-style16 {
    margin-bottom: 0px;
}

.auto-style17 {
    border: 1px solid #000000;
}

.auto-style19 {
    border-style: solid;
    FONT-WEIGHT: Normal;
    FONT-SIZE: 10px;
    COLOR: #000000;
    FONT-FAMILY: Verdana;
    HEIGHT: 18px;
}

.auto-style20 {
    border: 1px solid #000000;
    text-align: center;
}

</style>

<body oncontextmenu="return false" ondragstart="return false" onselectstart="return false"></body>

<body class="baggrund">

<div align="center">

<table height="20" width="100%">
       
<tr><td>&nbsp;</td></tr>

</table>

</div>

<div align="center">

<center>

<table border="0" cellSpacing="0" cellPadding="0" height="120" width="1000">

<TBODY>

<tr><td><img src="foto/systemfoto/logo.gif" height="200" width="1007"></td></tr>

</TBODY>

</table>

</center>

</div>

<div align="center">

<center>

<table style="border-left: 0pt solid rgb(0,0,0); border-right: 0pt solid rgb(0,0,0); border-top: 1pt solid rgb(0,0,0); border-bottom: 1pt solid rgb(0,0,0)" height="20" cellSpacing="0" cellPadding="0" width="1000" align="center" border="1" bordercolor="#000000" bordercolorlight="#000000" bordercolordark="#000000" bgcolor="#C0C0C0">

<TBODY>

<tr><td style="BORDER-RIGHT: #000000 1pt solid; BORDER-TOP: #000000 1pt solid; BORDER-LEFT: #000000 1pt solid; BORDER-BOTTOM: #000000 1pt solid" vAlign="top" width="200" height="400"><table style="BORDER-RIGHT: #000000 0pt solid; BORDER-TOP: #000000 0pt solid; BORDER-LEFT: #000000 0pt solid; BORDER-BOTTOM: #000000 0pt solid" cellSpacing="0" cellPadding="0" width="200" align="left" border="0">

<TBODY>

<tr><td class="menuoverskrift" vAlign="top" align="middle" style="width: 200"><table cellSpacing="0" cellPadding="0" border="0" style="width: 200">

<TBODY>

<tr><td background="foto/systemfoto/menubar1.jpg"><table align="center" border="0" cellSpacing="0" cellPadding="0" height="30" width="200">

<TBODY>

<tr><td class="menuoverskrift" valign="middle"><p align="center">Hovedmenu</td></tr>

</TBODY>

</table>

</td>

</tr>

</TBODY>

</table>

<table align="center" border="0" cellSpacing="0" cellPadding="0" width="200">

<tr><td class="menutabel" align="left" style="height: 20">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;</a><font face="Verdana" size="1"><a href="">Test
    0</a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;</a><font face="Verdana" size="1">Test
    1<a href=""></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1">Test
    2<a href=""></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href=""></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;</a><font face="Verdana" size="1"><a href=""></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;</a><font face="Verdana" size="1"><a href=""></a></font></td></tr>

<tr><td class="menutabel" align="left" height="15"></td></tr>

<TBODY>

<tr><td background="foto/systemfoto/menubar2.jpg"><table align="center" border="0" cellSpacing="0" cellPadding="0" height="30" width="200">

<TBODY>

<tr><td class="menuoverskrift" valign="middle"><p align="center"><font face="Verdana" size="1">
    Erhverv</font></td></tr>

</TBODY>

</table>

</td>

</tr>

</TBODY>

<tr><td class="menutabel" align="left" height="15"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="http://www.csautoteknik.dk/">CS
    Autoteknik</a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="http://www.dorteb.dk/">DorteB</a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="http://www.snertingedyrehospital.dk/">Snertinge
    Dyrehospital</a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="http://www.s-mf.com/">Snertinge
    Maskinforretning</a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="fjernsupport.asp"></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="e-post.asp"></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="it-support.asp"></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="netvaerk.asp"></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="opgradering.asp"></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="raadgivning.asp"></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="telefonsupport.asp"></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="webdesign.asp"></a></font></td></tr>

<tr><td class="menutabel" align="left" height="15"></td></tr>

<tr>

<td vAlign="center" background="foto/systemfoto/menubar2.jpg" height="30"><table cellSpacing="0" cellPadding="0" width="140" align="center" border="0">

<TBODY>

<tr><td class="menuoverskrift" valign="middle"><p align="center">Kalundborg
    Kommune</td></tr>

</TBODY>

</table>

</td>

</tr>

<tr><td class="menutabel" align="left" height="15"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="16" height="16">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="http://www.kalundborg.dk/">Kalundborg Kommune</a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="16" height="16">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="http://www.snertingevand.dk/">Snertinge Vandværk</a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="datasikkerhed.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="fjernsupport.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="e-post.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="it-support.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>
   
<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="netvaerk.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="opgradering.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="raadgivning.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="telefonsupport.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="webdesign.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="15"></td></tr>

<tr>

<td vAlign="center" background="foto/systemfoto/menubar2.jpg" height="30"><table cellSpacing="0" cellPadding="0" width="140" align="center" border="0">

<TBODY>

<tr><td class="menuoverskrift" valign="middle"><p align="center">Snertinge
    Vandværk</td></tr>

</TBODY>

</table>

</td>

    </tr>
<tr><td class="menutabel" align="left" height="15"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="http://www.kalundborg.dk/">Kalundborg
    Kommune</a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="backup.asp"></a></font></td></tr>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="datasikkerhed.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="fjernsupport.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="e-post.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="it-support.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>
   
<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="netvaerk.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="opgradering.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="raadgivning.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="telefonsupport.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5">&nbsp;&nbsp;<img src="foto/systemfoto/boks.gif" width="8" height="8">&nbsp;&nbsp;<font face="Verdana" size="1"><a href="webdesign.asp"></a></font></td></tr>
   
<tr><td class="menutabel" align="left" height="15"></td></tr>

</table>

</td>

</tr>

</table>

</td>

<td bgColor="#F7F7F7" height="5" vAlign="top" width="600"><table align="center" bgcolor="#F7F7F7" border="0" cellSpacing="0" cellPadding="0" width="600">

<TBODY>

<tr><td class="baggrundsuge" align="left" style="width: 300; height: 18;">&nbsp;&nbsp;&nbsp;<!--#include file ="uge.asp"--></td>

<td class="baggrundsdato" align="right" width="300" style="height: 18"><b><!--#include file ="ur.asp"--></b>
&nbsp;</td></tr>

<td colspan="3" height="1000" valign="top"><div align="center"><center>
    <table bordercolor="#000000" style="width: 600">

<tr><td class="auto-style19" style="height: 18; width: 600;">

<p align="center" style="width: 600px; height: 0px" class="auto-style16">

</p>

<%
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath ("../database/flagdage.mdb")
strSQL = "Select Top 1 * From Flagdage Where Dato=Date() Order By ID Desc"
Set RS = Conn.Execute(strSQL)
%>

<div align="center"><div>
    <table align="center" class="auto-style17" style="width: 580; ">

<%If RS.EOF Then%>

<%Else%>
   
<tr><td class="baggrundsflagdag" style="height: 20">&nbsp;*&nbsp;<b>Dagens begivenheder *&nbsp;&nbsp;<img src="foto/flag/<%=RS("Foto")%>" height="8" width="10">&nbsp;<%=RS("Tekst")%></b></td></tr>

</table>

<%End If%>

<% RS.Close
Set RS = Nothing %>
   
<br>

<%
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath ("../database/portal.mdb")
strSQL = "Select Top 2 * From Forside Order By ID Desc"

Set RS = Conn.Execute(strSQL)
%>


   
<table style="width: 580">

        <tr>
            <td class="auto-style17">&nbsp;Dating: Nyeste kvindelige profiler&nbsp;</td>
        </tr>
    </table>
   
<% Do While Not rs.EOF %>

    <br>

    <table cellspacing="10" style="width: 145; height: 145;">

        <tr>
            <td class="auto-style20" style="width: 145; height: 145"><img src="foto/forsidefoto/<%=RS("Foto")%>" border="0">&nbsp;</td>
        </tr>
    </table>
   

   
<%
RS.MoveNext
Loop
Conn.Close
Set Conn = Nothing
%>

    <br>
    <table style="width: 580">
        <tr>
            <td class="auto-style17">&nbsp;Dating: Nyeste mandlige profiler&nbsp;</td>
        </tr>
    </table>
    <br>
    <table cellspacing="10" style="width: 145; height: 145;">
        <tr>
            <td class="auto-style20" style="width: 145; height: 145"><img src="foto/forsidefoto/" border="0"></td>
        </tr>
    </table>
    <br>
    <table style="width: 580">
        <tr>
            <td class="auto-style17">&nbsp;Dating: Nyeste par&nbsp;profiler</td>
        </tr>
    </table>
    <br>
    <table cellspacing="10" style="width: 145; height: 145;">
        <tr>
            <td class="auto-style20" style="width: 145; height: 145"><img src="foto/forsidefoto/" border="0"></td>
        </tr>
    </table>

<br>

</div>

<%
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath ("../database/portal.mdb")
strSQL = "Select Top 5 * From Forside Order By DATO Desc"
Set RS = Conn.Execute(strSQL)
%>

<% Do While Not rs.EOF %>

<p align="center">

</p>

<div align="center">
    <table cellpadding="0" cellspacing="0" bordercolor="#000000" class="auto-style6" style="width: 580">

<tr><td class="auto-style14" width="150" height="20" bordercolor="#000000" style="height: 18"><center>[<%=FormatDateTime(RS("Dato"),2)%>]
    &nbsp;[<%=FormatDateTime(RS("Dato"),4)%>]</center></td>
    <td class="auto-style13" width="348" height="10" bordercolor="#000000" style="height: 18">
    &nbsp;&nbsp;<b><%=RS("Emne")%></b></td></tr>

<tr><td width="150" height="150" valign="middle" class="auto-style10">
    <p class="auto-style11"><img src="foto/forsidefoto/<%=RS("Foto")%>" border="0"></td>

<td class="auto-style7" width="430" height="150" valign="top"><br>&nbsp;&nbsp;<%=RS("Info")%>

</td>

</tr>

</table>

</div>

</div>
   
<br>
<br>

<%
RS.MoveNext
Loop
Conn.Close
Set Conn = Nothing
%>

<%
Function DynamicCopyright(YearSiteCreated)
If Year(Now) > YearSiteCreated Then
DynamicCopyright = YearSiteCreated & "&nbsp;-&nbsp;" & Year(Now)
Else
DynamicCopyright = YearSiteCreated
End If
End Function
%>

<p align="center">

<font color="#000000" face="Verdana" size="1">

© Copyright <%= DynamicCopyright(2012) %> | <%
Set objFileSystemObject = Server.CreateObject("Scripting.FileSystemObject")
Set objFile = objFileSystemObject.GetFile(Request.ServerVariables("path_translated"))
last = objFile.DateLastModified
Set objFile = Nothing
Set objFileSystemObject = Nothing
Response.Write "Opdateret: " & FormatDateTime(last, 2)
%> | Udviklet af: <a href="http://www.buzzdata.dk">

<span style="color: #FF0000"><b>BUZZ DATA</b></span></a></font><p align="center">

<font color="#000000" face="Verdana" size="1">

    &nbsp;</font></td></tr>
     
</table>

</center>

</div>

</td>

</TBODY>

</table>

</td>

<td style="BORDER-RIGHT: #000000 1pt solid; BORDER-TOP: #000000 1pt solid; BORDER-LEFT: #000000 1pt solid; BORDER-BOTTOM: #000000 1pt solid" vAlign="top" width="200" bgColor="#C0C0C0" align="center">

<table style="BORDER-RIGHT: #000000 0pt solid; BORDER-TOP: #000000 0pt solid; BORDER-LEFT: #000000 0pt solid; BORDER-BOTTOM: #000000 0pt solid" height="100%" cellSpacing="0" cellPadding="0" width="200" align="left" border="0">

<tr><td vAlign="top" align="middle" width="150">
    <table cellSpacing="0" cellPadding="0" border="0" style="width: 200">

<TBODY>

<tr><td vAlign="center" background="foto/systemfoto/menubar1.jpg" height="30">
    <table cellSpacing="0" cellPadding="0" width="140" align="center" border="0" style="height: 12px">

<TBODY>

<tr><td class="menuoverskrift" valign="middle"><p align="center"><font size="1" face="Verdana">Byportalen</font></td></tr>

</TBODY>

</table>

</td>

</tr>

</TBODY>

</table>

<div align="center"><center><table height="110" cellSpacing="0" cellPadding="0" width="150" border="0">

<tr><td class="menutabel" align="left" height="0"><form action="kunde1.asp" method="post">

<table border="0" style="width: 200">

<tr><td width="200" height="15" style="height: 20px">&nbsp;&nbsp;&nbsp;<font color="#000000" face="Verdana" size="1">Kontonummer:</font></td></tr>

</table>

<table border="0" style="width: 200">

<tr><td width="200" class="auto-style3">&nbsp;&nbsp;<input class="kundenummer" type="text" name="Kundenummer" size="30" style="color: #000000; font-size: 10px; font-family: Verdana"></td></tr>

</table>

<table border="0" style="width: 200">

<tr><td width="200" height="10" style="height: 15px">&nbsp;&nbsp;&nbsp;<font color="#000000" face="Verdana" size="1">Adgangskode:</font></td></tr>

<tr><td width="200" class="auto-style3">&nbsp;&nbsp;<input class="adgangskode" type="password" name="Adgangskode" size="30" style="color: #000000; font-size: 10px; font-family: Verdana"></td></tr>

</table>

<div align="center">

<p>
<input class="knap" type="submit" value="Log Ind" style="font-size: 10px; font-family: Verdana; color: #000000"></p>

</div>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FF0000" face="Verdana" size="1"><b><%=Session("Meddelelse")%></b>

</form>

</font>

<tr><td class="menutabel" align="left" height="5"></td></tr>

<tr><td class="menutabel" align="left" height="5"><a href>&nbsp;<table style="width: 100%">
    <tr>
        <td class="auto-style11" style="width: 20; height: 20">
        <table style="width: 100%">
            <tr>
                <td width="20" height="20"></td>
                <td><a href><img src="foto/systemfoto/sendkode.gif" width="20" height="20"></a></td>
            </tr>
        </table>
        </td>
        <td><font face="Verdana" size="1"><a href="afvist.asp">Send glemt adgangskode</a></font></td>
    </tr>
    </table>
    &nbsp;</a></td></tr>

    <tr>
        <td width="200" height="15"></td>
    </tr>
    <tr>

<td vAlign="center" background="foto/systemfoto/menubar2.jpg" height="30"><table cellSpacing="0" cellPadding="0" width="140" align="center" border="0">

<TBODY>

<tr><td class="menuoverskrift" valign="middle"><p align="center">
    <font face="Verdana" size="1">Kalender</font></td></tr>

</TBODY>

</table>

</td>

</tr>

<tr><td width="200" height="15"></td></tr>

<tr><td width="200" height="10"><!--#include file ="kalender.asp"--></td></tr>

<tr><td class="menutabel" align="left" height="25"></td></tr>

<TBODY>

<tr align="center">

<td vAlign="center" background="foto/systemfoto/menubar2.jpg" height="30"><table cellSpacing="0" cellPadding="0" width="140" align="center" border="0">

<TBODY>

<tr><td class="menuoverskrift" valign="middle"><p align="center">Annoncer</td></tr>

</TBODY>

</table>

</td>

</tr>

</TBODY>

<tr><td width="200" height="15"></td></tr>
         
<tr align="center">

<td height="150" valign="middle" align="center"><a href="http://www.netto.dk/">
<img src="foto/annoncer/netto.jpg" style="filter:alpha(opacity=90)" onmouseDown="this.filters.alpha.opacity=100" onMouseover="this.filters.alpha.opacity=100" onMouseout="this.filters.alpha.opacity=90"></a></td></tr>

<tr><td width="200" height="25"></td></tr>

<TBODY>

<tr>

<td vAlign="center" background="foto/systemfoto/menubar2.jpg" height="30"><table cellSpacing="0" cellPadding="0" width="140" align="center" border="0">

<TBODY>

<tr><td class="menuoverskrift" valign="middle"><p align="center">
    Samarbejdspartnere</td></tr>

</TBODY>

</table>

</td>

</tr>

<tr><td width="200" height="15"></td></tr>

</TBODY>

<div align="center">
    <table style="width: 100%; height: 20">
        <tr>
            <td>&nbsp;</td>
        </tr>
    </table>
</div>

</body>

</html>
Avatar billede BUZZDK72 Juniormester
13. marts 2016 - 15:41 #1
Jeg har fundet en løsning og lukker.
Avatar billede Ny bruger Nybegynder

Din løsning...

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.

Loading billede Opret Preview

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester