tefunction MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i"); close(); } } function newwind(url) { window.open(url,'newwind','width=600, height=400, left=100, top=100, menubar=no, status=no, location=no, toolbar=no, scrollbars=yes, resizable=yes'); } function kontrol() { if(document.form1.domyok.value!='') { document.form1.domcost.value=''; document.form1.domext.value=''; document.form1.dominfo.value=''; document.form1.domtmp.value=''; MM_setTextOfLayer('yill','',''); } if(document.form1.hostyok.value!='') { document.form1.hostcost.value=''; document.form1.hostinfo.value=''; document.form1.hosttmp.value=''; MM_setTextOfLayer('host','',''); } if(document.form1.go.value=='ok' && (document.form1.domno.value=='' || document.form1.domdurum.value==2)) { document.form1.go.value=''; document.form1.submit(); } if(document.form1.domtmp.value!='' && document.form1.go.value=='') { document.form1.kontrolet.disabled=false; } if(document.form1.domtmp.value=='') { document.form1.kontrolet.disabled=true; } if(document.form1.domtmp.value!=document.form1.domno.value || document.form1.yil.value!=document.form1.yiltmp.value ) { if(document.form1.hostcost.value!='') { var hostcost=parseInt(document.form1.hostcost.value); } else { var hostcost=0; } if(document.form1.domcost.value!='') { var domcost=parseInt(document.form1.domcost.value); } else { var domcost=0; } document.form1.yiltmp.value=document.form1.yil.value; var yillar=document.form1.yil.value; if(yillar==0)yillar=1; domcost=domcost*yillar; if(MM_findObj('yilsec') && document.form1.domyok.value =='') { if(document.form1.domtmp.value!=document.form1.domno.value)MM_setTextOfLayer('yill','','   Süre : yıl.'); } else if(document.form1.domyok.value =='') { MM_setTextOfLayer('yill','','Süre: yıl.'); } MM_setTextOfLayer('domn','',document.form1.dominfo.value); var total= hostcost+domcost; var lastotal= total *1.18; lastotal=Math.round(lastotal); document.form1.domno.value=document.form1.domtmp.value; MM_setTextOfLayer('toplam','','Toplam : ' + total + ' USD + KDV ( = '+lastotal+' USD )'); MM_setTextOfLayer('baslik','','Alışveriş Sepetiniz :'); if(document.form1.domtmp.value=='' && document.form1.hosttmp.value=='') { MM_setTextOfLayer('baslik','',''); MM_setTextOfLayer('toplam','',''); } } if(document.form1.hosttmp.value!=document.form1.hostno.value) { if(document.form1.hostcost.value!='') { var hostcost=parseInt(document.form1.hostcost.value); } else { var hostcost=0; } if(document.form1.domcost.value!='') { var domcost=parseInt(document.form1.domcost.value); } else { var domcost=0; } var total= hostcost+domcost; var lastotal= total *1.18; lastotal=Math.round(lastotal); document.form1.hostno.value=document.form1.hosttmp.value; var odemesekliformu='
Lütfen ödeme şeklini seçiniz; : Yıllık Aylık'; MM_setTextOfLayer('host','',document.form1.hostinfo.value + odemesekliformu); MM_setTextOfLayer('baslik','','Alışveriş Sepetiniz :'); MM_setTextOfLayer('toplam','','Toplam : ' + total + ' USD + KDV ( = '+lastotal+' USD )'); if(document.form1.domtmp.value=='' && document.form1.hosttmp.value=='') { MM_setTextOfLayer('baslik','',''); MM_setTextOfLayer('toplam','',''); } } var domtmp2=''; if(document.form1.domdurum.value !='' && document.form1.domdurum.value != domtmp2) { domtmp2=document.form1.domdurum.value; document.form1.domdurum.value=''; if(domtmp2==2) { MM_setTextOfLayer('domdur','',document.form1.domain.value+' alan adı alınabilir durumda.'); // document.form1.domain.value=document.form1.go.value; // return true; } if(domtmp2==1) { if(document.form1.domno.value!='') { domtmp3='1'; MM_setTextOfLayer('domdur','','\"'+document.form1.domain.value+'\" alan adı alınmış. Whois bilgilerini gormek icin tıklayın '); document.form1.git.value='Siparis Ver'; document.form1.git.disabled=false; document.form1.kontrolet.disabled=false; } return false; } return false; } return false; } if(!Array.prototype.shift) { // if this method does not exist.. Array.prototype.shift = function(){ firstElement = this[0]; this.reverse(); this.length = Math.max(this.length-1,0); this.reverse(); return firstElement; } } function domcontrol(doit) { var domstring=document.form1.domain.value; var domext=document.form1.domext.value; var domtmp=document.form1.domtmp.value; var domarray, domsearch; if(domstring == '' && domtmp == '') { MM_setTextOfLayer('domdur','','Alan adı almayacak olasanız bile alacağınız hosting hizmeti ile birilikte kullanacağınız alan adını aşağıdaki alana girmelisiniz.'); return false; } if(domstring == '' && domtmp != '') { MM_setTextOfLayer('domdur','','Lütfen satın alacağınız alan adını girin.'); return false; } domarray = domstring.split('.'); domarray.shift(); domarray=domarray.join('.'); domsearch='-'+domarray+'-'; if(domext !='' && domext.search(domsearch) == -1) { MM_setTextOfLayer('domdur','',' \"'+document.form1.domain.value+'\" alan adı seçstiginiz alan adı tipiyle uyuşmuyor.'); return false; } if(document.form1.domno.value!='' || doit=='d') { whois.location='who.php?dom=' + document.form1.domain.value; if(doit=='d')return true; } if(document.form1.domno.value!='' || doit=='go') { if( document.form1.domno.value == '' && document.form1.hostno.value == '') { MM_setTextOfLayer('domdur','','Lutfen alacaginiz hizmetleri secin.'); return false; } document.form1.go.value='ok'; document.form1.git.value='Lutfen Bekleyin'; document.form1.git.disabled=true; document.form1.kontrolet.disabled=true; if(document.form1.domdurum.value!='1')return false; } return false; } function getir(a,b) { if (a!=0) { if (a==1 || a=='1') { uye_g(b-1); } else { a=a-2; b=b-2; // alert('index : '+n+'harf : '+k); for(i=1;i<=10;i++) { form1.elements[i+1+(b*10)+b].value = form1.elements[i+(a*10)+a+1].value; } } } } function getir2(a,b) { if (a!=0) { if (a==1 || a=='1') { uye_g2(b-1); } else { a=a-2; b=b-2; // alert('index : '+n+'harf : '+k); for(i=1;i<=10;i++) { form1.elements[i+1+(b*10)+b].value = form1.elements[i+(a*10)+a+1].value; } } } } function domain_onay(){ //u_knt(); if(!document.form1.R_Ad) { document.form1.submit(); return; } for(x=1;x<=4;x++){ if (x==1){k="R";mesaj="Registrant Bilgileri Bölümünde ";} else if (x==2){k="A";mesaj="Admin Bilgileri Bölümünde";} else if (x==3){k="T";mesaj="Teknik Yetkili Bilgileri Bölümünde";} else if (x==4){k="H";mesaj="Ödeme Yetkili Bilgileri Bölümünde";} if (!document.form1[k+"_Ad"].value!=""){alert(mesaj+"\n\"Ad\" alanını boş bıraktınız....!");form1[k+"_Ad"].focus(); return false}; if (!document.form1[k+"_Soyad"].value!=""){alert(mesaj+"\n \"Soyadı\" alanını boş bıraktınız....!");form1[k+"_Soyad"].focus();return false}; if (!document.form1[k+"_Adres1"].value!=""){alert(mesaj+"\n\"Adres\" alanını boş bıraktınız....!");form1[k+"_Adres1"].focus();return false}; if (!document.form1[k+"_Adres2"].value!=""){alert(mesaj+"\n\"Adres 2\" alanını boş bıraktınız....!");form1[k+"_Adres2"].focus();return false}; if (!document.form1[k+"_Sehir"].value!=""){alert(mesaj+"\nŞehir Seçmediniz..!");form1[k+"_Sehir"].focus();return false}; if (!document.form1[k+"_Ulke"].value!=""){alert(mesaj+"\nÜlke Seçmediniz....!");form1[k+"_Ulke"].focus();return false}; if (!document.form1[k+"_Telefon"].value!=""){alert(mesaj+"\n\"Telefon\" alanını boş bıraktınız....!");form1[k+"_Telefon"].focus();return false}; if (!document.form1[k+"_EMail"].value!=""){alert(mesaj+"\n\"Email\" alanını boş bıraktınız....!");form1[k+"_EMail"].focus();return false};} if (!document.form1.DNS1.value!=""){alert("DNS Bilgileri Bölümünde \nBirinci DNS alanını boş bıraktınız....!");form1.DNS1.focus();return false}; if (!document.form1.IP1.value!=""){alert("DNS Bilgileri Bölümünde \nBirinci IP alanını boş bıraktınız....!");form1.IP1.focus();return false}; if (!document.form1.DNS2.value!=""){alert("DNS Bilgileri Bölümünde \nİkinci DNS alanını boş bıraktınız....!");form1.DNS2.focus();return false}; if (!document.form1.IP2.value!=""){alert("DNS Bilgileri Bölümünde \nİkinci IP alanını boş bıraktınız....!");form1.IP2.focus();return false}; document.form1.submit();} function domain_onay2(){ //u_knt(); if(!document.form1.R_Ad) { document.form1.submit(); return; } for(x=1;x<=4;x++){ if (x==1){k="r";mesaj="Registrant Bilgileri Bölümünde ";} else if (x==2){k="a";mesaj="Admin Bilgileri Bölümünde";} else if (x==3){k="t";mesaj="Teknik Yetkili Bilgileri Bölümünde";} else if (x==4){k="o";mesaj="Ödeme Yetkili Bilgileri Bölümünde";} if (!document.form1[k+"ad"].value!=""){alert(mesaj+"\n\"Ad\" alanını boş bıraktınız....!");form1[k+"_Ad"].focus(); return false}; if (!document.form1[k+"soy"].value!=""){alert(mesaj+"\n\"Soyadı\" alanını boş bıraktınız....!");form1[k+"_Soyad"].focus();return false}; if (!document.form1[k+"adr"].value!=""){alert(mesaj+"\n\"Adres\" alanını boş bıraktınız....!");form1[k+"_Adres1"].focus();return false}; if (!document.form1[k+"adr2"].value!=""){alert(mesaj+"\n\"Adres 2\" alanını boş bıraktınız....!");form1[k+"_Adres2"].focus();return false}; if (!document.form1[k+"seh"].value!=""){alert(mesaj+"\nŞehir Seçmediniz..!");form1[k+"_Sehir"].focus();return false}; if (!document.form1[k+"ulk"].value!=""){alert(mesaj+"\nÜlke Seçmediniz....!");form1[k+"_Ulke"].focus();return false}; if (!document.form1[k+"tel"].value!=""){alert(mesaj+"\n\"Telefon\" alanını boş bıraktınız....!");form1[k+"_Telefon"].focus();return false}; if (!document.form1[k+"epo"].value!=""){alert(mesaj+"\n\"Email\" alanını boş bıraktınız....!");form1[k+"_EMail"].focus();return false};} if (!document.form1.dns1.value!=""){alert("DNS Bilgileri Bölümünde \nBirinci DNS alanını boş bıraktınız....!");form1.DNS1.focus();return false}; if (!document.form1.ip1.value!=""){alert("DNS Bilgileri Bölümünde \nBirinci IP alanını boş bıraktınız....!");form1.IP1.focus();return false}; if (!document.form1.dns2.value!=""){alert("DNS Bilgileri Bölümünde \nİkinci DNS alanını boş bıraktınız....!");form1.DNS2.focus();return false}; if (!document.form1.ip2.value!=""){alert("DNS Bilgileri Bölümünde \nİkinci IP alanını boş bıraktınız....!");form1.IP2.focus();return false}; form1.submit();} function uye_g2(n) { if (n!=0) { if (n==1){k="r";} else if (n==2){k="a";} else if (n==3){k="t";} else if (n==4){k="o";} document.form1[k+"ad"].value=document.form1.ad.value; document.form1[k+"soy"].value=document.form1.soy.value; document.form1[k+"adr"].value=document.form1.adr1.value; document.form1[k+"adr2"].value=document.form1.adr2.value; document.form1[k+"seh"].value=document.form1.seh.value; document.form1[k+"ulk"].value=document.form1.ulk.value; document.form1[k+"pko"].value=document.form1.pko.value; document.form1[k+"tel"].value=document.form1.tel.value; document.form1[k+"fax"].value=document.form1.fax.value; document.form1[k+"epo"].value=document.form1.ep1.value; } } function uye_dns() { document.form1["dns1"].value=document.form1.mdns1.value; document.form1["ip1"].value=document.form1.mip1.value; document.form1["dns2"].value=document.form1.mdns2.value; document.form1["ip2"].value=document.form1.mip2.value; document.form1["dns3"].value=document.form1.mdns3.value; document.form1["ip3"].value=document.form1.mip3.value; } function uye_g(n) { if (n!=0) { if (n==1){k="R";} else if (n==2){k="A";} else if (n==3){k="T";} else if (n==4){k="H";} document.form1[k+"_Ad"].value=document.form1.ad.value; document.form1[k+"_Soyad"].value=document.form1.soy.value; document.form1[k+"_Adres1"].value=document.form1.adr1.value; document.form1[k+"_Adres2"].value=document.form1.adr2.value; document.form1[k+"_Sehir"].value=document.form1.seh.value; document.form1[k+"_Ulke"].value=document.form1.ulk.value; document.form1[k+"_PostaKodu"].value=document.form1.pko.value; document.form1[k+"_Telefon"].value=document.form1.tel.value; document.form1[k+"_Fax"].value=document.form1.fax.value; document.form1[k+"_EMail"].value=document.form1.ep1.value; } } function ozz() { if(document.form1.oztmp.value=='') { MM_setTextOfLayer('ozet','',document.form1.oz.value); document.form1.oztmp.value='1'; } else { MM_setTextOfLayer('ozet','',''); document.form1.oztmp.value=''; } } function oran() { if(form1.elements[0].checked==true) { document.form1.f2.value=Math.round(document.form1.f1.value*0.70); document.form1.f3.value=Math.round(document.form1.f2.value*0.70); document.form1.f4.value=Math.round(document.form1.f3.value*0.70); } if(form1.elements[1].checked==true) { document.form1.f2.value=document.form1.f1.value-1; document.form1.f3.value=document.form1.f2.value-1; document.form1.f4.value=document.form1.f3.value-1; } } function tahsilet() { var yenibakiye; if(document.form1.tutar.value!='' && !isNaN(document.form1.tutar.value) ) { miktar=parseInt(document.form1.tutar.value); yenibakiye = parseInt(document.form1.obakiye.value) + miktar; MM_setTextOfLayer('ybakiye','',yenibakiye); if(miktar<=0) { document.form1.havale.disabled=true; document.form1.provizyon.disabled=true; document.form1.odemenasil[0].disabled=true; document.form1.odemenasil[1].disabled=true; } else { document.form1.havale.disabled=false; document.form1.provizyon.disabled=false; document.form1.odemenasil[0].disabled=false; document.form1.odemenasil[1].disabled=false; } } } function HighlightAll(tempval) { tempval.select() if (document.all&&tempval.value!=''){ therange=tempval.createTextRange() therange.execCommand("Copy") window.status="İçerik seçildi ve panoya kopyalandı!" setTimeout("window.status=''",5400); } } function domGoster(dom,sunucu){ if($("#hostkontrol").attr('checked'))hostkontrol=1; else hostkontrol=''; if($("#epostakontrol").attr('checked'))epostakontrol=1; else epostakontrol=''; if($("#ftpkontrol").attr('checked'))ftpkontrol=1; else ftpkontrol=''; document.location='/s2.php?su='+sunucu+'&islem=1&dom='+dom+'&'+'hostkontrol='+hostkontrol+'&ftpkontrol='+ftpkontrol+'&epostakontrol='+epostakontrol; }