Gifari Industries - BD Cyber Security Team
Home
/
home
/
decohaslibrary
/
public_html
/
✏️
Editing: add_user_nurse.php
<?php session_start(); $user = $_SESSION['username']; $log = $_SESSION['HOD-Nursing']; if ($log != "log"){ header ("Location: login.php"); } ?> <html> <head> <title>DECOHAS Library System </title> <link rel = "stylesheet" type = "text/css" href = "css/style.css"/> </head> <body > <div id = "container"> <div id = "bg_container"> <div id="header" > </div> <div id = "bg_wrapper" > <h1 style="font-size:28px;">DECOHAS Online Library System<h1> </div> <div id= "wrapper"> <div class = "navbar"> <ul> <li><a href = "nurse.php"><img src = "images/home.gif" style="margin-right:3px; ">Home</img></a></li> <li><a href = "add_user_nurse.php"><img src = "images/add.png " width="15" style="margin-right:3px; border-radius:50%;">Add </img></a></li> <li><a href = "view_students_nurse.php"><img src = "images/add.png " width="15" style="margin-right:3px; border-radius:50%;">Students </img></a></li> <li></li> <li><a href = "changepassl.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><!--font face="Broadway" size = "6"!-->Add Students:</h1><!--</font>!--> </div> <div id = "table" style="margin-left:150px;"> <form name='add_form' method='post' action=''> <label><b style="font-size:20px; margin-left:20px;">Username:</b></label> <input name = 'uname' type = 'text' value = ''style="border-radius:4px; padding:6px; width:50%; margin-bottom:15px;margin-top:35px; margin-left:35px;"><br/> <label><b style="font-size:20px; margin-left:20px;">Password:</b></label> <input name = 'pword' type = 'password' value = '' maxlength="10" style="border-radius:4px; padding:6px; width:50%; margin-bottom:15px; margin-left:38px;"><br/> <label><b style="font-size:20px; margin-left:20px;">Departments:</b></label> <select name = 'group' style="width:50%; border-radius:4px; padding:6px; margin-bottom:15px; margin-left:10px;"> <option>NURSING <?php include 'sql.php'; /* $SQL = "SELECT * FROM group_title ORDER BY group_name ASC"; $result = mysql_query($SQL); while ($db_field = mysql_fetch_assoc($result)){ $list = $db_field['group_name']; if($list != "admin"){ print("<option>$list"); } } mysql_close($db_handle);*/ ?> </select><br/> <b style="font-size:20px;margin-left:20px;">Position:</b> <select name = 'position' style="width:50%; border-radius:4px; padding:6px; margin-bottom:15px; margin-left:52px;"> <option>Students </select><br/> <td align = "right"></td> <td align = "right" style="float:right; "><input name = 'cancel' type = 'submit' value = 'CANCEL' style="width:60px; background:#F6F4F0; padding:4px; border-radius:4px; margin-left:150px;"> <input name = 'add' type = 'submit' value = 'A D D' style="width:60px; background:#F6F4F0; padding:4px; border-radius:4px; " ></td> </tr> <?php include 'add_user_out_hod.php'; ?><h3 align = "center" style = "color:red;"><?php echo $msg; ?></h3> </form> </div> </div> </div> <div id="footer" > <p>©2017 DECOHAS</p> </div> </div> </body> </html>
💾 Save
❌ Cancel