├── img ├── logo.jpg ├── login-bg.jpg └── ts-avatar.jpg ├── admin ├── img │ ├── logo.jpg │ ├── login-bg.jpg │ └── ts-avatar.jpg ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── logout.php ├── includes │ ├── config.php │ ├── checklogin.php │ ├── pdoconfig.php │ ├── dbcontroller.php │ ├── header.php │ └── sidebar.php ├── css │ ├── css │ │ └── vars.css │ ├── less │ │ └── vars.less │ ├── fileinput.min.css │ ├── dataTables.bootstrap.min.css │ ├── style.less │ ├── bootstrap-select.css │ └── awesome-bootstrap-checkbox.css ├── get_seater.php ├── js │ ├── main.js │ ├── dataTables.bootstrap.min.js │ └── chartData.js ├── check_availability.php ├── index.php ├── access-log.php ├── manage-rooms.php ├── add-courses.php ├── manage-courses.php ├── edit-room.php ├── edit-course.php ├── create-room.php ├── manage-students.php ├── hostel.css ├── dashboard.php ├── admin-profile.php └── hostel.sql ├── pswrd.txt ├── fonts ├── FontAwesome.otf ├── fontawesome-webfont.eot ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff ├── fontawesome-webfont.woff2 ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2 ├── logout.php ├── includes ├── config.php ├── checklogin.php ├── pdoconfig.php ├── dbcontroller.php ├── header.php └── sidebar.php ├── css ├── css │ └── vars.css ├── less │ └── vars.less ├── fileinput.min.css ├── dataTables.bootstrap.min.css ├── style.less ├── bootstrap-select.css └── awesome-bootstrap-checkbox.css ├── get_seater.php ├── js ├── main.js ├── dataTables.bootstrap.min.js └── chartData.js ├── check_availability.php ├── README.md ├── forgot-password.php ├── access-log.php ├── dashboard.php ├── login.php ├── index.php ├── hostel.css ├── room-details.php ├── change-password.php ├── registration.php └── my-profile.php /img/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/img/logo.jpg -------------------------------------------------------------------------------- /img/login-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/img/login-bg.jpg -------------------------------------------------------------------------------- /img/ts-avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/img/ts-avatar.jpg -------------------------------------------------------------------------------- /admin/img/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/img/logo.jpg -------------------------------------------------------------------------------- /pswrd.txt: -------------------------------------------------------------------------------- 1 | Login Details for admin : admin/Test@1234 2 | Login Details for user : test@gmail.com/Test@123 -------------------------------------------------------------------------------- /admin/img/login-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/img/login-bg.jpg -------------------------------------------------------------------------------- /fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /admin/img/ts-avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/img/ts-avatar.jpg -------------------------------------------------------------------------------- /admin/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /admin/logout.php: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spjagrit/Hostel_Management_System/HEAD/admin/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /includes/config.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /admin/includes/config.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /css/css/vars.css: -------------------------------------------------------------------------------- 1 | @import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900,100italic,300italic,400italic); 2 | @import url(https://fonts.googleapis.com/css?family=Oswald:700,400,300); 3 | -------------------------------------------------------------------------------- /admin/css/css/vars.css: -------------------------------------------------------------------------------- 1 | @import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900,100italic,300italic,400italic); 2 | @import url(https://fonts.googleapis.com/css?family=Oswald:700,400,300); 3 | -------------------------------------------------------------------------------- /includes/checklogin.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /admin/includes/checklogin.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /includes/pdoconfig.php: -------------------------------------------------------------------------------- 1 | setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 10 | } 11 | catch(PDOException $e) 12 | { 13 | $e->getMessage(); 14 | } 15 | ?> -------------------------------------------------------------------------------- /admin/includes/pdoconfig.php: -------------------------------------------------------------------------------- 1 | setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 10 | } 11 | catch(PDOException $e) 12 | { 13 | $e->getMessage(); 14 | } 15 | ?> -------------------------------------------------------------------------------- /includes/dbcontroller.php: -------------------------------------------------------------------------------- 1 | setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 10 | } 11 | catch(PDOException $e) 12 | { 13 | $e->getMessage(); 14 | } 15 | ?> -------------------------------------------------------------------------------- /admin/includes/dbcontroller.php: -------------------------------------------------------------------------------- 1 | setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 10 | } 11 | catch(PDOException $e) 12 | { 13 | $e->getMessage(); 14 | } 15 | ?> -------------------------------------------------------------------------------- /admin/includes/header.php: -------------------------------------------------------------------------------- 1 |
Start the XAMPP Program Control Panel. Click on the “Start” button next to the “Apache” to start your Apache Web Server. Also, start “MySQL” if your PHP programs depend on a MySQL database to run.
7 | 8 |
9 |
10 |
Place your PHP files in the “htdocs” folder located under the “XAMPP” folder on your drive. The initial path is “your_drive_letter:\xampp\htdocs” for your Web server. Make sure that your PHP files are saved as a “.php” file extension.
13 | 14 |
15 |
16 |
Open up any web browser and enter “localhost/filename”. This will open the list of all the files and folders stored under the “htdocs” folder on your computer. Click on the link to a PHP file and open it to run a program.
19 | 20 |Example: The file “hostel.php” file is placed inside the “htdocs” folder. If you want to run it, open any web browser and enter “localhost/demo.php” and press enter. Your program will run.
21 | 22 |  23 | 24 |  25 | 26 |  27 | 28 |  29 | 30 |  31 | 32 |  33 | -------------------------------------------------------------------------------- /css/fileinput.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015 3 | * @package bootstrap-fileinput 4 | * @version 4.2.6 5 | * 6 | * File input styling for Bootstrap 3.0 7 | * Built for Yii Framework 2.0 8 | * Author: Kartik Visweswaran 9 | * Year: 2015 10 | * For more Yii related demos visit http://demos.krajee.com 11 | */.file-input{overflow-x:auto}.file-loading{top:0;right:0;width:25px;height:25px;font-size:999px;text-align:right;color:#fff;background:transparent url(../img/loading.gif) top left no-repeat;border:none}.btn-file{position:relative;overflow:hidden}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;text-align:right;filter:alpha(opacity=0);opacity:0;background:none repeat scroll 0 0 transparent;cursor:inherit;display:block}.file-caption .glyphicon{display:inline-block;min-width:18px;margin-top:2px}.file-caption-name{display:inline-block;overflow:hidden;padding-right:10px;word-break:break-all}.file-caption-ellipsis{position:absolute;right:10px;margin-top:-6px;font-size:1.2em;display:none;font-weight:700;cursor:default}.kv-has-ellipsis .file-caption-ellipsis{display:inline}.kv-has-ellipsis{padding-right:17px}.kv-search-container .kv-search-clear{position:absolute;padding:10px;right:0}.file-error-message{background-color:#f2dede;color:#a94442;text-align:center;border-radius:5px;padding:5px}.file-error-message pre,.file-error-message ul{margin:5px 0;text-align:left}.file-caption-disabled{background-color:#EEE;cursor:not-allowed;opacity:1}.file-input .btn .disabled,.file-input .btn[disabled]{cursor:not-allowed}.file-preview{border-radius:5px;border:1px solid #ddd;padding:5px;width:100%;margin-bottom:5px}.file-preview-frame{display:table;margin:8px;height:160px;border:1px solid #ddd;box-shadow:1px 1px 5px 0 #a2958a;padding:6px;float:left;text-align:center;vertical-align:middle}.file-preview-frame:hover{box-shadow:3px 3px 5px 0 #333}.file-preview-image{height:160px;vertical-align:text-center}.file-preview-text{width:160px;color:#428bca;font-size:11px;text-align:center}.file-preview-other{padding-top:48px;text-align:center}.file-preview-other i{font-size:2.4em}.file-other-error{width:100%;padding-top:30px;text-align:right}.file-input-ajax-new .fileinput-remove-button,.file-input-ajax-new .fileinput-upload-button,.file-input-new .close,.file-input-new .file-preview,.file-input-new .fileinput-remove-button,.file-input-new .fileinput-upload-button,.file-input-new .glyphicon-file{display:none}.loading{background:transparent url(../img/loading.gif) no-repeat scroll center center content-box!important}.wrap-indicator{font-weight:700;color:#245269;cursor:pointer}.file-actions{text-align:left}.file-footer-buttons{float:right}.file-thumbnail-footer .file-caption-name{padding-top:4px;font-size:11px;color:#777}.file-upload-indicator{padding-top:2px;cursor:default}.file-upload-indicator:hover{font-size:1.2em;font-weight:700;padding-top:0}.file-drop-zone{border:1px dashed #aaa;border-radius:4px;height:100%;text-align:center;vertical-align:middle;margin:12px 15px 12px 12px;padding:5px}.file-drop-zone-title{color:#aaa;font-size:40px;padding:85px 10px}.highlighted{border:2px dashed #999!important;background-color:#f0f0f0}.file-uploading{background-image:url(../img/loading-sm.gif);background-position:center bottom 10px;background-repeat:no-repeat;opacity:.6}.file-icon-large{font-size:1.2em} -------------------------------------------------------------------------------- /admin/css/fileinput.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015 3 | * @package bootstrap-fileinput 4 | * @version 4.2.6 5 | * 6 | * File input styling for Bootstrap 3.0 7 | * Built for Yii Framework 2.0 8 | * Author: Kartik Visweswaran 9 | * Year: 2015 10 | * For more Yii related demos visit http://demos.krajee.com 11 | */.file-input{overflow-x:auto}.file-loading{top:0;right:0;width:25px;height:25px;font-size:999px;text-align:right;color:#fff;background:transparent url(../img/loading.gif) top left no-repeat;border:none}.btn-file{position:relative;overflow:hidden}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;text-align:right;filter:alpha(opacity=0);opacity:0;background:none repeat scroll 0 0 transparent;cursor:inherit;display:block}.file-caption .glyphicon{display:inline-block;min-width:18px;margin-top:2px}.file-caption-name{display:inline-block;overflow:hidden;padding-right:10px;word-break:break-all}.file-caption-ellipsis{position:absolute;right:10px;margin-top:-6px;font-size:1.2em;display:none;font-weight:700;cursor:default}.kv-has-ellipsis .file-caption-ellipsis{display:inline}.kv-has-ellipsis{padding-right:17px}.kv-search-container .kv-search-clear{position:absolute;padding:10px;right:0}.file-error-message{background-color:#f2dede;color:#a94442;text-align:center;border-radius:5px;padding:5px}.file-error-message pre,.file-error-message ul{margin:5px 0;text-align:left}.file-caption-disabled{background-color:#EEE;cursor:not-allowed;opacity:1}.file-input .btn .disabled,.file-input .btn[disabled]{cursor:not-allowed}.file-preview{border-radius:5px;border:1px solid #ddd;padding:5px;width:100%;margin-bottom:5px}.file-preview-frame{display:table;margin:8px;height:160px;border:1px solid #ddd;box-shadow:1px 1px 5px 0 #a2958a;padding:6px;float:left;text-align:center;vertical-align:middle}.file-preview-frame:hover{box-shadow:3px 3px 5px 0 #333}.file-preview-image{height:160px;vertical-align:text-center}.file-preview-text{width:160px;color:#428bca;font-size:11px;text-align:center}.file-preview-other{padding-top:48px;text-align:center}.file-preview-other i{font-size:2.4em}.file-other-error{width:100%;padding-top:30px;text-align:right}.file-input-ajax-new .fileinput-remove-button,.file-input-ajax-new .fileinput-upload-button,.file-input-new .close,.file-input-new .file-preview,.file-input-new .fileinput-remove-button,.file-input-new .fileinput-upload-button,.file-input-new .glyphicon-file{display:none}.loading{background:transparent url(../img/loading.gif) no-repeat scroll center center content-box!important}.wrap-indicator{font-weight:700;color:#245269;cursor:pointer}.file-actions{text-align:left}.file-footer-buttons{float:right}.file-thumbnail-footer .file-caption-name{padding-top:4px;font-size:11px;color:#777}.file-upload-indicator{padding-top:2px;cursor:default}.file-upload-indicator:hover{font-size:1.2em;font-weight:700;padding-top:0}.file-drop-zone{border:1px dashed #aaa;border-radius:4px;height:100%;text-align:center;vertical-align:middle;margin:12px 15px 12px 12px;padding:5px}.file-drop-zone-title{color:#aaa;font-size:40px;padding:85px 10px}.highlighted{border:2px dashed #999!important;background-color:#f0f0f0}.file-uploading{background-image:url(../img/loading-sm.gif);background-position:center bottom 10px;background-repeat:no-repeat;opacity:.6}.file-icon-large{font-size:1.2em} -------------------------------------------------------------------------------- /forgot-password.php: -------------------------------------------------------------------------------- 1 | prepare("SELECT email,contactNo,password FROM userregistration WHERE (email=? && contactNo=?) "); 9 | $stmt->bind_param('ss',$email,$contact); 10 | $stmt->execute(); 11 | $stmt -> bind_result($username,$email,$password); 12 | $rs=$stmt->fetch(); 13 | if($rs) 14 | { 15 | $pwd=$password; 16 | } 17 | 18 | else 19 | { 20 | echo ""; 21 | } 22 | } 23 | ?> 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |Yuor Password is
Change the Password After login