<div>
<img src="/images/spacer.gif" alt="spacer" width="1px" height="50px"><br>
<?
- if($_SESSION['user'] == "bukdebug")
+ if(isset($_SESSION['user']) && ($_SESSION['user'] == "bukdebug"))
print_r($_SERVER);
?>
</div>
<!-- User Bar - if logged in -->
<?
- if($_SESSION['logged_in']) {
+ if(isset($_SESSION['logged_in'])) {
printf('<div class="userBar">');
printf('Welcome %s, <a style="color: white; text-decoration: none" href="/?page=logout">logout here</a>.', $_SESSION['user']);
printf('</div>');
<div>
<img src="../images/spacer.gif" alt="spacer" width="1px" height="50px"><br>
<?
- if($_SESSION['user'] == "bukdebug")
+ if(isset($_SESSION['user']) && ($_SESSION['user'] == "bukdebug"))
print_r($_SERVER);
?>
</div>
<!-- User Bar - if logged in -->
<?
- if($_SESSION['logged_in']) {
+ if(isset($_SESSION['logged_in'])) {
printf('<div class="userBar">');
printf('Welcome %s, <a style="color: white; text-decoration: none" href="/?page=logout">logout here</a>.', $_SESSION['user']);
printf('</div>');
<div>
<img src="../images/spacer.gif" alt="spacer" width="1" height="50"><br>
<?
- if($_SESSION['user'] == "bukdebug")
+ if(isset($_SESSION['user']) && ($_SESSION['user'] == "bukdebug"))
print_r($_SERVER);
?>
</div>
<!-- User Bar - if logged in -->
<?
- if($_SESSION['logged_in']) {
+ if(isset($_SESSION['logged_in'])) {
printf('<div class="userBar">');
printf('Welcome %s, <a style="color: white; text-decoration: none" href="/?page=logout">logout here</a>.', $_SESSION['user']);
printf('</div>');