├── d1 hello-world.php ├── d12 - session-cookie-json.php ├── project ├── admin │ ├── img │ │ ├── Thumbs.db │ │ ├── green1.png │ │ ├── contact │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ ├── 4.jpg │ │ │ └── Thumbs.db │ │ ├── cropper │ │ │ ├── 1.jpg │ │ │ └── Thumbs.db │ │ ├── favicon.ico │ │ ├── logo │ │ │ ├── logo.png │ │ │ ├── Thumbs.db │ │ │ └── logosn.png │ │ ├── product │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ ├── Thumbs.db │ │ │ ├── bg-1.jpg │ │ │ ├── bg-2.jpg │ │ │ └── bg-3.jpg │ │ ├── blog-details │ │ │ ├── 1.jpg │ │ │ └── Thumbs.db │ │ ├── new-product │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.jpg │ │ │ ├── 5-small.jpg │ │ │ ├── 6-small.jpg │ │ │ ├── 7-small.jpg │ │ │ ├── Thumbs.db │ │ │ ├── 16-home_default.jpg │ │ │ ├── 21-home_default.jpg │ │ │ └── 90-home_default.jpg │ │ └── notification │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ ├── 4.jpg │ │ │ ├── 5.jpg │ │ │ ├── 6.jpg │ │ │ └── Thumbs.db │ ├── fonts │ │ ├── nalika.ttf │ │ ├── nalika.woff │ │ ├── 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 │ ├── js │ │ ├── knob │ │ │ └── knob-active.js │ │ ├── metisMenu │ │ │ ├── metisMenu-active.js │ │ │ └── metisMenu.min.js │ │ ├── pdf │ │ │ └── pdf-active.js │ │ ├── chosen │ │ │ └── chosen-active.js │ │ ├── duallistbox │ │ │ └── duallistbox.active.js │ │ ├── chart │ │ │ ├── peity-active.js │ │ │ └── jquery.peity.min.js │ │ ├── icheck │ │ │ ├── icheck-active.js │ │ │ └── icheck.min.js │ │ ├── select2 │ │ │ └── select2-active.js │ │ ├── wizard │ │ │ └── steps-active.js │ │ ├── counterup │ │ │ ├── counterup-active.js │ │ │ └── jquery.counterup.min.js │ │ ├── data-table │ │ │ ├── data-table-active.js │ │ │ └── bootstrap-table-resizable.js │ │ ├── summernote │ │ │ └── summernote-active.js │ │ ├── code-editor │ │ │ └── code-editor-active.js │ │ ├── touchspin │ │ │ └── touchspin-active.js │ │ ├── plugins.js │ │ ├── peity │ │ │ ├── peity-active.js │ │ │ └── jquery.peity.min.js │ │ ├── ionRangeSlider │ │ │ └── ion.rangeSlider.active.js │ │ ├── datapicker │ │ │ └── datepicker-active.js │ │ ├── rangle-slider │ │ │ ├── jquery-ui-touch-punch.min.js │ │ │ └── rangle-active.js │ │ ├── colorpicker │ │ │ └── color-picker-active.js │ │ ├── scrollbar │ │ │ └── mCustomScrollbar-active.js │ │ ├── e-payment.js │ │ ├── morrisjs │ │ │ ├── morris-active-pro.js │ │ │ └── morris-active.js │ │ ├── jquery.scrollUp.min.js │ │ ├── password-meter │ │ │ └── password-meter-active.js │ │ ├── cropper │ │ │ └── cropper-actice.js │ │ ├── calendar │ │ │ └── fullcalendar-active.js │ │ ├── editable │ │ │ └── mock-active.js │ │ ├── main.js │ │ ├── flot │ │ │ └── jquery.flot.resize.js │ │ ├── charts │ │ │ └── rounded-chart.js │ │ ├── c3-charts │ │ │ └── c3-active.js │ │ ├── sparkline │ │ │ └── sparkline-active.js │ │ ├── tab.js │ │ └── tree-line │ │ │ └── jstree.active.js │ ├── css │ │ ├── tree-viewer │ │ │ ├── 32px.png │ │ │ └── throbber.gif │ │ ├── chosen │ │ │ └── chosen-sprite.png │ │ ├── summernote │ │ │ └── fonts │ │ │ │ ├── summernote.eot │ │ │ │ ├── summernote.ttf │ │ │ │ └── summernote.woff │ │ ├── ionRangeSlider │ │ │ ├── sprite-skin-flat.png │ │ │ ├── ion.rangeSlider.skinFlat.css │ │ │ └── ion.rangeSlider.css │ │ ├── notifications │ │ │ └── notifications.css │ │ ├── morrisjs │ │ │ └── morris.css │ │ ├── touchspin │ │ │ └── jquery.bootstrap-touchspin.min.css │ │ ├── tabs.css │ │ ├── duallistbox │ │ │ └── bootstrap-duallistbox.min.css │ │ ├── accordions.css │ │ ├── calendar │ │ │ └── fullcalendar.print.min.css │ │ ├── c3 │ │ │ └── c3.min.css │ │ ├── metisMenu │ │ │ ├── metisMenu-vertical.css │ │ │ └── metisMenu.min.css │ │ ├── meanmenu.min.css │ │ ├── cropper │ │ │ └── cropper.min.css │ │ └── editor │ │ │ └── x-editor-style.css │ ├── ajax │ │ └── getProductDetails.php │ ├── index.php │ ├── orders.php │ ├── users.php │ ├── footer.php │ ├── headder.php │ └── sidebar.php ├── logout.php ├── assets │ └── images │ │ ├── banner.jpg │ │ ├── profile_picture.png │ │ ├── 66dd63f1f35ab2.37338116.jpg │ │ └── products │ │ ├── 1727240945_1977.png │ │ ├── image_thumbnail.png │ │ ├── 1727240627_1HKE_20240313152116.jpg │ │ ├── 1727240602_51HfSy7vC8L._AC_SX569_.jpg │ │ ├── 1727240701_81wyxedDeQL._AC_SY550_.jpg │ │ ├── 1727240722_81cpwPVgP4L._AC_SX466_.jpg │ │ ├── 1727240743_51HfSy7vC8L._AC_SX569_.jpg │ │ ├── 1727240762_71j0zMW9aUL._AC_SY550_.jpg │ │ ├── 1727240784_914jUAocoXL._AC_SY550_.jpg │ │ ├── 1727240870_81wyxedDeQL._AC_SY550_.jpg │ │ ├── 1727240899_81cpwPVgP4L._AC_SX466_.jpg │ │ ├── 1727240965_914jUAocoXL._AC_SY550_.jpg │ │ └── 1727240996_81wyxedDeQL._AC_SY550_.jpg ├── about.php ├── cart.php ├── checkout.php ├── contact.php ├── single-product.php ├── delete-profile.php ├── header.php ├── forgot-password.php ├── reset-password.php ├── login.php ├── index.php ├── profile-picture.php ├── navbar.php ├── update-profile.php ├── change-password.php └── register.php ├── session ├── logout.php ├── login.php └── index.php ├── uploads ├── IMG_66a9cdb33f6ef2.81959769wxQkWh17224042755670.jpg ├── IMG_66a9cdce1a7d70.65136218zCwdQn17224043025742.jpg └── IMG_66a9ce007c6a48.89408699nDOzdk17224043522902.jpeg ├── d14 - namespace.php ├── common-files ├── footer.php ├── header.php ├── navbar.php └── slider.php ├── d4 - numberFunctions.php ├── d6 - function.php ├── d2 - comments-Variables-DataTypes.php ├── d8 - super-globals.php ├── d14 - oop-part-2.php ├── d5 - ternary-operator-loop.php ├── d7 - array.php ├── d13 - oop-part-1.php ├── d11 - date-FileUpload.php ├── d15 - crud.php ├── d3 - operators-stringFunction.php └── d9 - bootstrap.php /d1 hello-world.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /d12 - session-cookie-json.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/admin/img/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/Thumbs.db -------------------------------------------------------------------------------- /project/admin/img/green1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/green1.png -------------------------------------------------------------------------------- /project/admin/fonts/nalika.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/fonts/nalika.ttf -------------------------------------------------------------------------------- /project/admin/fonts/nalika.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/fonts/nalika.woff -------------------------------------------------------------------------------- /project/admin/img/contact/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/contact/1.jpg -------------------------------------------------------------------------------- /project/admin/img/contact/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/contact/2.jpg -------------------------------------------------------------------------------- /project/admin/img/contact/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/contact/3.jpg -------------------------------------------------------------------------------- /project/admin/img/contact/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/contact/4.jpg -------------------------------------------------------------------------------- /project/admin/img/cropper/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/cropper/1.jpg -------------------------------------------------------------------------------- /project/admin/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/favicon.ico -------------------------------------------------------------------------------- /project/admin/img/logo/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/logo/logo.png -------------------------------------------------------------------------------- /project/admin/img/product/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/product/1.jpg -------------------------------------------------------------------------------- /project/admin/img/product/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/product/2.jpg -------------------------------------------------------------------------------- /project/admin/img/product/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/product/3.jpg -------------------------------------------------------------------------------- /project/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/admin/img/logo/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/logo/Thumbs.db -------------------------------------------------------------------------------- /project/admin/img/logo/logosn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/logo/logosn.png -------------------------------------------------------------------------------- /project/assets/images/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/banner.jpg -------------------------------------------------------------------------------- /session/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/admin/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /project/admin/img/blog-details/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/blog-details/1.jpg -------------------------------------------------------------------------------- /project/admin/img/contact/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/contact/Thumbs.db -------------------------------------------------------------------------------- /project/admin/img/cropper/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/cropper/Thumbs.db -------------------------------------------------------------------------------- /project/admin/img/new-product/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/new-product/5.png -------------------------------------------------------------------------------- /project/admin/img/new-product/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/new-product/6.png -------------------------------------------------------------------------------- /project/admin/img/new-product/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/new-product/7.jpg -------------------------------------------------------------------------------- /project/admin/img/notification/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/notification/1.jpg -------------------------------------------------------------------------------- /project/admin/img/notification/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/notification/2.jpg -------------------------------------------------------------------------------- /project/admin/img/notification/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/notification/3.jpg -------------------------------------------------------------------------------- /project/admin/img/notification/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/notification/4.jpg -------------------------------------------------------------------------------- /project/admin/img/notification/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/notification/5.jpg -------------------------------------------------------------------------------- /project/admin/img/notification/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/notification/6.jpg -------------------------------------------------------------------------------- /project/admin/img/product/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/product/Thumbs.db -------------------------------------------------------------------------------- /project/admin/img/product/bg-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/product/bg-1.jpg -------------------------------------------------------------------------------- /project/admin/img/product/bg-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/product/bg-2.jpg -------------------------------------------------------------------------------- /project/admin/img/product/bg-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/product/bg-3.jpg -------------------------------------------------------------------------------- /project/admin/js/knob/knob-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $(".dial").knob(); 5 | 6 | 7 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/css/tree-viewer/32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/css/tree-viewer/32px.png -------------------------------------------------------------------------------- /project/admin/img/blog-details/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/blog-details/Thumbs.db -------------------------------------------------------------------------------- /project/admin/img/new-product/5-small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/new-product/5-small.jpg -------------------------------------------------------------------------------- /project/admin/img/new-product/6-small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/new-product/6-small.jpg -------------------------------------------------------------------------------- /project/admin/img/new-product/7-small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/new-product/7-small.jpg -------------------------------------------------------------------------------- /project/admin/img/new-product/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/new-product/Thumbs.db -------------------------------------------------------------------------------- /project/admin/img/notification/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/notification/Thumbs.db -------------------------------------------------------------------------------- /project/assets/images/profile_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/profile_picture.png -------------------------------------------------------------------------------- /project/admin/css/chosen/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/css/chosen/chosen-sprite.png -------------------------------------------------------------------------------- /project/admin/css/tree-viewer/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/css/tree-viewer/throbber.gif -------------------------------------------------------------------------------- /project/admin/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /project/admin/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /project/admin/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /project/admin/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /project/about.php: -------------------------------------------------------------------------------- 1 | 4 |

Hello, world!

5 | 8 | -------------------------------------------------------------------------------- /project/admin/css/summernote/fonts/summernote.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/css/summernote/fonts/summernote.eot -------------------------------------------------------------------------------- /project/admin/css/summernote/fonts/summernote.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/css/summernote/fonts/summernote.ttf -------------------------------------------------------------------------------- /project/admin/css/summernote/fonts/summernote.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/css/summernote/fonts/summernote.woff -------------------------------------------------------------------------------- /project/admin/img/new-product/16-home_default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/new-product/16-home_default.jpg -------------------------------------------------------------------------------- /project/admin/img/new-product/21-home_default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/new-product/21-home_default.jpg -------------------------------------------------------------------------------- /project/admin/img/new-product/90-home_default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/img/new-product/90-home_default.jpg -------------------------------------------------------------------------------- /project/admin/js/metisMenu/metisMenu-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $('#menu1').metisMenu(); 5 | 6 | })(jQuery); 7 | 8 | 9 | -------------------------------------------------------------------------------- /project/admin/js/pdf/pdf-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $('a.media').media({width:630, height:950}); 5 | 6 | 7 | })(jQuery); -------------------------------------------------------------------------------- /project/assets/images/66dd63f1f35ab2.37338116.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/66dd63f1f35ab2.37338116.jpg -------------------------------------------------------------------------------- /project/assets/images/products/1727240945_1977.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240945_1977.png -------------------------------------------------------------------------------- /project/assets/images/products/image_thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/image_thumbnail.png -------------------------------------------------------------------------------- /project/cart.php: -------------------------------------------------------------------------------- 1 | 4 |

Hello, world!

5 | 8 | -------------------------------------------------------------------------------- /project/admin/css/ionRangeSlider/sprite-skin-flat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/css/ionRangeSlider/sprite-skin-flat.png -------------------------------------------------------------------------------- /project/admin/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /project/admin/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /project/admin/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /project/admin/js/chosen/chosen-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $('.chosen-select').chosen({width: "100%"}); 5 | 6 | 7 | })(jQuery); -------------------------------------------------------------------------------- /project/checkout.php: -------------------------------------------------------------------------------- 1 | 4 |

Hello, world!

5 | 8 | -------------------------------------------------------------------------------- /project/contact.php: -------------------------------------------------------------------------------- 1 | 4 |

Hello, world!

5 | 8 | -------------------------------------------------------------------------------- /project/admin/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/admin/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /project/single-product.php: -------------------------------------------------------------------------------- 1 | 4 |

Hello, world!

