Your IP : 216.73.217.87
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
?><!DOCTYPE html>
<html lang="bg">
<head>
<style>
@font-face
{
font-family: mf;
src: url("/font/calibri.woff");
}
@font-face
{
font-family: im;
src: url("/font/impact.ttf");
}
body, div, span, font
{
font-family: mf;
}
</style>
</head>
<body>
<?php
include("./conn.php");
$cards=mysqli_query($db, "SELECT * FROM `visitors` WHERE `a`='1' LIMIT 10");
while ($singlecard=mysqli_fetch_row($cards))
{
print("<div style=\"position: relative; width: 90mm; height: 50mm; border: 1px solid black; margin-right: 1.5mm; margin-bottom: 2mm; float: left; background-image: url('./vb.jpg'); background-size: 90mm 50mm;\">");
print(" <div style=\"position: absolute; top: 0mm; right: 1mm; font-size: 4mm; font-weight: bold; font-style: italic; text-align: right;\">карта за външни лица</div>");
print(" <img src=\"./logo.png\" style=\"position: absolute; top: 1mm; left: 1mm; width: 27mm; float: left;\">");
print(" <div>");
print(" <div style=\"position: absolute; top: 5mm; right: 1mm; text-align: right; font-weight: bold; font-family: im; font-size: 7.5mm;\">СУ „Васил Левски“</div>");
print(" <div style=\"position: absolute; top: 24mm; left: 1mm; width: 55mm; height: 17mm; background-color: transparent; text-align: center; font-weight: bold; font-family: im; font-size: 13mm; color: #FFFFFF; -webkit-transform: rotate(-20deg); -moz-transform: rotate(-20deg); -ms-transform: rotate(-20deg); -o-transform: rotate(-20deg); opacity: 0.6; text-shadow: 1px 1px #999999;\">ПРОПУСК</div>");
print(" <div style=\"position: absolute; top: 25mm; left: 0.5mm; text-align: center; width: 55mm; font-size: 5mm; font-weight: bold;\">");
print(" <br />".$singlecard[2]."");
print(" </div>");
print(" <div style=\"position: absolute; top: 15.5mm; left: 56mm; width: 32mm; height: 32mm; border: 0.5mm solid #000000; background-color: #ffffff;\">");
print(" </div>");
print(" <img src=\"https://api.qrserver.com/v1/create-qr-code/?size=600x600&data=".$singlecard[1]."\" style=\"position: absolute; top: 16.5mm; left: 57mm; width: 30.5mm; height: 30.5mm;\">");
print(" <div style=\"position: absolute; top: 14mm; left: 28mm; font-size: 4mm; font-weight: bold; font-style: italic;\">enter.vlevski.eu</div>");
print(" <div style=\"position: absolute; width: 50mm; top: 45mm; left: 1mm; font-size: 3.5mm; font-style: italic; text-align: left;\">".$singlecard[2]."</div>");
print(" </div>");
print("</div>");
}
?>
</body>
</html>