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