added auto refresh, might remove later

master
Jakob 2020-03-08 17:37:00 +01:00
parent 2270e5ecc5
commit 886a9804f6
1 changed files with 1 additions and 2 deletions

View File

@ -13,7 +13,7 @@ $id=$_GET['id'];
<title>ThreadR - Boards</title> <title>ThreadR - Boards</title>
%STYLESHEET% %STYLESHEET%
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" /> <link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="refresh" content="20" name="viewport" content="width=device-width, initial-scale=1.0">
</head> </head>
<body> <body>
%NAVBAR% %NAVBAR%
@ -48,7 +48,6 @@ $id=$_GET['id'];
include("./post.php"); include("./post.php");
} elseif($_GET['action']=='submit') { } elseif($_GET['action']=='submit') {
$user_id=$_SESSION[user_id]; $user_id=$_SESSION[user_id];
echo "$user_id";
$title=$_POST['title']; $title=$_POST['title'];
$content=$_POST['content']; $content=$_POST['content'];
include("./submit.php"); include("./submit.php");