├── .github └── FUNDING.yml ├── NEW ├── README.md ├── Sc ├── 1.PNG ├── 2.PNG ├── 3.PNG ├── 4.PNG ├── 5.PNG ├── 6.PNG └── wireframe.png ├── admin ├── change-password.php ├── css │ ├── awesome-bootstrap-checkbox.css │ ├── bootstrap-select.css │ ├── bootstrap-social.css │ ├── bootstrap.min.css │ ├── css │ │ └── vars.css │ ├── dataTables.bootstrap.min.css │ ├── datatables.min.css │ ├── fileinput.min.css │ ├── font-awesome.min.css │ ├── jquery.dataTables.min.css │ ├── less │ │ ├── components.less │ │ └── vars.less │ ├── style.css │ └── style.less ├── dashboard.php ├── deleteduser.php ├── download.php ├── edit-user.php ├── feedback.php ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── includes │ ├── config.php │ ├── header.php │ └── leftbar.php ├── index.php ├── js │ ├── Chart.min.js │ ├── bootstrap-select.js │ ├── bootstrap-select.min.js │ ├── bootstrap.js │ ├── bootstrap.min.js │ ├── chartData.js │ ├── dataTables.bootstrap.min.js │ ├── fileinput.js │ ├── jquery.dataTables.min.js │ ├── jquery.min.js │ └── main.js ├── logout.php ├── notification.php ├── profile.php ├── sendreply.php └── userlist.php ├── change-password.php ├── css ├── awesome-bootstrap-checkbox.css ├── bootstrap-select.css ├── bootstrap-social.css ├── bootstrap.min.css ├── css │ └── vars.css ├── dataTables.bootstrap.min.css ├── datatables.min.css ├── fileinput.min.css ├── font-awesome.min.css ├── jquery.dataTables.min.css ├── less │ ├── components.less │ └── vars.less ├── style.css └── style.less ├── database.sql ├── feedback.php ├── fonts ├── FontAwesome.otf ├── fontawesome-webfont.eot ├── fontawesome-webfont.svg ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff ├── fontawesome-webfont.woff2 ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2 ├── images └── .gitignore ├── includes ├── config.php ├── header.php └── leftbar.php ├── index.php ├── js ├── Chart.min.js ├── bootstrap-select.js ├── bootstrap-select.min.js ├── bootstrap.js ├── bootstrap.min.js ├── chartData.js ├── contact_me.js ├── dataTables.bootstrap.min.js ├── fileinput.js ├── jqBootstrapValidation.js ├── jquery.dataTables.min.js ├── jquery.min.js └── main.js ├── logout.php ├── messages.php ├── notification.php ├── profile.php ├── register.php └── vendor ├── bootstrap ├── css │ ├── bootstrap-grid.css │ ├── bootstrap-grid.min.css │ ├── bootstrap-reboot.css │ ├── bootstrap-reboot.min.css │ ├── bootstrap.css │ └── bootstrap.min.css └── js │ ├── bootstrap.js │ └── bootstrap.min.js ├── countries.js ├── jquery ├── jquery.js └── jquery.min.js └── tether ├── tether.js └── tether.min.js /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /NEW: -------------------------------------------------------------------------------- 1 | registerMember(); 7 | } 8 | ?> 9 | 10 | 11 | User Registration 12 | 14 | 16 | 17 | 18 | 19 |
20 |
21 | 24 |
25 |
27 | 28 | 31 | 34 |
35 | 38 |
39 | 42 | 45 |
46 |
47 |
48 |
49 | Username 50 |
51 | 53 |
54 |
55 |
56 |
57 |
58 | Email 59 |
60 | 61 |
62 |
63 |
64 |
65 |
66 | Password 67 |
68 | 70 |
71 |
72 |
73 |
74 |
75 | Confirm Password 77 |
78 | 80 |
81 |
82 |
83 | 85 |
86 |
87 |
88 |
89 |
90 | 91 | 149 | 150 | 151 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # User-Management-PHP-MYSQL 2 | 3 | ![𝚅𝚒𝚜𝚒𝚝𝚘𝚛𝚜](https://visitor-badge.laobi.icu/badge?page_id=ajayrandhawa.User-Management-PHP-MYSQL&title=Visitor ) 4 | 5 | 6 | PHP User Management System is a powerful PHP script that offers a secure user management system. The application is a great way to build your website, allowing your users to register an account and build restricted access to certain users. We offer great support and it’s very easy to install. It’s powered by MYSQL and PHP. 7 | 8 | # User Features 9 | 10 | * Login 11 | * Signup 12 | * Change Password 13 | * Edit Profile 14 | * Feedback 15 | * View Messages 16 | * Notification 17 | 18 | # Admin Features 19 | 20 | * Dashboard (Total Users, Deleted Users, Notification, Feedback Messages) 21 | * Signup 22 | * Change Password 23 | * Edit Admin Profile 24 | * Edit Users Profile 25 | * Reply Feedback 26 | * Delete Users 27 | * Confirmed Users 28 | * View Feedback 29 | * Notification 30 | * View Delelted Users 31 | * Search Users, Feedback Messages 32 | * Download User Excel File 33 | * Sorting 34 | 35 | ## Wireframe 36 | 37 | 38 | 39 | ## Screenshots 40 | 41 | | Screenshots | Screenshots | 42 | | ------------- | ------------- | 43 | | | | 44 | | | | 45 | | | | 46 | 47 | ### How to Install 48 | 49 | * Edit Database (includes/config.php) and (admin/includes/config.php) 50 | 51 | * Login to Admin 52 | * Url: http://www.yourdomain.com/admin/ 53 | * Username : admin 54 | * Password : 963852741 55 | 56 | ### Database Files are included in Project. (database.sql) 57 | 58 | ### Author 59 | 60 | Ajay Randhawa 61 | 62 | ## Donate 63 | If you appreciate that, please consider donating to the Developer. 64 | 65 | [![Donate](https://cdn.pbrd.co/images/HyQFKkP.png)](https://www.paypal.me/ajayrandhawa) 66 | 67 | #### Happy Open Source.... 68 | 69 | 70 | -------------------------------------------------------------------------------- /Sc/1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/Sc/1.PNG -------------------------------------------------------------------------------- /Sc/2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/Sc/2.PNG -------------------------------------------------------------------------------- /Sc/3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/Sc/3.PNG -------------------------------------------------------------------------------- /Sc/4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/Sc/4.PNG -------------------------------------------------------------------------------- /Sc/5.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/Sc/5.PNG -------------------------------------------------------------------------------- /Sc/6.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/Sc/6.PNG -------------------------------------------------------------------------------- /Sc/wireframe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/Sc/wireframe.png -------------------------------------------------------------------------------- /admin/change-password.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 18 | $query-> bindParam(':username', $username, PDO::PARAM_STR); 19 | $query-> bindParam(':password', $password, PDO::PARAM_STR); 20 | $query-> execute(); 21 | $results = $query -> fetchAll(PDO::FETCH_OBJ); 22 | if($query -> rowCount() > 0) 23 | { 24 | $con="update admin set Password=:newpassword where UserName=:username"; 25 | $chngpwd1 = $dbh->prepare($con); 26 | $chngpwd1-> bindParam(':username', $username, PDO::PARAM_STR); 27 | $chngpwd1-> bindParam(':newpassword', $newpassword, PDO::PARAM_STR); 28 | $chngpwd1->execute(); 29 | $msg="Your Password succesfully changed"; 30 | } 31 | else { 32 | $error="Your current password is not valid."; 33 | } 34 | } 35 | ?> 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | BBDMS | Admin Change Password 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 78 | 96 | 97 | 98 | 99 | 100 | 101 | 102 |
103 | 104 |
105 |
106 | 107 |
108 |
109 | 110 |

