├── README.md ├── SQL └── library.sql ├── admin ├── add-author.php ├── add-book.php ├── add-category.php ├── assets │ ├── css │ │ ├── bootstrap.css │ │ ├── font-awesome.css │ │ └── style.css │ ├── fonts │ │ ├── fontawesome-webfont862f.eot │ │ ├── fontawesome-webfont862f.svg │ │ ├── fontawesome-webfont862f.ttf │ │ ├── fontawesome-webfont862f.woff │ │ ├── fontawesome-webfontd41d.eot │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regulard41d.eot │ ├── img │ │ ├── 1.jpg │ │ ├── 2.jpg │ │ ├── 3.jpg │ │ ├── logo.png │ │ ├── user.gif │ │ └── user2.png │ └── js │ │ ├── bootstrap.js │ │ ├── custom.js │ │ ├── dataTables │ │ ├── dataTables.bootstrap.css │ │ ├── dataTables.bootstrap.js │ │ └── jquery.dataTables.js │ │ ├── images │ │ ├── sort_asc.html │ │ ├── sort_asc_disabled.html │ │ ├── sort_both.html │ │ ├── sort_desc.html │ │ └── sort_desc_disabled.html │ │ └── jquery-1.10.2.js ├── change-password.php ├── dashboard.php ├── edit-author.php ├── edit-book.php ├── edit-category.php ├── get_book.php ├── get_student.php ├── includes │ ├── config.php │ ├── footer.php │ └── header.php ├── index.php ├── issue-book.php ├── logout.php ├── manage-authors.php ├── manage-books.php ├── manage-categories.php ├── manage-issued-books.php ├── reg-students.php └── update-issue-bookdeails.php ├── adminlogin.php ├── assets ├── css │ ├── bootstrap.css │ ├── font-awesome.css │ └── style.css ├── fonts │ ├── fontawesome-webfont862f.eot │ ├── fontawesome-webfont862f.svg │ ├── fontawesome-webfont862f.ttf │ ├── fontawesome-webfont862f.woff │ ├── fontawesome-webfontd41d.eot │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regulard41d.eot ├── img │ ├── logo.png │ ├── user.gif │ └── user2.png └── js │ ├── bootstrap.js │ ├── custom.js │ ├── dataTables │ ├── dataTables.bootstrap.css │ ├── dataTables.bootstrap.js │ └── jquery.dataTables.js │ ├── images │ ├── sort_asc.html │ ├── sort_asc_disabled.html │ ├── sort_both.html │ ├── sort_desc.html │ └── sort_desc_disabled.html │ └── jquery-1.10.2.js ├── captcha.php ├── change-password.php ├── check_availability.php ├── config.php ├── dashboard.php ├── includes ├── config.php ├── footer.php └── header.php ├── index.php ├── issued-books.php ├── logout.php ├── my-profile.php ├── signup.php └── user-forgot-password.php /README.md: -------------------------------------------------------------------------------- 1 | lms-php-app 2 | This repository is for my PHP MySQL Library Management System that i have done for a project in college for Web services & Applications 3 | 4 | 5 | In order to use this project you need to instal LAMP/WAMP and create folder library in htdocs folder so that you can use localhost to test this application. Then you need to add this files to library folder and also you need to create database called library and add sql file in phpmyadmin dashboard.. 6 | 7 | And also you can check out my project live that i have hosted : 8 | 9 | https://aleksandartrifunovic1.000webhostapp.com/ 10 | 11 | If you want to check out admin panel you need to have following credentials : 12 | 13 | username : admin 14 | password : admin!!123 15 | 16 | Of course this credentials only work for admin registrations 17 | 18 | 19 | -------------------------------------------------------------------------------- /SQL /library.sql: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 4.4.14 3 | -- http://www.phpmyadmin.net 4 | -- 5 | -- Host: 127.0.0.1 6 | -- Generation Time: Jul 17, 2017 at 06:15 PM 7 | -- Server version: 5.6.26 8 | -- PHP Version: 5.5.28 9 | 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 11 | SET time_zone = "+00:00"; 12 | 13 | 14 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 15 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 16 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 17 | /*!40101 SET NAMES utf8mb4 */; 18 | 19 | -- 20 | -- Database: `library` 21 | -- 22 | 23 | -- -------------------------------------------------------- 24 | 25 | -- 26 | -- Table structure for table `admin` 27 | -- 28 | 29 | CREATE TABLE IF NOT EXISTS `admin` ( 30 | `id` int(11) NOT NULL, 31 | `FullName` varchar(100) DEFAULT NULL, 32 | `AdminEmail` varchar(120) DEFAULT NULL, 33 | `UserName` varchar(100) NOT NULL, 34 | `Password` varchar(100) NOT NULL, 35 | `updationDate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP 36 | ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; 37 | 38 | -- 39 | -- Dumping data for table `admin` 40 | -- 41 | 42 | INSERT INTO `admin` (`id`, `FullName`, `AdminEmail`, `UserName`, `Password`, `updationDate`) VALUES 43 | (1, 'Anuj Kumar', 'phpgurukulofficial@gmail.com', 'admin', 'f925916e2754e5e03f75dd58a5733251', '2017-07-16 18:11:42'); 44 | 45 | -- -------------------------------------------------------- 46 | 47 | -- 48 | -- Table structure for table `tblauthors` 49 | -- 50 | 51 | CREATE TABLE IF NOT EXISTS `tblauthors` ( 52 | `id` int(11) NOT NULL, 53 | `AuthorName` varchar(159) DEFAULT NULL, 54 | `creationDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, 55 | `UpdationDate` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP 56 | ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1; 57 | 58 | -- 59 | -- Dumping data for table `tblauthors` 60 | -- 61 | 62 | INSERT INTO `tblauthors` (`id`, `AuthorName`, `creationDate`, `UpdationDate`) VALUES 63 | (1, 'Anuj kumar', '2017-07-08 12:49:09', '2017-07-08 15:16:59'), 64 | (2, 'Chetan Bhagatt', '2017-07-08 14:30:23', '2017-07-08 15:15:09'), 65 | (3, 'Anita Desai', '2017-07-08 14:35:08', NULL), 66 | (4, 'HC Verma', '2017-07-08 14:35:21', NULL), 67 | (5, 'R.D. Sharma ', '2017-07-08 14:35:36', NULL), 68 | (9, 'fwdfrwer', '2017-07-08 15:22:03', NULL); 69 | 70 | -- -------------------------------------------------------- 71 | 72 | -- 73 | -- Table structure for table `tblbooks` 74 | -- 75 | 76 | CREATE TABLE IF NOT EXISTS `tblbooks` ( 77 | `id` int(11) NOT NULL, 78 | `BookName` varchar(255) DEFAULT NULL, 79 | `CatId` int(11) DEFAULT NULL, 80 | `AuthorId` int(11) DEFAULT NULL, 81 | `ISBNNumber` int(11) DEFAULT NULL, 82 | `BookPrice` int(11) DEFAULT NULL, 83 | `RegDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, 84 | `UpdationDate` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP 85 | ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; 86 | 87 | -- 88 | -- Dumping data for table `tblbooks` 89 | -- 90 | 91 | INSERT INTO `tblbooks` (`id`, `BookName`, `CatId`, `AuthorId`, `ISBNNumber`, `BookPrice`, `RegDate`, `UpdationDate`) VALUES 92 | (1, 'PHP And MySql programming', 5, 1, 222333, 20, '2017-07-08 20:04:55', '2017-07-15 05:54:41'), 93 | (3, 'physics', 6, 4, 1111, 15, '2017-07-08 20:17:31', '2017-07-15 06:13:17'); 94 | 95 | -- -------------------------------------------------------- 96 | 97 | -- 98 | -- Table structure for table `tblcategory` 99 | -- 100 | 101 | CREATE TABLE IF NOT EXISTS `tblcategory` ( 102 | `id` int(11) NOT NULL, 103 | `CategoryName` varchar(150) DEFAULT NULL, 104 | `Status` int(1) DEFAULT NULL, 105 | `CreationDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, 106 | `UpdationDate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP 107 | ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1; 108 | 109 | -- 110 | -- Dumping data for table `tblcategory` 111 | -- 112 | 113 | INSERT INTO `tblcategory` (`id`, `CategoryName`, `Status`, `CreationDate`, `UpdationDate`) VALUES 114 | (4, 'Romantic', 1, '2017-07-04 18:35:25', '2017-07-06 16:00:42'), 115 | (5, 'Technology', 1, '2017-07-04 18:35:39', '2017-07-08 17:13:03'), 116 | (6, 'Science', 1, '2017-07-04 18:35:55', '0000-00-00 00:00:00'), 117 | (7, 'Management', 0, '2017-07-04 18:36:16', '0000-00-00 00:00:00'); 118 | 119 | -- -------------------------------------------------------- 120 | 121 | -- 122 | -- Table structure for table `tblissuedbookdetails` 123 | -- 124 | 125 | CREATE TABLE IF NOT EXISTS `tblissuedbookdetails` ( 126 | `id` int(11) NOT NULL, 127 | `BookId` int(11) DEFAULT NULL, 128 | `StudentID` varchar(150) DEFAULT NULL, 129 | `IssuesDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, 130 | `ReturnDate` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, 131 | `RetrunStatus` int(1) NOT NULL, 132 | `fine` int(11) DEFAULT NULL 133 | ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; 134 | 135 | -- 136 | -- Dumping data for table `tblissuedbookdetails` 137 | -- 138 | 139 | INSERT INTO `tblissuedbookdetails` (`id`, `BookId`, `StudentID`, `IssuesDate`, `ReturnDate`, `RetrunStatus`, `fine`) VALUES 140 | (1, 1, 'SID002', '2017-07-15 06:09:47', '2017-07-15 11:15:20', 1, 0), 141 | (2, 1, 'SID002', '2017-07-15 06:12:27', '2017-07-15 11:15:23', 1, 5), 142 | (3, 3, 'SID002', '2017-07-15 06:13:40', NULL, 0, NULL), 143 | (4, 3, 'SID002', '2017-07-15 06:23:23', '2017-07-15 11:22:29', 1, 2), 144 | (5, 1, 'SID009', '2017-07-15 10:59:26', NULL, 0, NULL), 145 | (6, 3, 'SID011', '2017-07-15 18:02:55', NULL, 0, NULL); 146 | 147 | -- -------------------------------------------------------- 148 | 149 | -- 150 | -- Table structure for table `tblstudents` 151 | -- 152 | 153 | CREATE TABLE IF NOT EXISTS `tblstudents` ( 154 | `id` int(11) NOT NULL, 155 | `StudentId` varchar(100) DEFAULT NULL, 156 | `FullName` varchar(120) DEFAULT NULL, 157 | `EmailId` varchar(120) DEFAULT NULL, 158 | `MobileNumber` char(11) DEFAULT NULL, 159 | `Password` varchar(120) DEFAULT NULL, 160 | `Status` int(1) DEFAULT NULL, 161 | `RegDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, 162 | `UpdationDate` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP 163 | ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1; 164 | 165 | -- 166 | -- Dumping data for table `tblstudents` 167 | -- 168 | 169 | INSERT INTO `tblstudents` (`id`, `StudentId`, `FullName`, `EmailId`, `MobileNumber`, `Password`, `Status`, `RegDate`, `UpdationDate`) VALUES 170 | (1, 'SID002', 'Anuj kumar', 'anuj.lpu1@gmail.com', '9865472555', 'f925916e2754e5e03f75dd58a5733251', 1, '2017-07-11 15:37:05', '2017-07-15 18:26:21'), 171 | (4, 'SID005', 'sdfsd', 'csfsd@dfsfks.com', '8569710025', '92228410fc8b872914e023160cf4ae8f', 0, '2017-07-11 15:41:27', '2017-07-15 17:43:03'), 172 | (8, 'SID009', 'test', 'test@gmail.com', '2359874527', 'f925916e2754e5e03f75dd58a5733251', 1, '2017-07-11 15:58:28', '2017-07-15 13:42:44'), 173 | (9, 'SID010', 'Amit', 'amit@gmail.com', '8585856224', 'f925916e2754e5e03f75dd58a5733251', 1, '2017-07-15 13:40:30', NULL), 174 | (10, 'SID011', 'Sarita Pandey', 'sarita@gmail.com', '4672423754', 'f925916e2754e5e03f75dd58a5733251', 1, '2017-07-15 18:00:59', NULL); 175 | 176 | -- 177 | -- Indexes for dumped tables 178 | -- 179 | 180 | -- 181 | -- Indexes for table `admin` 182 | -- 183 | ALTER TABLE `admin` 184 | ADD PRIMARY KEY (`id`); 185 | 186 | -- 187 | -- Indexes for table `tblauthors` 188 | -- 189 | ALTER TABLE `tblauthors` 190 | ADD PRIMARY KEY (`id`); 191 | 192 | -- 193 | -- Indexes for table `tblbooks` 194 | -- 195 | ALTER TABLE `tblbooks` 196 | ADD PRIMARY KEY (`id`); 197 | 198 | -- 199 | -- Indexes for table `tblcategory` 200 | -- 201 | ALTER TABLE `tblcategory` 202 | ADD PRIMARY KEY (`id`); 203 | 204 | -- 205 | -- Indexes for table `tblissuedbookdetails` 206 | -- 207 | ALTER TABLE `tblissuedbookdetails` 208 | ADD PRIMARY KEY (`id`); 209 | 210 | -- 211 | -- Indexes for table `tblstudents` 212 | -- 213 | ALTER TABLE `tblstudents` 214 | ADD PRIMARY KEY (`id`), 215 | ADD UNIQUE KEY `StudentId` (`StudentId`); 216 | 217 | -- 218 | -- AUTO_INCREMENT for dumped tables 219 | -- 220 | 221 | -- 222 | -- AUTO_INCREMENT for table `admin` 223 | -- 224 | ALTER TABLE `admin` 225 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2; 226 | -- 227 | -- AUTO_INCREMENT for table `tblauthors` 228 | -- 229 | ALTER TABLE `tblauthors` 230 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=10; 231 | -- 232 | -- AUTO_INCREMENT for table `tblbooks` 233 | -- 234 | ALTER TABLE `tblbooks` 235 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4; 236 | -- 237 | -- AUTO_INCREMENT for table `tblcategory` 238 | -- 239 | ALTER TABLE `tblcategory` 240 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=8; 241 | -- 242 | -- AUTO_INCREMENT for table `tblissuedbookdetails` 243 | -- 244 | ALTER TABLE `tblissuedbookdetails` 245 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7; 246 | -- 247 | -- AUTO_INCREMENT for table `tblstudents` 248 | -- 249 | ALTER TABLE `tblstudents` 250 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=11; 251 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 252 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 253 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 254 | -------------------------------------------------------------------------------- /admin/add-author.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 16 | $query->bindParam(':author',$author,PDO::PARAM_STR); 17 | $query->execute(); 18 | $lastInsertId = $dbh->lastInsertId(); 19 | if($lastInsertId) 20 | { 21 | $_SESSION['msg']="Author Listed successfully"; 22 | header('location:manage-authors.php'); 23 | } 24 | else 25 | { 26 | $_SESSION['error']="Something went wrong. Please try again"; 27 | header('location:manage-authors.php'); 28 | } 29 | 30 | } 31 | ?> 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | Online Library Management System | Add Author 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 |
56 |
57 |
58 |
59 |

