<div class="title-box" style="float:left"><div style="float:left"><img src="../images/edit-icon.png" width="35px"></div><div style="float:left; margin-top:10px; margin-left:10px;"><span class="title">ADICIONAR CBO - CLASSIFICAÇÃO BRASILEIRA <BR> DE OCUPAÇÕES</span></div></div> <form method="POST" id="add_cbo" action="add_cbo.php" onsubmit="return validate(this)"> <table border="0" style="width:100%"> <input type="hidden" id="voltar" name="voltar" value="voltar"> <input type="hidden" id="tipo" name="tipo" value="cadastrar"> <!-- <tr> <td><span>Descrição:</span></td> <td ><input type="text" id="desc" name="desc" style="width:100px;"></td><td><span style="font-size:12px; color:#555;">(Ex. de descrição: Das 8:00 às 12:00 e das 13:00 às 18:00)</span></td></tr> <!- nome --> <tr> <td ><span>Codigo:</span></td> <td><input type="text" id="codigo" name="codigo"></td></tr> <!-- ini exp --> <tr> <td ><span>Descrição:</span></td> <td><input type="text" id="descricao" name="descricao"></td></tr> <!-- ini exp --> <tr><td colspan="2"><span>Selecione os exames necessários para essa função:</span></td></tr> <tr> <td colspan="2"> <!-- <select id="exames" name="exames[]" size="5" multiple style="width:270px"> --> <?php $exame = new Exame(); $exames = $exame->get_name_all_exames(); $data = array(); for ($i = 0; $i < count($exames); $i++) { $data[$i] = array("id" => $exames[$i][0], "name" => $exames[$i][1]); } $data_selected = array(); RendDoubleSelect::showDoubleDropDown($data, $data_selected, "id", "name", "", "sel_exames1", "selecionados", "hd_exames", "130px", "Exames", "Selecionados"); ?> <!-- </select> --> </td> </tr> <!-- <tr><td colspan="2"><span style="color:#898989">Segure Ctrl para múltiplas seleções</span></td></tr> --> <tr> <td colspan="3" style="text-align:center"> <input class="button" type="submit" onclick="selectAll()" name="button" id="button" value="Cadastrar"> </td>
?> <div style="float:left; margin-left: 10px; width:100%;"> <div style="float:left; width:100%;" class="historico" id="historico"> <div style="float:left; clear:left; width: 98.5%; padding-bottom: 10px; padding-top: 10px; background-color:rgba(255,255,255,0.5); margin-bottom:5px; box-shadow: 0px 0px 5px #ababab; text-align:center; color:#333; border-radius:5px;"><b><span>CLIQUE E ARRASTE para vincular exames ao funcionario <b><?php echo strtoupper($funcionario->nome); ?> </b></span></b></div> </div> <div style="float:left; width:100%;"> <div style="padding:10px; border: 1px solid#cdcdcd; float:left; width:275px; text-align:center; background-color:rgba(255,255,255,0.5);"><b><span>Exames</span></b></div><div style="padding:10px; border: 1px solid#cdcdcd; float:left; width:275px; text-align:center; background-color:rgba(100,200,100,0.5);"><b><span>Exames Selecionados</span></b></div> </div> <div class="exames" id="list1" style="padding:10px; border: 1px solid#cdcdcd; float:left; width:275px; background-color:rgba(255,255,255,0.2)"> <?php $contexames = 0; $exames = Exame::get_name_all_exames($_GET['id_funcionario']); for ($aux = 0; $aux < count($exames); $aux++) { echo '<li><div><span>' . $exames[$aux][1] . '</span><input type="hidden" name="exame' . $exames[$aux][0] . '" value="' . $exames[$aux][0] . '"></div></li>'; $contexames++; } ?> </div> <form action="add_exame_func.php" method="POST"> <input name="tipo" type="hidden" value="avancar"> <input name="id_funcionario" type="hidden" value="<?php echo $_GET['id_funcionario']; ?> "> <div class="exames" id="list2" style="padding:10px; border: 1px solid#cdcdcd; float:left; width:275px; background-color:rgba(150,230,150,0.2)">