From c50a323c25a0787ba2051b19721983776a229615 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 5 Feb 2015 00:40:47 +0100 Subject: Initial commit --- include/clients-view.php | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 include/clients-view.php (limited to 'include/clients-view.php') diff --git a/include/clients-view.php b/include/clients-view.php new file mode 100644 index 0000000..066ad3e --- /dev/null +++ b/include/clients-view.php @@ -0,0 +1,62 @@ +. + */ + +$_client = new client($_pdo, $_id); +?> +
+
+
Contacts
+
+ + + + + + + + + + + getContacts(); + foreach ($contacts as $contact) { + echo " + + + + + "; + } + if (count($contacts) == 0) { + echo ""; + } + ?> + +
#NameAddressTools
{$contact->getId()}{$contact->getName()} + {$contact->getAddress()}
+ {$contact->getPostalCode()} + {$contact->getCity()}
+ {$contact->getCountry()} +
+ + +
There are no contacts in the database. Why not create one?
+
+
+
\ No newline at end of file -- cgit v1.2.3