Importing Znote AAC 1.5_SVN rev 168 to github.

This commit is contained in:
Stefan Brannfjell
2013-08-28 23:44:46 +02:00
parent 78b1a429b8
commit ba07284044
45 changed files with 5406 additions and 0 deletions

20
protected.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
require_once 'engine/init.php';
// To direct users here, add: protect_page(); Here before loading header.
include 'layout/overall/header.php';
if (user_logged_in() === true) {
?>
<h1>STOP!</h1>
<p>Ummh... Why are you sniffing around here?</p>
<?php
} else {
?>
<h1>Sorry, you need to be logged in to do that!</h1>
<p>Please register or log in.</p>
<?php
}
include 'layout/overall/footer.php'; ?>