Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- if(!isset($_SESSION['sess_user_id']) || (trim($_SESSION['sess_user_id']) == '')) {
- header("location: login.php");
- exit();
- }
- ?>
- <!DOCTYPE html>
- <!--
- To change this license header, choose License Headers in Project Properties.
- To change this template file, choose Tools | Templates
- and open the template in the editor.
- -->
- <html>
- <head>
- <meta charset="UTF-8">
- <title>Volunteer Database</title>
- <script type="text/javascript" src="js/functions.js"> </script>
- <link rel="stylesheet" href="css/bootstrap-theme.css" type="text/css" />
- <link rel="stylesheet" href="css/bootstrap.css" type="text/css" />
- <link rel="stylesheet" href="css/styles.css" type="text/css">
- <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
- </head>
- <body>
- <div class="sidebar">
- <ul class="nav nav-pills nav-stacked">
- <li><span class="welcome" style="color:white;font-weight:Bold;font-size:20px;margin-left:5px;padding-left:5px;"> Welcome <?php echo $_SESSION["sess_name"] ?></span></li>
- <li><a href="login.php" onclick="<?php session_destroy(); ?>" class="logout">Log out</a></li>
- <li class="active"><a href="index.php">Home</a><li>
- <li><a href="volunForm.php">Add Volunteer</a></li>
- <li><a href="search.php">Search/Report</a></li>
- <li><a href="allVolun.php">View Volunteers</a></li>
- <li><a href="updateVolunteer.php">Update Volunteer</a></li>
- </ul>
- </div>
- <div class="content">
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement