File: D:/HostingSpaces/RImmers/duitsedog.tk/wwwroot/foto_ouder.asp
<%
Option Explicit
%>
<!-- #INCLUDE VIRTUAL="includes/inc_default.asp" -->
<%
dim strSql, Rs, intFotoId
If (Request.QueryString("id") <> "") Then
intFotoId = FormToInt(Request.QueryString("id"))
Call UpdateFotoHit(intFotoId)
Else
intFotoId = 0
End If
%>
<html>
<head>
<title>Mooie foto's van Duiste doggen</title>
<meta name="description" content="Duitse doggen kennel van het Dennenbos, mooie foto's van de duiste dog." />
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<link rel="stylesheet" type="text/css" href="css/background.css">
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-1172494-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</head>
<body>
<%
strSQL = "SELECT * FROM DD_FOTOS WHERE ID=" & IntToSql(intFotoId)
Set Rs = GetRs(strSql)
If Not Rs.EOF Then
%>
<img width="800" SRC="fotos/nest/<%=SQLToStr(Rs("bestandsnaam"))%>">
<%
Response.Write("<div align=""center"">" & SQLToStr(Rs("oms")) & "</div>")
End If
Rs.Close
Set Rs = Nothing
%>
</body>
</html>