From b698dd1786ce8858744f5cb5293bd97f90c9d207 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Mon, 12 Apr 2021 12:17:02 +0300 Subject: User: register and update --- templates/panel.php | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'templates/panel.php') diff --git a/templates/panel.php b/templates/panel.php index c7fc578..5c090c8 100644 --- a/templates/panel.php +++ b/templates/panel.php @@ -3,19 +3,23 @@ session_start(); if (isset($_SESSION['user_id']) && $_SESSION['user_id'] != "") { - echo "Welcome, $_SESSION[user_name] logout"; - echo "

Create | View new issues | View active issues

"; + echo "

Welcome, $_SESSION[user_name] | "; + echo "account | "; + echo "logout

"; } else { -echo "
"; -echo " "; -echo " "; -echo " "; -echo "
"; +?> +

'>sign up or log in

+

' method='post'> + + + +
+ -
+' method='get'>
-- cgit v1.2.1