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);
11 $
('#exampleModalCenterTitle').modal('show');
13 <!-- Button trigger modal
-->
14 <button type
="button" class="btn btn-primary" data
-toggle
="modal" data
-target
="#exampleModalCenter">
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
>
28 <div
class="modal-body">
31 <div
class="modal-footer">
32 <button type
="button" class="btn btn-primary">Sign
and Submit
</button
>
37 <div
class='col-sm-12'><img
class="img-responsive" src
='hard_copy.php'></div
>
40 <?PHP
include_once('footer.php');