ana sayfa-3
<% if not Session("UserLoggedIn")="true" then %>
<%response.redirect "default.asp?sayfam=77"%>
<%else
set rss=server.createobject("adodb.recordset")
sql="select * from gunluk where kullaniciadi='"&session("kullaniciadi")&"' and tarih='"&date&"' "
rss.open sql, baglanti, 1, 3
SQLA = "SELECT SUM (boyut) FROM gunluk WHERE kullaniciadi ='"&session("kullaniciadi")&"'"
Set genel=baglanti.Execute(SQLA)
if not rss.eof then
response.redirect "default.asp?sayfam=72&id=21"
rss.close
elseif genel(0)>1048576 then
response.redirect "default.asp?sayfam=72&id=25"
else%>
<%end if
end if%>