include ("../include/before.php"); include_once ("../include/show_news.php"); include_once ("../include/form_utils.php"); include_once ("../include/show_page_title.php"); include_once ("../include/tables.php"); include_once ("../news/news_fct.php"); include_once ("../include/classes/cpaging.php"); include_once ("../include/classes/ctype.php"); include_once ("../include/classes/cselect.php"); include_once ("../include/classes/cfilter.php"); $news_on_page=5; $ctype = new CType("category_id","name","news_categories"); $NEWS_CATEGORIES=$ctype->get_types_as_array(); $ctype = new CType("discipline_id","discipline","disciplines"); $DISCIPLINES=$ctype->get_types_as_array(); //show single news if ($news_id = $_GET['news_id']) { authorization_required($auth->member_id); show_page_title("News","Item",0); $query = "SELECT * FROM news WHERE news_id=".$news_id; $rs = $conn->query($query); if ($conn->num_rows($rs)==0) { ?>