crappy ui for threads

This commit is contained in:
biglyderv 2024-12-11 23:51:42 -05:00
parent 1f56e6df3c
commit 22756c834e
3 changed files with 25 additions and 4 deletions

11
docs/comment.php Normal file
View 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();
?>

View file

@ -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();
}