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