5 | 8 | -------------------------------------------------------------------------------- /uploads/IMG_66a9cdb33f6ef2.81959769wxQkWh17224042755670.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/uploads/IMG_66a9cdb33f6ef2.81959769wxQkWh17224042755670.jpg -------------------------------------------------------------------------------- /uploads/IMG_66a9cdce1a7d70.65136218zCwdQn17224043025742.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/uploads/IMG_66a9cdce1a7d70.65136218zCwdQn17224043025742.jpg -------------------------------------------------------------------------------- /uploads/IMG_66a9ce007c6a48.89408699nDOzdk17224043522902.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/uploads/IMG_66a9ce007c6a48.89408699nDOzdk17224043522902.jpeg -------------------------------------------------------------------------------- /project/assets/images/products/1727240627_1HKE_20240313152116.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240627_1HKE_20240313152116.jpg -------------------------------------------------------------------------------- /project/assets/images/products/1727240602_51HfSy7vC8L._AC_SX569_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240602_51HfSy7vC8L._AC_SX569_.jpg -------------------------------------------------------------------------------- /project/assets/images/products/1727240701_81wyxedDeQL._AC_SY550_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240701_81wyxedDeQL._AC_SY550_.jpg -------------------------------------------------------------------------------- /project/assets/images/products/1727240722_81cpwPVgP4L._AC_SX466_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240722_81cpwPVgP4L._AC_SX466_.jpg -------------------------------------------------------------------------------- /project/assets/images/products/1727240743_51HfSy7vC8L._AC_SX569_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240743_51HfSy7vC8L._AC_SX569_.jpg -------------------------------------------------------------------------------- /project/assets/images/products/1727240762_71j0zMW9aUL._AC_SY550_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240762_71j0zMW9aUL._AC_SY550_.jpg -------------------------------------------------------------------------------- /project/assets/images/products/1727240784_914jUAocoXL._AC_SY550_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240784_914jUAocoXL._AC_SY550_.jpg -------------------------------------------------------------------------------- /project/assets/images/products/1727240870_81wyxedDeQL._AC_SY550_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240870_81wyxedDeQL._AC_SY550_.jpg -------------------------------------------------------------------------------- /project/assets/images/products/1727240899_81cpwPVgP4L._AC_SX466_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240899_81cpwPVgP4L._AC_SX466_.jpg -------------------------------------------------------------------------------- /project/assets/images/products/1727240965_914jUAocoXL._AC_SY550_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240965_914jUAocoXL._AC_SY550_.jpg -------------------------------------------------------------------------------- /project/assets/images/products/1727240996_81wyxedDeQL._AC_SY550_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/ia21b2/main/project/assets/images/products/1727240996_81wyxedDeQL._AC_SY550_.jpg -------------------------------------------------------------------------------- /d14 - namespace.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/admin/js/duallistbox/duallistbox.active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $('.dual_select').bootstrapDualListbox({ 5 | selectorMinimalHeight: 160 6 | }); 7 | 8 | 9 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/js/chart/peity-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | 5 | 6 | 7 | $(".bar").peity("bar", { 8 | fill: ["#0d4cff", "#d7d7d7"] 9 | }) 10 | 11 | 12 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/js/icheck/icheck-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $('.i-checks').iCheck({ 5 | checkboxClass: 'icheckbox_square-green', 6 | radioClass: 'iradio_square-green', 7 | }); 8 | 9 | 10 | 11 | })(jQuery); -------------------------------------------------------------------------------- /common-files/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /project/admin/js/select2/select2-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $(".select2_demo_2").select2(); 5 | $(".select2_demo_3").select2({ 6 | placeholder: "Select a state", 7 | allowClear: true 8 | }); 9 | 10 | 11 | 12 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/js/wizard/steps-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | 5 | $("#example-basic").steps({ 6 | headerTag: "h3", 7 | bodyTag: "section", 8 | transitionEffect: "slideLeft", 9 | autoFocus: true 10 | }); 11 | 12 | })(jQuery); -------------------------------------------------------------------------------- /d4 - numberFunctions.php: -------------------------------------------------------------------------------- 1 | 18 && $age < 60) { 4 | echo "Hi, I am a PHP script!
"; 5 | }elseif($age > 12){ 6 | echo "You are a teenager!
"; 7 | }else{ 8 | echo "You are not old enough to view this content!
"; 9 | } 10 | ?> -------------------------------------------------------------------------------- /project/admin/js/counterup/counterup-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | /*---------------------------- 4 | counterUp js active 5 | ------------------------------ */ 6 | $('.counter').counterUp({ 7 | delay: 10, 8 | time: 1000 9 | }); 10 | 11 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/js/data-table/data-table-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | var $table = $('#table'); 5 | $('#toolbar').find('select').change(function () { 6 | $table.bootstrapTable('destroy').bootstrapTable({ 7 | exportDataType: $(this).val() 8 | }); 9 | }); 10 | 11 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/css/notifications/notifications.css: -------------------------------------------------------------------------------- 1 | /*----------------------------------------*/ 2 | /* 1. Notification CSS 3 | /*----------------------------------------*/ 4 | .nt-mg-b-30{ 5 | margin-bottom:30px; 6 | } 7 | .nt-mg-b-40{ 8 | margin-bottom:40px; 9 | } 10 | .notification-list, .button-ad-wrap{ 11 | background:#fff; 12 | padding:15px; 13 | border: 1px solid rgba(0,0,0,.12); 14 | } 15 | .notification-bt .btn{ 16 | border-radius:0px; 17 | margin-right:10px; 18 | } -------------------------------------------------------------------------------- /project/admin/js/summernote/summernote-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | $('#summernote1').summernote({ 4 | height: 200, 5 | }); 6 | $('#summernote2').summernote({ 7 | height: 200, 8 | }); 9 | $('#summernote3').summernote({ 10 | height: 200, 11 | }); 12 | $('#summernote4').summernote({ 13 | height: 200, 14 | }); 15 | $('#summernote5').summernote({ 16 | height: 400, 17 | }); 18 | $('.summernote6').summernote({ 19 | height: 300, 20 | }); 21 | 22 | })(jQuery); -------------------------------------------------------------------------------- /common-files/header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Bootstrap demo 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /session/login.php: -------------------------------------------------------------------------------- 1 | 14 | 15 |
16 | 17 | 18 |
-------------------------------------------------------------------------------- /project/admin/js/code-editor/code-editor-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | var editor_one = CodeMirror.fromTextArea(document.getElementById("code1"), { 5 | lineNumbers: true, 6 | matchBrackets: true, 7 | styleActiveLine: true, 8 | theme:"ambiance" 9 | }); 10 | 11 | var editor_two = CodeMirror.fromTextArea(document.getElementById("code2"), { 12 | lineNumbers: true, 13 | matchBrackets: true, 14 | styleActiveLine: true 15 | }); 16 | 17 | 18 | })(jQuery); -------------------------------------------------------------------------------- /d6 - function.php: -------------------------------------------------------------------------------- 1 | "; 4 | } 5 | 6 | echo showName("Asif", "Abir"); 7 | echo showName("Ananta", "Jalil"); 8 | echo showName("Hero", "Alom"); 9 | echo showName("Mahfuzur", "Rahman"); 10 | echo showName("BCS"); 11 | echo showName(lname:"Viper", fname:"Russel"); 12 | 13 | function addNumbers($num1, $num2): int { 14 | return $num1 + $num2; 15 | } 16 | 17 | echo addNumbers(1,2)."
"; 18 | 19 | function shoeText ($text): string { 20 | return $text; 21 | } 22 | ?> -------------------------------------------------------------------------------- /project/admin/css/morrisjs/morris.css: -------------------------------------------------------------------------------- 1 | .morris-hover { 2 | position:absolute; 3 | z-index:1; 4 | } 5 | 6 | .morris-hover.morris-default-style .morris-hover-row-label { 7 | font-weight:bold; 8 | margin:0.25em 0 9 | } 10 | .morris-hover.morris-default-style .morris-hover-point { 11 | white-space:nowrap; 12 | margin:0.1em 0 13 | } 14 | .morris-hover.morris-default-style { 15 | border-radius: 2px; 16 | padding: 10px 12px; 17 | color: #666; 18 | background:rgba(0, 0, 0, 0.7); 19 | border: none; 20 | color: #fff!important ; 21 | } 22 | .morris-hover-point { 23 | color: rgba(257, 257, 257, 0.8)!important ; 24 | } -------------------------------------------------------------------------------- /project/admin/js/touchspin/touchspin-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $(".touchspin1").TouchSpin({ 5 | buttondown_class: 'btn btn-white', 6 | buttonup_class: 'btn btn-white' 7 | }); 8 | 9 | $(".touchspin2").TouchSpin({ 10 | min: 0, 11 | max: 100, 12 | step: 0.1, 13 | decimals: 2, 14 | boostat: 5, 15 | maxboostedstep: 10, 16 | postfix: '%', 17 | buttondown_class: 'btn btn-white', 18 | buttonup_class: 'btn btn-white' 19 | }); 20 | 21 | $(".touchspin3").TouchSpin({ 22 | verticalbuttons: true, 23 | buttondown_class: 'btn btn-white', 24 | buttonup_class: 'btn btn-white' 25 | }); 26 | 27 | 28 | 29 | 30 | 31 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/ajax/getProductDetails.php: -------------------------------------------------------------------------------- 1 | query("SELECT * FROM products WHERE id = ".$_POST['gpd'])->fetch_assoc(); 5 | echo json_encode($productData); 6 | } 7 | 8 | if(isset($_POST['did'])){ 9 | $preData = $conn->query("SELECT * FROM products WHERE id = ".$_POST['did'])->fetch_assoc(); 10 | if($conn->query("DELETE FROM products WHERE id = ".$_POST['did'])){ 11 | unlink("../../assets/images/products/".$preData['image']); 12 | echo "success"; 13 | }else{ 14 | echo "failed"; 15 | } 16 | } 17 | ?> -------------------------------------------------------------------------------- /project/admin/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |
7 |
8 |
9 | 10 |
11 |
12 |
13 |
14 | 18 |
19 | -------------------------------------------------------------------------------- /project/admin/orders.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |
7 |
8 |
9 | 10 |
11 |
12 |
13 |
14 | 18 |
19 | -------------------------------------------------------------------------------- /project/admin/users.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |
7 |
8 |
9 | 10 |
11 |
12 |
13 |
14 | 18 |
19 | -------------------------------------------------------------------------------- /d2 - comments-Variables-DataTypes.php: -------------------------------------------------------------------------------- 1 | "; 17 | echo $city_095."
"; 18 | 19 | $country = "USA"; 20 | echo $country."
"; 21 | 22 | // string 23 | // integer 24 | // float 25 | // boolean 26 | // array 27 | // object 28 | // NULL 29 | // resource 30 | 31 | $name = ["Abul", "Babul", "Kabul"]; 32 | 33 | class Person { 34 | public $name = "John"; 35 | } 36 | $person = new Person(); 37 | var_dump($person); 38 | 39 | $x = 10; 40 | echo "$x
"; 41 | 42 | 43 | ?> -------------------------------------------------------------------------------- /project/admin/js/plugins.js: -------------------------------------------------------------------------------- 1 | // Avoid `console` errors in browsers that lack a console. 2 | (function() { 3 | var method; 4 | var noop = function () {}; 5 | var methods = [ 6 | 'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', 7 | 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', 8 | 'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', 9 | 'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn' 10 | ]; 11 | var length = methods.length; 12 | var console = (window.console = window.console || {}); 13 | 14 | while (length--) { 15 | method = methods[length]; 16 | 17 | // Only stub undefined methods. 18 | if (!console[method]) { 19 | console[method] = noop; 20 | } 21 | } 22 | }()); 23 | 24 | // Place any jQuery/helper plugins in here. 25 | -------------------------------------------------------------------------------- /d8 - super-globals.php: -------------------------------------------------------------------------------- 1 | "; 8 | } 9 | 10 | myFunc()."
"; 11 | echo $y."
"; 12 | 13 | // $_SERVER 14 | echo $_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."
"; 15 | 16 | /* echo "
";
17 |     print_r($_SERVER);
18 |     echo "
"; */ 19 | ?> 20 | 21 |
22 | 23 | 24 |
25 | 26 | -------------------------------------------------------------------------------- /session/index.php: -------------------------------------------------------------------------------- 1 | 'Asif Abir', 16 | 'dob' => '1987-09-10', 17 | 'gender' => 'Male' 18 | ]; 19 | 20 | echo "
"; 21 | echo json_encode($myInfo); 22 | echo "
"; 23 | echo "
";
24 |     print_r(json_decode('{"name": "Asif Abir", "dob": "1987-09-10", "gender": "Male"}', true));
25 |     echo "
"; 26 | 27 | ?> 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /project/admin/css/touchspin/jquery.bootstrap-touchspin.min.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Bootstrap TouchSpin - v3.0.1 3 | * A mobile and touch friendly input spinner component for Bootstrap 3. 4 | * http://www.virtuosoft.eu/code/bootstrap-touchspin/ 5 | * 6 | * Made by IstvAAn Ujj-MAŠszAAros 7 | * Under Apache License v2.0 License 8 | */ 9 | 10 | .bootstrap-touchspin .input-group-btn-vertical{position:relative;white-space:nowrap;width:1%;vertical-align:middle;display:table-cell}.bootstrap-touchspin .input-group-btn-vertical>.btn{display:block;float:none;width:100%;max-width:100%;padding:8px 10px;margin-left:-1px;position:relative}.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up{border-radius:0;border-top-right-radius:4px}.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down{margin-top:-2px;border-radius:0;border-bottom-right-radius:4px}.bootstrap-touchspin .input-group-btn-vertical i{position:absolute;top:3px;left:5px;font-size:9px;font-weight:400} -------------------------------------------------------------------------------- /project/admin/js/peity/peity-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | 5 | 6 | 7 | $("span.pie").peity("pie", { 8 | fill: ['#03a9f4', '#d7d7d7', '#ffffff'] 9 | }) 10 | 11 | $(".line").peity("line",{ 12 | fill: '#03a9f4', 13 | stroke:'#169c81', 14 | }) 15 | 16 | $(".bar").peity("bar", { 17 | fill: ["#03a9f4", "#d7d7d7"] 18 | }) 19 | 20 | $(".bar_dashboard").peity("bar", { 21 | fill: ["#03a9f4", "#d7d7d7"], 22 | width:100 23 | }) 24 | 25 | var updatingChart = $(".updating-chart").peity("line", { fill: '#03a9f4',stroke:'#169c81', width: 64 }) 26 | 27 | setInterval(function() { 28 | var random = Math.round(Math.random() * 10) 29 | var values = updatingChart.text().split(",") 30 | values.shift() 31 | values.push(random) 32 | 33 | updatingChart 34 | .text(values.join(",")) 35 | .change() 36 | }, 1000); 37 | 38 | 39 | 40 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/js/ionRangeSlider/ion.rangeSlider.active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $("#ionrange_1").ionRangeSlider({ 5 | min: 0, 6 | max: 5000, 7 | type: 'double', 8 | prefix: "$", 9 | maxPostfix: "+", 10 | prettify: false, 11 | hasGrid: true 12 | }); 13 | $("#ionrange_2").ionRangeSlider({ 14 | min: 0, 15 | max: 10, 16 | type: 'single', 17 | step: 0.1, 18 | postfix: " carats", 19 | prettify: false, 20 | hasGrid: true 21 | }); 22 | $("#ionrange_3").ionRangeSlider({ 23 | min: -50, 24 | max: 50, 25 | from: 0, 26 | postfix: "°", 27 | prettify: false, 28 | hasGrid: true 29 | }); 30 | 31 | $("#ionrange_4").ionRangeSlider({ 32 | values: [ 33 | "January", "February", "March", 34 | "April", "May", "June", 35 | "July", "August", "September", 36 | "October", "November", "December" 37 | ], 38 | type: 'single', 39 | hasGrid: true 40 | }); 41 | 42 | 43 | 44 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/js/datapicker/datepicker-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $('#data_1 .input-group.date').datepicker({ 5 | todayBtn: "linked", 6 | keyboardNavigation: false, 7 | forceParse: false, 8 | calendarWeeks: true, 9 | autoclose: true 10 | }); 11 | 12 | $('#data_2 .input-group.date').datepicker({ 13 | startView: 1, 14 | todayBtn: "linked", 15 | keyboardNavigation: false, 16 | forceParse: false, 17 | autoclose: true, 18 | format: "dd/mm/yyyy" 19 | }); 20 | 21 | $('#data_3 .input-group.date').datepicker({ 22 | startView: 2, 23 | todayBtn: "linked", 24 | keyboardNavigation: false, 25 | forceParse: false, 26 | autoclose: true 27 | }); 28 | 29 | $('#data_4 .input-group.date').datepicker({ 30 | minViewMode: 1, 31 | keyboardNavigation: false, 32 | forceParse: false, 33 | forceParse: false, 34 | autoclose: true, 35 | todayHighlight: true 36 | }); 37 | 38 | $('#data_5 .input-daterange').datepicker({ 39 | keyboardNavigation: false, 40 | forceParse: false, 41 | autoclose: true 42 | }); 43 | 44 | 45 | 46 | 47 | 48 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/js/counterup/jquery.counterup.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jquery.counterup.js 1.0 3 | * 4 | * Copyright 2013, Benjamin Intal http://gambit.ph @bfintal 5 | * Released under the GPL v2 License 6 | * 7 | * Date: Nov 26, 2013 8 | */(function(e){"use strict";e.fn.counterUp=function(t){var n=e.extend({time:400,delay:10},t);return this.each(function(){var t=e(this),r=n,i=function(){var e=[],n=r.time/r.delay,i=t.text(),s=/[0-9]+,[0-9]+/.test(i);i=i.replace(/,/g,"");var o=/^[0-9]+$/.test(i),u=/^[0-9]+\.[0-9]+$/.test(i),a=u?(i.split(".")[1]||[]).length:0;for(var f=n;f>=1;f--){var l=parseInt(i/n*f);u&&(l=parseFloat(i/n*f).toFixed(a));if(s)while(/(\d+)(\d{3})/.test(l.toString()))l=l.toString().replace(/(\d+)(\d{3})/,"$1,$2");e.unshift(l)}t.data("counterup-nums",e);t.text("0");var c=function(){t.text(t.data("counterup-nums").shift());if(t.data("counterup-nums").length)setTimeout(t.data("counterup-func"),r.delay);else{delete t.data("counterup-nums");t.data("counterup-nums",null);t.data("counterup-func",null)}};t.data("counterup-func",c);setTimeout(t.data("counterup-func"),r.delay)};t.waypoint(i,{offset:"100%",triggerOnce:!0})})}})(jQuery); -------------------------------------------------------------------------------- /d14 - oop-part-2.php: -------------------------------------------------------------------------------- 1 | "; 16 | } 17 | } 18 | 19 | class myChild extends myInfo implements myOtherInfo { 20 | public function myName() 21 | { 22 | return "My Name is Asif Abir
"; 23 | } 24 | 25 | public function myCompany() 26 | { 27 | return "My Company is ABC
"; 28 | } 29 | 30 | public function myAddress() 31 | { 32 | return "My Address is Dhaka
"; 33 | } 34 | 35 | use myFamilyInfo; 36 | 37 | public function myColor (string $c = "Black", string $d = "green"): string { 38 | return "My favorite color is $c and $d
"; 39 | } 40 | } 41 | 42 | $myObj = new myChild; 43 | echo $myObj->myName(); 44 | echo $myObj->myCompany(); 45 | echo $myObj->myAddress(); 46 | echo $myObj->myFamily(); 47 | echo $myObj->myColor("Blue", "Red"); 48 | ?> -------------------------------------------------------------------------------- /d5 - ternary-operator-loop.php: -------------------------------------------------------------------------------- 1 | 5) { 5 | echo "Greater than 5
"; 6 | } else { 7 | echo "Less than 5
"; 8 | } 9 | 10 | 11 | echo ($x > 5) ? "Greater than 5
" : "Less than 5
"; 12 | ?> 13 | 14 | 50){ ?> 15 |

This is heading 2

16 |

17 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Porro alias illum quia autem, explicabo, perferendis, non expedita ipsum laborum natus sed. Magni voluptas eligendi ducimus iusto consequatur, quo assumenda amet. 18 |

19 | 20 | 21 | 22 | "; 26 | $y++; 27 | } 28 | 29 | echo $y."
"; 30 | 31 | // limit 1 - 5000 32 | // divided by 13 33 | // remainder is 6 34 | // print the numbers 35 | 36 | 37 | 38 | $a = 1; 39 | while($a <= 5000){ 40 | if($a > 13 && $a % 13 == 6){ 41 | echo $a.", "; 42 | } 43 | $a++; 44 | } 45 | 46 | echo "
"; 47 | 48 | for ($i = 0; $i < 10; $i++) { 49 | echo $i."
"; 50 | } 51 | 52 | $z = 20; 53 | do{ 54 | echo $z."
"; 55 | $z++; 56 | }while($z < 10) 57 | ?> -------------------------------------------------------------------------------- /project/admin/js/rangle-slider/jquery-ui-touch-punch.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Touch Punch 0.2.3 3 | * 4 | * Copyright 2011–2014, Dave Furfero 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * 7 | * Depends: 8 | * jquery.ui.widget.js 9 | * jquery.ui.mouse.js 10 | */ 11 | !function(a){function f(a,b){if(!(a.originalEvent.touches.length>1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery); -------------------------------------------------------------------------------- /d7 - array.php: -------------------------------------------------------------------------------- 1 | "; 6 | // echo $cityArr."
"; 7 | echo "
";
 8 |     print_r($cityArr);
 9 |     echo "
"; 10 | 11 | for ($i = 0; $i < count($cityArr); $i++) { 12 | echo $cityArr[$i]."
"; 13 | } 14 | 15 | foreach ($cityArr as $city) { 16 | echo $city."
"; 17 | } 18 | 19 | // associative array 20 | $studentInfo = ["name" => "Asif Abir", "age" => 24, "city" => "Dhaka"]; 21 | echo $studentInfo["age"]."
"; 22 | echo "
";
23 |     print_r($studentInfo);
24 |     echo "
"; 25 | 26 | foreach ($studentInfo as $x => $student) { 27 | echo ucfirst($x)." : ".$student."
"; 28 | } 29 | 30 | // multi-dimensional array 31 | $multiArr = [ 32 | ["Asif", "Abir", "Dhaka"], 33 | ["Ananta", "Jalil", "Chittagong"], 34 | ["Hero", "Alom", "Khulna"], 35 | ["Mahfuzur", "Rahman", "Rajshahi"] 36 | ]; 37 | 38 | echo $multiArr[0][2]."
"; 39 | echo "
";
40 |     print_r($multiArr);
41 |     echo "
"; 42 | 43 | foreach ($multiArr as $arr) { 44 | foreach ($arr as $data) { 45 | echo $data." "; 46 | } 47 | echo "
"; 48 | } 49 | ?> -------------------------------------------------------------------------------- /project/admin/css/tabs.css: -------------------------------------------------------------------------------- 1 | /*----------------------------------------*/ 2 | /* 1. tab CSS 3 | /*----------------------------------------*/ 4 | .custon-tab-style1{ 5 | background:#fff; 6 | padding:20px; 7 | } 8 | .custon-tab-style1 p{ 9 | font-size:14px; 10 | color:#303030; 11 | line-height:24px; 12 | } 13 | .custon-tab-menu-style1 .tab-custon-ic{ 14 | margin-right:10px; 15 | } 16 | .tab-menu-right li{ 17 | float:right 18 | } 19 | .custom-menu-wrap.custon-tab-menu-style1 li a{ 20 | margin-right:0px; 21 | } 22 | .nav-tabs.custom-menu-wrap.custon-tab-menu-style1 li a, .nav-tabs.custom-menu-wrap.custon-tab-menu-style1 li.active a{ 23 | font-size:14px; 24 | } 25 | .tab-content-details{ 26 | text-align:center; 27 | background:#fff; 28 | padding:20px 100px; 29 | border: 1px solid rgba(0,0,0,.12); 30 | } 31 | .tab-content-details h2{ 32 | font-size:20px; 33 | color:#303030; 34 | } 35 | .tab-content-details p{ 36 | font-size:14px; 37 | color:#303030; 38 | line-height:24px; 39 | } 40 | .nav-tabs.custom-menu-wrap li a:hover{ 41 | background:#303030; 42 | color:#fff; 43 | } 44 | .nav-tabs.custom-menu-wrap li a{ 45 | color:#444; 46 | } 47 | .nav-tabs.custom-menu-wrap li.active a{ 48 | color:#303030; 49 | } 50 | .nav-tabs.custom-menu-wrap li.active a:hover{ 51 | color:#fff; 52 | } 53 | .nav-tabs.custom-menu-wrap li a, .nav-tabs.custom-menu-wrap li.active a{ 54 | border:1px solid transparent; 55 | padding:15px 25px; 56 | font-size:15px; 57 | } 58 | .tab-custon-menu-bg-style ul.main-menu-dropdown li a:hover{ 59 | color:#fff; 60 | } -------------------------------------------------------------------------------- /project/admin/js/colorpicker/color-picker-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | // HEX 5 | $("#hex").spectrum({ 6 | color: "#f00", 7 | preferredFormat: "hex", 8 | showInput: true 9 | }); 10 | // HSL 11 | $("#hsl").spectrum({ 12 | color: "#c34040", 13 | preferredFormat: "hsl", 14 | showInput: true 15 | }); 16 | // RGB 17 | $("#rgb").spectrum({ 18 | color: "#dbc75e", 19 | preferredFormat: "rgb", 20 | showInput: true 21 | }); 22 | // Alpha RGB 23 | $("#a-rgb").spectrum({ 24 | showAlpha: true, 25 | color: "#3dbb8f", 26 | preferredFormat: "rgb", 27 | showInput: true 28 | }); 29 | // Alpha HSL 30 | $("#a-hsl").spectrum({ 31 | showAlpha: true, 32 | color: "#8bc177", 33 | preferredFormat: "hsl", 34 | showInput: true 35 | }); 36 | // Palette 37 | $("#palette1").spectrum({ 38 | color: "#9257b4", 39 | preferredFormat: "hex", 40 | showInput: true, 41 | showPalette: true, 42 | palette: [ 43 | ['#000', '#fff', '#ffebcd'], 44 | ['#ff8000', '#448026', '#ffffe0'] 45 | ] 46 | }); 47 | // Palette only 48 | $("#palette2").spectrum({ 49 | showPaletteOnly: true, 50 | showPalette:true, 51 | color: '#780707', 52 | palette: [ 53 | ['#000', '#fff', '#ffebcd','#ff8000', '#448026'], 54 | ['#ff0000', '#fff700', '#75b274', '#1d31c3', '#9257b4'] 55 | ] 56 | }); 57 | // Method "show" 58 | $("#hex, #hsl, #rgb, #a-hsl, #a-rgb, #palette1, #palette2").show(); 59 | 60 | 61 | 62 | 63 | 64 | 65 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/js/scrollbar/mCustomScrollbar-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | /*-------------------------- 5 | mCustomScrollbar 6 | ---------------------------- */ 7 | $(window).on("load",function(){ 8 | $(".message-menu, .notification-menu, .comment-scrollbar, .notes-menu-scrollbar, .project-st-menu-scrollbar, .report-graph-scroll, .report-graph-scroll2").mCustomScrollbar({ 9 | axis:"x", 10 | axis:"y", 11 | autoHideScrollbar: true, 12 | scrollbarPosition: "outside", 13 | theme:"light-1" 14 | 15 | }); 16 | $(".timeline-scrollbar").mCustomScrollbar({ 17 | setHeight:636, 18 | autoHideScrollbar: true, 19 | scrollbarPosition: "outside", 20 | theme:"light-1" 21 | 22 | }); 23 | $(".project-list-scrollbar").mCustomScrollbar({ 24 | setHeight:636, 25 | theme:"light-2" 26 | }); 27 | $(".messages-scrollbar").mCustomScrollbar({ 28 | setHeight:503, 29 | autoHideScrollbar: true, 30 | scrollbarPosition: "outside", 31 | theme:"light-1" 32 | }); 33 | $(".chat-scrollbar").mCustomScrollbar({ 34 | setHeight:250, 35 | theme:"light-2" 36 | }); 37 | $(".widgets-chat-scrollbar").mCustomScrollbar({ 38 | setHeight:335, 39 | autoHideScrollbar: true, 40 | scrollbarPosition: "outside", 41 | theme:"light-1" 42 | }); 43 | $(".widgets-todo-scrollbar").mCustomScrollbar({ 44 | setHeight:322, 45 | autoHideScrollbar: true, 46 | scrollbarPosition: "outside", 47 | theme:"light-1" 48 | }); 49 | $(".user-profile-scrollbar").mCustomScrollbar({ 50 | setHeight:1820, 51 | autoHideScrollbar: true, 52 | scrollbarPosition: "outside", 53 | theme:"light-1" 54 | }); 55 | }); 56 | 57 | 58 | 59 | 60 | })(jQuery); -------------------------------------------------------------------------------- /project/delete-profile.php: -------------------------------------------------------------------------------- 1 | real_escape_string(safeData($_POST['password'])); 9 | $sql = "SELECT * FROM users WHERE id=" . $_SESSION['user']['id']; 10 | $result = $conn->query($sql); 11 | $row = $result->fetch_assoc(); 12 | if (password_verify($password, $row['password'])) { 13 | $sql = "DELETE FROM users WHERE id=" . $_SESSION['user']['id']; 14 | if ($conn->query($sql)) { 15 | unset($_SESSION['user']); 16 | echo ""; 17 | } else { 18 | echo ""; 19 | } 20 | } else { 21 | echo ""; 22 | } 23 | } 24 | ?> 25 | 26 |
27 |
28 |
29 |

