session_start();
$title="CSUDH Network Neighborhood";
require("../../../php/require/config.php");
require("$reqpath/login/config.php");
require("$reqpath/common.php");
require("$reqpath/login/membership.php");
include("$incpath/header.php");
$group="examples";
if (!loggedin()){
$showlogin="yes";
include("$incpath/menu.php");
echo "
";
$bartitle="Unverified user: Please login to see the examples";
printneedtologinmsg($bartitle);
}
else{
if (!isgroupmember ($_SESSION['reg_member_id'], $group)) {
$showlogin="yes";
include("$incpath/menu.php");
echo " | ";
$bartitle="Verified but not InternetPerils examples user: Please login as authorized user ";
show_bartitle($bartitle);
show_login ($_SERVER['PHP_SELF']);
}
else
{
//people in group $group can see this
$showlogin="yes";
include("$incpath/menu.php");
include("$incpath/tech/examples/csudh/index.inc");
}//else group member
}//else loggedin
include("$incpath/footer.php");
?>
|