Add Author

60 | 61 |
62 | 63 |
64 |
65 |
66 |
67 |
68 | Author Info 69 |
70 |
71 |
72 |
73 | 74 | 75 |
76 | 77 | 78 | 79 |
80 |
81 |
82 |
83 | 84 |
85 | 86 |
87 |
88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /admin/add-book.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 20 | $query->bindParam(':bookname',$bookname,PDO::PARAM_STR); 21 | $query->bindParam(':category',$category,PDO::PARAM_STR); 22 | $query->bindParam(':author',$author,PDO::PARAM_STR); 23 | $query->bindParam(':isbn',$isbn,PDO::PARAM_STR); 24 | $query->bindParam(':price',$price,PDO::PARAM_STR); 25 | $query->execute(); 26 | $lastInsertId = $dbh->lastInsertId(); 27 | if($lastInsertId) 28 | { 29 | $_SESSION['msg']="Book Listed successfully"; 30 | header('location:manage-books.php'); 31 | } 32 | else 33 | { 34 | $_SESSION['error']="Something went wrong. Please try again"; 35 | header('location:manage-books.php'); 36 | } 37 | 38 | } 39 | ?> 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | Online Library Management System | Add Book 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 |
64 |
65 |
66 |
67 |

Add Book

68 | 69 |
70 | 71 |
72 |
73 |
74 |
75 |
76 | Book Info 77 |
78 |
79 |
80 |
81 | 82 | 83 |
84 | 85 |
86 | 87 | 104 |
105 | 106 | 107 |
108 | 109 | 125 |
126 | 127 |
128 | 129 | 130 |

