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/contacts-overview.php | 168 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100644 include/contacts-overview.php (limited to 'include/contacts-overview.php') diff --git a/include/contacts-overview.php b/include/contacts-overview.php new file mode 100644 index 0000000..bad63ed --- /dev/null +++ b/include/contacts-overview.php @@ -0,0 +1,168 @@ +. + */ +?> + +
# | +Name | +Address | +Tools | +{$contact->getId()} | +
+ {$contact->getName()} + ({$contact->getClient()->getName()}) + |
+
+ {$contact->getEmail()} + + {$contact->getAddress()} + " . ($contact->getAddress_2() != '' ? "{$contact->getAddress_2()} " : "") . " + {$contact->getPostalCode()} + {$contact->getCity()} + {$contact->getCountry()} + |
+ + + + | + "; + } + if (count($contacts) == 0) { + echo "
---|---|---|---|---|
There are no contacts in the database. Why not start with creating one, on the right? |