Use of undefined constant status - assumed
Bom dia Galera estou com o seguinte erro.
alguém aqui poderia me ajudar com essa questão?
[28-Jan-2016 11:13:08] PHP Notice: Use of undefined constant status - assumed 'status' in /home/client1/public_html/estrutura/noticias/noticias.php on line 439
[28-Jan-2016 11:13:08] PHP Notice: Use of undefined constant status - assumed 'status' in /home/client1/public_html/estrutura/noticias/noticias.php on line 439
[28-Jan-2016 11:13:08] PHP Notice: Use of undefined constant status - assumed 'status' in /home/client1/public_html/estrutura/noticias/noticias.php on line 439
[28-Jan-2016 11:13:08] PHP Notice: Use of undefined constant id - assumed 'id' in /home/client1/public_html/estrutura/noticias/noticias.php on line 439
[28-Jan-2016 11:13:08] PHP Notice: Use of undefined constant id - assumed 'id' in /home/client1/public_html/estrutura/noticias/noticias.php on line 439
<? if($dados[fotos_extras] == "S"){?>
<a href="?pg=noticias_fotos&id=<?=$dados[id];?>"><img src="../images/admin/botao_sendfotos.gif" alt="Enviar Fotos" border="0" /></a>
<? } else { ?>
<img src="../images/admin/botao_sendfotos_off.gif" alt="Enviar Fotos" border="0" />
<? }?>
<a href="?pg=noticias_fotos&acao=verfotos&caminho=../images/noticias/<?=$dados[id];?>"><img src="../images/admin/botao_verfotos.gif" alt="Ver Fotos" border="0" /></a><a href="?pg=<?=$file?>&acao=status&id=<?=$dados[id];?>&status=<?=($dados[status]=="S")?"N":"S";?>"> <img src="<?=$usite?>images/admin/status_<?=($dados[status]=="S")?"on":"off";?>.png" alt='Alterar Status para <?=($dados[status]=="S")?"OFF":"ON";?>' border='0' /></a> <a href="?pg=<?=$file?>&acao=FORM&id=<?=$dados[id]?>"><img src="<?=$usite?>images/admin/botao_edit.png" alt="Alterar" border="0" /></a><!--<a href="javascript:confirmaExclusao('?pg=<?=$file?>&acao=excluirbd&id=<?=$dados[id];?>')"><img src="<?=$usite?>images/admin/botao_drop.png" alt="Excluir" hspace="3" border="0" /></a>--></td>
</tr>
<? $i++; }?>
<tr>
<td colspan="5"><table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100" align="right" valign="top"><?
if($page > 1){
$anterior = $page -1;
$url = "?pg=$pg&acao=$acao&page=$anterior";
echo "<a href='$url'>« Anterior</a> | ";
} else {
echo "<font color='$corcelula2'>« Anterior</font> | ";
}
?> </td>
Muito Obrigado Galera !
Discussão (6)
Carregando comentários...