<th class="eve-table-header">Total Queue Length</th> <th class="eve-table-header">ISK Balance</th> <th class="eve-table-header">Location</th> <th class="eve-table-header">Actions</th> </tr> <?php foreach ($group as $character) { // Getting the correct string for what our Main Character is flying and where he/she is if ($character->getActiveShipName() != 'Out Of Capsule' and $character->getActiveShipName() != "Capsule - Genolution 'Auroral' 197-variant") { $locationString = $character->getLastKnownLocation() . ": " . $character->getActiveShipName(); } else { $locationString = $character->getLastKnownLocation() . ': Capsule'; } $trainingTime = timeConversion($character->getEndOfTrainingTime()); $queueTime = timeConversion($character->getEndOfQueueTime()); ?> <tr style="text-align: center"> <td><?php echo $character->getCharacterName(); ?> </td> <td><?php if ($character->getCorporationTicker() == NULL) { echo "---"; } else { echo $character->getCorporationTicker(); } ?> </td> <td><?php
public function getTrainingTime($time, $var1, $var2, $type, $id) { global $eve; $training = array(); $training['Color'] = ''; switch ($time) { case NULL: case '': $mod = '<span style="color:red"><?php echo $precursor; ?>Training Queue Inactive</span>'; break; case 'Training Paused': $mod = 'Training paused</span> for ' . $eve->getTypeName($var1) . ' - Level ' . $var2; break; case 'Queue Paused': $mod = 'Queue Paused</span> with ' . $var1 . ' skills queued'; break; default: $training = timeConversion($time); $mod = ' id="' . $id . '"></span> '; switch ($type) { case "Training": $mod .= 'for ' . $eve->getTypeName($var1) . ' - Level ' . $var2; break; case "Skill Queue": $mod .= 'left with ' . $var1 . ' skills queued.'; break; } break; } echo $training['Color'] . $mod; }
<h1 style="text-align: center">Operations Calendar<h1> </div> <div class="row" style="padding-left: 10px; padding-right: 10px"> <?php if (!empty($operations)) { ?> <table class="table table-striped" style="margin-bottom: 16px; margin-top: 10px"> <tr class="eve-text"> <th class="eve-table-header">Operation Name</th> <th class="eve-table-header">Type</th> <th class="eve-table-header">Time</th> <th></th> </tr> <?php foreach ($operations as $operation) { $operationTime = timeConversion(date('Y-m-d H:i:s', $operation['operation_timestamp'])); if ($operation['operation_type'] == 'CTA Op') { $classes = 'eve-text strat-op'; } else { $classes = 'eve-text'; } ?> <tr style="text-align: center; font-size: 125%" class="<?php echo $classes; ?> "> <td><?php echo $operation['operation_name']; ?> </td> <td><?php