preProcess(); include_once(dirname(__FILE__).'/contactform.php'); include_once(dirname(__FILE__).'/Process.php'); include(dirname(__FILE__).'/../../header.php'); $result = null; if (Tools::isSubmit('provider_form')) { $Process = new Process(); $result = $Process->addProvider($_POST); } $smarty->assign('result', $result); $smarty->assign('_POST', $_POST); echo Module::display(dirname(__FILE__).'/contactform.php', 'provider.tpl'); include(dirname(__FILE__).'/../../footer.php');