Reaky üstadım benim kullandığım galerinin resimgoster.asp sini gönderdim sölediğin gibi kodu nereye nasıl eklicez.
<%@ LANGUAGE ="VBScript.Encode" CODEPAGE="1254" %>
<%on error resume next%>
<!-- #include file="baglanti.asp" -->
<!-- #include file="_inc/ayar.asp" -->
<html>
<head>
<!-- #include file="_inc/head.asp" -->
<title>Resimler | <%=siteadi%></title>
</head>
<body background="tema/<%=tema%>/ana-arka-plan.PNG">
<%
if Request.ServerVariables("QUERY_STRING") = "" then
response.redirect "resimler.asp"
response.end
end if
%>
<div align="center">
<!-- #include file="gorunum/ust-koseler.asp" -->
<table background="tema/<%=tema%>/orta-arka-plan.PNG" cellpadding="0" cellspacing="0" class="cizgi" border="0" width="596">
<tr>
<td class="ustcizgi" width="592" style="padding: 2px" align="center" valign="top">
<%
if (not Isnumeric(request.QueryString("ID"))) then
else
Set rec = Server.CreateObjecT("ADODB.RecordSet")
rSQL = "Select * FROM resim WHERE onay=1 and ID=" & request.QueryString("ID")
rec.open rSQL,Connection,3,3
rec("hit")=rec("hit")+1
rec.update
%>
<table class="cizgi" cellpadding="0" cellspacing="0" background="tema/<%=tema%>/blok-ana-arka.PNG" border="0" width="100%">
<tr>
<td width="100%" align="center" valign="top" style="padding: 3px">
<table width="100%" border="0">
<tr>
<td width="100%" height="100">
<table border="0" width="100%">
<tr><td height="90" width="701">
<img border="0" src="<%=rec("resim")%>" width="593" height="468">
</td></tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
</tr>
</table>
<%end if%>
</td>
</tr>
</table>
<!-- #include file="gorunum/alt-koseler.asp" -->
</div>
</body>
</html>