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/clients-view.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'include/clients-view.php') diff --git a/include/clients-view.php b/include/clients-view.php index 2472a80..6648026 100644 --- a/include/clients-view.php +++ b/include/clients-view.php @@ -40,18 +40,18 @@ $_client = new Client($_pdo, $_id); $contacts = $_client->getContacts(); foreach ($contacts as $contact) { echo " - {$contact->getId()} - {$contact->getName()} + {$contact->id} + {$contact->name} - {$contact->getAddress()}
- {$contact->getPostalCode()} - {$contact->getCity()}
- {$contact->getCountry()} + {$contact->address}
+ {$contact->postal_code} + {$contact->city}
+ {$contact->country} - {$contact->getLanguage()} + {$contact->language} - - + + "; } -- cgit v1.2.3