forgot one query in admin_index; converted admin_ipsandports to new pdo database class

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>