</div> <div class="tab-pane col-md-6 col-md-offset-3" id="newsletter"> <table class="table table-striped"> <thead> <tr> <th></th> <th>Nom</th> <th>Cognoms</th> <th>Correu</th> </tr> </thead> <tbody> <?php include_once '../classes/newsletter.php'; $news = new newsletter(); $news->llistar(); ?> </tbody> </table> </div> </div> </div> <script src="js/moment.js" type="text/javascript"></script> <script src="js/bootstrap-datetimepicker.min.js" type="text/javascript"></script> <script src="js/bootstrap-datetimepicker.ca.js" type="text/javascript"></script> </body> </html> <?php } else { echo '<h1 style="color:red;">' . $lang['NO_LOGIN'] . '</h1>'; }