<?php include('global.php'); if ($bbuserinfo[userid]==0) { echo "Login!"; } else { echo "You're already Logged in!"; } ?>