├── favicon.ico ├── config.php ├── logout.php ├── session.php ├── login.php ├── insert.php ├── dist └── js │ ├── sidebarmenu.js │ ├── pages │ └── dashboards │ │ └── dashboard1.js │ ├── waves.js │ ├── app-style-switcher.js │ ├── custom.min.js │ ├── custom.js │ └── jquery.ui.touch-punch-improved.js ├── script.js ├── style.css ├── index.php ├── table.php ├── password.php └── dash.php /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thamizh5253/Guvi-intern/HEAD/favicon.ico -------------------------------------------------------------------------------- /config.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | true)); 12 | ?> 13 | -------------------------------------------------------------------------------- /session.php: -------------------------------------------------------------------------------- 1 | 0){ 17 | $row = mysqli_fetch_assoc($query_run); 18 | $dept=$row['']; 19 | } 20 | 21 | 22 | ?> -------------------------------------------------------------------------------- /login.php: -------------------------------------------------------------------------------- 1 | 2 | alert('Login Successful');window.location.href='main.php';"; 27 | } 28 | else 29 | { 30 | echo ""; 31 | exit(); 32 | } 33 | } 34 | 35 | 36 | ?> 37 | -------------------------------------------------------------------------------- /insert.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | query($query); 24 | 25 | if ($result->num_rows > 0) { 26 | 27 | 28 | ?> 29 | 39 | 45 | 55 | query($check) === TRUE){ 60 | 61 | 62 | // echo ""; 63 | 64 | 65 | // } 66 | else{ 67 | $query="INSERT INTO login (uid ,pass,mail) VALUES ('$name', '$pass','$email')"; 68 | // $id=$id+1; 69 | 70 | 71 | if ($db->query($query) === TRUE) 72 | { 73 | // echo ""; 74 | ?> 75 | 85 | -------------------------------------------------------------------------------- /dist/js/sidebarmenu.js: -------------------------------------------------------------------------------- 1 | /* 2 | Template Name: Admin Template 3 | Author: Wrappixel 4 | 5 | File: js 6 | */ 7 | // ============================================================== 8 | // Auto select left navbar 9 | // ============================================================== 10 | $(function() { 11 | "use strict"; 12 | var url = window.location + ""; 13 | var path = url.replace(window.location.protocol + "//" + window.location.host + "/", ""); 14 | var element = $('ul#sidebarnav a').filter(function() { 15 | return this.href === url || this.href === path;// || url.href.indexOf(this.href) === 0; 16 | }); 17 | element.parentsUntil(".sidebar-nav").each(function (index) 18 | { 19 | if($(this).is("li") && $(this).children("a").length !== 0) 20 | { 21 | $(this).children("a").addClass("active"); 22 | $(this).parent("ul#sidebarnav").length === 0 23 | ? $(this).addClass("active") 24 | : $(this).addClass("selected"); 25 | } 26 | else if(!$(this).is("ul") && $(this).children("a").length === 0) 27 | { 28 | $(this).addClass("selected"); 29 | 30 | } 31 | else if($(this).is("ul")){ 32 | $(this).addClass('in'); 33 | } 34 | 35 | }); 36 | 37 | element.addClass("active"); 38 | $('#sidebarnav a').on('click', function (e) { 39 | 40 | if (!$(this).hasClass("active")) { 41 | // hide any open menus and remove all other classes 42 | $("ul", $(this).parents("ul:first")).removeClass("in"); 43 | $("a", $(this).parents("ul:first")).removeClass("active"); 44 | 45 | // open our new menu and add the open class 46 | $(this).next("ul").addClass("in"); 47 | $(this).addClass("active"); 48 | 49 | } 50 | else if ($(this).hasClass("active")) { 51 | $(this).removeClass("active"); 52 | $(this).parents("ul:first").removeClass("active"); 53 | $(this).next("ul").removeClass("in"); 54 | } 55 | }) 56 | $('#sidebarnav >li >a.has-arrow').on('click', function (e) { 57 | e.preventDefault(); 58 | }); 59 | 60 | }); -------------------------------------------------------------------------------- /script.js: -------------------------------------------------------------------------------- 1 | // Look at console 2 | $(document).ready(function() { 3 | var loginUsername; 4 | var loginPassword; 5 | var account = [loginUsername, loginPassword]; 6 | 7 | 8 | 9 | $('#create-button').on('click', function() { 10 | var createUsernameEntry = $("#create-username").val(); 11 | var createPasswordEntry = $("#create-password").val(); 12 | var createEmailEntry = $("#create-email").val(); 13 | var createUsernameValid = false; 14 | var createPasswordValid = false; 15 | var createEmailValid = false; 16 | var createUsernameObject = $("#create-username"); 17 | var createPasswordObject = $("#create-password"); 18 | var createEmailObject = $("#create-email"); 19 | var validate = /^\s*[a-zA-Z0-9,\s]+\s*$/; 20 | var validateEmail = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; 21 | 22 | if(!validate.test(createUsernameEntry) || (createUsernameEntry).length == 0) { 23 | $(createUsernameObject).addClass("error") 24 | // 25 | $(createUsernameObject).val("No special characters or spaces.") 26 | } else { 27 | createUsernameValid = true; 28 | var createUsername = $(createUsernameObject).val(); 29 | } 30 | 31 | if( (createPasswordEntry).length < 8) { 32 | $(createPasswordObject).addClass("error"); 33 | $(createPasswordObject).val("Password length should be atleast 8"); 34 | } else { 35 | createPasswordValid = true; 36 | var createPassword = $(createPasswordObject).val(); 37 | } 38 | 39 | if(!validateEmail.test(createEmailEntry)) { 40 | $(createEmailObject).addClass("error"); 41 | $(createEmailObject).val("Enter a valid email"); 42 | } else { 43 | createEmailValid = true; 44 | console.log("Account Email " + createEmailObject.val()) 45 | } 46 | 47 | $(createUsernameObject).on('click', function () { 48 | $(this).val(""); 49 | $(this).removeClass("error"); 50 | }); 51 | 52 | $(createPasswordObject).on('click', function () { 53 | $(this).val(""); 54 | $(this).removeClass("error"); 55 | }); 56 | 57 | $(createEmailObject).on('click', function () { 58 | $(this).val(""); 59 | $(this).removeClass("error"); 60 | }); 61 | 62 | account = [createUsername, createPassword]; 63 | console.log("Account Username " + account[0]); 64 | console.log("Account Password " + account[1]); 65 | 66 | if(createUsernameValid == true && createPasswordValid == true && createEmailValid == true) { 67 | $('form').animate({ 68 | height: "toggle", 69 | opacity: "toggle" 70 | }, "fast"); 71 | } 72 | }); 73 | 74 | $('.message a').on('click', function() { 75 | $('form').animate({ 76 | height: "toggle", 77 | opacity: "toggle" 78 | }, "fast"); 79 | }); 80 | }); -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | 2 | @import url(https://fonts.googleapis.com/css?family=Roboto:300); 3 | /* Look at console */ 4 | .login-page { 5 | width: 360px; 6 | padding: 8% 0 0; 7 | margin: auto; 8 | } 9 | .form { 10 | animation-name: launch; 11 | animation-duration: 4s; 12 | position: relative; 13 | z-index: 1; 14 | background: #FFFFFF; 15 | max-width: 360px; 16 | margin: 0 auto 100px; 17 | padding: 45px; 18 | text-align: center; 19 | box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24); 20 | border-radius: 10px; 21 | } 22 | .form h3 { 23 | font-size: 25px; 24 | font-weight: 300; 25 | margin-bottom: 10px; 26 | text-align: center; 27 | text-transform: uppercase; 28 | color:#0DB449; 29 | margin:20px; 30 | } 31 | .form input { 32 | font-family: "Roboto", sans-serif; 33 | outline: 0; 34 | background: #f2f2f2; 35 | width: 100%; 36 | border: 0; 37 | margin: 0 0 15px; 38 | padding: 15px; 39 | box-sizing: border-box; 40 | font-size: 14px; 41 | border-radius: 10px; 42 | } 43 | .form button { 44 | font-family: "Roboto", sans-serif; 45 | text-transform: uppercase; 46 | outline: 0; 47 | background: #0DB449; 48 | width: 100%; 49 | border: 0; 50 | padding: 15px; 51 | color: #FFFFFF; 52 | font-size: 14px; 53 | -webkit-transition: all 0.3 ease; 54 | transition: all 0.3 ease; 55 | cursor: pointer; 56 | border-radius: 10px; 57 | } 58 | .form button:hover,.form button:active,.form button:focus { 59 | background:#0DD749 ; 60 | border: 40px; 61 | border-color:"blue"; 62 | color:"blue"; 63 | 64 | } 65 | .form .message { 66 | margin: 15px 0 0; 67 | color: #b3b3b3; 68 | font-size: 16px; 69 | } 70 | .form .message a { 71 | color: #0DB449; 72 | text-decoration: none; 73 | } 74 | .form .login-form { 75 | display: none; 76 | } 77 | .container { 78 | position: relative; 79 | z-index: 1; 80 | max-width: 300px; 81 | margin: 0 auto; 82 | } 83 | .container:before, .container:after { 84 | content: ""; 85 | display: block; 86 | clear: both; 87 | } 88 | .container .info { 89 | margin: 50px auto; 90 | text-align: center; 91 | } 92 | .container .info h1 { 93 | margin: 0 0 15px; 94 | padding: 0; 95 | font-size: 36px; 96 | font-weight: 300; 97 | color: #1a1a1a; 98 | } 99 | .container .info span { 100 | color: #4d4d4d; 101 | font-size: 12px; 102 | } 103 | .container .info span a { 104 | color: #000000; 105 | text-decoration: none; 106 | } 107 | .container .info span .fa { 108 | color: #0DB449; 109 | } 110 | 111 | 112 | @media only screen and (max-width: 400px) { 113 | .login-page { 114 | width: 100%; 115 | height: 100%; 116 | } 117 | } 118 | 119 | #create-username.error { 120 | color: red; 121 | } 122 | 123 | #create-password.error { 124 | color: red; 125 | } 126 | 127 | #create-email.error { 128 | color: red; 129 | } 130 | -------------------------------------------------------------------------------- /dist/js/pages/dashboards/dashboard1.js: -------------------------------------------------------------------------------- 1 | /* 2 | Template Name: Admin Pro Admin 3 | Author: Wrappixel 4 | Email: niravjoshi87@gmail.com 5 | File: js 6 | */ 7 | $(function() { 8 | "use strict"; 9 | // ============================================================== 10 | // Newsletter 11 | // ============================================================== 12 | 13 | /*var chart = new Chartist.Line('.campaign', { 14 | labels: [1, 2, 3, 4, 5, 6, 7, 8], 15 | series: [ 16 | [0, 5, 6, 8, 25, 9, 8, 24], 17 | [0, 3, 1, 2, 8, 1, 5, 1] 18 | ] 19 | }, { 20 | low: 0, 21 | high: 28, 22 | 23 | showArea: true, 24 | fullWidth: true, 25 | plugins: [ 26 | Chartist.plugins.tooltip() 27 | ], 28 | axisY: { 29 | onlyInteger: true, 30 | scaleMinSpace: 40, 31 | offset: 20, 32 | labelInterpolationFnc: function(value) { 33 | return (value / 1) + 'k'; 34 | } 35 | }, 36 | 37 | }); 38 | */ 39 | // Offset x1 a tiny amount so that the straight stroke gets a bounding box 40 | // Straight lines don't get a bounding box 41 | // Last remark on -> http://www.w3.org/TR/SVG11/coords.html#ObjectBoundingBox 42 | chart.on('draw', function(ctx) { 43 | if (ctx.type === 'area') { 44 | ctx.element.attr({ 45 | x1: ctx.x1 + 0.001 46 | }); 47 | } 48 | }); 49 | 50 | // Create the gradient definition on created event (always after chart re-render) 51 | chart.on('created', function(ctx) { 52 | var defs = ctx.svg.elem('defs'); 53 | defs.elem('linearGradient', { 54 | id: 'gradient', 55 | x1: 0, 56 | y1: 1, 57 | x2: 0, 58 | y2: 0 59 | }).elem('stop', { 60 | offset: 0, 61 | 'stop-color': 'rgba(255, 255, 255, 1)' 62 | }).parent().elem('stop', { 63 | offset: 1, 64 | 'stop-color': 'rgba(64, 196, 255, 1)' 65 | }); 66 | }); 67 | 68 | 69 | var chart = [chart]; 70 | 71 | 72 | // ============================================================== 73 | // Our Visitor 74 | // ============================================================== 75 | var sparklineLogin = function() { 76 | $('#ravenue').sparkline([6, 10, 9, 11, 9, 10, 12], { 77 | type: 'bar', 78 | height: '100', 79 | barWidth: '4', 80 | width: '100%', 81 | resize: true, 82 | barSpacing: '11', 83 | barColor: '#fff' 84 | }); 85 | $('#views').sparkline([6, 10, 9, 11, 9, 10, 12], { 86 | type: 'line', 87 | height: '72', 88 | lineColor: 'transparent', 89 | fillColor: 'rgba(255, 255, 255, 0.3)', 90 | width: '100%', 91 | 92 | resize: true, 93 | 94 | }); 95 | }; 96 | var sparkResize; 97 | 98 | $(window).resize(function(e) { 99 | clearTimeout(sparkResize); 100 | sparkResize = setTimeout(sparklineLogin, 500); 101 | }); 102 | sparklineLogin(); 103 | 104 | 105 | 106 | // This is for the chat messege on enter 107 | $(function() { 108 | $(document).on('keypress', "#textarea1", function(e) { 109 | if (e.keyCode == 13) { 110 | var id = $(this).attr("data-user-id"); 111 | var msg = $(this).val(); 112 | msg = msg_sent(msg); 113 | $("#someDiv").append(msg); 114 | $(this).val(""); 115 | $(this).focus(); 116 | } 117 | }); 118 | 119 | }); 120 | }); -------------------------------------------------------------------------------- /dist/js/waves.js: -------------------------------------------------------------------------------- 1 | !function(t){"use strict";function e(t){return null!==t&&t===t.window}function n(t){return e(t)?t:9===t.nodeType&&t.defaultView}function a(t){var e,a,i={top:0,left:0},o=t&&t.ownerDocument;return e=o.documentElement,"undefined"!=typeof t.getBoundingClientRect&&(i=t.getBoundingClientRect()),a=n(o),{top:i.top+a.pageYOffset-e.clientTop,left:i.left+a.pageXOffset-e.clientLeft}}function i(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e+=n+":"+t[n]+";");return e}function o(t){if(d.allowEvent(t)===!1)return null;for(var e=null,n=t.target||t.srcElement;null!==n.parentElement;){if(!(n instanceof SVGElement||-1===n.className.indexOf("waves-effect"))){e=n;break}if(n.classList.contains("waves-effect")){e=n;break}n=n.parentElement}return e}function r(e){var n=o(e);null!==n&&(c.show(e,n),"ontouchstart"in t&&(n.addEventListener("touchend",c.hide,!1),n.addEventListener("touchcancel",c.hide,!1)),n.addEventListener("mouseup",c.hide,!1),n.addEventListener("mouseleave",c.hide,!1))}var s=s||{},u=document.querySelectorAll.bind(document),c={duration:750,show:function(t,e){if(2===t.button)return!1;var n=e||this,o=document.createElement("div");o.className="waves-ripple",n.appendChild(o);var r=a(n),s=t.pageY-r.top,u=t.pageX-r.left,d="scale("+n.clientWidth/100*10+")";"touches"in t&&(s=t.touches[0].pageY-r.top,u=t.touches[0].pageX-r.left),o.setAttribute("data-hold",Date.now()),o.setAttribute("data-scale",d),o.setAttribute("data-x",u),o.setAttribute("data-y",s);var l={top:s+"px",left:u+"px"};o.className=o.className+" waves-notransition",o.setAttribute("style",i(l)),o.className=o.className.replace("waves-notransition",""),l["-webkit-transform"]=d,l["-moz-transform"]=d,l["-ms-transform"]=d,l["-o-transform"]=d,l.transform=d,l.opacity="1",l["-webkit-transition-duration"]=c.duration+"ms",l["-moz-transition-duration"]=c.duration+"ms",l["-o-transition-duration"]=c.duration+"ms",l["transition-duration"]=c.duration+"ms",l["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",l["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",l["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",l["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",o.setAttribute("style",i(l))},hide:function(t){d.touchup(t);var e=this,n=(1.4*e.clientWidth,null),a=e.getElementsByClassName("waves-ripple");if(!(a.length>0))return!1;n=a[a.length-1];var o=n.getAttribute("data-x"),r=n.getAttribute("data-y"),s=n.getAttribute("data-scale"),u=Date.now()-Number(n.getAttribute("data-hold")),l=350-u;0>l&&(l=0),setTimeout(function(){var t={top:r+"px",left:o+"px",opacity:"0","-webkit-transition-duration":c.duration+"ms","-moz-transition-duration":c.duration+"ms","-o-transition-duration":c.duration+"ms","transition-duration":c.duration+"ms","-webkit-transform":s,"-moz-transform":s,"-ms-transform":s,"-o-transform":s,transform:s};n.setAttribute("style",i(t)),setTimeout(function(){try{e.removeChild(n)}catch(t){return!1}},c.duration)},l)},wrapInput:function(t){for(var e=0;e0&&(d.touches-=1)},500):"mousedown"===t.type&&d.touches>0&&(e=!1),e},touchup:function(t){d.allowEvent(t)}};s.displayEffect=function(e){e=e||{},"duration"in e&&(c.duration=e.duration),c.wrapInput(u(".waves-effect")),"ontouchstart"in t&&document.body.addEventListener("touchstart",r,!1),document.body.addEventListener("mousedown",r,!1)},s.attach=function(e){"input"===e.tagName.toLowerCase()&&(c.wrapInput([e]),e=e.parentElement),"ontouchstart"in t&&e.addEventListener("touchstart",r,!1),e.addEventListener("mousedown",r,!1)},t.Waves=s,document.addEventListener("DOMContentLoaded",function(){s.displayEffect()},!1)}(window); -------------------------------------------------------------------------------- /dist/js/app-style-switcher.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | "use strict"; 3 | //**************************** 4 | /* Left header Theme Change function Start */ 5 | //**************************** 6 | function handlelogobg() { 7 | $('.theme-color .theme-item .theme-link').on("click", function() { 8 | var logobgskin = $(this).attr("data-logobg"); 9 | $('.topbar .top-navbar .navbar-header').attr("data-logobg", logobgskin); 10 | }); 11 | }; 12 | handlelogobg(); 13 | //**************************** 14 | /* Top navbar Theme Change function Start */ 15 | //**************************** 16 | function handlenavbarbg() { 17 | if ( $('#main-wrapper').attr('data-navbarbg') == 'skin5' ) { 18 | // do this 19 | $(".topbar .navbar").addClass('navbar-light'); 20 | $(".topbar .navbar").removeClass('navbar-dark'); 21 | } else { 22 | // do that 23 | 24 | } 25 | $('.theme-color .theme-item .theme-link').on("click", function() { 26 | var navbarbgskin = $(this).attr("data-navbarbg"); 27 | $('#main-wrapper').attr("data-navbarbg", navbarbgskin); 28 | $('.topbar .navbar-collapse').attr("data-navbarbg", navbarbgskin); 29 | if ( $('#main-wrapper').attr('data-navbarbg') == 'skin5' ) { 30 | // do this 31 | $(".topbar .navbar").addClass('navbar-light'); 32 | $(".topbar .navbar").removeClass('navbar-dark'); 33 | } else { 34 | // do that 35 | $(".topbar .navbar").removeClass('navbar-light'); 36 | $(".topbar .navbar").addClass('navbar-dark'); 37 | } 38 | }); 39 | 40 | }; 41 | 42 | handlenavbarbg(); 43 | 44 | //**************************** 45 | // ManageSidebar Type 46 | //**************************** 47 | function handlesidebartype() { 48 | 49 | }; 50 | handlesidebartype(); 51 | 52 | 53 | //**************************** 54 | /* Manage sidebar bg color */ 55 | //**************************** 56 | function handlesidebarbg() { 57 | $('.theme-color .theme-item .theme-link').on("click", function() { 58 | var sidebarbgskin = $(this).attr("data-sidebarbg"); 59 | $('.left-sidebar').attr("data-sidebarbg", sidebarbgskin); 60 | }); 61 | }; 62 | handlesidebarbg(); 63 | //**************************** 64 | /* sidebar position */ 65 | //**************************** 66 | function handlesidebarposition() { 67 | $('#sidebar-position').change(function() { 68 | if( $(this).is(":checked")) { 69 | $('#main-wrapper').attr("data-sidebar-position", 'fixed' ); 70 | $('.topbar .top-navbar .navbar-header').attr("data-navheader", 'fixed' ); 71 | }else { 72 | $('#main-wrapper').attr("data-sidebar-position", 'absolute' ); 73 | $('.topbar .top-navbar .navbar-header').attr("data-navheader", 'relative' ); 74 | } 75 | }); 76 | 77 | }; 78 | handlesidebarposition (); 79 | //**************************** 80 | /* Header position */ 81 | //**************************** 82 | function handleheaderposition() { 83 | $('#header-position').change(function() { 84 | if( $(this).is(":checked")) { 85 | $('#main-wrapper').attr("data-header-position", 'fixed' ); 86 | }else { 87 | $('#main-wrapper').attr("data-header-position", 'relative' ); 88 | } 89 | }); 90 | }; 91 | handleheaderposition (); 92 | //**************************** 93 | /* sidebar position */ 94 | //**************************** 95 | function handleboxedlayout() { 96 | $('#boxed-layout').change(function() { 97 | if( $(this).is(":checked")) { 98 | $('#main-wrapper').attr("data-boxed-layout", 'boxed' ); 99 | }else { 100 | $('#main-wrapper').attr("data-boxed-layout", 'full' ); 101 | } 102 | }); 103 | 104 | }; 105 | handleboxedlayout (); 106 | //**************************** 107 | /* Header position */ 108 | //**************************** 109 | function handlethemeview() { 110 | $('#theme-view').change(function() { 111 | if( $(this).is(":checked")) { 112 | $('body').attr("data-theme", 'dark' ); 113 | }else { 114 | $('body').attr("data-theme", 'light' ); 115 | } 116 | }); 117 | }; 118 | handlethemeview (); 119 | }); -------------------------------------------------------------------------------- /dist/js/custom.min.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | "use strict"; 3 | 4 | $(".preloader").fadeOut(); 5 | // ============================================================== 6 | // Theme options 7 | // ============================================================== 8 | // ============================================================== 9 | // sidebar-hover 10 | // ============================================================== 11 | 12 | $(".left-sidebar").hover( 13 | function() { 14 | $(".navbar-header").addClass("expand-logo"); 15 | }, 16 | function() { 17 | $(".navbar-header").removeClass("expand-logo"); 18 | } 19 | ); 20 | // this is for close icon when navigation open in mobile view 21 | $(".nav-toggler").on('click', function() { 22 | $("#main-wrapper").toggleClass("show-sidebar"); 23 | $(".nav-toggler i").toggleClass("ti-menu"); 24 | }); 25 | $(".nav-lock").on('click', function() { 26 | $("body").toggleClass("lock-nav"); 27 | $(".nav-lock i").toggleClass("mdi-toggle-switch-off"); 28 | $("body, .page-wrapper").trigger("resize"); 29 | }); 30 | $(".search-box a, .search-box .app-search .srh-btn").on('click', function() { 31 | $(".app-search").toggle(200); 32 | $(".app-search input").focus(); 33 | }); 34 | 35 | // ============================================================== 36 | // Right sidebar options 37 | // ============================================================== 38 | $(function() { 39 | $(".service-panel-toggle").on('click', function() { 40 | $(".customizer").toggleClass('show-service-panel'); 41 | 42 | }); 43 | $('.page-wrapper').on('click', function() { 44 | $(".customizer").removeClass('show-service-panel'); 45 | }); 46 | }); 47 | // ============================================================== 48 | // This is for the floating labels 49 | // ============================================================== 50 | $('.floating-labels .form-control').on('focus blur', function(e) { 51 | $(this).parents('.form-group').toggleClass('focused', (e.type === 'focus' || this.value.length > 0)); 52 | }).trigger('blur'); 53 | 54 | // ============================================================== 55 | //tooltip 56 | // ============================================================== 57 | $(function() { 58 | $('[data-toggle="tooltip"]').tooltip() 59 | }) 60 | // ============================================================== 61 | //Popover 62 | // ============================================================== 63 | $(function() { 64 | $('[data-toggle="popover"]').popover() 65 | }) 66 | 67 | // ============================================================== 68 | // Perfact scrollbar 69 | // ============================================================== 70 | $('.message-center, .customizer-body, .scrollable').perfectScrollbar({ 71 | wheelPropagation: !0 72 | }); 73 | 74 | /*var ps = new PerfectScrollbar('.message-body'); 75 | var ps = new PerfectScrollbar('.notifications'); 76 | var ps = new PerfectScrollbar('.scroll-sidebar'); 77 | var ps = new PerfectScrollbar('.customizer-body');*/ 78 | 79 | // ============================================================== 80 | // Resize all elements 81 | // ============================================================== 82 | $("body, .page-wrapper").trigger("resize"); 83 | $(".page-wrapper").show(); 84 | // ============================================================== 85 | // To do list 86 | // ============================================================== 87 | $(".list-task li label").click(function() { 88 | $(this).toggleClass("task-done"); 89 | }); 90 | 91 | //**************************** 92 | /* This is for the mini-sidebar if width is less then 1170*/ 93 | //**************************** 94 | var setsidebartype = function() { 95 | var width = (window.innerWidth > 0) ? window.innerWidth : this.screen.width; 96 | if (width < 1170) { 97 | $("#main-wrapper").attr("data-sidebartype", "mini-sidebar"); 98 | } else { 99 | $("#main-wrapper").attr("data-sidebartype", "full"); 100 | } 101 | }; 102 | $(window).ready(setsidebartype); 103 | $(window).on("resize", setsidebartype); 104 | //**************************** 105 | /* This is for sidebartoggler*/ 106 | //**************************** 107 | $('.sidebartoggler').on("click", function() { 108 | $("#main-wrapper").toggleClass("mini-sidebar"); 109 | if ($("#main-wrapper").hasClass("mini-sidebar")) { 110 | $(".sidebartoggler").prop("checked", !0); 111 | $("#main-wrapper").attr("data-sidebartype", "mini-sidebar"); 112 | } else { 113 | $(".sidebartoggler").prop("checked", !1); 114 | $("#main-wrapper").attr("data-sidebartype", "full"); 115 | } 116 | }); 117 | }); -------------------------------------------------------------------------------- /dist/js/custom.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | "use strict"; 3 | 4 | $(".preloader").fadeOut(); 5 | // ============================================================== 6 | // Theme options 7 | // ============================================================== 8 | // ============================================================== 9 | // sidebar-hover 10 | // ============================================================== 11 | 12 | $(".left-sidebar").hover( 13 | function() { 14 | $(".navbar-header").addClass("expand-logo"); 15 | }, 16 | function() { 17 | $(".navbar-header").removeClass("expand-logo"); 18 | } 19 | ); 20 | // this is for close icon when navigation open in mobile view 21 | $(".nav-toggler").on('click', function() { 22 | $("#main-wrapper").toggleClass("show-sidebar"); 23 | $(".nav-toggler i").toggleClass("ti-menu"); 24 | }); 25 | $(".nav-lock").on('click', function() { 26 | $("body").toggleClass("lock-nav"); 27 | $(".nav-lock i").toggleClass("mdi-toggle-switch-off"); 28 | $("body, .page-wrapper").trigger("resize"); 29 | }); 30 | $(".search-box a, .search-box .app-search .srh-btn").on('click', function() { 31 | $(".app-search").toggle(200); 32 | $(".app-search input").focus(); 33 | }); 34 | 35 | // ============================================================== 36 | // Right sidebar options 37 | // ============================================================== 38 | $(function() { 39 | $(".service-panel-toggle").on('click', function() { 40 | $(".customizer").toggleClass('show-service-panel'); 41 | 42 | }); 43 | $('.page-wrapper').on('click', function() { 44 | $(".customizer").removeClass('show-service-panel'); 45 | }); 46 | }); 47 | // ============================================================== 48 | // This is for the floating labels 49 | // ============================================================== 50 | $('.floating-labels .form-control').on('focus blur', function(e) { 51 | $(this).parents('.form-group').toggleClass('focused', (e.type === 'focus' || this.value.length > 0)); 52 | }).trigger('blur'); 53 | 54 | // ============================================================== 55 | //tooltip 56 | // ============================================================== 57 | $(function() { 58 | $('[data-toggle="tooltip"]').tooltip() 59 | }) 60 | // ============================================================== 61 | //Popover 62 | // ============================================================== 63 | $(function() { 64 | $('[data-toggle="popover"]').popover() 65 | }) 66 | 67 | // ============================================================== 68 | // Perfact scrollbar 69 | // ============================================================== 70 | $('.message-center, .customizer-body, .scrollable').perfectScrollbar({ 71 | wheelPropagation: !0 72 | }); 73 | 74 | /*var ps = new PerfectScrollbar('.message-body'); 75 | var ps = new PerfectScrollbar('.notifications'); 76 | var ps = new PerfectScrollbar('.scroll-sidebar'); 77 | var ps = new PerfectScrollbar('.customizer-body');*/ 78 | 79 | // ============================================================== 80 | // Resize all elements 81 | // ============================================================== 82 | $("body, .page-wrapper").trigger("resize"); 83 | $(".page-wrapper").delay(20).show(); 84 | // ============================================================== 85 | // To do list 86 | // ============================================================== 87 | $(".list-task li label").click(function() { 88 | $(this).toggleClass("task-done"); 89 | }); 90 | 91 | //**************************** 92 | /* This is for the mini-sidebar if width is less then 1170*/ 93 | //**************************** 94 | var setsidebartype = function() { 95 | var width = (window.innerWidth > 0) ? window.innerWidth : this.screen.width; 96 | if (width < 1170) { 97 | $("#main-wrapper").attr("data-sidebartype", "mini-sidebar"); 98 | } else { 99 | $("#main-wrapper").attr("data-sidebartype", "full"); 100 | } 101 | }; 102 | $(window).ready(setsidebartype); 103 | $(window).on("resize", setsidebartype); 104 | //**************************** 105 | /* This is for sidebartoggler*/ 106 | //**************************** 107 | $('.sidebartoggler').on("click", function() { 108 | $("#main-wrapper").toggleClass("mini-sidebar"); 109 | if ($("#main-wrapper").hasClass("mini-sidebar")) { 110 | $(".sidebartoggler").prop("checked", !0); 111 | $("#main-wrapper").attr("data-sidebartype", "mini-sidebar"); 112 | } else { 113 | $(".sidebartoggler").prop("checked", !1); 114 | $("#main-wrapper").attr("data-sidebartype", "full"); 115 | } 116 | }); 117 | }); -------------------------------------------------------------------------------- /dist/js/jquery.ui.touch-punch-improved.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Touch Punch Improved 0.3.1 3 | * 4 | * 5 | * Copyright 2013, Chris Hutchinson 6 | * Original jquery-ui-touch-punch Copyright 2011, Dave Furfero 7 | * Dual licensed under the MIT or GPL Version 2 licenses. 8 | * 9 | * Depends: 10 | * jquery.ui.widget.js 11 | * jquery.ui.mouse.js 12 | */ 13 | (function ($) { 14 | var pointerEnabled = window.navigator.pointerEnabled 15 | || window.navigator.msPointerEnabled; 16 | 17 | // Detect touch support 18 | $.support.touch = 'ontouchend' in document || pointerEnabled; 19 | 20 | // Ignore browsers without touch support or mouse support 21 | if (!$.support.touch || !$.ui.mouse) { 22 | return; 23 | } 24 | 25 | var mouseProto = $.ui.mouse.prototype, 26 | _mouseInit = mouseProto._mouseInit, 27 | touchHandled; 28 | 29 | // see http://stackoverflow.com/a/12714084/220825 30 | function fixTouch(touch) { 31 | var winPageX = window.pageXOffset, 32 | winPageY = window.pageYOffset, 33 | x = touch.clientX, 34 | y = touch.clientY; 35 | 36 | if (touch.pageY === 0 && Math.floor(y) > Math.floor(touch.pageY) || touch.pageX === 0 && Math.floor(x) > Math.floor(touch.pageX)) { 37 | // iOS4 clientX/clientY have the value that should have been 38 | // in pageX/pageY. While pageX/page/ have the value 0 39 | x = x - winPageX; 40 | y = y - winPageY; 41 | } else if (y < (touch.pageY - winPageY) || x < (touch.pageX - winPageX)) { 42 | // Some Android browsers have totally bogus values for clientX/Y 43 | // when scrolling/zooming a page. Detectable since clientX/clientY 44 | // should never be smaller than pageX/pageY minus page scroll 45 | x = touch.pageX - winPageX; 46 | y = touch.pageY - winPageY; 47 | } 48 | 49 | return { 50 | clientX: x, 51 | clientY: y 52 | }; 53 | } 54 | 55 | /** 56 | * Simulate a mouse event based on a corresponding touch event 57 | * @param {Object} event A touch event 58 | * @param {String} simulatedType The corresponding mouse event 59 | */ 60 | function simulateMouseEvent (event, simulatedType) { 61 | // Ignore multi-touch events 62 | if ((!pointerEnabled && event.originalEvent.touches.length > 1) || (pointerEnabled && !event.isPrimary)) { 63 | return; 64 | } 65 | 66 | var touch = pointerEnabled ? event.originalEvent : event.originalEvent.changedTouches[0], 67 | simulatedEvent = document.createEvent('MouseEvents'), 68 | coord = fixTouch(touch); 69 | 70 | // Check if element is an input or a textarea 71 | if ($(touch.target).is("input") || $(touch.target).is("textarea")) { 72 | event.stopPropagation(); 73 | } else { 74 | event.preventDefault(); 75 | } 76 | 77 | // Initialize the simulated mouse event using the touch event's coordinates 78 | simulatedEvent.initMouseEvent( 79 | simulatedType, // type 80 | true, // bubbles 81 | true, // cancelable 82 | window, // view 83 | 1, // detail 84 | event.screenX || touch.screenX, // screenX 85 | event.screenY || touch.screenY, // screenY 86 | event.clientX || coord.clientX, // clientX 87 | event.clientY || coord.clientY, // clientY 88 | false, // ctrlKey 89 | false, // altKey 90 | false, // shiftKey 91 | false, // metaKey 92 | 0, // button 93 | null // relatedTarget 94 | ); 95 | 96 | // Dispatch the simulated event to the target element 97 | event.target.dispatchEvent(simulatedEvent); 98 | } 99 | 100 | /** 101 | * Handle the jQuery UI widget's touchstart events 102 | * @param {Object} event The widget element's touchstart event 103 | */ 104 | mouseProto._touchStart = function (event) { 105 | var self = this; 106 | 107 | // Ignore the event if another widget is already being handled 108 | if (touchHandled || (!pointerEnabled && !self._mouseCapture(event.originalEvent.changedTouches[0]))) { 109 | return; 110 | } 111 | 112 | // Set the flag to prevent other widgets from inheriting the touch event 113 | touchHandled = true; 114 | 115 | // Track movement to determine if interaction was a click 116 | self._touchMoved = false; 117 | 118 | // Simulate the mouseover event 119 | simulateMouseEvent(event, 'mouseover'); 120 | 121 | // Simulate the mousemove event 122 | simulateMouseEvent(event, 'mousemove'); 123 | 124 | // Simulate the mousedown event 125 | simulateMouseEvent(event, 'mousedown'); 126 | }; 127 | 128 | /** 129 | * Handle the jQuery UI widget's touchmove events 130 | * @param {Object} event The document's touchmove event 131 | */ 132 | mouseProto._touchMove = function (event) { 133 | // Ignore event if not handled 134 | if (!touchHandled) { 135 | return; 136 | } 137 | 138 | // Interaction was not a click 139 | this._touchMoved = true; 140 | 141 | // Simulate the mousemove event 142 | simulateMouseEvent(event, 'mousemove'); 143 | }; 144 | 145 | /** 146 | * Handle the jQuery UI widget's touchend events 147 | * @param {Object} event The document's touchend event 148 | */ 149 | mouseProto._touchEnd = function (event) { 150 | // Ignore event if not handled 151 | if (!touchHandled) { 152 | return; 153 | } 154 | 155 | // Simulate the mouseup event 156 | simulateMouseEvent(event, 'mouseup'); 157 | 158 | // Simulate the mouseout event 159 | simulateMouseEvent(event, 'mouseout'); 160 | 161 | // If the touch interaction did not move, it should trigger a click 162 | if (!this._touchMoved) { 163 | // Simulate the click event 164 | simulateMouseEvent(event, 'click'); 165 | } 166 | 167 | // Unset the flag to allow other widgets to inherit the touch event 168 | touchHandled = false; 169 | }; 170 | 171 | /** 172 | * A duck punch of the $.ui.mouse _mouseInit method to support touch events. 173 | * This method extends the widget with bound touch event handlers that 174 | * translate touch events to mouse events and pass them to the widget's 175 | * original mouse event handling methods. 176 | */ 177 | mouseProto._mouseInit = function () { 178 | var self = this; 179 | 180 | self.element.on({ 181 | 'touchstart': $.proxy(self, '_touchStart'), 182 | 'touchmove': $.proxy(self, '_touchMove'), 183 | 'touchend': $.proxy(self, '_touchEnd'), 184 | 'pointerDown': $.proxy(self, '_touchStart'), 185 | 'pointerMove': $.proxy(self, '_touchMove'), 186 | 'pointerUp': $.proxy(self, '_touchEnd'), 187 | 'MSPointerDown': $.proxy(self, '_touchStart'), 188 | 'MSPointerMove': $.proxy(self, '_touchMove'), 189 | 'MSPointerUp': $.proxy(self, '_touchEnd') 190 | }); 191 | 192 | // Call the original $.ui.mouse init method 193 | _mouseInit.call(self); 194 | }; 195 | 196 | })(jQuery); -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | alert('Login Successful');window.location.href='main.php';"; 35 | ?> 36 | 46 | 47 | 52 | 62 | alert('Your Login Name or Password is invalid');window.location.href='index.php';"; --> 64 | 65 | exit(); 66 | } 67 | 68 | } 69 | 70 | 71 | ?> 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 170 | 303 | 304 | 305 | 326 | 327 | 328 | 329 | -------------------------------------------------------------------------------- /table.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | DASHBOARD 43 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 |
91 | 92 | 93 | 94 | 95 | 96 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 |
130 |
131 | 132 | 135 | 136 | 0) 141 | { 142 | foreach($query_run2 as $student2) 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 | 180 |
User Data
Name
Mail Id
Date Of Birth
Age
Phone
Gender
181 |
182 | 183 |
184 | Designed and Developed by THAMIZH With Passion. 185 |
186 |
187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 |
197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 250 | 251 | 252 | 253 | -------------------------------------------------------------------------------- /password.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 38 | 48 | 54 | 64 | query($query) === TRUE) 75 | { 76 | // echo ""; 77 | ?> 78 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | DASHBOARD 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 |
135 | 136 | 137 | 138 | 139 | 140 | 141 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 |
174 |
175 | 176 |
177 |
178 |
179 |
180 | 181 |
182 |
Change Password
183 | 184 |
185 | 186 | 187 |
188 |
189 | 190 | 191 |
192 | 193 | 194 |
195 |
196 |
197 |
198 |
199 | 200 |
201 | 202 |
203 | Designed and Developed by THAMIZH With Passion. 204 |
205 |
206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 |
216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 269 | 270 | 271 | 272 | -------------------------------------------------------------------------------- /dash.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | query($query) === TRUE) 43 | { 44 | 45 | ?> 46 | 56 | 57 | 63 | 73 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | DASHBOARD 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 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 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 |
167 |
168 | 169 |
170 |
171 |
172 |
173 | 174 |
175 |
Edit Profile
176 | 177 |
178 | 179 | 180 |
181 |
182 | 183 | 184 |
185 |
186 | 187 | 188 |
189 |
190 | 191 | 192 |
193 |
194 | 195 |
196 |
197 | 198 |
203 | 204 | 205 |
206 |
207 |
208 |
209 |
210 | 211 |
212 | 213 |
214 | Designed and Developed by THAMIZH With Passion. 215 |
216 |
217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 |
227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 280 | 281 | 282 | --------------------------------------------------------------------------------