Update printer.php
[clinton/MarylandElectronicPetitionSignature.git] / admin / printer.php
CommitLineData
67780735
PM
1 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
2 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
3 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
ad670063 4<?PHP
cdb56a58
PM
5if(empty($_COOKIE['name'])){
6 die("Error #".__LINE__);
7}
ad670063 8foreach ($_POST['print'] as $k => $v) {
cdb56a58 9 $url = "http://md-petition.com/admin/print.php?id=$k&name=".$_COOKIE['name'];
67780735 10 echo "<img class='img-responsive' src='$url' alt='$k' style='page-break-after: always;'>";
ad670063
PM
11}
12die();