trying to find what is wrong

master
BodgeMaster 2020-03-10 19:23:44 +01:00
parent 4dd0d62a16
commit d210fd38af
1 changed files with 2 additions and 6 deletions

View File

@ -1,13 +1,9 @@
<!--
<?php <?php
/* if (!isset($_COOKIE['threadr_cookie_banner'])) if (!isset($_COOKIE['threadr_cookie_banner']))
if (!$login){ if (!$login){
echo "<div class='banner'><p class='beige'>We neeeeed Cookies. They taste sooo good. *crunch*</p><p class='beige'>Seriously, this site is in development. You should not be here. If you want to stay anyways, you will have to accept our cookies.</p><a href='%CONTENT_DIR%/accept_cookie.php?from=" . urlencode($_SERVER['REQUEST_URI']) . "'><button> OK </button></a></div>"; echo "<div class='banner'><p class='beige'>We neeeeed Cookies. They taste sooo good. *crunch*</p><p class='beige'>Seriously, this site is in development. You should not be here. If you want to stay anyways, you will have to accept our cookies.</p><a href='%CONTENT_DIR%/accept_cookie.php?from=" . urlencode($_SERVER['REQUEST_URI']) . "'><button> OK </button></a></div>";
} else { } else {
// assume that the user knows our cookie/privacy policy, force set cookie in this case // assume that the user knows our cookie/privacy policy, force set cookie in this case
} }
} */ }
print_r($_COOKIE);
?> ?>
-->