session_start();
if ($_SESSION["id_user"] == ""){
header ("location: http://dalloul.com.br");
}
include "../global/inc_mysql.php";
if($_GET["action"] == "" && $_POST["action"] == ""){
include "inc_list.php";
}
if($_GET["action"] == "excluir"){
include "inc_delete.php";
include "inc_list.php";
}
if($_POST["action"] == "update" || $_GET["action"] == "alterar"){
$botao = "Alterar";
$acao = "update";
$hidden_id_news = "";
}else{
$botao = "Gravar";
$acao = "gravar";
}
$form = "