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