-
Notifications
You must be signed in to change notification settings - Fork 0
/
trova-clienti.php
executable file
·185 lines (173 loc) · 6.63 KB
/
trova-clienti.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Clientoteca - trova nuovi clienti e aumenta la visibilità della tua azienda!</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=Nmm4A9lo20">
<link rel="icon" type="image/png" href="/favicon-32x32.png?v=Nmm4A9lo20" sizes="32x32">
<link rel="icon" type="image/png" href="/favicon-16x16.png?v=Nmm4A9lo20" sizes="16x16">
<link rel="manifest" href="/manifest.json?v=Nmm4A9lo20">
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=Nmm4A9lo20" color="#5bbad5">
<link rel="shortcut icon" href="/favicon.ico?v=Nmm4A9lo20">
<meta name="theme-color" content="#ffffff">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/stile.css">
</head>
<body>
<header class="container">
<div class="row">
<div id="logo" class="col-sm-6">
<img src="img/logo.png" alt="Clientoteca">
<h2>Per chi ha voglia di fare!</h2>
</div>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="chi-siamo.html">Chi siamo</a></li>
<li><a href="servizi.html">Servizi</a></li>
<li><a href="trova-clienti.html" class="active">Area Interesse</a></li>
</ul>
</nav>
</div>
</header>
<main>
<section class="container-fluid slider home">
<div class="motto col-xs-12 col-sm-6">
<h1>Trova nuovi clienti!</h1>
<p>Un metodo testato, pratico e veloce per trovare nuovi clienti.</p>
</div>
</section>
<article class="container">
<h1 class="titolo">Come funziona Clientoteca</h1>
<section class="row services">
<div class="col-sm-3">
<div class="circle">1</div>
<p>Seleziona il settore in cui operi</p>
</div>
<div class="col-sm-3">
<div class="circle">2</div>
<p>Affina la ricerca definendo il tuo settore operativo</p>
</div>
<div class="col-sm-3">
<div class="circle">3</div>
<p>Scegli l'area di tuo interesse</p>
</div>
<div class="col-sm-3">
<div class="circle">4</div>
<p>Inserisci i tuoi contatti per ricevere i dati richiesti direttamente nella tua casella email!</p>
</div>
</section>
</article>
<article class="container-fluid">
<section class="row tabella">
<!-- <h1 class="titolo">Trova nuovi potenziali clienti!</h1>-->
<div class="col-sm-10 col-sm-offset-1">
<div class="row">
<form class="col-sm-12" action="" onsubmit="event.preventDefault();processForm();">
<div class="row">
<div class="col-sm-12" style="margin-bottom: 1.5em;">
<div class="col-sm-4">
<h3>Nome contatto</h3>
<input type="text" id="nomeContatto" placeholder="es. Mario Rossi">
</div>
<div class="col-sm-4">
<h3>Nome azienda</h3>
<input type="text" id="nomeAzienda" placeholder="es. Clientoteca S.r.l.">
</div>
<div class="col-sm-4">
<h3>Email</h3>
<input type="email" id="email" placeholder="es. [email protected]">
</div>
</div>
<div class="col-sm-12">
<div class="col-sm-4">
<!-- <h2>Tipo di attività</h2>-->
<h3>Settore</h3>
<select name="mega" id="mega">
<option selected value="defaultMega">Seleziona settore</option>
<?php
include('php/dbconnection.php');
$sql = "SELECT id,name FROM Mega";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
// output data of each row
while($row = $result->fetch_assoc()) {
echo "<option value=\" " . $row['id'] . " \">" . $row['name'] . "</option>";
}
} else {
echo "0 results";
}
$conn->close();
?>
</select>
</div>
<div class="col-sm-4">
<h3>Attività</h3>
<select name="macro" id="macro">
<option selected value="defaultMacro">Seleziona attività</option>
</select>
</div>
<div class="col-sm-4">
<!-- <h2>Geolocalizzazione</h2>-->
<h3>Regione</h3>
<select name="regione" id="regione">
<option selected value="defaultRegione">Seleziona regione</option>
</select>
</div>
</div>
</div>
<div class="col-sm-12">
<input type="submit" id="trovaClienti" value="Trova Clienti">
</div>
</form>
<div class="col-sm-12">
<p id="result"></p>
</div>
</div>
</section>
</article>
</main>
<footer class="container-fluid">
<div class="row">
<div class="col-sm-4">
<h3>Servizi offerti</h3>
<ul class="services">
<li>Web</li>
<li>Brochure</li>
<li>Sondaggi</li>
<li>Seo</li>
<li>Newsletter</li>
<li>Training</li>
</ul>
</div>
<div class="col-sm-4">
<h3>Clientoteca srl</h3>
<p>Via S. Caterina 74/D - Arco (TN)</p>
<p>P.IVA 02401360223</p>
<ul class="vertical">
<li><i class="fa fa-facebook-f fa-2x"></i></li>
<li><i class="fa fa-twitter fa-2x"></i></li>
<li><i class="fa fa-linkedin fa-2x"></i></li>
</ul>
</div>
<div class="col-sm-4">
<h3>Privacy policy</h3>
<a href="//www.iubenda.com/privacy-policy/7817932" class="iubenda-white iubenda-embed" title="Privacy Policy">Privacy Policy</a><script type="text/javascript">(function (w,d) {var loader = function () {var s = d.createElement("script"), tag = d.getElementsByTagName("script")[0]; s.src = "//cdn.iubenda.com/iubenda.js"; tag.parentNode.insertBefore(s,tag);}; if(w.addEventListener){w.addEventListener("load", loader, false);}else if(w.attachEvent){w.attachEvent("onload", loader);}else{w.onload = loader;}})(window, document);</script>
</div>
</div>
</footer>
<!-- SCRIPTS -->
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="js/script.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="js/wow.min.js"></script>
<script>
new WOW().init();
</script>
</body>
</html>