Menu
support@nursinghomework.org
+1 714-215-3097

(Solved) : Working Website Want Make Welcome Box Message Go Black Navigation Login System Admin Accou Q35589435

I am working on a website and I want to make the welcome boxmessage go under the black navigation. I have a login system withadmin accounts and this is how it looks like. I am trying to placethe box below the black bar and into the white empty spacebelow.

Here is my php :

Code:

<?php

include(‘../server.php’);

if (!isAdmin()) {

    $_SESSION[‘msg’] = “You must log infirst”;

    header(‘location: ../login.php’);

}

if (isset($_GET[‘logout’])) {

    session_destroy();

    unset($_SESSION[‘user’]);

    header(“location: ../login.php”);

}

?>

<!DOCTYPE html>

<html lang=”en”>

<head>

<title>TruHawk</title>

<meta charset=”utf-8″ class=”nojs”>

<meta name=”viewport” content=”width=device-width,initial-scale=1.0″/>

<!– stylesheet –>

<link rel=”stylesheet” type=”text/css”href=”../cssreset.css”>

<link rel=”stylesheet” href=”../css/style.css”>

<link rel=”shortcut icon” href=”img/THLogo.ico” />

<scriptsrc=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js”></script>

<scriptsrc=”ResponsiveSlides.js-master/responsiveslides.min.js”></script>

</head>

<body>

<!– header –>

<header>

<!– main –>

<a id=”logo” href=”index.php”>

<img src=”img/THLogo.png” alt=”THLogo”>

<span><fontsize=”5″>TruHawk</font></span>

</a>

<!– navigation –>

<nav>

<ul>

<input type=”text” class=”searchTerm”placeholder=”Search..”>

<li><ahref=”index.php”>Home</a></li>

<li><ahref=”login.php”>Login</a></li>

<li><ahref=”register.php”>Register</a></li>

<li><ahref=”about.php”>About</a></li>

<li><a href=”gallery.php”>PhotoGallery</a></li>

</ul>

</nav>

<div class=”wrap”>

</div>

</div>

    <div class=”content”>

        <!–notification message –>

        <?php if(isset($_SESSION[‘success’])) : ?>

            <divclass=”error success” >

                <h3>

                    <?php

                        echo$_SESSION[‘success’];

                        unset($_SESSION[‘success’]);

                    ?>

                </h3>

            </div>

        <?php endif?>

        <!– loggedin user information –>

    

            <div>

                <?phpif (isset($_SESSION[‘user’])) : ?>

            <h2>        <strong><?php echo $_SESSION[‘user’][‘username’]; ?></strong></h2>

                    <small>

                    <istyle=”color: #888;”> (<?php echoucfirst($_SESSION[‘user’][‘user_type’]); ?>)</i>

                        <br>

                        <ahref=”home.php?logout=’1′” style=”color:red;”>logout</a>

&nbsp; <a href=”create_user.php”> + adduser</a>

                    </small>

                <?phpendif ?>

            </div>

        </div>

    </div>

</body>

</html>

Leave a Reply

Your email address will not be published. Required fields are marked *