<?php require_once dirname(__FILE__) . '/../vendor/autoload.php'; //autoload packages $db = new Database(); $user = new User($db->conn); $vendor = new Vendor($db->conn); $item = new Item($db->conn); $unum = $user->countAll(); $vnum = $vendor->countAll(); $inum = $item->countAll(); include 'templates/header.php'; include 'templates/sidemenu.php'; ?> <link href="<?php echo asset('/css/flatWeatherPlugin.css'); ?> " rel="stylesheet"> <script src="<?php echo asset('/js/jquery.flatWeatherPlugin.js'); ?> "></script> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Dashboard <small>Control panel</small>