crappy ui for threads
This commit is contained in:
parent
1f56e6df3c
commit
22756c834e
3 changed files with 25 additions and 4 deletions
11
docs/comment.php
Normal file
11
docs/comment.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
require("../libs/page.php");
|
||||
require("../libs/form.php");
|
||||
require("../libs/comment.php");
|
||||
|
||||
$ref = 1732684297;
|
||||
|
||||
page_header();
|
||||
comments("comment",$_GET['id']);
|
||||
page_footer();
|
||||
?>
|
|
@ -6,8 +6,8 @@
|
|||
$ref = 1732684297;
|
||||
|
||||
function getOut($typer, $idr) {
|
||||
if ($typer == 'user') {
|
||||
header("Location: " . '/user.php?id=' . htmlspecialchars($idr));
|
||||
if ($typer == 'user' || $typer == 'comment') {
|
||||
header("Location: " . '/' . $typer . '.php?id=' . htmlspecialchars($idr));
|
||||
die();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue