include('security.txt');
IF ($_SESSION[user][loggedin] == '1') {
include('header_1.txt');
//Variables
foreach($_GET as $key=>$value) {
${$key} = $value;
//echo "
".$key. " = ".$value."";
}
echo "
";
//Teaching Resources
IF ($section == 'teachingresources') {
include('/home/kidsnetau/teachingresources_edit.txt');
};
include('footer_1.txt');
} ELSE {
header("Location: http://www.kids.net.au/members.php?action=login&reason=needtologin");
$_SESSION[user][url] = "http://www.kids.net.au".$_SERVER['REQUEST_URI'];
};
?>