Skip to content

Instantly share code, notes, and snippets.

View devinegger's full-sized avatar

DeviOus devinegger

View GitHub Profile
<?php if (isset($show_header) && $show_header) { ?><h4 style="margin-top:0">Status History</h4><?php } ?>
<?php if (empty($history)) { ?>
<p>There haven't yet been any status updates to this account.</p>
<?php } ?>
<div id="status_history">
<?php foreach ($history as $sh) { ?>
<?php
$user_name = $this->ldap_auth->get_user_name($sh->user_id) ?? "<i>$sh->user_id</i>";
$alert_type = 'info';
$alert_text = '';
[
{
"id": "00001",
"name": "location x",
"url": "https://devinegger.com",
"location": {
"latitude": 34.984422,
"longitude": -82.450778
},
"status": "active",