| 1 |
lars |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
2 |
<html>
|
|
|
3 |
<head>
|
|
|
4 |
<title>Image_Barcode Class Test</title>
|
|
|
5 |
<style type="text/css">
|
|
|
6 |
body {
|
|
|
7 |
font-family: Verdana;
|
|
|
8 |
font-size: 10pt;
|
|
|
9 |
}
|
|
|
10 |
h1 {
|
|
|
11 |
font-size: 14pt;
|
|
|
12 |
}
|
|
|
13 |
h2 {
|
|
|
14 |
font-size: 12pt;
|
|
|
15 |
}
|
|
|
16 |
.box {
|
|
|
17 |
border: 1px solid rgb(15, 169, 229) ! important;
|
|
|
18 |
margin: 10px ! important;
|
|
|
19 |
padding: 10px ! important;
|
|
|
20 |
font-size: 0.9em ! important;
|
|
|
21 |
font-weight: normal ! important;
|
|
|
22 |
text-decoration: none ! important;
|
|
|
23 |
line-height: 1.5em ! important;
|
|
|
24 |
color: rgb(0, 0, 0) ! important;
|
|
|
25 |
background-color: rgb(231, 244, 252) ! important;
|
|
|
26 |
white-space: normal ! important;
|
|
|
27 |
cursor: pointer ! important;
|
|
|
28 |
}
|
|
|
29 |
.test {
|
|
|
30 |
border: 1px solid;
|
|
|
31 |
margin: 10px ! important;
|
|
|
32 |
padding: 10px ! important;
|
|
|
33 |
}
|
|
|
34 |
</style>
|
|
|
35 |
</head>
|
|
|
36 |
<body style="background-image: url(#FFFFFF);">
|
|
|
37 |
<?php
|
|
|
38 |
|
|
|
39 |
$num = "019671015005";
|
|
|
40 |
|
|
|
41 |
$num = isset($_REQUEST) && is_array($_REQUEST) && isset($_REQUEST['num']) ? $_REQUEST['num'] : $num;
|
|
|
42 |
|
|
|
43 |
?>
|
|
|
44 |
<div class="box">
|
|
|
45 |
<h1>Image_Barcode Class test</h1>
|
|
|
46 |
Test number: <b><?php echo($num) ?></b>
|
|
|
47 |
</div>
|
|
|
48 |
|
|
|
49 |
<div class="test">
|
|
|
50 |
<h2>Interleave 2 of 5 (png):</h2>
|
|
|
51 |
<img src="barcode_img.php?num=<?php echo($num) ?>&type=int25&imgtype=png"
|
|
|
52 |
alt="PNG: <?php echo($num) ?>" title="PNG: <?php echo($num) ?>">
|
|
|
53 |
</div>
|
|
|
54 |
|
|
|
55 |
<div class="test">
|
|
|
56 |
<h2>Ean13 (png):</h2>
|
|
|
57 |
<img
|
|
|
58 |
src="barcode_img.php?num=<?php echo($num) ?>&type=ean13&imgtype=png"
|
|
|
59 |
alt="PNG: <?php echo($num) ?>" title="PNG: <?php echo($num) ?>">
|
|
|
60 |
</div>
|
|
|
61 |
|
|
|
62 |
<div class="test">
|
|
|
63 |
<h2>Code39 (png):</h2>
|
|
|
64 |
<img
|
|
|
65 |
src="barcode_img.php?num=<?php echo($num) ?>&type=Code39&imgtype=png"
|
|
|
66 |
alt="PNG: <?php echo($num) ?>" title="PNG: <?php echo($num) ?>">
|
|
|
67 |
</div>
|
|
|
68 |
|
|
|
69 |
<div class="test">
|
|
|
70 |
<h2>UPC-A (png):</h2>
|
|
|
71 |
<img
|
|
|
72 |
src="barcode_img.php?num=<?php echo($num) ?>&type=upca&imgtype=png"
|
|
|
73 |
alt="PNG: <?php echo($num) ?>" title="PNG: <?php echo($num) ?>">
|
|
|
74 |
</div>
|
|
|
75 |
|
|
|
76 |
<div class="test">
|
|
|
77 |
<h2>Code128 (png):</h2>
|
|
|
78 |
<img
|
|
|
79 |
src="barcode_img.php?num=<?php echo($num) ?>&type=code128&imgtype=png"
|
|
|
80 |
alt="PNG: <?php echo($num) ?>" title="PNG: <?php echo($num) ?>">
|
|
|
81 |
</div>
|
|
|
82 |
|
|
|
83 |
<div class="test">
|
|
|
84 |
<h2>PostNet (png):</h2>
|
|
|
85 |
<img
|
|
|
86 |
src="barcode_img.php?num=<?php echo($num) ?>&type=postnet&imgtype=png"
|
|
|
87 |
alt="PNG: <?php echo($num) ?>" title="PNG: <?php echo($num) ?>">
|
|
|
88 |
</div>
|
|
|
89 |
|
|
|
90 |
</body>
|
|
|
91 |
</html>
|