diff --git a/docs/css/main.css b/docs/css/main.css index cd0126b..19267a0 100755 --- a/docs/css/main.css +++ b/docs/css/main.css @@ -70,7 +70,6 @@ pre { .avatar { display: flex; - width: 200px; align-items: center; margin-bottom: 5px; } diff --git a/libs/comment.php b/libs/comment.php index 60a7d3c..9ba3140 100644 --- a/libs/comment.php +++ b/libs/comment.php @@ -11,15 +11,29 @@ array('key' => '','type' => 'hidden','name' => 'type', 'default' => $typer), array('key' => '','type' => 'hidden','name' => 'id', 'default' => $idr), array('key' => 'Attachments', 'type' => 'file', 'name' => 'file', 'default' => '') - ),'/index.php'); + ),'/index.php'); } + + $qs = parse_url($_SERVER['REQUEST_URI']); + + if (is_null($qs)) $qs = array('query' => '?'); + $qsq = $qs['query']; + + $qss = array(); + + parse_str($qsq,$qss); + + $qss['page'] = $page + 1; + $qs_next = http_build_query($qss); + $qss['page'] = $page - 1; + $qs_prev = http_build_query($qss); ?>