<?php
require 'sessao.php';
?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="pt-br" xml:lang="pt-br">
  
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    
    <title>DOMINIOS PRO</title>

	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes"> 
    
	<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
	<link href="css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" />
	
	<link href="css/font-awesome.min.css" rel="stylesheet">
    <link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600" rel="stylesheet">
    
    <link href="css/jquery-ui-1.10.0.custom.min.css" rel="stylesheet">    
    
    <link href="css/base-admin-3.css" rel="stylesheet">
    <link href="css/base-admin-3-responsive.css" rel="stylesheet">
	
    <link href="css/signin.css" rel="stylesheet" type="text/css">

    <link href="css/custom.css" rel="stylesheet">

</head>

<body>
	
<nav class="navbar navbar-inverse" role="navigation">

	<div class="container">
  <!-- Brand and toggle get grouped for better mobile display -->
  <div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
      <span class="sr-only">Toggle navigation</span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
    <a class="navbar-brand" href="index.php">ADICIONAR DOMINIOS PRO</a>
  </div>

  <!-- Collect the nav links, forms, and other content for toggling -->
  
</div> <!-- /.container -->
</nav>
<div class="widget-content">

					<?php
					// mensagem de error
			if (isset($_GET['error'])){
			echo '<div class="alert alert-danger alert-dismissable">
                                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
								Parece que esse domínio já esta adicionado 
								</div>';}
			
			// mensagem de sucesso
			if (isset($_GET['sucesso'])){
			echo'
				<div class="alert alert-success alert-dismissable">
                                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                                Adicionado com sucesso!
                            </div>';}
            ?>



<div class="account-container stacked">
	<center><h1>Adicione dominíos para sua conta</h1></center>
	<center><p>ESSA PAGINA É PESSOAL NÃO PASSAR PARA NINGUÉM</p></center>
	<div class="shortcuts">
					<form action="pro_.php" method="post" id="form1" name="form1">
<fieldset>
						    <div class="form-group">
						      <label for="name" class="col-lg-4">Domínio:</label >

								<div class="col-lg-8">
						        	<input type="text" class="form-control" name="domain" id="domain" placeholder="Exemplo: meudominio.net" required>
						 
								</div>
						    </div>
						
						
                                                 &nbsp;
						    <div class="form-group">
						    	<div class="col-lg-4"></div>


						    	<div class="col-lg-8">
						      <button type="enviar.php" class="btn btn-success"><i class="icon-white icon-ok"></i> Adicionar</button>&nbsp;&nbsp;
						      <button type="reset" class="btn btn-default">Limpar</button>
						  </div>
						    </div>
						  </fieldset>
						</form>
						&nbsp;
						&nbsp;
            </div>	
					</div> <!-- /shortcuts -->	






<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/jquery-ui-1.10.0.custom.min.js"></script>
<script src="js/bootstrap.min.js"></script>

<script src="js/application.js"></script>

<script src="js/signin.js"></script>

</body>
</html>