Change Password

111 | 112 |
113 |
114 |
115 |
Form fields
116 |
117 |
118 | 119 | 120 |
ERROR:
SUCCESS:
122 |
123 | 124 |
125 | 126 |
127 |
128 |
129 | 130 |
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 |
162 | 163 | 164 | 165 |
166 |
167 | 168 | 169 |
170 |
171 |
172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 190 | 191 | 192 | 193 | 194 | -------------------------------------------------------------------------------- /admin/css/awesome-bootstrap-checkbox.css: -------------------------------------------------------------------------------- 1 | .checkbox { 2 | padding-left: 20px; 3 | } 4 | .checkbox label { 5 | display: inline-block; 6 | vertical-align: middle; 7 | position: relative; 8 | padding-left: 5px; 9 | } 10 | .checkbox label::before { 11 | content: ""; 12 | display: inline-block; 13 | position: absolute; 14 | width: 17px; 15 | height: 17px; 16 | left: 0; 17 | margin-left: -20px; 18 | border: 1px solid #cccccc; 19 | border-radius: 3px; 20 | background-color: #fff; 21 | -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out; 22 | -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out; 23 | transition: border 0.15s ease-in-out, color 0.15s ease-in-out; 24 | } 25 | .checkbox label::after { 26 | display: inline-block; 27 | position: absolute; 28 | width: 16px; 29 | height: 16px; 30 | left: 0; 31 | top: 0; 32 | margin-left: -20px; 33 | padding-left: 3px; 34 | padding-top: 1px; 35 | font-size: 11px; 36 | color: #555555; 37 | } 38 | .checkbox input[type="checkbox"], 39 | .checkbox input[type="radio"] { 40 | opacity: 0; 41 | z-index: 1; 42 | } 43 | .checkbox input[type="checkbox"]:focus + label::before, 44 | .checkbox input[type="radio"]:focus + label::before { 45 | outline: thin dotted; 46 | outline: 5px auto -webkit-focus-ring-color; 47 | outline-offset: -2px; 48 | } 49 | .checkbox input[type="checkbox"]:checked + label::after, 50 | .checkbox input[type="radio"]:checked + label::after { 51 | font-family: "FontAwesome"; 52 | content: "\f00c"; 53 | } 54 | .checkbox input[type="checkbox"]:disabled + label, 55 | .checkbox input[type="radio"]:disabled + label { 56 | opacity: 0.65; 57 | } 58 | .checkbox input[type="checkbox"]:disabled + label::before, 59 | .checkbox input[type="radio"]:disabled + label::before { 60 | background-color: #eeeeee; 61 | cursor: not-allowed; 62 | } 63 | .checkbox.checkbox-circle label::before { 64 | border-radius: 50%; 65 | } 66 | .checkbox.checkbox-inline { 67 | margin-top: 0; 68 | } 69 | 70 | .checkbox-primary input[type="checkbox"]:checked + label::before, 71 | .checkbox-primary input[type="radio"]:checked + label::before { 72 | background-color: #337ab7; 73 | border-color: #337ab7; 74 | } 75 | .checkbox-primary input[type="checkbox"]:checked + label::after, 76 | .checkbox-primary input[type="radio"]:checked + label::after { 77 | color: #fff; 78 | } 79 | 80 | .checkbox-danger input[type="checkbox"]:checked + label::before, 81 | .checkbox-danger input[type="radio"]:checked + label::before { 82 | background-color: #d9534f; 83 | border-color: #d9534f; 84 | } 85 | .checkbox-danger input[type="checkbox"]:checked + label::after, 86 | .checkbox-danger input[type="radio"]:checked + label::after { 87 | color: #fff; 88 | } 89 | 90 | .checkbox-info input[type="checkbox"]:checked + label::before, 91 | .checkbox-info input[type="radio"]:checked + label::before { 92 | background-color: #5bc0de; 93 | border-color: #5bc0de; 94 | } 95 | .checkbox-info input[type="checkbox"]:checked + label::after, 96 | .checkbox-info input[type="radio"]:checked + label::after { 97 | color: #fff; 98 | } 99 | 100 | .checkbox-warning input[type="checkbox"]:checked + label::before, 101 | .checkbox-warning input[type="radio"]:checked + label::before { 102 | background-color: #f0ad4e; 103 | border-color: #f0ad4e; 104 | } 105 | .checkbox-warning input[type="checkbox"]:checked + label::after, 106 | .checkbox-warning input[type="radio"]:checked + label::after { 107 | color: #fff; 108 | } 109 | 110 | .checkbox-success input[type="checkbox"]:checked + label::before, 111 | .checkbox-success input[type="radio"]:checked + label::before { 112 | background-color: #5cb85c; 113 | border-color: #5cb85c; 114 | } 115 | .checkbox-success input[type="checkbox"]:checked + label::after, 116 | .checkbox-success input[type="radio"]:checked + label::after { 117 | color: #fff; 118 | } 119 | 120 | .radio { 121 | padding-left: 20px; 122 | } 123 | .radio label { 124 | display: inline-block; 125 | vertical-align: middle; 126 | position: relative; 127 | padding-left: 5px; 128 | } 129 | .radio label::before { 130 | content: ""; 131 | display: inline-block; 132 | position: absolute; 133 | width: 17px; 134 | height: 17px; 135 | left: 0; 136 | margin-left: -20px; 137 | border: 1px solid #cccccc; 138 | border-radius: 50%; 139 | background-color: #fff; 140 | -webkit-transition: border 0.15s ease-in-out; 141 | -o-transition: border 0.15s ease-in-out; 142 | transition: border 0.15s ease-in-out; 143 | } 144 | .radio label::after { 145 | display: inline-block; 146 | position: absolute; 147 | content: " "; 148 | width: 11px; 149 | height: 11px; 150 | left: 3px; 151 | top: 3px; 152 | margin-left: -20px; 153 | border-radius: 50%; 154 | background-color: #555555; 155 | -webkit-transform: scale(0, 0); 156 | -ms-transform: scale(0, 0); 157 | -o-transform: scale(0, 0); 158 | transform: scale(0, 0); 159 | -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); 160 | -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); 161 | -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); 162 | transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); 163 | } 164 | .radio input[type="radio"] { 165 | opacity: 0; 166 | z-index: 1; 167 | } 168 | .radio input[type="radio"]:focus + label::before { 169 | outline: thin dotted; 170 | outline: 5px auto -webkit-focus-ring-color; 171 | outline-offset: -2px; 172 | } 173 | .radio input[type="radio"]:checked + label::after { 174 | -webkit-transform: scale(1, 1); 175 | -ms-transform: scale(1, 1); 176 | -o-transform: scale(1, 1); 177 | transform: scale(1, 1); 178 | } 179 | .radio input[type="radio"]:disabled + label { 180 | opacity: 0.65; 181 | } 182 | .radio input[type="radio"]:disabled + label::before { 183 | cursor: not-allowed; 184 | } 185 | .radio.radio-inline { 186 | margin-top: 0; 187 | } 188 | 189 | .radio-primary input[type="radio"] + label::after { 190 | background-color: #337ab7; 191 | } 192 | .radio-primary input[type="radio"]:checked + label::before { 193 | border-color: #337ab7; 194 | } 195 | .radio-primary input[type="radio"]:checked + label::after { 196 | background-color: #337ab7; 197 | } 198 | 199 | .radio-danger input[type="radio"] + label::after { 200 | background-color: #d9534f; 201 | } 202 | .radio-danger input[type="radio"]:checked + label::before { 203 | border-color: #d9534f; 204 | } 205 | .radio-danger input[type="radio"]:checked + label::after { 206 | background-color: #d9534f; 207 | } 208 | 209 | .radio-info input[type="radio"] + label::after { 210 | background-color: #5bc0de; 211 | } 212 | .radio-info input[type="radio"]:checked + label::before { 213 | border-color: #5bc0de; 214 | } 215 | .radio-info input[type="radio"]:checked + label::after { 216 | background-color: #5bc0de; 217 | } 218 | 219 | .radio-warning input[type="radio"] + label::after { 220 | background-color: #f0ad4e; 221 | } 222 | .radio-warning input[type="radio"]:checked + label::before { 223 | border-color: #f0ad4e; 224 | } 225 | .radio-warning input[type="radio"]:checked + label::after { 226 | background-color: #f0ad4e; 227 | } 228 | 229 | .radio-success input[type="radio"] + label::after { 230 | background-color: #5cb85c; 231 | } 232 | .radio-success input[type="radio"]:checked + label::before { 233 | border-color: #5cb85c; 234 | } 235 | .radio-success input[type="radio"]:checked + label::after { 236 | background-color: #5cb85c; 237 | } 238 | 239 | input[type="checkbox"].styled:checked + label:after, 240 | input[type="radio"].styled:checked + label:after { 241 | font-family: 'FontAwesome'; 242 | content: "\f00c"; 243 | } 244 | input[type="checkbox"] .styled:checked + label::before, 245 | input[type="radio"] .styled:checked + label::before { 246 | color: #fff; 247 | } 248 | input[type="checkbox"] .styled:checked + label::after, 249 | input[type="radio"] .styled:checked + label::after { 250 | color: #fff; 251 | } 252 | -------------------------------------------------------------------------------- /admin/css/bootstrap-select.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.7.2 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2015 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | .bootstrap-select { 9 | width: 220px \0; 10 | /*IE9 and below*/ 11 | } 12 | .bootstrap-select > .dropdown-toggle { 13 | width: 100%; 14 | padding-right: 25px; 15 | } 16 | .has-error .bootstrap-select .dropdown-toggle, 17 | .error .bootstrap-select .dropdown-toggle { 18 | border-color: #b94a48; 19 | } 20 | .bootstrap-select.fit-width { 21 | width: auto !important; 22 | } 23 | .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) { 24 | width: 220px; 25 | } 26 | .bootstrap-select .dropdown-toggle:focus { 27 | outline: thin dotted #333333 !important; 28 | outline: 5px auto -webkit-focus-ring-color !important; 29 | outline-offset: -2px; 30 | } 31 | .bootstrap-select.form-control { 32 | margin-bottom: 0; 33 | padding: 0; 34 | border: none; 35 | } 36 | .bootstrap-select.form-control:not([class*="col-"]) { 37 | width: 100%; 38 | } 39 | .bootstrap-select.form-control.input-group-btn { 40 | z-index: auto; 41 | } 42 | .bootstrap-select.btn-group:not(.input-group-btn), 43 | .bootstrap-select.btn-group[class*="col-"] { 44 | float: none; 45 | display: inline-block; 46 | margin-left: 0; 47 | } 48 | .bootstrap-select.btn-group.dropdown-menu-right, 49 | .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right, 50 | .row .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right { 51 | float: right; 52 | } 53 | .form-inline .bootstrap-select.btn-group, 54 | .form-horizontal .bootstrap-select.btn-group, 55 | .form-group .bootstrap-select.btn-group { 56 | margin-bottom: 0; 57 | } 58 | .form-group-lg .bootstrap-select.btn-group.form-control, 59 | .form-group-sm .bootstrap-select.btn-group.form-control { 60 | padding: 0; 61 | } 62 | .form-inline .bootstrap-select.btn-group .form-control { 63 | width: 100%; 64 | } 65 | .bootstrap-select.btn-group.disabled, 66 | .bootstrap-select.btn-group > .disabled { 67 | cursor: not-allowed; 68 | } 69 | .bootstrap-select.btn-group.disabled:focus, 70 | .bootstrap-select.btn-group > .disabled:focus { 71 | outline: none !important; 72 | } 73 | .bootstrap-select.btn-group .dropdown-toggle .filter-option { 74 | display: inline-block; 75 | overflow: hidden; 76 | width: 100%; 77 | text-align: left; 78 | } 79 | .bootstrap-select.btn-group .dropdown-toggle .caret { 80 | position: absolute; 81 | top: 50%; 82 | right: 12px; 83 | margin-top: -2px; 84 | vertical-align: middle; 85 | } 86 | .bootstrap-select.btn-group[class*="col-"] .dropdown-toggle { 87 | width: 100%; 88 | } 89 | .bootstrap-select.btn-group .dropdown-menu { 90 | min-width: 100%; 91 | z-index: 1035; 92 | -webkit-box-sizing: border-box; 93 | -moz-box-sizing: border-box; 94 | box-sizing: border-box; 95 | } 96 | .bootstrap-select.btn-group .dropdown-menu.inner { 97 | position: static; 98 | float: none; 99 | border: 0; 100 | padding: 0; 101 | margin: 0; 102 | border-radius: 0; 103 | -webkit-box-shadow: none; 104 | box-shadow: none; 105 | } 106 | .bootstrap-select.btn-group .dropdown-menu li { 107 | position: relative; 108 | } 109 | .bootstrap-select.btn-group .dropdown-menu li.active small { 110 | color: #fff; 111 | } 112 | .bootstrap-select.btn-group .dropdown-menu li.disabled a { 113 | cursor: not-allowed; 114 | } 115 | .bootstrap-select.btn-group .dropdown-menu li a { 116 | cursor: pointer; 117 | } 118 | .bootstrap-select.btn-group .dropdown-menu li a.opt { 119 | position: relative; 120 | padding-left: 2.25em; 121 | } 122 | .bootstrap-select.btn-group .dropdown-menu li a span.check-mark { 123 | display: none; 124 | } 125 | .bootstrap-select.btn-group .dropdown-menu li a span.text { 126 | display: inline-block; 127 | } 128 | .bootstrap-select.btn-group .dropdown-menu li small { 129 | padding-left: 0.5em; 130 | } 131 | .bootstrap-select.btn-group .dropdown-menu .notify { 132 | position: absolute; 133 | bottom: 5px; 134 | width: 96%; 135 | margin: 0 2%; 136 | min-height: 26px; 137 | padding: 3px 5px; 138 | background: #f5f5f5; 139 | border: 1px solid #e3e3e3; 140 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); 141 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); 142 | pointer-events: none; 143 | opacity: 0.9; 144 | -webkit-box-sizing: border-box; 145 | -moz-box-sizing: border-box; 146 | box-sizing: border-box; 147 | } 148 | .bootstrap-select.btn-group .no-results { 149 | padding: 3px; 150 | background: #f5f5f5; 151 | margin: 0 5px; 152 | white-space: nowrap; 153 | } 154 | .bootstrap-select.btn-group.fit-width .dropdown-toggle .filter-option { 155 | position: static; 156 | } 157 | .bootstrap-select.btn-group.fit-width .dropdown-toggle .caret { 158 | position: static; 159 | top: auto; 160 | margin-top: -1px; 161 | } 162 | .bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark { 163 | position: absolute; 164 | display: inline-block; 165 | right: 15px; 166 | margin-top: 5px; 167 | } 168 | .bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text { 169 | margin-right: 34px; 170 | } 171 | .bootstrap-select.show-menu-arrow.open > .dropdown-toggle { 172 | z-index: 1036; 173 | } 174 | .bootstrap-select.show-menu-arrow .dropdown-toggle:before { 175 | content: ''; 176 | border-left: 7px solid transparent; 177 | border-right: 7px solid transparent; 178 | border-bottom: 7px solid rgba(204, 204, 204, 0.2); 179 | position: absolute; 180 | bottom: -4px; 181 | left: 9px; 182 | display: none; 183 | } 184 | .bootstrap-select.show-menu-arrow .dropdown-toggle:after { 185 | content: ''; 186 | border-left: 6px solid transparent; 187 | border-right: 6px solid transparent; 188 | border-bottom: 6px solid white; 189 | position: absolute; 190 | bottom: -4px; 191 | left: 10px; 192 | display: none; 193 | } 194 | .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before { 195 | bottom: auto; 196 | top: -3px; 197 | border-top: 7px solid rgba(204, 204, 204, 0.2); 198 | border-bottom: 0; 199 | } 200 | .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after { 201 | bottom: auto; 202 | top: -3px; 203 | border-top: 6px solid white; 204 | border-bottom: 0; 205 | } 206 | .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before { 207 | right: 12px; 208 | left: auto; 209 | } 210 | .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after { 211 | right: 13px; 212 | left: auto; 213 | } 214 | .bootstrap-select.show-menu-arrow.open > .dropdown-toggle:before, 215 | .bootstrap-select.show-menu-arrow.open > .dropdown-toggle:after { 216 | display: block; 217 | } 218 | .bs-searchbox, 219 | .bs-actionsbox, 220 | .bs-donebutton { 221 | padding: 4px 8px; 222 | } 223 | .bs-actionsbox { 224 | float: left; 225 | width: 100%; 226 | -webkit-box-sizing: border-box; 227 | -moz-box-sizing: border-box; 228 | box-sizing: border-box; 229 | } 230 | .bs-actionsbox .btn-group button { 231 | width: 50%; 232 | } 233 | .bs-donebutton { 234 | float: left; 235 | width: 100%; 236 | -webkit-box-sizing: border-box; 237 | -moz-box-sizing: border-box; 238 | box-sizing: border-box; 239 | } 240 | .bs-donebutton .btn-group button { 241 | width: 100%; 242 | } 243 | .bs-searchbox + .bs-actionsbox { 244 | padding: 0 8px 4px; 245 | } 246 | .bs-searchbox .form-control { 247 | margin-bottom: 0; 248 | width: 100%; 249 | } 250 | select.bs-select-hidden, 251 | select.selectpicker { 252 | display: none !important; 253 | } 254 | select.mobile-device { 255 | position: absolute !important; 256 | top: 0; 257 | left: 0; 258 | display: block !important; 259 | width: 100%; 260 | height: 100% !important; 261 | opacity: 0; 262 | } 263 | /*# sourceMappingURL=bootstrap-select.css.map */ -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /admin/css/dataTables.bootstrap.min.css: -------------------------------------------------------------------------------- 1 | table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:75px;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:8px;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:8px;right:8px;display:block;font-family:'Glyphicons Halflings';opacity:0.5}table.dataTable thead .sorting:after{opacity:0.2;content:"\e150"}table.dataTable thead .sorting_asc:after{content:"\e155"}table.dataTable thead .sorting_desc:after{content:"\e156"}table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{color:#eee}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.table-condensed>thead>tr>th{padding-right:20px}table.dataTable.table-condensed .sorting:after,table.dataTable.table-condensed .sorting_asc:after,table.dataTable.table-condensed .sorting_desc:after{top:6px;right:6px}table.table-bordered.dataTable{border-collapse:separate !important}table.table-bordered.dataTable th,table.table-bordered.dataTable td{border-left-width:0}table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable td:last-child{border-right-width:0}table.table-bordered.dataTable tbody th,table.table-bordered.dataTable tbody td{border-bottom-width:0}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child{padding-right:0} 2 | -------------------------------------------------------------------------------- /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} -------------------------------------------------------------------------------- /admin/css/less/vars.less: -------------------------------------------------------------------------------- 1 | // Import Fonts 2 | @import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900,100italic,300italic,400italic); 3 | @import url(https://fonts.googleapis.com/css?family=Oswald:700,400,300); 4 | 5 | @secondary-font: 'Lato', sans-serif; 6 | //@secondary-font: 'Oswald', sans-serif; 7 | @primary-font: 'Oswald', sans-serif; 8 | 9 | 10 | // Layout Breakpoints 11 | @highdensity: ~"only screen and (-webkit-min-device-pixel-ratio: 1.5)", 12 | ~"only screen and (min--moz-device-pixel-ratio: 1.5)", 13 | ~"only screen and (-o-min-device-pixel-ratio: 3/2)", 14 | ~"only screen and (min-device-pixel-ratio: 1.5)"; 15 | @mobile: ~"only screen and (max-width: 479px)"; 16 | @tablet: ~"only screen and (min-width: 480px)"; 17 | @desktop: ~"only screen and (min-width: 992px)"; 18 | @desktop-xl: ~"only screen and (min-width: 1200px)"; 19 | 20 | // Brand Colors 21 | @background: #fff; 22 | @color1: #37a6c4; 23 | @color2: #ff962f; 24 | @color3: #25292a; 25 | 26 | 27 | @color-primary: #325d88; 28 | @color-success: #93c54b; 29 | @color-warning: #f47c3c; 30 | @color-danger: #d9534f; 31 | @color-info: #29abe0; 32 | 33 | @selection: #4f5362; -------------------------------------------------------------------------------- /admin/css/style.less: -------------------------------------------------------------------------------- 1 | @import 'less/vars'; 2 | @import 'less/components'; 3 | 4 | /* 5 | * Theme Struck - Harmony - Free responsive Bootstrap admin template by Themestruck.com (http://themestruck.com) 6 | * Code licensed under the MIT 7 | * For details, see # 8 | */ 9 | 10 | ul, 11 | li { 12 | margin: 0; 13 | padding: 0; 14 | list-style: none; 15 | } 16 | 17 | /* Social Button Modifications */ 18 | .btn{ 19 | text-transform: none; 20 | } 21 | .btn-social>:first-child { 22 | width: 42px; 23 | line-height: 46px; 24 | } 25 | .btn-social { 26 | padding-left: 58px; 27 | } 28 | 29 | /* Circle buttons */ 30 | .btn-circle { 31 | width: 30px; 32 | height: 30px; 33 | padding: 6px 0; 34 | border-radius: 15px; 35 | text-align: center; 36 | font-size: 12px; 37 | line-height: 1.428571429; 38 | } 39 | .btn-circle.btn-lg { 40 | width: 50px; 41 | height: 50px; 42 | padding: 10px 16px; 43 | border-radius: 25px; 44 | font-size: 18px; 45 | line-height: 1.33; 46 | } 47 | .btn-circle.btn-xl { 48 | width: 70px; 49 | height: 70px; 50 | padding: 10px 16px; 51 | border-radius: 35px; 52 | font-size: 24px; 53 | line-height: 1.33; 54 | } 55 | 56 | /* Chart design */ 57 | /* Charts */ 58 | .chart-dot-list { 59 | display: block; 60 | margin-top: 60px; 61 | margin-left: 20px; 62 | } 63 | .chart-dot-list li { 64 | margin-bottom: 4px; 65 | } 66 | .chart-dot-list li:before { 67 | content: ''; 68 | height: 12px; 69 | width: 12px; 70 | margin-right: 6px; 71 | display: inline-block; 72 | background: #222; 73 | border-radius: 50%; 74 | } 75 | .chart-dot-list li.a1:before { 76 | background: #F7464A; 77 | } 78 | .chart-dot-list li.a2:before { 79 | background: #46BFBD; 80 | } 81 | .chart-dot-list li.a3:before { 82 | background: #FDB45C; 83 | } 84 | .chart-doughnut { 85 | padding: 41px 0; 86 | } 87 | 88 | /* component */ 89 | 90 | .page-title{ 91 | padding-bottom: 15px; 92 | margin-bottom: 20px; 93 | border-bottom: 1px solid #f0f0f0; 94 | } 95 | 96 | .brand{ 97 | // padding: 10px; 98 | background: #3e454c; 99 | .logo{ 100 | box-sizing: border-box; 101 | padding: 20px; 102 | float: left; 103 | display: block; 104 | width: 200px; 105 | @media @desktop{ 106 | width: 250px; 107 | } 108 | img{ 109 | height: 20px; 110 | } 111 | } 112 | .menu-btn { 113 | float: right; 114 | background: #232d3b; 115 | text-align: center; 116 | cursor: pointer; 117 | color: #fff; 118 | padding: 20px 20px; 119 | @media @desktop{ 120 | display: none; 121 | } 122 | } 123 | .ts-profile-nav{ 124 | float: right; 125 | li{ 126 | float: left; 127 | a{ 128 | display: block; 129 | padding: 20px; 130 | color: #fff; 131 | } 132 | position: relative; 133 | ul{ 134 | visibility: hidden; 135 | opacity: 0; 136 | right: 0; 137 | position: absolute; 138 | li{ 139 | float: none; 140 | width: 180px; 141 | a{ 142 | padding: 10px 20px; 143 | background: #222; 144 | } 145 | } 146 | } 147 | } 148 | .ts-account{ 149 | .fa-angle-down{ 150 | float: right; 151 | } 152 | &>a{ 153 | width: 180px; 154 | background: #2c3136; 155 | } 156 | .ts-avatar{ 157 | border-radius: 50%; 158 | height: 28px; 159 | margin: -10px 0; 160 | margin-right: 10px; 161 | } 162 | &:hover{ 163 | ul{ 164 | visibility: visible; 165 | opacity: 1; 166 | } 167 | } 168 | } 169 | display: none; 170 | @media @desktop{ 171 | display: block; 172 | } 173 | } 174 | 175 | position: relative; 176 | z-index: 3; 177 | position: fixed; 178 | width: 100%; 179 | top: 0; 180 | } 181 | 182 | .ts-sidebar::-webkit-scrollbar-track 183 | { 184 | background-color: transparent; 185 | } 186 | 187 | .ts-sidebar::-webkit-scrollbar 188 | { 189 | width: 5px; 190 | background-color: transparent; 191 | } 192 | 193 | .ts-sidebar::-webkit-scrollbar-thumb 194 | { 195 | background-color: #b4b4b4; 196 | } 197 | 198 | .ts-sidebar{ 199 | background: #2c3136; 200 | .hidden-side{ 201 | display: none; 202 | } 203 | .ts-sidebar-search{ 204 | width: 100%; 205 | background: #25292a; 206 | border: none; 207 | padding: 10px 15px; 208 | color: #fff; 209 | } 210 | .ts-profile-nav{ 211 | @media @desktop{ 212 | display: none; 213 | } 214 | } 215 | max-height: 0; 216 | transition: max-height 0.3s; 217 | overflow: hidden; 218 | 219 | 220 | position: fixed; 221 | z-index: 2; 222 | width: 100%; 223 | bottom: 0; 224 | top: 60px; 225 | overflow-y: auto; 226 | 227 | @media @desktop{ 228 | // height: 100vh; 229 | max-height: 100%; 230 | // position: relative; 231 | // top: 0; 232 | bottom: 0; 233 | // top: 0; 234 | } 235 | 236 | } 237 | 238 | .ts-sidebar-menu { 239 | .ts-label{ 240 | color: #585c64; 241 | font-weight: bold; 242 | padding: 8px 15px; 243 | text-transform: uppercase; 244 | font-size: 10px; 245 | letter-spacing: 3px; 246 | margin-top: 10px; 247 | } 248 | a { 249 | display: block; 250 | text-decoration: none; 251 | padding: 12px 15px; 252 | color: #fff; 253 | } 254 | li { 255 | position: relative; 256 | i{ 257 | color: #585c64; 258 | margin-right: 10px; 259 | } 260 | ul { 261 | display: block; 262 | background: rgba(255, 0, 0, 0.12); 263 | background: rgba(0, 0, 0, 0.32); 264 | max-height: 0; 265 | overflow: hidden; 266 | transition: all 0.3s ease; 267 | } 268 | } 269 | } 270 | 271 | .menu-open, 272 | .ts-sidebar-menu .open > ul { 273 | max-height: 2000px; 274 | } 275 | .ts-sidebar-menu .open{ 276 | &>a{ 277 | background: rgba(51, 56, 62, 0.35); 278 | } 279 | } 280 | .ts-sidebar-menu > .open{ 281 | &>a{ 282 | background: #33383e; 283 | border-left: 3px solid @color1; 284 | } 285 | } 286 | 287 | .ts-sidebar-menu .open > .more i { 288 | transform: rotate(180deg); 289 | } 290 | .more i { 291 | color: #fff; 292 | padding: 15px; 293 | transition: transform 0.3s; 294 | } 295 | .more { 296 | float: right; 297 | min-width: 10%; 298 | cursor: pointer; 299 | } 300 | 301 | .ts-main-content{ 302 | .content-wrapper{ 303 | padding-top: 15px; 304 | margin-top: 60px; 305 | } 306 | @media @desktop{ 307 | .ts-sidebar{ 308 | width: 250px; 309 | float: left; 310 | } 311 | .content-wrapper{ 312 | margin-left: 250px; 313 | } 314 | } 315 | } 316 | 317 | /* Login page */ 318 | .login-page{ 319 | position: absolute; 320 | height: 100%; 321 | width: 100%; 322 | } -------------------------------------------------------------------------------- /admin/dashboard.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Admin Dashboard 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
46 | 47 |
48 |
49 | 50 |
51 |
52 | 53 |

Dashboard

54 | 55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 | prepare($sql); 65 | $query->execute(); 66 | $results=$query->fetchAll(PDO::FETCH_OBJ); 67 | $bg=$query->rowCount(); 68 | ?> 69 |
70 |
Total Users
71 |
72 |
73 | Full Detail 74 |
75 |
76 |
77 |
78 |
79 |
80 | 81 | prepare($sql1);; 85 | $query1-> bindParam(':reciver', $reciver, PDO::PARAM_STR); 86 | $query1->execute(); 87 | $results1=$query1->fetchAll(PDO::FETCH_OBJ); 88 | $regbd=$query1->rowCount(); 89 | ?> 90 |
91 |
Feedback Messages
92 |
93 |
94 | Full Detail   95 |
96 |
97 | 98 |
99 |
100 |
101 |
102 | 103 | prepare($sql12);; 107 | $query12-> bindParam(':reciver', $reciver, PDO::PARAM_STR); 108 | $query12->execute(); 109 | $results12=$query12->fetchAll(PDO::FETCH_OBJ); 110 | $regbd2=$query12->rowCount(); 111 | ?> 112 |
113 |
Notifications
114 |
115 |
116 | Full Detail   117 |
118 |
119 |
120 |
121 |
122 |
123 | prepare($sql6);; 126 | $query6->execute(); 127 | $results6=$query6->fetchAll(PDO::FETCH_OBJ); 128 | $query=$query6->rowCount(); 129 | ?> 130 |
131 |
Deleted Users
132 |
133 |
134 | Full Detail   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 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 193 | 194 | 195 | -------------------------------------------------------------------------------- /admin/deleteduser.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | Deleted Users 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 62 | 63 | 64 | 65 | 66 | 67 | 68 |
69 | 70 |
71 |
72 | 73 |
74 |
75 | 76 |

Deleted Users

77 | 78 | 79 |
80 |
List Users
81 |
82 |
84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | prepare($sql); 97 | $query->execute(); 98 | $results=$query->fetchAll(PDO::FETCH_OBJ); 99 | $cnt=1; 100 | if($query->rowCount() > 0) 101 | { 102 | foreach($results as $result) 103 | { ?> 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 |
#EmailDelete Time
email);?>deltime);?>
113 |
114 |
115 |
116 |
117 | 118 |
119 |
120 |
121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 139 | 140 | 141 | 142 | -------------------------------------------------------------------------------- /admin/download.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | prepare($sql); 28 | $query->execute(); 29 | $results=$query->fetchAll(PDO::FETCH_OBJ); 30 | $cnt=1; 31 | if($query->rowCount() > 0) 32 | { 33 | foreach($results as $result) 34 | { 35 | 36 | echo ' 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | '; 46 | header("Content-type: application/octet-stream"); 47 | header("Content-Disposition: attachment; filename=".$filename."-report.xls"); 48 | header("Pragma: no-cache"); 49 | header("Expires: 0"); 50 | $cnt++; 51 | } 52 | } 53 | ?> 54 |
#NameEmailGenderPhoneDesignation
'.$cnt.''.$Name= $result->name.''.$Email= $result->email.''.$Gender= $result->gender.''.$Phone= $result->mobile.''.$Designation= $result->designation.'
55 | -------------------------------------------------------------------------------- /admin/edit-user.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 41 | $query-> bindParam(':name', $name, PDO::PARAM_STR); 42 | $query-> bindParam(':email', $email, PDO::PARAM_STR); 43 | $query-> bindParam(':gender', $gender, PDO::PARAM_STR); 44 | $query-> bindParam(':mobileno', $mobileno, PDO::PARAM_STR); 45 | $query-> bindParam(':designation', $designation, PDO::PARAM_STR); 46 | $query-> bindParam(':image', $image, PDO::PARAM_STR); 47 | $query-> bindParam(':idedit', $idedit, PDO::PARAM_STR); 48 | $query->execute(); 49 | $msg="Information Updated Successfully"; 50 | } 51 | ?> 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | Edit User 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 102 | 103 | 104 | 105 | prepare($sql); 108 | $query->bindParam(':editid',$editid,PDO::PARAM_INT); 109 | $query->execute(); 110 | $result=$query->fetch(PDO::FETCH_OBJ); 111 | $cnt=1; 112 | ?> 113 | 114 |
115 | 116 |
117 |
118 |
119 |
120 |

