<div class="home">
<div class="container">
  <div class="row">

    <div class="main">

      <h1 class="homeh1"><?php getLanguage(307)?></h1>
         <?php
            switch($_SESSION['msg'])
            {
                case 1: echo('<p class="error"><b>'.getLanguage(40, 1).'</b>'.getLanguage(317, 1).'</p>'); break;
                case 2: echo('<p class="error"><b>'.getLanguage(40, 1).'</b>'.getLanguage(401, 1).'</p>'); break;
            }
            unset($_SESSION['msg']);
          ?>
      <form method="post" action="account/signup" id="setupForm" onsubmit="return setupComplete();">
        <div class="form-group">
          <label for="username"><?php getLanguage(52)?></label>
          <input type="text" class="form-control" id="username" name="username">
          <span class="supporting"><?php getLanguage(308)?> http://<?php echo SITE_DOMAIN; ?>/<?php getLanguage(309)?></span>
          <span id="usernameStatus"></span>
        </div>

        <div class="form-group">
          <label for="password"><?php getLanguage(291)?></label>
          <input type="text" class="form-control" id="password" name="password">
          <span class="supporting"><?php getLanguage(310)?></span>
          <span id="passwordStatus"></span>
        </div>

        <div class="form-group">
          <label for="password2"><?php getLanguage(154)?></label>
          <input type="text" class="form-control" id="password2" name="password2">
          <span class="supporting"><?php getLanguage(310)?></span>
          <span id="usernameStatus"></span>
        </div>

        <div class="form-group">
          <label for="name"><?php getLanguage(150)?></label>
          <input type="text" class="form-control" id="name" name="name">
          <span class="supporting"><?php getLanguage(311)?></span>
        </div>

        <div class="form-group">
          <label for="surname"><?php getLanguage(151)?></label>
          <input type="text" class="form-control" id="surname" name="surname">
          <span class="supporting"><?php getLanguage(312)?></span>
        </div>

        <div class="form-group">
          <label for="email"><?php getLanguage(53)?></label>
          <input type="text" class="form-control" id="email" name="email">
          <span class="supporting"><?php getLanguage(313)?></span>
        </div>

        <div class="form-group">
          <label for="captcha"><img src='site/captcha' /></label>
          <input type="text" class="form-control" id="captcha" name="captcha">
          <span class="supporting"><?php getLanguage(315)?></span>
        </div>

        <div class="form-group">
          <label id="termsLabel" for="terms"><?php getLanguage(314)?> <a href="site/terms" target="_blank"><?php getLanguage(115)?></a></label>
          <input type="checkbox" name="terms" id="terms" value="1" checked="checked">
        </div>

        <button type="submit" class="btn btn btn-primary" name="submit" id="submit">
          <?php getLanguage(316)?>
        </button>
      </form>

    </div>
    
  </div>
</div> 