$pag = 4; if ($_GET[p] != 1) { include 'template/header.php'; }else{ include 'core.php'; } foreach ($_GET as $k => $v){ $proj[$k] = str_replace(",", ".", $v); } include_once('cal/'.strtolower($_SESSION[norma]).'.php'); $cte = new Project($proj); if ($_GET[p] != 1){ sendmail4($cte); } ?>