get_types_as_array(); $ctype = new CType("discipline_id","discipline","disciplines"); $DISCIPLINES=$ctype->get_types_as_array(); //show single articles if ($article_id = $_GET['article']) { authorization_required($auth->member_id); show_page_title("View Article","",0); $query = "SELECT * FROM articles WHERE article_id=".$article_id; $rs = $conn->query($query); if ($conn->num_rows($rs)==0) { ?>

We're sorry, this article item could not be found.

Please try the links above or here: Go back or Back to all the current articles

fetch_array($rs); ?>

'".$info['post_date']."' ORDER BY post_date ASC LIMIT 0,1 "; $rs = $conn->query($query); $info_next = $conn->fetch_array($rs); $query = "SELECT article_id AS prev_article_id FROM articles WHERE post_date < '".$info['post_date']."' ORDER BY post_date DESC LIMIT 0,1 "; $rs = $conn->query($query); $info_prev = $conn->fetch_array($rs); ?>
NOW()"; $archive_link = 'query($query); $total_arr = $conn->fetch_array($rs); $total_records = $total_arr[0]; $pag=new CPaging($_GET,$articles_on_page,$total_records); //select all articles $query ="SELECT * FROM articles $where_clause ORDER BY priority,post_date DESC ".$pag->sql_page_limit(); $rs = $conn->query ($query); ?> num_rows($rs)==0) { ?> fetch_array($rs)) { ?>
There are no archived articles yet.
Page display_pages(); ?>