Отсканируйте данный QR-код для привязки устройства!
'; echo "
"; $company = $companyID; $dateToBin=pack("Cl*",3, $id); $datebase64=base64_encode($dateToBin); echo "$datebase64
"; $filename = $PNG_TEMP_DIR . $id . md5('binddevice'. '|' . $errorCorrectionLevel . '|7') . '.png'; QRcode::png($datebase64, $filename, $errorCorrectionLevel, 7, 2); echo ''; ?>
"; ?>
переход по ссылке"; } else { ?>
"; $query1 = mysqli_query($link, "SELECT * FROM device_requests ORDER BY date DESC"); echo "
"; echo""; while ($res1 = mysqli_fetch_array($query1)) { echo ""; echo ""; echo ""; echo ""; } echo"
Date: Device ID:
" . $res1['date'] . "" . $res1['device_id'] . "
"; /* $query1 = mysqli_query($link, "SELECT * FROM devices ORDER BY date DESC"); echo "
"; echo""; while ($res1 = mysqli_fetch_array($query1)) { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } echo"
Date: Device ID: Name OS Company_id
". $res1['date'] . "". $res1['id'] . "". $res1['name'] . "". $res1['os'] . "". $res1['company_id'] . "
"; */ } ?>