discourse-legacysite-perl/site/forum.slowtwitch.com/www/survey/include_status.php
2024-06-17 22:27:49 +10:00

42 lines
1.5 KiB
PHP

<!-- Start header -->
<!--div class="header">
</div-->
<!-- End header -->
<!-- Start top nav bar -->
<!--div--><!-- class="top-nav"-->
<!--div--><!-- class="top-nav-inner"-->
<!--<a href="./?" title="Homepage">Home</a>&nbsp;&nbsp;&nbsp;-->
<!--
TODO: SLOWTWITCH EDIT
<a href="blogs/page1.html" title="Blog">Blog</a>&nbsp;&nbsp;&nbsp;
<a href="racereports/page1.html" title="Race Reports">Race Reports</a>&nbsp;&nbsp;&nbsp;
-->
<?PHP
//echo "<a href=\"./?".get_sid()."\" title=\"Homepage\">Home</a>&nbsp;&nbsp;&nbsp;";
//echo "<a href=\"about.html?".get_sid()."\" title=\"About\">About</a>&nbsp;&nbsp;&nbsp;";
//echo "<a href=\"contact.html?".get_sid()."\" title=\"Contact Us\">Contact</a>&nbsp;&nbsp;&nbsp;";
if(is_logged_in($user)){
$username = base64_decode($_SESSION['user']);
//echo "Welcome, <strong>$username</strong>:<br><a href=\"logout.php\">Log out</a>";
}else{
//echo "<a href=\"register.html?".get_sid()."\" title=\"Register\">Register</a>&nbsp;&nbsp;&nbsp;";
//echo "&nbsp;&nbsp;&nbsp;&nbsp;";
//echo "<input type='hidden' name='from' value='survey'>";
//echo "You are not logged in:<br><a href=\"http://forum.slowtwitch.com/gforum.cgi?do=login&from=survey\">Log in</a> | <a href=\"http://forum.slowtwitch.com/gforum.cgi?do=user_signup\">Register</a>";
}
?>
<!--br /-->
<? /** if(isset($username)){
if($username == "Slowman" || $username == "Rappstar") { echo("<br /><a href='results.php'><strong>Survey Results</strong></a>"); }
} **/
?>
<!--/div-->
<!--/div-->
<!-- End top nav bar -->
<? ?>