True, "nonavbar" => True); } $phpgw_flags["currentapp"] = "admin"; include("../header.inc.php"); if (! $con) Header("Location: " . $phpgw->link("headlines.php")); if ((! $submit) && ($con)) { $phpgw->db->query("select * from news_site where con=$con"); $phpgw->db->next_record(); ?>
session->hidden_var(); ?>
">
">
">
">
">
db->f("newstype") == $news_type[$i]) echo " checked"; echo "> $news_type[$i]
"; } ?>
">
db->lock("news_site"); $phpgw->db->query("UPDATE news_site SET display='" . addslashes($n_display) . "', " . "base_url='" . addslashes($n_base_url) . "', " . "newsfile='" . addslashes($n_newsfile) . "', " . "lastread=0, newstype='" . $n_newstype . "', " . "cachetime=$n_cachetime, listings=$n_listings " . "WHERE con=$o_con"); $phpgw->db->unlock(); Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/admin/headlines.php", "cd=27")); } ?>