<li><a href="/users/index.php">Users</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <li><a href="/users/index.php">New User</a></li> </ul> </div><!-- /.navbar-collapse --> </div><!-- /.container-fluid --> </nav> <h1>Messages</h1> </header> <div class="col-md-10"> <table class="table table-hover table-responsive"> <thead> <tr> <th>Title</th> <th>Content</th> <th>Options</th> </tr> <thead> <tbody> <?php listTable("messages"); ?> </tbody> </table> <a href="create.php"><button style="margin-top: 30px;" type="button" class="btn btn-primary">Make a message</button></a> </div> </div> </body> </html>
<body> <div class="container"> <header> <?php include '../templates/header.php'; ?> <h1>Users</h1> </header> <div class="col-md-10"> <table class="table table-hover table-responsive"> <thead> <tr> <th>Name</th> <th>About me!</th> <th>Options</th> </tr> <thead> <tbody> <?php session_start(); listTable("users"); ?> </tbody> </table> <a href="create.php"><button style="margin-top: 30px;" type="button" class="btn btn-primary">Create a user</button></a> </div> </div> </body> </html>