KaraYılan TR
Would you like to react to this message? Create an account in a few clicks or log in to continue.
KaraYılan TR

HOŞGELDİNİZ KaRaYıLaN
 
AnasayfaAnasayfa  AramaArama  Latest imagesLatest images  Kayıt OlKayıt Ol  Giriş yap  

 

 GÜN HESAPLAMA KODU

Aşağa gitmek 
YazarMesaj
MeMaTi
Admin



Erkek
Mesaj Sayısı : 176
Yaş : 33
Location : dfgfdg
Job/hobbies : hgffg
Humor : erwer
Kayıt tarihi : 14/08/07

GÜN HESAPLAMA KODU Empty
MesajKonu: GÜN HESAPLAMA KODU   GÜN HESAPLAMA KODU Icon_minitimePerş. Ağus. 23, 2007 7:21 am

Kod:
<TITLE>Hangi yıl? Hangi gün?</TITLE> <%
guns= array ("hata","P.tesi","Salı","Çarşamba","Perşembe","Cuma","C.Tesi","Pazar")
sayi=request.form("sayi")
sayi2=request.form("sayi2")
bdate=request.form("radiobutton")
if request.querystring("s")=1 then
call mods
response.end
end if
sub mods
if sayi2<then>4 then
islem=int(sayi/4)
gun=gun+islem
end if
sa=gun mod 7

ka=sa+bdate
if ka>7 then
ka=ka-7
end if
cevap=guns(ka)
response.write "<center><b>Bu gün :"&guns(bdate)
response.write " ise"
response.write "<center><b><br>"&sayi
response.write "<BODY><center><b>Yıl Sonra ki gün<br><font color="">"
response.write cevap & "<br></font>"
response.write "<a href="">Yeni Soru</a>"
end sub

sayi=request.form("sayi")
sayi2=request.form("sayi2")
bdate=request.form("radiobutton")
if sayi2<then>7 then
ka=ka-7
end if
cevap=guns(ka)
response.write "<center><b>Bu gün :"&guns(bdate)
response.write " ise"
response.write "<center><b><br>"&sayi2
response.write "<BODY><center><b>Gün Sonra ki gün<br><font color="">"
response.write cevap & "<br></font>"
response.write "<a href="">Yeni Soru</a>"
if bdate="" then
response.redirect "gun.asp"
end if
end sub
%> <TITLE>Hangi yıl? Hangi gün?</TITLE><LINK><BODY>
<form><DIV ALIGN="CENTER"><P><FONT SIZE="2" COLOR="#000066">Bu
gün</FONT><FONT SIZE="2"><BR><INPUT>P.tesi<INPUT>Salı<INPUT>Çarşamba<INPUT>Perşembe<INPUT>Cuma<INPUT>C.tesi<INPUT>Pazar<BR>
Yıl sayısı:<INPUT>
Veya Günsayısı:<INPUT>
<BR>Kaç yıl veya gün sonra hangi gün olur sorusunun cevabı</FONT><BR><BR><input><BR></P><P><B><FONT SIZE="2"><A HREF="http://www.parlakfikirler.net">www.parlakfikirler.net</A><BR></FONT></B></DIV></form>
Sayfa başına dön Aşağa gitmek
http://www.djdenizcom.tr.gg
 
GÜN HESAPLAMA KODU
Sayfa başına dön 
1 sayfadaki 1 sayfası
 Similar topics
-
» FIKRA KODU

Bu forumun müsaadesi var:Bu forumdaki mesajlara cevap veremezsiniz
KaraYılan TR :: KOD MERKEZİ :: ASP KODLARI-
Buraya geçin: