Commit | Line | Data |
---|---|---|
de92e95d PM |
1 | <?PHP |
2 | include_once('header.php'); | |
3 | if (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 | 21 | <script> |
30f18715 PM |
22 | |
23 | $('#exampleModalCenter').modal('show'); | |
56b829ee | 24 | </script> |
d2f5609a PM |
25 | <!-- Button trigger modal --> |
26 | <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter"> | |
27 | Launch demo modal | |
28 | </button> | |
162b6ce2 | 29 | |
56b829ee PM |
30 | <!-- Modal --> |
31 | <div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> | |
32 | <div class="modal-dialog modal-dialog-centered" role="document"> | |
33 | <div class="modal-content"> | |
34 | <div class="modal-header"> | |
35 | <h5 class="modal-title" id="exampleModalLongTitle">Adopt Digital Signature</h5> | |
36 | <button type="button" class="close" data-dismiss="modal" aria-label="Close"> | |
37 | <span aria-hidden="true">×</span> | |
38 | </button> | |
39 | </div> | |
40 | <div class="modal-body"> | |
9545d56d | 41 | <span class="sig"><?PHP echo $_COOKIE['pNAME'];?></span> |
56b829ee PM |
42 | </div> |
43 | <div class="modal-footer"> | |
44 | <button type="button" class="btn btn-primary">Sign and Submit</button> | |
45 | </div> | |
46 | </div> | |
47 | </div> | |
48 | </div> | |
5f7975e1 | 49 | <div class='col-sm-12'><img class="img-responsive" src='hard_copy.php'></div> |
162b6ce2 | 50 | |
162b6ce2 | 51 | |
1fb7899f | 52 | <?PHP include_once('footer.php'); |