From f3b66867bcfe9f089b0b124991481e245bfb538c Mon Sep 17 00:00:00 2001 From: shahfaisalgani <54397227+shahfaisalgani@users.noreply.github.com> Date: Tue, 26 Mar 2024 15:30:01 +0530 Subject: [PATCH] rollback --- admin/includes/config.php | 8 ++++---- admin/index.php | 2 +- includes/config.php | 8 ++++---- includes/header.php | 5 +++-- index.php | 43 --------------------------------------- 5 files changed, 12 insertions(+), 54 deletions(-) diff --git a/admin/includes/config.php b/admin/includes/config.php index a5714dd..b5dbd63 100644 --- a/admin/includes/config.php +++ b/admin/includes/config.php @@ -1,7 +1,7 @@ +?> \ No newline at end of file diff --git a/admin/index.php b/admin/index.php index 9560555..7750aca 100644 --- a/admin/index.php +++ b/admin/index.php @@ -5,7 +5,7 @@ if(isset($_POST['submit'])) { $username=$_POST['username']; - $password=md5($_POST['password']); + $password=c ($_POST['password']); $query=mysqli_query($con,"SELECT * FROM admin WHERE username='$username' and password='$password'"); $num=mysqli_fetch_array($query); if($num>0) diff --git a/includes/config.php b/includes/config.php index 99d87a0..6453813 100644 --- a/includes/config.php +++ b/includes/config.php @@ -1,7 +1,7 @@ +?> \ No newline at end of file diff --git a/includes/header.php b/includes/header.php index c34cf4b..aa1f673 100644 --- a/includes/header.php +++ b/includes/header.php @@ -33,7 +33,8 @@ - EduEnroll + + Online Course Registration @@ -42,4 +43,4 @@ - + \ No newline at end of file diff --git a/index.php b/index.php index afbdad7..8721e9d 100644 --- a/index.php +++ b/index.php @@ -36,54 +36,11 @@ -