Asp Sitede Default.asp Hatası Lütfen Yardım - Google Fan Webmaster Forum
Google Fan Webmaster Forum  
herşeyi sana yazdım

Geri git   Google Fan Webmaster Forum > Webmaster Genel > Webmaster Genel konular sorunlar
KEY
Kayıt ol Articles Sosyal Gruplar Forumları Okundu Kabul Et

Webmaster Genel konular sorunlar Webmaster genel konular sorular sorunlar

Cevapla
 
LinkBack Seçenekler
  1  
Alt 09-03-2011, 18:45:41
 
Unhappy Asp Sitede Default.asp Hatası Lütfen Yardım

mrb arkadaslar
asp site daha önce kullanmadım ama bugün bi arkadasın sitesinde sorun çıkmış sanırım en son haber eklemişler siteye bu şekle gelmiş default.php yi ve site adresini verecem yardımcı olursanız çok sevinirim
yardımcı olabilecek arkadasa ftp bilgilerinide verebilirim

site:http://www.cukurcimen.com
default.php
PHP- Kodu:
<%@LANGUAGE="VBScript.Encode" CODEPAGE="1254"%>
<!-- 
#include file="connect.asp" -->
<!-- #include file="inc/ayarlar.asp" -->
<!-- #include file="online.asp" -->
<html>
<
head>
<!-- 
#include file="inc/head.asp" -->
<link rel="stylesheet" type="text/css" href="pordusstil.css">
<
title><%=siteadi%></title>
</
head>
<
body background="img/koseler/bg.png">
<!-- 
#include file="inc/javalar.asp" -->
<div align="center">
<!-- 
#include file="tablolar/tablou.asp" -->
<table class="cizgi" border="0" width="900">
<!-- 
#include file="tablolar/pordusu.asp" -->
<!-- #include file="tablolar/logo.asp" -->
<!-- #include file="tablolar/pordusmenu.asp" -->
<tr>
<
td background="img/bbg.PNG" class="cizgi" height="300" colspan="2" align="center" valign="middle">
<
table border="0" height="100%" width="900">
<
tr>
<
td width="200" align="center" valign="top">
<!-- 
#include file="bloklar/sol_bloklar.asp" -->
</td>
<
td width="500" align="center" valign="top">
<
table background="img/tbg.PNG" class="cizgi" border="0" width="100%">
<
tr>
<
td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Haber Balklar</b></td>
</
tr>
<
tr>
<
td>
<
div id="mansetyeri0">
<%
Set rec Server.CreateObjecT("ADODB.RecordSet")
rSQL "select * from haber order by id desc"
rec.open rSQL,Connection,3,3
for he=1 to 1
if (not rec.eofthen
%>
<
table cellpadding="2" cellspacing="1" border="0" width="100%" height="130">
<
tr>
<
td class="cizgi" width="178" rowspan="3" align="center"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>">
<
img src="<%=rec("resim")%>" width="194" height="138" border="0"></a></td>
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="left" valign="middle" height="18"><b><%=left(rec("baslik"),25)%>...</b></td>
</
tr>
<
tr>
<
td class="cizgi" width="60%" align="left" valign="top" height="97"><%=left(rec("kisahaber"),200)%>...</td>
</
tr>
<
tr>
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="center" valign="middle" height="18">Okunma: <%=rec("hit")%> Eklenme: <%=rec("tarih")%></td>
</
tr>
</
table>
<%
rec.movenext
end 
if
next
%>
</
div>
<%
Set rec Server.CreateObjecT("ADODB.RecordSet")
rSQL "select * from haber order by id DESC"
rec.open rSQL,Connection,3,3
for he=1 to 10
if (not rec.eofthen
%>
<
div id="mansetyeri<%=he%>" style="display:none">
<
table cellpadding="2" cellspacing="1" border="0" width="100%" height="130">
<
tr>
<
td class="cizgi" width="178" rowspan="3" align="center"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>">
<
img src="<%=rec("resim")%>" width="194" height="138" border="0"></a></td>
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="left" valign="middle" height="18"><b><%=left(rec("baslik"),25)%>...</b></td>
</
tr>
<
tr>
<
td class="cizgi" width="60%" align="left" valign="top" height="97"><%=left(rec("kisahaber"),200)%>...</td>
</
tr>
<
tr>
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="center" valign="middle" height="18">Okunma: <%=rec("hit")%> Eklenme: <%=rec("tarih")%></td>
</
tr>
</
table>
</
div>
<%
rec.movenext
end 
if
next
%>
<
table width="100%" cellpadding="1" cellspacing="1" border="0" align="center" height="30">
<
tr>
<
td width="0" align="center" onmouseover="durgoster(0)" id="patt0"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>" id="pattlink0"></a></td>
<%
Set rec Server.CreateObjecT("ADODB.RecordSet")
rSQL "select * from haber order by id DESC"
rec.open rSQL,Connection,3,3
for he=1 to 10
if (not rec.eofthen
%>
<
td align="center" onmouseover="durgoster(<%=he%>)" id="patt<%=he%>"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>" id="pattlink<%=he%>" height=22>
<
img onMouseOver="this.style.MozOpacity=1;this.filters.alpha.opacity='100';" style="filter:Alpha(Opacity=50);-moz-opacity: 0.50;" onMouseOut="this.style.MozOpacity=0.5;this.filters.alpha.opacity='50';" class="cizgi" border="0" src="<%=rec("resim")%>" width="42" height="37"></a></td>
<%
rec.movenext
end 
if
next
%>
<
td width="0" align="center"></td>
</
tr>
</
table>
<
script type="text/javascript" language="javascript" src="inc/manset.js" ></script>
</td>
</tr>
</table>
<br>
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%">
<tr>
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Aktif Forum Konular</b></td>
</tr>
<tr>
<td>
<table border="0" width="100%">
<%
Set rec = Server.CreateObjecT("ADODB.RecordSet")
rSQL = "select * from forummesaj where cevap = 1 order by siralama DESC"
rec.open rSQL,Connection,3,3
for he=1 to 20
if (not rec.eof) then
%>
<tr height="20">
<td width="16" align="center"><img border="0" src="img/menu.png"></td>
<td width="342"><a href="konugoster.asp?id=<%=rec("id")%>"><%=left(server.htmlencode(rec("konu")),80)%>...</a></td>
<td width="87" align="center"><a href="mesajyaz.asp?kadi=<%=rec("yazan")%>"><%=server.htmlencode(rec("yazan"))%></a></td>
<td width="24" align="center"><font class="kirmizi"><%=rec("sayac")%></font></td>
</tr>
<%
rec.movenext
end if
next
%>
</table>
</td>
</tr>
</table>
<br>
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%">
<tr>
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Son Eklenen Videolar</b></td>
</tr>
<tr>
<td>
<marquee direction="left" width="100%" height="90" onmouseover="this.scrollAmount='0';" onmouseout="this.scrollAmount='3';" scrollamount="2" scrolldelay="50">
<%
Set rec = Server.CreateObjecT("ADODB.RecordSet")
rSQL = "Select * FROM video ORDER BY id desc"
rec.open rSQL,Connection,3,3
for h=1 to 10
if (not rec.eof) then
%>
<a href="videoizle.asp?id=<%=rec("id")%>"><img class="cizgi" onMouseOver="this.style.MozOpacity=1;this.filters.alpha.opacity='100';" style="filter:Alpha(Opacity=50);-moz-opacity: 0.50;" onMouseOut="this.style.MozOpacity=0.5;this.filters.alpha.opacity='50';" border="0" src="<%=rec("resim")%>" width="115" height="92"></a>
<%
rec.movenext
end if
next
%>
</marquee>
</td>
</tr>
</table>
<br>
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%">
<tr>
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Son Eklenen Resimler</b></td>
</tr>
<tr>
<td>
<marquee direction="right" width="100%" height="90" onmouseover="this.scrollAmount='0';" onmouseout="this.scrollAmount='3';" scrollamount="2" scrolldelay="50">
<%
Set rec = Server.CreateObjecT("ADODB.RecordSet")
rSQL = "Select * FROM resim ORDER BY id desc"
rec.open rSQL,Connection,3,3
for h=1 to 10
if (not rec.eof) then
%>
<a href="resimgoster.asp?id=<%=rec("id")%>"><img class="cizgi" onMouseOver="this.style.MozOpacity=1;this.filters.alpha.opacity='100';" style="filter:Alpha(Opacity=50);-moz-opacity: 0.50;" onMouseOut="this.style.MozOpacity=0.5;this.filters.alpha.opacity='50';" border="0" src="<%=rec("resim")%>" width="115" height="92"></a>
<%
rec.movenext
end if
next
%>
</marquee>
</td>
</tr>
</table>
<br>
<%
Set rec = Server.CreateObjecT("ADODB.RecordSet")
rSQL = "Select * FROM bloklar where durum=2 ORDER BY sira asc"
rec.open rSQL,Connection,3,3
for h=1 to 10
if (not rec.eof) then
%>
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%">
<tr>
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b><%=rec("isim")%></b></td>
</tr>
<tr>
<td>
<%=(rec("icerik"))%>
</td>
</tr>
</table>
<br>
<%
rec.movenext
end if
next
%>
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%">
<tr>
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Haberler</b></td>
</tr>
<tr>
<td>
<table border="0" width="100%">
<tr align="center">
<td align="center">
<iframe src="http://sondakika.haber7.com/sondakika-manset.php" frameborder="0" width="471" height="300" FRAMESPACING="0" MARGINHEIGHT="0" MARGINWIDTH="0" scrolling="no"></iframe>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="200" align="center" valign="top">
<!-- #include file="bloklar/sag_bloklar.asp" -->
</td>
</tr>
</table>
</td>
</tr>
<!-- #include file="tablolar/pordusa.asp" -->
</table>
<!-- #include file="tablolar/tabloa.asp" -->
</div>
</body>
</html> 
..konu yanlış yerdeyse özur dilerim..

Konu Anonim tarafından (09-03-2011 Saat 18:49:15 ) değiştirilmiştir..
Alıntı ile Cevapla
  2  
Alt 09-03-2011, 18:48:25
Java & .Net Developer
 
Standart

Veritabanında hiç haber yok sanırım. Haber eklersen düzelir yada not eof ile boş veri aldığında haberlerin gösterileceğini yaz.
Alıntı ile Cevapla
  3  
Alt 09-03-2011, 18:52:27
 
Standart

Alıntı:
tolgasen Nickli Üyeden Alıntı Mesajı göster
Veritabanında hiç haber yok sanırım. Haber eklersen düzelir yada not eof ile boş veri aldığında haberlerin gösterileceğini yaz.
veritabanında haber var hocam yanlız bu 2. dediğinizi anlamadım :/
Alıntı ile Cevapla
  4  
Alt 09-03-2011, 18:56:30
Java & .Net Developer
 
Standart

Döngü yanlış kurulmuş hocam o zaman. 1 tur döngü yapmışsınız da zaten veritabanı 1 veri alır ilk önce.

Bunu deneyin bakalım.
PHP- Kodu:
<%@LANGUAGE="VBScript.Encode" CODEPAGE="1254"%> <!-- #include file="inc/head.asp" --> 
<link rel="stylesheet" type="text/css" href="pordusstil.css"
<
title><%=siteadi%></title
</
head
<
body background="img/koseler/bg.png"
<!-- 
#include file="inc/javalar.asp" --> 
<div align="center"
<!-- 
#include file="tablolar/tablou.asp" --> 
<table class="cizgi" border="0" width="900"
<!-- 
#include file="tablolar/pordusu.asp" --> 
<!-- #include file="tablolar/logo.asp" --> 
<!-- #include file="tablolar/pordusmenu.asp" --> 
<tr
<
td background="img/bbg.PNG" class="cizgi" height="300" colspan="2" align="center" valign="middle"
<
table border="0" height="100%" width="900"
<
tr
<
td width="200" align="center" valign="top"
<!-- 
#include file="bloklar/sol_bloklar.asp" --> 
</td
<
td width="500" align="center" valign="top"
<
table background="img/tbg.PNG" class="cizgi" border="0" width="100%"
<
tr
<
td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Haber Balklar</b></td
</
tr
<
tr
<
td
<
div id="mansetyeri0"
<% 
Set rec Server.CreateObjecT("ADODB.RecordSet"
rSQL "select * from haber order by id desc" 
rec.open rSQL,Connection,3,
if not rec.eof then 
%> 
<
table cellpadding="2" cellspacing="1" border="0" width="100%" height="130"
<
tr
<
td class="cizgi" width="178" rowspan="3" align="center"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>"
<
img src="<%=rec("resim")%>" width="194" height="138" border="0"></a></td
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="left" valign="middle" height="18"><b><%=left(rec("baslik"),25)%>...</b></td
</
tr
<
tr
<
td class="cizgi" width="60%" align="left" valign="top" height="97"><%=left(rec("kisahaber"),200)%>...</td
</
tr
<
tr
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="center" valign="middle" height="18">Okunma: <%=rec("hit")%> Eklenme: <%=rec("tarih")%></td
</
tr
</
table
<% 
end if 
%> 
</
div
<% 
Set rec Server.CreateObjecT("ADODB.RecordSet"
rSQL "select * from haber order by id DESC" 
rec.open rSQL,Connection,3,
for he=1 to 10 
if (not rec.eofthen 
%> 
<
div id="mansetyeri<%=he%>" style="display:none"
<
table cellpadding="2" cellspacing="1" border="0" width="100%" height="130"
<
tr
<
td class="cizgi" width="178" rowspan="3" align="center"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>"
<
img src="<%=rec("resim")%>" width="194" height="138" border="0"></a></td
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="left" valign="middle" height="18"><b><%=left(rec("baslik"),25)%>...</b></td
</
tr
<
tr
<
td class="cizgi" width="60%" align="left" valign="top" height="97"><%=left(rec("kisahaber"),200)%>...</td
</
tr
<
tr
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="center" valign="middle" height="18">Okunma: <%=rec("hit")%> Eklenme: <%=rec("tarih")%></td
</
tr
</
table
</
div
<% 
rec.movenext 
end 
if 
next 
%> 
<
table width="100%" cellpadding="1" cellspacing="1" border="0" align="center" height="30"
<
tr
<
td width="0" align="center" onmouseover="durgoster(0)" id="patt0"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>" id="pattlink0"></a></td
<% 
Set rec Server.CreateObjecT("ADODB.RecordSet"
rSQL "select * from haber order by id DESC" 
rec.open rSQL,Connection,3,
for he=1 to 10 
if (not rec.eofthen 
%> 
<
td align="center" onmouseover="durgoster(<%=he%>)" id="patt<%=he%>"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>" id="pattlink<%=he%>" height=22
<
img onMouseOver="this.style.MozOpacity=1;this.filters.alpha.opacity='100';" style="filter:Alpha(Opacity=50);-moz-opacity: 0.50;" onMouseOut="this.style.MozOpacity=0.5;this.filters.alpha.opacity='50';" class="cizgi" border="0" src="<%=rec("resim")%>" width="42" height="37"></a></td
<% 
rec.movenext 
end 
if 
next 
%> 
<
td width="0" align="center"></td
</
tr
</
table
<
script type="text/javascript" language="javascript" src="inc/manset.js" ></script> 
</td> 
</tr> 
</table> 
<br> 
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%"> 
<tr> 
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Aktif Forum Konular</b></td> 
</tr> 
<tr> 
<td> 
<table border="0" width="100%"> 
<% 
Set rec = Server.CreateObjecT("ADODB.RecordSet") 
rSQL = "select * from forummesaj where cevap = 1 order by siralama DESC" 
rec.open rSQL,Connection,3,3 
for he=1 to 20 
if (not rec.eof) then 
%> 
<tr height="20"> 
<td width="16" align="center"><img border="0" src="img/menu.png"></td> 
<td width="342"><a href="konugoster.asp?id=<%=rec("id")%>"><%=left(server.htmlencode(rec("konu")),80)%>...</a></td> 
<td width="87" align="center"><a href="mesajyaz.asp?kadi=<%=rec("yazan")%>"><%=server.htmlencode(rec("yazan"))%></a></td> 
<td width="24" align="center"><font class="kirmizi"><%=rec("sayac")%></font></td> 
</tr> 
<% 
rec.movenext 
end if 
next 
%> 
</table> 
</td> 
</tr> 
</table> 
<br> 
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%"> 
<tr> 
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Son Eklenen Videolar</b></td> 
</tr> 
<tr> 
<td> 
<marquee direction="left" width="100%" height="90" onmouseover="this.scrollAmount='0';" onmouseout="this.scrollAmount='3';" scrollamount="2" scrolldelay="50"> 
<% 
Set rec = Server.CreateObjecT("ADODB.RecordSet") 
rSQL = "Select * FROM video ORDER BY id desc" 
rec.open rSQL,Connection,3,3 
for h=1 to 10 
if (not rec.eof) then 
%> 
<a href="videoizle.asp?id=<%=rec("id")%>"><img class="cizgi" onMouseOver="this.style.MozOpacity=1;this.filters.alpha.opacity='100';" style="filter:Alpha(Opacity=50);-moz-opacity: 0.50;" onMouseOut="this.style.MozOpacity=0.5;this.filters.alpha.opacity='50';" border="0" src="<%=rec("resim")%>" width="115" height="92"></a> 
<% 
rec.movenext 
end if 
next 
%> 
</marquee> 
</td> 
</tr> 
</table> 
<br> 
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%"> 
<tr> 
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Son Eklenen Resimler</b></td> 
</tr> 
<tr> 
<td> 
<marquee direction="right" width="100%" height="90" onmouseover="this.scrollAmount='0';" onmouseout="this.scrollAmount='3';" scrollamount="2" scrolldelay="50"> 
<% 
Set rec = Server.CreateObjecT("ADODB.RecordSet") 
rSQL = "Select * FROM resim ORDER BY id desc" 
rec.open rSQL,Connection,3,3 
for h=1 to 10 
if (not rec.eof) then 
%> 
<a href="resimgoster.asp?id=<%=rec("id")%>"><img class="cizgi" onMouseOver="this.style.MozOpacity=1;this.filters.alpha.opacity='100';" style="filter:Alpha(Opacity=50);-moz-opacity: 0.50;" onMouseOut="this.style.MozOpacity=0.5;this.filters.alpha.opacity='50';" border="0" src="<%=rec("resim")%>" width="115" height="92"></a> 
<% 
rec.movenext 
end if 
next 
%> 
</marquee> 
</td> 
</tr> 
</table> 
<br> 
<% 
Set rec = Server.CreateObjecT("ADODB.RecordSet") 
rSQL = "Select * FROM bloklar where durum=2 ORDER BY sira asc" 
rec.open rSQL,Connection,3,3 
for h=1 to 10 
if (not rec.eof) then 
%> 
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%"> 
<tr> 
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b><%=rec("isim")%></b></td> 
</tr> 
<tr> 
<td> 
<%=(rec("icerik"))%> 
</td> 
</tr> 
</table> 
<br> 
<% 
rec.movenext 
end if 
next 
%> 
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%"> 
<tr> 
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Haberler</b></td> 
</tr> 
<tr> 
<td> 
<table border="0" width="100%"> 
<tr align="center"> 
<td align="center"> 
<iframe src="http://sondakika.haber7.com/sondakika-manset.php" frameborder="0" width="471" height="300" FRAMESPACING="0" MARGINHEIGHT="0" MARGINWIDTH="0" scrolling="no"></iframe> 
</td> 
</tr> 
</table> 
</td> 
</tr> 
</table> 
</td> 
<td width="200" align="center" valign="top"> 
<!-- #include file="bloklar/sag_bloklar.asp" --> 
</td> 
</tr> 
</table> 
</td> 
</tr> 
<!-- #include file="tablolar/pordusa.asp" --> 
</table> 
<!-- #include file="tablolar/tabloa.asp" --> 
</div> 
</body> 
</html> 
Alıntı ile Cevapla
  5  
Alt 09-03-2011, 19:03:33
 
Standart

verdiğiniz kodu default.asp ye attım hocam site komple gitti

Alıntı:
tolgasen Nickli Üyeden Alıntı Mesajı göster
Döngü yanlış kurulmuş hocam o zaman. 1 tur döngü yapmışsınız da zaten veritabanı 1 veri alır ilk önce.

Bunu deneyin bakalım.
PHP- Kodu:
<%@LANGUAGE="VBScript.Encode" CODEPAGE="1254"%> <!-- #include file="inc/head.asp" --> 
<link rel="stylesheet" type="text/css" href="pordusstil.css"
<
title><%=siteadi%></title
</
head
<
body background="img/koseler/bg.png"
<!-- 
#include file="inc/javalar.asp" --> 
<div align="center"
<!-- 
#include file="tablolar/tablou.asp" --> 
<table class="cizgi" border="0" width="900"
<!-- 
#include file="tablolar/pordusu.asp" --> 
<!-- #include file="tablolar/logo.asp" --> 
<!-- #include file="tablolar/pordusmenu.asp" --> 
<tr
<
td background="img/bbg.PNG" class="cizgi" height="300" colspan="2" align="center" valign="middle"
<
table border="0" height="100%" width="900"
<
tr
<
td width="200" align="center" valign="top"
<!-- 
#include file="bloklar/sol_bloklar.asp" --> 
</td
<
td width="500" align="center" valign="top"
<
table background="img/tbg.PNG" class="cizgi" border="0" width="100%"
<
tr
<
td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Haber Balklar</b></td
</
tr
<
tr
<
td
<
div id="mansetyeri0"
<% 
Set rec Server.CreateObjecT("ADODB.RecordSet"
rSQL "select * from haber order by id desc" 
rec.open rSQL,Connection,3,
if not rec.eof then 
%> 
<
table cellpadding="2" cellspacing="1" border="0" width="100%" height="130"
<
tr
<
td class="cizgi" width="178" rowspan="3" align="center"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>"
<
img src="<%=rec("resim")%>" width="194" height="138" border="0"></a></td
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="left" valign="middle" height="18"><b><%=left(rec("baslik"),25)%>...</b></td
</
tr
<
tr
<
td class="cizgi" width="60%" align="left" valign="top" height="97"><%=left(rec("kisahaber"),200)%>...</td
</
tr
<
tr
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="center" valign="middle" height="18">Okunma: <%=rec("hit")%> Eklenme: <%=rec("tarih")%></td
</
tr
</
table
<% 
end if 
%> 
</
div
<% 
Set rec Server.CreateObjecT("ADODB.RecordSet"
rSQL "select * from haber order by id DESC" 
rec.open rSQL,Connection,3,
for he=1 to 10 
if (not rec.eofthen 
%> 
<
div id="mansetyeri<%=he%>" style="display:none"
<
table cellpadding="2" cellspacing="1" border="0" width="100%" height="130"
<
tr
<
td class="cizgi" width="178" rowspan="3" align="center"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>"
<
img src="<%=rec("resim")%>" width="194" height="138" border="0"></a></td
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="left" valign="middle" height="18"><b><%=left(rec("baslik"),25)%>...</b></td
</
tr
<
tr
<
td class="cizgi" width="60%" align="left" valign="top" height="97"><%=left(rec("kisahaber"),200)%>...</td
</
tr
<
tr
<
td background="img/blokbg.PNG" class="cizgi" width="60%" align="center" valign="middle" height="18">Okunma: <%=rec("hit")%> Eklenme: <%=rec("tarih")%></td
</
tr
</
table
</
div
<% 
rec.movenext 
end 
if 
next 
%> 
<
table width="100%" cellpadding="1" cellspacing="1" border="0" align="center" height="30"
<
tr
<
td width="0" align="center" onmouseover="durgoster(0)" id="patt0"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>" id="pattlink0"></a></td
<% 
Set rec Server.CreateObjecT("ADODB.RecordSet"
rSQL "select * from haber order by id DESC" 
rec.open rSQL,Connection,3,
for he=1 to 10 
if (not rec.eofthen 
%> 
<
td align="center" onmouseover="durgoster(<%=he%>)" id="patt<%=he%>"><a href="reklam.asp?nereye=haberoku.asp?id=<%=rec("id")%>" id="pattlink<%=he%>" height=22
<
img onMouseOver="this.style.MozOpacity=1;this.filters.alpha.opacity='100';" style="filter:Alpha(Opacity=50);-moz-opacity: 0.50;" onMouseOut="this.style.MozOpacity=0.5;this.filters.alpha.opacity='50';" class="cizgi" border="0" src="<%=rec("resim")%>" width="42" height="37"></a></td
<% 
rec.movenext 
end 
if 
next 
%> 
<
td width="0" align="center"></td
</
tr
</
table
<
script type="text/javascript" language="javascript" src="inc/manset.js" ></script> 
</td> 
</tr> 
</table> 
<br> 
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%"> 
<tr> 
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Aktif Forum Konular</b></td> 
</tr> 
<tr> 
<td> 
<table border="0" width="100%"> 
<% 
Set rec = Server.CreateObjecT("ADODB.RecordSet") 
rSQL = "select * from forummesaj where cevap = 1 order by siralama DESC" 
rec.open rSQL,Connection,3,3 
for he=1 to 20 
if (not rec.eof) then 
%> 
<tr height="20"> 
<td width="16" align="center"><img border="0" src="img/menu.png"></td> 
<td width="342"><a href="konugoster.asp?id=<%=rec("id")%>"><%=left(server.htmlencode(rec("konu")),80)%>...</a></td> 
<td width="87" align="center"><a href="mesajyaz.asp?kadi=<%=rec("yazan")%>"><%=server.htmlencode(rec("yazan"))%></a></td> 
<td width="24" align="center"><font class="kirmizi"><%=rec("sayac")%></font></td> 
</tr> 
<% 
rec.movenext 
end if 
next 
%> 
</table> 
</td> 
</tr> 
</table> 
<br> 
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%"> 
<tr> 
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Son Eklenen Videolar</b></td> 
</tr> 
<tr> 
<td> 
<marquee direction="left" width="100%" height="90" onmouseover="this.scrollAmount='0';" onmouseout="this.scrollAmount='3';" scrollamount="2" scrolldelay="50"> 
<% 
Set rec = Server.CreateObjecT("ADODB.RecordSet") 
rSQL = "Select * FROM video ORDER BY id desc" 
rec.open rSQL,Connection,3,3 
for h=1 to 10 
if (not rec.eof) then 
%> 
<a href="videoizle.asp?id=<%=rec("id")%>"><img class="cizgi" onMouseOver="this.style.MozOpacity=1;this.filters.alpha.opacity='100';" style="filter:Alpha(Opacity=50);-moz-opacity: 0.50;" onMouseOut="this.style.MozOpacity=0.5;this.filters.alpha.opacity='50';" border="0" src="<%=rec("resim")%>" width="115" height="92"></a> 
<% 
rec.movenext 
end if 
next 
%> 
</marquee> 
</td> 
</tr> 
</table> 
<br> 
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%"> 
<tr> 
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Son Eklenen Resimler</b></td> 
</tr> 
<tr> 
<td> 
<marquee direction="right" width="100%" height="90" onmouseover="this.scrollAmount='0';" onmouseout="this.scrollAmount='3';" scrollamount="2" scrolldelay="50"> 
<% 
Set rec = Server.CreateObjecT("ADODB.RecordSet") 
rSQL = "Select * FROM resim ORDER BY id desc" 
rec.open rSQL,Connection,3,3 
for h=1 to 10 
if (not rec.eof) then 
%> 
<a href="resimgoster.asp?id=<%=rec("id")%>"><img class="cizgi" onMouseOver="this.style.MozOpacity=1;this.filters.alpha.opacity='100';" style="filter:Alpha(Opacity=50);-moz-opacity: 0.50;" onMouseOut="this.style.MozOpacity=0.5;this.filters.alpha.opacity='50';" border="0" src="<%=rec("resim")%>" width="115" height="92"></a> 
<% 
rec.movenext 
end if 
next 
%> 
</marquee> 
</td> 
</tr> 
</table> 
<br> 
<% 
Set rec = Server.CreateObjecT("ADODB.RecordSet") 
rSQL = "Select * FROM bloklar where durum=2 ORDER BY sira asc" 
rec.open rSQL,Connection,3,3 
for h=1 to 10 
if (not rec.eof) then 
%> 
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%"> 
<tr> 
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b><%=rec("isim")%></b></td> 
</tr> 
<tr> 
<td> 
<%=(rec("icerik"))%> 
</td> 
</tr> 
</table> 
<br> 
<% 
rec.movenext 
end if 
next 
%> 
<table background="img/tbg.PNG" class="cizgi" border="0" width="100%"> 
<tr> 
<td background="img/blokbg.PNG" class="cizgi" height="25" align="center"><b>Haberler</b></td> 
</tr> 
<tr> 
<td> 
<table border="0" width="100%"> 
<tr align="center"> 
<td align="center"> 
<iframe src="http://sondakika.haber7.com/sondakika-manset.php" frameborder="0" width="471" height="300" FRAMESPACING="0" MARGINHEIGHT="0" MARGINWIDTH="0" scrolling="no"></iframe> 
</td> 
</tr> 
</table> 
</td> 
</tr> 
</table> 
</td> 
<td width="200" align="center" valign="top"> 
<!-- #include file="bloklar/sag_bloklar.asp" --> 
</td> 
</tr> 
</table> 
</td> 
</tr> 
<!-- #include file="tablolar/pordusa.asp" --> 
</table> 
<!-- #include file="tablolar/tabloa.asp" --> 
</div> 
</body> 
</html> 
Alıntı ile Cevapla
  6  
Alt 09-03-2011, 19:04:40
Java & .Net Developer
 
Standart

En üste bunu eklemeyi unutmuşsun default.asp'de hocam.

Alıntı:
<%@LANGUAGE="VBScript.Encode" CODEPAGE="1254"%>
Alıntı ile Cevapla
  7  
Alt 09-03-2011, 19:07:16
 
Standart

Alıntı:
tolgasen Nickli Üyeden Alıntı Mesajı göster
En üste bunu eklemeyi unutmuşsun default.asp'de hocam.
şimdide baska bi hata veriyor hocam :/
Alıntı ile Cevapla
Cevapla


Bookmarks

Seçenekler

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Kapalı
Refbacks are Açık



Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 04:30:52.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

“İnsanların en hayırlısı, insanlara faydalı olandır”. H.Ş

Hosting by Radore Hosting

İçerik sağlayacı paylaşım sitelerinden biri olan R10.net WebMaster Forum Adresimizde 5651 Sayılı Kanun’un 8. Maddesine ve T.C.K’nın 125. Maddesine göre TÜM ÜYELERİMİZ yaptıkları paylaşımlardan sorumludur. R10.net hakkında yapılacak tüm hukuksal Şikayetler adresi ile iletişime geçilmesi halinde ilgili kanunlar ve yönetmelikler çerçevesinde en geç 1 (Bir) Hafta içerisinde R10.net yönetimi olarak tarafımızdan gereken işlemler yapılacak ve Avukatlarımız size dönüş yapacaktır.
ARGUS_OK

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252