Third pass at adding key files
This commit is contained in:
41
site/forum.slowtwitch.com/www/survey/include_status.php
Normal file
41
site/forum.slowtwitch.com/www/survey/include_status.php
Normal file
@ -0,0 +1,41 @@
|
||||
|
||||
<!-- 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> -->
|
||||
<!--
|
||||
TODO: SLOWTWITCH EDIT
|
||||
<a href="blogs/page1.html" title="Blog">Blog</a>
|
||||
<a href="racereports/page1.html" title="Race Reports">Race Reports</a>
|
||||
-->
|
||||
<?PHP
|
||||
//echo "<a href=\"./?".get_sid()."\" title=\"Homepage\">Home</a> ";
|
||||
//echo "<a href=\"about.html?".get_sid()."\" title=\"About\">About</a> ";
|
||||
//echo "<a href=\"contact.html?".get_sid()."\" title=\"Contact Us\">Contact</a> ";
|
||||
|
||||
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> ";
|
||||
//echo " ";
|
||||
//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 -->
|
||||
|
||||
<? ?>
|
Reference in New Issue
Block a user