Skip to content

Commit

Permalink
strip_tags title disciplinados
Browse files Browse the repository at this point in the history
  • Loading branch information
hiltonbruce committed Jan 9, 2017
1 parent cbb25ec commit 637bd38
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions painel_direito.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@
if ($inc_pen=="0") { echo "<tr>"; }
$inc_pen++;
echo '<td class="text-center">';
$titlePed = $coluna_pen["nome"].' &bull; '.$coluna_pen['obs'];
$titlePed = $coluna_pen["nome"].' &bull; '.strip_tags($coluna_pen['obs']);
echo "<a title='$titlePed' data-toggle='tooltip' data-placement='left' ";
echo "href='./?escolha=adm/dados_pessoais.php&bsc_rol={$coluna_pen["rol"]}&";
echo "pagina1_pen={$_GET["pagina1_pen"]}'>{$coluna_pen["rol"]}<a></td>";
echo "pagina1_pen={$_GET["pagina1_pen"]}'>{$coluna_pen["rol"]}</a></td>";
if ($inc_pen=="4") { echo "</tr>";$inc_pen=0; }
}//loop while produtos
?>
Expand Down Expand Up @@ -164,13 +164,14 @@
$inc_disc++;
$exp = mysql_query ("SELECT * FROM disciplina WHERE rol = '{$coluna_disc["rol"]}' ORDER BY id DESC LIMIT 1 ");
$array_exp = mysql_fetch_array($exp);
$membro_disc = $detMemb[$coluna_disc['rol']]['5'].' &rarr; '.$array_exp['motivo'];
$membro_disc = $detMemb[$coluna_disc['rol']]['5'].' &bull; ';
$membro_disc .= strip_tags($array_exp['motivo']);
if ($array_exp["data_fim"]<date("Y-m-d") AND $array_exp["data_fim"]<>"0000-00-00") {
echo "<td id='pendencia' class='text-center' >";
echo "<a data-toggle='tooltip' data-placement='left' title='$membro_disc - ";
echo "Disciplina Conclu&iacute;da' href='./?escolha=adm/dados_pessoais.php";
echo "&bsc_rol={$coluna_disc["rol"]}&pagina1_disc=$pgDisc'><span ";
echo "class='text-success text-blink'>{$coluna_disc["rol"]}</span><a></td>";
echo "class='text-success text-blink'>{$coluna_disc["rol"]}</span></a></td>";
$disp_pend++;
}else {
echo "<td id='pendencia' class='text-center' >";
Expand Down

0 comments on commit 637bd38

Please sign in to comment.