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 | ?> | |
56b829ee PM |
10 | <script> |
11 | $('#exampleModalCenterTitle').modal('show'); | |
12 | </script> | |
162b6ce2 | 13 | |
56b829ee PM |
14 | <!-- Modal --> |
15 | <div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> | |
16 | <div class="modal-dialog modal-dialog-centered" role="document"> | |
17 | <div class="modal-content"> | |
18 | <div class="modal-header"> | |
19 | <h5 class="modal-title" id="exampleModalLongTitle">Adopt Digital Signature</h5> | |
20 | <button type="button" class="close" data-dismiss="modal" aria-label="Close"> | |
21 | <span aria-hidden="true">×</span> | |
22 | </button> | |
23 | </div> | |
24 | <div class="modal-body"> | |
25 | ... | |
26 | </div> | |
27 | <div class="modal-footer"> | |
28 | <button type="button" class="btn btn-primary">Sign and Submit</button> | |
29 | </div> | |
30 | </div> | |
31 | </div> | |
32 | </div> | |
de92e95d | 33 | <div class='col-sm-12'><img class="img-responsive" src='<?PHP echo $d['petition_jpg'];?>'></div> |
162b6ce2 | 34 | |
162b6ce2 | 35 | |
1fb7899f | 36 | <?PHP include_once('footer.php'); |