Edit User : name); ?>

121 |
122 |
123 |
124 |
Edit Info
125 |
ERROR:
SUCCESS:
127 | 128 |
129 |
130 |
131 | 132 |
133 | 134 |
135 | 136 |
137 | 138 |
139 |
140 | 141 |
142 | 143 |
144 | 149 |
150 | 151 |
152 | 153 |
154 |
155 | 156 | 157 |
158 | 159 |
160 | 161 |
162 | 163 | 164 |
165 | 166 |
167 |
168 | 169 |
170 |
171 | 172 | 173 | 174 |
175 |
176 | 177 | 178 |
179 |
180 | 181 |
182 |
183 | 184 |
185 |
186 |
187 |
188 |
189 | 190 | 191 | 192 |
193 |
194 | 195 | 196 | 197 |
198 |
199 |
200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 218 | 219 | 220 | 221 | -------------------------------------------------------------------------------- /admin/feedback.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 15 | $query -> bindParam(':id',$id, PDO::PARAM_STR); 16 | $query -> execute(); 17 | $msg="Data Deleted successfully"; 18 | } 19 | 20 | if(isset($_REQUEST['unconfirm'])) 21 | { 22 | $aeid=intval($_GET['unconfirm']); 23 | $memstatus=1; 24 | $sql = "UPDATE users SET status=:status WHERE id=:aeid"; 25 | $query = $dbh->prepare($sql); 26 | $query -> bindParam(':status',$memstatus, PDO::PARAM_STR); 27 | $query-> bindParam(':aeid',$aeid, PDO::PARAM_STR); 28 | $query -> execute(); 29 | $msg="Changes Sucessfully"; 30 | } 31 | 32 | if(isset($_REQUEST['confirm'])) 33 | { 34 | $aeid=intval($_GET['confirm']); 35 | $memstatus=0; 36 | $sql = "UPDATE users SET status=:status WHERE id=:aeid"; 37 | $query = $dbh->prepare($sql); 38 | $query -> bindParam(':status',$memstatus, PDO::PARAM_STR); 39 | $query-> bindParam(':aeid',$aeid, PDO::PARAM_STR); 40 | $query -> execute(); 41 | $msg="Changes Sucessfully"; 42 | } 43 | 44 | 45 | 46 | 47 | 48 | ?> 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | Manage Feedback 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 99 | 100 | 101 | 102 | 103 | 104 | 105 |
106 | 107 |
108 |
109 | 110 |
111 |
112 | 113 |

