setLimit(BERGEIT_LIMIT); $bergzeit->setLanguage(BERGEIT_LANGUAGE); $bergzeit->decode_json = true; $search = strtolower($_REQUEST['search']); $data = (array) $bergzeit->getProducts($search); $data['basic']['title'] = ucfirst($search); $data['meta']['robots'] = "noindex,nofollow"; //$t_Full_Alternate[] = Route::view_createForm(); //$location = new Location(); require_once $_SERVER['DOCUMENT_ROOT'].'/class/TemplateRenderer.class.php'; //$data = $location->listNewest(); //var_dump($data); //$a_variable = 'LLLL'; // Pulling out some data from databases, etc $renderer = new TemplateRenderer(); // Render template passing some variables and print it print $renderer->render('product_list.twig', array('data' => $data));