├── .gitignore ├── Halawatta Session.sql ├── .vs ├── ProjectSettings.json ├── slnx.sqlite └── VSWorkspaceState.json ├── img └── tp.png ├── assets ├── .DS_Store ├── css │ ├── .DS_Store │ ├── to-do.css │ ├── table-responsive.css │ ├── zabuto_calendar.css │ └── style-responsive.css ├── img │ ├── .DS_Store │ ├── zoom.png │ ├── ui-sam.jpg │ ├── login-bg.jpg │ ├── radio-gray.png │ └── checkbox-gray.png ├── js │ ├── .DS_Store │ ├── gritter │ │ ├── .DS_Store │ │ ├── js │ │ │ ├── .DS_Store │ │ │ └── jquery.gritter.js │ │ ├── css │ │ │ ├── .DS_Store │ │ │ ├── jquery.gritter0.css │ │ │ └── jquery.gritter.css │ │ └── images │ │ │ ├── .DS_Store │ │ │ ├── gritter.png │ │ │ ├── ie-spacer.gif │ │ │ ├── gritter-light.png │ │ │ └── gritter-long.png │ ├── fancybox │ │ ├── .DS_Store │ │ └── jquery.fancybox.css │ ├── chart-master │ │ └── .DS_Store │ ├── fullcalendar │ │ ├── .DS_Store │ │ └── bootstrap-fullcalendar.css │ ├── bootstrap-inputmask │ │ ├── .DS_Store │ │ └── bootstrap-inputmask.min.js │ ├── jquery-easy-pie-chart │ │ ├── .DS_Store │ │ ├── jquery.easy-pie-chart.css │ │ └── jquery.easy-pie-chart.js │ ├── tasks.js │ ├── easy-pie-chart.js │ ├── jquery.ui.touch-punch.min.js │ ├── jquery.scrollTo.min.js │ ├── common-scripts.js │ ├── jquery.backstretch.min.js │ ├── morris-conf.js │ ├── chartjs-conf.js │ ├── calendar-conf-events.js │ ├── sparkline-chart.js │ ├── gritter-conf.js │ ├── jquery.dcjqaccordion.2.7.js │ ├── form-component.js │ ├── bootstrap-switch.js │ └── jquery.tagsinput.js ├── fonts │ ├── .DS_Store │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff ├── lineicons │ ├── .DS_Store │ ├── fonts │ │ ├── .DS_Store │ │ ├── linecons.eot │ │ ├── linecons.ttf │ │ └── linecons.woff │ └── lte-ie7.js └── font-awesome │ ├── .DS_Store │ ├── css │ └── .DS_Store │ └── fonts │ ├── .DS_Store │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ └── fontawesome-webfont.woff ├── userimages ├── noimage.png ├── 6e8024ec26c292f258ec30f01e0392dc.png ├── c9c2bce82b74978a3e87079f2ce6e52b.png └── f0e3c7e48168d5709a853fa425c547c0.jpg ├── pr_images ├── 1313791569994269.jpg ├── 210771569992591.jpg ├── 2111731569993189.png ├── 2112701569994992.jpg ├── 2924661569995039.png ├── 3051171569993062.png ├── 3423871569993481.png ├── 4039891569992712.png ├── 4138611569997215.png ├── 4191061569995111.jpg ├── 4707981569994183.png ├── 568011570032237.jpg ├── 5763191569993883.png ├── 5849621569994906.jpg ├── 5952261569994165.jpg ├── 6214351569992698.jpg ├── 6480931569992692.jpg ├── 6654411569993911.jpg ├── 6956951569993762.jpg ├── 7225661569993203.png ├── 7975581569993466.png ├── 8022361569994218.jpg ├── 8200081569993645.png ├── 8464961569994957.jpg ├── 870351569993746.png ├── 8983061569994699.png ├── 9179691569994192.png ├── 5361781569994302.F.M Fazrin.png └── 2a09969b-c3d5-467b-82b0-2cf5aeb903eb_200x200.png ├── fonts ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2 ├── .vscode └── sftp.json ├── includes ├── footer.php ├── header.php ├── config.php └── sidebar.php ├── logout.php ├── check_availability.php ├── getsubcat.php ├── css └── half-slider.css ├── view-products.php ├── dashboard.php ├── index.php ├── registration.php ├── profile.php ├── add-record.php ├── update-image.php ├── change-password.php └── sqlfile └── cms.sql /.gitignore: -------------------------------------------------------------------------------- 1 | .autogit -------------------------------------------------------------------------------- /Halawatta Session.sql: -------------------------------------------------------------------------------- 1 | DROP table cms.category; -------------------------------------------------------------------------------- /.vs/ProjectSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "CurrentProjectSetting": null 3 | } -------------------------------------------------------------------------------- /img/tp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/img/tp.png -------------------------------------------------------------------------------- /.vs/slnx.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/.vs/slnx.sqlite -------------------------------------------------------------------------------- /assets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/.DS_Store -------------------------------------------------------------------------------- /assets/css/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/css/.DS_Store -------------------------------------------------------------------------------- /assets/img/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/img/.DS_Store -------------------------------------------------------------------------------- /assets/img/zoom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/img/zoom.png -------------------------------------------------------------------------------- /assets/js/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/.DS_Store -------------------------------------------------------------------------------- /assets/fonts/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/fonts/.DS_Store -------------------------------------------------------------------------------- /assets/img/ui-sam.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/img/ui-sam.jpg -------------------------------------------------------------------------------- /userimages/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/userimages/noimage.png -------------------------------------------------------------------------------- /assets/img/login-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/img/login-bg.jpg -------------------------------------------------------------------------------- /assets/img/radio-gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/img/radio-gray.png -------------------------------------------------------------------------------- /assets/js/gritter/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/gritter/.DS_Store -------------------------------------------------------------------------------- /assets/lineicons/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/lineicons/.DS_Store -------------------------------------------------------------------------------- /assets/font-awesome/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/font-awesome/.DS_Store -------------------------------------------------------------------------------- /assets/img/checkbox-gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/img/checkbox-gray.png -------------------------------------------------------------------------------- /assets/js/fancybox/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/fancybox/.DS_Store -------------------------------------------------------------------------------- /assets/js/gritter/js/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/gritter/js/.DS_Store -------------------------------------------------------------------------------- /pr_images/1313791569994269.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/1313791569994269.jpg -------------------------------------------------------------------------------- /pr_images/210771569992591.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/210771569992591.jpg -------------------------------------------------------------------------------- /pr_images/2111731569993189.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/2111731569993189.png -------------------------------------------------------------------------------- /pr_images/2112701569994992.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/2112701569994992.jpg -------------------------------------------------------------------------------- /pr_images/2924661569995039.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/2924661569995039.png -------------------------------------------------------------------------------- /pr_images/3051171569993062.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/3051171569993062.png -------------------------------------------------------------------------------- /pr_images/3423871569993481.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/3423871569993481.png -------------------------------------------------------------------------------- /pr_images/4039891569992712.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/4039891569992712.png -------------------------------------------------------------------------------- /pr_images/4138611569997215.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/4138611569997215.png -------------------------------------------------------------------------------- /pr_images/4191061569995111.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/4191061569995111.jpg -------------------------------------------------------------------------------- /pr_images/4707981569994183.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/4707981569994183.png -------------------------------------------------------------------------------- /pr_images/568011570032237.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/568011570032237.jpg -------------------------------------------------------------------------------- /pr_images/5763191569993883.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/5763191569993883.png -------------------------------------------------------------------------------- /pr_images/5849621569994906.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/5849621569994906.jpg -------------------------------------------------------------------------------- /pr_images/5952261569994165.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/5952261569994165.jpg -------------------------------------------------------------------------------- /pr_images/6214351569992698.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/6214351569992698.jpg -------------------------------------------------------------------------------- /pr_images/6480931569992692.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/6480931569992692.jpg -------------------------------------------------------------------------------- /pr_images/6654411569993911.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/6654411569993911.jpg -------------------------------------------------------------------------------- /pr_images/6956951569993762.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/6956951569993762.jpg -------------------------------------------------------------------------------- /pr_images/7225661569993203.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/7225661569993203.png -------------------------------------------------------------------------------- /pr_images/7975581569993466.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/7975581569993466.png -------------------------------------------------------------------------------- /pr_images/8022361569994218.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/8022361569994218.jpg -------------------------------------------------------------------------------- /pr_images/8200081569993645.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/8200081569993645.png -------------------------------------------------------------------------------- /pr_images/8464961569994957.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/8464961569994957.jpg -------------------------------------------------------------------------------- /pr_images/870351569993746.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/870351569993746.png -------------------------------------------------------------------------------- /pr_images/8983061569994699.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/8983061569994699.png -------------------------------------------------------------------------------- /pr_images/9179691569994192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/9179691569994192.png -------------------------------------------------------------------------------- /assets/js/chart-master/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/chart-master/.DS_Store -------------------------------------------------------------------------------- /assets/js/fullcalendar/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/fullcalendar/.DS_Store -------------------------------------------------------------------------------- /assets/js/gritter/css/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/gritter/css/.DS_Store -------------------------------------------------------------------------------- /assets/lineicons/fonts/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/lineicons/fonts/.DS_Store -------------------------------------------------------------------------------- /assets/font-awesome/css/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/font-awesome/css/.DS_Store -------------------------------------------------------------------------------- /assets/font-awesome/fonts/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/font-awesome/fonts/.DS_Store -------------------------------------------------------------------------------- /assets/js/gritter/images/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/gritter/images/.DS_Store -------------------------------------------------------------------------------- /assets/lineicons/fonts/linecons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/lineicons/fonts/linecons.eot -------------------------------------------------------------------------------- /assets/lineicons/fonts/linecons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/lineicons/fonts/linecons.ttf -------------------------------------------------------------------------------- /assets/js/gritter/images/gritter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/gritter/images/gritter.png -------------------------------------------------------------------------------- /assets/lineicons/fonts/linecons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/lineicons/fonts/linecons.woff -------------------------------------------------------------------------------- /assets/js/bootstrap-inputmask/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/bootstrap-inputmask/.DS_Store -------------------------------------------------------------------------------- /assets/js/gritter/images/ie-spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/gritter/images/ie-spacer.gif -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /assets/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /assets/js/gritter/images/gritter-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/gritter/images/gritter-light.png -------------------------------------------------------------------------------- /assets/js/gritter/images/gritter-long.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/gritter/images/gritter-long.png -------------------------------------------------------------------------------- /assets/js/jquery-easy-pie-chart/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/js/jquery-easy-pie-chart/.DS_Store -------------------------------------------------------------------------------- /pr_images/5361781569994302.F.M Fazrin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/5361781569994302.F.M Fazrin.png -------------------------------------------------------------------------------- /assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /userimages/6e8024ec26c292f258ec30f01e0392dc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/userimages/6e8024ec26c292f258ec30f01e0392dc.png -------------------------------------------------------------------------------- /userimages/c9c2bce82b74978a3e87079f2ce6e52b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/userimages/c9c2bce82b74978a3e87079f2ce6e52b.png -------------------------------------------------------------------------------- /userimages/f0e3c7e48168d5709a853fa425c547c0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/userimages/f0e3c7e48168d5709a853fa425c547c0.jpg -------------------------------------------------------------------------------- /assets/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /assets/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /assets/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/assets/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /pr_images/2a09969b-c3d5-467b-82b0-2cf5aeb903eb_200x200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/halawaththa_hardware/HEAD/pr_images/2a09969b-c3d5-467b-82b0-2cf5aeb903eb_200x200.png -------------------------------------------------------------------------------- /.vs/VSWorkspaceState.json: -------------------------------------------------------------------------------- 1 | { 2 | "ExpandedNodes": [ 3 | "", 4 | "\\css", 5 | "\\includes" 6 | ], 7 | "SelectedNode": "\\dashboard.php", 8 | "PreviewInSolutionExplorer": false 9 | } -------------------------------------------------------------------------------- /.vscode/sftp.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Halawatta", 3 | "host": "ftp.unaux.com", 4 | "protocol": "ftp", 5 | "port": 21, 6 | "username": "unaux_24579808", 7 | "remotePath": "/htdocs", 8 | "uploadOnSave": true 9 | } 10 | -------------------------------------------------------------------------------- /assets/js/jquery-easy-pie-chart/jquery.easy-pie-chart.css: -------------------------------------------------------------------------------- 1 | .easyPieChart { 2 | position: relative; 3 | text-align: center; 4 | } 5 | 6 | .easyPieChart canvas { 7 | position: absolute; 8 | top: 0; 9 | left: 0; 10 | } 11 | -------------------------------------------------------------------------------- /includes/footer.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/tasks.js: -------------------------------------------------------------------------------- 1 | var TaskList = function () { 2 | 3 | return { 4 | 5 | initTaskWidget: function () { 6 | $('input.list-child').change(function() { 7 | if ($(this).is(':checked')) { 8 | $(this).parents('li').addClass("task-done"); 9 | } else { 10 | $(this).parents('li').removeClass("task-done"); 11 | } 12 | }); 13 | } 14 | 15 | }; 16 | 17 | }(); -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 9 | $query->execute(); 10 | if ($query->rowCount()>0) { 11 | session_unset(); 12 | session_destroy(); 13 | }else{ 14 | return; 15 | } 16 | ?> 17 | 20 | -------------------------------------------------------------------------------- /check_availability.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 7 | $query->execute(); 8 | if($query->rowCount()>0) 9 | { 10 | echo " Email already exists ."; 11 | echo ""; 12 | } else{ 13 | echo " Email available for Registration ."; 14 | echo ""; 15 | } 16 | } 17 | ?> 18 | -------------------------------------------------------------------------------- /getsubcat.php: -------------------------------------------------------------------------------- 1 | 16 | 17 | -------------------------------------------------------------------------------- /includes/header.php: -------------------------------------------------------------------------------- 1 |
2 | 5 | 6 | 7 | 8 |
9 | 12 |
13 |
-------------------------------------------------------------------------------- /includes/config.php: -------------------------------------------------------------------------------- 1 | "SET NAMES 'utf8'")); 17 | $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 18 | } 19 | catch (PDOException $e) 20 | { 21 | exit("Error: " . $e->getMessage()); 22 | } 23 | ?> -------------------------------------------------------------------------------- /css/half-slider.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Start Bootstrap - Half Slider (http://startbootstrap.com/) 3 | * Copyright 2013-2016 Start Bootstrap 4 | * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) 5 | */ 6 | 7 | html, 8 | body { 9 | height: 100%; 10 | } 11 | 12 | /* You can change the height of the carousel by changing the height in the class below. It is set to 50% by default, but can be any height! */ 13 | 14 | .carousel { 15 | height: 50%; 16 | } 17 | 18 | .item, 19 | .active, 20 | .carousel-inner { 21 | height: 100%; 22 | } 23 | 24 | /* Background images are set within the HTML using inline CSS, not here */ 25 | 26 | .fill { 27 | width: 100%; 28 | height: 100%; 29 | background-position: center; 30 | -webkit-background-size: cover; 31 | -moz-background-size: cover; 32 | background-size: cover; 33 | -o-background-size: cover; 34 | } 35 | 36 | footer { 37 | margin: 50px 0; 38 | } -------------------------------------------------------------------------------- /assets/js/easy-pie-chart.js: -------------------------------------------------------------------------------- 1 | var Script = function () { 2 | 3 | // easy pie chart 4 | 5 | $('.percentage').easyPieChart({ 6 | animate: 1000, 7 | size: 135, 8 | barColor:'#ff6c60' 9 | }); 10 | $('.percentage-light').easyPieChart({ 11 | barColor: function(percent) { 12 | percent /= 100; 13 | return "rgb(" + Math.round(255 * (1-percent)) + ", " + Math.round(255 * percent) + ", 0)"; 14 | }, 15 | trackColor: '#666', 16 | scaleColor: false, 17 | lineCap: 'butt', 18 | lineWidth: 15, 19 | animate: 1000 20 | }); 21 | 22 | $('.update-easy-pie-chart').click(function(){ 23 | $('.easy-pie-chart .percentage').each(function() { 24 | var newValue = Math.floor(100*Math.random()); 25 | $(this).data('easyPieChart').update(newValue); 26 | $('span', this).text(newValue); 27 | }); 28 | }); 29 | 30 | $('.updateEasyPieChart').on('click', function(e) { 31 | e.preventDefault(); 32 | $('.percentage, .percentage-light').each(function() { 33 | var newValue = Math.round(100*Math.random()); 34 | $(this).data('easyPieChart').update(newValue); 35 | $('span', this).text(newValue); 36 | }); 37 | }); 38 | 39 | }(); -------------------------------------------------------------------------------- /assets/js/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); -------------------------------------------------------------------------------- /assets/lineicons/lte-ie7.js: -------------------------------------------------------------------------------- 1 | /* Use this script if you need to support IE 7 and IE 6. */ 2 | 3 | window.onload = function() { 4 | function addIcon(el, entity) { 5 | var html = el.innerHTML; 6 | el.innerHTML = '' + entity + '' + html; 7 | } 8 | var icons = { 9 | 'li_heart' : '', 10 | 'li_cloud' : '', 11 | 'li_star' : '', 12 | 'li_tv' : '', 13 | 'li_sound' : '', 14 | 'li_video' : '', 15 | 'li_trash' : '', 16 | 'li_user' : '', 17 | 'li_key' : '', 18 | 'li_search' : '', 19 | 'li_settings' : '', 20 | 'li_camera' : '', 21 | 'li_tag' : '', 22 | 'li_lock' : '', 23 | 'li_bulb' : '', 24 | 'li_pen' : '', 25 | 'li_diamond' : '', 26 | 'li_display' : '', 27 | 'li_location' : '', 28 | 'li_eye' : '', 29 | 'li_bubble' : '', 30 | 'li_stack' : '', 31 | 'li_cup' : '', 32 | 'li_phone' : '', 33 | 'li_news' : '', 34 | 'li_mail' : '', 35 | 'li_like' : '', 36 | 'li_photo' : '', 37 | 'li_note' : '', 38 | 'li_clock' : '', 39 | 'li_paperplane' : '', 40 | 'li_params' : '', 41 | 'li_banknote' : '', 42 | 'li_data' : '', 43 | 'li_music' : '', 44 | 'li_megaphone' : '', 45 | 'li_study' : '', 46 | 'li_lab' : '', 47 | 'li_food' : '', 48 | 'li_t-shirt' : '', 49 | 'li_fire' : '', 50 | 'li_clip' : '', 51 | 'li_shop' : '', 52 | 'li_calendar' : '', 53 | 'li_vallet' : '', 54 | 'li_vynil' : '', 55 | 'li_truck' : '', 56 | 'li_world' : '' 57 | }, 58 | els = document.getElementsByTagName('*'), 59 | i, attr, html, c, el; 60 | for (i = 0; i < els.length; i += 1) { 61 | el = els[i]; 62 | attr = el.getAttribute('data-icon'); 63 | if (attr) { 64 | addIcon(el, attr); 65 | } 66 | c = el.className; 67 | c = c.match(/li_[^\s'"]+/); 68 | if (c && icons[c[0]]) { 69 | addIcon(el, icons[c[0]]); 70 | } 71 | } 72 | }; -------------------------------------------------------------------------------- /assets/css/to-do.css: -------------------------------------------------------------------------------- 1 | /*--------------Tasks Widget--------------*/ 2 | 3 | .task-content { 4 | margin-bottom: 30px; 5 | } 6 | 7 | .task-panel { 8 | background: #fff; 9 | text-align: left; 10 | box-shadow: 0px 3px 2px #aab2bd; 11 | margin: 5px; 12 | } 13 | 14 | .tasks-widget .task-content:after { 15 | clear: both; 16 | } 17 | 18 | .tasks-widget .task-footer { 19 | margin-top: 5px; 20 | } 21 | 22 | .tasks-widget .task-footer:after, 23 | .tasks-widget .task-footer:before { 24 | content: ""; 25 | display: table; 26 | line-height: 0; 27 | } 28 | 29 | .tasks-widget .task-footer:after { 30 | clear: both; 31 | } 32 | 33 | .tasks-widget .task-list { 34 | padding:0; 35 | margin:0; 36 | } 37 | 38 | .tasks-widget .task-list > li { 39 | position:relative; 40 | padding:10px 5px; 41 | border-bottom:1px dashed #eaeaea; 42 | } 43 | 44 | .tasks-widget .task-list li.last-line { 45 | border-bottom:none; 46 | } 47 | 48 | .tasks-widget .task-list li > .task-bell { 49 | margin-left:10px; 50 | } 51 | 52 | .tasks-widget .task-list li > .task-checkbox { 53 | float:left; 54 | width:30px; 55 | } 56 | 57 | .tasks-widget .task-list li > .task-title { 58 | overflow:hidden; 59 | margin-right:10px; 60 | } 61 | 62 | .tasks-widget .task-list li > .task-config { 63 | position:absolute; 64 | top:10px; 65 | right:10px; 66 | } 67 | 68 | .tasks-widget .task-list li .task-title .task-title-sp { 69 | margin-right:5px; 70 | } 71 | 72 | .tasks-widget .task-list li.task-done .task-title-sp { 73 | text-decoration:line-through; 74 | color: #bbbbbb; 75 | } 76 | 77 | .tasks-widget .task-list li.task-done { 78 | background:#f6f6f6; 79 | } 80 | 81 | .tasks-widget .task-list li.task-done:hover { 82 | background:#f4f4f4; 83 | } 84 | 85 | .tasks-widget .task-list li:hover { 86 | background:#f9f9f9; 87 | } 88 | 89 | .tasks-widget .task-list li .task-config { 90 | display:none; 91 | } 92 | 93 | .tasks-widget .task-list li:hover > .task-config { 94 | display:block; 95 | margin-bottom:0 !important; 96 | } 97 | 98 | 99 | @media only screen and (max-width: 320px) { 100 | 101 | .tasks-widget .task-config-btn { 102 | float:inherit; 103 | display:block; 104 | } 105 | 106 | .tasks-widget .task-list-projects li > .label { 107 | margin-bottom:5px; 108 | } 109 | 110 | } -------------------------------------------------------------------------------- /assets/js/jquery.scrollTo.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2007-2013 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com 3 | * Dual licensed under MIT and GPL. 4 | * @author Ariel Flesler 5 | * @version 1.4.6 6 | */ 7 | ;(function($){var h=$.scrollTo=function(a,b,c){$(window).scrollTo(a,b,c)};h.defaults={axis:'xy',duration:parseFloat($.fn.jquery)>=1.3?0:1,limit:true};h.window=function(a){return $(window)._scrollable()};$.fn._scrollable=function(){return this.map(function(){var a=this,isWin=!a.nodeName||$.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!isWin)return a;var b=(a.contentWindow||a).document||a.ownerDocument||a;return/webkit/i.test(navigator.userAgent)||b.compatMode=='BackCompat'?b.body:b.documentElement})};$.fn.scrollTo=function(e,f,g){if(typeof f=='object'){g=f;f=0}if(typeof g=='function')g={onAfter:g};if(e=='max')e=9e9;g=$.extend({},h.defaults,g);f=f||g.duration;g.queue=g.queue&&g.axis.length>1;if(g.queue)f/=2;g.offset=both(g.offset);g.over=both(g.over);return this._scrollable().each(function(){if(e==null)return;var d=this,$elem=$(d),targ=e,toff,attr={},win=$elem.is('html,body');switch(typeof targ){case'number':case'string':if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(targ)){targ=both(targ);break}targ=$(targ,this);if(!targ.length)return;case'object':if(targ.is||targ.style)toff=(targ=$(targ)).offset()}$.each(g.axis.split(''),function(i,a){var b=a=='x'?'Left':'Top',pos=b.toLowerCase(),key='scroll'+b,old=d[key],max=h.max(d,a);if(toff){attr[key]=toff[pos]+(win?0:old-$elem.offset()[pos]);if(g.margin){attr[key]-=parseInt(targ.css('margin'+b))||0;attr[key]-=parseInt(targ.css('border'+b+'Width'))||0}attr[key]+=g.offset[pos]||0;if(g.over[pos])attr[key]+=targ[a=='x'?'width':'height']()*g.over[pos]}else{var c=targ[pos];attr[key]=c.slice&&c.slice(-1)=='%'?parseFloat(c)/100*max:c}if(g.limit&&/^\d+$/.test(attr[key]))attr[key]=attr[key]<=0?0:Math.min(attr[key],max);if(!i&&g.queue){if(old!=attr[key])animate(g.onAfterFirst);delete attr[key]}});animate(g.onAfter);function animate(a){$elem.animate(attr,f,g.easing,a&&function(){a.call(this,targ,g)})}}).end()};h.max=function(a,b){var c=b=='x'?'Width':'Height',scroll='scroll'+c;if(!$(a).is('html,body'))return a[scroll]-$(a)[c.toLowerCase()]();var d='client'+c,html=a.ownerDocument.documentElement,body=a.ownerDocument.body;return Math.max(html[scroll],body[scroll])-Math.min(html[d],body[d])};function both(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery); 8 | -------------------------------------------------------------------------------- /assets/js/gritter/css/jquery.gritter0.css: -------------------------------------------------------------------------------- 1 | /* the norm */ 2 | #gritter-notice-wrapper { 3 | position:fixed; 4 | top:20px; 5 | right:20px; 6 | width:301px; 7 | z-index:9999; 8 | } 9 | #gritter-notice-wrapper.top-left { 10 | left: 20px; 11 | right: auto; 12 | } 13 | #gritter-notice-wrapper.bottom-right { 14 | top: auto; 15 | left: auto; 16 | bottom: 20px; 17 | right: 20px; 18 | } 19 | #gritter-notice-wrapper.bottom-left { 20 | top: auto; 21 | right: auto; 22 | bottom: 20px; 23 | left: 20px; 24 | } 25 | .gritter-item-wrapper { 26 | position:relative; 27 | margin:0 0 10px 0; 28 | background:url('../images/ie-spacer.gif'); /* ie7/8 fix */ 29 | } 30 | .gritter-top { 31 | background:url("..images/gritter.png") no-repeat left -30px; 32 | height:10px; 33 | } 34 | .hover .gritter-top { 35 | background-position:right -30px; 36 | } 37 | .gritter-bottom { 38 | background:url("../images/gritter.png") no-repeat left bottom; 39 | height:8px; 40 | margin:0; 41 | } 42 | .hover .gritter-bottom { 43 | background-position: bottom right; 44 | } 45 | .gritter-item { 46 | display:block; 47 | background:url("../images/gritter.png") no-repeat left -40px; 48 | color:#eee; 49 | padding:2px 11px 8px 11px; 50 | font-size: 11px; 51 | font-family:verdana; 52 | } 53 | .hover .gritter-item { 54 | background-position:right -40px; 55 | } 56 | .gritter-item p { 57 | padding:0; 58 | margin:0; 59 | word-wrap:break-word; 60 | } 61 | .gritter-close { 62 | display:none; 63 | position:absolute; 64 | top:5px; 65 | left:3px; 66 | background:url("../images/gritter.png") no-repeat left top; 67 | cursor:pointer; 68 | width:30px; 69 | height:30px; 70 | } 71 | .gritter-title { 72 | font-size:14px; 73 | font-weight:bold; 74 | padding:0 0 7px 0; 75 | display:block; 76 | text-shadow:1px 1px 0 #000; /* Not supported by IE :( */ 77 | } 78 | .gritter-image { 79 | width:48px; 80 | height:48px; 81 | float:left; 82 | } 83 | .gritter-with-image, 84 | .gritter-without-image { 85 | padding:0; 86 | } 87 | .gritter-with-image { 88 | width:220px; 89 | float:right; 90 | } 91 | /* for the light (white) version of the gritter notice */ 92 | .gritter-light .gritter-item, 93 | .gritter-light .gritter-bottom, 94 | .gritter-light .gritter-top, 95 | .gritter-light .gritter-close { 96 | background-image: url("../images/gritter-light.png"); 97 | color: #222; 98 | } 99 | .gritter-light .gritter-title { 100 | text-shadow: none; 101 | } 102 | -------------------------------------------------------------------------------- /assets/js/gritter/css/jquery.gritter.css: -------------------------------------------------------------------------------- 1 | /* the norm */ 2 | #gritter-notice-wrapper { 3 | position:fixed; 4 | top:20px; 5 | right:20px; 6 | width:301px; 7 | z-index:9999; 8 | } 9 | #gritter-notice-wrapper.top-left { 10 | left: 20px; 11 | right: auto; 12 | } 13 | #gritter-notice-wrapper.bottom-right { 14 | top: auto; 15 | left: auto; 16 | bottom: 20px; 17 | right: 20px; 18 | } 19 | #gritter-notice-wrapper.bottom-left { 20 | top: auto; 21 | right: auto; 22 | bottom: 20px; 23 | left: 20px; 24 | } 25 | .gritter-item-wrapper { 26 | position:relative; 27 | margin:0 0 10px 0; 28 | background:url('../images/ie-spacer.gif'); /* ie7/8 fix */ 29 | } 30 | .gritter-top { 31 | background:url(../images/gritter.png) no-repeat left -30px; 32 | height:10px; 33 | } 34 | .hover .gritter-top { 35 | background-position:right -30px; 36 | } 37 | .gritter-bottom { 38 | background:url(../images/gritter.png) no-repeat left bottom; 39 | height:8px; 40 | margin:0; 41 | } 42 | .hover .gritter-bottom { 43 | background-position: bottom right; 44 | } 45 | .gritter-item { 46 | display:block; 47 | background:url(../images/gritter.png) no-repeat left -40px; 48 | color:#eee; 49 | padding:2px 11px 8px 11px; 50 | font-size: 11px; 51 | font-family:verdana; 52 | } 53 | .hover .gritter-item { 54 | background-position:right -40px; 55 | } 56 | .gritter-item p { 57 | padding:0; 58 | margin:0; 59 | word-wrap:break-word; 60 | } 61 | .gritter-close { 62 | display:none; 63 | position:absolute; 64 | top:5px; 65 | left:3px; 66 | background:url(../images/gritter.png) no-repeat left top; 67 | cursor:pointer; 68 | width:30px; 69 | height:30px; 70 | text-indent:-9999em; 71 | } 72 | .gritter-title { 73 | font-size:14px; 74 | font-weight:bold; 75 | padding:0 0 7px 0; 76 | display:block; 77 | text-shadow:1px 1px 0 #000; /* Not supported by IE :( */ 78 | } 79 | .gritter-image { 80 | width:48px; 81 | height:48px; 82 | float:left; 83 | } 84 | .gritter-with-image, 85 | .gritter-without-image { 86 | padding:0; 87 | } 88 | .gritter-with-image { 89 | width:220px; 90 | float:right; 91 | } 92 | /* for the light (white) version of the gritter notice */ 93 | .gritter-light .gritter-item, 94 | .gritter-light .gritter-bottom, 95 | .gritter-light .gritter-top, 96 | .gritter-light .gritter-close { 97 | background-image: url(../images/gritter-light.png); 98 | color: #222; 99 | } 100 | .gritter-light .gritter-title { 101 | text-shadow: none; 102 | } 103 | -------------------------------------------------------------------------------- /includes/sidebar.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/css/table-responsive.css: -------------------------------------------------------------------------------- 1 | /*Unseen Column*/ 2 | @media only screen and (max-width: 800px) { 3 | #unseen table td:nth-child(2), 4 | #unseen table th:nth-child(2) {display: none;} 5 | } 6 | 7 | @media only screen and (max-width: 640px) { 8 | #unseen table td:nth-child(4), 9 | #unseen table th:nth-child(4), 10 | #unseen table td:nth-child(7), 11 | #unseen table th:nth-child(7), 12 | #unseen table td:nth-child(8), 13 | #unseen table th:nth-child(8){display: none;} 14 | } 15 | 16 | /*flip-scroll*/ 17 | 18 | @media only screen and (max-width: 800px) { 19 | #flip-scroll .cf:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } 20 | #flip-scroll * html .cf { zoom: 1; } 21 | #flip-scroll *:first-child+html .cf { zoom: 1; } 22 | #flip-scroll table { width: 100%; border-collapse: collapse; border-spacing: 0; } 23 | 24 | #flip-scroll th, 25 | #flip-scroll td { margin: 0; vertical-align: top; } 26 | #flip-scroll th { text-align: left; } 27 | #flip-scroll table { display: block; position: relative; width: 100%; } 28 | #flip-scroll thead { display: block; float: left; } 29 | #flip-scroll tbody { display: block; width: auto; position: relative; overflow-x: auto; white-space: nowrap; } 30 | #flip-scroll thead tr { display: block; } 31 | #flip-scroll th { display: block; text-align: right; } 32 | #flip-scroll tbody tr { display: inline-block; vertical-align: top; } 33 | #flip-scroll td { display: block; min-height: 1.25em; text-align: left; } 34 | 35 | 36 | /* sort out borders */ 37 | 38 | #flip-scroll th { border-bottom: 0; border-left: 0; } 39 | #flip-scroll td { border-left: 0; border-right: 0; border-bottom: 0; } 40 | #flip-scroll tbody tr { border-left: 1px solid #babcbf; } 41 | #flip-scroll th:last-child, 42 | #flip-scroll td:last-child { border-bottom: 1px solid #babcbf; } 43 | } 44 | 45 | /*no more table*/ 46 | 47 | @media only screen and (max-width: 800px) { 48 | /* Force table to not be like tables anymore */ 49 | #no-more-tables table, 50 | #no-more-tables thead, 51 | #no-more-tables tbody, 52 | #no-more-tables th, 53 | #no-more-tables td, 54 | #no-more-tables tr { 55 | display: block; 56 | } 57 | 58 | /* Hide table headers (but not display: none;, for accessibility) */ 59 | #no-more-tables thead tr { 60 | position: absolute; 61 | top: -9999px; 62 | left: -9999px; 63 | } 64 | 65 | #no-more-tables tr { border: 1px solid #ccc; } 66 | 67 | #no-more-tables td { 68 | /* Behave like a "row" */ 69 | border: none; 70 | border-bottom: 1px solid #eee; 71 | position: relative; 72 | padding-left: 50%; 73 | white-space: normal; 74 | text-align:left; 75 | } 76 | 77 | #no-more-tables td:before { 78 | /* Now like a table header */ 79 | position: absolute; 80 | /* Top/left values mimic padding */ 81 | top: 6px; 82 | left: 6px; 83 | width: 45%; 84 | padding-right: 10px; 85 | white-space: nowrap; 86 | text-align:left; 87 | font-weight: bold; 88 | } 89 | 90 | /* 91 | Label the data 92 | */ 93 | #no-more-tables td:before { content: attr(data-title); } 94 | } -------------------------------------------------------------------------------- /view-products.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 15 | $query->bindParam(':id', $id, PDO::PARAM_INT); 16 | $query->execute(); 17 | $results = $query->fetchAll(PDO::FETCH_OBJ); 18 | foreach($results as $result) { 19 | $_SESSION['image'] = $result->image; 20 | } 21 | } 22 | ?> 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | IMS | Inventory Management System 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 |
43 | 44 | 45 |
46 |
47 |

View Products by Id

48 |
49 |
50 |
51 | 52 |

53 |
54 |
55 |

56 |
57 | Enter Product Id 58 |
59 |
60 |
61 |
62 |
63 |
64 | 65 |
66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /dashboard.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | IMS | Dashboard 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 |
38 | 39 | 40 | 41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 | 51 | prepare($rt); 54 | $query->execute(); 55 | $num1 = $query->rowCount(); 56 | {?> 57 |

58 |
59 |

Total Added Products

60 |
61 | 62 |
63 |
64 | 65 |
66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 9 | $query->execute(); 10 | if($query->rowCount()>0) 11 | { 12 | $extra="dashboard.php"; 13 | $_SESSION['login']=$_POST['username']; 14 | $_SESSION['id']=$num['id']; 15 | $host=$_SERVER['HTTP_HOST']; 16 | $uip=$_SERVER['REMOTE_ADDR']; 17 | $status=1; 18 | $log="insert into userlog(uid,username,userip,status) values('".$_SESSION['id']."','".$_SESSION['login']."','$uip','$status')"; 19 | $uri=rtrim(dirname($_SERVER['PHP_SELF']),'/\\'); 20 | header("location:http://$host$uri/$extra"); 21 | exit(); 22 | } 23 | else 24 | { 25 | $_SESSION['login']=$_POST['username']; 26 | $uip=$_SERVER['REMOTE_ADDR']; 27 | $status=0; 28 | $log = "insert into userlog(username,userip,status) values('".$_SESSION['login']."','$uip','$status')"; 29 | $errormsg="Invalid username or password"; 30 | $extra="login.php"; 31 | } 32 | } 33 | ?> 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | CMS | User Login 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 |
55 |
56 |

Inventory Management System

57 |

Halawatha Hardware (Pvt) Ltd.


58 | 79 |
80 |
81 | 82 | 83 | 84 | 85 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /assets/js/common-scripts.js: -------------------------------------------------------------------------------- 1 | /*---LEFT BAR ACCORDION----*/ 2 | $(function() { 3 | $('#nav-accordion').dcAccordion({ 4 | eventType: 'click', 5 | autoClose: true, 6 | saveState: true, 7 | disableLink: true, 8 | speed: 'slow', 9 | showCount: false, 10 | autoExpand: true, 11 | // cookie: 'dcjq-accordion-1', 12 | classExpand: 'dcjq-current-parent' 13 | }); 14 | }); 15 | 16 | var Script = function () { 17 | 18 | 19 | // sidebar dropdown menu auto scrolling 20 | 21 | jQuery('#sidebar .sub-menu > a').click(function () { 22 | var o = ($(this).offset()); 23 | diff = 250 - o.top; 24 | if(diff>0) 25 | $("#sidebar").scrollTo("-="+Math.abs(diff),500); 26 | else 27 | $("#sidebar").scrollTo("+="+Math.abs(diff),500); 28 | }); 29 | 30 | 31 | 32 | // sidebar toggle 33 | 34 | $(function() { 35 | function responsiveView() { 36 | var wSize = $(window).width(); 37 | if (wSize <= 768) { 38 | $('#container').addClass('sidebar-close'); 39 | $('#sidebar > ul').hide(); 40 | } 41 | 42 | if (wSize > 768) { 43 | $('#container').removeClass('sidebar-close'); 44 | $('#sidebar > ul').show(); 45 | } 46 | } 47 | $(window).on('load', responsiveView); 48 | $(window).on('resize', responsiveView); 49 | }); 50 | 51 | $('.fa-bars').click(function () { 52 | if ($('#sidebar > ul').is(":visible") === true) { 53 | $('#main-content').css({ 54 | 'margin-left': '0px' 55 | }); 56 | $('#sidebar').css({ 57 | 'margin-left': '-210px' 58 | }); 59 | $('#sidebar > ul').hide(); 60 | $("#container").addClass("sidebar-closed"); 61 | } else { 62 | $('#main-content').css({ 63 | 'margin-left': '210px' 64 | }); 65 | $('#sidebar > ul').show(); 66 | $('#sidebar').css({ 67 | 'margin-left': '0' 68 | }); 69 | $("#container").removeClass("sidebar-closed"); 70 | } 71 | }); 72 | 73 | // custom scrollbar 74 | $("#sidebar").niceScroll({styler:"fb",cursorcolor:"#4ECDC4", cursorwidth: '3', cursorborderradius: '10px', background: '#404040', spacebarenabled:false, cursorborder: ''}); 75 | 76 | $("html").niceScroll({styler:"fb",cursorcolor:"#4ECDC4", cursorwidth: '6', cursorborderradius: '10px', background: '#404040', spacebarenabled:false, cursorborder: '', zindex: '1000'}); 77 | 78 | // widget tools 79 | 80 | jQuery('.panel .tools .fa-chevron-down').click(function () { 81 | var el = jQuery(this).parents(".panel").children(".panel-body"); 82 | if (jQuery(this).hasClass("fa-chevron-down")) { 83 | jQuery(this).removeClass("fa-chevron-down").addClass("fa-chevron-up"); 84 | el.slideUp(200); 85 | } else { 86 | jQuery(this).removeClass("fa-chevron-up").addClass("fa-chevron-down"); 87 | el.slideDown(200); 88 | } 89 | }); 90 | 91 | jQuery('.panel .tools .fa-times').click(function () { 92 | jQuery(this).parents(".panel").parent().remove(); 93 | }); 94 | 95 | 96 | // tool tips 97 | 98 | $('.tooltips').tooltip(); 99 | 100 | // popovers 101 | 102 | $('.popovers').popover(); 103 | 104 | 105 | 106 | // custom bar chart 107 | 108 | if ($(".custom-bar-chart")) { 109 | $(".bar").each(function () { 110 | var i = $(this).find(".value").html(); 111 | $(this).find(".value").html(""); 112 | $(this).find(".value").animate({ 113 | height: i 114 | }, 2000) 115 | }) 116 | } 117 | 118 | 119 | }(); -------------------------------------------------------------------------------- /assets/js/jquery.backstretch.min.js: -------------------------------------------------------------------------------- 1 | /*! Backstretch - v2.0.3 - 2012-11-30 2 | * http://srobbin.com/jquery-plugins/backstretch/ 3 | * Copyright (c) 2012 Scott Robbin; Licensed MIT */ 4 | (function(e,t,n){"use strict";e.fn.backstretch=function(r,s){return(r===n||r.length===0)&&e.error("No images were supplied for Backstretch"),e(t).scrollTop()===0&&t.scrollTo(0,0),this.each(function(){var t=e(this),n=t.data("backstretch");n&&(s=e.extend(n.options,s),n.destroy(!0)),n=new i(this,r,s),t.data("backstretch",n)})},e.backstretch=function(t,n){return e("body").backstretch(t,n).data("backstretch")},e.expr[":"].backstretch=function(t){return e(t).data("backstretch")!==n},e.fn.backstretch.defaults={centeredX:!0,centeredY:!0,duration:5e3,fade:0};var r={wrap:{left:0,top:0,overflow:"hidden",margin:0,padding:0,height:"100%",width:"100%",zIndex:-999999},img:{position:"absolute",display:"none",margin:0,padding:0,border:"none",width:"auto",height:"auto",maxWidth:"none",zIndex:-999999}},i=function(n,i,o){this.options=e.extend({},e.fn.backstretch.defaults,o||{}),this.images=e.isArray(i)?i:[i],e.each(this.images,function(){e("")[0].src=this}),this.isBody=n===document.body,this.$container=e(n),this.$wrap=e('
').css(r.wrap).appendTo(this.$container),this.$root=this.isBody?s?e(t):e(document):this.$container;if(!this.isBody){var u=this.$container.css("position"),a=this.$container.css("zIndex");this.$container.css({position:u==="static"?"relative":u,zIndex:a==="auto"?0:a,background:"none"}),this.$wrap.css({zIndex:-999998})}this.$wrap.css({position:this.isBody&&s?"fixed":"absolute"}),this.index=0,this.show(this.index),e(t).on("resize.backstretch",e.proxy(this.resize,this)).on("orientationchange.backstretch",e.proxy(function(){this.isBody&&t.pageYOffset===0&&(t.scrollTo(0,1),this.resize())},this))};i.prototype={resize:function(){try{var e={left:0,top:0},n=this.isBody?this.$root.width():this.$root.innerWidth(),r=n,i=this.isBody?t.innerHeight?t.innerHeight:this.$root.height():this.$root.innerHeight(),s=r/this.$img.data("ratio"),o;s>=i?(o=(s-i)/2,this.options.centeredY&&(e.top="-"+o+"px")):(s=i,r=s*this.$img.data("ratio"),o=(r-n)/2,this.options.centeredX&&(e.left="-"+o+"px")),this.$wrap.css({width:n,height:i}).find("img:not(.deleteable)").css({width:r,height:s}).css(e)}catch(u){}return this},show:function(t){if(Math.abs(t)>this.images.length-1)return;this.index=t;var n=this,i=n.$wrap.find("img").addClass("deleteable"),s=e.Event("backstretch.show",{relatedTarget:n.$container[0]});return clearInterval(n.interval),n.$img=e("").css(r.img).bind("load",function(t){var r=this.width||e(t.target).width(),o=this.height||e(t.target).height();e(this).data("ratio",r/o),e(this).fadeIn(n.options.speed||n.options.fade,function(){i.remove(),n.paused||n.cycle(),n.$container.trigger(s,n)}),n.resize()}).appendTo(n.$wrap),n.$img.attr("src",n.images[t]),n},next:function(){return this.show(this.index1&&(clearInterval(this.interval),this.interval=setInterval(e.proxy(function(){this.paused||this.next()},this),this.options.duration)),this},destroy:function(n){e(t).off("resize.backstretch orientationchange.backstretch"),clearInterval(this.interval),n||this.$wrap.remove(),this.$container.removeData("backstretch")}};var s=function(){var e=navigator.userAgent,n=navigator.platform,r=e.match(/AppleWebKit\/([0-9]+)/),i=!!r&&r[1],s=e.match(/Fennec\/([0-9]+)/),o=!!s&&s[1],u=e.match(/Opera Mobi\/([0-9]+)/),a=!!u&&u[1],f=e.match(/MSIE ([0-9]+)/),l=!!f&&f[1];return!((n.indexOf("iPhone")>-1||n.indexOf("iPad")>-1||n.indexOf("iPod")>-1)&&i&&i<534||t.operamini&&{}.toString.call(t.operamini)==="[object OperaMini]"||u&&a<7458||e.indexOf("Android")>-1&&i&&i<533||o&&o<6||"palmGetResource"in t&&i&&i<534||e.indexOf("MeeGo")>-1&&e.indexOf("NokiaBrowser/8.5.0")>-1||l&&l<=6)}()})(jQuery,window); -------------------------------------------------------------------------------- /assets/js/morris-conf.js: -------------------------------------------------------------------------------- 1 | var Script = function () { 2 | 3 | //morris chart 4 | 5 | $(function () { 6 | // data stolen from http://howmanyleft.co.uk/vehicle/jaguar_'e'_type 7 | var tax_data = [ 8 | {"period": "2011 Q3", "licensed": 3407, "sorned": 660}, 9 | {"period": "2011 Q2", "licensed": 3351, "sorned": 629}, 10 | {"period": "2011 Q1", "licensed": 3269, "sorned": 618}, 11 | {"period": "2010 Q4", "licensed": 3246, "sorned": 661}, 12 | {"period": "2009 Q4", "licensed": 3171, "sorned": 676}, 13 | {"period": "2008 Q4", "licensed": 3155, "sorned": 681}, 14 | {"period": "2007 Q4", "licensed": 3226, "sorned": 620}, 15 | {"period": "2006 Q4", "licensed": 3245, "sorned": null}, 16 | {"period": "2005 Q4", "licensed": 3289, "sorned": null} 17 | ]; 18 | Morris.Line({ 19 | element: 'hero-graph', 20 | data: tax_data, 21 | xkey: 'period', 22 | ykeys: ['licensed', 'sorned'], 23 | labels: ['Licensed', 'Off the road'], 24 | lineColors:['#4ECDC4','#ed5565'] 25 | }); 26 | 27 | Morris.Donut({ 28 | element: 'hero-donut', 29 | data: [ 30 | {label: 'Jam', value: 25 }, 31 | {label: 'Frosted', value: 40 }, 32 | {label: 'Custard', value: 25 }, 33 | {label: 'Sugar', value: 10 } 34 | ], 35 | colors: ['#3498db', '#2980b9', '#34495e'], 36 | formatter: function (y) { return y + "%" } 37 | }); 38 | 39 | Morris.Area({ 40 | element: 'hero-area', 41 | data: [ 42 | {period: '2010 Q1', iphone: 2666, ipad: null, itouch: 2647}, 43 | {period: '2010 Q2', iphone: 2778, ipad: 2294, itouch: 2441}, 44 | {period: '2010 Q3', iphone: 4912, ipad: 1969, itouch: 2501}, 45 | {period: '2010 Q4', iphone: 3767, ipad: 3597, itouch: 5689}, 46 | {period: '2011 Q1', iphone: 6810, ipad: 1914, itouch: 2293}, 47 | {period: '2011 Q2', iphone: 5670, ipad: 4293, itouch: 1881}, 48 | {period: '2011 Q3', iphone: 4820, ipad: 3795, itouch: 1588}, 49 | {period: '2011 Q4', iphone: 15073, ipad: 5967, itouch: 5175}, 50 | {period: '2012 Q1', iphone: 10687, ipad: 4460, itouch: 2028}, 51 | {period: '2012 Q2', iphone: 8432, ipad: 5713, itouch: 1791} 52 | ], 53 | 54 | xkey: 'period', 55 | ykeys: ['iphone', 'ipad', 'itouch'], 56 | labels: ['iPhone', 'iPad', 'iPod Touch'], 57 | hideHover: 'auto', 58 | lineWidth: 1, 59 | pointSize: 5, 60 | lineColors: ['#4a8bc2', '#ff6c60', '#a9d86e'], 61 | fillOpacity: 0.5, 62 | smooth: true 63 | }); 64 | 65 | Morris.Bar({ 66 | element: 'hero-bar', 67 | data: [ 68 | {device: 'iPhone', geekbench: 136}, 69 | {device: 'iPhone 3G', geekbench: 137}, 70 | {device: 'iPhone 3GS', geekbench: 275}, 71 | {device: 'iPhone 4', geekbench: 380}, 72 | {device: 'iPhone 4S', geekbench: 655}, 73 | {device: 'iPhone 5', geekbench: 1571} 74 | ], 75 | xkey: 'device', 76 | ykeys: ['geekbench'], 77 | labels: ['Geekbench'], 78 | barRatio: 0.4, 79 | xLabelAngle: 35, 80 | hideHover: 'auto', 81 | barColors: ['#ac92ec'] 82 | }); 83 | 84 | new Morris.Line({ 85 | element: 'examplefirst', 86 | xkey: 'year', 87 | ykeys: ['value'], 88 | labels: ['Value'], 89 | data: [ 90 | {year: '2008', value: 20}, 91 | {year: '2009', value: 10}, 92 | {year: '2010', value: 5}, 93 | {year: '2011', value: 5}, 94 | {year: '2012', value: 20} 95 | ] 96 | }); 97 | 98 | $('.code-example').each(function (index, el) { 99 | eval($(el).text()); 100 | }); 101 | }); 102 | 103 | }(); 104 | 105 | 106 | 107 | 108 | -------------------------------------------------------------------------------- /registration.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 13 | $query->execute(); 14 | if ($query->rowCount()>0) { 15 | $msg="Registration successfull. Now You can login !"; 16 | }else{ 17 | $msg="Oops.. Something went wrong..! please try again !"; 18 | } 19 | } 20 | ?> 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | CMS | User Registration 32 | 33 | 34 | 35 | 36 | 51 | 52 | 53 | 54 |
55 |
56 |

Inventory Managent System

57 |
58 | 86 |
87 |
88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /assets/js/chartjs-conf.js: -------------------------------------------------------------------------------- 1 | var Script = function () { 2 | 3 | 4 | var doughnutData = [ 5 | { 6 | value: 30, 7 | color:"#1abc9c" 8 | }, 9 | { 10 | value : 50, 11 | color : "#2ecc71" 12 | }, 13 | { 14 | value : 100, 15 | color : "#3498db" 16 | }, 17 | { 18 | value : 40, 19 | color : "#9b59b6" 20 | }, 21 | { 22 | value : 120, 23 | color : "#34495e" 24 | } 25 | 26 | ]; 27 | var lineChartData = { 28 | labels : ["","","","","","",""], 29 | datasets : [ 30 | { 31 | fillColor : "rgba(220,220,220,0.5)", 32 | strokeColor : "rgba(220,220,220,1)", 33 | pointColor : "rgba(220,220,220,1)", 34 | pointStrokeColor : "#fff", 35 | data : [65,59,90,81,56,55,40] 36 | }, 37 | { 38 | fillColor : "rgba(151,187,205,0.5)", 39 | strokeColor : "rgba(151,187,205,1)", 40 | pointColor : "rgba(151,187,205,1)", 41 | pointStrokeColor : "#fff", 42 | data : [28,48,40,19,96,27,100] 43 | } 44 | ] 45 | 46 | }; 47 | var pieData = [ 48 | { 49 | value: 30, 50 | color:"#1abc9c" 51 | }, 52 | { 53 | value : 50, 54 | color : "#16a085" 55 | }, 56 | { 57 | value : 100, 58 | color : "#27ae60" 59 | } 60 | 61 | ]; 62 | var barChartData = { 63 | labels : ["January","February","March","April","May","June","July"], 64 | datasets : [ 65 | { 66 | fillColor : "rgba(220,220,220,0.5)", 67 | strokeColor : "rgba(220,220,220,1)", 68 | data : [65,59,90,81,56,55,40] 69 | }, 70 | { 71 | fillColor : "rgba(151,187,205,0.5)", 72 | strokeColor : "rgba(151,187,205,1)", 73 | data : [28,48,40,19,96,27,100] 74 | } 75 | ] 76 | 77 | }; 78 | var chartData = [ 79 | { 80 | value : Math.random(), 81 | color: "#D97041" 82 | }, 83 | { 84 | value : Math.random(), 85 | color: "#C7604C" 86 | }, 87 | { 88 | value : Math.random(), 89 | color: "#21323D" 90 | }, 91 | { 92 | value : Math.random(), 93 | color: "#9D9B7F" 94 | }, 95 | { 96 | value : Math.random(), 97 | color: "#7D4F6D" 98 | }, 99 | { 100 | value : Math.random(), 101 | color: "#584A5E" 102 | } 103 | ]; 104 | var radarChartData = { 105 | labels : ["","","","","","",""], 106 | datasets : [ 107 | { 108 | fillColor : "rgba(220,220,220,0.5)", 109 | strokeColor : "rgba(220,220,220,1)", 110 | pointColor : "rgba(220,220,220,1)", 111 | pointStrokeColor : "#fff", 112 | data : [65,59,90,81,56,55,40] 113 | }, 114 | { 115 | fillColor : "rgba(151,187,205,0.5)", 116 | strokeColor : "rgba(151,187,205,1)", 117 | pointColor : "rgba(151,187,205,1)", 118 | pointStrokeColor : "#fff", 119 | data : [28,48,40,19,96,27,100] 120 | } 121 | ] 122 | 123 | }; 124 | new Chart(document.getElementById("doughnut").getContext("2d")).Doughnut(doughnutData); 125 | new Chart(document.getElementById("line").getContext("2d")).Line(lineChartData); 126 | new Chart(document.getElementById("radar").getContext("2d")).Radar(radarChartData); 127 | new Chart(document.getElementById("polarArea").getContext("2d")).PolarArea(chartData); 128 | new Chart(document.getElementById("bar").getContext("2d")).Bar(barChartData); 129 | new Chart(document.getElementById("pie").getContext("2d")).Pie(pieData); 130 | 131 | 132 | }(); -------------------------------------------------------------------------------- /assets/js/calendar-conf-events.js: -------------------------------------------------------------------------------- 1 | var Script = function () { 2 | 3 | 4 | /* initialize the external events 5 | -----------------------------------------------------------------*/ 6 | 7 | $('#external-events div.external-event').each(function() { 8 | 9 | // create an Event Object (http://arshaw.com/fullcalendar/docs/event_data/Event_Object/) 10 | // it doesn't need to have a start or end 11 | var eventObject = { 12 | title: $.trim($(this).text()) // use the element's text as the event title 13 | }; 14 | 15 | // store the Event Object in the DOM element so we can get to it later 16 | $(this).data('eventObject', eventObject); 17 | 18 | // make the event draggable using jQuery UI 19 | $(this).draggable({ 20 | zIndex: 999, 21 | revert: true, // will cause the event to go back to its 22 | revertDuration: 0 // original position after the drag 23 | }); 24 | 25 | }); 26 | 27 | 28 | /* initialize the calendar 29 | -----------------------------------------------------------------*/ 30 | 31 | var date = new Date(); 32 | var d = date.getDate(); 33 | var m = date.getMonth(); 34 | var y = date.getFullYear(); 35 | 36 | $('#calendar').fullCalendar({ 37 | header: { 38 | left: 'prev,next today', 39 | center: 'title', 40 | right: 'month,basicWeek,basicDay' 41 | }, 42 | editable: true, 43 | droppable: true, // this allows things to be dropped onto the calendar !!! 44 | drop: function(date, allDay) { // this function is called when something is dropped 45 | 46 | // retrieve the dropped element's stored Event Object 47 | var originalEventObject = $(this).data('eventObject'); 48 | 49 | // we need to copy it, so that multiple events don't have a reference to the same object 50 | var copiedEventObject = $.extend({}, originalEventObject); 51 | 52 | // assign it the date that was reported 53 | copiedEventObject.start = date; 54 | copiedEventObject.allDay = allDay; 55 | 56 | // render the event on the calendar 57 | // the last `true` argument determines if the event "sticks" (http://arshaw.com/fullcalendar/docs/event_rendering/renderEvent/) 58 | $('#calendar').fullCalendar('renderEvent', copiedEventObject, true); 59 | 60 | // is the "remove after drop" checkbox checked? 61 | if ($('#drop-remove').is(':checked')) { 62 | // if so, remove the element from the "Draggable Events" list 63 | $(this).remove(); 64 | } 65 | 66 | }, 67 | events: [ 68 | { 69 | title: 'All Day Event', 70 | start: new Date(y, m, 1) 71 | }, 72 | { 73 | title: 'Long Event', 74 | start: new Date(y, m, d-5), 75 | end: new Date(y, m, d-2) 76 | }, 77 | { 78 | id: 999, 79 | title: 'Repeating Event', 80 | start: new Date(y, m, d-3, 16, 0), 81 | allDay: false 82 | }, 83 | { 84 | id: 999, 85 | title: 'Repeating Event', 86 | start: new Date(y, m, d+4, 16, 0), 87 | allDay: false 88 | }, 89 | { 90 | title: 'Meeting', 91 | start: new Date(y, m, d, 10, 30), 92 | allDay: false 93 | }, 94 | { 95 | title: 'Lunch', 96 | start: new Date(y, m, d, 12, 0), 97 | end: new Date(y, m, d, 14, 0), 98 | allDay: false 99 | }, 100 | { 101 | title: 'Birthday Party', 102 | start: new Date(y, m, d+1, 19, 0), 103 | end: new Date(y, m, d+1, 22, 30), 104 | allDay: false 105 | }, 106 | { 107 | title: 'Click for Google', 108 | start: new Date(y, m, 28), 109 | end: new Date(y, m, 29), 110 | url: 'http://google.com/' 111 | } 112 | ] 113 | }); 114 | 115 | 116 | }(); -------------------------------------------------------------------------------- /assets/css/zabuto_calendar.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Zabuto Calendar 3 | */ 4 | 5 | div.zabuto_calendar { 6 | margin: 0; 7 | padding: 10px; 8 | } 9 | 10 | .calendar-month-header {font-size:116%!important;} 11 | .calendar-month-header th {font-weight:600!important;} 12 | 13 | div.zabuto_calendar .table { 14 | width: 100%; 15 | margin: 0; 16 | padding: 0px; 17 | } 18 | 19 | div.zabuto_calendar .table th, 20 | div.zabuto_calendar .table td { 21 | padding: 11.9px 0px; 22 | text-align: center; 23 | } 24 | 25 | div.zabuto_calendar .table tr th, 26 | div.zabuto_calendar .table tr td { 27 | background-color:; 28 | } 29 | 30 | div.zabuto_calendar .table tr.calendar-month-header th { 31 | background-color:; 32 | } 33 | 34 | div.zabuto_calendar .table tr.calendar-month-header th span { 35 | cursor: pointer; 36 | display: inline-block; 37 | padding-bottom:0px; 38 | 39 | } 40 | 41 | div.zabuto_calendar .table tr.calendar-dow-header th { 42 | background-color:; 43 | } 44 | 45 | div.zabuto_calendar .table tr:last-child { 46 | border-bottom: 0px solid #dddddd; 47 | } 48 | 49 | div.zabuto_calendar .table tr.calendar-month-header th { 50 | padding:10px; 51 | 52 | } 53 | 54 | div.zabuto_calendar .table-bordered tr.calendar-month-header th { 55 | border-left: 0; 56 | border-right: 0; 57 | } 58 | 59 | div.zabuto_calendar .table-bordered tr.calendar-month-header th:first-child { 60 | border-left: 0px solid #dddddd; 61 | } 62 | 63 | div.zabuto_calendar div.calendar-month-navigation { 64 | cursor: pointer; 65 | margin: 0; 66 | padding: 0; 67 | padding-top:0px; 68 | } 69 | 70 | div.zabuto_calendar tr.calendar-dow-header th, 71 | div.zabuto_calendar tr.calendar-dow td { 72 | width: 14%; 73 | } 74 | 75 | div.zabuto_calendar .table tr td div.day { 76 | margin: 0px; 77 | padding-top: 0px; 78 | padding-bottom: 0px; 79 | } 80 | 81 | /* actions and events */ 82 | div.zabuto_calendar .table tr td.event div.day, 83 | div.zabuto_calendar ul.legend li.event { 84 | background-color:; 85 | } 86 | 87 | div.zabuto_calendar .table tr td.dow-clickable, 88 | div.zabuto_calendar .table tr td.event-clickable { 89 | cursor: pointer; 90 | } 91 | 92 | /* badge */ 93 | div.zabuto_calendar .badge-today, 94 | div.zabuto_calendar div.legend span.badge-today { 95 | background-color:; 96 | color: #ffffff; 97 | text-shadow: none; 98 | } 99 | 100 | div.zabuto_calendar .badge-event, 101 | div.zabuto_calendar div.legend span.badge-event { 102 | background-color:; 103 | color: #ffffff; 104 | text-shadow: none; 105 | } 106 | 107 | div.zabuto_calendar .badge-event { 108 | font-size: 0.95em; 109 | padding-left: 8px; 110 | padding-right: 8px; 111 | padding-bottom: 4px; 112 | } 113 | 114 | /* legend */ 115 | div.zabuto_calendar div.legend { 116 | margin-top: 15px; 117 | text-align: right; 118 | padding-right:10px; 119 | padding-bottom:10px; 120 | } 121 | 122 | div.zabuto_calendar div.legend span { 123 | font-size: 10px; 124 | font-weight: normal; 125 | } 126 | 127 | div.zabuto_calendar div.legend span.legend-text:after, 128 | div.zabuto_calendar div.legend span.legend-block:after, 129 | div.zabuto_calendar div.legend span.legend-list:after, 130 | div.zabuto_calendar div.legend span.legend-spacer:after { 131 | content: ' '; 132 | } 133 | 134 | div.zabuto_calendar div.legend span.legend-spacer { 135 | padding-left: 25px; 136 | } 137 | 138 | div.zabuto_calendar ul.legend > span { 139 | padding-left: 2px; 140 | } 141 | 142 | div.zabuto_calendar ul.legend { 143 | display: inline-block; 144 | list-style: none outside none; 145 | margin: 0; 146 | padding: 0; 147 | } 148 | 149 | div.zabuto_calendar ul.legend li { 150 | display: inline-block; 151 | height: 8px; 152 | width: 8px; 153 | margin-left: 5px; 154 | } 155 | 156 | div.zabuto_calendar ul.legend 157 | div.zabuto_calendar ul.legend li:first-child { 158 | margin-left: 7px; 159 | } 160 | 161 | div.zabuto_calendar ul.legend li:last-child { 162 | margin-right: 5px; 163 | } 164 | 165 | div.zabuto_calendar div.legend span.badge { 166 | font-size: 0.9em; 167 | border-radius: 5px 5px 5px 5px; 168 | padding-left: 5px; 169 | padding-right: 5px; 170 | padding-top: 2px; 171 | padding-bottom: 3px; 172 | } 173 | 174 | /* responsive */ 175 | @media (max-width: 979px) { 176 | div.zabuto_calendar .table th, 177 | div.zabuto_calendar .table td { 178 | padding: 2px 1px; 179 | } 180 | } 181 | -------------------------------------------------------------------------------- /assets/js/sparkline-chart.js: -------------------------------------------------------------------------------- 1 | var Script = function () { 2 | 3 | $(".sparkline").each(function(){ 4 | var $data = $(this).data(); 5 | 6 | $data.valueSpots = {'0:': $data.spotColor}; 7 | 8 | $(this).sparkline( $data.data || "html", $data, 9 | { 10 | tooltipFormat: '' + 11 | ' {{offset:names}} ({{percent.1}}%)' 12 | }); 13 | 14 | 15 | 16 | 17 | }); 18 | 19 | //sparkline chart 20 | 21 | $("#barchart").sparkline([5,3,6,7,5,6,4,2,3,4,6,8,9,10,8,6,5,7,6,5,4,7,4], { 22 | type: 'bar', 23 | height: '65', 24 | barWidth: 8, 25 | barSpacing: 5, 26 | barColor: '#fff' 27 | // tooltipFormat: '' + 28 | // ' {{offset:names}} ({{percent.1}}%)' 29 | 30 | }); 31 | 32 | 33 | $("#linechart").sparkline([1,5,3,7,9,3,6,4,7,9,7,6,2], { 34 | type: 'line', 35 | width: '300', 36 | height: '75', 37 | fillColor: '', 38 | lineColor: '#fff', 39 | lineWidth: 2, 40 | spotColor: '#fff', 41 | minSpotColor: '#fff', 42 | maxSpotColor: '#fff', 43 | highlightSpotColor: '#fff', 44 | highlightLineColor: '#ffffff', 45 | spotRadius: 4, 46 | highlightLineColor: '#ffffff' 47 | // tooltipFormat: '' + 48 | // ' {{offset:names}} ({{percent.1}}%)' 49 | 50 | 51 | 52 | }); 53 | 54 | $("#pie-chart").sparkline([2,1,1,1], { 55 | type: 'pie', 56 | width: '100', 57 | height: '100', 58 | borderColor: '#00bf00', 59 | sliceColors: ['#41CAC0', '#A8D76F', '#F8D347', '#EF6F66'] 60 | // tooltipFormat: '' + 61 | // ' {{offset:names}} ({{percent.1}}%)' 62 | }); 63 | 64 | //work progress bar 65 | 66 | $("#work-progress1").sparkline([5,6,7,5,9,6,4], { 67 | type: 'bar', 68 | height: '20', 69 | barWidth: 5, 70 | barSpacing: 2, 71 | barColor: '#5fbf00' 72 | // tooltipFormat: '' + 73 | // ' {{offset:names}} ({{percent.1}}%)' 74 | }); 75 | 76 | $("#work-progress2").sparkline([3,2,5,8,4,7,5], { 77 | type: 'bar', 78 | height: '22', 79 | barWidth: 5, 80 | barSpacing: 2, 81 | barColor: '#58c9f1' 82 | // tooltipFormat: '' + 83 | // ' {{offset:names}} ({{percent.1}}%)' 84 | }); 85 | 86 | $("#work-progress3").sparkline([1,6,9,3,4,8,5], { 87 | type: 'bar', 88 | height: '22', 89 | barWidth: 5, 90 | barSpacing: 2, 91 | barColor: '#8075c4' 92 | // tooltipFormat: '' + 93 | // ' {{offset:names}} ({{percent.1}}%)' 94 | }); 95 | 96 | $("#work-progress4").sparkline([9,4,9,6,7,4,3], { 97 | type: 'bar', 98 | height: '22', 99 | barWidth: 5, 100 | barSpacing: 2, 101 | barColor: '#ff6c60' 102 | // tooltipFormat: '' + 103 | // ' {{offset:names}} ({{percent.1}}%)' 104 | }); 105 | 106 | $("#work-progress5").sparkline([6,8,5,7,6,8,3], { 107 | type: 'bar', 108 | height: '22', 109 | barWidth: 5, 110 | barSpacing: 2, 111 | barColor: '#41cac0' 112 | // tooltipFormat: '' + 113 | // ' {{offset:names}} ({{percent.1}}%)' 114 | }); 115 | 116 | $("#pie-chart2").sparkline([2,1,1,1], { 117 | type: 'pie', 118 | width: '250', 119 | height: '125', 120 | sliceColors: ['#41CAC0', '#A8D76F', '#F8D347', '#EF6F66'] 121 | // tooltipFormat: '' + 122 | // ' {{offset:names}} ({{percent.1}}%)'}); 123 | 124 | }); 125 | 126 | }(); -------------------------------------------------------------------------------- /assets/js/gritter-conf.js: -------------------------------------------------------------------------------- 1 | var Gritter = function () { 2 | 3 | $('#add-sticky').click(function(){ 4 | 5 | var unique_id = $.gritter.add({ 6 | // (string | mandatory) the heading of the notification 7 | title: 'This is a Sticky Notice!', 8 | // (string | mandatory) the text inside the notification 9 | text: 'Hover me to enable the Close Button. This note also contains a link example. Thank you so much to try Dashgum. Developed by Alvarez.is.', 10 | // (string | optional) the image to display on the left 11 | image: 'assets/img/ui-sam.jpg', 12 | // (bool | optional) if you want it to fade out on its own or just sit there 13 | sticky: true, 14 | // (int | optional) the time you want it to be alive for before fading out 15 | time: '', 16 | // (string | optional) the class name you want to apply to that specific message 17 | class_name: 'my-sticky-class' 18 | }); 19 | 20 | // You can have it return a unique id, this can be used to manually remove it later using 21 | /* 22 | setTimeout(function(){ 23 | 24 | $.gritter.remove(unique_id, { 25 | fade: true, 26 | speed: 'slow' 27 | }); 28 | 29 | }, 6000) 30 | */ 31 | 32 | return false; 33 | 34 | }); 35 | 36 | $('#add-regular').click(function(){ 37 | 38 | $.gritter.add({ 39 | // (string | mandatory) the heading of the notification 40 | title: 'This is a Regular Notice!', 41 | // (string | mandatory) the text inside the notification 42 | text: 'This will fade out after a certain amount of time. This note also contains a link example. Thank you so much to try Dashgum. Developed by Alvarez.is.', 43 | // (string | optional) the image to display on the left 44 | image: 'assets/img/ui-sam.jpg', 45 | // (bool | optional) if you want it to fade out on its own or just sit there 46 | sticky: false, 47 | // (int | optional) the time you want it to be alive for before fading out 48 | time: '' 49 | }); 50 | 51 | return false; 52 | 53 | }); 54 | 55 | $('#add-max').click(function(){ 56 | 57 | $.gritter.add({ 58 | // (string | mandatory) the heading of the notification 59 | title: 'This is a notice with a max of 3 on screen at one time!', 60 | // (string | mandatory) the text inside the notification 61 | text: 'This will fade out after a certain amount of time. This note also contains a link example. Thank you so much to try Dashgum. Developed by Alvarez.is.', 62 | // (string | optional) the image to display on the left 63 | image: 'assets/img/ui-sam.jpg', 64 | // (bool | optional) if you want it to fade out on its own or just sit there 65 | sticky: false, 66 | // (function) before the gritter notice is opened 67 | before_open: function(){ 68 | if($('.gritter-item-wrapper').length == 3) 69 | { 70 | // Returning false prevents a new gritter from opening 71 | return false; 72 | } 73 | } 74 | }); 75 | 76 | return false; 77 | 78 | }); 79 | 80 | $('#add-without-image').click(function(){ 81 | 82 | $.gritter.add({ 83 | // (string | mandatory) the heading of the notification 84 | title: 'This is a Notice Without an Image!', 85 | // (string | mandatory) the text inside the notification 86 | text: 'This will fade out after a certain amount of time. This note also contains a link example. Thank you so much to try Dashgum. Developed by Alvarez.is.' 87 | }); 88 | 89 | return false; 90 | }); 91 | 92 | $('#add-gritter-light').click(function(){ 93 | 94 | $.gritter.add({ 95 | // (string | mandatory) the heading of the notification 96 | title: 'This is a Light Notification', 97 | // (string | mandatory) the text inside the notification 98 | text: 'Just add a "gritter-light" class_name to your $.gritter.add or globally to $.gritter.options.class_name', 99 | class_name: 'gritter-light' 100 | }); 101 | 102 | return false; 103 | }); 104 | 105 | $("#remove-all").click(function(){ 106 | 107 | $.gritter.removeAll(); 108 | return false; 109 | 110 | }); 111 | 112 | 113 | 114 | }(); -------------------------------------------------------------------------------- /assets/js/bootstrap-inputmask/bootstrap-inputmask.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Bootstrap.js by @mdo and @fat, extended by @ArnoldDaniels. 3 | * plugins: bootstrap-inputmask.js 4 | * Copyright 2012 Twitter, Inc. 5 | * http://www.apache.org/licenses/LICENSE-2.0.txt 6 | */ 7 | !function(e){var t=window.orientation!==undefined,n=navigator.userAgent.toLowerCase().indexOf("android")>-1,r=function(t,r){if(n)return;this.$element=e(t),this.options=e.extend({},e.fn.inputmask.defaults,r),this.mask=String(r.mask),this.init(),this.listen(),this.checkVal()};r.prototype={init:function(){var t=this.options.definitions,n=this.mask.length;this.tests=[],this.partialPosition=this.mask.length,this.firstNonMaskPos=null,e.each(this.mask.split(""),e.proxy(function(e,r){r=="?"?(n--,this.partialPosition=e):t[r]?(this.tests.push(new RegExp(t[r])),this.firstNonMaskPos===null&&(this.firstNonMaskPos=this.tests.length-1)):this.tests.push(null)},this)),this.buffer=e.map(this.mask.split(""),e.proxy(function(e,n){if(e!="?")return t[e]?this.options.placeholder:e},this)),this.focusText=this.$element.val(),this.$element.data("rawMaskFn",e.proxy(function(){return e.map(this.buffer,function(e,t){return this.tests[t]&&e!=this.options.placeholder?e:null}).join("")},this))},listen:function(){if(this.$element.attr("readonly"))return;var t=(navigator.userAgent.match(/msie/i)?"paste":"input")+".mask";this.$element.on("unmask",e.proxy(this.unmask,this)).on("focus.mask",e.proxy(this.focusEvent,this)).on("blur.mask",e.proxy(this.blurEvent,this)).on("keydown.mask",e.proxy(this.keydownEvent,this)).on("keypress.mask",e.proxy(this.keypressEvent,this)).on(t,e.proxy(this.pasteEvent,this))},caret:function(e,t){if(this.$element.length===0)return;if(typeof e=="number")return t=typeof t=="number"?t:e,this.$element.each(function(){if(this.setSelectionRange)this.setSelectionRange(e,t);else if(this.createTextRange){var n=this.createTextRange();n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",e),n.select()}});if(this.$element[0].setSelectionRange)e=this.$element[0].selectionStart,t=this.$element[0].selectionEnd;else if(document.selection&&document.selection.createRange){var n=document.selection.createRange();e=0-n.duplicate().moveStart("character",-1e5),t=e+n.text.length}return{begin:e,end:t}},seekNext:function(e){var t=this.mask.length;while(++e<=t&&!this.tests[e]);return e},seekPrev:function(e){while(--e>=0&&!this.tests[e]);return e},shiftL:function(e,t){var n=this.mask.length;if(e<0)return;for(var r=e,i=this.seekNext(t);rn.length)break}else this.buffer[i]==n.charAt(s)&&i!=this.partialPosition&&(s++,r=i);if(!e&&r+1=this.partialPosition)this.writeBuffer(),e||this.$element.val(this.$element.val().substring(0,r+1));return this.partialPosition?i:this.firstNonMaskPos}},e.fn.inputmask=function(t){return this.each(function(){var n=e(this),i=n.data("inputmask");i||n.data("inputmask",i=new r(this,t))})},e.fn.inputmask.defaults={mask:"",placeholder:"_",definitions:{9:"[0-9]",a:"[A-Za-z]","?":"[A-Za-z0-9]","*":"."}},e.fn.inputmask.Constructor=r,e(document).on("focus.inputmask.data-api","[data-mask]",function(t){var n=e(this);if(n.data("inputmask"))return;t.preventDefault(),n.inputmask(n.data())})}(window.jQuery) -------------------------------------------------------------------------------- /assets/js/fancybox/jquery.fancybox.css: -------------------------------------------------------------------------------- 1 | /*! fancyBox v2.1.3 fancyapps.com | fancyapps.com/fancybox/#license */ 2 | .fancybox-wrap, 3 | .fancybox-skin, 4 | .fancybox-outer, 5 | .fancybox-inner, 6 | .fancybox-image, 7 | .fancybox-wrap iframe, 8 | .fancybox-wrap object, 9 | .fancybox-nav, 10 | .fancybox-nav span, 11 | .fancybox-tmp 12 | { 13 | padding: 0; 14 | margin: 0; 15 | border: 0; 16 | outline: none; 17 | vertical-align: top; 18 | } 19 | 20 | .fancybox-wrap { 21 | position: absolute; 22 | top: 0; 23 | left: 0; 24 | z-index: 8020; 25 | } 26 | 27 | .fancybox-skin { 28 | position: relative; 29 | background: #f9f9f9; 30 | color: #444; 31 | text-shadow: none; 32 | -webkit-border-radius: 4px; 33 | -moz-border-radius: 4px; 34 | border-radius: 4px; 35 | } 36 | 37 | .fancybox-opened { 38 | z-index: 8030; 39 | } 40 | 41 | .fancybox-opened .fancybox-skin { 42 | -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 43 | -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 44 | box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 45 | } 46 | 47 | .fancybox-outer, .fancybox-inner { 48 | position: relative; 49 | } 50 | 51 | .fancybox-inner { 52 | overflow: hidden; 53 | } 54 | 55 | .fancybox-type-iframe .fancybox-inner { 56 | -webkit-overflow-scrolling: touch; 57 | } 58 | 59 | .fancybox-error { 60 | color: #444; 61 | font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; 62 | margin: 0; 63 | padding: 15px; 64 | white-space: nowrap; 65 | } 66 | 67 | .fancybox-image, .fancybox-iframe { 68 | display: block; 69 | width: 100%; 70 | height: 100%; 71 | } 72 | 73 | .fancybox-image { 74 | max-width: 100%; 75 | max-height: 100%; 76 | } 77 | 78 | #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { 79 | background-image: url('http://thevectorlab.net/flatlab/assets/fancybox/source/fancybox_sprite.png'); 80 | } 81 | 82 | #fancybox-loading { 83 | position: fixed; 84 | top: 50%; 85 | left: 50%; 86 | margin-top: -22px; 87 | margin-left: -22px; 88 | background-position: 0 -108px; 89 | opacity: 0.8; 90 | cursor: pointer; 91 | z-index: 8060; 92 | } 93 | 94 | #fancybox-loading div { 95 | width: 44px; 96 | height: 44px; 97 | background: url('http://thevectorlab.net/flatlab/assets/fancybox/source/fancybox_loading.gif') center center no-repeat; 98 | } 99 | 100 | .fancybox-close { 101 | position: absolute; 102 | top: -18px; 103 | right: -18px; 104 | width: 36px; 105 | height: 36px; 106 | cursor: pointer; 107 | z-index: 8040; 108 | } 109 | 110 | .fancybox-nav { 111 | position: absolute; 112 | top: 0; 113 | width: 40%; 114 | height: 100%; 115 | cursor: pointer; 116 | text-decoration: none; 117 | background: transparent url('http://thevectorlab.net/flatlab/assets/fancybox/source/blank.gif'); /* helps IE */ 118 | -webkit-tap-highlight-color: rgba(0,0,0,0); 119 | z-index: 8040; 120 | } 121 | 122 | .fancybox-prev { 123 | left: 0; 124 | } 125 | 126 | .fancybox-next { 127 | right: 0; 128 | } 129 | 130 | .fancybox-nav span { 131 | position: absolute; 132 | top: 50%; 133 | width: 36px; 134 | height: 34px; 135 | margin-top: -18px; 136 | cursor: pointer; 137 | z-index: 8040; 138 | visibility: hidden; 139 | } 140 | 141 | .fancybox-prev span { 142 | left: 10px; 143 | background-position: 0 -36px; 144 | } 145 | 146 | .fancybox-next span { 147 | right: 10px; 148 | background-position: 0 -72px; 149 | } 150 | 151 | .fancybox-nav:hover span { 152 | visibility: visible; 153 | } 154 | 155 | .fancybox-tmp { 156 | position: absolute; 157 | top: -99999px; 158 | left: -99999px; 159 | visibility: hidden; 160 | max-width: 99999px; 161 | max-height: 99999px; 162 | overflow: visible !important; 163 | } 164 | 165 | /* Overlay helper */ 166 | 167 | .fancybox-lock { 168 | overflow: hidden; 169 | } 170 | 171 | .fancybox-overlay { 172 | position: absolute; 173 | top: 0; 174 | left: 0; 175 | overflow: hidden; 176 | display: none; 177 | z-index: 8010; 178 | background: url('http://thevectorlab.net/flatlab/assets/fancybox/source/fancybox_overlay.png'); 179 | } 180 | 181 | .fancybox-overlay-fixed { 182 | position: fixed; 183 | bottom: 0; 184 | right: 0; 185 | } 186 | 187 | .fancybox-lock .fancybox-overlay { 188 | overflow: auto; 189 | overflow-y: scroll; 190 | } 191 | 192 | /* Title helper */ 193 | 194 | .fancybox-title { 195 | visibility: hidden; 196 | font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; 197 | position: relative; 198 | text-shadow: none; 199 | z-index: 8050; 200 | } 201 | 202 | .fancybox-opened .fancybox-title { 203 | visibility: visible; 204 | } 205 | 206 | .fancybox-title-float-wrap { 207 | position: absolute; 208 | bottom: 0; 209 | right: 50%; 210 | margin-bottom: -35px; 211 | z-index: 8050; 212 | text-align: center; 213 | } 214 | 215 | .fancybox-title-float-wrap .child { 216 | display: inline-block; 217 | margin-right: -100%; 218 | padding: 2px 20px; 219 | background: transparent; /* Fallback for web browsers that doesn't support RGBa */ 220 | background: rgba(0, 0, 0, 0.8); 221 | -webkit-border-radius: 15px; 222 | -moz-border-radius: 15px; 223 | border-radius: 15px; 224 | text-shadow: 0 1px 2px #222; 225 | color: #FFF; 226 | font-weight: bold; 227 | line-height: 24px; 228 | white-space: nowrap; 229 | } 230 | 231 | .fancybox-title-outside-wrap { 232 | position: relative; 233 | margin-top: 10px; 234 | color: #fff; 235 | } 236 | 237 | .fancybox-title-inside-wrap { 238 | padding-top: 10px; 239 | } 240 | 241 | .fancybox-title-over-wrap { 242 | position: absolute; 243 | bottom: 0; 244 | left: 0; 245 | color: #fff; 246 | padding: 10px; 247 | background: #000; 248 | background: rgba(0, 0, 0, .8); 249 | } -------------------------------------------------------------------------------- /profile.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 17 | $query = execute(); 18 | if($query->rowCount()>0){ 19 | $successmsg="Profile Successfully Updated !!"; 20 | }else{ 21 | $errormsg="Profile not updated !!"; 22 | } 23 | } 24 | ?> 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | CMS | User Change Password 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
48 | 49 | 50 |
51 |
52 |

Profile info

53 | 54 |
55 |
56 |
57 | 58 |
59 | 60 | Well done!
61 | 62 | 64 |
65 | 66 | Oh snap!
67 | 68 | 69 | prepare($sql1); 71 | $query1->execute(); 72 | $results = $query1->fetchAll(PDO::FETCH_OBJ); 73 | foreach($results as $result) {?> 74 |

  fullName);?>'s Profile

75 |
Last Updated at :  updationDate);?>
76 |
77 |
78 | 79 |
80 | 81 |
82 | 83 |
84 | 85 |
86 |
87 | 88 |
89 | 90 |
91 | userImage == ""): ?> 92 | 93 | Change Photo 94 | 95 | 96 | Change Photo 97 | 98 |
99 |
100 | 101 |
102 |
103 | 104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 | 113 |
114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 145 | 146 | 147 | 148 | -------------------------------------------------------------------------------- /add-record.php: -------------------------------------------------------------------------------- 1 | $max_filesize) { 26 | die('The Image you attempted to upload is too large.'); 27 | } 28 | 29 | // Check if we can upload to the specified path, if not DIE and inform the user. 30 | if (!is_writable($upload_path)) { 31 | die('You cannot upload to the specified directory, please CHMOD it to 777.'); 32 | } 33 | 34 | $filename = rand(100, 1000000).time().$ext; 35 | // this will give the file current time so avoid files having the same name 36 | move_uploaded_file($_FILES["image"]["tmp_name"], $upload_path . $filename); 37 | 38 | $sql= "INSERT INTO tblproducts (id,userId,image) VALUES(:id,:uid,:img)"; 39 | $query = $dbh->prepare($sql); 40 | $query->bindParam(':id', $id, PDO::PARAM_INT); 41 | $query->bindParam(':uid', $uid, PDO::PARAM_STR); 42 | $query->bindParam(':img', $filename, PDO::PARAM_STR); 43 | $query->execute(); 44 | if ($query->rowCount() > 0) 45 | { 46 | echo ""; 47 | } 48 | }catch(PDOException $ex) 49 | { 50 | throw $ex; 51 | } 52 | } 53 | ?> 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | IMS | Add product 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 83 | 84 | 85 |
86 | 87 | 88 |
89 |
90 |

Add Product

91 | 92 | 93 |
94 |
95 | 96 |
97 | 98 |
99 |
100 |

101 |
102 | 103 |
104 | 105 | 106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 | 114 |
115 |
116 |
117 |
118 |
119 | 120 |
121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 162 | 163 | 164 | 165 | 166 | -------------------------------------------------------------------------------- /update-image.php: -------------------------------------------------------------------------------- 1 | alert('Invalid format. Only jpg / jpeg/ png /gif format allowed');"; 27 | } 28 | else 29 | { 30 | //rename the image file 31 | $imgnewfile=md5($imgfile).$extension; 32 | // Code for move image into directory 33 | move_uploaded_file($_FILES["image"]["tmp_name"],"userimages/".$imgnewfile); 34 | // Query for insertion data into database 35 | $sql = "update users set userImage='$imgnewfile' where userEmail='".$_SESSION['login']."'"; 36 | $query= $dbh->prepare($sql); 37 | $query->execute(); 38 | if($query->rowCount() > 0) 39 | { 40 | $successmsg="Profile photo Successfully !!"; 41 | } 42 | else 43 | { 44 | $errormsg="Profile photo not updated !!"; 45 | } 46 | } 47 | } 48 | ?> 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | IMS | User Change Password 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 |
73 | 74 | 75 |
76 |
77 |

Update Profile Photo

78 | 79 | 80 |
81 |
82 |
83 | 84 | 85 | 87 |
88 | 89 | Well done!
90 | 91 | 92 | 94 |
95 | 96 | Oh snap!
97 | 98 | prepare($sql1); 100 | $query1->execute(); 101 | $results= $query1->fetchAll(PDO::FETCH_OBJ); 102 | 103 | foreach($results as $result) 104 | { 105 | ?> 106 | 107 |

  fullName);?>'s Profile

108 | 109 |
110 |
111 | 112 |
113 | userImage; 114 | if($userphoto==""): 115 | ?> 116 | 117 | 118 | 119 | 120 | 121 |
122 | 123 |
124 | 125 |
126 | 127 |
128 | 129 |
130 |
131 | 132 | 133 |
134 |
135 | 136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 | 145 |
146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 187 | 188 | 189 | 190 | 191 | -------------------------------------------------------------------------------- /assets/js/jquery-easy-pie-chart/jquery.easy-pie-chart.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.4.0 2 | 3 | /* 4 | Easy pie chart is a jquery plugin to display simple animated pie charts for only one value 5 | 6 | Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 7 | and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. 8 | 9 | Built on top of the jQuery library (http://jquery.com) 10 | 11 | @source: http://github.com/rendro/easy-pie-chart/ 12 | @autor: Robert Fleischmann 13 | @version: 1.0.1 14 | 15 | Inspired by: http://dribbble.com/shots/631074-Simple-Pie-Charts-II?list=popular&offset=210 16 | Thanks to Philip Thrasher for the jquery plugin boilerplate for coffee script 17 | */ 18 | 19 | 20 | (function() { 21 | 22 | (function($) { 23 | $.easyPieChart = function(el, options) { 24 | var addScaleLine, animateLine, drawLine, easeInOutQuad, renderBackground, renderScale, renderTrack, 25 | _this = this; 26 | this.el = el; 27 | this.$el = $(el); 28 | this.$el.data("easyPieChart", this); 29 | this.init = function() { 30 | var percent; 31 | _this.options = $.extend({}, $.easyPieChart.defaultOptions, options); 32 | percent = parseInt(_this.$el.data('percent'), 10); 33 | _this.percentage = 0; 34 | _this.canvas = $("").get(0); 35 | _this.$el.append(_this.canvas); 36 | if (typeof G_vmlCanvasManager !== "undefined" && G_vmlCanvasManager !== null) { 37 | G_vmlCanvasManager.initElement(_this.canvas); 38 | } 39 | _this.ctx = _this.canvas.getContext('2d'); 40 | if (window.devicePixelRatio > 1.5) { 41 | $(_this.canvas).css({ 42 | width: _this.options.size, 43 | height: _this.options.size 44 | }); 45 | _this.canvas.width *= 2; 46 | _this.canvas.height *= 2; 47 | _this.ctx.scale(2, 2); 48 | } 49 | _this.ctx.translate(_this.options.size / 2, _this.options.size / 2); 50 | _this.$el.addClass('easyPieChart'); 51 | _this.$el.css({ 52 | width: _this.options.size, 53 | height: _this.options.size, 54 | lineHeight: "" + _this.options.size + "px" 55 | }); 56 | _this.update(percent); 57 | return _this; 58 | }; 59 | this.update = function(percent) { 60 | if (_this.options.animate === false) { 61 | return drawLine(percent); 62 | } else { 63 | return animateLine(_this.percentage, percent); 64 | } 65 | }; 66 | renderScale = function() { 67 | var i, _i, _results; 68 | _this.ctx.fillStyle = _this.options.scaleColor; 69 | _this.ctx.lineWidth = 1; 70 | _results = []; 71 | for (i = _i = 0; _i <= 24; i = ++_i) { 72 | _results.push(addScaleLine(i)); 73 | } 74 | return _results; 75 | }; 76 | addScaleLine = function(i) { 77 | var offset; 78 | offset = i % 6 === 0 ? 0 : _this.options.size * 0.017; 79 | _this.ctx.save(); 80 | _this.ctx.rotate(i * Math.PI / 12); 81 | _this.ctx.fillRect(_this.options.size / 2 - offset, 0, -_this.options.size * 0.05 + offset, 1); 82 | return _this.ctx.restore(); 83 | }; 84 | renderTrack = function() { 85 | var offset; 86 | offset = _this.options.size / 2 - _this.options.lineWidth / 2; 87 | if (_this.options.scaleColor !== false) { 88 | offset -= _this.options.size * 0.08; 89 | } 90 | _this.ctx.beginPath(); 91 | _this.ctx.arc(0, 0, offset, 0, Math.PI * 2, true); 92 | _this.ctx.closePath(); 93 | _this.ctx.strokeStyle = _this.options.trackColor; 94 | _this.ctx.lineWidth = _this.options.lineWidth; 95 | return _this.ctx.stroke(); 96 | }; 97 | renderBackground = function() { 98 | if (_this.options.scaleColor !== false) { 99 | renderScale(); 100 | } 101 | if (_this.options.trackColor !== false) { 102 | return renderTrack(); 103 | } 104 | }; 105 | drawLine = function(percent) { 106 | var offset; 107 | renderBackground(); 108 | _this.ctx.strokeStyle = $.isFunction(_this.options.barColor) ? _this.options.barColor(percent) : _this.options.barColor; 109 | _this.ctx.lineCap = _this.options.lineCap; 110 | _this.ctx.lineWidth = _this.options.lineWidth; 111 | offset = _this.options.size / 2 - _this.options.lineWidth / 2; 112 | if (_this.options.scaleColor !== false) { 113 | offset -= _this.options.size * 0.08; 114 | } 115 | _this.ctx.save(); 116 | _this.ctx.rotate(-Math.PI / 2); 117 | _this.ctx.beginPath(); 118 | _this.ctx.arc(0, 0, offset, 0, Math.PI * 2 * percent / 100, false); 119 | _this.ctx.stroke(); 120 | return _this.ctx.restore(); 121 | }; 122 | animateLine = function(from, to) { 123 | var currentStep, fps, steps; 124 | fps = 30; 125 | steps = fps * _this.options.animate / 1000; 126 | currentStep = 0; 127 | _this.options.onStart.call(_this); 128 | _this.percentage = to; 129 | if (_this.animation) { 130 | clearInterval(_this.animation); 131 | _this.animation = false; 132 | } 133 | return _this.animation = setInterval(function() { 134 | _this.ctx.clearRect(-_this.options.size / 2, -_this.options.size / 2, _this.options.size, _this.options.size); 135 | renderBackground.call(_this); 136 | drawLine.call(_this, [easeInOutQuad(currentStep, from, to - from, steps)]); 137 | currentStep++; 138 | if ((currentStep / steps) > 1) { 139 | clearInterval(_this.animation); 140 | _this.animation = false; 141 | return _this.options.onStop.call(_this); 142 | } 143 | }, 1000 / fps); 144 | }; 145 | easeInOutQuad = function(t, b, c, d) { 146 | var easeIn, easing; 147 | easeIn = function(t) { 148 | return Math.pow(t, 2); 149 | }; 150 | easing = function(t) { 151 | if (t < 1) { 152 | return easeIn(t); 153 | } else { 154 | return 2 - easeIn((t / 2) * -2 + 2); 155 | } 156 | }; 157 | t /= d / 2; 158 | return c / 2 * easing(t) + b; 159 | }; 160 | return this.init(); 161 | }; 162 | $.easyPieChart.defaultOptions = { 163 | barColor: '#ef1e25', 164 | trackColor: '#f2f2f2', 165 | scaleColor: '#dfe0e0', 166 | lineCap: 'round', 167 | size: 110, 168 | lineWidth: 3, 169 | animate: false, 170 | onStart: $.noop, 171 | onStop: $.noop 172 | }; 173 | $.fn.easyPieChart = function(options) { 174 | return $.each(this, function(i, el) { 175 | var $el; 176 | $el = $(el); 177 | if (!$el.data('easyPieChart')) { 178 | return $el.data('easyPieChart', new $.easyPieChart(el, options)); 179 | } 180 | }); 181 | }; 182 | return void 0; 183 | })(jQuery); 184 | 185 | }).call(this); 186 | -------------------------------------------------------------------------------- /assets/js/jquery.dcjqaccordion.2.7.js: -------------------------------------------------------------------------------- 1 | /* 2 | * DC jQuery Vertical Accordion Menu - jQuery vertical accordion menu plugin 3 | * Copyright (c) 2011 Design Chemical 4 | * 5 | * Dual licensed under the MIT and GPL licenses: 6 | * http://www.opensource.org/licenses/mit-license.php 7 | * http://www.gnu.org/licenses/gpl.html 8 | * 9 | */ 10 | 11 | (function($){ 12 | 13 | $.fn.dcAccordion = function(options) { 14 | 15 | //set default options 16 | var defaults = { 17 | classParent : 'dcjq-parent', 18 | classActive : 'active', 19 | classArrow : 'dcjq-icon', 20 | classCount : 'dcjq-count', 21 | classExpand : 'dcjq-current-parent', 22 | eventType : 'click', 23 | hoverDelay : 300, 24 | menuClose : true, 25 | autoClose : true, 26 | autoExpand : false, 27 | speed : 'slow', 28 | saveState : true, 29 | disableLink : true, 30 | showCount : false, 31 | // cookie : 'dcjq-accordion' 32 | }; 33 | 34 | //call in the default otions 35 | var options = $.extend(defaults, options); 36 | 37 | this.each(function(options){ 38 | 39 | var obj = this; 40 | setUpAccordion(); 41 | // if(defaults.saveState == true){ 42 | // checkCookie(defaults.cookie, obj); 43 | // } 44 | if(defaults.autoExpand == true){ 45 | $('li.'+defaults.classExpand+' > a').addClass(defaults.classActive); 46 | } 47 | resetAccordion(); 48 | 49 | if(defaults.eventType == 'hover'){ 50 | 51 | var config = { 52 | sensitivity: 2, // number = sensitivity threshold (must be 1 or higher) 53 | interval: defaults.hoverDelay, // number = milliseconds for onMouseOver polling interval 54 | over: linkOver, // function = onMouseOver callback (REQUIRED) 55 | timeout: defaults.hoverDelay, // number = milliseconds delay before onMouseOut 56 | out: linkOut // function = onMouseOut callback (REQUIRED) 57 | }; 58 | 59 | $('li a',obj).hoverIntent(config); 60 | var configMenu = { 61 | sensitivity: 2, // number = sensitivity threshold (must be 1 or higher) 62 | interval: 1000, // number = milliseconds for onMouseOver polling interval 63 | over: menuOver, // function = onMouseOver callback (REQUIRED) 64 | timeout: 1000, // number = milliseconds delay before onMouseOut 65 | out: menuOut // function = onMouseOut callback (REQUIRED) 66 | }; 67 | 68 | $(obj).hoverIntent(configMenu); 69 | 70 | // Disable parent links 71 | if(defaults.disableLink == true){ 72 | 73 | $('li a',obj).click(function(e){ 74 | if($(this).siblings('ul').length >0){ 75 | e.preventDefault(); 76 | } 77 | }); 78 | } 79 | 80 | } else { 81 | 82 | $('li a',obj).click(function(e){ 83 | 84 | $activeLi = $(this).parent('li'); 85 | $parentsLi = $activeLi.parents('li'); 86 | $parentsUl = $activeLi.parents('ul'); 87 | 88 | // Prevent browsing to link if has child links 89 | if(defaults.disableLink == true){ 90 | if($(this).siblings('ul').length >0){ 91 | e.preventDefault(); 92 | } 93 | } 94 | 95 | // Auto close sibling menus 96 | if(defaults.autoClose == true){ 97 | autoCloseAccordion($parentsLi, $parentsUl); 98 | } 99 | 100 | if ($('> ul',$activeLi).is(':visible')){ 101 | $('ul',$activeLi).slideUp(defaults.speed); 102 | $('a',$activeLi).removeClass(defaults.classActive); 103 | } else { 104 | $(this).siblings('ul').slideToggle(defaults.speed); 105 | $('> a',$activeLi).addClass(defaults.classActive); 106 | } 107 | 108 | // // Write cookie if save state is on 109 | // if(defaults.saveState == true){ 110 | // createCookie(defaults.cookie, obj); 111 | // } 112 | }); 113 | } 114 | 115 | // Set up accordion 116 | function setUpAccordion(){ 117 | 118 | $arrow = ''; 119 | var classParentLi = defaults.classParent+'-li'; 120 | $('> ul',obj).show(); 121 | $('li',obj).each(function(){ 122 | if($('> ul',this).length > 0){ 123 | $(this).addClass(classParentLi); 124 | $('> a',this).addClass(defaults.classParent).append($arrow); 125 | } 126 | }); 127 | $('> ul',obj).hide(); 128 | if(defaults.showCount == true){ 129 | $('li.'+classParentLi,obj).each(function(){ 130 | if(defaults.disableLink == true){ 131 | var getCount = parseInt($('ul a:not(.'+defaults.classParent+')',this).length); 132 | } else { 133 | var getCount = parseInt($('ul a',this).length); 134 | } 135 | $('> a',this).append(' '+getCount+''); 136 | }); 137 | } 138 | } 139 | 140 | function linkOver(){ 141 | 142 | $activeLi = $(this).parent('li'); 143 | $parentsLi = $activeLi.parents('li'); 144 | $parentsUl = $activeLi.parents('ul'); 145 | 146 | // Auto close sibling menus 147 | if(defaults.autoClose == true){ 148 | autoCloseAccordion($parentsLi, $parentsUl); 149 | 150 | } 151 | 152 | if ($('> ul',$activeLi).is(':visible')){ 153 | $('ul',$activeLi).slideUp(defaults.speed); 154 | $('a',$activeLi).removeClass(defaults.classActive); 155 | } else { 156 | $(this).siblings('ul').slideToggle(defaults.speed); 157 | $('> a',$activeLi).addClass(defaults.classActive); 158 | } 159 | 160 | // Write cookie if save state is on 161 | if(defaults.saveState == true){ 162 | createCookie(defaults.cookie, obj); 163 | } 164 | } 165 | 166 | function linkOut(){ 167 | } 168 | 169 | function menuOver(){ 170 | } 171 | 172 | function menuOut(){ 173 | 174 | if(defaults.menuClose == true){ 175 | $('ul',obj).slideUp(defaults.speed); 176 | // Reset active links 177 | $('a',obj).removeClass(defaults.classActive); 178 | createCookie(defaults.cookie, obj); 179 | } 180 | } 181 | 182 | // Auto-Close Open Menu Items 183 | function autoCloseAccordion($parentsLi, $parentsUl){ 184 | $('ul',obj).not($parentsUl).slideUp(defaults.speed); 185 | // Reset active links 186 | $('a',obj).removeClass(defaults.classActive); 187 | $('> a',$parentsLi).addClass(defaults.classActive); 188 | } 189 | // Reset accordion using active links 190 | function resetAccordion(){ 191 | $('ul',obj).hide(); 192 | $allActiveLi = $('a.'+defaults.classActive,obj); 193 | $allActiveLi.siblings('ul').show(); 194 | } 195 | }); 196 | 197 | // Retrieve cookie value and set active items 198 | // function checkCookie(cookieId, obj){ 199 | // var cookieVal = $.cookie(cookieId); 200 | // if(cookieVal != null){ 201 | // // create array from cookie string 202 | // var activeArray = cookieVal.split(','); 203 | // $.each(activeArray, function(index,value){ 204 | // var $cookieLi = $('li:eq('+value+')',obj); 205 | // $('> a',$cookieLi).addClass(defaults.classActive); 206 | // var $parentsLi = $cookieLi.parents('li'); 207 | // $('> a',$parentsLi).addClass(defaults.classActive); 208 | // }); 209 | // } 210 | // } 211 | 212 | // Write cookie 213 | // function createCookie(cookieId, obj){ 214 | // var activeIndex = []; 215 | // // Create array of active items index value 216 | // $('li a.'+defaults.classActive,obj).each(function(i){ 217 | // var $arrayItem = $(this).parent('li'); 218 | // var itemIndex = $('li',obj).index($arrayItem); 219 | // activeIndex.push(itemIndex); 220 | // }); 221 | // // Store in cookie 222 | // $.cookie(cookieId, activeIndex, { path: '/' }); 223 | // } 224 | }; 225 | })(jQuery); -------------------------------------------------------------------------------- /assets/js/form-component.js: -------------------------------------------------------------------------------- 1 | var Script = function () { 2 | 3 | 4 | //checkbox and radio btn 5 | 6 | var d = document; 7 | var safari = (navigator.userAgent.toLowerCase().indexOf('safari') != -1) ? true : false; 8 | var gebtn = function(parEl,child) { return parEl.getElementsByTagName(child); }; 9 | onload = function() { 10 | 11 | var body = gebtn(d,'body')[0]; 12 | body.className = body.className && body.className != '' ? body.className + ' has-js' : 'has-js'; 13 | 14 | if (!d.getElementById || !d.createTextNode) return; 15 | var ls = gebtn(d,'label'); 16 | for (var i = 0; i < ls.length; i++) { 17 | var l = ls[i]; 18 | if (l.className.indexOf('label_') == -1) continue; 19 | var inp = gebtn(l,'input')[0]; 20 | if (l.className == 'label_check') { 21 | l.className = (safari && inp.checked == true || inp.checked) ? 'label_check c_on' : 'label_check c_off'; 22 | l.onclick = check_it; 23 | }; 24 | if (l.className == 'label_radio') { 25 | l.className = (safari && inp.checked == true || inp.checked) ? 'label_radio r_on' : 'label_radio r_off'; 26 | l.onclick = turn_radio; 27 | }; 28 | }; 29 | }; 30 | var check_it = function() { 31 | var inp = gebtn(this,'input')[0]; 32 | if (this.className == 'label_check c_off' || (!safari && inp.checked)) { 33 | this.className = 'label_check c_on'; 34 | if (safari) inp.click(); 35 | } else { 36 | this.className = 'label_check c_off'; 37 | if (safari) inp.click(); 38 | }; 39 | }; 40 | var turn_radio = function() { 41 | var inp = gebtn(this,'input')[0]; 42 | if (this.className == 'label_radio r_off' || inp.checked) { 43 | var ls = gebtn(this.parentNode,'label'); 44 | for (var i = 0; i < ls.length; i++) { 45 | var l = ls[i]; 46 | if (l.className.indexOf('label_radio') == -1) continue; 47 | l.className = 'label_radio r_off'; 48 | }; 49 | this.className = 'label_radio r_on'; 50 | if (safari) inp.click(); 51 | } else { 52 | this.className = 'label_radio r_off'; 53 | if (safari) inp.click(); 54 | }; 55 | }; 56 | 57 | 58 | 59 | $(function() { 60 | 61 | // Tags Input 62 | $(".tagsinput").tagsInput(); 63 | 64 | // Switch 65 | $("[data-toggle='switch']").wrap('
').parent().bootstrapSwitch(); 66 | 67 | }); 68 | 69 | 70 | 71 | //color picker 72 | 73 | $('.cp1').colorpicker({ 74 | format: 'hex' 75 | }); 76 | $('.cp2').colorpicker(); 77 | 78 | 79 | //date picker 80 | 81 | if (top.location != location) { 82 | top.location.href = document.location.href ; 83 | } 84 | $(function(){ 85 | window.prettyPrint && prettyPrint(); 86 | $('#dp1').datepicker({ 87 | format: 'mm-dd-yyyy' 88 | }); 89 | $('#dp2').datepicker(); 90 | $('#dp3').datepicker(); 91 | $('#dp3').datepicker(); 92 | $('#dpYears').datepicker(); 93 | $('#dpMonths').datepicker(); 94 | 95 | 96 | var startDate = new Date(2012,1,20); 97 | var endDate = new Date(2012,1,25); 98 | $('#dp4').datepicker() 99 | .on('changeDate', function(ev){ 100 | if (ev.date.valueOf() > endDate.valueOf()){ 101 | $('#alert').show().find('strong').text('The start date can not be greater then the end date'); 102 | } else { 103 | $('#alert').hide(); 104 | startDate = new Date(ev.date); 105 | $('#startDate').text($('#dp4').data('date')); 106 | } 107 | $('#dp4').datepicker('hide'); 108 | }); 109 | $('#dp5').datepicker() 110 | .on('changeDate', function(ev){ 111 | if (ev.date.valueOf() < startDate.valueOf()){ 112 | $('#alert').show().find('strong').text('The end date can not be less then the start date'); 113 | } else { 114 | $('#alert').hide(); 115 | endDate = new Date(ev.date); 116 | $('#endDate').text($('#dp5').data('date')); 117 | } 118 | $('#dp5').datepicker('hide'); 119 | }); 120 | 121 | // disabling dates 122 | var nowTemp = new Date(); 123 | var now = new Date(nowTemp.getFullYear(), nowTemp.getMonth(), nowTemp.getDate(), 0, 0, 0, 0); 124 | 125 | var checkin = $('#dpd1').datepicker({ 126 | onRender: function(date) { 127 | return date.valueOf() < now.valueOf() ? 'disabled' : ''; 128 | } 129 | }).on('changeDate', function(ev) { 130 | if (ev.date.valueOf() > checkout.date.valueOf()) { 131 | var newDate = new Date(ev.date) 132 | newDate.setDate(newDate.getDate() + 1); 133 | checkout.setValue(newDate); 134 | } 135 | checkin.hide(); 136 | $('#dpd2')[0].focus(); 137 | }).data('datepicker'); 138 | var checkout = $('#dpd2').datepicker({ 139 | onRender: function(date) { 140 | return date.valueOf() <= checkin.date.valueOf() ? 'disabled' : ''; 141 | } 142 | }).on('changeDate', function(ev) { 143 | checkout.hide(); 144 | }).data('datepicker'); 145 | }); 146 | 147 | 148 | 149 | //daterange picker 150 | 151 | $('#reservation').daterangepicker(); 152 | 153 | $('#reportrange').daterangepicker( 154 | { 155 | ranges: { 156 | 'Today': ['today', 'today'], 157 | 'Yesterday': ['yesterday', 'yesterday'], 158 | 'Last 7 Days': [Date.today().add({ days: -6 }), 'today'], 159 | 'Last 30 Days': [Date.today().add({ days: -29 }), 'today'], 160 | 'This Month': [Date.today().moveToFirstDayOfMonth(), Date.today().moveToLastDayOfMonth()], 161 | 'Last Month': [Date.today().moveToFirstDayOfMonth().add({ months: -1 }), Date.today().moveToFirstDayOfMonth().add({ days: -1 })] 162 | }, 163 | opens: 'left', 164 | format: 'MM/dd/yyyy', 165 | separator: ' to ', 166 | startDate: Date.today().add({ days: -29 }), 167 | endDate: Date.today(), 168 | minDate: '01/01/2012', 169 | maxDate: '12/31/2013', 170 | locale: { 171 | applyLabel: 'Submit', 172 | fromLabel: 'From', 173 | toLabel: 'To', 174 | customRangeLabel: 'Custom Range', 175 | daysOfWeek: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr','Sa'], 176 | monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], 177 | firstDay: 1 178 | }, 179 | showWeekNumbers: true, 180 | buttonClasses: ['btn-danger'] 181 | }, 182 | function(start, end) { 183 | $('#reportrange span').html(start.toString('MMMM d, yyyy') + ' - ' + end.toString('MMMM d, yyyy')); 184 | } 185 | ); 186 | 187 | //Set the initial state of the picker label 188 | $('#reportrange span').html(Date.today().add({ days: -29 }).toString('MMMM d, yyyy') + ' - ' + Date.today().toString('MMMM d, yyyy')); 189 | 190 | 191 | }(); -------------------------------------------------------------------------------- /change-password.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 15 | $query->execute(); 16 | 17 | if($query->rowCount() > 0){ 18 | $sql1 = "update users set password='".md5($_POST['newpassword'])."', updationDate='$currentTime' where userEmail='".$_SESSION['login']."'"; 19 | $query1=$dbh->prepare($sql1); 20 | $query1->execute(); 21 | if ($query1->rowCount() > 0) { 22 | $successmsg="Password Changed Successfully !!"; 23 | }else{ 24 | $errormsg="Something went wrong !!"; 25 | } 26 | } 27 | else{ 28 | $errormsg="Old Password not match !!"; 29 | } 30 | } 31 | ?> 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | CMS | User Change Password 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 74 | 75 | 76 | 77 |
78 | 79 | 80 |
81 |
82 |

Change Password

83 | 84 |
85 |
86 |
87 |

User Change Password

88 | 90 |
91 | 92 | Well done!
93 | 94 | 96 |
97 | 98 | Oh snap!
99 | 100 |
101 |
102 | 103 |
104 | 105 |
106 |
107 |
108 | 109 |
110 | 111 |
112 |
113 |
114 | 115 |
116 | 117 |
118 |
119 |
120 |
121 | 122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 | 131 |
132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 164 | 165 | 166 | 167 | -------------------------------------------------------------------------------- /assets/css/style-responsive.css: -------------------------------------------------------------------------------- 1 | @media (min-width: 980px) { 2 | /*-----*/ 3 | .custom-bar-chart { 4 | margin-bottom: 40px; 5 | } 6 | 7 | } 8 | 9 | @media (min-width: 768px) and (max-width: 979px) { 10 | 11 | /*-----*/ 12 | .custom-bar-chart { 13 | margin-bottom: 40px; 14 | } 15 | 16 | /*chat room*/ 17 | 18 | 19 | } 20 | 21 | @media (max-width: 768px) { 22 | 23 | .header { 24 | position: absolute; 25 | } 26 | 27 | /*sidebar*/ 28 | 29 | #sidebar { 30 | height: auto; 31 | overflow: hidden; 32 | position: absolute; 33 | width: 100%; 34 | z-index: 1001; 35 | } 36 | 37 | 38 | /* body container */ 39 | #main-content { 40 | margin: 0px!important; 41 | position: none !important; 42 | } 43 | 44 | #sidebar > ul > li > a > span { 45 | line-height: 35px; 46 | } 47 | 48 | #sidebar > ul > li { 49 | margin: 0 10px 5px 10px; 50 | } 51 | #sidebar > ul > li > a { 52 | height:35px; 53 | line-height:35px; 54 | padding: 0 10px; 55 | text-align: left; 56 | } 57 | #sidebar > ul > li > a i{ 58 | /*display: none !important;*/ 59 | } 60 | 61 | #sidebar ul > li > a .arrow, #sidebar > ul > li > a .arrow.open { 62 | margin-right: 10px; 63 | margin-top: 15px; 64 | } 65 | 66 | #sidebar ul > li.active > a .arrow, #sidebar ul > li > a:hover .arrow, #sidebar ul > li > a:focus .arrow, 67 | #sidebar > ul > li.active > a .arrow.open, #sidebar > ul > li > a:hover .arrow.open, #sidebar > ul > li > a:focus .arrow.open{ 68 | margin-top: 15px; 69 | } 70 | 71 | #sidebar > ul > li > a, #sidebar > ul > li > ul.sub > li { 72 | width: 100%; 73 | } 74 | #sidebar > ul > li > ul.sub > li > a { 75 | background: transparent !important ; 76 | } 77 | #sidebar > ul > li > ul.sub > li > a:hover { 78 | 79 | } 80 | 81 | 82 | /* sidebar */ 83 | #sidebar { 84 | margin: 0px !important; 85 | } 86 | 87 | /* sidebar collabler */ 88 | #sidebar .btn-navbar.collapsed .arrow { 89 | display: none; 90 | } 91 | 92 | #sidebar .btn-navbar .arrow { 93 | position: absolute; 94 | right: 35px; 95 | width: 0; 96 | height: 0; 97 | top:48px; 98 | border-bottom: 15px solid #282e36; 99 | border-left: 15px solid transparent; 100 | border-right: 15px solid transparent; 101 | } 102 | 103 | 104 | /*---------*/ 105 | 106 | .modal-footer .btn { 107 | margin-bottom: 0px !important; 108 | } 109 | 110 | .btn { 111 | margin-bottom: 5px; 112 | } 113 | 114 | 115 | /* full calendar fix */ 116 | .fc-header-right { 117 | left:25px; 118 | position: absolute; 119 | } 120 | 121 | .fc-header-left .fc-button { 122 | margin: 0px !important; 123 | top: -10px !important; 124 | } 125 | 126 | .fc-header-right .fc-button { 127 | margin: 0px !important; 128 | top: -50px !important; 129 | } 130 | 131 | .fc-state-active, .fc-state-active .fc-button-inner, .fc-state-hover, .fc-state-hover .fc-button-inner { 132 | background: none !important; 133 | color: #FFFFFF !important; 134 | } 135 | 136 | .fc-state-default, .fc-state-default .fc-button-inner { 137 | background: none !important; 138 | } 139 | 140 | .fc-button { 141 | border: none !important; 142 | margin-right: 2px; 143 | } 144 | 145 | .fc-view { 146 | top: 0px !important; 147 | } 148 | 149 | .fc-button .fc-button-inner { 150 | margin: 0px !important; 151 | padding: 2px !important; 152 | border: none !important; 153 | margin-right: 2px !important; 154 | background-color: #fafafa !important; 155 | background-image: -moz-linear-gradient(top, #fafafa, #efefef) !important; 156 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fafafa), to(#efefef)) !important; 157 | background-image: -webkit-linear-gradient(top, #fafafa, #efefef) !important; 158 | background-image: -o-linear-gradient(top, #fafafa, #efefef) !important; 159 | background-image: linear-gradient(to bottom, #fafafa, #efefef) !important; 160 | filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fafafa', endColorstr='#efefef', GradientType=0) !important; 161 | -webkit-box-shadow: 0 1px 0px rgba(255, 255, 255, .8) !important; 162 | -moz-box-shadow: 0 1px 0px rgba(255, 255, 255, .8) !important; 163 | box-shadow: 0 1px 0px rgba(255, 255, 255, .8) !important; 164 | -webkit-border-radius: 3px !important; 165 | -moz-border-radius: 3px !important; 166 | border-radius: 3px !important; 167 | color: #646464 !important; 168 | border: 1px solid #ddd !important; 169 | text-shadow: 0 1px 0px rgba(255, 255, 255, .6) !important; 170 | text-align: center; 171 | } 172 | 173 | .fc-button.fc-state-disabled .fc-button-inner { 174 | color: #bcbbbb !important; 175 | } 176 | 177 | .fc-button.fc-state-active .fc-button-inner { 178 | background-color: #e5e4e4 !important; 179 | background-image: -moz-linear-gradient(top, #e5e4e4, #dddcdc) !important; 180 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e5e4e4), to(#dddcdc)) !important; 181 | background-image: -webkit-linear-gradient(top, #e5e4e4, #dddcdc) !important; 182 | background-image: -o-linear-gradient(top, #e5e4e4, #dddcdc) !important; 183 | background-image: linear-gradient(to bottom, #e5e4e4, #dddcdc) !important; 184 | filter: progid:dximagetransform.microsoft.gradient(startColorstr='#e5e4e4', endColorstr='#dddcdc', GradientType=0) !important; 185 | } 186 | 187 | .fc-content { 188 | margin-top: 50px; 189 | } 190 | 191 | .fc-header-title h2 { 192 | line-height: 40px !important; 193 | font-size: 12px !important; 194 | } 195 | 196 | .fc-header { 197 | margin-bottom:0px !important; 198 | } 199 | 200 | /*--*/ 201 | 202 | /*.chart-position {*/ 203 | /*margin-top: 0px;*/ 204 | /*}*/ 205 | 206 | .stepy-titles li { 207 | margin: 10px 3px; 208 | } 209 | 210 | /*-----*/ 211 | .custom-bar-chart { 212 | margin-bottom: 40px; 213 | } 214 | 215 | /*menu icon plus minus*/ 216 | .dcjq-icon { 217 | top: 10px; 218 | } 219 | ul.sidebar-menu li ul.sub li a { 220 | padding: 0; 221 | } 222 | 223 | /*---*/ 224 | 225 | .img-responsive { 226 | width: 100%; 227 | } 228 | 229 | } 230 | 231 | 232 | 233 | @media (max-width: 480px) { 234 | 235 | .notify-row, .search, .dont-show , .inbox-head .sr-input, .inbox-head .sr-btn{ 236 | display: none; 237 | } 238 | 239 | #top_menu .nav > li, ul.top-menu > li { 240 | float: right; 241 | } 242 | .hidden-phone { 243 | display: none !important; 244 | } 245 | 246 | .chart-position { 247 | margin-top: 0px; 248 | } 249 | 250 | .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus { 251 | background-color: #ccc; 252 | border-color:#ccc ; 253 | } 254 | 255 | } 256 | 257 | @media (max-width:320px) { 258 | .login-social-link a { 259 | padding: 15px 17px !important; 260 | } 261 | 262 | .notify-row, .search, .dont-show, .inbox-head .sr-input, .inbox-head .sr-btn { 263 | display: none; 264 | } 265 | 266 | #top_menu .nav > li, ul.top-menu > li { 267 | float: right; 268 | } 269 | 270 | .hidden-phone { 271 | display: none !important; 272 | } 273 | 274 | .chart-position { 275 | margin-top: 0px; 276 | } 277 | 278 | .lock-wrapper { 279 | margin: 10% auto; 280 | max-width: 310px; 281 | } 282 | .lock-input { 283 | width: 82%; 284 | } 285 | 286 | .cmt-form { 287 | display: inline-block; 288 | width: 75%; 289 | } 290 | 291 | } 292 | 293 | 294 | 295 | 296 | -------------------------------------------------------------------------------- /assets/js/bootstrap-switch.js: -------------------------------------------------------------------------------- 1 | /* ============================================================ 2 | * bootstrapSwitch v1.3 by Larentis Mattia @spiritualGuru 3 | * http://www.larentis.eu/switch/ 4 | * ============================================================ 5 | * Licensed under the Apache License, Version 2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * ============================================================ */ 8 | 9 | !function ($) { 10 | "use strict"; 11 | 12 | $.fn['bootstrapSwitch'] = function (method) { 13 | var methods = { 14 | init: function () { 15 | return this.each(function () { 16 | var $element = $(this) 17 | , $div 18 | , $switchLeft 19 | , $switchRight 20 | , $label 21 | , myClasses = "" 22 | , classes = $element.attr('class') 23 | , color 24 | , moving 25 | , onLabel = "ON" 26 | , offLabel = "OFF" 27 | , icon = false; 28 | 29 | $.each(['switch-mini', 'switch-small', 'switch-large'], function (i, el) { 30 | if (classes.indexOf(el) >= 0) 31 | myClasses = el; 32 | }); 33 | 34 | $element.addClass('has-switch'); 35 | 36 | if ($element.data('on') !== undefined) 37 | color = "switch-" + $element.data('on'); 38 | 39 | if ($element.data('on-label') !== undefined) 40 | onLabel = $element.data('on-label'); 41 | 42 | if ($element.data('off-label') !== undefined) 43 | offLabel = $element.data('off-label'); 44 | 45 | if ($element.data('icon') !== undefined) 46 | icon = $element.data('icon'); 47 | 48 | $switchLeft = $('') 49 | .addClass("switch-left") 50 | .addClass(myClasses) 51 | .addClass(color) 52 | .html(onLabel); 53 | 54 | color = ''; 55 | if ($element.data('off') !== undefined) 56 | color = "switch-" + $element.data('off'); 57 | 58 | $switchRight = $('') 59 | .addClass("switch-right") 60 | .addClass(myClasses) 61 | .addClass(color) 62 | .html(offLabel); 63 | 64 | $label = $('