Gifari Industries - BD Cyber Security Team
Home
/
home
/
decohaslibrary
/
public_html
/
✏️
Editing: add_dep.php
<?php session_start(); $user = $_SESSION['username']; $log = $_SESSION['admin']; if ($log != "log"){ header ("Location: login.php"); } ?> <html> <head> <title>add_dep </title> <link rel = "stylesheet" type = "text/css" href = "css/style.css"/> </head> <body > <div id = "container"> <div id = "bg_container"> <?php include 'header.php'; ?> <div id= "main_part"> <div class = "navbarr"> <ul> <li><a href = "admin.php">Home</a></li> <li></li> <li><a href ="#">Options</a> <ul> <li><a href ="manage_user.php">Manage User</a></li> <li><a href ="add_user.php">Add User</a></li> <li><a href ="add_dep.php">Add Departments</a></li> <li><a href ="view_dep.php">View Departments</a></li> <li><a href ="uploaded_books.php">Uploaded Books</a></li> </ul> </li> <li><a href = "changepass.php"><img src = "images/my_account.png" style="margin-right:3px;">Update password</img></a></li> <li><a href = "index.php"><img src = "images/logout.png" style="margin-right:3px;">Logout</img></a></li> </ul> </div> <div id = "head"> <h1>Add Departments:</h1> </div> <div id = "tablle"> <form name='add_form' method='post' action='add_dep.php'> <table border = "0" > <label><b style="font-size:20px; margin-left:20px;">Departments:</b></label> <input name = 'gname' type = 'text' value = '' style="border-radius:4px; padding:6px; width:50%; margin-bottom:15px;margin-top:35px;"> <td align = "right"></td> <td align = "right"><input name = 'cancel' type = 'submit' value = 'CANCEL' style="width:60px; background:#F6F4F0; padding:4px; border-radius:4px; margin-left:129px;"> <input name = 'add' type = 'submit' value = 'A D D' style="width:60px; background:#F6F4F0; padding:4px; border-radius:4px; "></td> </tr> </table> </form> </div> </div> </div> <footer> <P>© 2020 Danish Refugee Council - All Rights Reselved </p> </footer> </div> </body> </html>
💾 Save
❌ Cancel