From 390251ac43ca889a318369342b4663ef928349d8 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 21:06:48 +0200 Subject: Contact: use Model --- include/contacts-overview.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'include/contacts-overview.php') diff --git a/include/contacts-overview.php b/include/contacts-overview.php index 4f2e6cf..fcd788e 100644 --- a/include/contacts-overview.php +++ b/include/contacts-overview.php @@ -39,28 +39,28 @@ require_once('./login.php'); $contacts = BusinessAdmin::getContacts($_pdo); foreach ($contacts as $contact) { echo " - {$contact->getId()} + data-mixer-order-id='{$contact->id}' + data-mixer-order-name='{$contact->name}'> + {$contact->id} - {$contact->getName()}
+ {$contact->name}
({$contact->getClient()->name}) - {$contact->getEmail()}
+ {$contact->email}

- {$contact->getAddress()}
- " . ($contact->getAddress_2() != '' ? "{$contact->getAddress_2()}
" : "") . " - {$contact->getPostalCode()} - {$contact->getCity()}
- {$contact->getCountry()} + {$contact->address}
+ " . ($contact->address_2 != '' ? "{$contact->address_2}
" : "") . " + {$contact->postal_code} + {$contact->city}
+ {$contact->country} - {$contact->getLanguage()} + {$contact->language} - - + + "; } -- cgit v1.2.3