├── README.md ├── title.php ├── footer.php ├── logout.php ├── menu.php ├── ajax.php ├── ajax2.php ├── index.php ├── about.php ├── admin.php ├── cust.php ├── sup.php └── library.txt /README.md: -------------------------------------------------------------------------------- 1 | # okguys -------------------------------------------------------------------------------- /title.php: -------------------------------------------------------------------------------- 1 | LIBRARIAN'S DELIGHT -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 |

-------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | "; 5 | ?> -------------------------------------------------------------------------------- /menu.php: -------------------------------------------------------------------------------- 1 | HOME| 2 | ADMIN| 3 | MEMBER| 4 | LIBRARY 5 | -------------------------------------------------------------------------------- /ajax.php: -------------------------------------------------------------------------------- 1 | 0) 11 | { 12 | echo "
User name already exist"; 13 | }else{ 14 | echo ""; 15 | } 16 | 17 | 18 | ?> -------------------------------------------------------------------------------- /ajax2.php: -------------------------------------------------------------------------------- 1 | 0) 11 | { 12 | echo "
User name already exist"; 13 | }else{ 14 | echo ""; 15 | } 16 | 17 | 18 | ?> -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <?php include('title.php') ?> 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
 

Home Page

 
  28 |

29 |          30 |
31 |
32 |          33 |

34 | 35 |
 
 
 
 
48 | 49 | 50 | 51 | 52 |
53 |
54 | 55 | 56 | -------------------------------------------------------------------------------- /about.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <?php include('title.php') ?> 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 31 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 |
 

About Us

 
  27 |

We have designed and developed a system called "LibraryManagement System " that finds its applications in various colleges. We have designed the front end by using PHP and Back End by MYSQL

 

 

 

. 32 |

 
 
 
 
45 | 46 | 47 | 48 | 49 |
50 |
51 | 52 | 53 | -------------------------------------------------------------------------------- /admin.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | <?php include('title.php') ?> 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |
 

Admin Log In

 
  32 | 33 |

34 |

35 |
36 |
37 |

USER NAME : 

38 |
39 |

PASSWORD :  

40 |
41 | 42 |
43 |

44 |
 
 
 
 
57 | 58 | 59 | 60 | 61 |
62 |
63 | 64 | 65 | 0) 79 | { 80 | $_SESSION['user_id'] = $res->user_id; 81 | $_SESSION['user_name'] = $res->user_name; 82 | $_SESSION['user_uname'] = $res->user_uname; 83 | 84 | echo ""; 85 | 86 | echo ""; 87 | 88 | } 89 | else{ echo ""; } 90 | } 91 | ?> 92 | -------------------------------------------------------------------------------- /cust.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | <?php include('title.php') ?> 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 46 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 |
 

Library Login

 
  32 |

33 |

34 |
35 |

Register To Log In...


36 |

37 |          Regno  38 |   Email Id   

39 |
40 |

User Name   Password 

41 |
42 |
43 |
44 |

45 |
47 |

48 |
49 |

50 |

USER NAME :
51 |   52 |

53 |
54 |

PASSWORD :
55 |    56 |

57 |
58 | 59 |
60 |
61 | 62 |

63 |
 
 
 
 
76 | 77 | 78 | 79 | 80 |
81 |
82 | 83 | 84 | 96 | 0) 109 | { 110 | $_SESSION['user_id']=$res->cust_id; 111 | $_SESSION['user_uname']=$cust_uname; 112 | $_SESSION['user_name']=$res->cust_name; 113 | 114 | echo ""; 115 | 116 | echo ""; 117 | 118 | } 119 | else{ echo ""; } 120 | } 121 | elseif(isset($_REQUEST['register'])) 122 | { 123 | $ins="INSERT INTO `customer` (`cust_name` ,`cust_email` ,`cust_uname` ,`cust_pwd`) 124 | VALUES ('".$_REQUEST['reg_name']."', '".$_REQUEST['reg_email']."', '".$_REQUEST['reg_uname']."', '".$_REQUEST['reg_pwd']."')"; 125 | mysql_query($ins); 126 | echo ""; 127 | } 128 | ?> -------------------------------------------------------------------------------- /sup.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | <?php include('title.php') ?> 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 45 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 |
 

