kohjhjhصثقصثقصثقgdfgdg
Ele57885fddfgdfgfghgقفغفغفقhfg555434536
/
home
/
u402332945
/
domains
/
simmar.co.in
/
public_html
/
Upload FileeE
HOME
<?php include 'db.php'; $orderItemSql = "SELECT name,count(id) FROM p52"; $orderItemResult = $db->query($orderItemSql); $orderResult = $db->query($orderItemSql); $orderData = $orderResult->fetch_array(); $cid= $orderData[1]+1; ?> <!DOCTYPE html> <html lang="en"> <!-- Mirrored from thememinister.com/crm/add-customer.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 03 Oct 2019 15:43:24 GMT --> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php include('include/title.php'); ?> <!-- Favicon and touch icons --> <link rel="shortcut icon" href="assets/dist/img/ico/favicon.png" type="image/x-icon"> <!-- Start Global Mandatory Style =====================================================================--> <!-- jquery-ui css --> <link href="assets/plugins/jquery-ui-1.12.1/jquery-ui.min.css" rel="stylesheet" type="text/css"/> <!-- Bootstrap --> <link href="assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> <!-- Bootstrap rtl --> <!--<link href="assets/bootstrap-rtl/bootstrap-rtl.min.css" rel="stylesheet" type="text/css"/>--> <!-- Lobipanel css --> <link href="assets/plugins/lobipanel/lobipanel.min.css" rel="stylesheet" type="text/css"/> <!-- Pace css --> <link href="assets/plugins/pace/flash.css" rel="stylesheet" type="text/css"/> <!-- Font Awesome --> <link href="assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/> <!-- Pe-icon --> <link href="assets/pe-icon-7-stroke/css/pe-icon-7-stroke.css" rel="stylesheet" type="text/css"/> <!-- Themify icons --> <link href="assets/themify-icons/themify-icons.css" rel="stylesheet" type="text/css"/> <!-- End Global Mandatory Style =====================================================================--> <!-- Start Theme Layout Style =====================================================================--> <link href="assets/plugins/modals/component.css" rel="stylesheet" type="text/css"/> <!-- Theme style --> <link href="assets/dist/css/stylecrm.css" rel="stylesheet" type="text/css"/> <!-- Theme style rtl --> <!--<link href="assets/dist/css/stylecrm-rtl.css" rel="stylesheet" type="text/css"/>--> <!-- End Theme Layout Style =====================================================================--> <link rel="stylesheet" href="assets/ajax/libs/bootstrap-select/1.12.1/css/bootstrap-select.css" /> <script src="assets/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="assets/ajax/libs/bootstrap-select/1.12.1/js/bootstrap-select.js"></script> <!-- Theme style rtl --> <!--<link href="assets/dist/css/stylecrm-rtl.css" rel="stylesheet" type="text/css"/>--> <!-- End Theme Layout Style =====================================================================--> </head> <body class="hold-transition sidebar-mini"> <?php include('include/header.php'); ?> <!-- =============================================== --> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="header-title"> <h1>File Manager</h1> </div> </section> <!-- Main content --> <section class="content"> <div class="row"> <!-- Form controls --> <div class="col-sm-12"> <div class="panel panel-bd lobidrag"> <div class="panel-heading"> <div class="btn-group" id="buttonlist"> <a class="btn btn-danger w-md m-b-5 " href="File-Manager-view.php"> <i class=""></i>Manage </a> </div> </div> <div class="panel-body"> <p id="show_message" style="display: none"><font color="green">Added Successfully... </font></p> <span id="error" style="display: none">Data Not Store</span> <form action="javascript:void(0)" method="POST" id="ajax-form" enctype="multipart/form-data"> <div class="col-sm-6"> <div class="form-group"> <label>File No</label> <input type="text" name="name" id="amnt" class="form-control" value="<?php echo $cid; ?>" readonly placeholder=""> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label>Date</label> <input type="date" name="name1" id="name1" class="form-control" placeholder="" value="<?php echo date("Y-m-d"); ?>"> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label>Name of the File</label> <input type="text" name="name2" class="form-control" placeholder=""> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label>Upload</label> <input type="file" name="file" class="form-control" placeholder=""> </div> </div> <div class="col-sm-12"> <div class="form-group"> <label>Notes</label> <textarea name="name3" type="text" class="form-control" placeholder="" ></textarea> </div> </div> <div class="reset-button"> <button class="btn btn-success" name="submit" type="submit">Save</button> </div> </form> </div> </div> </div> </div> </section> <!-- /.content --> </div> <!-- /.content-wrapper --> <footer class="main-footer"> <strong>Copyright © 2016-2017 <a href="#">thememinister</a>.</strong> All rights reserved. </footer> </div> <!-- ./wrapper --> <!-- Start Core Plugins =====================================================================--> <!-- jQuery --> <script src="assets/plugins/jquery-ui-1.12.1/jquery-ui.min.js" type="text/javascript"></script> <!-- Bootstrap --> <script src="assets/bootstrap/js/bootstrap.min.js" type="text/javascript"></script> <!-- lobipanel --> <script src="assets/plugins/lobipanel/lobipanel.min.js" type="text/javascript"></script> <!-- Pace js --> <script src="assets/plugins/pace/pace.min.js" type="text/javascript"></script> <!-- SlimScroll --> <script src="assets/plugins/slimScroll/jquery.slimscroll.min.js" type="text/javascript"></script> <!-- FastClick --> <script src="assets/plugins/fastclick/fastclick.min.js" type="text/javascript"></script> <!-- CRMadmin frame --> <script src="assets/dist/js/custom.js" type="text/javascript"></script> <!-- End Core Plugins =====================================================================--> <!-- Start Theme label Script =====================================================================--> <!-- Dashboard js --> <script src="assets/dist/js/dashboard.js" type="text/javascript"></script> <!-- End Theme label Script =====================================================================--> <script type="text/javascript"> $(document).ready(function($){ // hide messages $("#error").hide(); $("#show_message").hide(); // on submit... $('#ajax-form').submit(function(e){ e.preventDefault(); $("#error").hide(); //var rowCount = $('#productTable tr').length; //name required var amnt = Number($("#amnt").val())+1; // ajax $.ajax({ type: 'POST', url: 'edit52.php', data: new FormData(this), dataType: 'json', contentType: false, cache: false, processData:false,// get all form field value in serialize form success: function(response){ //for (x = 1; x < rowCount; x++) { //$("#nameamntcid"+x).val(''); //$("#nameamntcid"+x).selectpicker('refresh'); //if(x==1){ //} //else { // $("#row"+x).remove(); //} //} //$("#name15").val(''); //$("#name15").selectpicker('refresh'); if(response=='1'){ $("#show_message").fadeIn(1000); $("#ajax-form")[0].reset() $("#show_message").fadeOut(1000); } else { $("#error").fadeIn(1000); $("#ajax-form")[0].reset() $("#error").fadeOut(1000); } $("#amnt").val(amnt); //$("#rewtntamnt").hide(); //$("#nameamnt5").hide() } }); }); return false; }); </script> </body> <!-- Mirrored from thememinister.com/crm/add-customer.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 03 Oct 2019 15:43:24 GMT --> </html>