<?php
include ("common.php");
include("admincheck.php");
include("printnavigation.php");
include("newmails.php");
?>
<html>

<head>
<meta name="AUTHOR" content="Matt Squirrell">
<meta name="COPYRIGHT" content="(c)2002 HSMX Web Design">
<title><?php print "$name1"; ?> Calendar - <?php print "$day/$month/$year"; ?></title>
</head>

<body bgcolor=<?php print "$bgcolour"; ?> link=#111111 vlink=#111111 alink=#111111>
<br>
<center>


<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="80%" bgcolor=<?php print "$fgcolour"; ?>>
  <tr>
    <td width="100%"><center>
    <br><b><font face=<?php print "$font"; ?> size=6><?php print "$name1"; ?> Calendar</font></b><br>
    <center><font face=<?php print "$font"; ?> size="2">
    <br>
    </td>
    </tr>
    </table>
<center><br><br>
<?php

if ($cAdminLevel > 5)
{
	print "<table width=80% border=0><tr><td><font face=$font size=2><a href=\"admin.php\">Admin Area</a></td></tr></table><center>";
}
print "<p style=\"margin-top: 0; margin-bottom: 1\" align=\"right\"><font face=$font size=2>$name1 Calendar - <a href=\"index.php\">$name1</a></p><br>";
if (isset($gfcookie[1]))
{
	print "
	<a OnClick=\"return confirm('Are you sure you want to log out?')\" href=\"logout.php\"><img border=0 src=\"images/log_off.gif\"></a>";
}
else
{

		print "
		<a href=\"register.php\"><img border=0 src=\"images/register.gif\"></a>
	<a href=\"login.php\"><img border=0 src=\"images/login.gif\"></a>";
}

print "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";

if (isset($gfcookie[1]))
{
	print "<a href=\"inbox.php\"><img border=\"0\" src=\"images/inbox.gif\"></a>
<a href=\"editprofile.php?userid=$gfcookie[1]\"><img border=\"0\" src=\"images/edit_profile.gif\"></a>&nbsp;";
}

print "<a href=\"members.php\"><img border=\"0\" src=\"images/members_list.gif\"></a>
<a href=\"search.php\"><img border=\"0\" src=\"images/search.gif\"></a>
<a href=\"calendar.php\"><img border=\"0\" src=\"images/calendar.gif\"></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";

print "<a href=\"forums.php\"><img border=\"0\" src=\"images/forums.gif\"></a>
<br><br><br>";

print "<form method=post action=\"calendarremindset.php\"><font face=$font size=2>";

print "Remind me <select name=\"hours\"  size=1>
		<option selected value=1>1 hour</option>
		<option value=0.25>15 minutes</option>
		<option value=0.5>30 minutes</option>
		<option value=0.75>45 minutes</option>
		<option value=1>1 hour</option>
		<option value=2>2 hours</option>
		<option value=3>3 hours</option>
		<option value=4>4 hours</option>
		<option value=5>5 hours</option>
		<option value=10>10 hours</option>
		<option value=15>15 hours</option>
		<option value=20>20 hours</option></select> before the event starts.<br><br>
<input type=\"hidden\" name=\"id\" value=\"$id\">
<input type=\"submit\" value=\"Set Reminder\"></form><br><br><br>";
include("footercopyright.inc");
?>
</body>
</html>