include("inc_funcoes.php");
// verifica se a habilitação foi passado por parâmetro
$display1 = "block";
$display2 = "block";
$hab = removeInjecao($_GET["hab"]);
if($hab != "")
{
if($hab == "1")
$display2 = "none";
elseif($hab == "2")
$display1 = "none";
}
?>
include("inc_head.php"); ?>
include("inc_topo.php"); ?>
// verifica se o ID do trabalho foi passado por parâmetro
$id = removeInjecao($_GET["id"]);
if($id != "" && $hab != "")
{
$sql = "select * from tcc where id_tcc = '".$id."'";
$rs = query($sql);
$linha = mysql_fetch_array($rs);
if($linha)
{
?>
$sqlVideo = "select foto_video, data_video, video from tcc where id_tcc = '".$id."'";
$rsVideo = query($sqlVideo);
$linhaVideo = mysql_fetch_array($rsVideo);
if($linhaVideo["data_video"])
{
?>
Veja a banca de defesa -