-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
468 lines (423 loc) · 28.6 KB
/
index.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
<?php if (isset($_REQUEST["join-member-input"])) {
$member = json_decode($_REQUEST["join-member-input"], true);
$rejoin = true;
}
else {
$member = array
(
"nom_adh" => "",
"prenom_adh" => "",
"pseudo_adh" => "",
"adresse_adh" => "",
"adresse2_adh" => "",
"cp_adh" => "",
"ville_adh" => "",
"pays_adh" => "FRANCE",
"tel_adh" => "",
"gsm_adh" => "",
"email_adh" => ""
);
$rejoin = false;
}
?><!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="">
<meta name="author" content="Parti Pirate">
<title>Parti Pirate - Don/Adhésion</title>
<!-- Bootstrap Core CSS -->
<link href="assets/css/bootstrap/bootstrap.min.css" rel="stylesheet" type="text/css">
<!-- Fonts -->
<link href="assets/css/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- Retina Images Plugin -->
<script src="assets/js/plugins/retina/retina.min.js"></script>
<!-- Jquery vmap Plugin -->
<link href="assets/css/plugins/jquery.vmap/jqvmap.css" rel="stylesheet" type="text/css" />
<!-- Plugin CSS -->
<link href="assets/css/plugins/hover/hover.min.css" rel="stylesheet">
<link href="assets/css/plugins/owl.carousel/owl.carousel.css" rel="stylesheet">
<link href="assets/css/plugins/owl.carousel/owl.theme.css" rel="stylesheet">
<link href="assets/css/plugins/owl.carousel/owl.transitions.css" rel="stylesheet">
<link href="assets/css/plugins/jquery.fs.wallpaper/jquery.fs.wallpaper.css" rel="stylesheet">
<link href="assets/css/plugins/magnific-popup/magnific-popup.css" rel="stylesheet">
<!-- Spectrum CSS -->
<!-- Note: spectrum.css is the default blue theme. To use another theme, uncomment the one you want and delete the rest, including the default spectrum.css! -->
<link href="assets/css/spectrum-purple.css" rel="stylesheet">
<link href="assets/css/pp.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["setDomains", ["*.template.partipirate.org"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//piwik.partipirate.org/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 2]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//piwik.partipirate.org/piwik.php?idsite=2" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<div id="wrapper">
<nav class="navbar navbar-dark navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
<i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="#page-top">
<span class="logo">
<img src="assets/img/logo.png" alt="">
</span>
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-right navbar-main-collapse">
<ul class="nav navbar-nav">
<!-- Hidden li included to remove active class from about link when scrolled up past about section -->
<li class="hidden">
<a href="#page-top"></a>
</li>
<li class="page-scroll">
<a href="#megaform" class="btn-join">Adhérer</a>
</li>
<li class="page-scroll">
<a href="#megaform" class="btn-donate">Donner</a>
</li>
<li class="dropdown">
<a id="total-line" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<span style="text-align: right;"></span>
<i class="glyphicon glyphicon-shopping-cart"></i>
<i class="caret" style="display: none;"></i>
</a>
<ul class="dropdown-menu" id="cart">
<li id="join-line" style="display: none;"><a href="#">Adhésion : <span style="float: right;"></span></a></li>
<li id="donate-line" style="display: none;"><a href="#">Don : <span style="float: right;"></span></a></li>
<li id="sl-join-line" style="display: none;"><a href="#">Adhésion à une section locale : <span style="float: right;"></span></a></li>
<li id="sl-donate-line" style="display: none;"><a href="#">Don à la section : <span style="float: right;"></span></a></li>
<li id="donate-budget-line-operation" style="display: none;"><a href="#">Don au budget «Fonctionnement» : <span style="float: right;"></span></a></li>
<li id="donate-budget-line-communication" style="display: none;"><a href="#">Don au budget «Communication» : <span style="float: right;"></span></a></li>
<li id="donate-budget-line-elections" style="display: none;"><a href="#">Don au budget «Elections» : <span style="float: right;"></span></a></li>
<li role="separator" class="divider"></li>
<li id="deduct-line" style="display: none;"><a href="#">Déduction fiscale : <span style="float: right;"></span></a></li>
<li id="cost-line" style="display: none;"><a href="#">Coût : <span style="float: right;"></span></a></li>
</ul>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<header class="video-bg">
<div class="intro-video intro-dark-bg container">
<div class="overlay"></div>
<div class="intro-body">
<div class="container">
<span class="page-scroll">
<a href="#megaform" class="btn btn-primary btn-square btn-lg">Donnez, adhérez</a>
</span>
<br>
<br>
<h1 class="brand-heading">
Parti<br><span class="text-primary">Pirate</span>
</h1>
<hr class="light">
<div class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="item active">
<h4>Le Parti Pirate défend la vie privée, c'est un élément essentiel pour la démocratie et la liberté d'expression</h4>
</div>
<div class="item">
<h4>Le Parti Pirate défend et promeut le logiciel libre</h4>
</div>
<div class="item">
<h4>Le Parti Pirate défend et encourage l'agriculture biologique sur tout le territoire</h4>
</div>
</div>
</div>
<div class="page-scroll" data-scrollreveal="enter bottom after .6s">
<a href="#megaform" class="btn btn-scroll-light sink">
<i class="fa fa-angle-double-down"></i>
</a>
</div>
</div>
</div>
</div>
</header>
<section id="megaform" class="megaform-1">
<form id="form">
<input type="hidden" id="type">
<input type="hidden" id="joinAmount">
<input type="hidden" id="donateAmount">
<input type="hidden" id="slJoin">
<input type="hidden" id="slAmount">
<input type="hidden" id="budget">
<input type="hidden" id="budgetAmount">
<div class="container">
<div class="row" style="min-height: 300px;">
<div class="col-lg-12 text-center step step-one" data-scrollreveal="move 0 over 1s">
<h2>Vous voulez ?</h2>
<hr class="primary">
<ul class="list-inline">
<li><button type="button" class="btn btn-primary btn-square btn-raised btn-join">Adhérer</button></li>
<li><button type="button" class="btn btn-primary btn-square btn-raised btn-donate">Donner</button></li>
</ul>
</div>
<div class="col-lg-12 text-center step step-join-two" style="display: none;">
<h2><a href=#step-join-two class="btn-prev">
<i class="fa fa-angle-double-left"></i>
</a> Vous souhaitez adhérer ?</h2>
<hr class="primary">
<ul class="list-inline">
<li><button type="button" style="width: 226px; height: 57px;" class="btn btn-primary btn-square btn-raised btn-24">Plein Tarif - 30€</button><br>
10€ après déduction fiscale
</li>
<li><button type="button" style="width: 226px; height: 57px;" class="btn btn-primary btn-square btn-raised btn-12">Demi Tarif - 15€<br>
<span style="font-size: smaller;">(étudiant, chômeur, personne en difficulté)</span></button><br>
5€ après déduction fiscale</li>
</ul>
</div>
<div class="col-lg-12 text-center step step-donate-two" style="display: none;">
<h2><a href=#step-donate-two class="btn-prev">
<i class="fa fa-angle-double-left"></i>
</a> Vous souhaitez donner pour ?</h2>
<hr class="primary">
<ul class="list-inline">
<li><button type="button" style="width: 246px; height: 57px;" class="btn btn-primary btn-square btn-raised btn-type-donate operation">Le Budget Fonctionnement</button></li>
<li><button type="button" style="width: 246px; height: 57px;" class="btn btn-primary btn-square btn-raised btn-type-donate communication">Le Budget Communication<br></button></li>
<li><button type="button" style="width: 246px; height: 57px;" class="btn btn-primary btn-square btn-raised btn-type-donate election">Le Budget Elections<br></button></li>
</ul>
<div style="display: none; max-width: 768px; min-height: 60px;" class="budget-comment operation-comment">Cet argent permettra de faire vivre le Parti Pirate en couvrant les dépenses courantes et incontournables : l’hébergement de serveurs, le paiement des experts-comptables, la domiciliation, etc. Un pirate a besoin de peu, mais il en a besoin quand même !</div>
<div style="display: none; max-width: 768px; min-height: 60px;" class="budget-comment communication-comment">Pas de secret : pour exister dans le paysage politique, il faut être visible, et cela a un prix ! Imprimer des tracts, des affiches, financer le déplacement des porte-paroles… Le pirate économise en cravate et veste Gucci, mais pas sur le reste !</div>
<div style="display: none; max-width: 768px; min-height: 60px;" class="budget-comment election-comment">Là on rentre dans le cœur de l’action : financer le matériel de campagne, les affiches et les tracts, les clips vidéo et tout le tralala. Les pirates sont prêts pour la bataille, mais il leur faut des armes ! Alors on ne lésine pas…</div>
<ul class="list-inline step step-donate-two-amount" style="display: none;">
<li><input type="number" min="0" max="7500" step="10" id="step-donate-two-amount" class="text-right" style="width: 100px; height: 57px; margin-top: 0; margin-bottom: 0; padding-right: 5px; font-size: 30px;"> €</li>
<li><button type="button" style="width: 226px; height: 57px; margin-top: -11px;" class="btn btn-primary btn-square btn-raised btn-Donate-budget-ok">Voilà !</button></li>
</ul>
</div>
<div class="col-lg-12 text-center step step-join-three" style="display: none;">
<h2><a href=#step-join-two class="btn-prev">
<i class="fa fa-angle-double-left"></i>
</a> Vous voulez donner plus ?</h2>
<hr class="primary">
<ul class="list-inline">
<li><button type="button" style="width: 226px; height: 57px;" class="btn btn-primary btn-square btn-raised btn-join-donate-more-yes">Oui</button></li>
<li><button type="button" style="width: 226px; height: 57px;" class="btn btn-primary btn-square btn-raised btn-join-donate-more-no">Non</button></li>
</ul>
<ul class="list-inline step step-join-three-amount" style="display: none;">
<li><input type="number" min="0" max="7500" step="10" id="step-join-three-amount" class="text-right" style="width: 100px; height: 57px; margin-top: 0; margin-bottom: 0; padding-right: 5px; font-size: 30px;"> €</li>
<li><button type="button" style="width: 226px; height: 57px; margin-top: -11px;" class="btn btn-primary btn-square btn-raised btn-join-donate-more-ok">Voilà !</button></li>
</ul>
</div>
<div class="col-lg-12 text-center step step-join-four" style="display: none;">
<h2><a href=#step-join-two class="btn-prev">
<i class="fa fa-angle-double-left"></i>
</a> Vous voulez rejoindre une section locale ?</h2>
<hr class="primary">
<ul class="list-inline">
<li><button type="button" style="width: 226px; height: 57px;" class="btn btn-primary btn-square btn-raised btn-join-sl-yes">Oui</button></li>
<li><button type="button" style="width: 226px; height: 57px;" class="btn btn-primary btn-square btn-raised btn-join-sl-no">Non</button></li>
</ul>
<ul class="list-inline step-join-four-sl" style="display: none;">
<li><div id="join-sl-map" style="width: 400px; height: 400px;"></div></li>
</ul>
<ul class="list-inline step-join-four-amount" style="display: none;">
<li>Et je lui donne</li>
<li><input type="number" min="0" max="7500" step="10" id="step-join-four-amount" class="text-right" style="width: 100px; height: 57px; margin-top: 0; margin-bottom: 0; padding-right: 5px; font-size: 30px;"> €</li>
<li><button type="button" style="width: 226px; height: 57px; margin-top: -11px;" class="btn btn-primary btn-square btn-raised btn-join-sl-ok">J'y fonce !</button></li>
</ul>
</div>
<div class="col-lg-12 text-center step step-identity" style="display: none;">
<h2>Et vous êtes ?</h2>
<hr class="primary">
<div class="form-group has-feedback">
<input type="hidden" id="rejoin" name="rejoin" value="<?php echo ($rejoin ? "true" : "false");?>">
<div class="form-group col-xs-12 col-md-6 floating-label-form-group controls">
<label>Votre prénom<sup class="required">*</sup></label>
<input type="text" class="form-control" placeholder="Votre prénom" id="firstname" name="firstname"
value="<?php echo $member["prenom_adh"];?>"
required data-validation-required-message="Veuillez entrer votre prénom.">
<p class="help-block text-danger"></p>
</div>
<div class="form-group col-xs-12 col-md-6 floating-label-form-group controls">
<label>Votre nom<sup class="required">*</sup></label>
<input type="text" class="form-control" placeholder="Votre nom" id="lastname" name="lastname"
value="<?php echo $member["nom_adh"];?>"
required data-validation-required-message="Veuillez entrer votre nom.">
<p class="help-block text-danger"></p>
</div>
</div>
<div class="form-group has-feedback">
<div class="form-group col-xs-12 col-md-6 floating-label-form-group controls">
<label>Votre adresse mail<sup class="required">*</sup></label>
<input type="text" class="form-control" placeholder="Votre adresse mail" id="email" name="email"
value="<?php echo $member["email_adh"];?>" <?php if ($rejoin) {?>readonly="readonly"<?php }?>
required data-validation-required-message="Veuillez entrer votre addresse mel.">
<p class="help-block text-danger"></p>
</div>
<div class="form-group col-xs-12 col-md-6 floating-label-form-group controls">
<label>Votre pseudo</label>
<input type="text" class="form-control" placeholder="Votre pseudo" id="pseudo" name="pseudo"
value="<?php echo $member["pseudo_adh"];?>"
data-validation-required-message="Veuillez entrer votre pseudo.">
<p class="help-block text-danger"></p>
</div>
</div>
<div class="form-group has-feedback">
<div class="form-group col-xs-12 col-md-6 floating-label-form-group controls">
<label>Votre téléphone</label>
<input type="text" class="form-control" placeholder="Votre téléphone" id="telephone" name="telephone"
value="<?php echo $member["tel_adh"];?>"
required data-validation-required-message="Veuillez entrer votre numéro de téléphone au format 0601020304 ou +33 6 01020304.">
<p class="help-block text-danger"></p>
</div>
<div id="gap" class="form-group col-xs-12 col-md-6 floating-label-form-group controls">
<label> </label>
<span class="form-control" style="border: none; background: none; -webkit-box-shadow: none;"> </span>
<p class="help-block text-danger"></p>
</div>
</div>
<div class="form-group has-feedback">
<div class="form-group col-xs-12 col-md-12 floating-label-form-group controls">
<label>Votre adresse<sup class="required">*</sup></label>
<input type="text" class="form-control" placeholder="Votre adresse" id="address" name="address"
value="<?php echo $member["adresse_adh"];?>"
required data-validation-required-message="Veuillez entrer votre adresse.">
<p class="help-block text-danger"></p>
</div>
</div>
<div class="form-group has-feedback">
<div class="form-group col-xs-12 col-md-2 floating-label-form-group controls">
<label>Votre code postal<sup class="required">*</sup></label>
<input type="text" class="form-control" placeholder="Votre code postal" id="zipCode" name="zipCode"
value="<?php echo $member["cp_adh"];?>"
data-validation-required-message="Veuillez entrer votre code postal.">
<p class="help-block text-danger"></p>
</div>
<div class="form-group col-xs-12 col-md-5 floating-label-form-group controls">
<label>Votre ville<sup class="required">*</sup></label>
<input type="text" class="form-control" placeholder="Votre ville" id="city" name="city"
value="<?php echo $member["ville_adh"];?>"
data-validation-required-message="Veuillez entrer votre ville.">
<p class="help-block text-danger"></p>
</div>
<div class="form-group col-xs-12 col-md-5 floating-label-form-group controls">
<label>Votre pays<sup class="required">*</sup></label>
<input type="text" class="form-control" placeholder="Votre pays" id="country" name="country"
value="<?php echo $member["pays_adh"];?>"
data-validation-required-message="Veuillez entrer votre pays.">
<p class="help-block text-danger"></p>
</div>
</div>
<label><sup class="required">*</sup> : Champ obligatoire</label>
<ul class="list-inline">
<li><button type="button" style="width: 226px; height: 57px;" class="btn btn-primary btn-square btn-raised btn-identity-ok">On y est presque :D</button></li>
</ul>
</div>
<div class="col-lg-12 text-center step step-disclaimer" style="display: none;">
<h2><a href="#step-identity" class="btn-prev">
<i class="fa fa-angle-double-left"></i>
</a> Attention point légal</h2>
<hr class="primary">
<div class="text-left">
Je certifie sur l'honneur que :<br>
<ul>
<li>je suis une personne physique et le règlement de ma cotisation et/ou don ne provient pas du compte d'une personne morale (société, association, collectivité...),</li>
<li>le paiement de ma cotisation et/ou don provient de mon compte bancaire personnel ou de celui de mon conjoint, concubin, ascendant ou descendant.</li>
<li>j'ai bien lu les mentions "à savoir" ci-dessous</li>
</ul>
<div>
Outre nos statuts et notre règlement intérieur que vous devrez lire puisque vous vous engagez à vous y conformer, nous vous invitons particulièrement à prendre connaissance de notre déclaration de politique générale et de notre programme avant de remplir votre demande d'adhésion.<br>
Les adhésions en tant que personne morale ne sont pas ouvertes.<br>
Cette adhésion est valide de date à date.<br>
Conformément à l’article 34 de la loi N°78-17 du 6 janvier 1978 dite « Informatique et Libertés », vous disposez d’un droit d’accès, de modification, de rectification, de suppression des données qui vous concernent sur simple demande à [email protected]. Le Parti Pirate est une association à but politique régie par la loi du 1er juillet 1901. L’Association de Financement du Parti Pirate, déclarée le 21/04/11 a été agréée le 18/07/11.<br>
Voir cette page pour notre politique informatique & Liberté, de confidentialité des données communiquées avant d'adhérer.<br>
Vous devez indiquer votre véritable identité car se faire établir et utiliser un reçu-don sous une fausse identité constituerait une fraude fiscale.<br>
Votre adhésion vaut pour une année de date à date et vous donne droit à une réduction annuelle d'impôt sur le revenu à hauteur de 66% de son montant, dans la double limite de 20% du revenu imposable et de 15 000 € de dons par foyer fiscal.<br>
Montant maximal total annuel 7500€ pour les dons consentis et les cotisations versées en qualité d’adhérent d’un ou de plusieurs partis politiques par une personne physique dûment identifiée à une ou plusieurs associations agréées en qualité d’association de financement ou à un ou plusieurs mandataires financiers d’un ou de plusieurs partis politiques, Réf : alinéa 1er de l’article 11-4 de la loi du 11 mars 1988 modifié le 11 octobre 2013.<br>
</div>
</div>
<br />
<ul class="list-inline">
<li><button type="button" style="width: 226px; height: 57px;" class="btn btn-primary btn-square btn-raised btn-disclaimer-ok">J'accepte et je pars payer</button></li>
</ul>
</div>
</div>
</div>
</form>
</section>
<footer class="footer-1">
<div class="upper">
<div class="container">
<div class="row">
<div class="col-md-3">
<h2 class="script">Parti Pirate</h2>
<address>
21, rue de la République<br>
75003 Paris<br>
</address>
</div>
<div class="col-md-3">
<h4>Liens</h4>
<ul class="list-unstyled footer-links">
<li>
<a href="https://www.partipirate.org" target="_blank">Site du Parti Pirate</a>
</li>
<li>
<a href="https://wiki.partipirate.org" target="_blank">Wiki du Parti Pirate</a>
</li>
</ul>
</div>
<div class="col-md-3">
<h4>Social</h4>
<ul class="list-inline">
<li>
<a href="https://www.facebook.com/partipiratefr/" class="btn btn-social-light btn-facebook"><i class="fa fa-fw fa-facebook"></i></a>
</li>
<li>
<a href="https://twitter.com/partipirate" class="btn btn-social-light btn-twitter"><i class="fa fa-fw fa-twitter"></i></a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="lower">
<div class="container">
<div class="row">
<div class="col-md-12">
<span class="small"><a href="licences.html" title="Information licence">Mentions légales</a></span>
</div>
</div>
</div>
</div>
</footer>
</div>
<div id="volunteerVeil" class="text-center simply-hidden">
<img src="assets/img/logo_pp.png" alt="Logo du Parti Pirate">
</div>
<script src="assets/js/min.js"></script>
<script src="assets/js/plugins/jquery.vmap/jquery.vmap.js"></script>
<script src="assets/js/plugins/jquery.vmap/jquery.vmap.france.js"></script>
<script src="assets/js/pp.js"></script>
<?php if ($rejoin) {?>
<script type="text/javascript">
$(function() {
$(".btn-join").click();
});
</script>
<?php } ?>
</body>
</html>