UnknownSec Bypass
403
:
/
var
/
www
/
zenithentcare
/
stmedicosoftware
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
mst_bank.php
<?php include "top1.php";?> <!-- /inner_content--> <div class="inner_content"> <!-- /inner_content_w3_agile_info--> <!-- breadcrumbs --> <div class="w3l_agileits_breadcrumbs"> <div class="w3l_agileits_breadcrumbs_inner"> <ul> <li><a href="dashboard.php">Dashboard</a><span>«</span></li> <li>Manage Bank</li> </ul> </div> </div> <!-- //breadcrumbs --> <div class="inner_content_w3_agile_info two_in"> <h2 class="w3_inner_tittle">Manage Bank</h2> <!--/forms--> <div class="forms-main_agileits"> <!--/forms-inner--> <div class="forms-inner"> <!--/set-1--> <div class="set-1_w3ls"> <div class="col-md-4 button_set_one agile_info_shadow graph-form"> <h3 class="w3_inner_tittle two">Bank </h3> <div class="form-body"> <input type="hidden" class="form-control1" id="hdid" name="hdid"> <div class="form-group"> <label for="testDepartmentyName">Bank Name</label> <input type="text" class="form-control" id="testdepartmentname" name="testdepartmentname" placeholder="Please enter bank name here..."> </div> <button type="submit" class="btn btn-default" id="btnsave" name="btnsave" onclick="curddepartment();">SAVE</button> <button type="submit" class="btn btn-default" id="btnclear1" name="btnclear1" onclick="clear1();">CLEAR</button> </div> </div> <div class="col-md-8 graph-form general agile_info_shadow"> <h3 class="w3_inner_tittle two">Bank List </h3> <?php $sql= "SELECT * from mastertb where identifier='" . $gbankidentifier. "' and status='".$gnotdeleted."' order by accountmasterid DESC"; $result=mysqli_query($conn, $sql) or die("Query Failed."); if (mysqli_num_rows($result)>0) { ?> <table id="studtable" class="table table-striped table-bordered"> <thead> <tr> <th>No.</th> <th>ID</th> <th>Bank Name</th> <th></th> <th></th> </tr> </thead> <tbody> <?php $serial= 1; while ($row = mysqli_fetch_assoc($result)) { ?> <tr> <td><?php echo $serial ?> </td> <td><?php echo $row['accountmasterid']; ?> </td> <td> <?php echo $row['accountname']; ?> </td> </td> <td><button onclick="edit(<?php echo $row['accountmasterid']; ?>);"><i class=" glyphicon glyphicon-pencil"></i></button></td> <td><button onclick="remove(<?php echo $row['accountmasterid']; ?>);"><i class="glyphicon glyphicon-trash"></i></button></td> </tr> <?php $serial++; } } ?> </tbody> </table> </div> </div> <div class="clearfix"> </div> </div> <!--//set-1--> </div> <!--//forms-inner--> </div> <!--//forms--> </div> <!-- //inner_content_w3_agile_info--> </div> <!-- //inner_content--> <script type="text/javascript"> function getdepartmentdetails() { $.ajax({ method: "POST", url: "load_department_list.php", data: { }, success: function(data) { $('#studtable').html(data); /// $("#state").html(data); } }); } function remove(id) { var depid = id; try { var urlgetcode = 'get_deparment_list.php'; $.ajax({ method: 'POST', url: urlgetcode, data: '&depid=' + depid, dataType: 'json', async: true, cache: false, success: function(data) { $('#hdid').val(data.parcode); $('#testdepartmentname').val(data.parname); document.getElementById("btnsave").innerHTML = "REMOVE"; }, error: function(request) { alert(request.responseText); } }); } catch (Error) { alert(Error); } return; } function edit(id) { var depid = id; try { var urlgetcode = 'get_deparment_list.php'; $.ajax({ method: 'POST', url: urlgetcode, data: '&depid=' + depid, dataType: 'json', async: true, cache: false, success: function(data) { $('#hdid').val(data.parcode); $('#testdepartmentname').val(data.parname); document.getElementById("btnsave").innerHTML = "UPDATE"; }, error: function(request) { alert(request.responseText); } }); } catch (Error) { alert(Error); } return; } function clear1() { $('#hdid').val(""); $('#testdepartmentname').val(""); document.getElementById("btnsave").innerHTML = "SAVE"; } function curddepartment() { var flag = true; var inputField1 = document.getElementById("testdepartmentname"); if (inputField1.value == "") { flag = false; alert("Please enter bank name."); document.getElementById("testdepartmentname").focus(); return false; } var department = document.getElementById("testdepartmentname").value; var id = document.getElementById("hdid").value; var btnopration = document.getElementById("btnsave").innerHTML; var identifier = 8; try { if (flag == true) { var urlgetcode = 'mst_curddepartment.php'; $.ajax({ method: 'POST', url: urlgetcode, data: '&department=' + department + '&id=' + id + '&btnopration=' + btnopration + '&identifier=' + identifier, dataType: 'json', async: true, cache: false, success: function(data) { alert(data); window.location.href = "mst_bank.php"; $('#hdid').val(""); $('#testdepartmentname').val(""); }, error: function(request) { alert(request.responseText); } }); } } catch (Error) { alert(Error); } return; } $(document).ready(function() { $("#studtable").DataTable({ bLengthChange: true, "iDisplayLength": 10, bInfo: false, responsive: true, "bAutoWidth": false }); }); </script> <?php include "footer.php";?>
Copyright © 2025 - UnknownSec