Manage Feedback

114 | 115 | 116 |
117 |
List Users
118 |
119 |
121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | prepare($sql); 139 | $query-> bindParam(':reciver', $reciver, PDO::PARAM_STR); 140 | $query->execute(); 141 | $results=$query->fetchAll(PDO::FETCH_OBJ); 142 | $cnt=1; 143 | if($query->rowCount() > 0) 144 | { 145 | foreach($results as $result) 146 | { ?> 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 157 | 158 | 159 | 160 | 161 |
#User EmailTitleFeedbackAttachmentAction
sender);?>title);?>feedbackdata);?>attachment);?> 155 |      156 |
162 |
163 |
164 |
165 |
166 | 167 |
168 |
169 |
170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 188 | 189 | 190 | 191 | -------------------------------------------------------------------------------- /admin/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/admin/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/admin/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/admin/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/admin/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/admin/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/admin/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/admin/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/admin/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/User-Management-PHP-MYSQL/fedcf58797bf2791591606f7b61fdad99ad8bff1/admin/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /admin/includes/config.php: -------------------------------------------------------------------------------- 1 |  "SET NAMES 'utf8'")); 11 | } 12 | catch (PDOException $e) 13 | { 14 | exit("Error: " . $e->getMessage()); 15 | } 16 | ?> 17 | -------------------------------------------------------------------------------- /admin/includes/header.php: -------------------------------------------------------------------------------- 1 |
2 |

  Armentum

