Update printer.php
authorPatrick McGuire <insidenothing@gmail.com>
Mon, 25 May 2020 15:09:54 +0000 (11:09 -0400)
committerGitHub <noreply@github.com>
Mon, 25 May 2020 15:09:54 +0000 (11:09 -0400)
admin/printer.php

index 98d1e98..cea74ea 100644 (file)
@@ -1,6 +1,9 @@
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
 <?PHP
 foreach ($_POST['print'] as $k => $v) {
     $url = "http://md-petition.com/admin/print.php?id=$k";
-    echo "<img src='$url' alt='$k' style='page-break-after: always;'>";
+    echo "<img class='img-responsive' src='$url' alt='$k' style='page-break-after: always;'>";
 }
 die();