|
06/04/07, 14:59
|
#1
|
Site Sahibi
Üyelik tarihi: Dec 2006
Mesajlar: 1.709
|
ÖSS Puanı Hesaplama
Bir lise için yazmıştım. lazım olur belki..
HTML-Kodu:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Özel Selahattin Eyyubi Lisesi ÖSSPuanı Hesaplama</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-9">
<SCRIPT>
var winW = 630, winH = 460;
function getsize() {
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape") {
winW = window.innerWidth;
winH = window.innerHeight;
}
if (navigator.appName.indexOf("Microsoft")!=-1) {
winW = document.body.offsetWidth;
winH = document.body.offsetHeight;
}
}
}
</SCRIPT>
<STYLE>
BODY {
MARGIN: 0px
}
#Halo2_distance {
MARGIN: 0px; HEIGHT: 77%
}
#td_countdown {
FONT-SIZE: 30px; MARGIN: 0px; FONT-FAMILY: Courier New; HEIGHT: 23%
}
#date_arrival_msg {
VISIBILITY: hidden
}
.style1 {color: #006699}
.style2 {color: #0066CC}
body,td,th {
font-family: Arial;
}
</STYLE>
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<SCRIPT>document.write(s3);</SCRIPT>
<TR>
<SCRIPT>document.write(s1);</SCRIPT>
<TD ROWSPAN="2" COLSPAN="5"> </TD>
<SCRIPT>document.write(s2);</SCRIPT>
<TD><IMG height=2 alt="" src="Berk Dersanesi_dosyalar/spacer.gif" width=1></TD>
</TR><TR><TD ROWSPAN="3"
background="Berk Dersanesi_dosyalar/template_01.png"></TD><TD ROWSPAN="3"
background="Berk Dersanesi_dosyalar/template_03.png"></TD><TD><IMG height=92
alt="" src="Berk Dersanesi_dosyalar/spacer.gif" width=1></TD> </TR><TR><TD> </TD>
<TD> </TD>
</TR><TR><TD COLSPAN="5" width="790">
<TABLE width=600 align=center>
<TBODY>
<TR>
<TD>
<SCRIPT>
var ehhe = 0;
var ders = new Array('Tur1','Sos1','Mat1','Fen1','Tur2','Sos2','Fen2','Mat2');
var browser = navigator.appName;
if (browser == "Netscape") browser = "n";
else if (browser == "Microsoft Internet Explorer") browser = "e";
var version = parseInt(navigator.appVersion);
if (navigator.appVersion.indexOf("MSIE 5.",1) != -1) version = 5;
else version = parseInt(navigator.appVersion);
function IEEvaluateKeyInput() {
var keyChar = event.keyCode;
if (keyChar == 10 || keyChar == 13){
ehhe++;
if (ehhe == 4) {
document.getElementById('dugme').click();
document.getElementById(ders[0] + '_Net').focus();
document.getElementById(ders[0] + '_Net').selstart = 0;
document.getElementById(ders[0] + '_Net').sellength = 20;
}
else {
document.getElementById(ders[ehhe] + '_Net').focus();
document.getElementById(ders[ehhe] + '_Net').selstart = 0;
document.getElementById(ders[ehhe] + '_Net').sellength = 20;
}
ehhe %= 4;
return false;
}
else{
return true;
}
}
window.document.onkeypress = IEEvaluateKeyInput;
</SCRIPT>
<SCRIPT language=JavaScript>
var Tur1_N,Sos1_N,Mat1_N,Fen1_N,Dil_N,Soz_N,Say_N,Tur2_,N,Sos2_N,Mat2_N,Fen2_N,Soz_Sp,Say_Sp,Dil_sp1,Dil_sp2,Dil_N1,Dil_N2;
function Puan_Hesapla()
{
Tur1_N = document.frm.Tur1_Net.value
Sos1_N = document.frm.Sos1_Net.value
Mat1_N = document.frm.Mat1_Net.value
Fen1_N = document.frm.Fen1_Net.value
Tur2_N = document.frm.Tur2_Net.value
Sos2_N = document.frm.Sos2_Net.value
Mat2_N = document.frm.Mat2_Net.value
Fen2_N = document.frm.Fen2_Net.value
//Dil_N = document.frm.Dil_Net.value
SAY1 = 124.689 + 2.278 * Mat1_N + 2.292 * Fen1_N + 0.773 * Tur1_N + 0.540 * Sos1_N
SOZ1 = 119.722 + 0.710 * Mat1_N + 0.680 * Fen1_N + 2.680 * Tur1_N + 1.966 * Sos1_N
EA1 = 119.966 + 2.216 * Mat1_N + 0.708 * Fen1_N + 2.230 * Tur1_N + 0.876 * Sos1_N
SAY2 = 104.611 + 1.276 * Mat1_N + 1.283 * Fen1_N + 0.866 * Tur1_N + 1.283 * Sos1_N + 1.467 * Mat2_N + 1.131 * Fen2_N
SOZ2 = 106.703 + 0.767 * Mat1_N + 0.735 * Fen1_N + 1.447 * Tur1_N + 1.062 * Sos1_N + 1.573 * Tur2_N + 1.358 * Sos2_N
EA2 = 103.188 + 1.209 * Mat1_N + 0.772 * Fen1_N + 1.216 * Tur1_N + 0.956 * Sos1_N + 1.322 * Tur2_N + 1.389 * Mat2_N
// Dil = 105.091 + 1.528 * Tur_N + 0.238 * Sos_N + 1.156 * Dil_N
document.frm.OSS_SOZ1.value = Math.round(SOZ1*1000.)/1000.
document.frm.OSS_SAY1.value = Math.round(SAY1*1000.)/1000.
document.frm.OSS_EA1.value = Math.round(EA1*1000.)/1000.
document.frm.OSS_SOZ2.value = Math.round(SOZ2*1000.)/1000.
document.frm.OSS_SAY2.value = Math.round(SAY2*1000.)/1000.
document.frm.OSS_EA2.value = Math.round(EA2*1000.)/1000.
// document.frm.OSS_DIL.value = Math.round(Dil*1000.)/1000.
}
</SCRIPT>
<STYLE type=text/css>.style1 {
FONT-SIZE: 12px; COLOR: #cc3300
}
.style3 {
FONT-SIZE: 24px; COLOR: #cc3300
}
</STYLE>
<BLOCKQUOTE><STRONG>ÖSS Puan Hesabı<BR>
</STRONG>Kutulara netlerinizi girip hesapla düğmesine tıklayın.<br>
Netlerinizi girerken ondalık kısmını belirtmek için "." kullanınız. (
Örnek: 14.84 ) </BLOCKQUOTE>
<FORM style="COLOR: navy" name=frm method=post>
<TABLE border=0 align="center" cellPadding=10 cellSpacing=0>
<TBODY style="COLOR: navy">
<TR>
<TD width=300 bgColor=#C6D2F0>
<TABLE bgColor=#C6D2F0 border=0>
<TBODY>
<TR>
<TD vAlign=top width=250><span class="style1"><FONT face=Tahoma
size=2>Türkçe 1</FONT></span></TD>
<TD vAlign=top width=50><FONT face=Tahoma size=2><INPUT size=5
name=Tur1_Net></FONT></TD></TR>
<TR>
<TD vAlign=top width=200><span class="style1"><FONT face=Tahoma
size=2>Sosyal Bilimler 1</FONT></span></TD>
<TD vAlign=top width=100><FONT face=Tahoma size=2><INPUT
size=5 name=Sos1_Net></FONT></TD></TR>
<TR>
<TD vAlign=top width=100><span class="style1"><FONT face=Tahoma
size=2>Matematik 1</FONT></span></TD>
<TD vAlign=top width=50><FONT face=Tahoma size=2><INPUT size=5
name=Mat1_Net></FONT></TD></TR>
<TR>
<TD vAlign=top width=100><span class="style1"><FONT face=Tahoma
size=2>Fen Bilimleri 1</FONT></span></TD>
<TD vAlign=top width=50><FONT face=Tahoma size=2><INPUT size=5
name=Fen1_Net></FONT></TD></TR>
<TR>
<TR>
<TD vAlign=top width=250><span class="style1"><FONT face=Tahoma
size=2>Edebiyat - Sosyal Bilimler</FONT></span></TD>
<TD vAlign=top width=50><FONT face=Tahoma size=2><INPUT size=5
name=Tur2_Net></FONT></TD></TR>
<TR>
<TD vAlign=top width=100><span class="style1"><FONT face=Tahoma
size=2>Sosyal Bilimler 2</FONT></span></TD>
<TD vAlign=top width=50><FONT face=Tahoma size=2><INPUT size=5
name=Sos2_Net></FONT></TD></TR>
<TR>
<TD vAlign=top width=100><span class="style1"><FONT face=Tahoma
size=2>Matematik 2</FONT></span></TD>
<TD vAlign=top width=50><FONT face=Tahoma size=2><INPUT size=5
name=Mat2_Net></FONT></TD></TR>
<TR>
<TD vAlign=top width=100><span class="style1"><FONT face=Tahoma
size=2>Fen Bilimleri 2</FONT></span></TD>
<TD vAlign=top width=50><FONT face=Tahoma size=2><INPUT size=5
name=Fen2_Net></FONT></TD></TR></TBODY></TABLE>
<TD width=3>
<DIV align=center><INPUT onclick=Puan_Hesapla() type=button value=Hesapla name=dugme>
<BR><BR><BR><INPUT id=reset1 type=reset value="Yeni Hesap" name=reset1>
</DIV>
<TD vAlign=top bgColor=#C6D2F0 rowSpan=5>
<TABLE bgColor=#C6D2F0 border=0>
<TBODY>
<TR>
<TD></TD>
<TD>
<TABLE cellSpacing=0 cellPadding=10 border=0>
<TBODY>
<TR>
<TD><STRONG>2006 ÖSS'deki tahmini puanınız</STRONG></TD>
<TR>
<TD align=middle>
<TABLE width=100 border=0>
<TBODY>
<TR>
<TD align=right><span class="style2"><FONT
size=3>SÖZEL 1</FONT></span></TD>
<TD><FONT face=Tahoma color=#800040 size=1><INPUT
style="FONT-WEIGHT: bold" size=7
name=OSS_SOZ1></FONT></TD></TR>
<TR>
<TD align=right><span class="style2"><FONT
size=3>SAY 1</FONT></span></TD>
<TD><FONT face=Tahoma color=#800040 size=1><INPUT
style="FONT-WEIGHT: bold" size=7
name=OSS_SAY1></FONT></TD></TR>
<TR>
<TD align=right><span class="style2"><FONT
size=3>EA 1</FONT></span></TD>
<TD><FONT face=Tahoma color=#800040 size=1><INPUT
style="FONT-WEIGHT: bold" size=7
name=OSS_EA1></FONT></TD></TR>
<TR>
<TD align=right><span class="style2"><FONT
size=3>SÖZEL 2</FONT></span></TD>
<TD><FONT face=Tahoma color=#800040 size=1><INPUT
style="FONT-WEIGHT: bold" size=7
name=OSS_SOZ2></FONT></TD></TR>
<TR>
<TD align=right><span class="style2"><FONT
size=3>SAY 2</FONT></span></TD>
<TD><FONT face=Tahoma color=#800040 size=1><INPUT
style="FONT-WEIGHT: bold" size=7
name=OSS_SAY2></FONT></TD></TR>
<TR>
<TD align=right><span class="style2"><FONT
size=3>EA 2</FONT></span></TD>
<TD><FONT face=Tahoma color=#800040 size=1><INPUT
style="FONT-WEIGHT: bold" size=7
name=OSS_EA2></FONT></TD></TR>
<TR></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TR></TBODY></TABLE></TR></TBODY></TABLE>
</BODY></HTML>
|
|
|
Konu Sayısı: 92
Takımınız:
Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
|
|
Yetkileriniz
|
Yeni Mesaj yazma yetkiniz Aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz Aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz Aktif değildir dir.
HTML-KodlarıKapalı
|
|
|
Bütün Zaman Ayarları WEZ +3 olarak düzenlenmiştir. Şu Anki Saat: 13:50 .
| |