Mini Shell

Direktori : /home/funerariamayer/www/
Upload File :
Current File : /home/funerariamayer/www/velorios.php

<?
$erro=$_POST['erro'];
?>
 <div id="layerslider" class="ls-wp-container" style="width:100%;height:145px;margin:0 auto;border-bottom:1px solid #eee;">

      <div class="ls-slide" data-ls="slidedelay:5000;transition2d:1;"><img src="#" data-src="faixa.jpg" class="ls-bg" alt="MAYER" /><div class="ls-l" style="top:240px;left:61px;white-space: nowrap;"><br></div></div>


   </div> 

    <section class="container" style="margin-top: -50px;">
      <div class="col-sm-12">
         <hr class="vertical-space2">

         <hr class="vertical-space2">
         <h1 class="">Vel&oacute;rios</h1>
         <h3 style="text-align: justify; color: #f04a52;"> Vel&oacute;rios </em></strong>
         </h3>
         <p class="slog" style="text-align: justify;">
         Selecione o vel&oacute;rio e digite senha de acesso ao v&iacute;deo streaming.
         </p>
<form name="frm_velorios" action="velorio" method="POST">
      <div class="col-sm-12">
        <div class="col-sm-1"> &nbsp; </div>
        <div class="col-sm-1">
         <label>Nome</label>
        </div>
        <div class="col-sm-2">
         <select name="cod_velorio">
          <option value=""> Selecione </option>

<?
require_once('conexao.php');
$sql="select cod_velorio,nome
      from mayer_velorios
      ;";
//echo "<pre>".$sql."</pre>";
$query=mysqli_query($con,$sql);
$totitens=@mysqli_num_rows($query);

if ($totitens!="")
{
 while($row = mysqli_fetch_array($query))
 {
  $cod_velorio = $row['cod_velorio'];
  $nome = $row['nome'];

?>
          <option value="<?=$cod_velorio;?>"> <?=$nome;?> </option>
<?
 } //while($row = mysqli_fetch_array($query))

} //if ($totitens!="")
?>
         </select>
        </div>
        <div class="col-sm-8"> &nbsp; </div>
      </div>



      <div class="col-sm-12">
        <div class="col-sm-1"> &nbsp; </div>
        <div class="col-sm-1">
         <label>Senha</label>
        </div>
        <div class="col-sm-2">
         <input type="password" name="senha_velorio" maxlength="4" placeholder="Digite senha">
        </div>
        <div class="col-sm-8"> &nbsp; </div>
      </div>



      <div class="col-sm-12">
        <div class="col-sm-1"> &nbsp; </div>
        <div class="col-sm-1">     </div>
        <div class="col-sm-2">
         <button style="width:200px;background-color:#20415f;color:white"> Acessar V&iacute;deo </button>
        </div>
        <div class="col-sm-8"> &nbsp; </div>
      </div>
      

<?
if ($erro!='')
{
?>
      <div class="col-sm-12">
        <div class="col-sm-1"> &nbsp; </div>
        <div class="col-sm-4" style="text-align:right">
         <font color="red"> <b>* <?=$erro;?> <br> Tente novamente!!!</b></font>
        </div>
        <div class="col-sm-7"> &nbsp; </div>
      </div>
<?
}
?>


</form>

         <hr class="vertical-space1">
      </div> <!-- end col-sm-12 -->
   </section> <!-- end container -->



Zerion Mini Shell 1.0