User Tools

Site Tools


portals:status-page

Status.php

The following needs to be on top of the page (before the html tag). The first one is responsible for the hsmx functions, the second one is responsible for the status fields, functions

<?php
require_once($_SERVER['DOCUMENT_ROOT'] . "/hsm/include/initialize.php");
require_once($_SERVER['DOCUMENT_ROOT'] . "/hsm/status_execute.php");
?>

You can show a lot of different things on the status page.

  • A graph with live bandwidth usage + overview used bandwidth. You can find an example of this in the sample_portals zip (status.php)
  • You can show subscriber details (billing plan, name, arrival date, checkout date, …). An example of this can be found in the sample_portals zip (statusAdvanced.php)
portals/status-page.txt · Last modified: 2015/03/03 09:02 by maarten