-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcerca_indirizzo.php
executable file
·117 lines (91 loc) · 2.15 KB
/
cerca_indirizzo.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Cerca per indirizzo</title>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="cxc.css" type="text/css" media="all">
<!-- CSS -->
<style type="text/css">
Body {
text-align: center;
}
.myForm {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size: 0.8em;
padding: 1em;
border: 1px solid #ccc;
border-radius: 3px;
}
.myForm * {
box-sizing: border-box;
}
.myForm label {
font-size: 0.9em;
}
.myForm .audioOnly {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
h3 {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
.myForm input {
border: 1px solid #ccc;
border-radius: 3px;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size: 0.9em;
padding: 0.5em;
}
.myForm input[type="d"]
.myForm input[type="s"],
.myForm input[type="c"] {
width: 12em;
}
.myForm button {
padding: 0.7em;
border-radius: 0.5em;
background: #eee;
border: none;
font-weight: bold;
margin-left: 1.5em;
}
.myForm button:hover {
background: #ccc;
cursor: pointer;
}
</style>
</head>
<body>
<?php
include "testata.php";
$db = new SQLite3('catasto.db');
?>
<label><h3>Ricerca per indirizzo</h3></label>
<form class="myForm" method="get" enctype="application/x-www-form-urlencoded" action="indirizzo_results.php">
<label class="input" for="d" >dug </label>
<input type="text" name="d" value="" style="width: 200px" autofocus placeholder="dug : VIA, PIAZZA, VICOLO ...">
<label class="input" for="s" >strada </label>
<input type="text" name="s" value="" style="width: 400px" required placeholder="strada e civico, es: settembre 273">
<label class="input" for="c">civico</label>
<input type="text" name="c" style="width: 200px" placeholder="civico">
<!--
<label>
<input type="checkbox"> Remember me
</label>
<button>invia</button>
-->
<button>
<input type="submit" value="INVIA">
</button>
</form>
</body>
</html>