UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
add_anudaan_nirikshan_form.php
<?php include "top.php"; if(isset($_GET['id'])) { $id = $_GET['id']; $sql = "select * from anudaanfarmerdocumenttb where regno='".$id."'"; $result = mysqli_query($conn,$sql); $data=mysqli_fetch_array($result); } ?> <script> $(document).ready(function() { var id = getUrlVars()['id']; var op = getUrlVars()['op']; if (id != "") { $.ajax({ method: 'POST', url: 'get_anudaanfarmerreg_detials.php', data: '&id=' + id, dataType: "JSON", success: function(data) { //var obj = JSON.stringify(data); // var str = $.parseJSON(obj); $('#hdid').val(data.hdid); $('#regno').val(data.hdid); $('#farmername').val(data.farmername); $('#farmername1').val(data.farmername); $('#village').val(data.villagename); $('#post').val(data.post); $('#tehsil').val(data.tehsil); $('#karydayi_fram').val(data.farmname); $('#aapoorti_karta_name').val(data.farmname); $('#drip_samagri').val(data.companyname); $('#site_vivran').val(data.villagename+","+data.blockname); $('#nirakshan_site_vivran').val(data.villagename+","+data.blockname); getfarmernirikshakdetails(data.hdid); if (op == "Update") { $('#pageheading').text("Edit Farmer"); $('#pageheading1').text("Edit Farmer Details"); $('#btnopration').text("Update"); document.getElementById("farmername").focus(); } else if (op == "Delete") { $('#pageheading').text("Delete Farmer"); $('#pageheading1').text("Delete Farmer Details"); $('#btnopration').text("Delete"); document.getElementById("village").setAttribute('disabled', true); document.getElementById("state").setAttribute('disabled', true); document.getElementById("district").setAttribute('disabled', true); document.getElementById("block").setAttribute('disabled', true); document.getElementById("fathername").setAttribute('disabled', true); document.getElementById("mobileno1").setAttribute('disabled', true); document.getElementById("mobileno2").setAttribute('disabled', true); document.getElementById("age").setAttribute('disabled', true); document.getElementById("gender").setAttribute('disabled', true); } } }); } }); function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for (var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0]] = hash[1]; } return vars; } function getfarmernirikshakdetails(id) { $.ajax({ method: 'POST', url: 'get_anudaanfarmer_nirikshak_details.php', data: '&id=' + id, dataType: "JSON", success: function(data) { if(data.nirakshan_date!="01-01-1900") { $('#nirakshan_date').val(data.nirakshan_date); } $('#ensig').val(data.ensig); $('#enname').val(data.enname); $('#enpost').val(data.enpost); if(data.endate!="01-01-1900") { $('#endate').val(data.endate); } $('#udsig').val(data.udsig); $('#udname').val(data.udname); $('#udpost').val(data.udpost); if(data.uddate!="01-01-1900") { $('#uddate').val(data.uddate); } } }); } function saveformer() { var flag = true; var regno = document.getElementById("regno").value; var nirakshan_date = document.getElementById("nirakshan_date").value; var site_vivran = document.getElementById("site_vivran").value; var nirakshan_site_vivran = document.getElementById("nirakshan_site_vivran").value; var karydayi_fram = document.getElementById("karydayi_fram").value; var drip_samagri = document.getElementById("drip_samagri").value; var aapoorti_karta_name = document.getElementById("aapoorti_karta_name").value; var ensig = document.getElementById("ensig").value; var enname = document.getElementById("enname").value; var enpost = document.getElementById("enpost").value; var endate = document.getElementById("endate").value; var udsig = document.getElementById("udsig").value; var udname = document.getElementById("udname").value; var udpost = document.getElementById("udpost").value; var uddate = document.getElementById("uddate").value; var hdid = document.getElementById("hdid").value; var btnopration = document.getElementById("btnopration").innerHTML; var text = "Do you want " + btnopration + " Farmer Details"; if (confirm(text) == false) { flag = false; return false; } try { if (flag == true) { var urlgetcode = 'manage_farmer_anudaan_nirikshan_details.php'; $.ajax({ method: 'POST', url: urlgetcode, data: '®no=' + regno + '&nirakshan_date=' + nirakshan_date + '&site_vivran=' + site_vivran+ '&nirakshan_site_vivran=' + nirakshan_site_vivran +'&karydayi_fram=' + karydayi_fram +'&drip_samagri=' + drip_samagri+'&aapoorti_karta_name=' + aapoorti_karta_name+'&ensig=' + ensig+'&enname=' + enname+'&enpost=' + enpost + '&endate=' + endate+'&udsig=' + udsig+ '&udname=' + udname + '&udpost=' + udpost+'&uddate=' + uddate + '&hdid=' + hdid + '&btnopration=' + btnopration, dataType: 'json', async: true, cache: false, success: function(msg) { if (msg == "1") { alert("Save Successfully"); $('#hdid').val(""); $('#nirakshan_date').val(""); $('#site_vivran').val(""); $('#nirakshan_site_vivran').val(""); $('#karydayi_fram').val(""); $('#drip_samagri').val(""); $('#aapoorti_karta_name').val(""); $('#ensig').val(""); $('#enname').val(""); $('#enpost').val(""); $('#endate').val(""); $('#udsig').val(""); $('#udname').val(""); $('#udpost').val(""); $('#uddate').val(""); window.location.href = "list_anudaan_farmer.php"; $('#btnopration').text("Save"); } else if (msg == "2") { alert("Mobile No. Already Exist"); $('#col5a').val("Select"); $('#block').val("Select"); $('#state').val("Select"); $('#district').val("Select"); $('#farmername').val(""); $('#fathername').val(""); $('#mobileno1').val(""); $('#mobileno2').val(""); $('#age').val(""); $('#gender').val(""); $('#btnopration').text("Save"); window.location.href = "list_anudaan_farmer.php"; } else if (msg == "3") { alert("Update Successfully"); $('#village').val("Select"); $('#block').val("Select"); $('#state').val("Select"); $('#district').val("Select"); $('#farmername').val(""); $('#fathername').val(""); $('#mobileno1').val(""); $('#mobileno2').val(""); $('#age').val(""); $('#gender').val(""); $('#btnopration').text("Save"); window.location.href = "list_anudaan_farmer.php"; } else if (msg == "4") { alert("Delete Successfully"); $('#village').val("Select"); $('#block').val("Select"); $('#state').val("Select"); $('#district').val("Select"); $('#farmername').val(""); $('#fathername').val(""); $('#mobileno1').val(""); $('#mobileno2').val(""); $('#age').val(""); $('#gender').val(""); $('#btnopration').text("Save"); window.location.href = "list_anudaan_farmer.php"; } }, error: function(request) { alert(request.responseText); } }); } } catch (Error) { alert(Error); } return; } </script> <div id="page-wrapper" class="gray-bg dashbard-1"> <div class="content-main"> <!--banner--> <div class="banner"> <table width="100%"> <tr> <td width="50%"><b><label name="pageheading" id="pageheading">Add Anudaan Farmer</label></b></td> <td width="50%" align="right"><a class="btn btn-default" href="list_anudaan_farmer.php">Anudaan Farmer List</a></td> </tr> </table> </div> <!--//banner--> <!--grid--> <div class="validation-system"> <div class="validation-form"> <!----> <input type="hidden" class="form-control1" id="hdid" name="hdid"> <h3 align="center">राष्ट्रिय कृषि विकास योजना "पर ड्राप मोर क्रॉप" माइक्रो इरीगेशन ड्रिप/स्प्रिंकलर स्थापना हेतु साईट निरिक्षण रिपोर्ट </h3> <br> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">पंजीकरण संख्या:</label> <input type="text" class="form-control1" id="regno" name="regno" readonly placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">निरीक्षण की तिथि:</label> <input type="text" class="form-control1" format="dd MM yyyy" id="nirakshan_date" name="nirakshan_date" placeholder="dd-MM-yyyy"> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">साइट का पूर्ण विवरण</label> <input type="text" class="form-control1" id="site_vivran" name="site_vivran" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">निरीक्षण साइट का विवरण</label> <input type="text" class="form-control1" id="nirakshan_site_vivran" name="nirakshan_site_vivran" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">कार्यदायी फर्म का नाम</label> <input type="text" class="form-control1" id="karydayi_fram" readonly name="karydayi_fram" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">ड्रिप/स्प्रिंकलर की सामाग्री मे०</label> <input type="text" class="form-control1" id="drip_samagri" name="drip_samagri" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">(आपूर्तिकर्ता का नाम)</label> <input type="text" class="form-control1" id="aapoorti_karta_name" readonly name="aapoorti_karta_name" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-6 form-group1 form-last"> <label class="control-label" style="font-size:22px;">प्रोजेक्ट के अन्तर्गत लाभार्थी कृषक श्री/श्रीमती.</label> <input type="text" class="form-control1" id="farmername" name="farmername" readonly placeholder=""> </div> <div class="col-md-6 form-group1"> <label class="control-label" style="font-size:22px;">ग्राम</label> <input type="text" class="form-control1" id="village" name="village" readonly placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">पोस्ट</label> <input type="text" class="form-control1" id="post" name="post" readonly placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">तहसील</label> <input type="text" class="form-control1" id="tehsil" name="tehsil" readonly placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">जिला-झाँसी को साइट पर आपूर्ति/स्थापित पद्धिति का निरिक्षण किया गया तथा बी०आई०एस० मानक के अनुसार पाया गया|</label> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">फर्म के अधिकृत सेवा अभियन्ता के हस्ताक्षर </label> <input type="text" class="form-control1" id="ensig" name="ensig" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">नाम </label> <input type="text" class="form-control1" id="enname" name="enname" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">पदनाम</label> <input type="text" class="form-control1" id="enpost" name="enpost" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">तिथि </label> <input type="text" class="form-control1" format="dd MM yyyy" id="endate" name="endate" placeholder="dd-MM-yyyy"> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">(सील) </label> <input type="text" class="form-control1" id="seel" name="seel" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">कृषक का नाम </label> <input type="text" class="form-control1" id="farmername1" name="farmername1" readonly placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">हस्ताक्षर </label> <img class="img-responsive " src="anudaan_document_images/<?php echo $data['sign_imagepath']; ?>" id="framersig" name="framersig" alt="" /> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">तिथि </label> <input type="text" class="form-control1" id="farmerdate" name="farmerdate" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">प्रभारी/सहायक/उधान निरीक्षक के हस्ताक्षर </label> <input type="text" class="form-control1" id="udsig" name="udsig" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">नाम </label> <input type="text" class="form-control1" id="udname" name="udname" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">पद नाम </label> <input type="text" class="form-control1" id="udpost" name="udpost" placeholder=""> </div> <div class="clearfix"> </div> </div> <div class="vali-form vali-form1"> <div class="col-md-12 form-group1"> <label class="control-label" style="font-size:22px;">दिनांक </label> <input type="text" class="form-control1" format="dd MM yyyy" id="uddate" name="uddate" placeholder="dd-MM-yyyy"> </div> <div class="clearfix"> </div> </div> <div class="col-md-12 form-group"> <button type="submit" id="btnopration" onclick="saveformer();" class="btn btn-primary">Save</button> </div> <div class="clearfix"> </div> <!----> </div> </div> <!--//grid--> <?php include "footer.php";?>
Copyright © 2025 - UnknownSec