<!DOCTYPE html>
<html lang="de">
<?
require_once("../../mysyde/common/version_comment.inc.php");
require_once("intranet_functions.inc.php");

$translation = \DynCom\mysyde\common\classes\Registry::get('translation');
?>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="robots" content="noindex, nofollow" />
  <title>Registrieren - <?= $GLOBALS['language']["site_title_name"]?></title>
  <!--===============================================================================================-->
  <link rel="stylesheet" type="text/css" href="/plugins/formdesign/vendor/bootstrap/css/bootstrap.min.css">
  <!--===============================================================================================-->
  <link rel="stylesheet" type="text/css" href="/plugins/formdesign/vendor/animate/animate.css">
  <!--===============================================================================================-->
  <link rel="stylesheet" type="text/css" href="/plugins/formdesign/vendor/select2/select2.min.css">
  <!--===============================================================================================-->
  <link rel="stylesheet" type="text/css" href="/plugins/formdesign/css/util.css">
  <link href="/layout/admin/css/fonts.css" rel="stylesheet" type="text/css" />
  <link rel="shortcut icon" href="/layout/frontend/b2c/dist/favicons/favicon.png?v=3" type="image/x-icon" />
  <link type="text/css" rel="stylesheet" href="/plugins/bootstrap/css/bootstrap.min.css">
  <link type="text/css" rel="stylesheet" href="/layout/frontend/manual/css/style.min.css">
  <link type="text/css" rel="stylesheet" href="/layout/frontend/b2c/dist/css/main.css">
  <script src="/layout/frontend/b2c/dist/js/bc.min.js"></script>
</head>

<body class="login-area">
  <div class="app">
    <div class="login-container">
      <div class="row">
        <div id="logo-area" class="col-xs-12 col-md-12 col-lg-4">
          <? get_content("logo"); ?>
        </div>
        <div id="login-area" class="col-xs-12 col-md-12 col-lg-8">
          <div id="login_1">
            <span>Mitgliederportal | <?= $GLOBALS['language']["site_title_name"]?></span>
            <h1>Registriere dich im Mitgliederportal der Naturbühne Trebgast</h1>
            <form class="contact2-form validate-form" name="form_intranet_register" id="form_intranet_register" action="?action=intranet_register_finish" method="post">
            <div class='wrapper_inputs'>

              <div class="wrapper-login">
                <span>Name</span>
                <div class="wrap-input2 validate-input" data-validate="Name is required">
                  <input class="input2" type="text" name="input_name" id="input_name">
                </div>
              </div>

              <div class="wrapper-login">
                <span>E-Mail</span>
                <div class="wrap-input2 validate-input" data-validate="Name is required">
                  <input class="input2" name="input_email" type="text" id="input_email">
                </div>
              </div>

              <div class="wrapper-login">
                <span>Passwort</span>
                <div class="wrap-input2 validate-input" data-validate="Name is required">
                  <input class="input2" name="input_password" type="password" id="input_password">
                </div>
              </div>

              <div class="wrapper-login">
                <span>Geburtstag </span>
                <div class="wrap-input2 validate-input" data-validate="Name is required">
                  <input class="input2" name="input_birthday" type="date" id="input_birthday">
                </div>
              </div>

              <div class="wrapper-login">
                <span>Adresse</span>
                <div class="wrap-input2 validate-input" data-validate="Name is required">
                  <input class="input2" name="input_address" type="text" id="input_address">
                </div>
              </div>

              <div class="wrapper-login">
                <span>PLZ</span>
                <div class="wrap-input2 validate-input" data-validate="Name is required">
                  <input class="input2" name="input_post_code" type="text" id="input_post_code">
                </div>
              </div>

              <div class="wrapper-login">
                <span>Ort</span>
                <div class="wrap-input2 validate-input" data-validate="Name is required">
                  <input class="input2" name="input_city" type="text" id="input_city">
                </div>
              </div>

              <div class="wrapper-login">
                <span>Telefonnummer</span>
                <div class="wrap-input2 validate-input" data-validate="Name is required">
                  <input class="input2" name="input_phone_no" type="text" id="input_phone_no">
                </div>
              </div>
            </div>
              <input id="login-button" class="button" name="input_submit" value="Registrieren" type="submit" />
            </form>
            <div class="error">
              <?
              if (session_status() === PHP_SESSION_NONE) {
                session_start();
              }
              if (isset($_SESSION["login_error"])) {
                echo $_SESSION["login_error"];
              } else {
                echo $login_error;
              }
              ?>
            </div>
            <div class="button-left">
              <a href="/">Einloggen</a>
            </div>
          </div>
          <div id="login_2">
            <div id="button-area">
              <div class="button-right">
              <a href="https://www.facebook.com/dienaturbuehne/" target='_blank'>Facebook</a>
                <a href="https://dienaturbuehne.de" target='_blank'>Webseite</a>
                <a href="https://www.instagram.com/dienaturbuehne/" target='_blank'>Instagram</a>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

  </div>

  </div>
</body>

</html>