Şuanki Dizin: /home/wwwdreamtechnolo/public_html/b2bflight.com/B2BFlight/project/dashboard/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/b2bflight.com/B2BFlight/project/dashboard/sample-entry.php |
<?php require_once('lib/functions.php' ); $db = new class_functions(); $flag = 0; if(isset($_POST['client_name'])) { $LRN = $_POST['LRN']; $project_name = $_POST['project_name']; $client_name = $_POST['client_name']; $location = $_POST['location']; $sample_date = $_POST['sample_date']; $bore_hole_type = $_POST['bore_hole_type']; $bh_no = $_POST['bh_no']; $chainage_no = $_POST['chainage_no']; $sr_no = $_POST['sr_no']; $type_of_sample = $_POST['type_of_sample']; $sample_no = $_POST['sample_no']; $sample_length_in_cm = $_POST['sample_length_in_cm']; $test_on_sample = $_POST['test_on_sample']; $prepared_by = $_POST['prepared_by']; $approved_by = $_POST['approved_by']; $bh_depth_m = $_POST['bh_depth_m']; $depth_m = $_POST['depth_m']; $date = $_POST['date']; $time = $_POST['time']; if($db->insert_sample_entry($LRN,$project_name,$client_name,$location,$sample_date,$bore_hole_type,$bh_no,$chainage_no,$sr_no,$type_of_sample,$depth_m,$sample_no,$sample_length_in_cm,$test_on_sample,$prepared_by,$approved_by,$bh_depth_m,$depth_m)) { $flag = 1; } } ?> <!doctype html> <html lang="en" dir="ltr"> <head> <?php require_once('header-common.php'); ?> </head> <body class=" "> <!-- loader Start --> <div id="loading"> <div class="loader simple-loader"> <div class="loader-body"></div> </div> </div> <!-- loader END --> <aside class="sidebar sidebar-default sidebar-white sidebar-base navs-rounded-all "> <div class="sidebar-header d-flex align-items-center justify-content-start"> <a href="index.php" class="navbar-brand"> <img src="images/<?php echo $logo; ?>" class="software_logo" style="height:90px; width:220px;" /> </a> <div class="sidebar-toggle" data-toggle="sidebar" data-active="true"> <i class="icon"> <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M4.25 12.2744L19.25 12.2744" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> <path d="M10.2998 18.2988L4.2498 12.2748L10.2998 6.24976" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> </svg> </i> </div> </div> <?php require_once('left-side.php'); ?> <div class="sidebar-footer"></div> </aside> <main class="main-content"> <?php require_once('navbar.php'); ?> <div class="conatiner-fluid content-inner mt-n5 py-0"> <div class="row"> <div class="col-sm-12"> <div class="card"> <?php if($flag ==1) { ?> <div class="mb-3 alert alert-left alert-success alert-dismissible fade show" role="alert" style="width:80%; margin:auto; margin-top:25px;"> <span>Record Saved Successfully</span> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button> </div> <?php } ?> <div class="card-header d-flex justify-content-between flex-wrap"> <div class="header-title"> <h4 class="card-title mb-0">Sample Entry</h4> </div> <div class="card-body"> <div class="table-responsive"> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <div class="row"> <!--<div class="col-lg-6"> <div class="form-group"> <label for="full-name" class="form-label">Lab Type</label> <select name="lab_type" class="form-control"> <option value="Mechanical">Mechanical</option> <option value="Chemical">Chemical</option> </select> </div> </div>--> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">LRN</label> <input type="text" name="LRN" class="form-control" placeholder="" required /> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Project Name</label> <input type="text" name="project_name" class="form-control" placeholder=" "> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Client Name</label> <input type="text" name="client_name" class="form-control" placeholder=" "> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Location</label> <input type="text" name="location" class="form-control" placeholder=" "> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Sample Date</label> <input type="Date" name="sample_date" class="form-control" placeholder=" "> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Bore Hole Type</label> <input type="text" name="bore_hole_type" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Bh No </label> <input type="number" name="bh_no" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Chainage No </label> <input type="number" name="chainage_no" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">BH Depth(m) </label> <input type="text" name="bh_depth_m" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Sr No </label> <input type="number" name="sr_no" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Type Of Sample </label> <input type="text" name="type_of_sample" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Depth(m) </label> <input type="text" name="depth_m" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label"> Sample No </label> <input type="number" name="sample_no" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Sample Length In Cm </label> <input type="text" name="sample_length_in_cm" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Test On Sample </label> <input type="text" name="test_on_sample" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Prepared By </label> <input type="text" name="prepared_by" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Approved By </label> <input type="text" name="approved_by" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Date </label> <input type="Date" name="date" class="form-control" placeholder=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="form-label">Time </label> <input type="text" name="time" class="form-control" placeholder=""> </div> </div> </div> <div class="d-flex justify-content-center"> <button type="submit" class="btn btn-primary">SAVE / SUBMIT</button> </div> </div> </div> </div> </div> </div> </div> <!-- Library Bundle Script --> <script src="../assets/js/core/libs.min.js"></script> <!-- External Library Bundle Script --> <script src="../assets/js/core/external.min.js"></script> <!-- Widgetchart Script --> <script src="../assets/js/charts/widgetcharts.js"></script> <!-- mapchart Script --> <script src="../assets/js/charts/vectore-chart.js"></script> <script src="../assets/js/charts/dashboard.js" ></script> <!-- fslightbox Script --> <script src="../assets/js/plugins/fslightbox.js"></script> <!-- Settings Script --> <script src="../assets/js/plugins/setting.js"></script> <!-- Slider-tab Script --> <script src="../assets/js/plugins/slider-tabs.js"></script> <!-- Form Wizard Script --> <script src="../assets/js/plugins/form-wizard.js"></script> <!-- AOS Animation Plugin--> <script src="../assets/vendor/aos/dist/aos.js"></script> <!-- App Script --> <script src="../assets/js/hope-ui.js" defer></script> <style> .sidebar.sidebar-default .nav-link:not(.static-item).active , .sidebar.sidebar-default .nav-link:not(.static-item).active, .sidebar.sidebar-default .nav-link:not(.static-item)[aria-expanded=true] { background-color:#FE6600 !important; } </style> </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