$step = $_POST['step'];
if(!isset($step)) { ?>
Stopka E.Wedel
} else {
$name = $_POST['name'];
$position = $_POST['position'];
$phone = $_POST['phone'];
$mail = $_POST['mail'];
$content = file_get_contents("./files/index.html", FILE_USE_INCLUDE_PATH);
$content = str_replace("{{name}}",$name,$content);
$content = str_replace("{{position}}",$position,$content);
$content = str_replace("{{phone}}",$phone,$content);
$content = str_replace("{{mail}}",$mail,$content);
echo $content;
} ?>