} ?> "><a href="account_management.php">Finance</a></li> <li class="store-item <?php if (CURRENT_PAGE == 'store') { echo 'active'; } ?> "><a href="store.php">Store</a></li> <li class="blog-item <?php if (CURRENT_PAGE == 'blog') { echo 'active'; } ?> "><a href="blog.php">MyRoute</a></li> <li class="settings-item <?php if (CURRENT_PAGE == 'account') { echo 'active'; } ?> "><a href="account.php">Settings</a></li> <?php $usrtype = userRole($_SESSION['uid']); if ($usrtype == 'Admin') { echo '<li class="admin-item"><a href="admin.php">' . 'Admin' . '</a></li>'; } ?> </ul> </div> <!-- left-navigation -->
<?php include '/includes/header.php'; require_once DIR_APP . 'projects.php'; require_once DIR_APP . 'users.php'; if (empty($_SESSION['logged_in'])) { redirect('index.php'); } if (userRole($_SESSION['uid']) == 'User') { redirect('home.php'); } ?> <div class="inner-page-wrapper"> <div class="account inner-page content"> <?php include DIR_INCLUDE . 'left_nav.php'; ?> <div class=" admin-content"> <div class="upload-project-progress"> <span class="pagetitle">Actions</span> </div> <div id="home-tabs"> <ul> <li><a href="admin/projectlists.php">Projects</a></li> <li><a href="admin/ideathreadlists.php">Ideathreds</a></li> <li><a href="admin/blogpostlists.php">blogs</a></li> <li><a href="admin/userslists.php">Users</a></li> <li><a href="admin/investorlists.php">Investors</a></li>
?> </td> <td><?php echo $user->email; ?> </td> <td><?php echo $user->phone; ?> </td> <td><?php echo userStatus($user->active); ?> </td> <td><?php echo userRole($user->role); ?> </td> <td><?php echo $user->created; ?> </td> <td><a href="?actie=wijzigen&id=<?php echo $user->id; ?> " class="fa fa-pencil" title="Account wijzigen"></li></a></td> <td><a href="?actie=verwijderen&id=<?php echo $user->id; ?> " class="fa fa-times color-dark-red" title="Account verwijderen"></li></a></td> </tr>