diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..b2d4f7b Binary files /dev/null and b/.DS_Store differ diff --git a/Admin panel/assets/css/style.css b/admin/assets/css/style.css similarity index 82% rename from Admin panel/assets/css/style.css rename to admin/assets/css/style.css index 442012a..fa93a8c 100644 --- a/Admin panel/assets/css/style.css +++ b/admin/assets/css/style.css @@ -2,31 +2,11 @@ body{ min-width: 270px; } -header{ - height: 120px; - background-color: #D9D9D9; -} -.nav-bg{ - background-color:#C1BDBD; -} -.online-journal-txt{ - width: 110px; - text-align: center; -} -.nav-anchor{ - color: #000 !important; -} -.nav-anchor:hover{ - color: #fff !important; - background-color: #534A4A; -} -.active-nav-link{ - color: #fff !important; - background-color: #534A4A; -} + + /* Title Section */ #title{ @@ -228,4 +208,44 @@ footer{ justify-content: start !important; margin-top: 10px; } +} + + +/* Navbar Background Gradient */ +.bg-gradient { + background: linear-gradient(90deg, #6a11cb, #2575fc) !important; +} + +/* Brand Title Styling */ +.brand-title { + font-size: 2rem; + font-weight: bold; +} + +/* Navbar Link Styling */ +.nav-link { + color: rgba(255, 255, 255, 0.8) !important; + transition: color 0.3s ease !important; +} + +.nav-link:hover { + color: #fff !important; +} + +.active-nav-link { + color: #fff; + font-weight: bold; + border-bottom: 2px solid #fff; +} + +/* Responsive Navbar Adjustments */ +@media (max-width: 768px) { + .brand-title { + font-size: 1.8rem; + } + + .nav-link { + font-size: 1rem; + padding: 10px 15px; + } } \ No newline at end of file diff --git a/Admin panel/assets/header.php b/admin/assets/header.php similarity index 95% rename from Admin panel/assets/header.php rename to admin/assets/header.php index c1e8638..1c95cb3 100644 --- a/Admin panel/assets/header.php +++ b/admin/assets/header.php @@ -13,15 +13,15 @@ -
+
-
\ No newline at end of file diff --git a/profile.php b/profile.php index 806d715..ec0e2ce 100644 --- a/profile.php +++ b/profile.php @@ -12,6 +12,8 @@ $query = "select * from user where user_id=$uId"; $result = mysqli_query($conn, $query); +// echo $result; + foreach ($result as $user) { ?> @@ -55,12 +57,14 @@ if (isset($_POST['addImg'])) { $pic = $_FILES['userImg']['name']; - $newName = $uId . $pic; + $newName = $uId.$pic; $location = $_FILES['userImg']['tmp_name']; $updateQuery = "UPDATE user SET userImage='$newName' where user_id= $uId"; $exec = mysqli_query($conn, $updateQuery); if ($exec > 0) { - move_uploaded_file($location, 'userProfiles/' . $newName); + $uploadDir = __DIR__ . '/userProfiles/'; // Absolute path to the upload directory + $uploadPath = $uploadDir . $newName; + move_uploaded_file($location, $uploadPath); } else { echo "Error" . mysqli_error($conn); } @@ -155,7 +159,7 @@
-
+

600) { ?>read more....

-
diff --git a/signup.php b/signup.php index a1d842b..032d178 100644 --- a/signup.php +++ b/signup.php @@ -5,12 +5,107 @@ Bootstrap demo - + @@ -21,15 +116,12 @@
-
+
@@ -46,13 +138,15 @@
- +
- +
@@ -61,24 +155,28 @@
- +
- + - + - + @@ -96,7 +194,8 @@
- +
@@ -152,7 +251,9 @@
- + diff --git a/userProfiles/user.png b/userProfiles/user.png old mode 100644 new mode 100755