Skip to content

Commit

Permalink
fixed navbar news
Browse files Browse the repository at this point in the history
  • Loading branch information
User committed Jun 14, 2017
1 parent 166cd7c commit cc343a7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions view/allnews.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@
</style>
</head>
<body>
<?php include 'navbarloggedin.php' ?>
<?php echo(get_alerts()); ?>

<?php
if (isset($_SESSION['user']['logged_in']))
include 'navbarloggedin.php';
else
include 'navbar.php';
echo(get_alerts());
?>

<div class="contain padding-top-30">
<div class="row">
Expand Down

0 comments on commit cc343a7

Please sign in to comment.