<?php
session_start();
//Initialize the Smarty templating system
require_once('../classes/smarty/Smarty.class.php');
$template = new Smarty;
$template->template_dir = './';
$template->compile_dir = './';
$template->cache_dir = './';
$template->config_dir = './';
if($_POST['submit'] == "Proceed")
{
$_SESSION['db_host'] = $_POST['db_host'];
$_SESSION['db_name'] = $_POST['db_name'];
$_SESSION['db_user'] = $_POST['db_user'];
$_SESSION['db_pass'] = $_POST['db_pass'];
}
$template->assign('page_title', $page_title);
//Lets display the template
$template->display('header.tpl');
?>