<?php get_header(); ?>
<? session_start(); ?>

<div id="primary" class="row-fluid mx-auto lg:container lg:mx-auto">
  <div id="content" role="main" class="wrapper--inner span8 offset2">
    <? if($_SESSION["configurator_sended"]) : ?>
      <div id="configurator_sended">
        <h2><?= get_field('title'); ?></h2>
        <div class="configurator_sended_text">
          <?= get_field('text'); ?>
        </div>
      <? unset($_SESSION["configurator_sended"]); ?>
      </div>
    <? else: ?>
      <script type="text/javascript">
        window.location.href = "/";
      </script>
    <? endif; ?>
  </div>
</div>
<?php get_footer(); ?>