An ISBN is an International Standard Book Number.ISBN Must be unique

131 |
132 | 133 |
134 | 135 | 136 |
137 | 138 | 139 |
140 |
141 |
142 |
143 | 144 |
145 | 146 |
147 |
148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | -------------------------------------------------------------------------------- /admin/add-category.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 17 | $query->bindParam(':category',$category,PDO::PARAM_STR); 18 | $query->bindParam(':status',$status,PDO::PARAM_STR); 19 | $query->execute(); 20 | $lastInsertId = $dbh->lastInsertId(); 21 | if($lastInsertId) 22 | { 23 | $_SESSION['msg']="Brand Listed successfully"; 24 | header('location:manage-categories.php'); 25 | } 26 | else 27 | { 28 | $_SESSION['error']="Something went wrong. Please try again"; 29 | header('location:manage-categories.php'); 30 | } 31 | 32 | } 33 | ?> 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | Online Library Management System | Add Categories 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |
58 |
59 |
60 |
61 |

Add category

62 | 63 |
64 | 65 |
66 |
67 |
68 |
69 |
70 | Category Info 71 |
72 |
73 |
74 |
75 | 76 | 77 |
78 |
79 | 80 |
81 | 84 |
85 |
86 | 89 |
90 | 91 |
92 | 93 | 94 |
95 |
96 |
97 |
98 | 99 |
100 | 101 |
102 |
103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /admin/assets/css/style.css: -------------------------------------------------------------------------------- 1 |  2 | /*============================================================= 3 | Authour URI: www.binarytheme.com 4 | License: Commons Attribution 3.0 5 | 6 | http://creativecommons.org/licenses/by/3.0/ 7 | 8 | 100% Free To use For Personal And Commercial Use. 9 | IN EXCHANGE JUST GIVE US CREDITS AND TELL YOUR FRIENDS ABOUT US 10 | 11 | ======================================================== */ 12 | 13 | 14 | 15 | /* ============================================================= 16 | GENERAL STYLES 17 | ============================================================ */ 18 | 19 | body { 20 | font-family: 'Open Sans', sans-serif; 21 | line-height:28px; 22 | 23 | } 24 | .set-radius-zero { 25 | border-radius:0px; 26 | -moz-border-radius:0px; 27 | -webkit-border-radius:0px; 28 | } 29 | .content-wrapper { 30 | margin-top: 40px; 31 | min-height:800px; 32 | padding-bottom:90px; 33 | } 34 | .header-line { 35 | font-weight:900; 36 | padding-bottom:25px; 37 | border-bottom:1px solid #eeeeee; 38 | text-transform:uppercase; 39 | } 40 | .pad-botm { 41 | padding-bottom:30px; 42 | } 43 | 44 | 45 | /* ============================================================= 46 | NAVBAR & MENU STYLES 47 | ============================================================ */ 48 | 49 | .right-div { 50 | float: right; 51 | padding: 20px; 52 | } 53 | #menu-top a { 54 | color:#000; 55 | text-decoration:none; 56 | font-weight:500; 57 | padding: 25px 15px 25px 15px; 58 | text-transform:uppercase; 59 | 60 | } 61 | .menu-section { 62 | background-color: #f7f7f7; 63 | border-bottom:5px solid #9170E4; 64 | width:100% 65 | } 66 | .menu-top-active { 67 | background-color:#eeeeee; 68 | } 69 | .navbar-inverse { 70 | background-color: #FFF; 71 | border-color: rgba(155, 153, 153, 0.23); 72 | 73 | } 74 | 75 | .navbar { 76 | min-height: 90px; 77 | margin-bottom: 0px; 78 | 79 | } 80 | .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form { 81 | border-color:transparent; 82 | } 83 | .navbar-toggle { 84 | background-color: black; 85 | border: 1px solid black; 86 | } 87 | 88 | /* ============================================================= 89 | DASHBOARD STYLES 90 | ============================================================ */ 91 | 92 | .img-comments { 93 | border: 3px double #e1e1e1; 94 | height: 60px; 95 | 96 | } 97 | 98 | .chat-widget-main { 99 | max-height:330px; 100 | overflow:auto; 101 | } 102 | 103 | .slide-bdr { 104 | border:5px solid #9170E4 105 | } 106 | .chat-widget-left:after { 107 | top: 100%; 108 | left: 10%; 109 | border: solid transparent; 110 | content: " "; 111 | position: absolute; 112 | border-top-color: #F70E62; 113 | border-width: 15px; 114 | margin-left: -15px; 115 | } 116 | 117 | .chat-widget-left { 118 | width: 100%; 119 | height: auto; 120 | padding: 15px; 121 | -webkit-border-radius: 5px; 122 | -moz-border-radius: 5px; 123 | border-radius: 5px; 124 | position: relative; 125 | border: 1px solid #F70E62; 126 | font-size:12px; 127 | } 128 | .chat-widget-right:after { 129 | top: 100%; 130 | right: 10%; 131 | border: solid transparent; 132 | content: " "; 133 | position: absolute; 134 | border-top-color: #5AA8CC; 135 | border-width: 15px; 136 | margin-left: -15px; 137 | } 138 | 139 | .chat-widget-right { 140 | width: 100%; 141 | height: auto; 142 | padding: 15px; 143 | -webkit-border-radius: 5px; 144 | -moz-border-radius: 5px; 145 | border-radius: 5px; 146 | position: relative; 147 | border: 1px solid #5AA8CC; 148 | font-size:12px; 149 | } 150 | 151 | .chat-widget-name-left { 152 | color: #808080; 153 | margin-top: 30px; 154 | margin-left: 60px; 155 | text-align:left; 156 | } 157 | 158 | .img-left-chat { 159 | border:3px double #e1e1e1; 160 | float:left; 161 | margin-right:30px; 162 | } 163 | .img-right-chat { 164 | border:3px double #e1e1e1; 165 | float:right; 166 | margin-left:30px; 167 | } 168 | .chat-widget-main img-right { 169 | border:3px double #e1e1e1; 170 | float:left; 171 | } 172 | .chat-widget-name-left h4 { 173 | font-weight:normal; 174 | font-size:11px; 175 | 176 | } 177 | .chat-widget-name-left h5 { 178 | font-weight:normal; 179 | font-size:10px; 180 | } 181 | .chat-widget-name-right h4 { 182 | font-weight:normal; 183 | font-size:11px; 184 | } 185 | .chat-widget-name-right h5 { 186 | font-weight:normal; 187 | font-size:10px; 188 | } 189 | .chat-widget-name-right { 190 | color: #808080; 191 | margin-top: 40px; 192 | margin-right: 60px; 193 | text-align:right; 194 | } 195 | 196 | .recent-users-sec img { 197 | max-height:80px; 198 | margin:15px; 199 | } 200 | 201 | .back-widget-set { 202 | background-color:transparent; 203 | } 204 | 205 | /* ============================================================= 206 | FOOTER SECTION STYLES 207 | ============================================================ */ 208 | .footer-section { 209 | padding:25px 50px 25px 50px; 210 | color:#000; 211 | font-size:13px; 212 | background-color: #f7f7f7; 213 | text-align:right; 214 | border-top:5px solid #9170E4; 215 | 216 | } 217 | 218 | .footer-section a, .footer-section a:hover { 219 | color:#000; 220 | } 221 | 222 | -------------------------------------------------------------------------------- /admin/assets/fonts/fontawesome-webfont862f.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/fonts/fontawesome-webfont862f.eot -------------------------------------------------------------------------------- /admin/assets/fonts/fontawesome-webfont862f.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/fonts/fontawesome-webfont862f.ttf -------------------------------------------------------------------------------- /admin/assets/fonts/fontawesome-webfont862f.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/fonts/fontawesome-webfont862f.woff -------------------------------------------------------------------------------- /admin/assets/fonts/fontawesome-webfontd41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/fonts/fontawesome-webfontd41d.eot -------------------------------------------------------------------------------- /admin/assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /admin/assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /admin/assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /admin/assets/fonts/glyphicons-halflings-regulard41d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/fonts/glyphicons-halflings-regulard41d.eot -------------------------------------------------------------------------------- /admin/assets/img/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/img/1.jpg -------------------------------------------------------------------------------- /admin/assets/img/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/img/2.jpg -------------------------------------------------------------------------------- /admin/assets/img/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/img/3.jpg -------------------------------------------------------------------------------- /admin/assets/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/img/logo.png -------------------------------------------------------------------------------- /admin/assets/img/user.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/img/user.gif -------------------------------------------------------------------------------- /admin/assets/img/user2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aragon996/Library-Management-System---PHP-MySql/04c34f028178d03b3c9a1a47af8e6d52333dfee8/admin/assets/img/user2.png -------------------------------------------------------------------------------- /admin/assets/js/custom.js: -------------------------------------------------------------------------------- 1 |  2 | /*============================================================= 3 | Authour URI: www.binarytheme.com 4 | License: Commons Attribution 3.0 5 | 6 | http://creativecommons.org/licenses/by/3.0/ 7 | 8 | 100% Free To use For Personal And Commercial Use. 9 | IN EXCHANGE JUST GIVE US CREDITS AND TELL YOUR FRIENDS ABOUT US 10 | 11 | ======================================================== */ 12 | 13 | (function ($) { 14 | "use strict"; 15 | var mainApp = { 16 | slide_fun: function () { 17 | 18 | $('#carousel-example').carousel({ 19 | interval:3000 // THIS TIME IS IN MILLI SECONDS 20 | }) 21 | 22 | }, 23 | dataTable_fun: function () { 24 | 25 | $('#dataTables-example').dataTable(); 26 | 27 | }, 28 | 29 | custom_fun:function() 30 | { 31 | /*==================================== 32 | WRITE YOUR SCRIPTS BELOW 33 | ======================================*/ 34 | 35 | 36 | 37 | 38 | }, 39 | 40 | } 41 | 42 | 43 | $(document).ready(function () { 44 | mainApp.slide_fun(); 45 | mainApp.dataTable_fun(); 46 | mainApp.custom_fun(); 47 | }); 48 | }(jQuery)); 49 | 50 | 51 | -------------------------------------------------------------------------------- /admin/assets/js/dataTables/dataTables.bootstrap.css: -------------------------------------------------------------------------------- 1 | div.dataTables_length label { 2 | float: left; 3 | text-align: left; 4 | font-weight: normal; 5 | } 6 | 7 | div.dataTables_length select { 8 | width: 75px; 9 | } 10 | 11 | div.dataTables_filter label { 12 | float: right; 13 | font-weight: normal; 14 | } 15 | 16 | div.dataTables_filter input { 17 | width: 16em; 18 | } 19 | 20 | div.dataTables_info { 21 | padding-top: 8px; 22 | } 23 | 24 | div.dataTables_paginate { 25 | float: right; 26 | margin: 0; 27 | } 28 | 29 | div.dataTables_paginate ul.pagination { 30 | margin: 2px 0; 31 | white-space: nowrap; 32 | } 33 | 34 | table.dataTable, 35 | table.dataTable td, 36 | table.dataTable th { 37 | -webkit-box-sizing: content-box; 38 | -moz-box-sizing: content-box; 39 | box-sizing: content-box; 40 | } 41 | 42 | table.dataTable { 43 | clear: both; 44 | margin-top: 6px !important; 45 | margin-bottom: 6px !important; 46 | max-width: none !important; 47 | } 48 | 49 | table.dataTable thead .sorting, 50 | table.dataTable thead .sorting_asc, 51 | table.dataTable thead .sorting_desc, 52 | table.dataTable thead .sorting_asc_disabled, 53 | table.dataTable thead .sorting_desc_disabled { 54 | cursor: pointer; 55 | } 56 | 57 | table.dataTable thead .sorting { 58 | background: url('../images/sort_both.html') no-repeat center right; 59 | } 60 | 61 | table.dataTable thead .sorting_asc { 62 | background: url('../images/sort_asc.html') no-repeat center right; 63 | } 64 | 65 | table.dataTable thead .sorting_desc { 66 | background: url('../images/sort_desc.html') no-repeat center right; 67 | } 68 | 69 | table.dataTable thead .sorting_asc_disabled { 70 | background: url('../images/sort_asc_disabled.html') no-repeat center right; 71 | } 72 | 73 | table.dataTable thead .sorting_desc_disabled { 74 | background: url('../images/sort_desc_disabled.html') no-repeat center right; 75 | } 76 | 77 | table.dataTable th:active { 78 | outline: none; 79 | } 80 | 81 | /* Scrolling */ 82 | 83 | div.dataTables_scrollHead table { 84 | margin-bottom: 0 !important; 85 | border-bottom-left-radius: 0; 86 | border-bottom-right-radius: 0; 87 | } 88 | 89 | div.dataTables_scrollHead table thead tr:last-child th:first-child, 90 | div.dataTables_scrollHead table thead tr:last-child td:first-child { 91 | border-bottom-left-radius: 0 !important; 92 | border-bottom-right-radius: 0 !important; 93 | } 94 | 95 | div.dataTables_scrollBody table { 96 | margin-top: 0 !important; 97 | margin-bottom: 0 !important; 98 | border-top: none; 99 | } 100 | 101 | div.dataTables_scrollBody tbody tr:first-child th, 102 | div.dataTables_scrollBody tbody tr:first-child td { 103 | border-top: none; 104 | } 105 | 106 | div.dataTables_scrollFoot table { 107 | margin-top: 0 !important; 108 | border-top: none; 109 | } 110 | 111 | /* 112 | * TableTools styles 113 | */ 114 | 115 | .table tbody tr.active td, 116 | .table tbody tr.active th { 117 | color: white; 118 | background-color: #08C; 119 | } 120 | 121 | .table tbody tr.active:hover td, 122 | .table tbody tr.active:hover th { 123 | background-color: #0075b0 !important; 124 | } 125 | 126 | .table tbody tr.active a { 127 | color: white; 128 | } 129 | 130 | .table-striped tbody tr.active:nth-child(odd) td, 131 | .table-striped tbody tr.active:nth-child(odd) th { 132 | background-color: #017ebc; 133 | } 134 | 135 | table.DTTT_selectable tbody tr { 136 | cursor: pointer; 137 | } 138 | 139 | div.DTTT .btn { 140 | font-size: 12px; 141 | color: #333 !important; 142 | } 143 | 144 | div.DTTT .btn:hover { 145 | text-decoration: none !important; 146 | } 147 | 148 | ul.DTTT_dropdown.dropdown-menu { 149 | z-index: 2003; 150 | } 151 | 152 | ul.DTTT_dropdown.dropdown-menu a { 153 | color: #333 !important; /* needed only when demo_page.css is included */ 154 | } 155 | 156 | ul.DTTT_dropdown.dropdown-menu li { 157 | position: relative; 158 | } 159 | 160 | ul.DTTT_dropdown.dropdown-menu li:hover a { 161 | color: white !important; 162 | background-color: #0088cc; 163 | } 164 | 165 | div.DTTT_collection_background { 166 | z-index: 2002; 167 | } 168 | 169 | /* TableTools information display */ 170 | 171 | div.DTTT_print_info.modal { 172 | height: 150px; 173 | margin-top: -75px; 174 | text-align: center; 175 | } 176 | 177 | div.DTTT_print_info h6 { 178 | margin: 1em; 179 | font-size: 28px; 180 | font-weight: normal; 181 | line-height: 28px; 182 | } 183 | 184 | div.DTTT_print_info p { 185 | font-size: 14px; 186 | line-height: 20px; 187 | } 188 | 189 | /* 190 | * FixedColumns styles 191 | */ 192 | 193 | div.DTFC_LeftHeadWrapper table, 194 | div.DTFC_LeftFootWrapper table, 195 | div.DTFC_RightHeadWrapper table, 196 | div.DTFC_RightFootWrapper table, 197 | table.DTFC_Cloned tr.even { 198 | background-color: white; 199 | } 200 | 201 | div.DTFC_RightHeadWrapper table, 202 | div.DTFC_LeftHeadWrapper table { 203 | margin-bottom: 0 !important; 204 | border-top-right-radius: 0 !important; 205 | border-bottom-left-radius: 0 !important; 206 | border-bottom-right-radius: 0 !important; 207 | } 208 | 209 | div.DTFC_RightHeadWrapper table thead tr:last-child th:first-child, 210 | div.DTFC_RightHeadWrapper table thead tr:last-child td:first-child, 211 | div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child, 212 | div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child { 213 | border-bottom-left-radius: 0 !important; 214 | border-bottom-right-radius: 0 !important; 215 | } 216 | 217 | div.DTFC_RightBodyWrapper table, 218 | div.DTFC_LeftBodyWrapper table { 219 | margin-bottom: 0 !important; 220 | border-top: none; 221 | } 222 | 223 | div.DTFC_RightBodyWrapper tbody tr:first-child th, 224 | div.DTFC_RightBodyWrapper tbody tr:first-child td, 225 | div.DTFC_LeftBodyWrapper tbody tr:first-child th, 226 | div.DTFC_LeftBodyWrapper tbody tr:first-child td { 227 | border-top: none; 228 | } 229 | 230 | div.DTFC_RightFootWrapper table, 231 | div.DTFC_LeftFootWrapper table { 232 | border-top: none; 233 | } -------------------------------------------------------------------------------- /admin/assets/js/dataTables/dataTables.bootstrap.js: -------------------------------------------------------------------------------- 1 | /* Set the defaults for DataTables initialisation */ 2 | $.extend(true, $.fn.dataTable.defaults, { 3 | "sDom": "<'row'<'col-sm-6'l><'col-sm-6'f>r>" + "t" + "<'row'<'col-sm-6'i><'col-sm-6'p>>", 4 | "oLanguage": { 5 | "sLengthMenu": "_MENU_ records per page" 6 | } 7 | }); 8 | 9 | 10 | /* Default class modification */ 11 | $.extend($.fn.dataTableExt.oStdClasses, { 12 | "sWrapper": "dataTables_wrapper form-inline", 13 | "sFilterInput": "form-control input-sm", 14 | "sLengthSelect": "form-control input-sm" 15 | }); 16 | 17 | // In 1.10 we use the pagination renderers to draw the Bootstrap paging, 18 | // rather than custom plug-in 19 | if ($.fn.dataTable.Api) { 20 | $.fn.dataTable.defaults.renderer = 'bootstrap'; 21 | $.fn.dataTable.ext.renderer.pageButton.bootstrap = function(settings, host, idx, buttons, page, pages) { 22 | var api = new $.fn.dataTable.Api(settings); 23 | var classes = settings.oClasses; 24 | var lang = settings.oLanguage.oPaginate; 25 | var btnDisplay, btnClass; 26 | 27 | var attach = function(container, buttons) { 28 | var i, ien, node, button; 29 | var clickHandler = function(e) { 30 | e.preventDefault(); 31 | if (e.data.action !== 'ellipsis') { 32 | api.page(e.data.action).draw(false); 33 | } 34 | }; 35 | 36 | for (i = 0, ien = buttons.length; i < ien; i++) { 37 | button = buttons[i]; 38 | 39 | if ($.isArray(button)) { 40 | attach(container, button); 41 | } else { 42 | btnDisplay = ''; 43 | btnClass = ''; 44 | 45 | switch (button) { 46 | case 'ellipsis': 47 | btnDisplay = '…'; 48 | btnClass = 'disabled'; 49 | break; 50 | 51 | case 'first': 52 | btnDisplay = lang.sFirst; 53 | btnClass = button + (page > 0 ? 54 | '' : ' disabled'); 55 | break; 56 | 57 | case 'previous': 58 | btnDisplay = lang.sPrevious; 59 | btnClass = button + (page > 0 ? 60 | '' : ' disabled'); 61 | break; 62 | 63 | case 'next': 64 | btnDisplay = lang.sNext; 65 | btnClass = button + (page < pages - 1 ? 66 | '' : ' disabled'); 67 | break; 68 | 69 | case 'last': 70 | btnDisplay = lang.sLast; 71 | btnClass = button + (page < pages - 1 ? 72 | '' : ' disabled'); 73 | break; 74 | 75 | default: 76 | btnDisplay = button + 1; 77 | btnClass = page === button ? 78 | 'active' : ''; 79 | break; 80 | } 81 | 82 | if (btnDisplay) { 83 | node = $('
  • ', { 84 | 'class': classes.sPageButton + ' ' + btnClass, 85 | 'aria-controls': settings.sTableId, 86 | 'tabindex': settings.iTabIndex, 87 | 'id': idx === 0 && typeof button === 'string' ? settings.sTableId + '_' + button : null 88 | }) 89 | .append($('', { 90 | 'href': '#' 91 | }) 92 | .html(btnDisplay) 93 | ) 94 | .appendTo(container); 95 | 96 | settings.oApi._fnBindAction( 97 | node, { 98 | action: button 99 | }, clickHandler 100 | ); 101 | } 102 | } 103 | } 104 | }; 105 | 106 | attach( 107 | $(host).empty().html('