Esempio n. 1
0
        loginprompt(false);
        break;
    case "logout":
        h1("Logout");
        if (isset($_SESSION) && array_key_exists("user", $_SESSION)) {
            $usernm = $_SESSION["user"]->usernm;
            $userix = $_SESSION["user"]->userix;
            unset($_SESSION["user"]);
            $x->log("Logout Succeeded", "Logout succeeded for {$usernm}", $userix);
        } else {
            $x->log("Logout Succeeded Anonymously", "Anonymous logout succeeded.");
        }
        $usernm = "";
        $userix = 0;
        echo "<p>You have been logged out.</p>";
        loginprompt(false);
        break;
}
if ($presentform) {
    ?>
	<table><tr><td class="loginbox">
		<form action='<?php 
    echo $page;
    ?>
' method='post'>
			<h3>Log In</h3>
			<table><tr>
				<td colspan=2>If you already have an account, log in here.</td>
			</tr><tr>
				<td>E-mail address</td>
				<td><input type='text' name='usernm' size=40 maxlength=64></td>
Esempio n. 2
0
	<li><a href="photos.php"><img src="image/RedCurlingStone20L.png" />Photos and Video</a></li>
	<li><a href="pubs.php"><img src="image/BlueCurlingStone20L.png" />Publications</a></li>
	<li><a href="media.php"><img src="image/RedCurlingStone20L.png" />Media</a></li>
	<li><a href="schedule.php"><img src="image/BlueCurlingStone20L.png"/>Schedule</a></li>
	<li><a href="http://bit.ly/atlcurling"><img src="image/RedCurlingStone20L.png"/>Facebook</a></li>
	<li><a href="http://atlcurling.wikia.com/wiki/Atlanta_Curling_Wiki"><img src="image/BlueCurlingStone20L.png"/>Wiki</a></li>
	<li><a href="contactus.php"><img src="image/RedCurlingStone20L.png"/>Contact Us</a></li>
  </ul>
</div>
<div class="colmask leftmenu">
  <div class="colleft">
    <div class="col1"> 
	  <!-- InstanceBeginEditable name="body" -->

<?php 
loginprompt();
?>

		<h1>Atlanta Curling Club: About Us</h1>
		<p>
		Founded in February 2010, while watching curling during the Winter Olympics, the Atlanta Curling Club was first formed as an online community on Facebook, intended to gather together curlers, curling enthusiasts and people who just wanted to try curling together to brainstorm how to form a curling club in the Atlanta area.
		</p>
		<p>
		Indeed, the ACC still has a sizeable presence on <a href="http://bit.ly/atlcurling">Facebook</a> where there have been many discussions about how we should form a curling club, and many interesting articles and links have been published to curling resources.
		</p>
	  <!-- InstanceEndEditable -->
	</div><!-- col1 -->
    <div class="col2">
	  <center>
	  <?php 
/*