@@ -47,8 +47,7 @@ discard block |
||
47 | 47 | { |
48 | 48 | // Increment it |
49 | 49 | $ship_types[$ships[$shipName][0]]++; |
50 | - } |
|
51 | - else |
|
50 | + } else |
|
52 | 51 | { |
53 | 52 | $ship_types[$ships[$shipName][0]] = 1; |
54 | 53 | } |
@@ -58,8 +57,7 @@ discard block |
||
58 | 57 | { |
59 | 58 | // Increment it |
60 | 59 | $ship_classes[$ships[$shipName][1]]++; |
61 | - } |
|
62 | - else |
|
60 | + } else |
|
63 | 61 | { |
64 | 62 | $ship_classes[$ships[$shipName][1]] = 1; |
65 | 63 | } |
@@ -69,8 +67,7 @@ discard block |
||
69 | 67 | { |
70 | 68 | // Increment it |
71 | 69 | $ship_names[$shipName]++; |
72 | - } |
|
73 | - else |
|
70 | + } else |
|
74 | 71 | { |
75 | 72 | $ship_names[$shipName] = 1; |
76 | 73 | } |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | public function store() |
19 | 19 | { |
20 | 20 | |
21 | - function rnatsort(&$a){ |
|
21 | + function rnatsort(&$a) { |
|
22 | 22 | natsort($a); |
23 | 23 | $a = array_reverse($a, true); |
24 | 24 | } |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | |
31 | 31 | // This array will be moved and made dynamic through ESI |
32 | - $ships = array('Bantam' => array('Frigate', 'Tackle'), 'Griffin' => array('Frigate', 'EWAR'), 'Kikimore' => array('Triglavian Destroyer', 'DPS'), 'Procurer' => array('Mining Barge', 'Miner'), 'Vehement' => array('Dreadnought', 'Capital'), 'Heron' => array('Frigate', 'Tackle'), 'Buzzard' => array('Covert Ops', 'Prober'), 'Rook' => array('Combat Recon', 'EWAR'), 'Wreathe' => array('Industrial', 'Hauler'), 'Hydra' => array('Cov. Ops. Triglavian Frig', 'DPS'), 'Nemesis' => array('S. Bomber', 'Bomber'), 'Loggerhead' => array('Force Auxillary', 'Cap Logi'), 'Sabre' => array('Interdictor', 'Bubbler'), 'Rupture' => array('Cruiser', 'Cruiser'), 'Iteron Mark V' => array('Industrial', 'Hauler'), 'Raven' => array('Battleship', 'DPS'), 'Augoror Navy Issue' => array('Cruiser', 'Cruiser'), 'Slasher' => array('Frigate', 'Tackle'), 'Apocalypse' => array('Battleship', 'DPS'), 'Enyo' => array('Assault Frig.', 'Tackle'), 'Charon' => array('Freighter', 'Freighter'), 'Stratios' => array('Cov. op. Cruiser', 'DPS'), 'Panther' => array('Black Ops', 'Black Ops'), 'Gila' => array('Cruiser', 'DPS'), 'Hulk' => array('Exhumer', 'Miner'), 'Porpoise' => array('Ind. Cmd.', 'Ind. Cmd.'), 'Vengeance' => array('Assault Frig.', 'Tackle'), 'Dominix Navy Issue' => array('Battleship', 'DPS'), 'Basilisk' => array('Logistics', 'Logistics'), 'Manticore' => array('S. Bomber', 'Bomber'), 'Crane' => array('Blockade Run.', 'Cloaky Hauler'), 'Kryos' => array('Industrial', 'Hauler'), 'Megathron Navy Issue' => array('Battleship', 'DPS'), 'Dominix' => array('Battleship', 'DPS'), 'Anshar' => array('Jump Freighter', 'Jump Freighter'), 'Skiff' => array('Exhumer', 'Miner'), 'Pilgrim' => array('Force Recon', 'Support'), 'Maelstrom' => array('Battleship', 'DPS'), 'Komodo' => array('Titan', 'Supercap'), 'Tayra' => array('Industrial', 'Hauler'), 'Drake' => array('Battlecruiser', 'DPS'), 'Impel' => array('Transport', 'T2 Non Cloaky Hauler'), 'Kirin' => array('Logi Frig', 'Logistics'), 'Abaddon' => array('Battleship', 'DPS'), 'Vexor Navy Issue' => array('Cruiser', 'DPS'), 'Wolf' => array('Assault Frig.', 'Tackle'), 'Ishkur' => array('Assault Frig.', 'Tackle'), 'Blackbird' => array('Cruiser', 'EWAR'), 'Executioner' => array('Frigate', 'Tackle'), 'Stork' => array('Command Destroyer', 'Jumper'), 'Nereus' => array('Industrial', 'Hauler'), 'Oneiros' => array('Logistics', 'Logistics'), 'Rodiva' => array('Triglavian Logi', 'Logistics'), 'Reaper' => array('Frigate', 'Trash'), 'Purifier' => array('S. Bomber', 'Bomber'), 'Tormentor' => array('Frigate', 'Tackle'), 'Echelon' => array('Frigate', 'Trash'), 'Armageddon Navy Issue' => array('Battleship', 'DPS'), 'Stiletto' => array('Interceptor', 'Tackle'), 'Scythe Fleet Issue' => array('Cruiser', 'Cruiser'), 'Arazu' => array('Force Recon', 'Heavy Tackle'), 'Damnation' => array('Cmd. Ship', 'Booster'), 'Exequror' => array('Cruiser', 'T1 Logi'), 'Sentinel' => array('EWAR Frig.', 'Neuts'), 'Ark' => array('Jump Freighter', 'Jump Freighter'), 'Jackdaw' => array('T3 Destroyer', 'DPS'), 'Tempest' => array('Battleship', 'DPS'), 'Badger' => array('Industrial', 'Hauler'), 'Golem' => array('Marauder', 'DPS'), 'Punisher' => array('Frigate', 'Tackle'), 'Curse' => array('Combat Recon', 'Neuts'), 'Incursus' => array('Frigate', 'Tackle'), 'Scimitar' => array('Logistics', 'Logistics'), 'Magus' => array('Command Destroyer', 'Jumper'), 'Endurance' => array('Cov. Mining Frig', 'Mining'), 'Exequror Navy Issue' => array('Cruiser', 'T1 Logi'), 'Claymore' => array('Cmd. Ship', 'Booster'), 'Anathema' => array('Covert Ops', 'Prober'), 'Osprey Navy Issue' => array('Cruiser', 'DPS'), 'Vanquisher' => array('Titan', 'Supercap'), 'Orthrus' => array('Cruiser', 'DPS'), 'Adrestia' => array('Cruiser', 'DPS'), 'Zealot' => array('H.A. Cruiser', 'DPS'), 'Ares' => array('Interceptor', 'Tackle'), 'Occator' => array('Transport', 'T2 Non Cloaky Hauler'), 'Kitsune' => array('EWAR Frig.', 'EWAR'), 'Cyclone' => array('Battlecruiser', 'DPS'), 'Jaguar' => array('Assault Frig.', 'Tackle'), 'Caracal' => array('Cruiser', 'DPS'), 'Vexor' => array('Cruiser', 'DPS'), 'Vedmak' => array('Triglavian Cruiser', 'DPS'), 'Cerberus' => array('H.A. Cruiser', 'DPS'), 'Nightmare' => array('Battleship', 'DPS'), 'Helios' => array('Covert Ops', 'Prober'), 'Nighthawk' => array('Cmd. Ship', 'DPS'), 'Paladin' => array('Marauder', 'DPS'), 'Rorqual' => array('Cap. Ind.', 'Capital'), 'Broadsword' => array('Hictor', 'Bubbler'), 'Vendetta' => array('Supercarrier', 'Supercap'), 'Zephyr' => array('Shuttle', 'Trash'), 'Machariel' => array('Battleship', 'DPS'), 'Revelation' => array('Dreadnought', 'Capital'), 'Proteus' => array('Strat. Cruiser', 'Heavy Tackle'), 'Vigilant' => array('Cruiser', 'DPS'), 'Omen Navy Issue' => array('Cruiser', 'DPS'), 'Huginn' => array('Combat Recon', 'Heavy Tackle'), 'Epithal' => array('Industrial', 'Hauler'), 'Crucifier' => array('Frigate', 'Tackle'), 'Caracal Navy Issue' => array('Cruiser', 'DPS'), 'Augoror' => array('Cruiser', 'T1 Logi'), 'Ferox' => array('Battlecruiser', 'DPS'), 'Retribution' => array('Assault Frig.', 'Tackle'), 'Bowhead' => array('Freighter', 'Freighter'), 'Naga' => array('Battlecruiser', 'DPS'), 'Rokh' => array('Battleship', 'DPS'), 'Worm' => array('Frigate', 'Tackle'), 'Bustard' => array('Transport', 'T2 Non Cloaky Hauler'), 'Mackinaw' => array('Exhumer', 'Miner'), 'Coercer' => array('Destroyer', 'Tackle'), 'Redeemer' => array('Black Ops', 'Black Ops'), 'Damavik' => array('Triglavian Frigate', 'DPS'), 'Caiman' => array('Dreadnought', 'Capital'), 'Hyperion' => array('Battleship', 'DPS'), 'Marshal' => array('Battleship', 'DPS'), 'Cruor' => array('Frigate', 'Tackle'), 'Apocalypse Navy Issue' => array('Battleship', 'DPS'), 'Eos' => array('Cmd. Ship', 'Booster'), 'Hound' => array('S. Bomber', 'Bomber'), 'Bhaalgorn' => array('Battleship', 'DPS'), 'Talos' => array('Battlecruiser', 'DPS'), 'Eris' => array('Interdictor', 'Bubbler'), 'Minokawa' => array('Force Auxillary', 'Cap Logi'), 'Lachesis' => array('Combat Recon', 'Heavy Tackle'), 'Kestrel' => array('Frigate', 'Tackle'), 'Ishtar' => array('H.A. Cruiser', 'DPS'), 'Enforcer' => array('Force Recon', 'EWAR'), 'Barghest' => array('Cruiser', 'DPS'), 'Molok' => array('Titan', 'Supercap'), 'Vigil' => array('Frigate', 'Tackle'), 'Crucifier Navy Issue' => array('Frigate', 'Tackle'), 'Freki' => array('Frigate', 'Tackle'), 'Prowler' => array('Blockade Run.', 'Cloaky Hauler'), 'Astarte' => array('Frigate', 'Prober'), 'Maller' => array('Cruiser', 'Cruiser'), 'Thanatos' => array('Carrier', 'Capital'), 'Apostle' => array('Force Auxillary', 'Cap Logi'), 'Lif' => array('Force Auxillary', 'Cap Logi'), 'Sacrilege' => array('H.A. Cruiser', 'DPS'), 'Providence' => array('Freighter', 'Freighter'), 'Merlin' => array('Frigate', 'Tackle'), 'Republic Fleet Firetail' => array('Frigate', 'Tackle'), 'Devoter' => array('Hictor', 'Bubbler'), 'Claw' => array('Interceptor', 'Tackle'), 'Hel' => array('Supercarrier', 'Supercap'), 'Stabber Fleet Issue' => array('Cruiser', 'DPS'), 'Nestor' => array('Battleship', 'DPS'), 'Impairor' => array('Corvette', 'Trash'), 'Noctis' => array('Salvaging', 'Trash'), 'Pontifax' => array('Command Destroyer', 'Jumper'), 'Raven Navy Issue' => array('Battleship', 'DPS'), 'Phobos' => array('Hictor', 'Bubbler'), 'Dagon' => array('Force Auxillary', 'Cap Logi'), 'Myrmidon' => array('Battlecruiser', 'DPS'), 'Obelisk' => array('Freighter', 'Freighter'), 'Guardian' => array('Logistics', 'Logistics'), 'Naglfar' => array('Dreadnought', 'Capital'), 'Keres' => array('EWAR Frig.', 'Tackle'), 'Stabber' => array('Cruiser', 'DPS'), 'Talwar' => array('Destroyer', 'Support'), 'Taranis' => array('Interceptor', 'Tackle'), 'Svipul' => array('T3 Destroyer', 'DPS'), 'Ibis' => array('Corvette', 'Trash'), 'Scythe' => array('Cruiser', 'T1 Logi'), 'Covetor' => array('Mining Barge', 'Miner'), 'Kronos' => array('Marauder', 'DPS'), 'Leshak' => array('Triglavian Battleship', 'DPS'), 'Harbinger Navy Issue' => array('Battlecruiser', 'DPS'), 'Nomad' => array('Jump Freighter', 'Jump Freighter'), 'Hawk' => array('Assault Frig.', 'Tackle'), 'Phantasm' => array('Cruiser', 'Support'), 'Aeon' => array('Supercarrier', 'Supercap'), 'Raptor' => array('Interceptor', 'Tackle'), 'Scalpel' => array('Logi Frig', 'Logistics'), 'Bifrost' => array('Command Destroyer', 'Jumper'), 'Heretic' => array('Interdictor', 'Bubbler'), 'Cynabal' => array('Cruiser', 'DPS'), 'Fenrir' => array('Freighter', 'Freighter'), 'Algos' => array('Destroyer', 'Support'), 'Ninazu' => array('Force Auxillary', 'Cap Logi'), 'Revenant' => array('Supercarrier', 'Supercap'), 'Hecate' => array('T3 Destroyer', 'DPS'), 'Vagabond' => array('H.A. Cruiser', 'DPS'), 'Muninn' => array('H.A. Cruiser', 'DPS'), 'Deacon' => array('Logi Frig', 'Logistics'), 'Bestower' => array('Industrial', 'Hauler'), 'Leviathan' => array('Titan', 'Supercap'), 'Venture' => array('Frigate', 'Trash'), 'Sunesis' => array('Destroyer', 'DPS'), 'Oracle' => array('Battlecruiser', 'DPS'), 'Deimos' => array('H.A. Cruiser', 'DPS'), 'Utu' => array('Frigate', 'DPS'), 'Moa' => array('Cruiser', 'Cruiser'), 'Praxis' => array('Battleship', 'DPS'), 'Brutix Navy Issue' => array('Battlecruiser', 'DPS'), 'Vulture' => array('Cmd. Ship', 'Booster'), 'Succubus' => array('Frigate', 'Tackle'), 'Wyvern' => array('Supercarrier', 'Supercap'), 'Burst' => array('Frigate', 'Tackle'), 'Tengu' => array('Strat. Cruiser', 'DPS'), 'Caldari Navy Hookbill' => array('Frigate', 'Tackle'), 'Navitas' => array('Frigate', 'Tackle'), 'Imicus' => array('Frigate', 'Tackle'), 'Breacher' => array('Frigate', 'Tackle'), 'Erebus' => array('Titan', 'Supercap'), 'Nidhoggur' => array('Carrier', 'Capital'), 'Tempest Fleet Issue' => array('Battleship', 'DPS'), 'Brutix' => array('Battlecruiser', 'DPS'), 'Imperial Navy Slicer' => array('Frigate', 'Tackle'), 'Chimera' => array('Carrier', 'Capital'), 'Thorax' => array('Cruiser', 'Cruiser'), 'Omen' => array('Cruiser', 'DPS'), 'Flycatcher' => array('Interdictor', 'Bubbler'), 'Tiamar' => array('Triglavian Cov. Op. Cruiser', 'DPS'), 'Harbinger' => array('Battlecruiser', 'DPS'), 'Archon' => array('Carrier', 'Capital'), 'Absolution' => array('Cmd. Ship', 'DPS'), 'Hurricane Fleet Issue' => array('Battlecruiser', 'DPS'), 'Legion' => array('Strat. Cruiser', 'DPS'), 'Moros' => array('Dreadnought', 'Capital'), 'Ship Name' => array('Ship Type', 'Ship Class'), 'Typhoon' => array('Battleship', 'DPS'), 'Hoarder' => array('Industrial', 'Hauler'), 'Condor' => array('Frigate', 'Tackle'), 'Tristan' => array('Frigate', 'Tackle'), 'Hurricane' => array('Battlecruiser', 'DPS'), 'Viator' => array('Blockade Run.', 'Cloaky Hauler'), 'Bellicose' => array('Cruiser', 'T1 Logi'), 'Rhea' => array('Jump Freighter', 'Jump Freighter'), 'Arbitrator' => array('Cruiser', 'Cruiser'), 'Gnosis' => array('Cruiser', 'DPS'), 'Atron' => array('Frigate', 'Tackle'), 'Prorator' => array('Blockade Run.', 'Cloaky Hauler'), 'Celestis' => array('Cruiser', 'Cruiser'), 'Cheetah' => array('Covert Ops', 'Prober'), 'Scorpion' => array('Battleship', 'DPS'), 'Sin' => array('Black Ops', 'Black Ops'), 'Mastodon' => array('Transport', 'T2 Non Cloaky Hauler'), 'Chemosh' => array('Dreadnought', 'Capital'), 'Eagle' => array('H.A. Cruiser', 'DPS'), 'Venerable' => array('Force Auxillary', 'Cap Logi'), 'Griffin Navy Issue' => array('Frigate', 'EWAR'), 'Phoenix' => array('Dreadnought', 'Capital'), 'Vargur' => array('Marauder', 'DPS'), 'Tornado' => array('Battlecruiser', 'DPS'), 'Thrasher' => array('Destroyer', 'Support'), 'Onyx' => array('Hictor', 'Bubbler'), 'Sigil' => array('Industrial', 'Hauler'), 'Thalia' => array('Logi Frig', 'Logistics'), 'Malediction' => array('Interceptor', 'Tackle'), 'Dragoon' => array('Destroyer', 'Support'), 'Catalyst' => array('Destroyer', 'Support'), 'Drake Navy Issue' => array('Battlecruiser', 'DPS'), 'Falcon' => array('Force Recon', 'EWAR'), 'Prophecy' => array('Battlecruiser', 'DPS'), 'Widow' => array('Black Ops', 'Black Ops'), 'Osprey' => array('Cruiser', 'T1 Logi'), 'Retriever' => array('Mining Barge', 'Miner'), 'Rattlesnake' => array('Battleship', 'DPS'), 'Primae' => array('Industrial', 'Trash'), 'Megathron' => array('Battleship', 'DPS'), 'Mimir' => array('Cruiser', 'DPS'), 'Cormorant' => array('Destroyer', 'Support'), 'Ashimmu' => array('Cruiser', 'Support'), 'Rifter' => array('Frigate', 'Tackle'), 'Federation Navy Comet' => array('Frigate', 'Tackle'), 'Harpy' => array('Assault Frig.', 'Tackle'), 'Maulus' => array('Frigate', 'Tackle'), 'Hyena' => array('EWAR Frig.', 'Tackle'), 'Daredevil' => array('Frigate', 'Tackle'), 'Vanguard' => array('Carrier', 'Capital'), 'Maulus Navy Issue' => array('Frigate', 'Tackle'), 'Mammoth' => array('Industrial', 'Hauler'), 'Avatar' => array('Titan', 'Supercap'), 'Vindicator' => array('Battleship', 'DPS'), 'Sleipnir' => array('Cmd. Ship', 'DPS'), 'Ragnarok' => array('Titan', 'Supercap'), 'Corax' => array('Destroyer', 'Support'), 'Orca' => array('Ind. Cmd.', 'Ind. Cmd.'), 'Prospect' => array('Cov. Op. Miner', 'Miner'), 'Confessor' => array('T3 Destroyer', 'DPS'), 'Crusader' => array('Interceptor', 'Tackle'), 'Velator' => array('Frigate', 'Trash'), 'Magnate' => array('Frigate', 'Tackle'), 'Crow' => array('Interceptor', 'Tackle'), 'Probe' => array('Frigate', 'Tackle'), 'Miasmos' => array('Industrial', 'Hauler'), 'Inquisitor' => array('Frigate', 'Tackle'), 'Apotheosis' => array('Shuttle', 'Trash'), 'Rapier' => array('Force Recon', 'Heavy Tackle'), 'Loki' => array('Strat. Cruiser', 'Heavy Tackle'), 'Garmur' => array('Cruiser', 'DPS'), 'Armageddon' => array('Battleship', 'DPS'), 'Drakavac' => array('Triglavian BC', 'DPS'), 'Dramiel' => array('Frigate', 'Tackle'), 'Nyx' => array('Supercarrier', 'Supercap'), ); |
|
32 | + $ships = array('Bantam' => array('Frigate', 'Tackle'), 'Griffin' => array('Frigate', 'EWAR'), 'Kikimore' => array('Triglavian Destroyer', 'DPS'), 'Procurer' => array('Mining Barge', 'Miner'), 'Vehement' => array('Dreadnought', 'Capital'), 'Heron' => array('Frigate', 'Tackle'), 'Buzzard' => array('Covert Ops', 'Prober'), 'Rook' => array('Combat Recon', 'EWAR'), 'Wreathe' => array('Industrial', 'Hauler'), 'Hydra' => array('Cov. Ops. Triglavian Frig', 'DPS'), 'Nemesis' => array('S. Bomber', 'Bomber'), 'Loggerhead' => array('Force Auxillary', 'Cap Logi'), 'Sabre' => array('Interdictor', 'Bubbler'), 'Rupture' => array('Cruiser', 'Cruiser'), 'Iteron Mark V' => array('Industrial', 'Hauler'), 'Raven' => array('Battleship', 'DPS'), 'Augoror Navy Issue' => array('Cruiser', 'Cruiser'), 'Slasher' => array('Frigate', 'Tackle'), 'Apocalypse' => array('Battleship', 'DPS'), 'Enyo' => array('Assault Frig.', 'Tackle'), 'Charon' => array('Freighter', 'Freighter'), 'Stratios' => array('Cov. op. Cruiser', 'DPS'), 'Panther' => array('Black Ops', 'Black Ops'), 'Gila' => array('Cruiser', 'DPS'), 'Hulk' => array('Exhumer', 'Miner'), 'Porpoise' => array('Ind. Cmd.', 'Ind. Cmd.'), 'Vengeance' => array('Assault Frig.', 'Tackle'), 'Dominix Navy Issue' => array('Battleship', 'DPS'), 'Basilisk' => array('Logistics', 'Logistics'), 'Manticore' => array('S. Bomber', 'Bomber'), 'Crane' => array('Blockade Run.', 'Cloaky Hauler'), 'Kryos' => array('Industrial', 'Hauler'), 'Megathron Navy Issue' => array('Battleship', 'DPS'), 'Dominix' => array('Battleship', 'DPS'), 'Anshar' => array('Jump Freighter', 'Jump Freighter'), 'Skiff' => array('Exhumer', 'Miner'), 'Pilgrim' => array('Force Recon', 'Support'), 'Maelstrom' => array('Battleship', 'DPS'), 'Komodo' => array('Titan', 'Supercap'), 'Tayra' => array('Industrial', 'Hauler'), 'Drake' => array('Battlecruiser', 'DPS'), 'Impel' => array('Transport', 'T2 Non Cloaky Hauler'), 'Kirin' => array('Logi Frig', 'Logistics'), 'Abaddon' => array('Battleship', 'DPS'), 'Vexor Navy Issue' => array('Cruiser', 'DPS'), 'Wolf' => array('Assault Frig.', 'Tackle'), 'Ishkur' => array('Assault Frig.', 'Tackle'), 'Blackbird' => array('Cruiser', 'EWAR'), 'Executioner' => array('Frigate', 'Tackle'), 'Stork' => array('Command Destroyer', 'Jumper'), 'Nereus' => array('Industrial', 'Hauler'), 'Oneiros' => array('Logistics', 'Logistics'), 'Rodiva' => array('Triglavian Logi', 'Logistics'), 'Reaper' => array('Frigate', 'Trash'), 'Purifier' => array('S. Bomber', 'Bomber'), 'Tormentor' => array('Frigate', 'Tackle'), 'Echelon' => array('Frigate', 'Trash'), 'Armageddon Navy Issue' => array('Battleship', 'DPS'), 'Stiletto' => array('Interceptor', 'Tackle'), 'Scythe Fleet Issue' => array('Cruiser', 'Cruiser'), 'Arazu' => array('Force Recon', 'Heavy Tackle'), 'Damnation' => array('Cmd. Ship', 'Booster'), 'Exequror' => array('Cruiser', 'T1 Logi'), 'Sentinel' => array('EWAR Frig.', 'Neuts'), 'Ark' => array('Jump Freighter', 'Jump Freighter'), 'Jackdaw' => array('T3 Destroyer', 'DPS'), 'Tempest' => array('Battleship', 'DPS'), 'Badger' => array('Industrial', 'Hauler'), 'Golem' => array('Marauder', 'DPS'), 'Punisher' => array('Frigate', 'Tackle'), 'Curse' => array('Combat Recon', 'Neuts'), 'Incursus' => array('Frigate', 'Tackle'), 'Scimitar' => array('Logistics', 'Logistics'), 'Magus' => array('Command Destroyer', 'Jumper'), 'Endurance' => array('Cov. Mining Frig', 'Mining'), 'Exequror Navy Issue' => array('Cruiser', 'T1 Logi'), 'Claymore' => array('Cmd. Ship', 'Booster'), 'Anathema' => array('Covert Ops', 'Prober'), 'Osprey Navy Issue' => array('Cruiser', 'DPS'), 'Vanquisher' => array('Titan', 'Supercap'), 'Orthrus' => array('Cruiser', 'DPS'), 'Adrestia' => array('Cruiser', 'DPS'), 'Zealot' => array('H.A. Cruiser', 'DPS'), 'Ares' => array('Interceptor', 'Tackle'), 'Occator' => array('Transport', 'T2 Non Cloaky Hauler'), 'Kitsune' => array('EWAR Frig.', 'EWAR'), 'Cyclone' => array('Battlecruiser', 'DPS'), 'Jaguar' => array('Assault Frig.', 'Tackle'), 'Caracal' => array('Cruiser', 'DPS'), 'Vexor' => array('Cruiser', 'DPS'), 'Vedmak' => array('Triglavian Cruiser', 'DPS'), 'Cerberus' => array('H.A. Cruiser', 'DPS'), 'Nightmare' => array('Battleship', 'DPS'), 'Helios' => array('Covert Ops', 'Prober'), 'Nighthawk' => array('Cmd. Ship', 'DPS'), 'Paladin' => array('Marauder', 'DPS'), 'Rorqual' => array('Cap. Ind.', 'Capital'), 'Broadsword' => array('Hictor', 'Bubbler'), 'Vendetta' => array('Supercarrier', 'Supercap'), 'Zephyr' => array('Shuttle', 'Trash'), 'Machariel' => array('Battleship', 'DPS'), 'Revelation' => array('Dreadnought', 'Capital'), 'Proteus' => array('Strat. Cruiser', 'Heavy Tackle'), 'Vigilant' => array('Cruiser', 'DPS'), 'Omen Navy Issue' => array('Cruiser', 'DPS'), 'Huginn' => array('Combat Recon', 'Heavy Tackle'), 'Epithal' => array('Industrial', 'Hauler'), 'Crucifier' => array('Frigate', 'Tackle'), 'Caracal Navy Issue' => array('Cruiser', 'DPS'), 'Augoror' => array('Cruiser', 'T1 Logi'), 'Ferox' => array('Battlecruiser', 'DPS'), 'Retribution' => array('Assault Frig.', 'Tackle'), 'Bowhead' => array('Freighter', 'Freighter'), 'Naga' => array('Battlecruiser', 'DPS'), 'Rokh' => array('Battleship', 'DPS'), 'Worm' => array('Frigate', 'Tackle'), 'Bustard' => array('Transport', 'T2 Non Cloaky Hauler'), 'Mackinaw' => array('Exhumer', 'Miner'), 'Coercer' => array('Destroyer', 'Tackle'), 'Redeemer' => array('Black Ops', 'Black Ops'), 'Damavik' => array('Triglavian Frigate', 'DPS'), 'Caiman' => array('Dreadnought', 'Capital'), 'Hyperion' => array('Battleship', 'DPS'), 'Marshal' => array('Battleship', 'DPS'), 'Cruor' => array('Frigate', 'Tackle'), 'Apocalypse Navy Issue' => array('Battleship', 'DPS'), 'Eos' => array('Cmd. Ship', 'Booster'), 'Hound' => array('S. Bomber', 'Bomber'), 'Bhaalgorn' => array('Battleship', 'DPS'), 'Talos' => array('Battlecruiser', 'DPS'), 'Eris' => array('Interdictor', 'Bubbler'), 'Minokawa' => array('Force Auxillary', 'Cap Logi'), 'Lachesis' => array('Combat Recon', 'Heavy Tackle'), 'Kestrel' => array('Frigate', 'Tackle'), 'Ishtar' => array('H.A. Cruiser', 'DPS'), 'Enforcer' => array('Force Recon', 'EWAR'), 'Barghest' => array('Cruiser', 'DPS'), 'Molok' => array('Titan', 'Supercap'), 'Vigil' => array('Frigate', 'Tackle'), 'Crucifier Navy Issue' => array('Frigate', 'Tackle'), 'Freki' => array('Frigate', 'Tackle'), 'Prowler' => array('Blockade Run.', 'Cloaky Hauler'), 'Astarte' => array('Frigate', 'Prober'), 'Maller' => array('Cruiser', 'Cruiser'), 'Thanatos' => array('Carrier', 'Capital'), 'Apostle' => array('Force Auxillary', 'Cap Logi'), 'Lif' => array('Force Auxillary', 'Cap Logi'), 'Sacrilege' => array('H.A. Cruiser', 'DPS'), 'Providence' => array('Freighter', 'Freighter'), 'Merlin' => array('Frigate', 'Tackle'), 'Republic Fleet Firetail' => array('Frigate', 'Tackle'), 'Devoter' => array('Hictor', 'Bubbler'), 'Claw' => array('Interceptor', 'Tackle'), 'Hel' => array('Supercarrier', 'Supercap'), 'Stabber Fleet Issue' => array('Cruiser', 'DPS'), 'Nestor' => array('Battleship', 'DPS'), 'Impairor' => array('Corvette', 'Trash'), 'Noctis' => array('Salvaging', 'Trash'), 'Pontifax' => array('Command Destroyer', 'Jumper'), 'Raven Navy Issue' => array('Battleship', 'DPS'), 'Phobos' => array('Hictor', 'Bubbler'), 'Dagon' => array('Force Auxillary', 'Cap Logi'), 'Myrmidon' => array('Battlecruiser', 'DPS'), 'Obelisk' => array('Freighter', 'Freighter'), 'Guardian' => array('Logistics', 'Logistics'), 'Naglfar' => array('Dreadnought', 'Capital'), 'Keres' => array('EWAR Frig.', 'Tackle'), 'Stabber' => array('Cruiser', 'DPS'), 'Talwar' => array('Destroyer', 'Support'), 'Taranis' => array('Interceptor', 'Tackle'), 'Svipul' => array('T3 Destroyer', 'DPS'), 'Ibis' => array('Corvette', 'Trash'), 'Scythe' => array('Cruiser', 'T1 Logi'), 'Covetor' => array('Mining Barge', 'Miner'), 'Kronos' => array('Marauder', 'DPS'), 'Leshak' => array('Triglavian Battleship', 'DPS'), 'Harbinger Navy Issue' => array('Battlecruiser', 'DPS'), 'Nomad' => array('Jump Freighter', 'Jump Freighter'), 'Hawk' => array('Assault Frig.', 'Tackle'), 'Phantasm' => array('Cruiser', 'Support'), 'Aeon' => array('Supercarrier', 'Supercap'), 'Raptor' => array('Interceptor', 'Tackle'), 'Scalpel' => array('Logi Frig', 'Logistics'), 'Bifrost' => array('Command Destroyer', 'Jumper'), 'Heretic' => array('Interdictor', 'Bubbler'), 'Cynabal' => array('Cruiser', 'DPS'), 'Fenrir' => array('Freighter', 'Freighter'), 'Algos' => array('Destroyer', 'Support'), 'Ninazu' => array('Force Auxillary', 'Cap Logi'), 'Revenant' => array('Supercarrier', 'Supercap'), 'Hecate' => array('T3 Destroyer', 'DPS'), 'Vagabond' => array('H.A. Cruiser', 'DPS'), 'Muninn' => array('H.A. Cruiser', 'DPS'), 'Deacon' => array('Logi Frig', 'Logistics'), 'Bestower' => array('Industrial', 'Hauler'), 'Leviathan' => array('Titan', 'Supercap'), 'Venture' => array('Frigate', 'Trash'), 'Sunesis' => array('Destroyer', 'DPS'), 'Oracle' => array('Battlecruiser', 'DPS'), 'Deimos' => array('H.A. Cruiser', 'DPS'), 'Utu' => array('Frigate', 'DPS'), 'Moa' => array('Cruiser', 'Cruiser'), 'Praxis' => array('Battleship', 'DPS'), 'Brutix Navy Issue' => array('Battlecruiser', 'DPS'), 'Vulture' => array('Cmd. Ship', 'Booster'), 'Succubus' => array('Frigate', 'Tackle'), 'Wyvern' => array('Supercarrier', 'Supercap'), 'Burst' => array('Frigate', 'Tackle'), 'Tengu' => array('Strat. Cruiser', 'DPS'), 'Caldari Navy Hookbill' => array('Frigate', 'Tackle'), 'Navitas' => array('Frigate', 'Tackle'), 'Imicus' => array('Frigate', 'Tackle'), 'Breacher' => array('Frigate', 'Tackle'), 'Erebus' => array('Titan', 'Supercap'), 'Nidhoggur' => array('Carrier', 'Capital'), 'Tempest Fleet Issue' => array('Battleship', 'DPS'), 'Brutix' => array('Battlecruiser', 'DPS'), 'Imperial Navy Slicer' => array('Frigate', 'Tackle'), 'Chimera' => array('Carrier', 'Capital'), 'Thorax' => array('Cruiser', 'Cruiser'), 'Omen' => array('Cruiser', 'DPS'), 'Flycatcher' => array('Interdictor', 'Bubbler'), 'Tiamar' => array('Triglavian Cov. Op. Cruiser', 'DPS'), 'Harbinger' => array('Battlecruiser', 'DPS'), 'Archon' => array('Carrier', 'Capital'), 'Absolution' => array('Cmd. Ship', 'DPS'), 'Hurricane Fleet Issue' => array('Battlecruiser', 'DPS'), 'Legion' => array('Strat. Cruiser', 'DPS'), 'Moros' => array('Dreadnought', 'Capital'), 'Ship Name' => array('Ship Type', 'Ship Class'), 'Typhoon' => array('Battleship', 'DPS'), 'Hoarder' => array('Industrial', 'Hauler'), 'Condor' => array('Frigate', 'Tackle'), 'Tristan' => array('Frigate', 'Tackle'), 'Hurricane' => array('Battlecruiser', 'DPS'), 'Viator' => array('Blockade Run.', 'Cloaky Hauler'), 'Bellicose' => array('Cruiser', 'T1 Logi'), 'Rhea' => array('Jump Freighter', 'Jump Freighter'), 'Arbitrator' => array('Cruiser', 'Cruiser'), 'Gnosis' => array('Cruiser', 'DPS'), 'Atron' => array('Frigate', 'Tackle'), 'Prorator' => array('Blockade Run.', 'Cloaky Hauler'), 'Celestis' => array('Cruiser', 'Cruiser'), 'Cheetah' => array('Covert Ops', 'Prober'), 'Scorpion' => array('Battleship', 'DPS'), 'Sin' => array('Black Ops', 'Black Ops'), 'Mastodon' => array('Transport', 'T2 Non Cloaky Hauler'), 'Chemosh' => array('Dreadnought', 'Capital'), 'Eagle' => array('H.A. Cruiser', 'DPS'), 'Venerable' => array('Force Auxillary', 'Cap Logi'), 'Griffin Navy Issue' => array('Frigate', 'EWAR'), 'Phoenix' => array('Dreadnought', 'Capital'), 'Vargur' => array('Marauder', 'DPS'), 'Tornado' => array('Battlecruiser', 'DPS'), 'Thrasher' => array('Destroyer', 'Support'), 'Onyx' => array('Hictor', 'Bubbler'), 'Sigil' => array('Industrial', 'Hauler'), 'Thalia' => array('Logi Frig', 'Logistics'), 'Malediction' => array('Interceptor', 'Tackle'), 'Dragoon' => array('Destroyer', 'Support'), 'Catalyst' => array('Destroyer', 'Support'), 'Drake Navy Issue' => array('Battlecruiser', 'DPS'), 'Falcon' => array('Force Recon', 'EWAR'), 'Prophecy' => array('Battlecruiser', 'DPS'), 'Widow' => array('Black Ops', 'Black Ops'), 'Osprey' => array('Cruiser', 'T1 Logi'), 'Retriever' => array('Mining Barge', 'Miner'), 'Rattlesnake' => array('Battleship', 'DPS'), 'Primae' => array('Industrial', 'Trash'), 'Megathron' => array('Battleship', 'DPS'), 'Mimir' => array('Cruiser', 'DPS'), 'Cormorant' => array('Destroyer', 'Support'), 'Ashimmu' => array('Cruiser', 'Support'), 'Rifter' => array('Frigate', 'Tackle'), 'Federation Navy Comet' => array('Frigate', 'Tackle'), 'Harpy' => array('Assault Frig.', 'Tackle'), 'Maulus' => array('Frigate', 'Tackle'), 'Hyena' => array('EWAR Frig.', 'Tackle'), 'Daredevil' => array('Frigate', 'Tackle'), 'Vanguard' => array('Carrier', 'Capital'), 'Maulus Navy Issue' => array('Frigate', 'Tackle'), 'Mammoth' => array('Industrial', 'Hauler'), 'Avatar' => array('Titan', 'Supercap'), 'Vindicator' => array('Battleship', 'DPS'), 'Sleipnir' => array('Cmd. Ship', 'DPS'), 'Ragnarok' => array('Titan', 'Supercap'), 'Corax' => array('Destroyer', 'Support'), 'Orca' => array('Ind. Cmd.', 'Ind. Cmd.'), 'Prospect' => array('Cov. Op. Miner', 'Miner'), 'Confessor' => array('T3 Destroyer', 'DPS'), 'Crusader' => array('Interceptor', 'Tackle'), 'Velator' => array('Frigate', 'Trash'), 'Magnate' => array('Frigate', 'Tackle'), 'Crow' => array('Interceptor', 'Tackle'), 'Probe' => array('Frigate', 'Tackle'), 'Miasmos' => array('Industrial', 'Hauler'), 'Inquisitor' => array('Frigate', 'Tackle'), 'Apotheosis' => array('Shuttle', 'Trash'), 'Rapier' => array('Force Recon', 'Heavy Tackle'), 'Loki' => array('Strat. Cruiser', 'Heavy Tackle'), 'Garmur' => array('Cruiser', 'DPS'), 'Armageddon' => array('Battleship', 'DPS'), 'Drakavac' => array('Triglavian BC', 'DPS'), 'Dramiel' => array('Frigate', 'Tackle'), 'Nyx' => array('Supercarrier', 'Supercap'),); |
|
33 | 33 | |
34 | 34 | $ship_classes = array(); |
35 | 35 | $ship_types = array(); |
@@ -123,6 +123,6 @@ discard block |
||
123 | 123 | $ship_total = $dscanInfo->ship_total; |
124 | 124 | $reportedAt = $dscanInfo->reportedAt; |
125 | 125 | |
126 | - return view('Dscan::viewScan', compact('ship_names','ship_types','ship_classes','ship_total','reportedAt')); |
|
126 | + return view('Dscan::viewScan', compact('ship_names', 'ship_types', 'ship_classes', 'ship_total', 'reportedAt')); |
|
127 | 127 | } |
128 | 128 | } |
@@ -12,38 +12,38 @@ discard block |
||
12 | 12 | { |
13 | 13 | public function create() |
14 | 14 | { |
15 | - return view('Dscan::newScan'); |
|
15 | + return view('Dscan::newScan'); |
|
16 | 16 | } |
17 | 17 | |
18 | 18 | public function store() |
19 | 19 | { |
20 | 20 | |
21 | - function rnatsort(&$a){ |
|
22 | - natsort($a); |
|
23 | - $a = array_reverse($a, true); |
|
24 | - } |
|
21 | + function rnatsort(&$a){ |
|
22 | + natsort($a); |
|
23 | + $a = array_reverse($a, true); |
|
24 | + } |
|
25 | 25 | |
26 | 26 | // This array will be moved and made dynamic through ESI |
27 | - $ships = array('Bantam' => array('Frigate', 'Tackle'), 'Griffin' => array('Frigate', 'EWAR'), 'Kikimore' => array('Triglavian Destroyer', 'DPS'), 'Procurer' => array('Mining Barge', 'Miner'), 'Vehement' => array('Dreadnought', 'Capital'), 'Heron' => array('Frigate', 'Tackle'), 'Buzzard' => array('Covert Ops', 'Prober'), 'Rook' => array('Combat Recon', 'EWAR'), 'Wreathe' => array('Industrial', 'Hauler'), 'Hydra' => array('Cov. Ops. Triglavian Frig', 'DPS'), 'Nemesis' => array('S. Bomber', 'Bomber'), 'Loggerhead' => array('Force Auxillary', 'Cap Logi'), 'Sabre' => array('Interdictor', 'Bubbler'), 'Rupture' => array('Cruiser', 'Cruiser'), 'Iteron Mark V' => array('Industrial', 'Hauler'), 'Raven' => array('Battleship', 'DPS'), 'Augoror Navy Issue' => array('Cruiser', 'Cruiser'), 'Slasher' => array('Frigate', 'Tackle'), 'Apocalypse' => array('Battleship', 'DPS'), 'Enyo' => array('Assault Frig.', 'Tackle'), 'Charon' => array('Freighter', 'Freighter'), 'Stratios' => array('Cov. op. Cruiser', 'DPS'), 'Panther' => array('Black Ops', 'Black Ops'), 'Gila' => array('Cruiser', 'DPS'), 'Hulk' => array('Exhumer', 'Miner'), 'Porpoise' => array('Ind. Cmd.', 'Ind. Cmd.'), 'Vengeance' => array('Assault Frig.', 'Tackle'), 'Dominix Navy Issue' => array('Battleship', 'DPS'), 'Basilisk' => array('Logistics', 'Logistics'), 'Manticore' => array('S. Bomber', 'Bomber'), 'Crane' => array('Blockade Run.', 'Cloaky Hauler'), 'Kryos' => array('Industrial', 'Hauler'), 'Megathron Navy Issue' => array('Battleship', 'DPS'), 'Dominix' => array('Battleship', 'DPS'), 'Anshar' => array('Jump Freighter', 'Jump Freighter'), 'Skiff' => array('Exhumer', 'Miner'), 'Pilgrim' => array('Force Recon', 'Support'), 'Maelstrom' => array('Battleship', 'DPS'), 'Komodo' => array('Titan', 'Supercap'), 'Tayra' => array('Industrial', 'Hauler'), 'Drake' => array('Battlecruiser', 'DPS'), 'Impel' => array('Transport', 'T2 Non Cloaky Hauler'), 'Kirin' => array('Logi Frig', 'Logistics'), 'Abaddon' => array('Battleship', 'DPS'), 'Vexor Navy Issue' => array('Cruiser', 'DPS'), 'Wolf' => array('Assault Frig.', 'Tackle'), 'Ishkur' => array('Assault Frig.', 'Tackle'), 'Blackbird' => array('Cruiser', 'EWAR'), 'Executioner' => array('Frigate', 'Tackle'), 'Stork' => array('Command Destroyer', 'Jumper'), 'Nereus' => array('Industrial', 'Hauler'), 'Oneiros' => array('Logistics', 'Logistics'), 'Rodiva' => array('Triglavian Logi', 'Logistics'), 'Reaper' => array('Frigate', 'Trash'), 'Purifier' => array('S. Bomber', 'Bomber'), 'Tormentor' => array('Frigate', 'Tackle'), 'Echelon' => array('Frigate', 'Trash'), 'Armageddon Navy Issue' => array('Battleship', 'DPS'), 'Stiletto' => array('Interceptor', 'Tackle'), 'Scythe Fleet Issue' => array('Cruiser', 'Cruiser'), 'Arazu' => array('Force Recon', 'Heavy Tackle'), 'Damnation' => array('Cmd. Ship', 'Booster'), 'Exequror' => array('Cruiser', 'T1 Logi'), 'Sentinel' => array('EWAR Frig.', 'Neuts'), 'Ark' => array('Jump Freighter', 'Jump Freighter'), 'Jackdaw' => array('T3 Destroyer', 'DPS'), 'Tempest' => array('Battleship', 'DPS'), 'Badger' => array('Industrial', 'Hauler'), 'Golem' => array('Marauder', 'DPS'), 'Punisher' => array('Frigate', 'Tackle'), 'Curse' => array('Combat Recon', 'Neuts'), 'Incursus' => array('Frigate', 'Tackle'), 'Scimitar' => array('Logistics', 'Logistics'), 'Magus' => array('Command Destroyer', 'Jumper'), 'Endurance' => array('Cov. Mining Frig', 'Mining'), 'Exequror Navy Issue' => array('Cruiser', 'T1 Logi'), 'Claymore' => array('Cmd. Ship', 'Booster'), 'Anathema' => array('Covert Ops', 'Prober'), 'Osprey Navy Issue' => array('Cruiser', 'DPS'), 'Vanquisher' => array('Titan', 'Supercap'), 'Orthrus' => array('Cruiser', 'DPS'), 'Adrestia' => array('Cruiser', 'DPS'), 'Zealot' => array('H.A. Cruiser', 'DPS'), 'Ares' => array('Interceptor', 'Tackle'), 'Occator' => array('Transport', 'T2 Non Cloaky Hauler'), 'Kitsune' => array('EWAR Frig.', 'EWAR'), 'Cyclone' => array('Battlecruiser', 'DPS'), 'Jaguar' => array('Assault Frig.', 'Tackle'), 'Caracal' => array('Cruiser', 'DPS'), 'Vexor' => array('Cruiser', 'DPS'), 'Vedmak' => array('Triglavian Cruiser', 'DPS'), 'Cerberus' => array('H.A. Cruiser', 'DPS'), 'Nightmare' => array('Battleship', 'DPS'), 'Helios' => array('Covert Ops', 'Prober'), 'Nighthawk' => array('Cmd. Ship', 'DPS'), 'Paladin' => array('Marauder', 'DPS'), 'Rorqual' => array('Cap. Ind.', 'Capital'), 'Broadsword' => array('Hictor', 'Bubbler'), 'Vendetta' => array('Supercarrier', 'Supercap'), 'Zephyr' => array('Shuttle', 'Trash'), 'Machariel' => array('Battleship', 'DPS'), 'Revelation' => array('Dreadnought', 'Capital'), 'Proteus' => array('Strat. Cruiser', 'Heavy Tackle'), 'Vigilant' => array('Cruiser', 'DPS'), 'Omen Navy Issue' => array('Cruiser', 'DPS'), 'Huginn' => array('Combat Recon', 'Heavy Tackle'), 'Epithal' => array('Industrial', 'Hauler'), 'Crucifier' => array('Frigate', 'Tackle'), 'Caracal Navy Issue' => array('Cruiser', 'DPS'), 'Augoror' => array('Cruiser', 'T1 Logi'), 'Ferox' => array('Battlecruiser', 'DPS'), 'Retribution' => array('Assault Frig.', 'Tackle'), 'Bowhead' => array('Freighter', 'Freighter'), 'Naga' => array('Battlecruiser', 'DPS'), 'Rokh' => array('Battleship', 'DPS'), 'Worm' => array('Frigate', 'Tackle'), 'Bustard' => array('Transport', 'T2 Non Cloaky Hauler'), 'Mackinaw' => array('Exhumer', 'Miner'), 'Coercer' => array('Destroyer', 'Tackle'), 'Redeemer' => array('Black Ops', 'Black Ops'), 'Damavik' => array('Triglavian Frigate', 'DPS'), 'Caiman' => array('Dreadnought', 'Capital'), 'Hyperion' => array('Battleship', 'DPS'), 'Marshal' => array('Battleship', 'DPS'), 'Cruor' => array('Frigate', 'Tackle'), 'Apocalypse Navy Issue' => array('Battleship', 'DPS'), 'Eos' => array('Cmd. Ship', 'Booster'), 'Hound' => array('S. Bomber', 'Bomber'), 'Bhaalgorn' => array('Battleship', 'DPS'), 'Talos' => array('Battlecruiser', 'DPS'), 'Eris' => array('Interdictor', 'Bubbler'), 'Minokawa' => array('Force Auxillary', 'Cap Logi'), 'Lachesis' => array('Combat Recon', 'Heavy Tackle'), 'Kestrel' => array('Frigate', 'Tackle'), 'Ishtar' => array('H.A. Cruiser', 'DPS'), 'Enforcer' => array('Force Recon', 'EWAR'), 'Barghest' => array('Cruiser', 'DPS'), 'Molok' => array('Titan', 'Supercap'), 'Vigil' => array('Frigate', 'Tackle'), 'Crucifier Navy Issue' => array('Frigate', 'Tackle'), 'Freki' => array('Frigate', 'Tackle'), 'Prowler' => array('Blockade Run.', 'Cloaky Hauler'), 'Astarte' => array('Frigate', 'Prober'), 'Maller' => array('Cruiser', 'Cruiser'), 'Thanatos' => array('Carrier', 'Capital'), 'Apostle' => array('Force Auxillary', 'Cap Logi'), 'Lif' => array('Force Auxillary', 'Cap Logi'), 'Sacrilege' => array('H.A. Cruiser', 'DPS'), 'Providence' => array('Freighter', 'Freighter'), 'Merlin' => array('Frigate', 'Tackle'), 'Republic Fleet Firetail' => array('Frigate', 'Tackle'), 'Devoter' => array('Hictor', 'Bubbler'), 'Claw' => array('Interceptor', 'Tackle'), 'Hel' => array('Supercarrier', 'Supercap'), 'Stabber Fleet Issue' => array('Cruiser', 'DPS'), 'Nestor' => array('Battleship', 'DPS'), 'Impairor' => array('Corvette', 'Trash'), 'Noctis' => array('Salvaging', 'Trash'), 'Pontifax' => array('Command Destroyer', 'Jumper'), 'Raven Navy Issue' => array('Battleship', 'DPS'), 'Phobos' => array('Hictor', 'Bubbler'), 'Dagon' => array('Force Auxillary', 'Cap Logi'), 'Myrmidon' => array('Battlecruiser', 'DPS'), 'Obelisk' => array('Freighter', 'Freighter'), 'Guardian' => array('Logistics', 'Logistics'), 'Naglfar' => array('Dreadnought', 'Capital'), 'Keres' => array('EWAR Frig.', 'Tackle'), 'Stabber' => array('Cruiser', 'DPS'), 'Talwar' => array('Destroyer', 'Support'), 'Taranis' => array('Interceptor', 'Tackle'), 'Svipul' => array('T3 Destroyer', 'DPS'), 'Ibis' => array('Corvette', 'Trash'), 'Scythe' => array('Cruiser', 'T1 Logi'), 'Covetor' => array('Mining Barge', 'Miner'), 'Kronos' => array('Marauder', 'DPS'), 'Leshak' => array('Triglavian Battleship', 'DPS'), 'Harbinger Navy Issue' => array('Battlecruiser', 'DPS'), 'Nomad' => array('Jump Freighter', 'Jump Freighter'), 'Hawk' => array('Assault Frig.', 'Tackle'), 'Phantasm' => array('Cruiser', 'Support'), 'Aeon' => array('Supercarrier', 'Supercap'), 'Raptor' => array('Interceptor', 'Tackle'), 'Scalpel' => array('Logi Frig', 'Logistics'), 'Bifrost' => array('Command Destroyer', 'Jumper'), 'Heretic' => array('Interdictor', 'Bubbler'), 'Cynabal' => array('Cruiser', 'DPS'), 'Fenrir' => array('Freighter', 'Freighter'), 'Algos' => array('Destroyer', 'Support'), 'Ninazu' => array('Force Auxillary', 'Cap Logi'), 'Revenant' => array('Supercarrier', 'Supercap'), 'Hecate' => array('T3 Destroyer', 'DPS'), 'Vagabond' => array('H.A. Cruiser', 'DPS'), 'Muninn' => array('H.A. Cruiser', 'DPS'), 'Deacon' => array('Logi Frig', 'Logistics'), 'Bestower' => array('Industrial', 'Hauler'), 'Leviathan' => array('Titan', 'Supercap'), 'Venture' => array('Frigate', 'Trash'), 'Sunesis' => array('Destroyer', 'DPS'), 'Oracle' => array('Battlecruiser', 'DPS'), 'Deimos' => array('H.A. Cruiser', 'DPS'), 'Utu' => array('Frigate', 'DPS'), 'Moa' => array('Cruiser', 'Cruiser'), 'Praxis' => array('Battleship', 'DPS'), 'Brutix Navy Issue' => array('Battlecruiser', 'DPS'), 'Vulture' => array('Cmd. Ship', 'Booster'), 'Succubus' => array('Frigate', 'Tackle'), 'Wyvern' => array('Supercarrier', 'Supercap'), 'Burst' => array('Frigate', 'Tackle'), 'Tengu' => array('Strat. Cruiser', 'DPS'), 'Caldari Navy Hookbill' => array('Frigate', 'Tackle'), 'Navitas' => array('Frigate', 'Tackle'), 'Imicus' => array('Frigate', 'Tackle'), 'Breacher' => array('Frigate', 'Tackle'), 'Erebus' => array('Titan', 'Supercap'), 'Nidhoggur' => array('Carrier', 'Capital'), 'Tempest Fleet Issue' => array('Battleship', 'DPS'), 'Brutix' => array('Battlecruiser', 'DPS'), 'Imperial Navy Slicer' => array('Frigate', 'Tackle'), 'Chimera' => array('Carrier', 'Capital'), 'Thorax' => array('Cruiser', 'Cruiser'), 'Omen' => array('Cruiser', 'DPS'), 'Flycatcher' => array('Interdictor', 'Bubbler'), 'Tiamar' => array('Triglavian Cov. Op. Cruiser', 'DPS'), 'Harbinger' => array('Battlecruiser', 'DPS'), 'Archon' => array('Carrier', 'Capital'), 'Absolution' => array('Cmd. Ship', 'DPS'), 'Hurricane Fleet Issue' => array('Battlecruiser', 'DPS'), 'Legion' => array('Strat. Cruiser', 'DPS'), 'Moros' => array('Dreadnought', 'Capital'), 'Ship Name' => array('Ship Type', 'Ship Class'), 'Typhoon' => array('Battleship', 'DPS'), 'Hoarder' => array('Industrial', 'Hauler'), 'Condor' => array('Frigate', 'Tackle'), 'Tristan' => array('Frigate', 'Tackle'), 'Hurricane' => array('Battlecruiser', 'DPS'), 'Viator' => array('Blockade Run.', 'Cloaky Hauler'), 'Bellicose' => array('Cruiser', 'T1 Logi'), 'Rhea' => array('Jump Freighter', 'Jump Freighter'), 'Arbitrator' => array('Cruiser', 'Cruiser'), 'Gnosis' => array('Cruiser', 'DPS'), 'Atron' => array('Frigate', 'Tackle'), 'Prorator' => array('Blockade Run.', 'Cloaky Hauler'), 'Celestis' => array('Cruiser', 'Cruiser'), 'Cheetah' => array('Covert Ops', 'Prober'), 'Scorpion' => array('Battleship', 'DPS'), 'Sin' => array('Black Ops', 'Black Ops'), 'Mastodon' => array('Transport', 'T2 Non Cloaky Hauler'), 'Chemosh' => array('Dreadnought', 'Capital'), 'Eagle' => array('H.A. Cruiser', 'DPS'), 'Venerable' => array('Force Auxillary', 'Cap Logi'), 'Griffin Navy Issue' => array('Frigate', 'EWAR'), 'Phoenix' => array('Dreadnought', 'Capital'), 'Vargur' => array('Marauder', 'DPS'), 'Tornado' => array('Battlecruiser', 'DPS'), 'Thrasher' => array('Destroyer', 'Support'), 'Onyx' => array('Hictor', 'Bubbler'), 'Sigil' => array('Industrial', 'Hauler'), 'Thalia' => array('Logi Frig', 'Logistics'), 'Malediction' => array('Interceptor', 'Tackle'), 'Dragoon' => array('Destroyer', 'Support'), 'Catalyst' => array('Destroyer', 'Support'), 'Drake Navy Issue' => array('Battlecruiser', 'DPS'), 'Falcon' => array('Force Recon', 'EWAR'), 'Prophecy' => array('Battlecruiser', 'DPS'), 'Widow' => array('Black Ops', 'Black Ops'), 'Osprey' => array('Cruiser', 'T1 Logi'), 'Retriever' => array('Mining Barge', 'Miner'), 'Rattlesnake' => array('Battleship', 'DPS'), 'Primae' => array('Industrial', 'Trash'), 'Megathron' => array('Battleship', 'DPS'), 'Mimir' => array('Cruiser', 'DPS'), 'Cormorant' => array('Destroyer', 'Support'), 'Ashimmu' => array('Cruiser', 'Support'), 'Rifter' => array('Frigate', 'Tackle'), 'Federation Navy Comet' => array('Frigate', 'Tackle'), 'Harpy' => array('Assault Frig.', 'Tackle'), 'Maulus' => array('Frigate', 'Tackle'), 'Hyena' => array('EWAR Frig.', 'Tackle'), 'Daredevil' => array('Frigate', 'Tackle'), 'Vanguard' => array('Carrier', 'Capital'), 'Maulus Navy Issue' => array('Frigate', 'Tackle'), 'Mammoth' => array('Industrial', 'Hauler'), 'Avatar' => array('Titan', 'Supercap'), 'Vindicator' => array('Battleship', 'DPS'), 'Sleipnir' => array('Cmd. Ship', 'DPS'), 'Ragnarok' => array('Titan', 'Supercap'), 'Corax' => array('Destroyer', 'Support'), 'Orca' => array('Ind. Cmd.', 'Ind. Cmd.'), 'Prospect' => array('Cov. Op. Miner', 'Miner'), 'Confessor' => array('T3 Destroyer', 'DPS'), 'Crusader' => array('Interceptor', 'Tackle'), 'Velator' => array('Frigate', 'Trash'), 'Magnate' => array('Frigate', 'Tackle'), 'Crow' => array('Interceptor', 'Tackle'), 'Probe' => array('Frigate', 'Tackle'), 'Miasmos' => array('Industrial', 'Hauler'), 'Inquisitor' => array('Frigate', 'Tackle'), 'Apotheosis' => array('Shuttle', 'Trash'), 'Rapier' => array('Force Recon', 'Heavy Tackle'), 'Loki' => array('Strat. Cruiser', 'Heavy Tackle'), 'Garmur' => array('Cruiser', 'DPS'), 'Armageddon' => array('Battleship', 'DPS'), 'Drakavac' => array('Triglavian BC', 'DPS'), 'Dramiel' => array('Frigate', 'Tackle'), 'Nyx' => array('Supercarrier', 'Supercap'), ); |
|
27 | + $ships = array('Bantam' => array('Frigate', 'Tackle'), 'Griffin' => array('Frigate', 'EWAR'), 'Kikimore' => array('Triglavian Destroyer', 'DPS'), 'Procurer' => array('Mining Barge', 'Miner'), 'Vehement' => array('Dreadnought', 'Capital'), 'Heron' => array('Frigate', 'Tackle'), 'Buzzard' => array('Covert Ops', 'Prober'), 'Rook' => array('Combat Recon', 'EWAR'), 'Wreathe' => array('Industrial', 'Hauler'), 'Hydra' => array('Cov. Ops. Triglavian Frig', 'DPS'), 'Nemesis' => array('S. Bomber', 'Bomber'), 'Loggerhead' => array('Force Auxillary', 'Cap Logi'), 'Sabre' => array('Interdictor', 'Bubbler'), 'Rupture' => array('Cruiser', 'Cruiser'), 'Iteron Mark V' => array('Industrial', 'Hauler'), 'Raven' => array('Battleship', 'DPS'), 'Augoror Navy Issue' => array('Cruiser', 'Cruiser'), 'Slasher' => array('Frigate', 'Tackle'), 'Apocalypse' => array('Battleship', 'DPS'), 'Enyo' => array('Assault Frig.', 'Tackle'), 'Charon' => array('Freighter', 'Freighter'), 'Stratios' => array('Cov. op. Cruiser', 'DPS'), 'Panther' => array('Black Ops', 'Black Ops'), 'Gila' => array('Cruiser', 'DPS'), 'Hulk' => array('Exhumer', 'Miner'), 'Porpoise' => array('Ind. Cmd.', 'Ind. Cmd.'), 'Vengeance' => array('Assault Frig.', 'Tackle'), 'Dominix Navy Issue' => array('Battleship', 'DPS'), 'Basilisk' => array('Logistics', 'Logistics'), 'Manticore' => array('S. Bomber', 'Bomber'), 'Crane' => array('Blockade Run.', 'Cloaky Hauler'), 'Kryos' => array('Industrial', 'Hauler'), 'Megathron Navy Issue' => array('Battleship', 'DPS'), 'Dominix' => array('Battleship', 'DPS'), 'Anshar' => array('Jump Freighter', 'Jump Freighter'), 'Skiff' => array('Exhumer', 'Miner'), 'Pilgrim' => array('Force Recon', 'Support'), 'Maelstrom' => array('Battleship', 'DPS'), 'Komodo' => array('Titan', 'Supercap'), 'Tayra' => array('Industrial', 'Hauler'), 'Drake' => array('Battlecruiser', 'DPS'), 'Impel' => array('Transport', 'T2 Non Cloaky Hauler'), 'Kirin' => array('Logi Frig', 'Logistics'), 'Abaddon' => array('Battleship', 'DPS'), 'Vexor Navy Issue' => array('Cruiser', 'DPS'), 'Wolf' => array('Assault Frig.', 'Tackle'), 'Ishkur' => array('Assault Frig.', 'Tackle'), 'Blackbird' => array('Cruiser', 'EWAR'), 'Executioner' => array('Frigate', 'Tackle'), 'Stork' => array('Command Destroyer', 'Jumper'), 'Nereus' => array('Industrial', 'Hauler'), 'Oneiros' => array('Logistics', 'Logistics'), 'Rodiva' => array('Triglavian Logi', 'Logistics'), 'Reaper' => array('Frigate', 'Trash'), 'Purifier' => array('S. Bomber', 'Bomber'), 'Tormentor' => array('Frigate', 'Tackle'), 'Echelon' => array('Frigate', 'Trash'), 'Armageddon Navy Issue' => array('Battleship', 'DPS'), 'Stiletto' => array('Interceptor', 'Tackle'), 'Scythe Fleet Issue' => array('Cruiser', 'Cruiser'), 'Arazu' => array('Force Recon', 'Heavy Tackle'), 'Damnation' => array('Cmd. Ship', 'Booster'), 'Exequror' => array('Cruiser', 'T1 Logi'), 'Sentinel' => array('EWAR Frig.', 'Neuts'), 'Ark' => array('Jump Freighter', 'Jump Freighter'), 'Jackdaw' => array('T3 Destroyer', 'DPS'), 'Tempest' => array('Battleship', 'DPS'), 'Badger' => array('Industrial', 'Hauler'), 'Golem' => array('Marauder', 'DPS'), 'Punisher' => array('Frigate', 'Tackle'), 'Curse' => array('Combat Recon', 'Neuts'), 'Incursus' => array('Frigate', 'Tackle'), 'Scimitar' => array('Logistics', 'Logistics'), 'Magus' => array('Command Destroyer', 'Jumper'), 'Endurance' => array('Cov. Mining Frig', 'Mining'), 'Exequror Navy Issue' => array('Cruiser', 'T1 Logi'), 'Claymore' => array('Cmd. Ship', 'Booster'), 'Anathema' => array('Covert Ops', 'Prober'), 'Osprey Navy Issue' => array('Cruiser', 'DPS'), 'Vanquisher' => array('Titan', 'Supercap'), 'Orthrus' => array('Cruiser', 'DPS'), 'Adrestia' => array('Cruiser', 'DPS'), 'Zealot' => array('H.A. Cruiser', 'DPS'), 'Ares' => array('Interceptor', 'Tackle'), 'Occator' => array('Transport', 'T2 Non Cloaky Hauler'), 'Kitsune' => array('EWAR Frig.', 'EWAR'), 'Cyclone' => array('Battlecruiser', 'DPS'), 'Jaguar' => array('Assault Frig.', 'Tackle'), 'Caracal' => array('Cruiser', 'DPS'), 'Vexor' => array('Cruiser', 'DPS'), 'Vedmak' => array('Triglavian Cruiser', 'DPS'), 'Cerberus' => array('H.A. Cruiser', 'DPS'), 'Nightmare' => array('Battleship', 'DPS'), 'Helios' => array('Covert Ops', 'Prober'), 'Nighthawk' => array('Cmd. Ship', 'DPS'), 'Paladin' => array('Marauder', 'DPS'), 'Rorqual' => array('Cap. Ind.', 'Capital'), 'Broadsword' => array('Hictor', 'Bubbler'), 'Vendetta' => array('Supercarrier', 'Supercap'), 'Zephyr' => array('Shuttle', 'Trash'), 'Machariel' => array('Battleship', 'DPS'), 'Revelation' => array('Dreadnought', 'Capital'), 'Proteus' => array('Strat. Cruiser', 'Heavy Tackle'), 'Vigilant' => array('Cruiser', 'DPS'), 'Omen Navy Issue' => array('Cruiser', 'DPS'), 'Huginn' => array('Combat Recon', 'Heavy Tackle'), 'Epithal' => array('Industrial', 'Hauler'), 'Crucifier' => array('Frigate', 'Tackle'), 'Caracal Navy Issue' => array('Cruiser', 'DPS'), 'Augoror' => array('Cruiser', 'T1 Logi'), 'Ferox' => array('Battlecruiser', 'DPS'), 'Retribution' => array('Assault Frig.', 'Tackle'), 'Bowhead' => array('Freighter', 'Freighter'), 'Naga' => array('Battlecruiser', 'DPS'), 'Rokh' => array('Battleship', 'DPS'), 'Worm' => array('Frigate', 'Tackle'), 'Bustard' => array('Transport', 'T2 Non Cloaky Hauler'), 'Mackinaw' => array('Exhumer', 'Miner'), 'Coercer' => array('Destroyer', 'Tackle'), 'Redeemer' => array('Black Ops', 'Black Ops'), 'Damavik' => array('Triglavian Frigate', 'DPS'), 'Caiman' => array('Dreadnought', 'Capital'), 'Hyperion' => array('Battleship', 'DPS'), 'Marshal' => array('Battleship', 'DPS'), 'Cruor' => array('Frigate', 'Tackle'), 'Apocalypse Navy Issue' => array('Battleship', 'DPS'), 'Eos' => array('Cmd. Ship', 'Booster'), 'Hound' => array('S. Bomber', 'Bomber'), 'Bhaalgorn' => array('Battleship', 'DPS'), 'Talos' => array('Battlecruiser', 'DPS'), 'Eris' => array('Interdictor', 'Bubbler'), 'Minokawa' => array('Force Auxillary', 'Cap Logi'), 'Lachesis' => array('Combat Recon', 'Heavy Tackle'), 'Kestrel' => array('Frigate', 'Tackle'), 'Ishtar' => array('H.A. Cruiser', 'DPS'), 'Enforcer' => array('Force Recon', 'EWAR'), 'Barghest' => array('Cruiser', 'DPS'), 'Molok' => array('Titan', 'Supercap'), 'Vigil' => array('Frigate', 'Tackle'), 'Crucifier Navy Issue' => array('Frigate', 'Tackle'), 'Freki' => array('Frigate', 'Tackle'), 'Prowler' => array('Blockade Run.', 'Cloaky Hauler'), 'Astarte' => array('Frigate', 'Prober'), 'Maller' => array('Cruiser', 'Cruiser'), 'Thanatos' => array('Carrier', 'Capital'), 'Apostle' => array('Force Auxillary', 'Cap Logi'), 'Lif' => array('Force Auxillary', 'Cap Logi'), 'Sacrilege' => array('H.A. Cruiser', 'DPS'), 'Providence' => array('Freighter', 'Freighter'), 'Merlin' => array('Frigate', 'Tackle'), 'Republic Fleet Firetail' => array('Frigate', 'Tackle'), 'Devoter' => array('Hictor', 'Bubbler'), 'Claw' => array('Interceptor', 'Tackle'), 'Hel' => array('Supercarrier', 'Supercap'), 'Stabber Fleet Issue' => array('Cruiser', 'DPS'), 'Nestor' => array('Battleship', 'DPS'), 'Impairor' => array('Corvette', 'Trash'), 'Noctis' => array('Salvaging', 'Trash'), 'Pontifax' => array('Command Destroyer', 'Jumper'), 'Raven Navy Issue' => array('Battleship', 'DPS'), 'Phobos' => array('Hictor', 'Bubbler'), 'Dagon' => array('Force Auxillary', 'Cap Logi'), 'Myrmidon' => array('Battlecruiser', 'DPS'), 'Obelisk' => array('Freighter', 'Freighter'), 'Guardian' => array('Logistics', 'Logistics'), 'Naglfar' => array('Dreadnought', 'Capital'), 'Keres' => array('EWAR Frig.', 'Tackle'), 'Stabber' => array('Cruiser', 'DPS'), 'Talwar' => array('Destroyer', 'Support'), 'Taranis' => array('Interceptor', 'Tackle'), 'Svipul' => array('T3 Destroyer', 'DPS'), 'Ibis' => array('Corvette', 'Trash'), 'Scythe' => array('Cruiser', 'T1 Logi'), 'Covetor' => array('Mining Barge', 'Miner'), 'Kronos' => array('Marauder', 'DPS'), 'Leshak' => array('Triglavian Battleship', 'DPS'), 'Harbinger Navy Issue' => array('Battlecruiser', 'DPS'), 'Nomad' => array('Jump Freighter', 'Jump Freighter'), 'Hawk' => array('Assault Frig.', 'Tackle'), 'Phantasm' => array('Cruiser', 'Support'), 'Aeon' => array('Supercarrier', 'Supercap'), 'Raptor' => array('Interceptor', 'Tackle'), 'Scalpel' => array('Logi Frig', 'Logistics'), 'Bifrost' => array('Command Destroyer', 'Jumper'), 'Heretic' => array('Interdictor', 'Bubbler'), 'Cynabal' => array('Cruiser', 'DPS'), 'Fenrir' => array('Freighter', 'Freighter'), 'Algos' => array('Destroyer', 'Support'), 'Ninazu' => array('Force Auxillary', 'Cap Logi'), 'Revenant' => array('Supercarrier', 'Supercap'), 'Hecate' => array('T3 Destroyer', 'DPS'), 'Vagabond' => array('H.A. Cruiser', 'DPS'), 'Muninn' => array('H.A. Cruiser', 'DPS'), 'Deacon' => array('Logi Frig', 'Logistics'), 'Bestower' => array('Industrial', 'Hauler'), 'Leviathan' => array('Titan', 'Supercap'), 'Venture' => array('Frigate', 'Trash'), 'Sunesis' => array('Destroyer', 'DPS'), 'Oracle' => array('Battlecruiser', 'DPS'), 'Deimos' => array('H.A. Cruiser', 'DPS'), 'Utu' => array('Frigate', 'DPS'), 'Moa' => array('Cruiser', 'Cruiser'), 'Praxis' => array('Battleship', 'DPS'), 'Brutix Navy Issue' => array('Battlecruiser', 'DPS'), 'Vulture' => array('Cmd. Ship', 'Booster'), 'Succubus' => array('Frigate', 'Tackle'), 'Wyvern' => array('Supercarrier', 'Supercap'), 'Burst' => array('Frigate', 'Tackle'), 'Tengu' => array('Strat. Cruiser', 'DPS'), 'Caldari Navy Hookbill' => array('Frigate', 'Tackle'), 'Navitas' => array('Frigate', 'Tackle'), 'Imicus' => array('Frigate', 'Tackle'), 'Breacher' => array('Frigate', 'Tackle'), 'Erebus' => array('Titan', 'Supercap'), 'Nidhoggur' => array('Carrier', 'Capital'), 'Tempest Fleet Issue' => array('Battleship', 'DPS'), 'Brutix' => array('Battlecruiser', 'DPS'), 'Imperial Navy Slicer' => array('Frigate', 'Tackle'), 'Chimera' => array('Carrier', 'Capital'), 'Thorax' => array('Cruiser', 'Cruiser'), 'Omen' => array('Cruiser', 'DPS'), 'Flycatcher' => array('Interdictor', 'Bubbler'), 'Tiamar' => array('Triglavian Cov. Op. Cruiser', 'DPS'), 'Harbinger' => array('Battlecruiser', 'DPS'), 'Archon' => array('Carrier', 'Capital'), 'Absolution' => array('Cmd. Ship', 'DPS'), 'Hurricane Fleet Issue' => array('Battlecruiser', 'DPS'), 'Legion' => array('Strat. Cruiser', 'DPS'), 'Moros' => array('Dreadnought', 'Capital'), 'Ship Name' => array('Ship Type', 'Ship Class'), 'Typhoon' => array('Battleship', 'DPS'), 'Hoarder' => array('Industrial', 'Hauler'), 'Condor' => array('Frigate', 'Tackle'), 'Tristan' => array('Frigate', 'Tackle'), 'Hurricane' => array('Battlecruiser', 'DPS'), 'Viator' => array('Blockade Run.', 'Cloaky Hauler'), 'Bellicose' => array('Cruiser', 'T1 Logi'), 'Rhea' => array('Jump Freighter', 'Jump Freighter'), 'Arbitrator' => array('Cruiser', 'Cruiser'), 'Gnosis' => array('Cruiser', 'DPS'), 'Atron' => array('Frigate', 'Tackle'), 'Prorator' => array('Blockade Run.', 'Cloaky Hauler'), 'Celestis' => array('Cruiser', 'Cruiser'), 'Cheetah' => array('Covert Ops', 'Prober'), 'Scorpion' => array('Battleship', 'DPS'), 'Sin' => array('Black Ops', 'Black Ops'), 'Mastodon' => array('Transport', 'T2 Non Cloaky Hauler'), 'Chemosh' => array('Dreadnought', 'Capital'), 'Eagle' => array('H.A. Cruiser', 'DPS'), 'Venerable' => array('Force Auxillary', 'Cap Logi'), 'Griffin Navy Issue' => array('Frigate', 'EWAR'), 'Phoenix' => array('Dreadnought', 'Capital'), 'Vargur' => array('Marauder', 'DPS'), 'Tornado' => array('Battlecruiser', 'DPS'), 'Thrasher' => array('Destroyer', 'Support'), 'Onyx' => array('Hictor', 'Bubbler'), 'Sigil' => array('Industrial', 'Hauler'), 'Thalia' => array('Logi Frig', 'Logistics'), 'Malediction' => array('Interceptor', 'Tackle'), 'Dragoon' => array('Destroyer', 'Support'), 'Catalyst' => array('Destroyer', 'Support'), 'Drake Navy Issue' => array('Battlecruiser', 'DPS'), 'Falcon' => array('Force Recon', 'EWAR'), 'Prophecy' => array('Battlecruiser', 'DPS'), 'Widow' => array('Black Ops', 'Black Ops'), 'Osprey' => array('Cruiser', 'T1 Logi'), 'Retriever' => array('Mining Barge', 'Miner'), 'Rattlesnake' => array('Battleship', 'DPS'), 'Primae' => array('Industrial', 'Trash'), 'Megathron' => array('Battleship', 'DPS'), 'Mimir' => array('Cruiser', 'DPS'), 'Cormorant' => array('Destroyer', 'Support'), 'Ashimmu' => array('Cruiser', 'Support'), 'Rifter' => array('Frigate', 'Tackle'), 'Federation Navy Comet' => array('Frigate', 'Tackle'), 'Harpy' => array('Assault Frig.', 'Tackle'), 'Maulus' => array('Frigate', 'Tackle'), 'Hyena' => array('EWAR Frig.', 'Tackle'), 'Daredevil' => array('Frigate', 'Tackle'), 'Vanguard' => array('Carrier', 'Capital'), 'Maulus Navy Issue' => array('Frigate', 'Tackle'), 'Mammoth' => array('Industrial', 'Hauler'), 'Avatar' => array('Titan', 'Supercap'), 'Vindicator' => array('Battleship', 'DPS'), 'Sleipnir' => array('Cmd. Ship', 'DPS'), 'Ragnarok' => array('Titan', 'Supercap'), 'Corax' => array('Destroyer', 'Support'), 'Orca' => array('Ind. Cmd.', 'Ind. Cmd.'), 'Prospect' => array('Cov. Op. Miner', 'Miner'), 'Confessor' => array('T3 Destroyer', 'DPS'), 'Crusader' => array('Interceptor', 'Tackle'), 'Velator' => array('Frigate', 'Trash'), 'Magnate' => array('Frigate', 'Tackle'), 'Crow' => array('Interceptor', 'Tackle'), 'Probe' => array('Frigate', 'Tackle'), 'Miasmos' => array('Industrial', 'Hauler'), 'Inquisitor' => array('Frigate', 'Tackle'), 'Apotheosis' => array('Shuttle', 'Trash'), 'Rapier' => array('Force Recon', 'Heavy Tackle'), 'Loki' => array('Strat. Cruiser', 'Heavy Tackle'), 'Garmur' => array('Cruiser', 'DPS'), 'Armageddon' => array('Battleship', 'DPS'), 'Drakavac' => array('Triglavian BC', 'DPS'), 'Dramiel' => array('Frigate', 'Tackle'), 'Nyx' => array('Supercarrier', 'Supercap'), ); |
|
28 | 28 | |
29 | - $ship_classes = array(); |
|
29 | + $ship_classes = array(); |
|
30 | 30 | $ship_types = array(); |
31 | 31 | $ship_names = array(); |
32 | 32 | $ship_total = 0; |
33 | 33 | |
34 | 34 | $dscan = explode("\n", str_replace("\r", "", /** @scrutinizer ignore-call */ request('scan'))); |
35 | 35 | foreach ($dscan as $ship) { |
36 | - $tmp = explode("\t", $ship); |
|
37 | - $shipName = $tmp[2]; |
|
36 | + $tmp = explode("\t", $ship); |
|
37 | + $shipName = $tmp[2]; |
|
38 | 38 | |
39 | - if (array_key_exists($shipName, $ships)) |
|
40 | - { |
|
41 | - $ship_total++; |
|
39 | + if (array_key_exists($shipName, $ships)) |
|
40 | + { |
|
41 | + $ship_total++; |
|
42 | 42 | // Create ship type if it doesn't exist |
43 | 43 | if (array_key_exists($ships[$shipName][0], $ship_types)) |
44 | 44 | { |
45 | - // Increment it |
|
46 | - $ship_types[$ships[$shipName][0]]++; |
|
45 | + // Increment it |
|
46 | + $ship_types[$ships[$shipName][0]]++; |
|
47 | 47 | } |
48 | 48 | else |
49 | 49 | { |
@@ -53,8 +53,8 @@ discard block |
||
53 | 53 | // Create class if it doesn't exist |
54 | 54 | if (array_key_exists($ships[$shipName][1], $ship_classes)) |
55 | 55 | { |
56 | - // Increment it |
|
57 | - $ship_classes[$ships[$shipName][1]]++; |
|
56 | + // Increment it |
|
57 | + $ship_classes[$ships[$shipName][1]]++; |
|
58 | 58 | } |
59 | 59 | else |
60 | 60 | { |
@@ -64,14 +64,14 @@ discard block |
||
64 | 64 | // Create name if it doesn't exist |
65 | 65 | if (array_key_exists($shipName, $ship_names)) |
66 | 66 | { |
67 | - // Increment it |
|
68 | - $ship_names[$shipName]++; |
|
67 | + // Increment it |
|
68 | + $ship_names[$shipName]++; |
|
69 | 69 | } |
70 | 70 | else |
71 | 71 | { |
72 | 72 | $ship_names[$shipName] = 1; |
73 | 73 | } |
74 | - } |
|
74 | + } |
|
75 | 75 | } |
76 | 76 | |
77 | 77 | if ($ship_total <= 0) |
@@ -80,9 +80,9 @@ discard block |
||
80 | 80 | } |
81 | 81 | |
82 | 82 | // Sort the ship arrays |
83 | - rnatsort($ship_names); |
|
84 | - rnatsort($ship_types); |
|
85 | - rnatsort($ship_classes); |
|
83 | + rnatsort($ship_names); |
|
84 | + rnatsort($ship_types); |
|
85 | + rnatsort($ship_classes); |
|
86 | 86 | |
87 | 87 | // Convert ship arrays to JSON |
88 | 88 | $ship_names_json = json_encode($ship_names); |
@@ -90,19 +90,19 @@ discard block |
||
90 | 90 | $ship_classes_json = json_encode($ship_classes); |
91 | 91 | |
92 | 92 | // Create the unique ID |
93 | - $sid = uniqid("", true); |
|
93 | + $sid = uniqid("", true); |
|
94 | 94 | |
95 | - // Start inserting the Data |
|
96 | - $scan = new Dscan; |
|
95 | + // Start inserting the Data |
|
96 | + $scan = new Dscan; |
|
97 | 97 | |
98 | - $scan->reportedAt = Carbon::now(); |
|
99 | - $scan->ship_classes = $ship_classes_json; |
|
100 | - $scan->ship_names = $ship_names_json; |
|
101 | - $scan->ship_total = $ship_total; |
|
102 | - $scan->ship_types = $ship_types_json; |
|
103 | - $scan->sid = $sid; |
|
98 | + $scan->reportedAt = Carbon::now(); |
|
99 | + $scan->ship_classes = $ship_classes_json; |
|
100 | + $scan->ship_names = $ship_names_json; |
|
101 | + $scan->ship_total = $ship_total; |
|
102 | + $scan->ship_types = $ship_types_json; |
|
103 | + $scan->sid = $sid; |
|
104 | 104 | |
105 | - $scan->save(); |
|
105 | + $scan->save(); |
|
106 | 106 | |
107 | 107 | return /** @scrutinizer ignore-call */ redirect()->route('result', [$sid]); |
108 | 108 |
@@ -13,19 +13,19 @@ discard block |
||
13 | 13 | */ |
14 | 14 | public function boot() |
15 | 15 | { |
16 | - $this->loadViewsFrom(__DIR__. '/resources/views', 'Dscan'); |
|
17 | - $this->loadMigrationsFrom(__DIR__. '/Database/migrations'); |
|
16 | + $this->loadViewsFrom(__DIR__.'/resources/views', 'Dscan'); |
|
17 | + $this->loadMigrationsFrom(__DIR__.'/Database/migrations'); |
|
18 | 18 | |
19 | 19 | $this->publishes([ |
20 | 20 | __DIR__.'/resources/views' => resource_path('views/vendor/Dscan'), |
21 | 21 | ], 'views'); |
22 | 22 | |
23 | 23 | $this->publishes([ |
24 | - __DIR__ . '/database/migrations' => $this->app->databasePath() . '/migrations' |
|
24 | + __DIR__.'/database/migrations' => $this->app->databasePath().'/migrations' |
|
25 | 25 | ], 'migrations'); |
26 | 26 | |
27 | 27 | $this->publishes([ |
28 | - __DIR__ . '/database/seeds' => $this->app->databasePath() . '/seeds' |
|
28 | + __DIR__.'/database/seeds' => $this->app->databasePath().'/seeds' |
|
29 | 29 | ], 'seeds'); |
30 | 30 | |
31 | 31 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | public function register() |
39 | 39 | { |
40 | - include __DIR__. '/routes/web.php'; |
|
40 | + include __DIR__.'/routes/web.php'; |
|
41 | 41 | $this->app->make('Azak1r\Dscan\Http\Controllers\DscanController'); |
42 | 42 | } |
43 | 43 | } |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | public function run() |
14 | 14 | { |
15 | 15 | if (DB::connection()->getDriverName() == 'mysql') { |
16 | - DB::statement('SET FOREIGN_KEY_CHECKS=0;'); |
|
16 | + DB::statement('SET FOREIGN_KEY_CHECKS=0;'); |
|
17 | 17 | } |
18 | 18 | |
19 | 19 | DB::table('d_scan_datas')->truncate(); |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | DB::unprepared(File::get('database/seeds/ships.sql')); |
22 | 22 | |
23 | 23 | if (DB::connection()->getDriverName() == 'mysql') { |
24 | - DB::statement('SET FOREIGN_KEY_CHECKS=1;'); |
|
24 | + DB::statement('SET FOREIGN_KEY_CHECKS=1;'); |
|
25 | 25 | } |
26 | 26 | } |
27 | 27 | } |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('d_scan_datas', function (Blueprint $table) { |
|
16 | + Schema::create('d_scan_datas', function(Blueprint $table) { |
|
17 | 17 | $table->string('ship_name'); |
18 | 18 | $table->string('ship_type'); |
19 | 19 | $table->string('ship_class'); |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | |
4 | 4 | Route::prefix('dscan')->group(function () { |
5 | - Route::get('/new','Azak1r\Dscan\Http\Controllers\DscanController@create')->name('new'); |
|
6 | - Route::get('/results/{sid}','Azak1r\Dscan\Http\Controllers\DscanController@show')->name('result'); |
|
7 | - Route::post('/postscan', 'Azak1r\Dscan\Http\Controllers\DscanController@store'); |
|
5 | + Route::get('/new','Azak1r\Dscan\Http\Controllers\DscanController@create')->name('new'); |
|
6 | + Route::get('/results/{sid}','Azak1r\Dscan\Http\Controllers\DscanController@show')->name('result'); |
|
7 | + Route::post('/postscan', 'Azak1r\Dscan\Http\Controllers\DscanController@store'); |
|
8 | 8 | }); |
9 | 9 | \ No newline at end of file |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | |
4 | -Route::prefix('dscan')->group(function () { |
|
5 | - Route::get('/new','Azak1r\Dscan\Http\Controllers\DscanController@create')->name('new'); |
|
6 | - Route::get('/results/{sid}','Azak1r\Dscan\Http\Controllers\DscanController@show')->name('result'); |
|
4 | +Route::prefix('dscan')->group(function() { |
|
5 | + Route::get('/new', 'Azak1r\Dscan\Http\Controllers\DscanController@create')->name('new'); |
|
6 | + Route::get('/results/{sid}', 'Azak1r\Dscan\Http\Controllers\DscanController@show')->name('result'); |
|
7 | 7 | Route::post('/postscan', 'Azak1r\Dscan\Http\Controllers\DscanController@store'); |
8 | 8 | }); |
9 | 9 | \ No newline at end of file |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('dscans', function (Blueprint $table) { |
|
16 | + Schema::create('dscans', function(Blueprint $table) { |
|
17 | 17 | $table->string('sid', 45); |
18 | 18 | $table->longText('ship_names'); |
19 | 19 | $table->string('ship_types'); |