assign('css',$_GET['css']); } }else{ $t = 'index.tpl'; } if(isset($_GET['t'])){ if($_GET['t']=='flowers' || $_GET['t']=='cart'){ include('include/products.php'); $smarty->assign('flowers',$flowers); } } //$smarty->force_compile = true; //$smarty->debugging = true; //$smarty->caching = true; //$smarty->cache_lifetime = 120; $smarty->display($t); ?>