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 --- index.php | 43 +++++++++---------------------------------- 1 file changed, 9 insertions(+), 34 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index c7eb711..eeb50c5 100644 --- a/index.php +++ b/index.php @@ -1,36 +1,11 @@ - - - - -Home - - - -

Home

- -
-

This site will rock your chair. The best products from all over the world. - Furniture the like you have never seen. Contact us a get our catalog or login a order direct from our categories.

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