<div class="row"> <div class="col-lg-12"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-envelope-o fa-fw"></i> saida</h3> </div> <div class="panel-body"> <table class="table table-hover"> <form method="post" action="pags/enviamensagemsaida.php"> <div class="form-group"> <label>Voluntario</label><br> <?php include "../cls/voluntarioClass.php"; $mensagem = new voluntarioClass(); $mensagem->getOne($idV); $_SESSION['idVol'] = $idV; $_SESSION['idEmp'] = $_SESSION["idEmpresa"]; $result = $mensagem->getConsulta(); if ($linha = $result->fetch_assoc()) { ?> <label><?php echo $linha['nomeVoluntario']; ?> </label> <?php } ?> </div> <div class="form-group">
<li> <a href="pags/trocastatus.php?st=1">Ocupado<span class="label label-primary">O</span></a> </li> <li> <a href="pags/trocastatus.php?st=2">Sendo Voluntario<span class="label label-success">V</span></a> </li> <li class="divider"></li> <li> <a href="#">Gerenciar</a> </li> </ul> </li> <li class="dropdown"> <?php $vol = new voluntarioClass(); $vol->getOne($id); ?> <?php $result = $vol->getConsulta(); while ($linha = $result->fetch_assoc()) { ?> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <?php echo $linha['nomeVoluntario']; ?> <b class="caret"></b></a> <?php } ?> <ul class="dropdown-menu"> <li> <a href="?adm=admPerfil"><i class="fa fa-fw fa-user"></i> Perfil</a>
</li> </ol> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-e fa-desktop"></i> Perfil</h3> </div> <div class="panel-body"> <div> <?php $voluntario = new voluntarioClass(); $voluntario->getOne($id); $result = $voluntario->getConsulta(); if (!$result) { throw new Exception("Database Error [{$this->database->error}] {$this->database->error}"); } else { while ($linha = $result->fetch_assoc()) { $_SESSION['idVol'] = $id; ?> <form method="post" action="pags/updatevoluntario.php"> <div class="col-lg-12"> <h2>Atualizar dados do Voluntário</h2> </div> <div class="form-group col-lg-12"> <label>Nome *</label> <input class="form-control" type="text" value="<?php
</ol> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-e fa-desktop"></i> Dados</h3> </div> <div class="panel-body"> <div> <?php include '../cls/voluntarioClass.php'; $empresa = new voluntarioClass(); $empresa->getOne($idvol); $result = $empresa->getConsulta(); if (!$result) { throw new Exception("Database Error [{$this->database->error}] {$this->database->error}"); } else { if ($linha = $result->fetch_assoc()) { ?> <div class="col-lg-12"> <h2>Dados do Voluntario</h2> </div> <div class="form-group col-lg-12"> <label>Nome</label> <input class="form-control" type="text" value="<?php echo $linha['nomeVoluntario'];