Forum'da ara:
Ara


« Önceki başlık :: Sonraki başlık »  
Yazar Mesaj
Mesaj01.09.2007, 09:42 (UTC)    
Mesaj konusu: ne zaman dogdum?

</td>

</tr>

<!-- end block template -->

<!-- begin block template -->

<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">

<tbody><tr>
<td class="tdmenblock" width="1%"><img src="./mkportal/templates/aLLeV/images/m_sx.gif" class="tdmenblock" alt="" border="0">
</td>
<td class="sottotitolo" style="background-image: url(./mkportal/templates/aLLeV/images/m_sf.gif);" nowrap="nowrap" valign="middle" width="99%">NEZAMAN DOGDUM
</td>
<td class="tdmenblock" width="1%"><img src="./mkportal/templates/aLLeV/images/m_dx.gif" class="tdmenblock" alt="" border="0">
</td>
</tr>
</tbody></table>

</td>
</tr>
<tr>
<td class="tablemenu" width="100%">
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tbody><tr><td class="blocks"><!-- START OF SCRIPT -->

<script language="JavaScript">

<!-- begin script



//General Array Function

function MakeArray(n) {

this.length = n;

for (var i = 1; i <=n; i++) {

this[i] = 0;

}

}



//Initialize Days of Week Array

days = new MakeArray(7);

days[0] = "Cumartesi"

days[1] = "Pazar"

days[2] = "Pazartesi"

days[3] = "Sali"

days[4] = "Carsamba"

days[5] = "Persembe"

days[6] = "Cuma"



//Initialize Months Array

months = new MakeArray(12);

months[1] = "Ocak"

months[2] = "Subat"

months[3] = "Mart"

months[4] = "Nisan"

months[5] = "Mayis"

months[6] = "Haziran"

months[7] = "Temmuz"

months[8] = "Agustos"

months[9] = "Eylul"

months[10] = "Ekim"

months[11] = "Kasim"

months[12] = "Aralik"



//Day of Week Function

function compute(form) {

var val1 = parseInt(form.day.value, 10)

if ((val1 < 0) || (val1 > 31)) {

alert("1 ile 31 arasi bir tarih girin…")

}

var val2 = parseInt(form.month.value, 10)

if ((val2 < 0) || (val2 > 12)) {

alert("1 ile 12 arasi bir tarih girin…")

}

var val2x = parseInt(form.month.value, 10)

var val3 = parseInt(form.year.value, 10)

if (val3 < 1900) {

alert("1900 ile 2050 arasi bir tarih girin…")

}

if (val2 == 1) {

val2x = 13;

val3 = val3-1

}

if (val2 == 2) {

val2x = 14;

val3 = val3-1

}

var val4 = parseInt(((val2x+1)*3)/5, 10)

var val5 = parseInt(val3/4, 10)

var val6 = parseInt(val3/100, 10)

var val7 = parseInt(val3/400, 10)

var val8 = val1+(val2x*2)+val4+val3+val5-val6+val7+2

var val9 = parseInt(val8/7, 10)

var val0 = val8-(val9*7)

form.result1.value = months[val2]+" "+form.day.value +", "+form.year.value

form.result2.value = days[val0]

}



// end script -->

</script>


<h3><i>HANGİ GÜN DOĞDUN? <i></i></i></h3>

<i><i><b>



</b></i></i><p><i><i> Dogdugunuz tarihi yazın ve hesapla tusuna basin</i></i></p>



<form>

<i><i> </i></i><p><i><i>Dogdugunuz ay(1-12): <input name="month" size="2" type="text"> </i></i></p>

<i><i> </i></i><p><i><i>Dogdugunuz gun (1-31): <input name="day" size="2" type="text"> </i></i></p>

<i><i> </i></i><p><i><i>Dogdugunuz yil(ornek:2007): <input name="year" size="4" type="text"> </i></i></p>

<i><i> </i></i><p><i><i><input value="Hesapla" onclick="compute(this.form)" type="button"> <input value="Temizle" type="reset"> </i></i></p>

<i><i> </i></i><p><i><i>Dogdugunuz tarih: <input name="result1" size="18" type="text"> </i></i></p>

<i><i> </i></i><p><i><i>DOGDUGUNUZ GUN: <input name="result2" size="20" type="text"> </i></i></p>

</form>

<i><i>www.ilkaskimweb.tr.gg <!-- END OF SCRIPT --></i></i></td></tr>
</tbody></table>
</td>
</tr>
<tr>

<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td class="tdmenblock" align="right" valign="top" width="1%"><img src="./mkportal/templates/aLLeV/images/m_sx2.gif" class="tdmenblock" alt="">
</td>
<td class="tdmenblock" style="background-image: url(./mkportal/templates/aLLeV/images/m_sf2.gif);" width="99%"><img src="./mkportal/templates/aLLeV/images/m_sf2.gif" class="tdmenblock" alt="" border="0">
</td>
<td class="tdmenblock" width="1%"><img src="./mkportal/templates/aLLeV/images/m_dx2.gif" class="tdmenblock" alt="">
Önceki mesajları göster:   


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