include "../include/before.php";
include_once "../include/form_utils.php";
include_once "../include/show_articles.php";
include_once "../include/show_page_title.php";
include_once("../include/tables.php");
include_once("articles_fct.php");
include_once ("../include/classes/cselect.php");
include_once ("../include/classes/cpaging.php");
include_once ("../include/classes/ctype.php");
include_once ("../include/classes/cfilter.php");
$articles_on_page=5;
$ctype = new CType("category_id","name","articles_categories");
$ARTICLE_CATEGORIES=$ctype->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)
{
?>
|
if ($info_prev['prev_article_id']!='')
{
?>
} ?>
|
if ($info_next['next_article_id']!='')
{
?>
} ?>
|
| There are no articles here. |
| show_articles($info,0,0,1); ?> |
| Page $pag->display_pages(); ?> |
=$archive_link?> |