Update petition.php
[clinton/MarylandElectronicPetitionSignature.git] / petition.php
CommitLineData
de92e95d
PM
1<?PHP
2include_once('header.php');
3if (isset($_POST['petition'])){
4 $id = $_POST['petition'];
5 $q = "select * from petitions where petition_id = '$id'";
6 $r = $petition->query($q);
7 $d = mysqli_fetch_array($r);
8}
9?>
9545d56d
PM
10<style>
11@font-face {
12 font-family: "myFirstFont";
32286a4c 13 src: url("files/Claston Script.ttf");
9545d56d
PM
14}
15.sig {
16 font-family: "myFirstFont";
8e6694a5 17 font-size: 40px;
9545d56d
PM
18}
19</style>
20
56b829ee
PM
21<script>
22 $('#exampleModalCenterTitle').modal('show');
23</script>
d2f5609a
PM
24<!-- Button trigger modal -->
25<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter">
26 Launch demo modal
27</button>
162b6ce2 28
56b829ee
PM
29<!-- Modal -->
30<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
31 <div class="modal-dialog modal-dialog-centered" role="document">
32 <div class="modal-content">
33 <div class="modal-header">
34 <h5 class="modal-title" id="exampleModalLongTitle">Adopt Digital Signature</h5>
35 <button type="button" class="close" data-dismiss="modal" aria-label="Close">
36 <span aria-hidden="true">&times;</span>
37 </button>
38 </div>
39 <div class="modal-body">
9545d56d 40 <span class="sig"><?PHP echo $_COOKIE['pNAME'];?></span>
56b829ee
PM
41 </div>
42 <div class="modal-footer">
43 <button type="button" class="btn btn-primary">Sign and Submit</button>
44 </div>
45 </div>
46 </div>
47</div>
5f7975e1 48<div class='col-sm-12'><img class="img-responsive" src='hard_copy.php'></div>
162b6ce2 49
162b6ce2 50
1fb7899f 51<?PHP include_once('footer.php');