Şuanki Dizin: /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/old/grv/admin/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/old/grv/admin/edit-complaint-master.php |
<?php require_once('lib/functions.php'); $db = new db_functions(); if(!isset($_SESSION['login_admin_user_id'])) { header("location:index.php"); } $flag = 0; $actual_image_name=""; $success_msg = 0; $image_error=""; $department_error=""; $staff_error=""; $success_flag=0; $title=""; if(isset($_GET['edit_id'])) { $edit_id = $_GET['edit_id']; $_SESSION['current_edit_id'] = $edit_id; } else { $edit_id = $_SESSION['current_edit_id']; } if(isset($_POST['add_btn'])) { $title = $_POST['title']; if($flag==0) { if($db->update_complaint_master($title,$edit_id)) { $success_msg = 1; } } } $title=$db->get_complaint_master($edit_id); ?> <!-- Author: W3layouts Author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ --> <!DOCTYPE HTML> <html> <head> <title> <?php echo $application_title; ?> </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="Novus Admin Panel Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <!-- Bootstrap Core CSS --> <link href="css/bootstrap.css" rel='stylesheet' type='text/css' /> <!-- Custom CSS --> <link href="css/style.css" rel='stylesheet' type='text/css' /> <!-- font CSS --> <!-- font-awesome icons --> <link href="css/font-awesome.css" rel="stylesheet"> <!-- //font-awesome icons --> <!-- js--> <script src="js/jquery-1.11.1.min.js"></script> <script src="js/modernizr.custom.js"></script> <!--webfonts--> <link href='//fonts.googleapis.com/css?family=Roboto+Condensed:400,300,300italic,400italic,700,700italic' rel='stylesheet' type='text/css'> <!--//webfonts--> <!--animate--> <link href="css/animate.css" rel="stylesheet" type="text/css" media="all"> <script src="js/wow.min.js"></script> <script> new WOW().init(); </script> <!--//end-animate--> <!-- chart --> <script src="js/Chart.js"></script> <!-- //chart --> <!--Calender--> <link rel="stylesheet" href="css/clndr.css" type="text/css" /> <script src="js/underscore-min.js" type="text/javascript"></script> <script src= "js/moment-2.2.1.js" type="text/javascript"></script> <script src="js/clndr.js" type="text/javascript"></script> <script src="js/site.js" type="text/javascript"></script> <!--End Calender--> <!-- Metis Menu --> <script src="js/metisMenu.min.js"></script> <script src="js/custom.js"></script> <link href="css/custom.css" rel="stylesheet"> <!--//Metis Menu --> </head> <body class="cbp-spmenu-push"> <div class="main-content"> <!--left-fixed -navigation--> <?php include("left-section.php"); ?> <!--left-fixed -navigation--> <!-- header-starts --> <?php include("header.php"); ?> <!-- //header-ends --> <!-- main content start--> <div id="page-wrapper" style="min-height:700px;"> <div class="main-page signup-page"> <h3 class="title1">Edit Complaint Title</h3> <div class="sign-up-row widget-shadow"> <form method="POST" action="<?php echo $_SERVER['PHP_SELF'] ?>" enctype="multipart/form-data" autocomplete="off"> <?php if($success_msg == 1) { ?> <div class="alert alert-success"> Title updated Successfully. </div> <?php } ?> <?php if($success_msg== 2) { ?> <div class="alert alert-danger"> Title Already Exist. </div> <?php } ?> <div class="form-group"> <label>Title</label> <input class="form-control" placeholder="Enter Title" name="title" type="text" value="<?php echo $title; ?>"required> </div> <div class="sub_home"> <input type="submit" value="Edit Title" name="add_btn" style="width:35%;"> <div class="clearfix"> </div> </div> </form> </div> </div> </div> <!--footer--> <?php include("footer.php"); ?> <!--//footer--> </div> <!-- Classie --> <script src="js/classie.js"></script> <script> var menuLeft = document.getElementById( 'cbp-spmenu-s1' ), showLeftPush = document.getElementById( 'showLeftPush' ), body = document.body; showLeftPush.onclick = function() { classie.toggle( this, 'active' ); classie.toggle( body, 'cbp-spmenu-push-toright' ); classie.toggle( menuLeft, 'cbp-spmenu-open' ); disableOther( 'showLeftPush' ); }; function disableOther( button ) { if( button !== 'showLeftPush' ) { classie.toggle( showLeftPush, 'disabled' ); } } </script> <!--scrolling js--> <script src="js/jquery.nicescroll.js"></script> <script src="js/scripts.js"></script> <!--//scrolling js--> <!-- Bootstrap Core JavaScript --> <script src="js/bootstrap.js"> </script> </body> </html>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4