|
<script
type = "text/javascript">
|
|
|
<!--
|
|
|
var
fiyat, fiyatd, fiyatk ;
|
|
|
function
buttonPressed ( )
|
|
|
{
fiyat = 0;
|
|
|
if(searchForm.kod3033.checked)
|
|
|
fiyat
+= 5;
|
|
|
if(searchForm.kod8010.checked)
|
|
|
fiyat
+= 36.90;
|
|
|
if(searchForm.kod1010.checked)
|
|
|
fiyat
+= 3.85;
|
|
|
if(searchForm.kod1030.checked)
|
|
|
fiyat
+= 3;
|
|
|
if(searchForm.kod3030.checked)
|
|
|
fiyat
+= 1.95;
|
|
|
if(searchForm.kod2022.checked)
|
|
|
fiyat
+= 1.75;
|
|
|
if(searchForm.kod2020.checked)
|
|
|
fiyat
+= 1.50;
|
|
|
if(searchForm.kod5000.checked)
|
|
|
fiyat
+= 39.50;
|
|
|
searchForm.toplam.value
= fiyat;
|
|
|
searchForm.fiyatd.value
= fiyat*0.05;
|
|
|
searchForm.fiyatk.value
= fiyat - (fiyat*0.05);
|
|
|
}
|
|
|
//
-->
|
|
|
</script>
|
|
|
</head>
|
|
|
<body>
|
|
|
<br>
|
|
|
<br>
|
|
|
<center><h1><b><font
color="blue">ALIŞVERİŞ</font></b></h1></center>
|
|
|
<p
align="center"><b> (Sepete ürün
ekleyiniz.)</b></p> </br>
|
|
|
<center><form
name="searchForm">
|
|
|
<table
border="1" width="780" height="38">
|
|
|
<tr>
|
|
|
<td
bgcolor="white" width="358"
align="center"><font color="#0066CC"
size="3">
|
|
|
<strong>
Meyve-Sebze </strong>
|
|
|
</font></td>
|
|
|
<td
bgcolor="white" width="160"
align="center"><font color="#0066CC"
size="3">
|
|
|
<strong>
İçecek </strong>
|
|
|
</font></td>
|
|
|
<td
bgcolor="white" width="153"
align="center"><font color="#0066CC"
size="3">
|
|
|
<strong>
Mutfak Eşyaları
|
|
|
</strong></font></td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<table
border="0" width="781" height="267">
|
|
|
<tr
align="right">
|
|
|
<td
width="150" height="122"
align="left">Domates
|
|
|
<input
type="checkbox" name="kod3033" value="5">
|
|
|
<img
onClick="resim1()" src="domates.jpg"
|
|
|
width="90"
height="90" align="left"><p>
|
|
|
<p>
|
|
|
<font
size="2">KG Fiyatı: 5 TL</font></p>
|
|
|
</td>
|
|
|
<td
width="150" height="122" align="left">Elma
|
|
|
<input
type="checkbox" name="kod1030" value="3" >
|
|
|
<img
onClick="resim2()" src="elma.jpg"
|
|
|
width="75"
height="75" align="left"><p>
|
|
|
<p>
|
|
|
<font
size="2">KG Fiyatı: 3 TL</font></p>
|
|
|
</td>
|
|
|
<td
width="150" align="center" height="122">Kola
|
|
|
<input
type="checkbox" name="kod2022" value="1.75"
>
|
|
|
<img
onClick="resim5()" src="cola.jpg"
|
|
|
width="90"
height="90" align="left"><p>
|
|
|
<p>
|
|
|
<font
size="2">Adet Fiyatı: 1.75 TL</font></p>
|
|
|
</td>
|
|
|
<td
width="145" align="center"
height="122">Kettle
|
|
|
<input
type="checkbox" name="kod5000" value="39.505"
>
|
|
|
<img
onClick="resim7()" src="kettle.jpg"
|
|
|
width="90"
height="90" align="left"> <p>
|
|
|
<p>
|
|
|
<font
size="2">Adet Fiyatı: 39.50 TL</font></p>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td
width="178" align="center"
height="41"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td
width="150" height="122"
align="left">Salatalık
|
|
|
<input
type="checkbox" name="kod1010" value="3.85"
>
|
|
|
<img
onClick="resim3()" src="salatalik.jpg"
|
|
|
width="90"
height="90" align="left"><p<>
|
|
|
<p>
|
|
|
<font
size="2">KG Fiyatı: 3.85 TL</font></p>
|
|
|
</td>
|
|
|
<td
width="150" height="122"
align="left">Portakal
|
|
|
<input
type="checkbox" name="kod3030" value="1.95"
>
|
|
|
<img
onClick="resim4()" src="portakal.jpg"
|
|
|
width="90"
height="90" align="left"><p>
|
|
|
<p>
|
|
|
<font
size="2">KG Fiyatı: 1.95 TL</font></p>
|
|
|
</td>
|
|
|
<td
width="150" align="center"
height="122">Fanta
|
|
|
<input
type="checkbox" name="kod2020" value="1.50"
>
|
|
|
<img
onClick="resim6()" src="fanta.jpg"
|
|
|
width="90"
height="90" align="left"><p>
|
|
|
<p>
|
|
|
<font
size="2">Adet Fiyatı: 1.50 TL </font></p>
|
|
|
</td>
|
|
|
<td
width="145" align="center"
height="122">Mikser
|
|
|
<input
type="checkbox" name="kod8010" value="36.90"
>
|
|
|
<img
onClick="resim8()" src="mikser.jpg"
|
|
|
width="90"
height="90"align="left"><p>
|
|
|
<p>
|
|
|
<font
size="2">Adet Fiyatı: 36.90 TL</font></p>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<br>
|
|
|
<br>
|
|
|
<br>
|
|
|
<p
align="center">
|
|
|
<font
size="5" color="#0066CC">Sepet Toplamı:</font>
|
|
|
</b></font>
|
|
|
<font
size="4">
|
|
|
<input
type="text" name="toplam" size="15">
TL</font>
|
|
|
</p>
|
|
|
<b>Online
alışverişte sepetteki ürünlere anında %5 indirim!</b><br>
|
|
|
<p>
|
|
|
<font
size="5" color="#0066CC">Uygulanan İndirim:
</font>
|
|
|
<font
size="4">
|
|
|
<input
type="text" name="fiyatd" size="15">
TL</font></p>
|
|
|
<p>
|
|
|
<font
size="5" color="#003399">Sepet Tutarı:
|
|
|
</font>
|
|
|
<font
size="4">
|
|
|
<input
type="text" name="fiyatk" size="15">
TL</font>
|
|
|
<p
align="center">
|
|
|
<p
align="center">
|
|
|
<input
name="search" type="button" value="Hesapla"
|
|
|
onclick
="buttonPressed()">
|
|
|
</p>
|
|
|
<p
align="center">
|
|
|
<img
border="0" src="sepet.png" width=3%
height=5%></p>
|
|
|
</font></b>
|
|
|
<b><font
size="4" align ="center"
color="#004b98">Hoşgeldiniz
|
|
|
</font></b></p>
|
|
|
<center><a
href="#top">Sayfa Başına Dön</a>
|
|
|
</form>
|
21 Ocak 2018 Pazar
Hesap Makinesi Kodu
Kaydol:
Kayıt Yorumları (Atom)
Hiç yorum yok:
Yorum Gönder