3 | 4 | 14 |
15 | -------------------------------------------------------------------------------- /admin/includes/leftbar.php: -------------------------------------------------------------------------------- 1 | 22 | 23 | -------------------------------------------------------------------------------- /admin/index.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 10 | $query-> bindParam(':email', $email, PDO::PARAM_STR); 11 | $query-> bindParam(':password', $password, PDO::PARAM_STR); 12 | $query-> execute(); 13 | $results=$query->fetchAll(PDO::FETCH_OBJ); 14 | if($query->rowCount() > 0) 15 | { 16 | $_SESSION['alogin']=$_POST['username']; 17 | echo ""; 18 | } else{ 19 | 20 | echo ""; 21 | 22 | } 23 | 24 | } 25 | 26 | ?> 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 |
50 |
51 |
52 |
53 |
54 |

Admin Login

55 |
56 |
57 |
58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /admin/js/chartData.js: -------------------------------------------------------------------------------- 1 | var swirlData = { 2 | labels: ["January", "February", "March", "April", "May", "June", "July"], 3 | datasets: [ 4 | { 5 | label: "My First dataset", 6 | fillColor: "rgba(220,220,220,0.2)", 7 | strokeColor: "rgba(220,220,220,1)", 8 | pointColor: "rgba(220,220,220,1)", 9 | pointStrokeColor: "#fff", 10 | pointHighlightFill: "#fff", 11 | pointHighlightStroke: "rgba(220,220,220,1)", 12 | data: [65, 59, 80, 81, 56, 55, 40] 13 | }, 14 | { 15 | label: "My Second dataset", 16 | fillColor: "rgba(151,187,205,0.2)", 17 | strokeColor: "rgba(151,187,205,1)", 18 | pointColor: "rgba(151,187,205,1)", 19 | pointStrokeColor: "#fff", 20 | pointHighlightFill: "#fff", 21 | pointHighlightStroke: "rgba(151,187,205,1)", 22 | data: [28, 48, 40, 19, 86, 27, 90] 23 | } 24 | ] 25 | }; 26 | 27 | var doughnutData = [ 28 | { 29 | value: 300, 30 | color:"#F7464A", 31 | highlight: "#FF5A5E", 32 | label: "Red" 33 | }, 34 | { 35 | value: 50, 36 | color: "#46BFBD", 37 | highlight: "#5AD3D1", 38 | label: "Green" 39 | }, 40 | { 41 | value: 100, 42 | color: "#FDB45C", 43 | highlight: "#FFC870", 44 | label: "Yellow" 45 | } 46 | ] 47 | 48 | var radarData = { 49 | labels: ["Eating", "Drinking", "Sleeping", "Designing", "Coding", "Cycling", "Running"], 50 | datasets: [ 51 | { 52 | label: "My First dataset", 53 | fillColor: "rgba(220,220,220,0.2)", 54 | strokeColor: "rgba(220,220,220,1)", 55 | pointColor: "rgba(220,220,220,1)", 56 | pointStrokeColor: "#fff", 57 | pointHighlightFill: "#fff", 58 | pointHighlightStroke: "rgba(220,220,220,1)", 59 | data: [65, 59, 90, 81, 56, 55, 40] 60 | }, 61 | { 62 | label: "My Second dataset", 63 | fillColor: "rgba(151,187,205,0.2)", 64 | strokeColor: "rgba(151,187,205,1)", 65 | pointColor: "rgba(151,187,205,1)", 66 | pointStrokeColor: "#fff", 67 | pointHighlightFill: "#fff", 68 | pointHighlightStroke: "rgba(151,187,205,1)", 69 | data: [28, 48, 40, 19, 96, 27, 100] 70 | } 71 | ] 72 | }; 73 | 74 | 75 | var polarData = [ 76 | { 77 | value: 300, 78 | color:"#F7464A", 79 | highlight: "#FF5A5E", 80 | label: "Red" 81 | }, 82 | { 83 | value: 50, 84 | color: "#46BFBD", 85 | highlight: "#5AD3D1", 86 | label: "Green" 87 | }, 88 | { 89 | value: 100, 90 | color: "#FDB45C", 91 | highlight: "#FFC870", 92 | label: "Yellow" 93 | }, 94 | { 95 | value: 40, 96 | color: "#949FB1", 97 | highlight: "#A8B3C5", 98 | label: "Grey" 99 | }, 100 | { 101 | value: 120, 102 | color: "#4D5360", 103 | highlight: "#616774", 104 | label: "Dark Grey" 105 | } 106 | 107 | ]; 108 | 109 | var barChartData = { 110 | labels: ["January", "February", "March", "April", "May", "June", "July"], 111 | datasets: [ 112 | { 113 | label: "My First dataset", 114 | fillColor: "rgba(220,220,220,0.5)", 115 | strokeColor: "rgba(220,220,220,0.8)", 116 | highlightFill: "rgba(220,220,220,0.75)", 117 | highlightStroke: "rgba(220,220,220,1)", 118 | data: [65, 59, 80, 81, 56, 55, 40] 119 | }, 120 | { 121 | label: "My Second dataset", 122 | fillColor: "rgba(151,187,205,0.5)", 123 | strokeColor: "rgba(151,187,205,0.8)", 124 | highlightFill: "rgba(151,187,205,0.75)", 125 | highlightStroke: "rgba(151,187,205,1)", 126 | data: [28, 48, 40, 19, 86, 27, 90] 127 | } 128 | ] 129 | } 130 | -------------------------------------------------------------------------------- /admin/js/dataTables.bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | DataTables Bootstrap 3 integration 3 | ©2011-2015 SpryMedia Ltd - datatables.net/license 4 | */ 5 | (function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return b(a,window,document)}):"object"===typeof exports?module.exports=function(a,d){a||(a=window);if(!d||!d.fn.dataTable)d=require("datatables.net")(a,d).$;return b(d,a,a.document)}:b(jQuery,window,document)})(function(b,a,d){var f=b.fn.dataTable;b.extend(!0,f.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-5'i><'col-sm-7'p>>",renderer:"bootstrap"});b.extend(f.ext.classes, 6 | {sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"});f.ext.renderer.pageButton.bootstrap=function(a,h,r,m,j,n){var o=new f.Api(a),s=a.oClasses,k=a.oLanguage.oPaginate,t=a.oLanguage.oAria.paginate||{},e,g,p=0,q=function(d,f){var l,h,i,c,m=function(a){a.preventDefault();!b(a.currentTarget).hasClass("disabled")&&o.page()!=a.data.action&&o.page(a.data.action).draw("page")}; 7 | l=0;for(h=f.length;l",{"class":s.sPageButton+" "+g,id:0===r&&"string"===typeof c?a.sTableId+"_"+c:null}).append(b("",{href:"#", 8 | "aria-controls":a.sTableId,"aria-label":t[c],"data-dt-idx":p,tabindex:a.iTabIndex}).html(e)).appendTo(d),a.oApi._fnBindAction(i,{action:c},m),p++)}},i;try{i=b(h).find(d.activeElement).data("dt-idx")}catch(u){}q(b(h).empty().html('