* (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ include_once 'tmpl/common.php'; ?> <ul class="popup_list"> <li class="popup_list"><?php echo get_ship_link('main', 'Ship Status'); ?> </li> <li class="popup_list"><?php echo get_ship_link('deploy', 'Deploy'); ?> </li> <li class="popup_list"><?php echo get_ship_link('weapons', 'Weapons'); ?> </li> </ul> <hr />
$ct++; if ($which == 'pilot') { array_push($out, array(get_pilot_link($row->var1), $row->val)); } elseif ($which == 'system') { $sys = new EVESystem($row->var1); array_push($out, array($sys->getLink() . ' (<span style="color: ' . security_color($sys->getSecurity()) . ';">' . security($sys->getSecurity()) . '</span>)', $row->val)); } elseif ($which == 'corp') { array_push($out, array(get_corp_link($row->var1), $row->val)); } elseif ($which == 'alliance') { array_push($out, array(get_alliance_link($row->var1), $row->val)); } elseif ($which == 'region') { array_push($out, array(EVERegion::getLink($row->var1), $row->val)); } elseif ($which == 'group') { array_push($out, array(get_group_link($row->var1), $row->val)); } elseif ($which == 'ship') { array_push($out, array(get_ship_link($row->var1), $row->val)); } elseif ($which == 'weapon') { array_push($out, array(get_item_link($row->var1), $row->val)); } } if ($maxct < $ct) { $maxct = $ct; } $results[$when] = $out; } else { $results[$when] = array(); } } # now prepare the page $ft->assign('data', $results); $ft->assign('which', $okwhich[$which]);