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

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
Merge pull request #142 from BNoiZe/master

Icon cleanup, implement new PDO database class in customer_autoresponder/customer_domains/customer_index