| Server IP : 216.92.14.13 / Your IP : 216.73.217.126 Web Server : Apache System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : rmlac2fmr ( 1040637) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/home/rmlac2fmr/ |
Upload File : |
import json
db = json.load(open("/home/rmlac2fmr/public_html/jn.com/ops/data/db.json"))
search = ["wertz", "valk", "gilmour", "webb", "boer", "castro", "wilson", "haber"]
for name in search:
print(f"\n=== {name.upper()} ===")
for p in db.get("persons", []):
last = (p.get("lastName","") or "").lower()
first = (p.get("firstName","") or "").lower()
if name in last or name in first:
trs = [r for r in db["travelRequests"] if r.get("personId") == p["id"] and r.get("showId") == "S3"]
print(f" {p.get('firstName','')} {p.get('lastName','')} (ID: {p['id']})")
print(f" ACF TRs: {len(trs)}")
if trs:
print(f" TR status: {trs[0].get('status','')}")