Skip to content

Instantly share code, notes, and snippets.

@valdiney
Created March 3, 2016 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save valdiney/934ede7d406608d4b87c to your computer and use it in GitHub Desktop.
Save valdiney/934ede7d406608d4b87c to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Wifiaqui</title>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!--CSS-->
<?php Helper::css('css.inicio_hotspot');?>
<style>
.div_interna {
padding:10px!important;
}
.div_form {
padding:10px;
}
input {
padding:20px;
border-radius:2px;
width:80%;
max-width:300px;
border:1px solid #ebebeb;
border-bottom:2px solid #ebebeb;
font-family: 'Open Sans', sans-serif;
font-size:19px;
color:#f1776c;
outline:none;
}
input:focus {
border:1px solid #ff0099;
}
button {
padding:10px;
background:#f1776c;
border:1px solid transparent;
width:80%;
max-width:300px;
border-bottom:2px solid #d76b61;
cursor:pointer;
font-family: 'Open Sans', sans-serif;
border-radius:2px;
font-size:20px;
color: white;
text-shadow:#333333 1px 1px 1px;
}
.data_retorno {
text-shadow:#333333 1px 1px 1px;
}
#conectar:active {
background:#ff0099;
outline:none;
}
</style>
</head>
<body>
<div id="frame">
<ul>
<!--Li que usado para mostrar as Publicidades-->
<li style="background-color:#1D62F0;">
<div class="button_next next">
<img class="img_go_an_back" src="public/img/next.png" alt="">
</div>
<?php require_once('views/publicidade/apresentar.php');?>
</li>
<!--Li que usado para mostrar as Publicidades-->
<li style="background-color:#36EB7D;">
<br>
<!--Apresenta a Logomarca da empresa-->
<?php if (is_null($logomarca['imagem'])):?>
<img class="logo logo_padrao" src="public/img/logomarca.png" alt="" width="225px">
<?php else:?>
<img class="logo" src="<?php echo $logomarca['imagem'];?>"
width="<?php echo $logomarca['width'];?>">
<?php endif;?>
<form class="form form_login_hotspot" method="post">
<div class="div_form">
<input type="text" id="nome" name="nome" placeholder="Digite seu Nome">
</div>
<div class="div_form">
<input type="text" id="username" name="username" placeholder="Digite seu Email">
</div>
<p class="data_retorno"></p>
<div class="div_form">
<button id="conectar" type="submit" id="login_button">Conectar</button>
</div>
</form>
<p>Tenha acesso a internet <br> cadastrando nome e email</p>
<br>
</li>
</ul>
</div>
<!--Plugins-->
<?php Helper::script('js.jquery');?>
<?php Helper::script('js.itemslide');?>
<!--Scripts-->
<?php Helper::script('js.sliding');?>
<script>
$(document).ready(function() {
$("#conectar").click(function() {
var data_retorno = $(".data_retorno");
data_retorno.display = 'block';
data_retorno.text("Conectando...");
$.post("?login=cadastrar_visitante",
{
nome: $("#nome").val(),
username: $("#username").val(),
validacao: 'chave'
},
function(data,status){
data_retorno.text(data);
});
return false;
});
}); // end jquery
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment