include("include/news.php");
include("include/site.php");
include("include/comments.php");
if ($postcomment && user_isloggedin())
{
comment_add($story,dehtmlize($headline,1),htmlize($body,1));
}
if (($action == "delcomment" && user_isloggedin()) || user_get_ulevel() >= $level_edcomment)
{
comment_delete($id);
}
include("include/common_head.inc");
?>
if(!$story): ?>
Select a story to display...
else: ?>
news_add_read($story); ?>
list($id,$headline,$summary, $body,$posted_by,$posted_on,$cat,$num_read,$num_comments) = news_data($story); $username = user_id2name($posted_by);?>
news_full_entry($id,$headline,$summary,$body,$posted_by,$posted_on,$cat,$num_read,$num_comments); ?>
comments_show($story); ?>
if(user_isloggedin()): ?>
You may post a comment here...
After you posted your comment, you'll see a little [ Delete ] behind
its headline which means you are the owner of this comment and thus
able to delete it any time - but what's the sense in writing one
then?
Additionally the admins reserve the right to do the same..
else: ?>
[ you are not logged in, sorry no comment posting today... ]
endif ?>
endif ?>
include("include/common_footer.inc"); ?>