user_login;
$UserName=$current_user->user_login;
//echo “UserName”, $UserName;
}
// everyone now can see the calendar but only members can see the event details
if ($UserName!=””)
{
$EventMonth = date(F);
$EventYear = date(Y);
$CalendarText=”Calendar”;
$php=”.php”;
//require_once(“scripts/$CalendarText$EventMonth$EventYear$php”);//Current Month Calendar
require_once(“scripts/$CalendarText$EventMonth$EventYear$php”);//Current Month Calendar
}
else
{
echo “

You must be a Member of the Club and Logged in to Access The Calendar

If you are a Member of the Club you are not Logged
in.

“;
?>

 

Display Buttons