GIF89a php
Current File : /home/drbalajibabycent/public_html/Admin-Panel/Add-speciality.php
<?php
 
    include 'db.php';
    
   ?>




<!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">
      <title>Speciality Management</title>
      <!-- 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
         =====================================================================-->
      <!-- 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="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.1/css/bootstrap-select.css" />
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.1/js/bootstrap-select.js"></script>
   </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-icon">
                  <i class="fa fa-users"></i>
               </div>
               <div class="header-title">
                  <h1>Add Speciality</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 href="#">
                                 <h4>Speciality</h4>
                              </a>  
                           </div>
                        </div>

                         <div class="panel-body">
                           <form method="POST" action="edit7.php" enctype="multipart/form-data">
                            
                           
                             <div>
                              <div class="form-group">
                                 <label>Add Speciality Name</label>
                                 <input name="name" type="text" class="form-control" placeholder="Add Speciality" autocomplete="off">
                              </div>
                           </div>
                           
                           <div>
                              <div class="form-group">
                                 <label>Add Speciality Details</label>
                                 <textarea rows="10" name="name1" type="text" class="form-control" placeholder="Add Speciality Details" autocomplete="off"></textarea>
                              </div>
                           </div>
                           
                          
                           
                          
                          
                           
                           
                           <div>
                              <div class="form-group">
                                 <label>Add Speciality Image</label>
                                 <input name="file1" type="file" class="form-control" placeholder="Add Speciality Image">
                              </div>
                           </div>
                           
                           
                          
                           
                           
                          
                           
                           
                           
                           
                           
                           
                           
                           
                           
                           
                           
                                 <div class="reset-button">
                                <button type="submit" name="submit" class="btn btn-success">Submit</button>
                                
                                 <a href="Speciality-view.php" class="btn btn-danger">Manage</a>
                                
                              </div>
                           </form>
                        </div>
                     </div>
                  </div>
               </div>
            </section>
            <!-- /.content -->
         </div>
         <!-- /.content-wrapper -->
        <?php include('include/footer.php'); ?>
      </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 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">
 
function getProductDataw() {
    
$('.selectpicker').selectpicker();
    //var name = $("#name").val();  
   var tableLength = $("#productTable tbody tr").length;

	var tableRow;
	var arrayNumber;
	var count;

	if(tableLength > 0) {		
		tableRow = $("#productTable tbody tr:last").attr('id');
		arrayNumber = $("#productTable tbody tr:last").attr('class');
		count = tableRow.substring(3);	
		count = Number(count) + 1;
		arrayNumber = Number(arrayNumber) + 1;					
	} else {
		// no table row
		count = 1;
		arrayNumber = 0;
	}
   // if(name == "") {
        
        
        
        
        
     // $("#cusname").val("");
     // $("#address").val("");  
 //$("#cnm").val("");
 
 
               
       
   // } else {
      $.ajax({
                     type:'POST',
					url:'get_subcatview.php',
					data:{'action':'addDataRow','name': count,'name1': arrayNumber},
					success: function(data){
						$('#data').append(data);
						$('.selectpicker').selectpicker('refresh');
						//$('#save').removeAttr('hidden',true);
					}
         //$(".selectpicker").selectpicker();
//$("#name").val('');
//$("#name").selectpicker('refresh');

  //for (x = 1; x < rowCount; x++) {    
//$("#productName"+x).val('');
//$("#productName"+x).selectpicker('refresh');
         


//}
//$("#ajax-form")[0].reset()








         
          
        
          
        //} // /success
      }); // /ajax function to fetch the product data 
   // }
        
 
} 
function removeProductRow(row = null) {
	if(row) {
		$("#row"+row).remove();


		//subAmount();
	} else {
		alert('error! Refresh the page again');
	}
}




</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>