Forum'da ara:
Ara


« Önceki başlık :: Sonraki başlık »  
Yazar Mesaj
Mesaj06.08.2007, 17:32 (UTC)    
Mesaj konusu: HANGI GUN DOGDUN OGREN.KOD ICIN TIKLA

www.muratkod.tr.cx devami bu sitede
-----------------------------------------------


<script language="JavaScript"><!--


function cala_day(form) {

var nSwitch = 0
var nMonth = parseInt(form.month.value)
var nDay = parseInt(form.day.value)
var nYear = parseInt(form.year.value)

if(!(nYear % 4) && (nMonth > 2)) {
nSwitch = 1
}

var nDayOfWeek = cala_weekday(nMonth, nDay, nYear)

if(nSwitch) {
nDayOfWeek++
nSwitch = 0
}

day_display(form, nDayOfWeek)
}

function cala_weekday( x_nMonth, x_nDay, x_nYear) {

if(x_nMonth >= 3){
x_nMonth -= 2
}
else {
x_nMonth += 10
}

if( (x_nMonth == 11) || (x_nMonth == 12) ){
x_nYear--
}

var nCentNum = parseInt(x_nYear / 100)
var nDYearNum = x_nYear % 100

var nPart1 = parseInt(2.6 * x_nMonth - .2)

var nZeller = (parseInt(nPart1 + x_nDay + nDYearNum + (nDYearNum / 4) + (nCentNum / 4) - 2 * nCentNum)) % 7

if(nZeller < 0){
nZeller += 7
}

return nZeller
}

function day_display(form, x_nDayOfWeek) {

if(x_nDayOfWeek == 0) {
form.birthday.value = "Cumartesi"
return
}
if(x_nDayOfWeek == 1) {
form.birthday.value = "Pazar"
return
}
if(x_nDayOfWeek == 2) {
form.birthday.value = "Pazartesi"
return
}
if(x_nDayOfWeek == 3) {
form.birthday.value = "Sali"
return
}
if(x_nDayOfWeek == 4) {
form.birthday.value = "Çarsamba"
return
}
if(x_nDayOfWeek == 5) {
form.birthday.value = "Persembe"
return
}
if(x_nDayOfWeek == 6) {
form.birthday.value = "Cuma"
return
}

form.birthday.value = "Not a valid date."
}
// --></script></font> </a></p>

<table border="0" cellpadding="5" cellspacing="5" width="96%">
<tr>
<td align="center" width="100%"><form>
<div align="center"><center><table border="0"
cellpadding="4" cellspacing="1" width="225"
bgcolor="#000000">
<tr>
<td align="center" colspan="2"
bgcolor="#6B9DC2"><a href="wizard/kodlar.htm"><font
color="#000000" size="2" face="Arial"><b>YAS-
MATIK</b></font></a></td>
</tr>
<tr>
<td align="center" width="100"
bgcolor="#A5C4DA"><a href="wizard/kodlar.htm"><font
color="#000000" size="2"
face="ARIEL,HELVETICA"><b>Ay<br>
<input type="text" size="4" name="month"><br>
<br>
Gün<br>
<input type="text" size="4" name="day"><br>
<br>
Yil<br>
<input type="text" size="4" name="year"> </b></font></a></td>
<td align="center" width="125"
bgcolor="#A5C4DA"><a href="wizard/kodlar.htm"><font
color="#000000" size="2"
face="ARIEL,HELVETICA"><b>Dogum Gününüzü
Girip Hesapla Dügmesine Basiniz<br>
</b></font><font color="#000000" size="1"
face="ARIEL,HELVETICA"><br>
11-1-1970<br>
Pazar<em> gibi</em></font><font
color="#000000" size="2"
face="ARIEL,HELVETICA"><b><br>
<br>
DOGDUGUNUZ GÜN</b></font><font
color="#FFFF00" size="2"
face="ARIEL,HELVETICA"><br>
<input type="text" size="10" name="birthday">
</font></a></td>
</tr>
<tr>
<td align="center" colspan="2"
bgcolor="#A5C4DA"><a href="wizard/kodlar.htm"><font
size="2" face="ARIEL,HELVETICA"><input
type="button" value="Hesapla"
onclick="cala_day(this.form)"><input
type="reset"><br>
</font><font size="1" face="Arial">
</font></a><a href="http://"><font
size="1" face="Arial"></font></a><font
size="1" face="Arial">
</font></td>
</tr>
</table>
</center></div>
</form>
</td>
</tr>
</table>[/code]
Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu