19 lines
393 B
PHP
19 lines
393 B
PHP
<?php
|
|
|
|
include "../../include/boot.php";
|
|
|
|
include "../../include/authenticate.php";
|
|
include "../../include/comment_functions.php";
|
|
|
|
if (
|
|
'POST' == $_SERVER['REQUEST_METHOD']
|
|
&& !empty($username)
|
|
) {
|
|
comments_submit();
|
|
}
|
|
|
|
$ref = getval('ref', 0, true);
|
|
$collection_mode = ('' != getval('collection_mode', '') ? true : false);
|
|
|
|
comments_show($ref, $collection_mode);
|