From af6dd5f8f9844596e85db25a8e97df9e08cb795c Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Mon, 1 Jun 2015 18:46:12 +0200 Subject: Port alls sites to smarty and use the inheritance model --- contact.php | 41 ++++++++--------------------------------- 1 file changed, 8 insertions(+), 33 deletions(-) (limited to 'contact.php') diff --git a/contact.php b/contact.php index 85fc9dc..9b9384c 100644 --- a/contact.php +++ b/contact.php @@ -1,35 +1,10 @@ - - - - -Contact Us - - - -

Contact us

- -
-

Name: SomeCompany Ltd.
Telephone: +1-555-6383
Address: SomeStreet in Alamo

-
-
- - - \ No newline at end of file +require_once('vendor.inc.php'); + +$smarty = new Smarty; + +$smarty->assign('loggedin', isset($_SESSION['username'])); + +$smarty->display('contact.tpl'); +?> \ No newline at end of file -- cgit v1.2.3-70-g09d2