Commit 0a48a0e1 authored by Elias's avatar Elias

Adicionado Area Consulta Admin

parent 6ab2f2a8
<!--Começa Header-->
<?php
$Titulo = "Consulta Admin";
include 'Header.php';
?>
<!--Termina Header-->
<!--Começa Menu-->
<?php
$Pagina = "Consulta";
include 'Menu.php';
?>
<!--Termina Menu-->
</div>
</div>
</div>
</div>
<div class="col-md-3"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<div class="Area">
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10">
<div class="EscolhaConsulta">
<ul class="nav nav-pills" role="tablist">
<li role="presentation" class="active" id="Montar"><a href="javascript:OpcaoMontar();">Montar</a></li>
<li role="presentation" id="Avancado"><a href="javascript:OpcaoAvançado();">Avançado</a></li>
</ul>
</div>
<br />
<div id="ModoMontar">
</div>
<div id="ModoAvancado">
<form action="Processa Admin" method="POST">
<div class="form-group">
<p><label>Consulta SQL:</label></p>
<textarea rows="10" cols="75" class="Text" id="Text" name="ConsultaSQL"></textarea>
</div>
<hr />
<div class="form-group">
<p><label>Codigo Pagina Seguinte:</label></p>
<textarea rows="25" cols="75" class="Text" id="Text2" name="CodigoResultado"></textarea>
</div>
<hr />
<div class="form-group">
<input type="hidden" class="form-control" name="Modo" value="Avancado"/>
</div>
<input type="submit" class="btn btn-success"/>
</form>
</div>
</div>
<div class="col-md-1"></div>
</div>
</div>
</div>
<div class="col-md-3"></div>
</div>
</body>
</html>
......@@ -167,4 +167,32 @@ if($Pagina=="Contato"){
</div>
</nav>";
}
if($Pagina=="Consulta"){
echo "<nav class='navbar navbar-default' role='navigation'>
<div class='navbar-header'>
<button type='button' class='navbar-toggle' data-toggle='collapse' data-target='#bs-example-navbar-collapse-1'>
<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'>Olimpíadas</a>
</div>
<div class='collapse navbar-collapse' id='bs-example-navbar-collapse-1'>
<ul class='nav navbar-nav'>
<li class=''>
<a href='http://araquari.ifc.edu.br/'>IFC</a>
</li>
<li class=''>
<a href='Sobre.php'>Sobre</a>
</li>
<li class=''>
<a href='Pagina%20Modalidades.php'>Modalidades</a>
</li>
<li class=''>
<a href='Contato.php'>Contatos</a>
</li>
<li class=''>
<a href='votacao.php'>Votação</a>
</li>
</ul>
</div>
</nav>";
}
?>
<!--Começa Header-->
<?php
$Titulo = "Consulta Admin";
include 'Header.php';
?>
<!--Termina Header-->
<!--Começa Menu-->
<?php
$Pagina = "Consulta";
include 'Menu.php';
?>
<!--Termina Menu-->
</div>
</div>
</div>
</div>
<div class="col-md-3"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<div class="Area">
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6 text-center">
</div>
<div class="col-md-3"></div>
</div>
</div>
</div>
<div class="col-md-3"></div>
</div>
</body>
</html>
<!--Começa Header-->
<?php
$Titulo = "Consulta Admin";
include 'Header.php';
?>
<!--Termina Header-->
<!--Começa Menu-->
<?php
$Pagina = "Consulta";
include 'Menu.php';
?>
<!--Termina Menu-->
</div>
</div>
</div>
</div>
<div class="col-md-3"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<div class="Area">
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6 text-center">
</div>
<div class="col-md-3"></div>
</div>
</div>
</div>
<div class="col-md-3"></div>
</div>
</body>
</html>
......@@ -5,6 +5,14 @@ body{
background-color: #E2E2E2;
border: inset;
}
#ModoMontar{
position:absolute;
visibility:hidden;
}
#ModoAvancado{
position:absolute;
visibility:hidden;
}
.AvisoTamanho{
position:absolute;
visibility:hidden;
......@@ -24,7 +32,8 @@ nav{
}
.Text{
resize: none;
outline:none;
outline: none;
background-color: #E5E5E5;
}
.Text2{
resize: none;
......@@ -62,6 +71,14 @@ nav{
color:#FF0000;
}
/* Telas : */
@media screen and (max-width: 1090px) {
#Text{
width: 30em;
}
#Text2{
width: 30em;
}
}
@media screen and (max-width: 990px) {
.Logos{
margin-left:35%;
......@@ -85,6 +102,12 @@ nav{
.BotaoLogar{
padding-left:25%;
}
#Text{
width: 20em;
}
#Text2{
width: 20em;
}
}
@media screen and (max-width: 370px) {
.Logos{
......
var TamanhoBody;
/ Funções /
function Explandir(Parametro){
alert("No momento não é possivel expandir informações da modalidade '"+Parametro+"'.");
}
......@@ -44,3 +46,19 @@ function VerificarSenha(ParSenha){
}
}
}
function OpcaoMontar(){
document.getElementById("Montar").className = "active";
document.getElementById("Avancado").className = "";
document.getElementById("ModoMontar").style.visibility = "visible";
document.getElementById("ModoMontar").style.position = "static";
document.getElementById("ModoAvancado").style.visibility = "hidden";
document.getElementById("ModoAvancado").style.position = "absolute";
}
function OpcaoAvançado(){
document.getElementById("Montar").className = "";
document.getElementById("Avancado").className = "active";
document.getElementById("ModoMontar").style.visibility = "hidden";
document.getElementById("ModoMontar").style.position = "absolute";
document.getElementById("ModoAvancado").style.visibility = "visible";
document.getElementById("ModoAvancado").style.position = "static";
}
<!--Começa Header-->
<?php
$Titulo = "Cadastro";
include 'Header.php';
?>
<!--Termina Header-->
<!--Começa Menu-->
<?php
$Pagina = "Cadastro";
include 'Menu.php';
?>
<!--Termina Menu-->
</div>
</div>
</div>
</div>
<div class="col-md-3"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<div class="Area">
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6 text-center">
<br />
<h1>Cadastro</h1>
<br />
<br />
<form action="#processarCad.php" method="post" enctype="multipart/form-data">
<div class="form-group">
<label>Número de Matricula:</label>
<input type="number" class="form-control" placeholder="Matricula" name="Matricula" required maxlength="11" />
</div>
<br />
<div class="form-group">
<label>Nome completo:</label>
<input type="text" class="form-control" placeholder="Nome" name="Nome" required maxlength="45" />
</div>
<br />
<div class="form-group">
<label>Email:</label>
<input type="Email" class="form-control" placeholder="Email" name="Email" required maxlength="100" />
</div>
<br />
<div class="form-group">
<label>Telefone:</label>
<input type="tel" class="form-control" placeholder="Telefone" name="Telefone" required maxlength="20" />
</div>
<br />
<div class="form-group">
<label>Telefone do Responsável:</label>
<input type="tel" class="form-control" placeholder="Telefone do Responsável" name="TelefoneR" required maxlength="20" />
</div>
<br />
<div class="form-group">
<label>Data de Nascimento</label>
<input type="Date" class="form-control" placeholder="Nasc" name="Nasc" required />
</div>
<br />
<div class="form-group">
<label>Senha:</label>
<input type="password" class="form-control" placeholder="Senha" name="Senha" required maxlength="25" />
</div>
<br />
<div class="form-group">
<label>Confirmar senha:</label>
<input type="password" class="form-control" placeholder="Confirmar senha" name="CSenha" required maxlength="25" />
</div>
<br />
<input type="submit" class="btn btn-success" />
</form>
<br />
</div>
<div class="col-md-3"></div>
</div>
</div>
</div>
<div class="col-md-3"></div>
</div>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment