Ejemplo n.º 1
0
    if ($tower['corp'] == $userinfo['corp']) {
        if (!in_array('22', $access)) {
            $eve->SessionSetVar('errormsg', 'You do not have access, ask your CEO for access.');
            $eve->RedirectUrl('index.php');
            die;
        }
    } else {
        if (!in_array('52', $access)) {
            $eve->SessionSetVar('errormsg', 'You do not have access, ask your CEO for access.');
            $eve->RedirectUrl('index.php');
            die;
        }
    }
}
//Begin Outpost association edit
$outpost = $posmgmt->GetAllOutpost();
$ouptost_list = array();
$outpost_list[0] = 'None';
foreach ($outpost as $outpostlist) {
    $outpost_list[$outpostlist['outpost_id']] = $outpostlist['outpost_name'];
}
//End outpost Association edit
$display_hangar = false;
$hangars = $posmgmt->GetPosHangars($pos_id);
$i = 0;
foreach ($hangars as $row) {
    $display_hangar = true;
    $hangar[$i]['online'] = $row['online'];
    $hangar[$i]['isotope'] = $row['isotope'];
    $hangar[$i]['oxygen'] = $row['oxygen'];
    $hangar[$i]['mechanical_parts'] = $row['mechanical_parts'];