added login check to the pages which add entries to the tables
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
session_start();
|
||||
include("../scripts/connection.php");
|
||||
include("../scripts/functions.php");
|
||||
$user_data = check_login($con);
|
||||
|
||||
if($_SERVER['REQUEST_METHOD'] == "POST") {
|
||||
$points = $_POST['points'];
|
||||
$minutes = $_POST['minutes'];
|
||||
|
||||
Reference in New Issue
Block a user