Esempio n. 1
0
<?php

/**
 * Created by Kent M. Patrick
 * Project: BPU
 * Company: Fingerprints Ltd
 * Date: 21/09/2016
 * Time: 9:58 AM
 */
require_once 'header.php';
$update = new Updates();
$update->getLatestRelease();
if (!$update->differ()) {
    $alerts->display("info", "Update Pending", "There is a new update, please update or contact an Administrator");
}
$html->title("BPU Wiki", "instructions on how to use the bpu", "left");
$table = new Tables();
$wiki = new Wiki();
echo "<div class='row'>";
echo "<div class='col-xs-12 col-sm-6'>";
echo "<div class='list-group'>";
echo "<h4 class='text-capitalize'>table of contents</h4>";
echo "<a href='#introduction' class='list-group-item'>Introduction</a>";
echo "<a href='#collections' class='list-group-item'>Collections</a>";
echo "<a href='#steps' class='list-group-item'>Steps</a>";
echo "<a href='#image_preview' class='list-group-item'>Image Preview</a>";
echo "<a href='#products' class='list-group-item'>Products</a>";
if ($_SESSION['settings']['filenames']) {
    echo "<a href='#filenames' class='list-group-item'>Filenames</a>";
}
if ($_SESSION['role_id'] < 3) {