ahh got it simply added a new part of the cookie like so:
setcookie("logedin","True",time()+3600);
then in the if statement did this:
elseif ($_COOKIE['logedin'] == True)
{
print("<a href=\"shopfront.php\">Shop</a><br>");
print("<a href=\"Pirep.htm\">Pirep</a><br>");
print("<a href=\"logout.php\">Log-Out</a><br>");
}
else
{
exit("Sory but you do not appear to be logged in");
}