Delete Profile

30 |
31 |
32 | 33 | 34 |
35 | 36 |
37 |
38 |
39 | 40 | 43 | -------------------------------------------------------------------------------- /project/admin/css/duallistbox/bootstrap-duallistbox.min.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Bootstrap Duallistbox - v3.0.5 3 | * A responsive dual listbox widget optimized for Twitter Bootstrap. It works on all modern browsers and on touch devices. 4 | * http://www.virtuosoft.eu/code/bootstrap-duallistbox/ 5 | * 6 | * Made by István Ujj-Mészáros 7 | * Under Apache License v2.0 License 8 | */ 9 | 10 | .bootstrap-duallistbox-container .buttons{width:100%;margin-bottom:-1px}.bootstrap-duallistbox-container label{display:block}.bootstrap-duallistbox-container .info{display:inline-block;margin-bottom:5px;font-size:11px}.bootstrap-duallistbox-container .clear1,.bootstrap-duallistbox-container .clear2{display:none;font-size:10px}.bootstrap-duallistbox-container .box1.filtered .clear1,.bootstrap-duallistbox-container .box2.filtered .clear2{display:inline-block}.bootstrap-duallistbox-container .move,.bootstrap-duallistbox-container .remove{width:60%}.bootstrap-duallistbox-container .btn-group .btn{border-bottom-left-radius:0;border-bottom-right-radius:0}.bootstrap-duallistbox-container select{border-top-left-radius:0;border-top-right-radius:0}.bootstrap-duallistbox-container .moveall,.bootstrap-duallistbox-container .removeall{width:40%}.bootstrap-duallistbox-container.bs2compatible .btn-group>.btn+.btn{margin-left:0}.bootstrap-duallistbox-container select{width:100%;height:300px;padding:0}.bootstrap-duallistbox-container .filter{display:inline-block;width:100%;height:31px;margin:0 0 5px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-duallistbox-container .filter.placeholder{color:#aaa}.bootstrap-duallistbox-container.moveonselect .move,.bootstrap-duallistbox-container.moveonselect .remove{display:none}.bootstrap-duallistbox-container.moveonselect .moveall,.bootstrap-duallistbox-container.moveonselect .removeall{width:100%} -------------------------------------------------------------------------------- /d13 - oop-part-1.php: -------------------------------------------------------------------------------- 1 | name.", my daughter's name is ".$this->myDaughter." and my son's name is ".$this->mySon."
"; 11 | } 12 | 13 | public function __construct($msg) 14 | { 15 | echo $msg; 16 | } 17 | 18 | public function __destruct() 19 | { 20 | echo "This is a destructor
"; 21 | } 22 | } 23 | 24 | $myObj = new myInfo("constructor function
"); 25 | 26 | echo $myObj->name; 27 | echo "
"; 28 | echo $myObj->myName(); 29 | // echo $myObj->myDaughter; 30 | // echo $myObj->mySon; 31 | // $myOtherObj = new myInfo; 32 | 33 | class myChild extends myInfo { 34 | public function myChildFatherName () 35 | { 36 | return "Father : ".$this->name." and Daughter : ".$this->myDaughter."
"; 37 | } 38 | 39 | public function __construct() 40 | { 41 | return ; 42 | } 43 | 44 | public function __destruct() 45 | { 46 | return ; 47 | } 48 | } 49 | 50 | $myChildObj = new myChild; 51 | echo $myChildObj->myChildFatherName(); 52 | echo "
"; 53 | 54 | class myStudents { 55 | 56 | public static $student1 = "Dipto"; 57 | public const student2 = "Rakib"; 58 | private function __construct() 59 | { 60 | return ; 61 | } 62 | } 63 | 64 | myStudents::$student1 = "Dipto Dhar"; 65 | echo myStudents::$student1; 66 | echo "
"; 67 | echo myStudents::student2; 68 | 69 | 70 | ?> -------------------------------------------------------------------------------- /project/admin/js/e-payment.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | var card = new Card({ 5 | form: '.active form', 6 | container: '.card-wrapper' 7 | }); 8 | var owner = $('#owner'); 9 | var cardNumber = $('#cardNumber'); 10 | var cardNumberField = $('#card-number-field'); 11 | var CVV = $("#cvv"); 12 | var mastercard = $("#mastercard"); 13 | var confirmButton = $('#confirm-purchase'); 14 | var visa = $("#visa"); 15 | var amex = $("#amex"); 16 | cardNumber.payform('formatCardNumber'); 17 | CVV.payform('formatCardCVC'); 18 | cardNumber.keyup(function() { 19 | amex.removeClass('transparent'); 20 | visa.removeClass('transparent'); 21 | mastercard.removeClass('transparent'); 22 | if ($.payform.validateCardNumber(cardNumber.val()) == false) { 23 | cardNumberField.addClass('has-error'); 24 | } else { 25 | cardNumberField.removeClass('has-error'); 26 | cardNumberField.addClass('has-success'); 27 | } 28 | if ($.payform.parseCardType(cardNumber.val()) == 'visa') { 29 | mastercard.addClass('transparent'); 30 | amex.addClass('transparent'); 31 | } else if ($.payform.parseCardType(cardNumber.val()) == 'amex') { 32 | mastercard.addClass('transparent'); 33 | visa.addClass('transparent'); 34 | } else if ($.payform.parseCardType(cardNumber.val()) == 'mastercard') { 35 | amex.addClass('transparent'); 36 | visa.addClass('transparent'); 37 | } 38 | }); 39 | confirmButton.on('click', function(e) { 40 | e.preventDefault(); 41 | var isCardValid = $.payform.validateCardNumber(cardNumber.val()); 42 | var isCvvValid = $.payform.validateCardCVC(CVV.val()); 43 | }); 44 | 45 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/css/accordions.css: -------------------------------------------------------------------------------- 1 | /*----------------------------------------*/ 2 | /* 1. accordion CSS 3 | /*----------------------------------------*/ 4 | 5 | .adminpro-custon-design .panel{ 6 | background:none; 7 | box-shadow:none; 8 | } 9 | .adminpro-custon-design .panel-default{ 10 | border:none; 11 | } 12 | .adminpro-custon-design .panel-collapse .panel-body{ 13 | border-top:none ; 14 | } 15 | .adminpro-custon-design .panel-heading{ 16 | border-top-left-radius:0px; 17 | border-top-right-radius:0px; 18 | background:#e12503; 19 | color:#fff; 20 | font-size:20px; 21 | padding: 15px 20px; 22 | } 23 | .adminpro-custon-design .admin-panel-content{ 24 | background:#f5f5f5; 25 | } 26 | .adminpro-custon-design .admin-panel-content p{ 27 | font-size:14px; 28 | color:#444; 29 | line-height:24px; 30 | } 31 | .panel-group.adminpro-custon-design .accordion-head a:hover, .panel-group.adminpro-custon-design .accordion-head a:focus, .panel-group.adminpro-custon-design .accordion-head a:active{ 32 | color:#03a9f4; 33 | } 34 | .panel-group.adminpro-custon-design{ 35 | margin-bottom:30px; 36 | } 37 | .panel-group.adminpro-custon-design.adminpro-ad-mg-bt{ 38 | margin-bottom:40px; 39 | } 40 | .admin-pro-accordion-wrap, .tab-content-details{ 41 | background: #fff; 42 | padding: 15px; 43 | border: 1px solid rgba(0,0,0,.12); 44 | } 45 | .tab-content-details { 46 | text-align: center; 47 | background: #fff; 48 | padding: 20px 100px; 49 | } 50 | .tab-content-details p { 51 | font-size: 14px; 52 | color: #303030; 53 | line-height: 24px; 54 | } 55 | .admin-pro-accordion-wrap .panel-group.adminpro-custon-design { 56 | margin-bottom:0px; 57 | } 58 | .panel-group .panel-heading+.panel-collapse>.list-group, .panel-group .panel-heading+.panel-collapse>.panel-body { 59 | border-top: 0px solid #ddd; 60 | } 61 | .admin-accordion-mg-bt-40{ 62 | margin-bottom:40px; 63 | } -------------------------------------------------------------------------------- /project/admin/js/morrisjs/morris-active-pro.js: -------------------------------------------------------------------------------- 1 | // Dashboard 1 Morris-chart 2 | 3 | 4 | Morris.Area({ 5 | element: 'extra-area-chart', 6 | data: [{ 7 | period: '2012', 8 | Bags: 0, 9 | Shoes: 0, 10 | Jewelery: 0 11 | }, { 12 | period: '2013', 13 | Bags: 50, 14 | Shoes: 15, 15 | Jewelery: 5 16 | }, { 17 | period: '2014', 18 | Bags: 20, 19 | Shoes: 50, 20 | Jewelery: 65 21 | }, { 22 | period: '2015', 23 | Bags: 60, 24 | Shoes: 12, 25 | Jewelery: 7 26 | }, { 27 | period: '2016', 28 | Bags: 30, 29 | Shoes: 20, 30 | Jewelery: 120 31 | }, { 32 | period: '2017', 33 | Bags: 25, 34 | Shoes: 80, 35 | Jewelery: 40 36 | }, { 37 | period: '2018', 38 | Bags: 10, 39 | Shoes: 10, 40 | Jewelery: 10 41 | } 42 | 43 | 44 | ], 45 | lineColors: ['#f75b36', '#00b5c2', '#8698b7'], 46 | xkey: 'period', 47 | ykeys: ['Bags', 'Shoes', 'Jewelery'], 48 | labels: ['Bags', 'Shoes', 'Jewelery'], 49 | pointSize: 0, 50 | lineWidth: 0, 51 | resize:true, 52 | fillOpacity: 0.8, 53 | behaveLikeLine: true, 54 | gridLineColor: '#e0e0e0', 55 | hideHover: 'auto' 56 | 57 | }); 58 | -------------------------------------------------------------------------------- /common-files/navbar.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/admin/css/calendar/fullcalendar.print.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * FullCalendar v3.8.0 3 | * Docs & License: https://fullcalendar.io/ 4 | * (c) 2017 Adam Shaw 5 | *//*! 6 | * FullCalendar v3.8.0 Print Stylesheet 7 | * Docs & License: https://fullcalendar.io/ 8 | * (c) 2017 Adam Shaw 9 | */.fc-bg,.fc-bgevent-container,.fc-bgevent-skeleton,.fc-business-container,.fc-event .fc-resizer,.fc-helper-container,.fc-helper-skeleton,.fc-highlight-container,.fc-highlight-skeleton{display:none}.fc tbody .fc-row,.fc-time-grid{min-height:0!important}.fc-time-grid .fc-event.fc-not-end:after,.fc-time-grid .fc-event.fc-not-start:before{content:"..."}.fc{max-width:100%!important}.fc-event{color:#000!important;page-break-inside:avoid}.fc hr,.fc tbody,.fc td,.fc th,.fc thead,.fc-row{border-color:#fff!important;background:#fff!important}.fc tbody .fc-row{height:auto!important}.fc tbody .fc-row .fc-content-skeleton{position:static;padding-bottom:0!important}.fc tbody .fc-row .fc-content-skeleton tbody tr:last-child td{padding-bottom:1em}.fc tbody .fc-row .fc-content-skeleton table{height:1em}.fc-more,.fc-more-cell{display:none!important}.fc tr.fc-limited{display:table-row!important}.fc td.fc-limited{display:table-cell!important}.fc-agenda-view .fc-axis,.fc-popover{display:none}.fc-slats,.fc-time-grid hr{display:none!important}.fc button,.fc-button-group,.fc-time-grid .fc-event .fc-time span{display:none}.fc-time-grid .fc-content-skeleton{position:static}.fc-time-grid .fc-content-skeleton table{height:4em}.fc-time-grid .fc-event-container{margin:0!important}.fc-time-grid .fc-event{position:static!important;margin:3px 2px!important}.fc-time-grid .fc-event.fc-not-end{border-bottom-width:1px!important}.fc-time-grid .fc-event.fc-not-start{border-top-width:1px!important}.fc-time-grid .fc-event .fc-time{white-space:normal!important}.fc-time-grid .fc-event .fc-time:after{content:attr(data-full)}.fc-day-grid-container,.fc-scroller,.fc-time-grid-container{overflow:visible!important;height:auto!important}.fc-row{border:0!important;margin:0!important} -------------------------------------------------------------------------------- /project/admin/css/c3/c3.min.css: -------------------------------------------------------------------------------- 1 | .c3 svg{font:10px sans-serif;-webkit-tap-highlight-color:transparent}.c3 line,.c3 path{fill:none;stroke:#000}.c3 text{-webkit-user-select:none;-moz-user-select:none;user-select:none}.c3-bars path,.c3-event-rect,.c3-legend-item-tile,.c3-xgrid-focus,.c3-ygrid{shape-rendering:crispEdges}.c3-chart-arc path{stroke:#fff}.c3-chart-arc text{fill:#fff;font-size:13px}.c3-grid line{stroke:#aaa}.c3-grid text{fill:#aaa}.c3-xgrid,.c3-ygrid{stroke-dasharray:3 3}.c3-text.c3-empty{fill:gray;font-size:2em}.c3-line{stroke-width:1px}.c3-circle._expanded_{stroke-width:1px;stroke:#fff}.c3-selected-circle{fill:#fff;stroke-width:2px}.c3-bar{stroke-width:0}.c3-bar._expanded_{fill-opacity:.75}.c3-target.c3-focused{opacity:1}.c3-target.c3-focused path.c3-line,.c3-target.c3-focused path.c3-step{stroke-width:2px}.c3-target.c3-defocused{opacity:.3!important}.c3-region{fill:#4682b4;fill-opacity:.1}.c3-brush .extent{fill-opacity:.1}.c3-legend-item{font-size:12px}.c3-legend-item-hidden{opacity:.15}.c3-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.c3-title{font:14px sans-serif}.c3-tooltip-container{z-index:10}.c3-tooltip{border-collapse:collapse;border-spacing:0;background-color:#fff;empty-cells:show;-webkit-box-shadow:7px 7px 12px -9px #777;-moz-box-shadow:7px 7px 12px -9px #777;box-shadow:7px 7px 12px -9px #777;opacity:.9}.c3-tooltip tr{border:1px solid #CCC}.c3-tooltip th{background-color:#aaa;font-size:14px;padding:2px 5px;text-align:left;color:#FFF}.c3-tooltip td{font-size:13px;padding:3px 6px;background-color:#fff;border-left:1px dotted #999}.c3-tooltip td>span{display:inline-block;width:10px;height:10px;margin-right:6px}.c3-tooltip td.value{text-align:right}.c3-area{stroke-width:0;opacity:.2}.c3-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}.c3-chart-arcs .c3-chart-arcs-background{fill:#e0e0e0;stroke:none}.c3-chart-arcs .c3-chart-arcs-gauge-unit{fill:#000;font-size:16px}.c3-chart-arcs .c3-chart-arcs-gauge-max,.c3-chart-arcs .c3-chart-arcs-gauge-min{fill:#777}.c3-chart-arc .c3-gauge-value{fill:#000} -------------------------------------------------------------------------------- /project/header.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | Bootstrap demo 18 | 19 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /project/admin/js/jquery.scrollUp.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * scrollup v2.4.1 3 | * Url: http://markgoodyear.com/labs/scrollup/ 4 | * Copyright (c) Mark Goodyear — @markgdyr — http://markgoodyear.com 5 | * License: MIT 6 | */ 7 | !function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("
",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document); -------------------------------------------------------------------------------- /project/forgot-password.php: -------------------------------------------------------------------------------- 1 | real_escape_string(safeData($_POST['email'])); 6 | $sql = "SELECT * FROM users WHERE email='$email'"; 7 | $result = $conn->query($sql); 8 | if($result->num_rows > 0) { 9 | $user = $result->fetch_assoc(); 10 | $token = md5($user['email'] . time()); 11 | $sql = "UPDATE users SET token='$token' WHERE id=" . $user['id']; 12 | if($conn->query($sql)) { 13 | $to = $user['email']; 14 | $subject = "Reset Password"; 15 | $message = "Click the link below to reset your password
"; 16 | $message .= "
Reset Password"; 17 | $headers = "From:asif@dti.ac"; 18 | mail($to, $subject, $message, $headers); 19 | echo ""; 20 | }else{ 21 | echo ""; 22 | } 23 | }else{ 24 | echo ""; 25 | } 26 | } 27 | ?> 28 |
29 |
30 |
31 |

Forgot Password

