👋 Willkommen, = h($user['username']) ?>!
Level = h($user['level']) ?> | = h($user['airline_name']) ?>
⚡ Schnellaktionen
✈️ Meine Flotte
Du hast noch keine Flugzeuge.
| Name | Typ | Zustand | Flüge | Aktion |
|---|---|---|---|---|
| = h($plane['name']) ?> | = h($plane['aircraft_type']) ?> | = number_format($plane['condition'], 1, ',', '.') ?>% | = formatNumber($plane['flights_count']) ?> | Keine Route |
🛫 Meine Routen
Du hast noch keine Routen.
🛫 Jetzt Route erstellen| Von | Nach | Distanz | Nachfrage |
|---|---|---|---|
|
= h($route['from_iata']) ?>
= h($route['from_city']) ?> |
= h($route['to_iata']) ?>
= h($route['to_city']) ?> |
= formatNumber($route['distance_km']) ?> km |
|
📜 Letzte Flüge
select( "SELECT f.*, a1.iata_code as from_iata, a2.iata_code as to_iata, ac.name as aircraft_name, ac.aircraft_type FROM flights f JOIN routes r ON f.route_id = r.id JOIN airports a1 ON r.from_airport_id = a1.id JOIN airports a2 ON r.to_airport_id = a2.id JOIN aircraft ac ON f.aircraft_id = ac.id WHERE f.user_id = ? ORDER BY f.created_at DESC LIMIT 10", [$userId] ); ?>Noch keine Flüge durchgeführt.
| Flug | Flugzeug | Passagiere | Umsatz | Gewinn | Zeit |
|---|---|---|---|---|---|
| = h($flight['from_iata']) ?> → = h($flight['to_iata']) ?> | = h($flight['aircraft_name']) ?> | = formatNumber($flight['passengers']) ?> | = formatMoney($flight['revenue']) ?> | = formatMoney($flight['profit']) ?> | = timeAgo($flight['created_at']) ?> |