include("../../modules/prefs.ht");
$page_access_level = 1;
include("$modules_path/security.php3");
if($user_level<5){
$show_only_visible="and display=1";
}
$news_query="select id, title, DATE_FORMAT(created,'%e.%c.%Y'), more, display from events where id=$id $show_only_visible $events_category_condition";
$news_result=mysql_query($news_query);
echo (mysql_error());
if(!$news_result){
Header("Location: $HTTP_REFERER");
exit;
}
list($id, $news_title, $news_d, $news_more, $display)=mysql_fetch_row($news_result);
$news_title=unlanguage($news_title);
$news_more=unlanguage($news_more);
if($user_level>=5){
if($display){
$display_control="";
} else {
$display_control="
";
}
$controls="
$display_control
";
}
$this_content="
$news_more
|