32 |
33 |
34 | 35 | 36 |
37 | 38 |
39 |
40 |
41 |
42 | 45 | -------------------------------------------------------------------------------- /project/admin/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 8 | 9 | 11 | 12 | 14 | 15 | 17 | 18 | 20 | 21 | 22 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 37 | 38 | 39 | 40 | 41 | 43 | 44 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /project/admin/css/metisMenu/metisMenu-vertical.css: -------------------------------------------------------------------------------- 1 | .sidebar-nav { 2 | background: #fff; 3 | } 4 | .sidebar-nav ul { 5 | padding: 0; 6 | margin: 0; 7 | list-style: none; 8 | background: #1b2a47; 9 | } 10 | 11 | .sidebar-nav .metismenu { 12 | background: #1b2a47; 13 | display: -webkit-box; 14 | display: -ms-flexbox; 15 | display: flex; 16 | -webkit-box-orient: vertical; 17 | -webkit-box-direction: normal; 18 | -ms-flex-direction: column; 19 | flex-direction: column; 20 | } 21 | 22 | .sidebar-nav .metismenu li + li { 23 | margin-top: 5px; 24 | } 25 | 26 | .sidebar-nav .metismenu li:first-child { 27 | margin-top: 5px; 28 | } 29 | .sidebar-nav .metismenu li:last-child { 30 | margin-bottom: 5px; 31 | } 32 | 33 | 34 | .sidebar-nav .metismenu > li { 35 | /* -webkit-box-flex: 1; 36 | -ms-flex: 1 1 0%; 37 | flex: 1 1 0%;*/ 38 | display: -webkit-box; 39 | display: -ms-flexbox; 40 | display: flex; 41 | -webkit-box-orient: vertical; 42 | -webkit-box-direction: normal; 43 | -ms-flex-direction: column; 44 | flex-direction: column; 45 | position: relative; 46 | } 47 | .sidebar-nav .metismenu a { 48 | position: relative; 49 | display: block; 50 | padding: 13px 15px; 51 | color: #fff; 52 | outline-width: 0; 53 | transition: all .3s ease-out; 54 | font-size:16px; 55 | } 56 | 57 | .sidebar-nav .metismenu ul a { 58 | padding: 10px 15px 10px 46px; 59 | } 60 | 61 | .sidebar-nav .metismenu ul ul a { 62 | padding: 10px 15px 10px 45px; 63 | } 64 | 65 | .sidebar-nav .metismenu a:hover, 66 | .sidebar-nav .metismenu a:focus, 67 | .sidebar-nav .metismenu a:active { 68 | color: #f8f9fa; 69 | text-decoration: none; 70 | background: #152036; 71 | } 72 | .sidebar-nav .metismenu li .icon-wrap{ 73 | margin-right:10px; 74 | font-size:20px; 75 | } 76 | .sidebar-nav .metismenu li .sub-icon-mg{ 77 | margin-right:5px; 78 | font-size:16px; 79 | } 80 | #sidebar.active .metismenu li .mini-click-non{ 81 | display:none; 82 | } 83 | #sidebar.active .metismenu li .has-arrow:after{ 84 | display:none; 85 | } 86 | #sidebar.active .metismenu li .submenu-angle li a { 87 | padding: 10px 10px 10px 10px; 88 | } 89 | -------------------------------------------------------------------------------- /project/admin/js/password-meter/password-meter-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | // Example 1 5 | var options1 = {}; 6 | options1.ui = { 7 | container: "#pwd-container1", 8 | showVerdictsInsideProgressBar: true, 9 | viewports: { 10 | progress: ".pwstrength_viewport_progress" 11 | } 12 | }; 13 | options1.common = { 14 | debug: false, 15 | }; 16 | $('.example1').pwstrength(options1); 17 | 18 | // Example 2 19 | var options2 = {}; 20 | options2.ui = { 21 | container: "#pwd-container2", 22 | showStatus: true, 23 | showProgressBar: false, 24 | viewports: { 25 | verdict: ".pwstrength_viewport_verdict" 26 | } 27 | }; 28 | $('.example2').pwstrength(options2); 29 | 30 | // Example 3 31 | var options3 = {}; 32 | options3.ui = { 33 | container: "#pwd-container3", 34 | showVerdictsInsideProgressBar: true, 35 | viewports: { 36 | progress: ".pwstrength_viewport_progress2" 37 | } 38 | }; 39 | options3.common = { 40 | debug: true, 41 | usernameField: "#username" 42 | }; 43 | $('.example3').pwstrength(options3); 44 | 45 | // Example 4 46 | var options4 = {}; 47 | options4.ui = { 48 | container: "#pwd-container4", 49 | viewports: { 50 | progress: ".pwstrength_viewport_progress4", 51 | verdict: ".pwstrength_viewport_verdict4" 52 | } 53 | }; 54 | options4.common = { 55 | zxcvbn: true, 56 | zxcvbnTerms: ['samurai', 'shogun', 'bushido', 'daisho', 'seppuku'], 57 | userInputs: ['#year', '#familyname'] 58 | }; 59 | $('.example4').pwstrength(options4); 60 | 61 | 62 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/css/ionRangeSlider/ion.rangeSlider.skinFlat.css: -------------------------------------------------------------------------------- 1 | /* Ion.RangeSlider, Flat UI Skin 2 | // css version 1.8.5 3 | // by Denis Ineshin | ionden.com 4 | // ===================================================================================================================*/ 5 | 6 | /* ===================================================================================================================== 7 | // Skin details */ 8 | 9 | .irs-line-mid, 10 | .irs-line-left, 11 | .irs-line-right, 12 | .irs-diapason, 13 | .irs-slider { 14 | background: url(sprite-skin-flat.png) repeat-x; 15 | } 16 | 17 | .irs { 18 | height: 40px; 19 | } 20 | .irs-with-grid { 21 | height: 60px; 22 | } 23 | .irs-line { 24 | height: 12px; top: 25px; 25 | } 26 | .irs-line-left { 27 | height: 12px; 28 | background-position: 0 -30px; 29 | } 30 | .irs-line-mid { 31 | height: 12px; 32 | background-position: 0 0; 33 | } 34 | .irs-line-right { 35 | height: 12px; 36 | background-position: 100% -30px; 37 | } 38 | 39 | .irs-diapason { 40 | height: 12px; top: 25px; 41 | background-position: 0 -60px; 42 | } 43 | 44 | .irs-slider { 45 | width: 16px; height: 18px; 46 | top: 22px; 47 | background-position: 0 -90px; 48 | } 49 | #irs-active-slider, .irs-slider:hover { 50 | background-position: 0 -120px; 51 | } 52 | 53 | .irs-min, .irs-max { 54 | color: #999; 55 | font-size: 10px; line-height: 1.333; 56 | text-shadow: none; 57 | top: 0; padding: 1px 3px; 58 | background: #e1e4e9; 59 | border-radius: 4px; 60 | } 61 | 62 | .irs-from, .irs-to, .irs-single { 63 | color: #fff; 64 | font-size: 10px; line-height: 1.333; 65 | text-shadow: none; 66 | padding: 1px 5px; 67 | background: #ed5565; 68 | border-radius: 4px; 69 | } 70 | .irs-from:after, .irs-to:after, .irs-single:after { 71 | position: absolute; display: block; content: ""; 72 | bottom: -6px; left: 50%; 73 | width: 0; height: 0; 74 | margin-left: -3px; 75 | overflow: hidden; 76 | border: 3px solid transparent; 77 | border-top-color: #ed5565; 78 | } 79 | 80 | 81 | .irs-grid-pol { 82 | background: #e1e4e9; 83 | } 84 | .irs-grid-text { 85 | color: #999; 86 | } 87 | 88 | .irs-disabled { 89 | } -------------------------------------------------------------------------------- /project/admin/js/cropper/cropper-actice.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | 5 | var $image = $(".image-crop > img") 6 | $($image).cropper({ 7 | aspectRatio: 1.618, 8 | preview: ".img-preview", 9 | done: function(data) { 10 | // Output the result data for cropping image. 11 | } 12 | }); 13 | 14 | var $inputImage = $("#inputImage"); 15 | if (window.FileReader) { 16 | $inputImage.change(function() { 17 | var fileReader = new FileReader(), 18 | files = this.files, 19 | file; 20 | 21 | if (!files.length) { 22 | return; 23 | } 24 | 25 | file = files[0]; 26 | 27 | if (/^image\/\w+$/.test(file.type)) { 28 | fileReader.readAsDataURL(file); 29 | fileReader.onload = function () { 30 | $inputImage.val(""); 31 | $image.cropper("reset", true).cropper("replace", this.result); 32 | }; 33 | } else { 34 | showMessage("Please choose an image file."); 35 | } 36 | }); 37 | } else { 38 | $inputImage.addClass("hide"); 39 | } 40 | 41 | $("#download").on('click', function() { 42 | window.open($image.cropper("getDataURL")); 43 | }); 44 | 45 | $("#zoomIn").on('click', function() { 46 | $image.cropper("zoom", 0.1); 47 | }); 48 | 49 | $("#zoomOut").on('click', function() { 50 | $image.cropper("zoom", -0.1); 51 | }); 52 | 53 | $("#rotateLeft").on('click', function() { 54 | $image.cropper("rotate", 45); 55 | }); 56 | 57 | $("#rotateRight").on('click', function() { 58 | $image.cropper("rotate", -45); 59 | }); 60 | 61 | $("#setDrag").on('click', function() { 62 | $image.cropper("setDragMode", "crop"); 63 | }); 64 | 65 | 66 | 67 | 68 | })(jQuery); -------------------------------------------------------------------------------- /common-files/slider.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/admin/js/data-table/bootstrap-table-resizable.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @author: Dennis Hern?ndez 3 | * @webSite: http://djhvscf.github.io/Blog 4 | * @version: v1.0.0 5 | */ 6 | 7 | (function ($) { 8 | 'use strict'; 9 | 10 | var initResizable = function (that) { 11 | //Deletes the plugin to re-create it 12 | that.$el.colResizable({disable: true}); 13 | 14 | //Creates the plugin 15 | that.$el.colResizable({ 16 | liveDrag: that.options.liveDrag, 17 | fixed: that.options.fixed, 18 | headerOnly: that.options.headerOnly, 19 | minWidth: that.options.minWidth, 20 | hoverCursor: that.options.hoverCursor, 21 | dragCursor: that.options.dragCursor, 22 | onResize: that.onResize, 23 | onDrag: that.options.onResizableDrag 24 | }); 25 | }; 26 | 27 | $.extend($.fn.bootstrapTable.defaults, { 28 | resizable: false, 29 | liveDrag: false, 30 | fixed: true, 31 | headerOnly: false, 32 | minWidth: 15, 33 | hoverCursor: 'e-resize', 34 | dragCursor: 'e-resize', 35 | onResizableResize: function (e) { 36 | return false; 37 | }, 38 | onResizableDrag: function (e) { 39 | return false; 40 | } 41 | }); 42 | 43 | var BootstrapTable = $.fn.bootstrapTable.Constructor, 44 | _toggleView = BootstrapTable.prototype.toggleView, 45 | _resetView = BootstrapTable.prototype.resetView; 46 | 47 | BootstrapTable.prototype.toggleView = function () { 48 | _toggleView.apply(this, Array.prototype.slice.apply(arguments)); 49 | 50 | if (this.options.resizable && this.options.cardView) { 51 | //Deletes the plugin 52 | $(this.$el).colResizable({disable: true}); 53 | } 54 | }; 55 | 56 | BootstrapTable.prototype.resetView = function () { 57 | var that = this; 58 | 59 | _resetView.apply(this, Array.prototype.slice.apply(arguments)); 60 | 61 | if (this.options.resizable) { 62 | // because in fitHeader function, we use setTimeout(func, 100); 63 | setTimeout(function () { 64 | initResizable(that); 65 | }, 100); 66 | } 67 | }; 68 | 69 | BootstrapTable.prototype.onResize = function (e) { 70 | var that = $(e.currentTarget); 71 | that.bootstrapTable('resetView'); 72 | that.data('bootstrap.table').options.onResizableResize.apply(e); 73 | } 74 | })(jQuery); -------------------------------------------------------------------------------- /d11 - date-FileUpload.php: -------------------------------------------------------------------------------- 1 | "; 4 | echo date("d/M/Y H:i:s A -l")."
"; 5 | echo date("d/F/Y H:i:s A -l")."
"; 6 | 7 | // mktime(hour, minute, second, month, day, year) 8 | $date = mktime(12, 30, 30, 12, 30, 2021); 9 | echo date("d/m/Y h:i:s a -l", $date)."
"; 10 | 11 | // strtotime() 12 | $date = strtotime("+5 years +4 months +3 weeks +2 days +1 hours"); 13 | echo date("d/F/Y h:i:s a -l", $date)."
"; 14 | 15 | // datetime class 16 | $date = new DateTime(); 17 | $myDOB = new DateTime("1987-09-10"); 18 | $myAge = $date->diff($myDOB); 19 | echo "My age is: ".$myAge->y." years ".$myAge->m." months ".$myAge->d." days
"; 20 | 21 | // file upload 22 | if(isset($_POST['up123'])){ 23 | $fileName = $_FILES['file']['name']; 24 | $tmpFileName = $_FILES['file']['tmp_name']; 25 | $fileSize = $_FILES['file']['size']; 26 | $fileExtenSion = pathinfo($fileName, PATHINFO_EXTENSION); 27 | $approvedExtension = ['jpg', 'jpeg', 'png', 'gif']; 28 | $newFileName = uniqid("IMG_", true).substr(str_shuffle("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"), 0, 6).time().rand(1000, 9999).".".$fileExtenSion; 29 | $destination = "uploads/".$newFileName; 30 | 31 | if(empty($fileName)){ 32 | $err = "Please select a file"; 33 | }elseif(!in_array($fileExtenSion, $approvedExtension)){ 34 | $err = "Invalid file format"; 35 | }else{ 36 | $imageSize = getimagesize($tmpFileName); 37 | if($imageSize === false){ 38 | $err = "This is not an image file"; 39 | }elseif($imageSize[0] < 400 || $imageSize[1] < 400){ 40 | $err = "Image size is too small"; 41 | }elseif($fileSize > 1000000){ 42 | $err = "File size must be less than 1MB"; 43 | }else{ 44 | $move = move_uploaded_file($tmpFileName, $destination); 45 | if($move){ 46 | $success = "File uploaded successfully"; 47 | }else{ 48 | $err = "File upload failed"; 49 | } 50 | } 51 | } 52 | } 53 | ?> 54 |
55 |
56 | 57 | 58 |
59 | 60 |
61 |
62 | -------------------------------------------------------------------------------- /project/admin/css/metisMenu/metisMenu.min.css: -------------------------------------------------------------------------------- 1 | /* 2 | * metismenu - v2.7.2 3 | * A jQuery menu plugin 4 | * https://github.com/onokumus/metismenu#readme 5 | * 6 | * Made by Osman Nuri Okumus (https://github.com/onokumus) 7 | * Under MIT License 8 | */ 9 | 10 | .metismenu .arrow{float:right;line-height:1.42857}[dir=rtl] .metismenu .arrow{float:left}.metismenu .glyphicon.arrow:before{content:"\e079"}.metismenu .active>a>.glyphicon.arrow:before{content:"\e114"}.metismenu .fa.arrow:before{content:"\f104"}.metismenu .active>a>.fa.arrow:before{content:"\f107"}.metismenu .ion.arrow:before{content:"\f3d2"}.metismenu .active>a>.ion.arrow:before{content:"\f3d0"}.metismenu .plus-times{float:right}[dir=rtl] .metismenu .plus-times{float:left}.metismenu .fa.plus-times:before{content:"\f067"}.metismenu .active>a>.fa.plus-times{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.metismenu .plus-minus{float:right}[dir=rtl] .metismenu .plus-minus{float:left}.metismenu .fa.plus-minus:before{content:"\f067"}.metismenu .active>a>.fa.plus-minus:before{content:"\f068"}.metismenu .collapse{display:none}.metismenu .collapse.in{display:block}.metismenu .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.metismenu .has-arrow{position:relative}.metismenu .has-arrow:after{position:absolute;content:"";width:.5em;height:.5em;border-width:1px 0 0 1px;border-style:solid;border-color:initial;right:1em;-webkit-transform:rotate(-45deg) translateY(-50%);-ms-transform:rotate(-45deg) translateY(-50%);-o-transform:rotate(-45deg) translateY(-50%);transform:rotate(-45deg) translateY(-50%);-webkit-transform-origin:top;-ms-transform-origin:top;-o-transform-origin:top;transform-origin:top;top:50%;-webkit-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out}[dir=rtl] .metismenu .has-arrow:after{right:auto;left:1em;-webkit-transform:rotate(135deg) translateY(-50%);-ms-transform:rotate(135deg) translateY(-50%);-o-transform:rotate(135deg) translateY(-50%);transform:rotate(135deg) translateY(-50%)}.metismenu .active>.has-arrow:after,.metismenu .has-arrow[aria-expanded=true]:after{-webkit-transform:rotate(-135deg) translateY(-50%);-ms-transform:rotate(-135deg) translateY(-50%);-o-transform:rotate(-135deg) translateY(-50%);transform:rotate(-135deg) translateY(-50%)} -------------------------------------------------------------------------------- /project/admin/js/calendar/fullcalendar-active.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | 3 | var todayDate = moment().startOf('day'); 4 | var YM = todayDate.format('YYYY-MM'); 5 | var YESTERDAY = todayDate.clone().subtract(1, 'day').format('YYYY-MM-DD'); 6 | var TODAY = todayDate.format('YYYY-MM-DD'); 7 | var TOMORROW = todayDate.clone().add(1, 'day').format('YYYY-MM-DD'); 8 | 9 | $('#calendar').fullCalendar({ 10 | header: { 11 | left: 'prev,next today', 12 | center: 'title', 13 | right: 'month,agendaWeek,agendaDay,listWeek' 14 | }, 15 | editable: true, 16 | eventLimit: true, // allow "more" link when too many events 17 | navLinks: true, 18 | backgroundColor: '#1f2e86', 19 | eventTextColor: '#1f2e86', 20 | textColor: '#378006', 21 | dayClick: function(date, jsEvent, view) { 22 | 23 | alert('Clicked on: ' + date.format()); 24 | 25 | alert('Coordinates: ' + jsEvent.pageX + ',' + jsEvent.pageY); 26 | 27 | alert('Current view: ' + view.name); 28 | 29 | // change the day's background color just for fun 30 | $(this).css('background-color', 'red'); 31 | 32 | }, 33 | events: [ 34 | { 35 | title: 'All Day Event', 36 | start: YM + '-01', 37 | color: '#e91e63' 38 | }, 39 | { 40 | title: 'Long Event', 41 | start: YM + '-07', 42 | end: YM + '-10', 43 | color: '#59e0c5' 44 | }, 45 | { 46 | id: 999, 47 | title: 'Repeating Event', 48 | start: YM + '-09T16:00:00', 49 | color: '#FF5370' 50 | }, 51 | { 52 | id: 999, 53 | title: 'Repeating Event', 54 | start: YM + '-16T16:00:00', 55 | color: '#FF5370' 56 | }, 57 | { 58 | title: 'Conference', 59 | start: YESTERDAY, 60 | end: TOMORROW, 61 | color: '#f3c30b' 62 | }, 63 | { 64 | title: 'Meeting', 65 | start: TODAY + 'T10:30:00', 66 | end: TODAY + 'T12:30:00', 67 | color: '#1f2e86' 68 | }, 69 | { 70 | title: 'Lunch', 71 | start: TODAY + 'T12:00:00', 72 | color: '#0D4CFF' 73 | }, 74 | { 75 | title: 'Meeting', 76 | start: TODAY + 'T14:30:00', 77 | color: '#1f2e86' 78 | }, 79 | { 80 | title: 'Happy Hour', 81 | start: TODAY + 'T17:30:00', 82 | color: '#AA00FF' 83 | }, 84 | { 85 | title: 'Dinner', 86 | start: TODAY + 'T20:00:00', 87 | color: '#00BCD4' 88 | }, 89 | { 90 | title: 'Birthday Party', 91 | start: TOMORROW + 'T07:00:00', 92 | color: '#FF5722' 93 | }, 94 | { 95 | title: 'Click for Google', 96 | url: 'http://google.com/', 97 | start: YM + '-28', 98 | color: '#323232' 99 | } 100 | ] 101 | }); 102 | }); -------------------------------------------------------------------------------- /project/admin/js/editable/mock-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | //ajax mocks 4 | $.mockjaxSettings.responseTime = 500; 5 | 6 | $.mockjax({ 7 | url: '/post', 8 | response: function(settings) { 9 | log(settings, this); 10 | } 11 | }); 12 | 13 | $.mockjax({ 14 | url: '/error', 15 | status: 400, 16 | statusText: 'Bad Request', 17 | response: function(settings) { 18 | this.responseText = 'Please input correct value'; 19 | log(settings, this); 20 | } 21 | }); 22 | 23 | $.mockjax({ 24 | url: '/status', 25 | status: 500, 26 | response: function(settings) { 27 | this.responseText = 'Internal Server Error'; 28 | log(settings, this); 29 | } 30 | }); 31 | 32 | $.mockjax({ 33 | url: '/groups', 34 | response: function(settings) { 35 | this.responseText = [ 36 | {value: 0, text: 'Guest'}, 37 | {value: 1, text: 'Service'}, 38 | {value: 2, text: 'Customer'}, 39 | {value: 3, text: 'Operator'}, 40 | {value: 4, text: 'Support'}, 41 | {value: 5, text: 'Admin'} 42 | ]; 43 | log(settings, this); 44 | } 45 | }); 46 | 47 | function log(settings, response) { 48 | var s = [], str; 49 | s.push(settings.type.toUpperCase() + ' url = "' + settings.url + '"'); 50 | for(var a in settings.data) { 51 | if(settings.data[a] && typeof settings.data[a] === 'object') { 52 | str = []; 53 | for(var j in settings.data[a]) {str.push(j+': "'+settings.data[a][j]+'"');} 54 | str = '{ '+str.join(', ')+' }'; 55 | } else { 56 | str = '"'+settings.data[a]+'"'; 57 | } 58 | s.push(a + ' = ' + str); 59 | } 60 | s.push('RESPONSE: status = ' + response.status); 61 | 62 | if(response.responseText) { 63 | if($.isArray(response.responseText)) { 64 | s.push('['); 65 | $.each(response.responseText, function(i, v){ 66 | s.push('{value: ' + v.value+', text: "'+v.text+'"}'); 67 | }); 68 | s.push(']'); 69 | } else { 70 | s.push($.trim(response.responseText)); 71 | } 72 | } 73 | s.push('--------------------------------------\n'); 74 | $('#console').val(s.join('\n') + $('#console').val()); 75 | } 76 | 77 | })(jQuery); -------------------------------------------------------------------------------- /project/reset-password.php: -------------------------------------------------------------------------------- 1 | real_escape_string(safeData($_GET['token'])); 11 | $sql = "SELECT * FROM users WHERE token='$token'"; 12 | $result = $conn->query($sql); 13 | if($result->num_rows == 0) { 14 | echo header("Location: ./"); 15 | } 16 | } 17 | 18 | if (isset($_POST['resetPassword'])) { 19 | $newPassword = $conn->real_escape_string(safeData($_POST['newPassword'])); 20 | $confirmPassword = $conn->real_escape_string(safeData($_POST['confirmPassword'])); 21 | $token = $conn->real_escape_string(safeData($_GET['token'])); 22 | $sql = "SELECT * FROM users WHERE token='$token'"; 23 | $result = $conn->query($sql); 24 | $row = $result->fetch_assoc(); 25 | if ($newPassword == $confirmPassword) { 26 | $newPassword = password_hash($newPassword, PASSWORD_BCRYPT); 27 | $sql = "UPDATE users SET password='$newPassword' WHERE id=" . $row['id']; 28 | if ($conn->query($sql)) { 29 | $sql = "UPDATE users SET token='' WHERE id=" . $row['id']; 30 | $conn->query($sql); 31 | echo ""; 32 | } else { 33 | echo ""; 34 | } 35 | } else { 36 | echo ""; 37 | } 38 | } 39 | ?> 40 |
41 |
42 |
43 |

Reset Password

44 |
45 |
46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 | 54 |
55 |
56 |
57 |
58 | -------------------------------------------------------------------------------- /project/login.php: -------------------------------------------------------------------------------- 1 | location.href='./'"; 5 | } 6 | if(isset($_POST['login'])){ 7 | $yourEmail = $conn->real_escape_string(safeData($_POST['yourEmail'])); 8 | $yourPassword = $conn->real_escape_string(safeData($_POST['yourPassword'])); 9 | $sql = "SELECT * FROM users WHERE email = '$yourEmail'"; 10 | $result = $conn->query($sql); 11 | if($result->num_rows > 0){ 12 | $row = $result->fetch_assoc(); 13 | if(!password_verify($yourPassword, $row['password'])){ 14 | echo ""; 15 | }else{ 16 | $_SESSION['user'] = $row; 17 | $_SESSION['user']['token'] = "ia21b2"; 18 | echo ""; 19 | } 20 | }else{ 21 | echo ""; 22 | } 23 | } 24 | ?> 25 |
26 |
27 |
28 |

Login

29 |
30 |
31 | 32 | 33 |
34 |
35 | 36 | 37 |
38 |
39 | 42 |
43 | 44 |
45 | 46 |
47 | Don't have an account? Register Here 48 |
49 |
50 | Forgot Password? 51 |
52 |
53 |
54 |
55 | 65 | 68 | -------------------------------------------------------------------------------- /project/admin/css/meanmenu.min.css: -------------------------------------------------------------------------------- 1 | .mobile-menu-area{ 2 | display:none; 3 | } 4 | a.meanmenu-reveal{display:none} 5 | .mean-container .mean-bar { 6 | background: transparent none repeat scroll 0 0; 7 | float: left; 8 | min-height: 42px; 9 | padding: 4px 0 0; 10 | position: relative; 11 | width: 100%; 12 | z-index: 999999; 13 | } 14 | .mean-container a.meanmenu-reveal{width:22px;height:22px;padding:13px 13px 11px;top:0;right:0;cursor:pointer;color:#fff;text-decoration:none;font-size:16px;text-indent:-9999em;line-height:22px;font-size:1px;display:block;font-family:Arial,Helvetica,sans-serif;font-weight:700;float: right;} 15 | .mean-container a.meanmenu-reveal span{display:block;background:#fff;height:3px;margin-top:3px} 16 | .mean-container .mean-nav{float:left;width:100%;background:#0c1923} 17 | .mean-container .mean-nav ul{padding:0;margin:0;width:100%;list-style-type:none} 18 | .mean-container .mean-nav ul li { 19 | background: #f8f8f8 none repeat scroll 0 0; 20 | float: left; 21 | position: relative; 22 | width: 100%; 23 | border-top: 1px solid#ddd; 24 | } 25 | .mean-container .mean-nav ul li a { 26 | background: #f8f8f8 none repeat scroll 0 0; 27 | color: #666666; 28 | display: block; 29 | float: left; 30 | font-size: 16px; 31 | margin: 0; 32 | padding: 1em 5%; 33 | text-align: left; 34 | text-decoration: none; 35 | text-transform: uppercase; 36 | width: 90%; 37 | font-weight: 400; 38 | } 39 | .mobile-menu-area { 40 | background: #262626; 41 | } 42 | .mean-container .mean-nav ul li li a { 43 | border-top: 1px solid rgba(255, 255, 255, 0.25); 44 | opacity: 0.75; 45 | padding: 1em 10%; 46 | text-shadow: none !important; 47 | visibility: visible; 48 | width: 80%; 49 | font-weight: normal; 50 | text-transform: capitalize; 51 | color: #444; 52 | } 53 | .mean-container .mean-nav ul li.mean-last a{border-bottom:0;margin-bottom:0} 54 | .mean-container .mean-nav ul li li li a{width:70%;padding:1em 15%} 55 | .mean-container .mean-nav ul li li li li a{width:60%;padding:1em 20%} 56 | .mean-container .mean-nav ul li li li li li a{width:50%;padding:1em 25%} 57 | .mean-container .mean-nav ul li a:hover { 58 | background: #f8f8f8 none repeat scroll 0 0; 59 | color: #F47E1E; 60 | } 61 | .mean-container .mean-nav ul li a.mean-expand{ 62 | width:26px; 63 | height: 15px; 64 | margin-top: 1px; 65 | padding: 12px !important; 66 | text-align:center; 67 | position:absolute; 68 | right:0;top:0; 69 | z-index:2; 70 | font-weight:700; 71 | background:rgba(255,255,255,.1); 72 | border:0!important; 73 | background: #F8F8F8; 74 | } 75 | .mean-container .mean-nav ul li a.mean-expand:hover { 76 | background: #f8f8f8; 77 | } 78 | .mean-container .mean-push{float:left;width:100%;padding:0;margin:0;clear:both} 79 | .mean-nav .wrapper{width:100%;padding:0;margin:0} 80 | .mean-container .mean-bar,.mean-container .mean-bar *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box} 81 | .mean-remove{display:none!important} 82 | .mean-container .mean-bar::after { 83 | color: #ffffff; 84 | content: "MENU"; 85 | font-size: 21px; 86 | left: 5%; 87 | position: absolute; 88 | top: 12px; 89 | } -------------------------------------------------------------------------------- /project/admin/js/main.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | /*---------------------------- 5 | jQuery MeanMenu 6 | ------------------------------ */ 7 | jQuery('nav#dropdown').meanmenu(); 8 | /*---------------------------- 9 | jQuery myTab 10 | ------------------------------ */ 11 | $('#myTab a').click(function (e) { 12 | e.preventDefault() 13 | $(this).tab('show') 14 | }); 15 | $('#myTab3 a').click(function (e) { 16 | e.preventDefault() 17 | $(this).tab('show') 18 | }); 19 | $('#myTab4 a').click(function (e) { 20 | e.preventDefault() 21 | $(this).tab('show') 22 | }); 23 | 24 | $('#single-product-tab a').click(function (e) { 25 | e.preventDefault() 26 | $(this).tab('show') 27 | }); 28 | 29 | $('[data-toggle="tooltip"]').tooltip(); 30 | 31 | $('#sidebarCollapse').on('click', function () { 32 | $('#sidebar').toggleClass('active'); 33 | 34 | }); 35 | // Collapse ibox function 36 | $('#sidebar ul li').on('click', function () { 37 | var button = $(this).find('i.fa.indicator-mn'); 38 | button.toggleClass('fa-plus').toggleClass('fa-minus'); 39 | 40 | }); 41 | /*----------------------------- 42 | Menu Stick 43 | ---------------------------------*/ 44 | $(".sicker-menu").sticky({topSpacing:0}); 45 | 46 | $('#sidebarCollapse').on('click', function () { 47 | $("body").toggleClass("mini-navbar"); 48 | SmoothlyMenu(); 49 | }); 50 | $(document).on('click', '.header-right-menu .dropdown-menu', function (e) { 51 | e.stopPropagation(); 52 | }); 53 | 54 | 55 | /*---------------------------- 56 | wow js active 57 | ------------------------------ */ 58 | new WOW().init(); 59 | 60 | /*---------------------------- 61 | owl active 62 | ------------------------------ */ 63 | $("#owl-demo").owlCarousel({ 64 | autoPlay: false, 65 | slideSpeed:2000, 66 | pagination:false, 67 | navigation:true, 68 | items : 4, 69 | /* transitionStyle : "fade", */ /* [This code for animation ] */ 70 | navigationText:["",""], 71 | itemsDesktop : [1199,4], 72 | itemsDesktopSmall : [980,3], 73 | itemsTablet: [768,2], 74 | itemsMobile : [479,1], 75 | }); 76 | 77 | /*---------------------------- 78 | price-slider active 79 | ------------------------------ */ 80 | $( "#slider-range" ).slider({ 81 | range: true, 82 | min: 40, 83 | max: 600, 84 | values: [ 60, 570 ], 85 | slide: function( event, ui ) { 86 | $( "#amount" ).val( "£" + ui.values[ 0 ] + " - £" + ui.values[ 1 ] ); 87 | } 88 | }); 89 | $( "#amount" ).val( "£" + $( "#slider-range" ).slider( "values", 0 ) + 90 | " - £" + $( "#slider-range" ).slider( "values", 1 ) ); 91 | 92 | /*-------------------------- 93 | scrollUp 94 | ---------------------------- */ 95 | $.scrollUp({ 96 | scrollText: '', 97 | easingType: 'linear', 98 | scrollSpeed: 900, 99 | animation: 'fade' 100 | }); 101 | 102 | })(jQuery); -------------------------------------------------------------------------------- /project/index.php: -------------------------------------------------------------------------------- 1 | 4 |
5 |
6 |
7 | 8 |
9 |

Welcome to our website

10 |

Lorem ipsum, dolor sit amet consectetur adipisicing elit. Libero minima inventore cumque reiciendis cupiditate similique quisquam harum, esse temporibus. Porro facere reiciendis ullam voluptatibus, nam, aliquam, earum beatae qui repudiandae obcaecati esse aperiam exercitationem numquam magni voluptatum accusamus eveniet magnam? Nisi distinctio voluptatibus magni rem, dolores esse iste nemo dolor soluta in necessitatibus quae mollitia labore numquam iure optio eveniet.

11 | 12 |
13 |
14 |
15 |
16 | 17 | 18 |
19 |

Latest Products

20 |
21 | 26 |
27 |
28 | ... 29 |
30 |
31 | 32 |

33 | BDT 34 | BDT 35 |

36 | 37 | View 38 | 39 |
40 |
41 |
42 | 43 |
44 |
45 | 46 | 54 | 57 | -------------------------------------------------------------------------------- /project/admin/css/cropper/cropper.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Cropper v0.7.6-beta 3 | * https://github.com/fengyuanchen/cropper 4 | * 5 | * Copyright 2014 Fengyuan Chen 6 | * Released under the MIT license 7 | */ 8 | 9 | .cropper-container{position:relative;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.cropper-container img{width:100%;height:100%;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important}.cropper-modal,.cropper-canvas{position:absolute;top:0;right:0;bottom:0;left:0}.cropper-canvas{background-color:#fff;opacity:0;filter:alpha(opacity=0)}.cropper-modal{background-color:#000;opacity:.5;filter:alpha(opacity=50)}.cropper-dragger{position:absolute;top:10%;left:10%;width:80%;height:80%}.cropper-viewer{display:block;width:100%;height:100%;overflow:hidden;outline-width:1px;outline-style:solid;outline-color:#69f;outline-color:rgba(51,102,255,.75)}.cropper-dashed{position:absolute;display:block;border:0 dashed #fff;opacity:.5;filter:alpha(opacity=50)}.cropper-dashed.dashed-h{top:33.3%;left:0;width:100%;height:33.3%;border-top-width:1px;border-bottom-width:1px}.cropper-dashed.dashed-v{top:0;left:33.3%;width:33.3%;height:100%;border-right-width:1px;border-left-width:1px}.cropper-face,.cropper-line,.cropper-point{position:absolute;display:block;width:100%;height:100%;opacity:.1;filter:alpha(opacity=10)}.cropper-face{top:0;left:0;cursor:move;background-color:#fff}.cropper-line{background-color:#69f}.cropper-line.line-e{top:0;right:-3px;width:5px;cursor:e-resize}.cropper-line.line-n{top:-3px;left:0;height:5px;cursor:n-resize}.cropper-line.line-w{top:0;left:-3px;width:5px;cursor:w-resize}.cropper-line.line-s{bottom:-3px;left:0;height:5px;cursor:s-resize}.cropper-point{width:5px;height:5px;background-color:#69f;opacity:.75;filter:alpha(opacity=75)}.cropper-point.point-e{top:50%;right:-3px;margin-top:-3px;cursor:e-resize}.cropper-point.point-n{top:-3px;left:50%;margin-left:-3px;cursor:n-resize}.cropper-point.point-w{top:50%;left:-3px;margin-top:-3px;cursor:w-resize}.cropper-point.point-s{bottom:-3px;left:50%;margin-left:-3px;cursor:s-resize}.cropper-point.point-ne{top:-3px;right:-3px;cursor:ne-resize}.cropper-point.point-nw{top:-3px;left:-3px;cursor:nw-resize}.cropper-point.point-sw{bottom:-3px;left:-3px;cursor:sw-resize}.cropper-point.point-se{right:-3px;bottom:-3px;width:20px;height:20px;cursor:se-resize;opacity:1;filter:alpha(opacity=100)}.cropper-point.point-se:before{position:absolute;right:-50%;bottom:-50%;display:block;width:200%;height:200%;content:" ";background-color:#69f;opacity:0;filter:alpha(opacity=0)}@media (min-width:768px){.cropper-point.point-se{width:15px;height:15px}}@media (min-width:992px){.cropper-point.point-se{width:10px;height:10px}}@media (min-width:1200px){.cropper-point.point-se{width:5px;height:5px;opacity:.75;filter:alpha(opacity=75)}}.cropper-hidden{display:none!important}.cropper-invisible{position:fixed;top:0;left:0;z-index:-1;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;opacity:0;filter:alpha(opacity=0)}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-canvas,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed} -------------------------------------------------------------------------------- /project/admin/js/chart/jquery.peity.min.js: -------------------------------------------------------------------------------- 1 | // Peity jQuery plugin version 2.0.3 2 | // (c) 2014 Ben Pickles 3 | // 4 | // http://benpickles.github.io/peity 5 | // 6 | // Released under MIT license. 7 | (function(e,q,h){var o=function(a,b){var c=q.createElementNS("http://www.w3.org/2000/svg",a);e.each(b,function(a,b){c.setAttribute(a,b)});return c},t="createElementNS"in q&&o("svg",{}).createSVGRect,r=1/(window.devicePixelRatio||1),j=e.fn.peity=function(a,b){t&&this.each(function(){var c=e(this),d=c.data("peity");if(d)a&&(d.type=a),e.extend(d.opts,b);else{var f=j.defaults[a],g={};e.each(c.data(),function(a,b){a in f&&(g[a]=b)});var h=e.extend({},f,g,b),d=new s(c,a,h);c.change(function(){d.draw()}).data("peity", 8 | d)}d.draw()});return this},s=function(a,b,c){this.$el=a;this.type=b;this.opts=c},m=s.prototype;m.draw=function(){j.graphers[this.type].call(this,this.opts)};m.fill=function(){var a=this.opts.fill,b=a;e.isFunction(b)||(b=function(b,d){return a[d%a.length]});return b};m.prepare=function(a,b){var c;this.svg?c=e(this.svg).empty():(this.svg=o("svg",{"class":"peity"}),this.$el.hide().after(this.svg),c=e(this.svg).data("peity",this));this.svg.setAttribute("height",b);this.svg.setAttribute("width",a);return c}; 9 | m.values=function(){return e.map(this.$el.text().split(this.opts.delimiter),function(a){return parseFloat(a)})};j.defaults={};j.graphers={};j.register=function(a,b,c){this.defaults[a]=b;this.graphers[a]=c};j.register("pie",{delimiter:null,diameter:16,fill:["#ff9900","#fff4dd","#ffc66e"]},function(a){if(!a.delimiter){var b=this.$el.text().match(/[^0-9\.]/);a.delimiter=b?b[0]:","}b=this.values();if("/"==a.delimiter)var c=b[0],b=[c,h.max(0,b[1]-c)];for(var d=0,c=b.length,f=0;de?1:0,1,q,r,"Z"].join(" ")});i=l}k.setAttribute("fill",j.call(this,n,d,b));this.svg.appendChild(k)}}});j.register("line",{delimiter:",",fill:"#c6d9fd",height:16,max:null, 11 | min:0,stroke:"#4d89f9",strokeWidth:1,width:32},function(a){var b=this.values();1==b.length&&b.push(b[0]);for(var c=h.max.apply(h,b.concat([a.max])),d=h.min.apply(h,b.concat([a.min])),f=this.prepare(a.width,a.height),g=f.width(),f=f.height()-a.strokeWidth,e=g/(b.length-1),c=c-d,j=0==c?f:f/c,m=f+d*j,c=[0,m],i=0;i=d&&0k&&(l+=k,k=-k);n=o("rect",{fill:m.call(this,n,i,b),x:i*g,y:l,width:g-a,height:k});this.svg.appendChild(n)}})})(jQuery,document,Math); -------------------------------------------------------------------------------- /project/admin/js/peity/jquery.peity.min.js: -------------------------------------------------------------------------------- 1 | // Peity jQuery plugin version 2.0.3 2 | // (c) 2014 Ben Pickles 3 | // 4 | // http://benpickles.github.io/peity 5 | // 6 | // Released under MIT license. 7 | (function(e,q,h){var o=function(a,b){var c=q.createElementNS("http://www.w3.org/2000/svg",a);e.each(b,function(a,b){c.setAttribute(a,b)});return c},t="createElementNS"in q&&o("svg",{}).createSVGRect,r=1/(window.devicePixelRatio||1),j=e.fn.peity=function(a,b){t&&this.each(function(){var c=e(this),d=c.data("peity");if(d)a&&(d.type=a),e.extend(d.opts,b);else{var f=j.defaults[a],g={};e.each(c.data(),function(a,b){a in f&&(g[a]=b)});var h=e.extend({},f,g,b),d=new s(c,a,h);c.change(function(){d.draw()}).data("peity", 8 | d)}d.draw()});return this},s=function(a,b,c){this.$el=a;this.type=b;this.opts=c},m=s.prototype;m.draw=function(){j.graphers[this.type].call(this,this.opts)};m.fill=function(){var a=this.opts.fill,b=a;e.isFunction(b)||(b=function(b,d){return a[d%a.length]});return b};m.prepare=function(a,b){var c;this.svg?c=e(this.svg).empty():(this.svg=o("svg",{"class":"peity"}),this.$el.hide().after(this.svg),c=e(this.svg).data("peity",this));this.svg.setAttribute("height",b);this.svg.setAttribute("width",a);return c}; 9 | m.values=function(){return e.map(this.$el.text().split(this.opts.delimiter),function(a){return parseFloat(a)})};j.defaults={};j.graphers={};j.register=function(a,b,c){this.defaults[a]=b;this.graphers[a]=c};j.register("pie",{delimiter:null,diameter:16,fill:["#ff9900","#fff4dd","#ffc66e"]},function(a){if(!a.delimiter){var b=this.$el.text().match(/[^0-9\.]/);a.delimiter=b?b[0]:","}b=this.values();if("/"==a.delimiter)var c=b[0],b=[c,h.max(0,b[1]-c)];for(var d=0,c=b.length,f=0;de?1:0,1,q,r,"Z"].join(" ")});i=l}k.setAttribute("fill",j.call(this,n,d,b));this.svg.appendChild(k)}}});j.register("line",{delimiter:",",fill:"#c6d9fd",height:16,max:null, 11 | min:0,stroke:"#4d89f9",strokeWidth:1,width:32},function(a){var b=this.values();1==b.length&&b.push(b[0]);for(var c=h.max.apply(h,b.concat([a.max])),d=h.min.apply(h,b.concat([a.min])),f=this.prepare(a.width,a.height),g=f.width(),f=f.height()-a.strokeWidth,e=g/(b.length-1),c=c-d,j=0==c?f:f/c,m=f+d*j,c=[0,m],i=0;i=d&&0k&&(l+=k,k=-k);n=o("rect",{fill:m.call(this,n,i,b),x:i*g,y:l,width:g-a,height:k});this.svg.appendChild(n)}})})(jQuery,document,Math); -------------------------------------------------------------------------------- /project/profile-picture.php: -------------------------------------------------------------------------------- 1 | query($sql)) { 28 | unlink('assets/images/' . $_SESSION['user']['image']); 29 | $_SESSION['user']['image'] = $profilePictureNewName; 30 | echo ""; 31 | } else { 32 | echo ""; 33 | } 34 | } else { 35 | echo ""; 36 | } 37 | } else { 38 | echo ""; 39 | } 40 | } else { 41 | echo ""; 42 | } 43 | } 44 | ?> 45 |
46 |
47 |
48 |

Profile Picture

49 |
50 |
51 | 55 |
56 | 57 |
58 |
59 |
60 |
61 | 64 | -------------------------------------------------------------------------------- /project/admin/js/morrisjs/morris-active.js: -------------------------------------------------------------------------------- 1 | // Dashboard 1 Morris-chart 2 | 3 | Morris.Area({ 4 | element: 'morris-area-chart', 5 | data: [{ 6 | period: '2012', 7 | Bags: 0, 8 | Shoes: 0, 9 | Jewelery: 0 10 | }, { 11 | period: '2013', 12 | Bags: 130, 13 | Shoes: 100, 14 | Jewelery: 80 15 | }, { 16 | period: '2014', 17 | Bags: 80, 18 | Shoes: 60, 19 | Jewelery: 70 20 | }, { 21 | period: '2015', 22 | Bags: 70, 23 | Shoes: 200, 24 | Jewelery: 160 25 | }, { 26 | period: '2016', 27 | Bags: 180, 28 | Shoes: 150, 29 | Jewelery: 120 30 | }, { 31 | period: '2017', 32 | Bags: 105, 33 | Shoes: 100, 34 | Jewelery: 90 35 | }, 36 | { 37 | period: '2018', 38 | Bags: 250, 39 | Shoes: 150, 40 | Jewelery: 200 41 | }], 42 | xkey: 'period', 43 | ykeys: ['Bags', 'Shoes', 'Jewelery'], 44 | labels: ['Bags', 'Shoes', 'Jewelery'], 45 | pointSize: 0, 46 | fillOpacity: 0.6, 47 | pointStrokeColors:['#f75b36', '#00b5c2 ', '#008efa'], 48 | behaveLikeLine: true, 49 | gridLineColor: '#e0e0e0', 50 | lineWidth:0, 51 | hideHover: 'auto', 52 | lineColors: ['#f75b36', '#00b5c2 ', '#008efa'], 53 | resize: true 54 | 55 | }); 56 | 57 | Morris.Area({ 58 | element: 'extra-area-chart', 59 | data: [{ 60 | period: '2012', 61 | Bags: 0, 62 | Shoes: 0, 63 | Jewelery: 0 64 | }, { 65 | period: '2013', 66 | Bags: 50, 67 | Shoes: 15, 68 | Jewelery: 5 69 | }, { 70 | period: '2014', 71 | Bags: 20, 72 | Shoes: 50, 73 | Jewelery: 65 74 | }, { 75 | period: '2015', 76 | Bags: 60, 77 | Shoes: 12, 78 | Jewelery: 7 79 | }, { 80 | period: '2016', 81 | Bags: 30, 82 | Shoes: 20, 83 | Jewelery: 120 84 | }, { 85 | period: '2017', 86 | Bags: 25, 87 | Shoes: 80, 88 | Jewelery: 40 89 | }, { 90 | period: '2018', 91 | Bags: 10, 92 | Shoes: 10, 93 | Jewelery: 10 94 | } 95 | 96 | 97 | ], 98 | lineColors: ['#f75b36', '#00b5c2', '#8698b7'], 99 | xkey: 'period', 100 | ykeys: ['Bags', 'Shoes', 'Jewelery'], 101 | labels: ['Bags', 'Shoes', 'Jewelery'], 102 | pointSize: 0, 103 | lineWidth: 0, 104 | resize:true, 105 | fillOpacity: 0.8, 106 | behaveLikeLine: true, 107 | gridLineColor: '#e0e0e0', 108 | hideHover: 'auto' 109 | 110 | }); 111 | -------------------------------------------------------------------------------- /project/admin/js/flot/jquery.flot.resize.js: -------------------------------------------------------------------------------- 1 | /* Flot plugin for automatically redrawing plots as the placeholder resizes. 2 | 3 | Copyright (c) 2007-2014 IOLA and Ole Laursen. 4 | Licensed under the MIT license. 5 | 6 | It works by listening for changes on the placeholder div (through the jQuery 7 | resize event plugin) - if the size changes, it will redraw the plot. 8 | 9 | There are no options. If you need to disable the plugin for some plots, you 10 | can just fix the size of their placeholders. 11 | 12 | */ 13 | 14 | /* Inline dependency: 15 | * jQuery resize event - v1.1 - 3/14/2010 16 | * http://benalman.com/projects/jquery-resize-plugin/ 17 | * 18 | * Copyright (c) 2010 "Cowboy" Ben Alman 19 | * Dual licensed under the MIT and GPL licenses. 20 | * http://benalman.com/about/license/ 21 | */ 22 | (function($,e,t){"$:nomunge";var i=[],n=$.resize=$.extend($.resize,{}),a,r=false,s="setTimeout",u="resize",m=u+"-special-event",o="pendingDelay",l="activeDelay",f="throttleWindow";n[o]=200;n[l]=20;n[f]=true;$.event.special[u]={setup:function(){if(!n[f]&&this[s]){return false}var e=$(this);i.push(this);e.data(m,{w:e.width(),h:e.height()});if(i.length===1){a=t;h()}},teardown:function(){if(!n[f]&&this[s]){return false}var e=$(this);for(var t=i.length-1;t>=0;t--){if(i[t]==this){i.splice(t,1);break}}e.removeData(m);if(!i.length){if(r){cancelAnimationFrame(a)}else{clearTimeout(a)}a=null}},add:function(e){if(!n[f]&&this[s]){return false}var i;function a(e,n,a){var r=$(this),s=r.data(m)||{};s.w=n!==t?n:r.width();s.h=a!==t?a:r.height();i.apply(this,arguments)}if($.isFunction(e)){i=e;return a}else{i=e.handler;e.handler=a}}};function h(t){if(r===true){r=t||1}for(var s=i.length-1;s>=0;s--){var l=$(i[s]);if(l[0]==e||l.is(":visible")){var f=l.width(),c=l.height(),d=l.data(m);if(d&&(f!==d.w||c!==d.h)){l.trigger(u,[d.w=f,d.h=c]);r=t||true}}else{d=l.data(m);d.w=0;d.h=0}}if(a!==null){if(r&&(t==null||t-r<1e3)){a=e.requestAnimationFrame(h)}else{a=setTimeout(h,n[o]);r=false}}}if(!e.requestAnimationFrame){e.requestAnimationFrame=function(){return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t,i){return e.setTimeout(function(){t((new Date).getTime())},n[l])}}()}if(!e.cancelAnimationFrame){e.cancelAnimationFrame=function(){return e.webkitCancelRequestAnimationFrame||e.mozCancelRequestAnimationFrame||e.oCancelRequestAnimationFrame||e.msCancelRequestAnimationFrame||clearTimeout}()}})(jQuery,this); 23 | 24 | (function ($) { 25 | var options = { }; // no options 26 | 27 | function init(plot) { 28 | function onResize() { 29 | var placeholder = plot.getPlaceholder(); 30 | 31 | // somebody might have hidden us and we can't plot 32 | // when we don't have the dimensions 33 | if (placeholder.width() == 0 || placeholder.height() == 0) 34 | return; 35 | 36 | plot.resize(); 37 | plot.setupGrid(); 38 | plot.draw(); 39 | } 40 | 41 | function bindEvents(plot, eventHolder) { 42 | plot.getPlaceholder().resize(onResize); 43 | } 44 | 45 | function shutdown(plot, eventHolder) { 46 | plot.getPlaceholder().unbind("resize", onResize); 47 | } 48 | 49 | plot.hooks.bindEvents.push(bindEvents); 50 | plot.hooks.shutdown.push(shutdown); 51 | } 52 | 53 | $.plot.plugins.push({ 54 | init: init, 55 | options: options, 56 | name: 'resize', 57 | version: '1.0' 58 | }); 59 | })(jQuery); -------------------------------------------------------------------------------- /d15 - crud.php: -------------------------------------------------------------------------------- 1 | query($insertQuery); 10 | 11 | if($insert){ 12 | echo ""; 13 | } else { 14 | echo ""; 15 | } 16 | } 17 | 18 | $selectQuery = "SELECT * FROM students"; 19 | $select = $conn->query($selectQuery); 20 | ?> 21 | 22 |

Add Student

23 |
24 | 25 |

26 | 27 |

28 | 29 |
30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | fetch_object()){ ?> 39 | 40 | 41 | 42 | 43 | 47 | 48 | 49 |
Student IDStudent NameStudent CityActions
id; ?>name; ?>city; ?> 44 | Edit 45 | Delete 46 |
50 | 51 | query($selectEditQuery); 56 | $editRow = $selectEdit->fetch_object(); 57 | 58 | if(isset($_POST['editStudent'])){ 59 | $name = $_POST['name']; 60 | $city = $_POST['city']; 61 | 62 | $updateQuery = "UPDATE students SET `name` = '$name', `city` = '$city' WHERE id = $editId"; 63 | $update = $conn->query($updateQuery); 64 | 65 | if($update){ 66 | echo ""; 67 | echo ""; 68 | } else { 69 | echo ""; 70 | } 71 | } 72 | ?> 73 |

Edit Student

74 |
75 | 76 |

77 | 78 |

79 | 80 | Back 81 |
82 | 85 | 86 | query($deleteQuery); 91 | 92 | if($delete){ 93 | echo ""; 94 | echo ""; 95 | } else { 96 | echo ""; 97 | } 98 | } 99 | ?> -------------------------------------------------------------------------------- /project/navbar.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/update-profile.php: -------------------------------------------------------------------------------- 1 | real_escape_string(safeData($_POST['name'])); 9 | $email = $conn->real_escape_string(safeData($_POST['email'])); 10 | $address = $conn->real_escape_string(safeData($_POST['address'])); 11 | 12 | if(!filter_var($email, FILTER_VALIDATE_EMAIL)) { 13 | echo ""; 14 | }elseif($email != $_SESSION['user']['email']) { 15 | $sql = "SELECT * FROM users WHERE email='$email'"; 16 | $result = $conn->query($sql); 17 | if($result->num_rows > 0) { 18 | echo ""; 19 | }else{ 20 | $sql = "UPDATE users SET name='$name', email='$email', address='$address' WHERE id=" . $_SESSION['user']['id']; 21 | if ($conn->query($sql)) { 22 | $_SESSION['user']['name'] = $name; 23 | $_SESSION['user']['email'] = $email; 24 | $_SESSION['user']['address'] = $address; 25 | echo ""; 26 | } else { 27 | echo ""; 28 | } 29 | } 30 | }else{ 31 | $sql = "UPDATE users SET name='$name', email='$email', address='$address' WHERE id=" . $_SESSION['user']['id']; 32 | if ($conn->query($sql)) { 33 | $_SESSION['user']['name'] = $name; 34 | $_SESSION['user']['email'] = $email; 35 | $_SESSION['user']['address'] = $address; 36 | echo ""; 37 | } else { 38 | echo ""; 39 | } 40 | } 41 | } 42 | 43 | ?> 44 |
45 |
46 |
47 | 48 |

Update Profile

49 |
50 |
51 | 52 | 53 |
54 |
55 | 56 | 57 |
58 |
59 | 60 | 61 |
62 |
63 | 64 |
65 |
66 | Delete Profile 67 | 68 |

Delete Profile

69 |

Are you sure you want to delete your profile?

70 | Cancel 71 | Delete 72 | 73 |
74 |
75 |
76 | -------------------------------------------------------------------------------- /project/admin/css/ionRangeSlider/ion.rangeSlider.css: -------------------------------------------------------------------------------- 1 | /* Ion.RangeSlider 2 | // css version 1.8.5 3 | // by Denis Ineshin | ionden.com 4 | // ===================================================================================================================*/ 5 | 6 | /* ===================================================================================================================== 7 | // RangeSlider */ 8 | 9 | .irs { 10 | position: relative; display: block; 11 | } 12 | .irs-line { 13 | position: relative; display: block; 14 | overflow: hidden; 15 | } 16 | .irs-line-left, .irs-line-mid, .irs-line-right { 17 | position: absolute; display: block; 18 | top: 0; 19 | } 20 | .irs-line-left { 21 | left: 0; width: 10%; 22 | } 23 | .irs-line-mid { 24 | left: 10%; width: 80%; 25 | } 26 | .irs-line-right { 27 | right: 0; width: 10%; 28 | } 29 | 30 | .irs-diapason { 31 | position: absolute; display: block; 32 | left: 0; width: 100%; 33 | } 34 | .irs-slider { 35 | position: absolute; display: block; 36 | cursor: default; 37 | z-index: 1; 38 | } 39 | .irs-slider.single { 40 | left: 10px; 41 | } 42 | .irs-slider.single:before { 43 | position: absolute; display: block; content: ""; 44 | top: -30%; left: -30%; 45 | width: 160%; height: 160%; 46 | background: rgba(0,0,0,0.0); 47 | } 48 | .irs-slider.from { 49 | left: 100px; 50 | } 51 | .irs-slider.from:before { 52 | position: absolute; display: block; content: ""; 53 | top: -30%; left: -30%; 54 | width: 130%; height: 160%; 55 | background: rgba(0,0,0,0.0); 56 | } 57 | .irs-slider.to { 58 | left: 300px; 59 | } 60 | .irs-slider.to:before { 61 | position: absolute; display: block; content: ""; 62 | top: -30%; left: 0; 63 | width: 130%; height: 160%; 64 | background: rgba(0,0,0,0.0); 65 | } 66 | .irs-slider.last { 67 | z-index: 2; 68 | } 69 | 70 | .irs-min { 71 | position: absolute; display: block; 72 | left: 0; 73 | cursor: default; 74 | } 75 | .irs-max { 76 | position: absolute; display: block; 77 | right: 0; 78 | cursor: default; 79 | } 80 | 81 | .irs-from, .irs-to, .irs-single { 82 | position: absolute; display: block; 83 | top: 0; left: 0; 84 | cursor: default; 85 | white-space: nowrap; 86 | } 87 | 88 | 89 | .irs-grid { 90 | position: absolute; display: none; 91 | bottom: 0; left: 0; 92 | width: 100%; height: 20px; 93 | } 94 | .irs-with-grid .irs-grid { 95 | display: block; 96 | } 97 | .irs-grid-pol { 98 | position: absolute; 99 | top: 0; left: 0; 100 | width: 1px; height: 8px; 101 | background: #000; 102 | } 103 | .irs-grid-pol.small { 104 | height: 4px; 105 | } 106 | .irs-grid-text { 107 | position: absolute; 108 | bottom: 0; left: 0; 109 | width: 100px; 110 | white-space: nowrap; 111 | text-align: center; 112 | font-size: 9px; line-height: 9px; 113 | color: #000; 114 | } 115 | 116 | .irs-disable-mask { 117 | position: absolute; display: block; 118 | top: 0; left: 0; 119 | width: 100%; height: 100%; 120 | cursor: default; 121 | background: rgba(0,0,0,0.0); 122 | z-index: 2; 123 | } 124 | .irs-disabled { 125 | opacity: 0.4; 126 | } -------------------------------------------------------------------------------- /d3 - operators-stringFunction.php: -------------------------------------------------------------------------------- 1 | "; // Outputs: 16 15 | echo $x - $y."
"; // Outputs: 4 16 | echo $x * $y."
"; // Outputs: 60 17 | echo $x / $y."
"; // Outputs: 1.6666666666667 18 | echo $x % $y."
"; // Outputs: 4 19 | echo $x ** $y."
"; // Outputs: 1000000 20 | 21 | // assignment operators 22 | /** 23 | * = x = y x = y 24 | * += x += y x = x + y 25 | * -= x -= y x = x - y 26 | * *= x *= y x = x * y 27 | * /= x /= y x = x / y 28 | * %= x %= y x = x % y 29 | * **= x **= y x = x ** y 30 | */ 31 | 32 | $x += 3; // $x = $x + 3 33 | $x -= 2; // $x = $x - 2 34 | $x *= 4; // $x = $x * 4 35 | $x /= 2; // $x = $x / 2 36 | $x %= 5; // $x = $x % 5 37 | $x **= 2; // $x = $x ** 2 38 | echo $x."
"; 39 | 40 | // Comparison operators 41 | /** 42 | * == Equal x == y Returns true if x is equal to y 43 | * === Identical x === y Returns true if x is equal to y, and they are of the same type 44 | * != Not equal x != y Returns true if x is not equal to y 45 | * <> Not equal x <> y Returns true if x is not equal to y 46 | * !== Not identical x !== y Returns true if x is not equal to y, or they are not of the same type 47 | * > Greater than x > y Returns true if x is greater than y 48 | * < Less than x < y Returns true if x is less than y 49 | * >= Greater than or equal to x >= y Returns true if x is greater than or equal to y 50 | * <= Less than or equal to x <= y Returns true if x is less than or equal to y 51 | */ 52 | 53 | $a = 7; 54 | $b = "7"; 55 | 56 | var_dump($a <> $b); 57 | echo "
"; 58 | 59 | // Logical operators 60 | /** 61 | * and 62 | * or 63 | * xor 64 | * && 65 | * || 66 | */ 67 | 68 | // Increment/Decrement operators 69 | /** 70 | * ++$x pre-increment 71 | * $x++ post-increment 72 | * --$x pre-decrement 73 | * $x-- post-decrement 74 | */ 75 | 76 | // String operators 77 | /** 78 | * . Concatenation $x . $y Concatenation of $x and $y 79 | * .= Concatenation assignment $x .= $y Appends $y to $x 80 | */ 81 | 82 | ++$x; 83 | echo $x."
"; 84 | $x .= " ha ha ha"; 85 | echo $x."
"; 86 | 87 | /** 88 | * string functions 89 | * strlen() 90 | * str_word_count() 91 | * strrev() 92 | * strpos() 93 | * str_replace() 94 | * strtoupper() 95 | * strtolower() 96 | * ucfirst() 97 | * ucwords() 98 | * str_shuffle() 99 | * substr() 100 | */ 101 | 102 | $m = "Hello world!"; 103 | echo strlen($m)."
"; // Outputs: 12 104 | echo str_word_count($m)."
"; // Outputs: 2 105 | echo strrev($m)."
"; // Outputs: !dlroW olleH 106 | echo strpos($m, "World")."
"; // Outputs: 6 107 | echo str_replace("World", "Bangladesh", $m)."
"; // Outputs: Hello Dolly! 108 | echo strtoupper($m)."
"; // Outputs: HELLO WORLD! 109 | echo strtolower($m)."
"; // Outputs: hello world! 110 | echo ucfirst($m)."
"; // Outputs: Hello world! 111 | echo ucwords($m)."
"; // Outputs: Hello World! 112 | echo str_shuffle($m)."
"; // Outputs: random shuffling of the string 113 | echo substr($m, 6, 5)."
"; // Outputs: world! 114 | 115 | $capitalLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; 116 | $smallLetters = "abcdefghijklmnopqrstuvwxyz"; 117 | $numbers = "0123456789"; 118 | $specialChars = "!@#$%^&*()_+{}[]|:<>?"; 119 | 120 | ?> -------------------------------------------------------------------------------- /project/admin/js/rangle-slider/rangle-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | var initialSpark = 60; 5 | var sparkTooltip = function(event, ui) { 6 | var curSpark = ui.value || initialSpark 7 | var sparktip = '' + curSpark + ''; 8 | $(this).find('.ui-slider-handle').html(sparktip); 9 | } 10 | 11 | $("#slider9").slider({ 12 | orientation: "vertical", 13 | range: "min", 14 | min: 1, 15 | max: 100, 16 | step: 1, 17 | value: initialSpark, 18 | create: sparkTooltip, 19 | slide: sparkTooltip 20 | }); 21 | 22 | 23 | 24 | $("#slider6").slider({ 25 | orientation: "vertical", 26 | range: "min", 27 | min: 0, 28 | max: 100, 29 | value: 60, 30 | slide: function(event, ui) { 31 | $("#volume").val(ui.value); 32 | } 33 | }); 34 | 35 | $("#volume").val( 36 | $("#slider6").slider("value") 37 | ); 38 | 39 | $("#slider7").slider({ 40 | orientation: "vertical", 41 | range: true, 42 | values: [27, 67], 43 | slide: function(event, ui) { 44 | $("#sales").val("$" + ui.values[0] + " - $" + ui.values[1]); 45 | } 46 | }); 47 | $("#sales").val( "$" + $("#slider7").slider("values", 0) + " - $" + $("#slider7").slider("values", 1)); 48 | 49 | $("#eq > .sliderv-wrapper").each(function() { 50 | var value = parseInt($(this).text(), 10); 51 | $(this).empty().slider({ 52 | value: value, 53 | range: "min", 54 | animate: true, 55 | orientation: "vertical" 56 | }); 57 | }); 58 | 59 | $("#eq2 > .sliderv-wrapper").each(function() { 60 | var value = parseInt($(this).text(), 10); 61 | $(this).empty().slider({ 62 | value: value, 63 | range: "min", 64 | animate: true, 65 | orientation: "vertical" 66 | }); 67 | }); 68 | 69 | var initialYear = 1980; 70 | var yearTooltip = function(event, ui) { 71 | var curYear = ui.value || initialYear 72 | var yeartip = '' + curYear + ''; 73 | $(this).find('.ui-slider-handle').html(yeartip); 74 | } 75 | 76 | $("#slider10").slider({ 77 | value: initialYear, 78 | range: "min", 79 | min: 1950, 80 | max: 2020, 81 | step: 1, 82 | create: yearTooltip, 83 | slide: yearTooltip 84 | }); 85 | 86 | 87 | 88 | $('#slider8').slider({ 89 | range: true, 90 | values: [500, 1500], 91 | min: 10, 92 | max: 2000, 93 | step: 10, 94 | slide: function(event, ui) { 95 | $("#budget").val("$" + ui.values[0] + " - $" + ui.values[1]); 96 | } 97 | }); 98 | $("#budget").val("$" + $("#slider8").slider("values", 0) + " - $" + $("#slider8").slider("values", 1)); 99 | 100 | 101 | 102 | $("#slider").slider({ 103 | range: "min", 104 | min: 10, 105 | max: 100, 106 | value: 80 107 | }); 108 | $("#slider1").slider({ 109 | range: true, 110 | values: [17, 83] 111 | }); 112 | 113 | $( "#slider2" ).slider({ 114 | range: "min", 115 | value: 140, 116 | min: 1, 117 | max: 800, 118 | slide: function(event, ui) { 119 | $("#amount").val("$" + ui.value); 120 | } 121 | }); 122 | 123 | $("#amount").val( 124 | "$" + $("#slider2").slider("value") 125 | ); 126 | 127 | $("#slider3").slider({ 128 | range: "max", 129 | min: 1, 130 | max: 10, 131 | value: 2, 132 | slide: function(event, ui) { 133 | $("#bedrooms").val(ui.value); 134 | } 135 | }); 136 | 137 | $("#bedrooms").val( 138 | $("#slider3").slider("value") 139 | ); 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | })(jQuery); -------------------------------------------------------------------------------- /project/change-password.php: -------------------------------------------------------------------------------- 1 | real_escape_string(safeData($_POST['oldPassword'])); 9 | $newPassword = $conn->real_escape_string(safeData($_POST['newPassword'])); 10 | $confirmNewPassword = $_POST['confirmNewPassword']; 11 | 12 | if($newPassword != $confirmNewPassword){ 13 | echo ""; 14 | }elseif($oldPassword == $newPassword){ 15 | echo ""; 16 | }else{ 17 | $sql = "SELECT * FROM users WHERE id = ".$_SESSION['user']['id']; 18 | $result = $conn->query($sql); 19 | if($result->num_rows > 0){ 20 | $row = $result->fetch_assoc(); 21 | if(!password_verify($oldPassword, $row['password'])){ 22 | echo ""; 23 | }else{ 24 | $newPassword = password_hash($newPassword, PASSWORD_BCRYPT); 25 | $sql = "UPDATE users SET password = '$newPassword' WHERE id = ".$_SESSION['user']['id']; 26 | if($conn->query($sql) === TRUE){ 27 | echo ""; 28 | }else{ 29 | echo ""; 30 | } 31 | } 32 | } 33 | } 34 | } 35 | ?> 36 |
37 |
38 |
39 |

Change Password

40 |
41 |
42 | 43 |
44 |
45 | 46 |
47 |
48 | 49 |
50 |
51 | 54 |
55 | 56 |
57 |
58 |
59 |
60 | 77 | -------------------------------------------------------------------------------- /project/register.php: -------------------------------------------------------------------------------- 1 | location.href='./'"; 5 | } 6 | if (isset($_POST['register'])) { 7 | $yourName = $conn->real_escape_string(safeData($_POST['yourName'])); 8 | $yourEmail = $conn->real_escape_string(safeData($_POST['yourEmail'])); 9 | $yourPassword = $conn->real_escape_string(safeData($_POST['yourPassword'])); 10 | $confirmPassword = $_POST['confirmPassword']; 11 | $sql = "SELECT * FROM users WHERE email='$yourEmail'"; 12 | $result = $conn->query($sql); 13 | if ($result->num_rows > 0) { 14 | echo ""; 15 | } elseif(!filter_var($yourEmail, FILTER_VALIDATE_EMAIL)){ 16 | echo ""; 17 | } else { 18 | if ($yourPassword == $confirmPassword) { 19 | $yourPassword = password_hash($yourPassword, PASSWORD_BCRYPT); 20 | $sql = "INSERT INTO users (name, email, password) VALUES ('$yourName', '$yourEmail', '$yourPassword')"; 21 | if ($conn->query($sql) === TRUE) { 22 | echo ""; 23 | } else { 24 | echo ""; 25 | } 26 | } else { 27 | echo ""; 28 | } 29 | } 30 | } 31 | ?> 32 |
33 |
34 |
35 |

Register

36 |
37 |
38 | 39 | 40 |
41 |
42 | 43 | 44 |
45 |
46 | 47 | 48 |
49 |
50 | 51 | 52 |
53 |
54 | 57 |
58 | 59 |
60 | 61 |
62 | Already have an account? Login Here 63 |
64 |
65 |
66 |
67 | 80 | -------------------------------------------------------------------------------- /project/admin/headder.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | Dashboard V.1 | Nalika - Material Admin Template 16 | 17 | 18 | 20 | 21 | 23 | 24 | 26 | 27 | 29 | 30 | 32 | 33 | 35 | 36 | 38 | 39 | 41 | 42 | 44 | 45 | 47 | 48 | 50 | 51 | 53 | 54 | 55 | 57 | 58 | 59 | 61 | 62 | 64 | 65 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /d9 - bootstrap.php: -------------------------------------------------------------------------------- 1 | 5 |
6 |
7 |
8 |
9 |
10 |
11 | 12 |
13 |
14 |
15 | 18 |
19 |
20 | 23 |
24 |
25 | 28 |
29 |
30 |
31 |
32 | 35 |
36 |
37 | 40 |
41 |
42 | 45 |
46 |
47 | 48 |
49 |
50 |
51 |
52 | 53 | 54 | 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 |
S.N.NameGenderCity
01AsifMaleDhaka
02AbirMaleDhaka
03KamalMaleDhaka
04JamalMaleDhaka
84 |
85 |
86 |
87 | 90 | -------------------------------------------------------------------------------- /project/admin/js/charts/rounded-chart.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | /*----------------------------------------*/ 5 | /* 1. pie Chart 6 | /*----------------------------------------*/ 7 | var ctx = document.getElementById("piechart"); 8 | var piechart = new Chart(ctx, { 9 | type: 'pie', 10 | data: { 11 | labels: ["Red", "Orange", "Yellow", "Green", "Blue"], 12 | datasets: [{ 13 | label: 'pie Chart', 14 | backgroundColor: [ 15 | 'rgb(255, 99, 132)', 16 | 'rgb(255, 159, 64)', 17 | 'rgb(255, 205, 86)', 18 | '#03a9f4', 19 | '#303030' 20 | ], 21 | data: [10, 20, 30, 40, 60] 22 | }] 23 | }, 24 | options: { 25 | responsive: true 26 | } 27 | }); 28 | /*----------------------------------------*/ 29 | /* 2. polar Chart 30 | /*----------------------------------------*/ 31 | var ctx = document.getElementById("polarchart"); 32 | var polarchart = new Chart(ctx, { 33 | type: 'polarArea', 34 | data: { 35 | labels: ["Red", "Orange", "Yellow", "Green", "Blue"], 36 | datasets: [{ 37 | label: 'pie Chart', 38 | data: [10, 20, 30, 40, 60], 39 | backgroundColor: [ 40 | 'rgb(255, 99, 132)', 41 | 'rgb(255, 159, 64)', 42 | 'rgb(255, 205, 86)', 43 | '#03a9f4', 44 | 'rgb(201, 203, 207)' 45 | ], 46 | 47 | }] 48 | }, 49 | options: { 50 | responsive: true, 51 | legend: { 52 | position: 'right', 53 | }, 54 | title: { 55 | display: true, 56 | text: 'Polar Chart' 57 | }, 58 | scale: { 59 | ticks: { 60 | beginAtZero: true 61 | }, 62 | reverse: false 63 | }, 64 | animation: { 65 | animateRotate: false, 66 | animateScale: true 67 | } 68 | } 69 | }); 70 | 71 | /*----------------------------------------*/ 72 | /* 3. radar Chart 73 | /*----------------------------------------*/ 74 | var ctx = document.getElementById("radarchart"); 75 | var radarchart = new Chart(ctx, { 76 | type: 'radar', 77 | data: { 78 | labels: ["Design", "Development", "Graphic", "Android", "Games"], 79 | datasets: [{ 80 | label: "My First dataset", 81 | data: [90, 20, 30, 40, 10], 82 | backgroundColor: 'rgb(255, 99, 132)', 83 | borderColor: 'rgb(255, 99, 132)', 84 | pointBackgroundColor: '#ff0000', 85 | 86 | },{ 87 | label: "My Second dataset", 88 | data: [50, 20, 10, 30, 90], 89 | backgroundColor: 'rgb(255, 159, 64)', 90 | borderColor: 'rgb(255, 159, 64)', 91 | pointBackgroundColor: '#ff0000', 92 | 93 | }] 94 | }, 95 | options: { 96 | legend: { 97 | position: 'top', 98 | }, 99 | title: { 100 | display: true, 101 | text: 'Radar Chart' 102 | }, 103 | scale: { 104 | ticks: { 105 | beginAtZero: true 106 | } 107 | } 108 | } 109 | }); 110 | /*----------------------------------------*/ 111 | /* 3. Doughnut Chart 112 | /*----------------------------------------*/ 113 | var ctx = document.getElementById("Doughnutchart"); 114 | var Doughnutchart = new Chart(ctx, { 115 | type: 'radar', 116 | data: { 117 | labels: ["Red", "Orange", "Yellow", "Green", "Blue"], 118 | datasets: [{ 119 | label: 'Dataset 1', 120 | data: [10, 20, 30, 40, 90], 121 | backgroundColor: 'rgb(255, 99, 132)' 122 | 123 | }] 124 | }, 125 | options: { 126 | responsive: true, 127 | legend: { 128 | position: 'top', 129 | }, 130 | title: { 131 | display: true, 132 | text: 'Doughnut Chart' 133 | }, 134 | animation: { 135 | animateScale: true, 136 | animateRotate: true 137 | } 138 | } 139 | }); 140 | 141 | 142 | 143 | 144 | 145 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/js/c3-charts/c3-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | 5 | c3.generate({ 6 | bindto: '#lineChart', 7 | data:{ 8 | columns: [ 9 | ['data1', 30, 200, 100, 400, 150, 250], 10 | ['data2', 50, 20, 10, 40, 15, 25] 11 | ], 12 | colors:{ 13 | data1: '#03a9f4', 14 | data2: '#303030' 15 | } 16 | } 17 | }); 18 | 19 | c3.generate({ 20 | bindto: '#slineChart', 21 | data:{ 22 | columns: [ 23 | ['data1', 30, 200, 100, 400, 150, 250], 24 | ['data2', 130, 100, 140, 200, 150, 50] 25 | ], 26 | colors:{ 27 | data1: '#03a9f4', 28 | data2: '#303030' 29 | }, 30 | type: 'spline' 31 | } 32 | }); 33 | 34 | c3.generate({ 35 | bindto: '#scatter', 36 | data:{ 37 | xs:{ 38 | data1: 'data1_x', 39 | data2: 'data2_x' 40 | }, 41 | columns: [ 42 | ["data1_x", 3.2, 3.2, 3.1, 2.3, 2.8, 2.8, 3.3, 2.4, 2.9, 2.7, 2.0, 3.0, 2.2, 2.9, 2.9, 3.1, 3.0, 2.7, 2.2, 2.5, 3.2, 2.8, 2.5, 2.8, 2.9, 3.0, 2.8, 3.0, 2.9, 2.6, 2.4, 2.4, 2.7, 2.7, 3.0, 3.4, 3.1, 2.3, 3.0, 2.5, 2.6, 3.0, 2.6, 2.3, 2.7, 3.0, 2.9, 2.9, 2.5, 2.8], 43 | ["data2_x", 3.3, 2.7, 3.0, 2.9, 3.0, 3.0, 2.5, 2.9, 2.5, 3.6, 3.2, 2.7, 3.0, 2.5, 2.8, 3.2, 3.0, 3.8, 2.6, 2.2, 3.2, 2.8, 2.8, 2.7, 3.3, 3.2, 2.8, 3.0, 2.8, 3.0, 2.8, 3.8, 2.8, 2.8, 2.6, 3.0, 3.4, 3.1, 3.0, 3.1, 3.1, 3.1, 2.7, 3.2, 3.3, 3.0, 2.5, 3.0, 3.4, 3.0], 44 | ["data1", 1.4, 1.5, 1.5, 1.3, 1.5, 1.3, 1.6, 1.0, 1.3, 1.4, 1.0, 1.5, 1.0, 1.4, 1.3, 1.4, 1.5, 1.0, 1.5, 1.1, 1.8, 1.3, 1.5, 1.2, 1.3, 1.4, 1.4, 1.7, 1.5, 1.0, 1.1, 1.0, 1.2, 1.6, 1.5, 1.6, 1.5, 1.3, 1.3, 1.3, 1.2, 1.4, 1.2, 1.0, 1.3, 1.2, 1.3, 1.3, 1.1, 1.3], 45 | ["data2", 2.5, 1.9, 2.1, 1.8, 2.2, 2.1, 1.7, 1.8, 1.8, 2.5, 2.0, 1.9, 2.1, 2.0, 2.4, 2.3, 1.8, 2.2, 2.3, 1.5, 2.3, 2.0, 2.0, 1.8, 2.1, 1.8, 1.8, 1.8, 2.1, 1.6, 1.9, 2.0, 2.2, 1.5, 1.4, 2.3, 2.4, 1.8, 1.8, 2.1, 2.4, 2.3, 1.9, 2.3, 2.5, 2.3, 1.9, 2.0, 2.3, 1.8] 46 | ], 47 | colors:{ 48 | data1: '#03a9f4', 49 | data2: '#303030' 50 | }, 51 | type: 'scatter' 52 | } 53 | }); 54 | 55 | c3.generate({ 56 | bindto: '#stocked', 57 | data:{ 58 | columns: [ 59 | ['data1', 30,200,100,400,150,250], 60 | ['data2', 50,20,10,40,15,25] 61 | ], 62 | colors:{ 63 | data1: '#03a9f4', 64 | data2: '#303030' 65 | }, 66 | type: 'bar', 67 | groups: [ 68 | ['data1', 'data2'] 69 | ] 70 | } 71 | }); 72 | 73 | c3.generate({ 74 | bindto: '#gauge', 75 | data:{ 76 | columns: [ 77 | ['data', 91.4] 78 | ], 79 | 80 | type: 'gauge' 81 | }, 82 | color:{ 83 | pattern: ['#03a9f4', '#303030'] 84 | 85 | } 86 | }); 87 | 88 | c3.generate({ 89 | bindto: '#pie', 90 | data:{ 91 | columns: [ 92 | ['data1', 30], 93 | ['data2', 120] 94 | ], 95 | colors:{ 96 | data1: '#03a9f4', 97 | data2: '#303030' 98 | }, 99 | type : 'pie' 100 | } 101 | }); 102 | 103 | 104 | 105 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/js/sparkline/sparkline-active.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $("#sparkline1").sparkline([34, 43, 43, 35, 44, 32, 44, 52, 25], { 5 | type: 'line', 6 | lineColor: '#17997f', 7 | lineWidth: 1, 8 | barSpacing: '100px', 9 | fillColor: '#03a9f4', 10 | }); 11 | $("#sparkline2").sparkline([-4, -2, 2, 0, 4, 5, 6, 7], { 12 | type: 'bar', 13 | barColor: '#03a9f4', 14 | negBarColor: '#303030'}); 15 | 16 | $("#sparkline3").sparkline([1, 1, 2], { 17 | type: 'pie', 18 | sliceColors: ['#03a9f4', '#303030', '#ff9999']}); 19 | 20 | $("#sparklinedask1").sparkline([1, 3, 2], { 21 | type: 'pie', 22 | width: '80', 23 | height: '80', 24 | sliceColors: ['#03a9f4', '#303030', '#ff9999']}); 25 | 26 | $("#sparklinedask2").sparkline([1, 1, 2], { 27 | type: 'pie', 28 | width: '80', 29 | height: '80', 30 | sliceColors: ['#03a9f4', '#303030', '#ff9999']}); 31 | 32 | $("#sparkline4").sparkline([34, 43, 43, 35, 44, 32, 15, 22, 46, 33, 86, 54, 73, 53, 12, 53, 23, 65, 23, 63, 53, 42, 34, 56, 76, 15, 54, 23, 44], { 33 | type: 'line', 34 | lineColor: '#03a9f4', 35 | fillColor: '#ffffff', 36 | }); 37 | 38 | $("#sparkline5").sparkline([1, 1, 0, 1, 1, 1, 1, 1, -1, -2, -3, -4], { 39 | type: 'tristate', 40 | posBarColor: '#03a9f4', 41 | negBarColor: '#303030'}); 42 | 43 | 44 | $("#sparkline6").sparkline([4, 6, 7, 7, 4, 3, 2, 1, 4, 4, 5, 6, 3, 4, 5, 8, 7, 6, 9, 3, 2, 4, 1, 5, 6, 4, 3, 7, ], { 45 | type: 'discrete', 46 | lineColor: '#03a9f4'}); 47 | 48 | $("#sparkline7").sparkline([52, 12, 44], { 49 | type: 'pie', 50 | height: '150px', 51 | sliceColors: ['#03a9f4', '#303030', '#e4f0fb']}); 52 | 53 | $("#sparkline8").sparkline([5, 6, 7, 2, 0, 4, 2, 4, 5, 7, 2, 4, 12, 14, 4, 2, 14, 12, 7], { 54 | type: 'bar', 55 | barWidth: 8, 56 | height: '150px', 57 | barColor: '#03a9f4', 58 | negBarColor: '#303030'}); 59 | 60 | $("#sparkline9").sparkline([34, 43, 43, 35, 44, 32, 15, 22, 46, 33, 86, 54, 73, 53, 12, 53, 23, 65, 23, 63, 53, 42, 34, 56, 76, 15, 54, 23, 44], { 61 | type: 'line', 62 | lineWidth: 1, 63 | width: '150px', 64 | height: '150px', 65 | lineColor: '#999', 66 | fillColor: '#03a9f4', 67 | }); 68 | 69 | $('.sparklineadminpro').sparkline([ [1], [2], [3], [4, 2], [3], [5, 3] ], { type: 'bar', barColor: '#03a9f4', 70 | negBarColor: '#303030',}); 71 | 72 | 73 | 74 | 75 | var sparklineCharts = function(){ 76 | $("#sparkline22").sparkline([34, 43, 43, 35, 44, 32, 44, 52], { 77 | type: 'line', 78 | width: '100%', 79 | height: '60', 80 | lineColor: '#1ab394', 81 | fillColor: "#ebebeb" 82 | }); 83 | 84 | $("#sparkline23").sparkline([24, 43, 43, 55, 44, 62, 44, 72], { 85 | type: 'line', 86 | width: '100%', 87 | height: '60', 88 | lineColor: '#1ab394', 89 | fillColor: "#ebebeb" 90 | }); 91 | 92 | $("#sparkline24").sparkline([74, 43, 23, 55, 54, 32, 24, 12], { 93 | type: 'line', 94 | width: '100%', 95 | height: '60', 96 | lineColor: '#ed5565', 97 | fillColor: "#ebebeb" 98 | }); 99 | 100 | $("#sparkline25").sparkline([24, 43, 33, 55, 64, 72, 44, 22], { 101 | type: 'line', 102 | width: '100%', 103 | height: '60', 104 | lineColor: '#ed5565', 105 | fillColor: "#ebebeb" 106 | }); 107 | 108 | $("#sparkline51").sparkline([1, 4], { 109 | type: 'pie', 110 | height: '140', 111 | sliceColors: ['#1ab394', '#ebebeb'] 112 | }); 113 | 114 | $("#sparkline52").sparkline([5, 3], { 115 | type: 'pie', 116 | height: '140', 117 | sliceColors: ['#1ab394', '#ebebeb'] 118 | }); 119 | 120 | $("#sparkline53").sparkline([2, 2], { 121 | type: 'pie', 122 | height: '140', 123 | sliceColors: ['#ed5565', '#ebebeb'] 124 | }); 125 | 126 | $("#sparkline54").sparkline([2, 3], { 127 | type: 'pie', 128 | height: '140', 129 | sliceColors: ['#ed5565', '#ebebeb'] 130 | }); 131 | }; 132 | 133 | var sparkResize; 134 | 135 | $(window).resize(function(e) { 136 | clearTimeout(sparkResize); 137 | sparkResize = setTimeout(sparklineCharts, 500); 138 | }); 139 | 140 | sparklineCharts(); 141 | 142 | 143 | 144 | 145 | 146 | })(jQuery); -------------------------------------------------------------------------------- /project/admin/sidebar.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/admin/js/tab.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: tab.js v3.3.7 3 | * http://getbootstrap.com/javascript/#tabs 4 | * ======================================================================== 5 | * Copyright 2011-2016 Twitter, Inc. 6 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 7 | * ======================================================================== */ 8 | 9 | 10 | +function ($) { 11 | 'use strict'; 12 | 13 | // TAB CLASS DEFINITION 14 | // ==================== 15 | 16 | var Tab = function (element) { 17 | // jscs:disable requireDollarBeforejQueryAssignment 18 | this.element = $(element) 19 | // jscs:enable requireDollarBeforejQueryAssignment 20 | } 21 | 22 | Tab.VERSION = '3.3.7' 23 | 24 | Tab.TRANSITION_DURATION = 150 25 | 26 | Tab.prototype.show = function () { 27 | var $this = this.element 28 | var $ul = $this.closest('ul:not(.dropdown-menu)') 29 | var selector = $this.data('target') 30 | 31 | if (!selector) { 32 | selector = $this.attr('href') 33 | selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 34 | } 35 | 36 | if ($this.parent('li').hasClass('active')) return 37 | 38 | var $previous = $ul.find('.active:last a') 39 | var hideEvent = $.Event('hide.bs.tab', { 40 | relatedTarget: $this[0] 41 | }) 42 | var showEvent = $.Event('show.bs.tab', { 43 | relatedTarget: $previous[0] 44 | }) 45 | 46 | $previous.trigger(hideEvent) 47 | $this.trigger(showEvent) 48 | 49 | if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return 50 | 51 | var $target = $(selector) 52 | 53 | this.activate($this.closest('li'), $ul) 54 | this.activate($target, $target.parent(), function () { 55 | $previous.trigger({ 56 | type: 'hidden.bs.tab', 57 | relatedTarget: $this[0] 58 | }) 59 | $this.trigger({ 60 | type: 'shown.bs.tab', 61 | relatedTarget: $previous[0] 62 | }) 63 | }) 64 | } 65 | 66 | Tab.prototype.activate = function (element, container, callback) { 67 | var $active = container.find('> .active') 68 | var transition = callback 69 | && $.support.transition 70 | && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length) 71 | 72 | function next() { 73 | $active 74 | .removeClass('active') 75 | .find('> .dropdown-menu > .active') 76 | .removeClass('active') 77 | .end() 78 | .find('[data-toggle="tab"]') 79 | .attr('aria-expanded', false) 80 | 81 | element 82 | .addClass('active') 83 | .find('[data-toggle="tab"]') 84 | .attr('aria-expanded', true) 85 | 86 | if (transition) { 87 | element[0].offsetWidth // reflow for transition 88 | element.addClass('in') 89 | } else { 90 | element.removeClass('fade') 91 | } 92 | 93 | if (element.parent('.dropdown-menu').length) { 94 | element 95 | .closest('li.dropdown') 96 | .addClass('active') 97 | .end() 98 | .find('[data-toggle="tab"]') 99 | .attr('aria-expanded', true) 100 | } 101 | 102 | callback && callback() 103 | } 104 | 105 | $active.length && transition ? 106 | $active 107 | .one('bsTransitionEnd', next) 108 | .emulateTransitionEnd(Tab.TRANSITION_DURATION) : 109 | next() 110 | 111 | $active.removeClass('in') 112 | } 113 | 114 | 115 | // TAB PLUGIN DEFINITION 116 | // ===================== 117 | 118 | function Plugin(option) { 119 | return this.each(function () { 120 | var $this = $(this) 121 | var data = $this.data('bs.tab') 122 | 123 | if (!data) $this.data('bs.tab', (data = new Tab(this))) 124 | if (typeof option == 'string') data[option]() 125 | }) 126 | } 127 | 128 | var old = $.fn.tab 129 | 130 | $.fn.tab = Plugin 131 | $.fn.tab.Constructor = Tab 132 | 133 | 134 | // TAB NO CONFLICT 135 | // =============== 136 | 137 | $.fn.tab.noConflict = function () { 138 | $.fn.tab = old 139 | return this 140 | } 141 | 142 | 143 | // TAB DATA-API 144 | // ============ 145 | 146 | var clickHandler = function (e) { 147 | e.preventDefault() 148 | Plugin.call($(this), 'show') 149 | } 150 | 151 | $(document) 152 | .on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler) 153 | .on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler) 154 | 155 | }(jQuery); -------------------------------------------------------------------------------- /project/admin/js/tree-line/jstree.active.js: -------------------------------------------------------------------------------- 1 | 2 | (function ($) { 3 | "use strict"; 4 | 5 | 6 | $('#jstree1').jstree({ 7 | 'core' : { 8 | 'check_callback' : true 9 | }, 10 | 'plugins' : [ 'types', 'dnd' ], 11 | 'types' : { 12 | 'default' : { 13 | 'icon' : 'fa fa-folder' 14 | }, 15 | 'html' : { 16 | 'icon' : 'fa fa-file-code-o' 17 | }, 18 | 'svg' : { 19 | 'icon' : 'fa fa-file-picture-o' 20 | }, 21 | 'css' : { 22 | 'icon' : 'fa fa-file-code-o' 23 | }, 24 | 'img' : { 25 | 'icon' : 'fa fa-file-image-o' 26 | }, 27 | 'js' : { 28 | 'icon' : 'fa fa-file-text-o' 29 | } 30 | 31 | } 32 | }); 33 | 34 | $('#using_json').jstree({ 35 | 'core' : { 36 | 'data' : [ 37 | 'Empty Folder', 38 | { 39 | 'text': 'Resources', 40 | 'state': { 41 | 'opened': true 42 | }, 43 | 'children': [ 44 | { 45 | 'text': 'css', 46 | 'children': [ 47 | { 48 | 'text': 'animate.css', 'icon': 'none' 49 | }, 50 | { 51 | 'text': 'bootstrap.css', 'icon': 'none' 52 | }, 53 | { 54 | 'text': 'main.css', 'icon': 'none' 55 | }, 56 | { 57 | 'text': 'style.css', 'icon': 'none' 58 | } 59 | ], 60 | 'state': { 61 | 'opened': true 62 | } 63 | }, 64 | { 65 | 'text': 'js', 66 | 'children': [ 67 | { 68 | 'text': 'bootstrap.js', 'icon': 'none' 69 | }, 70 | { 71 | 'text': 'inspinia.min.js', 'icon': 'none' 72 | }, 73 | { 74 | 'text': 'jquery.min.js', 'icon': 'none' 75 | }, 76 | { 77 | 'text': 'jsTree.min.js', 'icon': 'none' 78 | }, 79 | { 80 | 'text': 'custom.min.js', 'icon': 'none' 81 | } 82 | ], 83 | 'state': { 84 | 'opened': true 85 | } 86 | }, 87 | { 88 | 'text': 'html', 89 | 'children': [ 90 | { 91 | 'text': 'layout.html', 'icon': 'none' 92 | }, 93 | { 94 | 'text': 'navigation.html', 'icon': 'none' 95 | }, 96 | { 97 | 'text': 'navbar.html', 'icon': 'none' 98 | }, 99 | { 100 | 'text': 'footer.html', 'icon': 'none' 101 | }, 102 | { 103 | 'text': 'sidebar.html', 'icon': 'none' 104 | } 105 | ], 106 | 'state': { 107 | 'opened': true 108 | } 109 | } 110 | ] 111 | }, 112 | 'Fonts', 113 | 'Images', 114 | 'Scripts', 115 | 'Templates', 116 | ] 117 | } }); 118 | 119 | 120 | })(jQuery); 121 | -------------------------------------------------------------------------------- /project/admin/js/icheck/icheck.min.js: -------------------------------------------------------------------------------- 1 | /*! iCheck v1.0.2 by Damir Sultanov, http://git.io/arlzeA, MIT Licensed */ 2 | (function(f){function A(a,b,d){var c=a[0],g=/er/.test(d)?_indeterminate:/bl/.test(d)?n:k,e=d==_update?{checked:c[k],disabled:c[n],indeterminate:"true"==a.attr(_indeterminate)||"false"==a.attr(_determinate)}:c[g];if(/^(ch|di|in)/.test(d)&&!e)x(a,g);else if(/^(un|en|de)/.test(d)&&e)q(a,g);else if(d==_update)for(var f in e)e[f]?x(a,f,!0):q(a,f,!0);else if(!b||"toggle"==d){if(!b)a[_callback]("ifClicked");e?c[_type]!==r&&q(a,g):x(a,g)}}function x(a,b,d){var c=a[0],g=a.parent(),e=b==k,u=b==_indeterminate, 3 | v=b==n,s=u?_determinate:e?y:"enabled",F=l(a,s+t(c[_type])),B=l(a,b+t(c[_type]));if(!0!==c[b]){if(!d&&b==k&&c[_type]==r&&c.name){var w=a.closest("form"),p='input[name="'+c.name+'"]',p=w.length?w.find(p):f(p);p.each(function(){this!==c&&f(this).data(m)&&q(f(this),b)})}u?(c[b]=!0,c[k]&&q(a,k,"force")):(d||(c[b]=!0),e&&c[_indeterminate]&&q(a,_indeterminate,!1));D(a,e,b,d)}c[n]&&l(a,_cursor,!0)&&g.find("."+C).css(_cursor,"default");g[_add](B||l(a,b)||"");g.attr("role")&&!u&&g.attr("aria-"+(v?n:k),"true"); 4 | g[_remove](F||l(a,s)||"")}function q(a,b,d){var c=a[0],g=a.parent(),e=b==k,f=b==_indeterminate,m=b==n,s=f?_determinate:e?y:"enabled",q=l(a,s+t(c[_type])),r=l(a,b+t(c[_type]));if(!1!==c[b]){if(f||!d||"force"==d)c[b]=!1;D(a,e,s,d)}!c[n]&&l(a,_cursor,!0)&&g.find("."+C).css(_cursor,"pointer");g[_remove](r||l(a,b)||"");g.attr("role")&&!f&&g.attr("aria-"+(m?n:k),"false");g[_add](q||l(a,s)||"")}function E(a,b){if(a.data(m)){a.parent().html(a.attr("style",a.data(m).s||""));if(b)a[_callback](b);a.off(".i").unwrap(); 5 | f(_label+'[for="'+a[0].id+'"]').add(a.closest(_label)).off(".i")}}function l(a,b,f){if(a.data(m))return a.data(m).o[b+(f?"":"Class")]}function t(a){return a.charAt(0).toUpperCase()+a.slice(1)}function D(a,b,f,c){if(!c){if(b)a[_callback]("ifToggled");a[_callback]("ifChanged")[_callback]("if"+t(f))}}var m="iCheck",C=m+"-helper",r="radio",k="checked",y="un"+k,n="disabled";_determinate="determinate";_indeterminate="in"+_determinate;_update="update";_type="type";_click="click";_touch="touchbegin.i touchend.i"; 6 | _add="addClass";_remove="removeClass";_callback="trigger";_label="label";_cursor="cursor";_mobile=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);f.fn[m]=function(a,b){var d='input[type="checkbox"], input[type="'+r+'"]',c=f(),g=function(a){a.each(function(){var a=f(this);c=a.is(d)?c.add(a):c.add(a.find(d))})};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(a))return a=a.toLowerCase(),g(this),c.each(function(){var c= 7 | f(this);"destroy"==a?E(c,"ifDestroyed"):A(c,!0,a);f.isFunction(b)&&b()});if("object"!=typeof a&&a)return this;var e=f.extend({checkedClass:k,disabledClass:n,indeterminateClass:_indeterminate,labelHover:!0},a),l=e.handle,v=e.hoverClass||"hover",s=e.focusClass||"focus",t=e.activeClass||"active",B=!!e.labelHover,w=e.labelHoverClass||"hover",p=(""+e.increaseArea).replace("%","")|0;if("checkbox"==l||l==r)d='input[type="'+l+'"]';-50>p&&(p=-50);g(this);return c.each(function(){var a=f(this);E(a);var c=this, 8 | b=c.id,g=-p+"%",d=100+2*p+"%",d={position:"absolute",top:g,left:g,display:"block",width:d,height:d,margin:0,padding:0,background:"#fff",border:0,opacity:0},g=_mobile?{position:"absolute",visibility:"hidden"}:p?d:{position:"absolute",opacity:0},l="checkbox"==c[_type]?e.checkboxClass||"icheckbox":e.radioClass||"i"+r,z=f(_label+'[for="'+b+'"]').add(a.closest(_label)),u=!!e.aria,y=m+"-"+Math.random().toString(36).substr(2,6),h='
")[_callback]("ifCreated").parent().append(e.insert);d=f('').css(d).appendTo(h);a.data(m,{o:e,s:a.attr("style")}).css(g);e.inheritClass&&h[_add](c.className||"");e.inheritID&&b&&h.attr("id",m+"-"+b);"static"==h.css("position")&&h.css("position","relative");A(a,!0,_update);if(z.length)z.on(_click+".i mouseover.i mouseout.i "+_touch,function(b){var d=b[_type],e=f(this);if(!c[n]){if(d==_click){if(f(b.target).is("a"))return; 10 | A(a,!1,!0)}else B&&(/ut|nd/.test(d)?(h[_remove](v),e[_remove](w)):(h[_add](v),e[_add](w)));if(_mobile)b.stopPropagation();else return!1}});a.on(_click+".i focus.i blur.i keyup.i keydown.i keypress.i",function(b){var d=b[_type];b=b.keyCode;if(d==_click)return!1;if("keydown"==d&&32==b)return c[_type]==r&&c[k]||(c[k]?q(a,k):x(a,k)),!1;if("keyup"==d&&c[_type]==r)!c[k]&&x(a,k);else if(/us|ur/.test(d))h["blur"==d?_remove:_add](s)});d.on(_click+" mousedown mouseup mouseover mouseout "+_touch,function(b){var d= 11 | b[_type],e=/wn|up/.test(d)?t:v;if(!c[n]){if(d==_click)A(a,!1,!0);else{if(/wn|er|in/.test(d))h[_add](e);else h[_remove](e+" "+t);if(z.length&&B&&e==v)z[/ut|nd/.test(d)?_remove:_add](w)}if(_mobile)b.stopPropagation();else return!1}})})}})(window.jQuery||window.Zepto); -------------------------------------------------------------------------------- /project/admin/css/editor/x-editor-style.css: -------------------------------------------------------------------------------- 1 | .x-editor-custom .popover{ 2 | border-radius: 0px; 3 | font-family: 'Open Sans', sans-serif; 4 | border: 1px solid #03a9f4; 5 | padding:0px; 6 | } 7 | .x-editor-custom .input-sm{ 8 | font-size:13px; 9 | border-radius: 0px; 10 | } 11 | .x-editor-custom .form-control:focus{ 12 | font-size:13px; 13 | border-radius: 0px; 14 | box-shadow: none; 15 | border-color: #03a9f4; 16 | } 17 | .x-editor-custom .form-control{ 18 | border-radius: 0px; 19 | } 20 | .x-editor-custom .btn-primary{ 21 | background-color: #03a9f4; 22 | border-color: #03a9f4; 23 | } 24 | .x-editor-custom .btn-default{ 25 | background-color: #303030; 26 | border-color: #303030; 27 | color:#fff; 28 | } 29 | .x-editor-custom .btn-primary:hover, .x-editor-custom .btn-primary:focus{ 30 | background-color: #303030; 31 | border-color: #303030; 32 | } 33 | .x-editor-custom .btn-default:hover, .x-editor-custom .btn-default:focus{ 34 | background-color: #03a9f4; 35 | border-color: #03a9f4; 36 | } 37 | .x-editor-custom .popover-title{ 38 | background:#03a9f4; 39 | color:#fff; 40 | border-radius: 0px; 41 | padding:10px 15px; 42 | } 43 | .x-editor-custom .datepicker table tr td.active, .x-editor-custom .datetimepicker table tr td.active{ 44 | background-color: #03a9f4; 45 | background-image: -moz-linear-gradient(top, #03a9f4, #03a9f4); 46 | background-image: -ms-linear-gradient(top, #03a9f4, #03a9f4); 47 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#03a9f4), to(#03a9f4)); 48 | background-image: -webkit-linear-gradient(top, #0088cc, #03a9f4); 49 | background-image: -o-linear-gradient(top, #0088cc, #03a9f4); 50 | background-image: linear-gradient(top, #0088cc, #03a9f4); 51 | background-repeat: repeat-x; 52 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#03a9f4', GradientType=0); 53 | border-color: #03a9f4 #03a9f4 #002a80; 54 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); 55 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); 56 | color: #fff; 57 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); 58 | } 59 | .x-editor-custom .select2-container .select2-choice{ 60 | border: 0px solid #aaa; 61 | color: #fff; 62 | border-radius: 0px; 63 | background-color: #03a9f4; 64 | background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #03a9f4), color-stop(0.5, #03a9f4)); 65 | background-image: -webkit-linear-gradient(center bottom, #03a9f4 0%, #03a9f4 50%); 66 | background-image: -moz-linear-gradient(center bottom, #03a9f4 0%, #03a9f4 50%); 67 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#03a9f4', endColorstr = '#03a9f4', GradientType = 0); 68 | background-image: linear-gradient(top, #03a9f4 0%, #03a9f4 50%); 69 | } 70 | .x-editor-custom .select2-container .select2-choice .select2-arrow{ 71 | border-left: 0px solid #aaa; 72 | border-radius: 0; 73 | background: #303030; 74 | background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #303030), color-stop(0.6, #303030)); 75 | background-image: -webkit-linear-gradient(center bottom, #303030 0%, #303030 60%); 76 | background-image: -moz-linear-gradient(center bottom, #303030 0%, #303030 60%); 77 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#303030', endColorstr = '#303030', GradientType = 0); 78 | background-image: linear-gradient(303030); 79 | } 80 | .x-editor-custom .select2-container-multi .select2-choices{ 81 | border: 1px solid #03a9f4; 82 | } 83 | .x-editor-custom .select2-container-multi .select2-choices .select2-search-choice{ 84 | color: #fff; 85 | border: 1px solid #03a9f4; 86 | border-radius: 0px; 87 | -webkit-box-shadow: 0 0 2px #03a9f4 inset, 0 1px 0 #03a9f4; 88 | box-shadow: 0 0 2px #03a9f4 inset, 0 1px 0 #03a9f4; 89 | background-color: #03a9f4; 90 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#03a9f4', endColorstr='#03a9f4', GradientType=0); 91 | background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #03a9f4), color-stop(50%, #03a9f4), color-stop(52%, #03a9f4), color-stop(100%, #03a9f4)); 92 | background-image: -webkit-linear-gradient(top, #03a9f4 20%, #03a9f4 50%, #03a9f4 52%, #03a9f4 100%); 93 | background-image: -moz-linear-gradient(top, #03a9f4 20%, #03a9f4 50%, #03a9f4 52%, #03a9f4 100%); 94 | background-image: linear-gradient(top, #03a9f4 20%, #03a9f4 50%, #03a9f4 52%, #03a9f4 100%); 95 | } 96 | .x-editor-custom .datetimepicker table tr td span.active{ 97 | background-color: #03a9f4; 98 | background-image: -moz-linear-gradient(top, #03a9f4, #03a9f4); 99 | background-image: -ms-linear-gradient(top, #03a9f4, #03a9f4); 100 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#03a9f4), to(#03a9f4)); 101 | background-image: -webkit-linear-gradient(top, #03a9f4, #03a9f4); 102 | background-image: -o-linear-gradient(top, #03a9f4, #03a9f4); 103 | background-image: linear-gradient(top, #03a9f4, #03a9f4); 104 | background-repeat: repeat-x; 105 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#03a9f4', endColorstr='#03a9f4', GradientType=0); 106 | border-color: #03a9f4 #03a9f4 #03a9f4; 107 | } -------------------------------------------------------------------------------- /project/admin/js/metisMenu/metisMenu.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * metismenu - v2.7.2 3 | * A jQuery menu plugin 4 | * https://github.com/onokumus/metismenu#readme 5 | * 6 | * Made by Osman Nuri Okumus (https://github.com/onokumus) 7 | * Under MIT License 8 | */ 9 | 10 | !function(n,i){if("function"==typeof define&&define.amd)define(["jquery"],i);else if("undefined"!=typeof exports)i(require("jquery"));else{i(n.jquery),n.metisMenu={}}}(this,function(n){"use strict";var i;i=n,i&&i.__esModule;var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};var e=function(n){var i=!1;function t(i){var t=this,s=!1;return n(this).one(e.TRANSITION_END,function(){s=!0}),setTimeout(function(){s||e.triggerTransitionEnd(t)},i),this}var e={TRANSITION_END:"mmTransitionEnd",triggerTransitionEnd:function(t){n(t).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)}};return i=!window.QUnit&&{end:"transitionend"},n.fn.mmEmulateTransitionEnd=t,e.supportsTransitionEnd()&&(n.event.special[e.TRANSITION_END]={bindType:i.end,delegateType:i.end,handle:function(i){if(n(i.target).is(this))return i.handleObj.handler.apply(this,arguments)}}),e}(jQuery);!function(n){var i="metisMenu",s="metisMenu",o="."+s,a=n.fn[i],r={toggle:!0,preventDefault:!0,activeClass:"active",collapseClass:"collapse",collapseInClass:"in",collapsingClass:"collapsing",triggerElement:"a",parentTrigger:"li",subMenu:"ul"},l={SHOW:"show"+o,SHOWN:"shown"+o,HIDE:"hide"+o,HIDDEN:"hidden"+o,CLICK_DATA_API:"click"+o+".data-api"},c=function(){function i(n,t){!function(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}(this,i),this._element=n,this._config=this._getConfig(t),this._transitioning=null,this.init()}return i.prototype.init=function(){var i=this;n(this._element).find(this._config.parentTrigger+"."+this._config.activeClass).has(this._config.subMenu).children(this._config.subMenu).attr("aria-expanded",!0).addClass(this._config.collapseClass+" "+this._config.collapseInClass),n(this._element).find(this._config.parentTrigger).not("."+this._config.activeClass).has(this._config.subMenu).children(this._config.subMenu).attr("aria-expanded",!1).addClass(this._config.collapseClass),n(this._element).find(this._config.parentTrigger).has(this._config.subMenu).children(this._config.triggerElement).on(l.CLICK_DATA_API,function(t){var e=n(this),s=e.parent(i._config.parentTrigger),o=s.siblings(i._config.parentTrigger).children(i._config.triggerElement),a=s.children(i._config.subMenu);i._config.preventDefault&&t.preventDefault(),"true"!==e.attr("aria-disabled")&&(s.hasClass(i._config.activeClass)?(e.attr("aria-expanded",!1),i._hide(a)):(i._show(a),e.attr("aria-expanded",!0),i._config.toggle&&o.attr("aria-expanded",!1)),i._config.onTransitionStart&&i._config.onTransitionStart(t))})},i.prototype._show=function(i){if(!this._transitioning&&!n(i).hasClass(this._config.collapsingClass)){var t=this,s=n(i),o=n.Event(l.SHOW);if(s.trigger(o),!o.isDefaultPrevented()){s.parent(this._config.parentTrigger).addClass(this._config.activeClass),this._config.toggle&&this._hide(s.parent(this._config.parentTrigger).siblings().children(this._config.subMenu+"."+this._config.collapseInClass).attr("aria-expanded",!1)),s.removeClass(this._config.collapseClass).addClass(this._config.collapsingClass).height(0),this.setTransitioning(!0);var a=function(){t._config&&t._element&&(s.removeClass(t._config.collapsingClass).addClass(t._config.collapseClass+" "+t._config.collapseInClass).height("").attr("aria-expanded",!0),t.setTransitioning(!1),s.trigger(l.SHOWN))};e.supportsTransitionEnd()?s.height(s[0].scrollHeight).one(e.TRANSITION_END,a).mmEmulateTransitionEnd(350):a()}}},i.prototype._hide=function(i){if(!this._transitioning&&n(i).hasClass(this._config.collapseInClass)){var t=this,s=n(i),o=n.Event(l.HIDE);if(s.trigger(o),!o.isDefaultPrevented()){s.parent(this._config.parentTrigger).removeClass(this._config.activeClass),s.height(s.height())[0].offsetHeight,s.addClass(this._config.collapsingClass).removeClass(this._config.collapseClass).removeClass(this._config.collapseInClass),this.setTransitioning(!0);var a=function(){t._config&&t._element&&(t._transitioning&&t._config.onTransitionEnd&&t._config.onTransitionEnd(),t.setTransitioning(!1),s.trigger(l.HIDDEN),s.removeClass(t._config.collapsingClass).addClass(t._config.collapseClass).attr("aria-expanded",!1))};e.supportsTransitionEnd()?0==s.height()||"none"==s.css("display")?a():s.height(0).one(e.TRANSITION_END,a).mmEmulateTransitionEnd(350):a()}}},i.prototype.setTransitioning=function(n){this._transitioning=n},i.prototype.dispose=function(){n.removeData(this._element,s),n(this._element).find(this._config.parentTrigger).has(this._config.subMenu).children(this._config.triggerElement).off("click"),this._transitioning=null,this._config=null,this._element=null},i.prototype._getConfig=function(i){return i=n.extend({},r,i)},i._jQueryInterface=function(e){return this.each(function(){var o=n(this),a=o.data(s),l=n.extend({},r,o.data(),"object"===(void 0===e?"undefined":t(e))&&e);if(!a&&/dispose/.test(e)&&this.dispose(),a||(a=new i(this,l),o.data(s,a)),"string"==typeof e){if(void 0===a[e])throw new Error('No method named "'+e+'"');a[e]()}})},i}();n.fn[i]=c._jQueryInterface,n.fn[i].Constructor=c,n.fn[i].noConflict=function(){return n.fn[i]=a,c._jQueryInterface}}(jQuery)}); 11 | //# sourceMappingURL=metisMenu.js.map --------------------------------------------------------------------------------