<script type="text/javascript">
  $(document).ready(function () {
    $(".imgLiquidFill").imgLiquid({
      fill: true,
      horizontalAlign: "center",
      verticalAlign: "50%"
    });
  });
</script>
<div class="home">
<div class="container">
  <div class="row">

    <div class="main">

      <center><h1 class="homeh1"><?php getLanguage(307)?></h1></center>
        <?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 socialComplete()">
      	<?php if($_SESSION['regphoto_big']!="" && $_SESSION['regphoto_big']!="https://ulogin.ru/img/photo_big.png") { ?>

	    	<center><span class="imgLiquidFill imgLiquid" style="width:200px; height:200px; display:block;">
	            <img src="<?php echo $_SESSION['regphoto_big']; ?>" width="200" height="200" />
	        </span></center>
	        <br>
		<?php } ?>
			<center><p><?php echo $_SESSION['regfirst_name']." ".$_SESSION['reglast_name']; ?>, <?php getLanguage(870)?>:</p></center>
        <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="email"><?php getLanguage(53)?></label>
          <input type="text" class="form-control" id="email" name="email">
          <span class="supporting"><?php getLanguage(313)?></span>
          <span id="emailStatus"></span>
        </div>

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

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