mirror of
https://github.com/frontendnetwork/vegancheck.me
synced 2024-11-15 00:27:08 +00:00
7aaadc60e7
Co-Authored-By: JokeNetwork Bot <89844889+jokenetwork-bot@users.noreply.github.com>
67 lines
No EOL
3.3 KiB
PHP
67 lines
No EOL
3.3 KiB
PHP
<!DOCTYPE html>
|
|
<!-- VeganCheck.me is Open Source
|
|
Check the project out on GitHub:
|
|
https://github.com/jokenetwork/vegancheck.me
|
|
-->
|
|
<html lang="en">
|
|
<head>
|
|
<title>Is it Vegan? - VeganCheck.me</title>
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="description" content="Check if a product is Vegan or not with VeganCheck.me">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta property="og:title" content="Is it Vegan? - VeganCheck.me">
|
|
<meta property="og:type" content="">
|
|
<meta property="og:url" content="https://vegancheck.me">
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
|
|
<link rel="manifest" href="img/site.webmanifest">
|
|
<link rel="apple-touch-icon" href="img/icon.png">
|
|
|
|
<link href="css/style.min.css?v=3" rel="stylesheet">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container animated zoomIn">
|
|
<div id="main">
|
|
<img src="img/VeganCheck.svg" alt="Logo">
|
|
<h1>VeganCheck.me</h1>
|
|
<p id="code"></p>
|
|
|
|
<form action="script.php">
|
|
<fieldset>
|
|
<span class="btn_scan" onclick="setupLiveReader()"><i class="icon-barcode"></i></span>
|
|
<input type="text" id="barcode" name="barcode" placeholder="Enter product barcode">
|
|
<input type="hidden" id="lang" name="lang" value="en">
|
|
<button name="submit"><i class="icon-right-open"></i></button>
|
|
</fieldset>
|
|
</form>
|
|
<div id="result"> </div>
|
|
<footer>
|
|
<p>Made with <i class="icon-love"></i> by <a href="https://philipbrembeck.com">Philip Brembeck</a> & <a href="https://jokenetwork.de">JokeNetwork</a>
|
|
<br><a href="privacy-policy">Privacy Policy</a> / <a href="impressum">Imprint</a> / <a href="//github.com/sponsors/philipbrembeck/">Sponsor</a></p>
|
|
<a href="https://github.com/philipbrembeck/vegancheck.me"><img src="img/opensource.svg" alt="Open Source" class="labels"></a>
|
|
<a href="https://www.thegreenwebfoundation.org/green-web-check/?url=https%3A%2F%2Fvegancheck.me"><img src="img/greenhosted.svg" alt="Hosted Green" class="labels"></a>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script src="js/main.bundle.min.js"></script>
|
|
<script>
|
|
$(function() {
|
|
let isMobile = window.matchMedia("only screen and (max-width: 760px)").matches;
|
|
if (isMobile) {
|
|
var resultElement = document.getElementById('code')
|
|
}
|
|
});
|
|
</script>
|
|
<?php
|
|
header('Access-Control-Allow-Origin: https://analytics.vegancheck.me');
|
|
if (isset($_COOKIE['log']) && $_COOKIE['log'] == "Yes"){echo '<script async src="https://analytics.vegancheck.me/ackee.js" data-ackee-server="https://analytics.vegancheck.me" data-ackee-domain-id="77898809-adfe-4573-a05f-88cd663f0fb5" data-ackee-opts=\'{ "detailed": true }\'></script>';}
|
|
elseif (isset($_COOKIE['log']) && $_COOKIE['log'] == "No"){echo '<script async src="https://analytics.vegancheck.me/ackee.js" data-ackee-server="https://analytics.vegancheck.me" data-ackee-domain-id="77898809-adfe-4573-a05f-88cd663f0fb5"></script>';}
|
|
else{echo '<script async src="https://analytics.vegancheck.me/ackee.js" data-ackee-server="https://analytics.vegancheck.me" data-ackee-domain-id="77898809-adfe-4573-a05f-88cd663f0fb5" data-ackee-opts=\'{ "detailed": true }\'></script>';}
|
|
?>
|
|
</body>
|
|
</html>
|