Member Login

 
  32 |

33 |

34 |
35 |

Register To Log In...


36 |

37 |          Regno   Email Id   

38 |
39 |

User Name   Password 

40 |
41 |
42 |
43 |

44 |
46 |

47 |
48 |

49 |

USER NAME :
50 |   51 |

52 |
53 |

PASSWORD :
54 |    55 |

56 |
57 | 58 |
59 |
60 | 61 |

 
 
 
 
74 | 75 | 76 | 77 | 78 |
79 |
80 | 81 | 82 | 94 | 0) 108 | { 109 | $_SESSION['user_id']=$res->supp_id; 110 | $_SESSION['user_uname']=$supp_uname; 111 | $_SESSION['user_name']=$res->supp_name; 112 | 113 | echo ""; 114 | 115 | echo ""; 116 | 117 | } 118 | else{ echo ""; } 119 | } 120 | elseif(isset($_REQUEST['register'])) 121 | { 122 | $ins="INSERT INTO `supplier` (`supp_name` ,`supp_email` ,`supp_uname` ,`supp_pwd`) 123 | VALUES ('".$_REQUEST['reg_name']."', '".$_REQUEST['reg_email']."', '".$_REQUEST['reg_uname']."', '".$_REQUEST['reg_pwd']."')"; 124 | mysql_query($ins); 125 | echo ""; 126 | echo ""; 127 | } 128 | ?> -------------------------------------------------------------------------------- /library.txt: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 2.11.6 3 | -- http://www.phpmyadmin.net 4 | -- 5 | -- Host: localhost 6 | -- Generation Time: Dec 21, 2023 at 05:38 PM 7 | -- Server version: 5.0.51 8 | -- PHP Version: 5.2.6 9 | 10 | SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; 11 | 12 | -- 13 | -- Database: `library` 14 | -- 15 | 16 | -- -------------------------------------------------------- 17 | 18 | -- 19 | -- Table structure for table `admin` 20 | -- 21 | 22 | CREATE TABLE `admin` ( 23 | `user_id` int(11) NOT NULL auto_increment, 24 | `user_name` varchar(100) NOT NULL, 25 | `user_uname` varchar(100) NOT NULL, 26 | `user_pwd` varchar(100) NOT NULL, 27 | PRIMARY KEY (`user_id`) 28 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; 29 | 30 | -- 31 | -- Dumping data for table `admin` 32 | -- 33 | 34 | INSERT INTO `admin` (`user_id`, `user_name`, `user_uname`, `user_pwd`) VALUES 35 | (1, 'Administrator', 'admin', 'admin'); 36 | 37 | -- -------------------------------------------------------- 38 | 39 | -- 40 | -- Table structure for table `application` 41 | -- 42 | 43 | CREATE TABLE `application` ( 44 | `app_id` int(11) NOT NULL auto_increment, 45 | `app_ten` int(11) NOT NULL, 46 | `app_sup` int(11) NOT NULL, 47 | `app_value` int(11) NOT NULL, 48 | `email` varchar(50) collate latin1_general_ci NOT NULL, 49 | PRIMARY KEY (`app_id`) 50 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=10 ; 51 | 52 | -- 53 | -- Dumping data for table `application` 54 | -- 55 | 56 | INSERT INTO `application` (`app_id`, `app_ten`, `app_sup`, `app_value`, `email`) VALUES 57 | (1, 2, 1, 3100100, ''), 58 | (2, 2, 3, 3100200, ''), 59 | (3, 2, 2, 3100150, ''), 60 | (4, 3, 3, 3600000, ''), 61 | (5, 4, 1, 400000, ''), 62 | (6, 4, 3, 450000, ''), 63 | (7, 1, 3, 3000000, ''), 64 | (9, 7, 1, 10, ''); 65 | 66 | -- -------------------------------------------------------- 67 | 68 | -- 69 | -- Table structure for table `customer` 70 | -- 71 | 72 | CREATE TABLE `customer` ( 73 | `cust_id` int(11) NOT NULL auto_increment, 74 | `cust_name` varchar(100) NOT NULL, 75 | `cust_email` varchar(100) NOT NULL, 76 | `cust_uname` varchar(100) NOT NULL, 77 | `cust_pwd` varchar(100) NOT NULL, 78 | PRIMARY KEY (`cust_id`) 79 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; 80 | 81 | -- 82 | -- Dumping data for table `customer` 83 | -- 84 | 85 | INSERT INTO `customer` (`cust_id`, `cust_name`, `cust_email`, `cust_uname`, `cust_pwd`) VALUES 86 | (1, 'Saravanan', 'sara@gmail.com', 'sara', 'sara'), 87 | (2, 'Mahendran', 'mahe@gmail.com', 'mahe', 'mahe'); 88 | 89 | -- -------------------------------------------------------- 90 | 91 | -- 92 | -- Table structure for table `supplier` 93 | -- 94 | 95 | CREATE TABLE `supplier` ( 96 | `supp_id` int(11) NOT NULL auto_increment, 97 | `supp_name` varchar(100) NOT NULL, 98 | `supp_email` varchar(100) NOT NULL, 99 | `supp_uname` varchar(100) NOT NULL, 100 | `supp_pwd` varchar(100) NOT NULL, 101 | PRIMARY KEY (`supp_id`) 102 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; 103 | 104 | -- 105 | -- Dumping data for table `supplier` 106 | -- 107 | 108 | INSERT INTO `supplier` (`supp_id`, `supp_name`, `supp_email`, `supp_uname`, `supp_pwd`) VALUES 109 | (1, 'Richard Dennis', 'rich@gmail.com', 'rich', 'rich'), 110 | (2, 'Shiyam Prashant', 'shiam@gmail.com', 'shiam', 'shiam'), 111 | (3, 'Hariharan', 'hari@gmail.com', 'hari', 'hari'); 112 | 113 | -- -------------------------------------------------------- 114 | 115 | -- 116 | -- Table structure for table `tender` 117 | -- 118 | 119 | CREATE TABLE `tender` ( 120 | `ten_id` int(11) NOT NULL auto_increment, 121 | `ten_title` varchar(100) collate latin1_general_ci NOT NULL, 122 | `ten_dept` varchar(100) collate latin1_general_ci NOT NULL, 123 | `ten_type` varchar(100) collate latin1_general_ci NOT NULL, 124 | `ten_value` varchar(100) collate latin1_general_ci NOT NULL, 125 | `ten_loc` varchar(100) collate latin1_general_ci NOT NULL, 126 | `ten_odate` date NOT NULL, 127 | `ten_cdate` date NOT NULL, 128 | `ten_user` int(11) NOT NULL, 129 | `ten_to` int(11) NOT NULL, 130 | `ten_status` varchar(100) collate latin1_general_ci NOT NULL, 131 | PRIMARY KEY (`ten_id`) 132 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=9 ; 133 | 134 | -- 135 | -- Dumping data for table `tender` 136 | -- 137 | 138 | INSERT INTO `tender` (`ten_id`, `ten_title`, `ten_dept`, `ten_type`, `ten_value`, `ten_loc`, `ten_odate`, `ten_cdate`, `ten_user`, `ten_to`, `ten_status`) VALUES 139 | (6, 'computer science', 'c++', 'balagurusamy', '2', 'NV publications', '2023-12-21', '2023-12-31', 1, 0, 'Published'), 140 | (7, 'compter science', 'vb.net', 'guru', '1', 'NV publications', '2023-12-21', '2023-12-31', 1, 1, 'Allotted'), 141 | (8, 'ece', 'embedded', 'raja', '1', 'ss', '2023-12-21', '2023-12-31', 1, 0, 'Published'); 142 | --------------------------------------------------------------------------------