diff --git a/css/styles.css b/css/styles.css index c00144b..7088dbe 100644 --- a/css/styles.css +++ b/css/styles.css @@ -311,4 +311,11 @@ table#malwareOverview tr.malwareLine:hover { cursor: pointer; } +h3 { + font-size: 18px; + font-weight: bold; +} +p { + margin: 10px; +} \ No newline at end of file diff --git a/index.php b/index.php index ce426e9..9692b97 100644 --- a/index.php +++ b/index.php @@ -40,7 +40,9 @@ while ($row = $results->fetchArray()) { } $page_malwarelist .= "\n"; -$page_404 = "Sorry but i could not find that page!"; +$page_404 = "
This project is still very heavily under development, so there will be pages missing :)
". + "New features are being added all the time, please try again later ...
"; @@ -75,6 +77,16 @@ switch($pageShow) { break; } +// Crude way to check for theZoo EULA +// But doing it here to show "more pretty page about it..." +// Should be done higher up and perhaps "die"... +if ( checkEULA() === false ) { + // We simply overrule the page !! + // But mind, anything done above will still be executed/run + $page = "You need to accept theZoo EULA!This site won't work until you do so :)
"; +} + ?>