-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestas.php
81 lines (78 loc) · 1.18 KB
/
testas.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<html>
<head>
<style>
body {
padding-top: 250px;
font-size: 300%;
}
</style>
</head>
<body>
<?
$tdn="1";
$pazimys=$score/10;
$score=0;
if ($_POST['nemunas1']=="nemunas"){
$score+=5;
}
if ($_POST['neris1']=='neris'){
$score+=5;
}
if ($_POST['sesupe1']=='šesupe'){
$score+=5;
}
if ($_POST['merkys1']=='merkys'){
$score+=5;
}
if ($_POST['ula1']=='ūla'){
$score+=5;
}
if ($_POST['sirvinta1']=='širvinta'){
$score+=5;
}
if ($_POST['sventoji1']=='šventoji'){
$score+=5;
}
if ($_POST['nemunelis1']=='nemunėlis'){
$score+=5;
}
if ($_POST['levuo1']=='lėvuo'){
$score+=5;
}
if ($_POST['musa1']=='mūsa'){
$score+=5;
}
if ($_POST['susuve1']=='šušuvė'){
$score+=5;
}
if ($_POST['dubysa1']=='dubysa'){
$score+=5;
}
if ($_POST['venta1']=='venta'){
$score+=5;
}
if ($_POST['jura1']=='jūra'){
$score+=5;
}
if ($_POST['mitnija1']=='minija'){
$score+=5;
}
if ($_POST['mituva1']=='mituva'){
$score+=5;
}
if ($_POST['sesuvis1']=='šešuvis'){
$score+=5;
}
if ($_POST['virvyte1']=='virvytė'){
$score+=5;
}
if ($_POST['zeimena1']=='žeimena'){
$score+=5;
}
if ($_POST['nevezis1']=='nevėžis'){
$score+=5;
}
echo '<center>'.$score.'% Atsakyti teisingai! Taigi gautum '.$score/="10".'</center>';
?>
</body>
</html>