Compare commits

...

1 Commits

Author SHA1 Message Date
Sharayu.M
4b8edbc8ea third commit 2024-01-26 18:33:55 +05:30
3 changed files with 25 additions and 14 deletions

@ -17,15 +17,10 @@ if (isset($_POST["submit"])) {
echo "Failed: " . mysqli_error($conn);
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -40,10 +35,9 @@ if (isset($_POST["submit"])) {
<title>CRUD Application</title>
</head>
<body>
<nav class="navbar navbar-light justify-content-center fs-1 mb-2" style="background-color: #add8e6;">
<img src="Logo.png" alt="Logo" width="300" height="75">
</nav>
<?php
include './logo.php';
?>
<nav class="navbar navbar-light justify-content-center fs-2 mb-4" style="background-color: #87CEEB;">
CRUD Application
</nav>
@ -95,5 +89,4 @@ if (isset($_POST["submit"])) {
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
</body>
</html>

@ -20,9 +20,9 @@ include "db_conn.php";
</head>
<body>
<nav class="navbar navbar-light justify-content-center fs-1 mb-2" style="background-color: #add8e6;">
<img src="Logo.png" alt="Logo" width="300" height="75">
</nav>
<?php
include './logo.php';
?>
<nav class="navbar navbar-light justify-content-center fs-2 mb-4" style="background-color: #87CEEB;">
CRUD Application
</nav>
@ -37,7 +37,7 @@ include "db_conn.php";
</div>';
}
?>
<a href="add-new.php" class="btn btn-dark mb-3">Add New</a>
<a href="add-new.php" class="btn btn-dark mb-3" style="background-color: #33b5fd;">Add New</a>
<table class="table table-hover text-center">
<thead class="table-dark">

18
logo.php Normal file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PHP CRUD Application</title>
</head>
<body>
<?php
$logoUrl = 'Logo.png';
?>
<img src="<?php echo $logoUrl; ?>" alt="Logo">
</body>
</html>