Tn Jones Shell Bypass
:
3.145.45.114
:
160.187.54.56 / upgov.net
:
Linux 160-187-54-56.cprapid.com 4.18.0-553.22.1.lve.1.el7h.x86_64 #1 SMP Tue Oct 8 14:36:03 UTC 2024 x86_64
:
/
home
/
upgov
/
www
/
gnvs
/
Upload File:
files >> /home/upgov/www/gnvs/app_form_ad.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?php include("connection.php"); session_start(); if (!isset($_SESSION['Username']) || ($_SESSION['Password'] == '')) { header("location:index.php"); } else { $now = time(); // Checking the time now when home page starts. if ($now > $_SESSION['expire']) { session_destroy(); echo "Your session has expired! <a href='index.php'>Login here</a>"; } else { //Starting this else one [else1] if(isset($_SESSION['Username'])) { $username=$_SESSION['Username']; } $user_query = mysql_query("SELECT * FROM login where Username='$username' ")or die(mysql_error()); $user_row = mysql_fetch_array($user_query); $dd = $user_row['Username']; ?> <?php $msg=""; if(isset($_REQUEST['submit'])) { $regid="GNVS".rand(00000,99999); $pratrank_no=$_REQUEST['pratrank_no']; $pratrank_vivran=$_REQUEST['pratrank_vivran']; $Mandal=$_REQUEST['Mandal']; $Ward_no=$_REQUEST['Ward_no']; $Work_type=$_REQUEST['Work_type']; $Work_office=$_REQUEST['Work_office']; $detail=$_REQUEST['detail']; $newcandidatename=$_REQUEST['Fname']; $mobile_no=$_REQUEST['mobile_no']; $Address=$_REQUEST['houseno']." ".$_REQUEST['landmark']; $pincode=$_REQUEST['pincode']; $District=$_REQUEST['District']; $text1=$_REQUEST['text1']; $Reference_name=$_REQUEST['Reference_name']; $created_date= date('Y-m-d'); mysql_query('SET character_set_results=utf8'); mysql_query('SET names=utf8'); mysql_query('SET character_set_client=utf8'); mysql_query('SET character_set_connection=utf8'); mysql_query('SET character_set_results=utf8'); mysql_query('SET collation_connection=utf8_general_ci'); $sq=mysql_query("select * from regis where नाम LIKE '$newcandidatename' and मोबाइल_नंबर LIKE '$mobile_no' and रजिस्ट्रेशन_न० LIKE '$regid'"); if(mysql_num_rows($sq)>0) { $msg="ALready exist $newcandidatename, $fathername, $mobile_no'"; } else { $uploadDir = 'document/'; $image_name1 = $regid."scan"."-"; // photograph $extension = end(explode(".", $_FILES["scancopy"]["name"])); if ($_FILES["scancopy"]["error"] > 0){ echo "" . $_FILES["scancopy"]["error"]; }else{ $scancopy= $uploadDir . $image_name1 . $_FILES["scancopy"]["name"]; move_uploaded_file($_FILES["scancopy"]["tmp_name"], $scancopy); } // start the query mysql_query("set character_set_results='utf8'"); $sql=mysql_query("INSERT INTO regis (रजिस्ट्रेशन_न०,प्रात्रंक_न०, प्रात्रंक_विवरण,मण्डल, वार्ड_न०, कार्य_का_प्रकार, कार्य_का_विभाग, कार्य_का_विवरण, नाम, मोबाइल_नंबर,पता,जिला,दिनांक,स्थिति,शिफारिश_करता,छाया_प्रतिलिप,अपडेट_दिनांक) VALUES ('$regid','$pratrank_no','$pratrank_vivran','$Mandal','$Ward_no','$Work_type','$Work_office',UPPER('$detail'),UPPER('$newcandidatename'),'$mobile_no',UPPER('$Address'), UPPER('$District'),'$created_date' , 'अषेक्षित' , '$Reference_name','$scancopy','$text1');"); } // start condition if($sql==true) { echo "<script>"; echo "location.href='table1.php'"; echo "</script>"; $msg="<font color='navy'>Record saved</font>"; } else { die("Details already Exist in our Record<br>"); $msg='ALready exist'; } } ?> <!DOCTYPE HTML> <html> <head> <title>लखनऊ पूर्वी विधान सभा</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content=" " /> <!-- Custom Theme files --> <link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" /> <!--<link href="css/style.css" rel="stylesheet" type="text/css" media="all" /> <!-- js --> <script src="js/jquery-1.11.1.min.js"></script> <!-- //js --> <script type="text/javascript" src="js/panch1.js"></script> <!-- animation-effect --> <link href="css/animate.min.css" rel="stylesheet"> <script src="js/wow.min.js"></script> <script src="kurti.js"></script> <script src="kurti1.js"></script> <script src="kurti2.js"></script> <script src="kurti3.js"></script> <script src="kurti4.js"></script> <script src="kurti5.js"></script> <style> input[type=text], select { padding: 8px 10px; margin: 4px 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } input[type=submit]:hover { background-color: #45a049; } </style> <script> new WOW().init(); </script> <!-- //animation-effect --> <link href='//fonts.googleapis.com/css?family=Alex+Brush' rel='stylesheet' type='text/css'/> <link href='//fonts.googleapis.com/css?family=Cabin:400,400italic,500,500italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'/> <script type="text/javascript" src="js/jquery.js"></script> <script src="js/wow.min.js"></script> <link href="css/style.css" rel="stylesheet" type="text/css" media="all" /> <script src="js/wow.min.js"></script> <script src="js/jquery-1.3.2.js" type="text/javascript"> </script> <script src="js/jquery.validate.js" type="text/javascript"> </script> <script src="js/jquery.validation.functions.js" type="text/javascript"> </script> <link href="css/animate.min.css" rel="stylesheet"/> <!--canlendar--> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery-calendar.js"></script> <link rel="stylesheet" type="text/css" href="css/jquery-calendar.css" /> <link rel="stylesheet" type="text/css" href="css/styles.css" /> <script> /* <![CDATA[ */ jQuery(function(){ jQuery("#ValidNumber").validate({ expression: "if (!isNaN(VAL) && VAL) return true; else return false;", message: "Should be a number" }); jQuery("#mobile_no").validate({ expression: "if (VAL.match(/^[0-9]{10}$/)) return true; else return false;", message: "<font color='red'>मोबाइल न० 10 अंको का होना अनिवार्य है </font>" }); jQuery("#pratrank_no").validate({ expression: "if (VAL.match(/^[0-9]+$/)) return true; else return false;", message: "<font color='red'>प्रात्रंक_न० अंको का होना अनिवार्य है </font>" }); }); </script> <script> function ValidateFileUpload() { var fuData = document.getElementById('scancopy'); var FileUploadPath = fuData.value; if (FileUploadPath == '') { alert("Please upload an image"); } else { var Extension = FileUploadPath.substring(FileUploadPath.lastIndexOf('.') + 1).toLowerCase(); if (Extension == "gif" || Extension == "png" || Extension == "bmp" || Extension == "jpeg" || Extension == "jpg" || Extension == "pdf") { if (fuData.files && fuData.files[0]) { var size = fuData.files[0].size; if(size >= 1024000) { alert("Maximum file 900 Kb width (1000 pixel) * height (1000pixel)"); document.getElementById('scancopy').value=""; document.getElementById('scancopy').focus(); return; }else{ var reader = new FileReader(); reader.onload = function(e) { $('#blah').attr('src', e.target.result); } reader.readAsDataURL(fuData.files[0]); } } } else { alert("Photo only allows file types of GIF, PNG, JPG, JPEG and PDF "); document.getElementById('scancopy').value=""; document.getElementById('scancopy').focus(); } } } </script> <script> function showUser(str) { if (str == "") { document.getElementById("div0").innerHTML =""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("div0").innerHTML = xmlhttp.responseText; } }; xmlhttp.open("GET","ward.php?na="+str,true); xmlhttp.send(); } } function showUser1(str1) { if (str1 == "") { document.getElementById("div1").innerHTML =""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("div1").innerHTML = xmlhttp.responseText; } }; xmlhttp.open("GET","ward1.php?na1="+str1,true); xmlhttp.send(); } } //SCANNER </script> </head> <body> <div class="header"> <div class="banner"> <div class="logo"> </div> <div class="top-menu"> </div> <!-- search-scripts --> <script src="js/classie.js"></script> <script src="js/uisearch.js"></script> <script> new UISearch( document.getElementById( 'sb-search' ) ); </script> <!-- //search-scripts --> <div class="clearfix"></div> <div id="sb-search" class="sb-search"> </div> </div> <!-- script-for-nav --> <script> $(document).ready(function(){ $("span.menu").click(function(){ $(".top-nav ul").slideToggle(1000); }); }); </script> <!-- script-for-nav --> <!-- /top-nav --> <div class="clearfix"></div> </div> <!-- contact --><h4 align="right"><a href="logout.php"><img src="img/logout.jpg" style='margin-right:20px;'></a></h4> <div class="container"> <h3 align="right"><center><font color="#1387AD" face="andalus"><b>आवेदन पत्र <br>(लखनऊ पूर्वी विधान सभा) </b></font></center> </h3> <div class="col-md-12 contact-left wow fadeInRight" data-wow-duration="1000ms" data-wow-delay="300ms"> <form method="post" name="birthday" class="register" enctype="multipart/form-data" > <?php echo $msg;?> <center> <table width='100%' style='border:1px solid #2AC5AA;' cellspacing='1' cellpadding='2' class='table table-striped table-bordered table-hover'> <tr><td colspan="4" style="background-color:#2AC5AA;"> <center><span style="color:white;font-weight:bold;font-style:bold;"><strong><font size="4">आवेदन पत्र</font></strong></span></center> </td></tr> <tr> <td align='center' colspan='2'><b>प्रात्रंक_न० / विवरण <font color="red">*</font></b></td> <td colspan='2'> <input type='text' name="pratrank_no" placeholder="प्रात्रंक_न०" id="pratrank_no" style="height:40px;width:105px;"> <select name='pratrank_vivran' style="height:40px;width:270px;"> <option value=''>चयन करें</option> <option value='सामान्य / ऍम० टी० इ० एम्० /<?php echo date("Y")?>'>सामान्य/ऍम० टी० इ० एम्० /<?php echo date("Y")?></option> <option value='वि० आई० पी०/ ऍम० टी० इ० एम्० /<?php echo date("Y")?> '>वि० आई० पी०/ऍम० टी० इ० एम्० /<?php echo date("Y")?></option> </select> </div> </td> </tr> <tr> <td align='center' colspan='2'><b>लखनऊ पूर्वी विधान सभा मण्डल <font color="red">*</font></b></td> <td colspan='2'> <select name="Mandal" style="height:40px;width:250px;" required="required" onchange="showUser(this.value)"> <option value=""></option> <?php mysql_query("set character_set_results='utf8'"); $sql=mysql_query("select * from complaint_from")or die(""); while($r = mysql_fetch_array($sql)) { ?> <option value="<?php echo $r['complaint_type'];?>"><?php echo $r['complaint_type'];?></option> <?php } ?> </select></td> </tr> <tr> <td align='center' colspan='2'><b>वार्ड न० <font color="red">*</font> </b></td> <td colspan='2'> <div id='div0'> <select name="Ward_no" style="height:40px;width:250px;" required="required"> <option value=""></option> </select> </div> </td> </tr> <tr> <td align='center' colspan='2'><b>कार्य का प्रकार <font color="red">*</font></b></td> <td colspan='2'> <select name="Work_type" style="height:40px;width:250px;" required="required" onChange="showUser1(this.value)"> <option value=""></option> <?php mysql_query("set character_set_results='utf8'"); $sql=mysql_query("select * from workdetail")or die(""); while($r = mysql_fetch_array($sql)) { ?> <option value="<?php echo $r['work'];?>"><?php echo $r['work'];?></option> <?php } ?> </select></td> </tr> <tr> <td align='center' colspan='2'><b>कार्य का विवरण </b></td> <td colspan='2'> <textarea name="detail" style="height:65px;width:250px;" id="legacy_text" maxlength='500' onkeypress="convert_to_unicode();"></textarea> </td> </tr> <tr> <td align='center' colspan='2'><b>कार्य का विभाग </b></td> <td colspan='2'> <div id='div1'> <select name="Work_office" style="height:40px;width:250px;"> <option value=""></option> </select> </div> </td> </tr> <tr> <td align='center' colspan='2'><b>शिफारिश करता का नाम</b></td> <td colspan='2'> <input type='text' name="Reference_name" id="legacy_text1" style="height:40px;width:250px;" onkeypress="convert_to_unicode2();"> </div> </td> </tr> </tr> <td colspan="4" style="background-color:#2AC5AA;"><center><span style="color:white;font-weight:bold;font-style:bold;"><strong><font size="4">PERSONAL DETAILS</font></strong></span></center> </td></tr> <tr> <td align="center"> <label><b>नाम <font color="red">*</font><br></b> </label></td> <td> <input type='text' autocomplete="OFF" name="Fname" id="legacy_text2" placeholder="नाम" onkeypress="convert_to_unicode3();" required="required" style="width:240px;height:40px;" /> </td> <td align="center"> <label><b> मोबाइल नंबर<br> <font size='2' color='navy'>(अपना व्यक्तिगत नंबर ही डालें )</font></b> </label> </td> <td> <input type="text" name="mobile_no" id="mobile_no" autocomplete="OFF" style="width:240px;height:40px;font-weight:bold;" oncopy="{alert('copy,paste not allowed');return false;}" onpaste="{alert('copy,paste not allowed');return false;}" maxlength="10" onKeyPress="contactvalid(value)" placeholder="Mobile no." /> <span id="contact1" style="color: Red; display: none">contact no only 10 digit</span> </td> </tr> <tr> <td align="center"> <label><b>पता<font color="red">*</font><br><font size='2' color='navy'></font></b></label> </td> <td colspan='3'> <input type="text" autocomplete="OFF" name="houseno" id="houseno" placeholder="मकान न०" class="long" style="width:80px;height:40px;text-transform:uppercase;" /> <input type="text" autocomplete="OFF" name="landmark" id="legacy_text3" onkeypress="convert_to_unicode4();" placeholder="पता" class="long" required="required" style="width:550px;height:40px;" /> </td> </tr> <tr> <td align="center"> <label><b>जिला<font color="red">*</font></b> </label> </td><td> <select name='District' id='District' style="width:240px;height:40px;font-weight:bold;" placeholder='Select The district' required='required'> <option value='लखनऊ'>LUCKNOW (लखनऊ)</option> <option value='आगरा'>AGRA(आगरा)</option> <option value='अलीगढ़'>ALIGARH (अलीगढ़)</option> <option value='इलाहाबाद'>ALLAHABAD (इलाहाबाद)</option> <option value='अम्बेडकर नगर'>AMBEDKAR NAGAR (अम्बेडकर नगर)</option> <option value='अमेठी'>AMETHI (अमेठी)</option> <option value='अमरोहा'>AMROHA (अमरोहा)</option> <option value='औरैया'>AURAIYA (औरैया)</option> <option value='आजमगढ़'>AZAMGARH (आजमगढ़)</option> <option value='बागपत'>BAGHPAT (बागपत)</option> <option value='बहराइच'>BAHRAICH (बहराइच)</option> <option value='बलिया'>BALLIA (बलिया)</option> <option value='बलरामपुर'>BALRAMPUR (बलरामपुर)</option> <option value='बांदा'>BANDA (बांदा)</option> <option value='बाराबंकी'>BARABANKI (बाराबंकी)</option> <option value='बरेली'>BAREILLY (बरेली)</option> <option value='बस्ती'>BASTI (बस्ती)</option> <option value='बिजनौर'>BIJNOR (बिजनौर)</option> <option value='बदायूं'>BADAUN (बदायूं)</option> <option value='बुलंदशहर'>BULANDSHAHR (बुलंदशहर)</option> <option value='चंदौली'>CHANDAULI (चंदौली)</option> <option value='चित्रकूट'>CHITRAKOOT (चित्रकूट)</option> <option value='देवरिया'>DEORIA (देवरिया)</option> <option value='एटा'>ETAH (एटा)</option> <option value='इटावा'>ETAWAH (इटावा)</option> <option value='फैजाबाद'>FAIZABAD (फैजाबाद)</option> <option value='फर्रुखाबाद'>FARRUKHABAD (फर्रुखाबाद)</option> <option value='फतेहपुर'>FATEHPUR (फतेहपुर)</option> <option value='फिरोजाबाद'>FIROZABAD (फिरोजाबाद)</option> <option value='गौतम बुद्ध नगर'>GAUTAM BUDDHA NAGAR (गौतम बुद्ध नगर)</option> <option value='गाज़ियाबाद'>GHAZIABAD (गाज़ियाबाद)</option> <option value='गाजीपुर'>GHAZIPUR (गाजीपुर)</option> <option value='गोंडा'>GONDA (गोंडा)</option> <option value='गोरखपुर'>GORAKHPUR (गोरखपुर)</option> <option value='हमीरपुर'>HAMIRPUR (हमीरपुर)</option> <option value='हरदोई'>HARDOI (हरदोई)</option> <option value='हाथरस'>HATHRAS (हाथरस)</option> <option value='जालौन'>JALAUN (जालौन)</option> <option value='जौनपुर'>JAUNPUR (जौनपुर)</option> <option value='झांसी'>JHANSI (झांसी)</option> <option value='ज्योतिबा फुले नगर'>JYOTIBA PHULE NAGAR (ज्योतिबा फुले नगर)</option> <option value='कन्नौज'>KANNAUJ (कन्नौज)</option> <option value='कानपूर देहात '>KANPUR DEHAT (कानपूर देहात )</option> <option value='कानपुर नगर'>KANPUR NAGAR (कानपुर नगर)</option> <option value='काशीराम नगर'>KANSHIRAM NAGAR (काशीराम नगर)</option> <option value='कौशाम्बी'>KAUSHAMBI (कौशाम्बी)</option> <option value='Kushinagar'>KUSHINAGAR</option> <option value='लखीमपुर खेरी'>LAKHIMPUR KHERI (लखीमपुर खेरी)</option> <option value='ललितपुर'>LALITPUR (ललितपुर)</option> <option value='महाराजगंज'>MAHARAJGANJ (महाराजगंज)</option> <option value='महोबा'>MAHOBA (महोबा)</option> <option value='मैनपुरी'>MAINPURI (मैनपुरी)</option> <option value='Mathura'>MATHURA (मथुरा)</option> <option value='मऊ'>MAU (मऊ)</option> <option value='मेरठ'>MEERUT (मेरठ)</option> <option value='मिर्जापुर'>MIRZAPUR (मिर्जापुर)</option> <option value='मुरादाबाद'>MORADABAD (मुरादाबाद)</option> <option value='मुजफ्फरनगर'>MUZAFFARNAGAR (मुजफ्फरनगर)</option> <option value='हापुड़'>HAPUR (हापुड़)</option> <option value='पीलीभीत'>PILIBHIT (पीलीभीत)</option> <option value='प्रतापगढ़'>PRATAPGARH (प्रतापगढ़)</option> <option value='रायबरेली'>RAEBARELI (रायबरेली)</option> <option value='रामपुर'>RAMPUR (रामपुर)</option> <option value='सहारनपुर'>SAHARANPUR (सहारनपुर)</option> <option value='संत कबीर नगर'>SANT KABIR NAGAR (संत कबीर नगर)</option> <option value='संत रवीदास नगर'>SANT RAVIDAS NAGAR (संत रवीदास नगर)</option> <option value='शाहजहांपुर'>SHAHJAHANPUR (शाहजहांपुर)</option> <option value='शामली'>SHAMLI (शामली)</option> <option value='श्रावस्ती'>SHRAVASTI (श्रावस्ती)</option> <option value='सिद्धार्थनगर'>SIDDHARTHNAGAR (सिद्धार्थनगर)</option> <option value='सीतापुर'>SITAPUR (सीतापुर)</option> <option value='सोनभद्र'>SONBHADRA (सोनभद्र)</option> <option value='सुल्तानपुर'>SULTANPUR (सुल्तानपुर)</option> <option value='उन्नाव'>UNNAO (उन्नाव)</option> <option value='वाराणसी'>VARANASI (वाराणसी)</option> </select> </td> </tr> <tr> <td align="center"> <label><b>अपलोड स्कैन कॉपी <font color="red">*</font></b> </label> </td> <td colspan='3'> <input type="file" id="scancopy" name="scancopy" placeholder="Upload The PhotoGraph" style="font-weight:bold;width:300px;height:40px;" required='required' onChange="return ValidateFileUpload()"/> </td> </tr> <tr> <td colspan='4' align='center'> <input type="submit" name="submit" value="जमा करें" style="font-weight:bold;width:90px;height:40px;background-color:#2AC5AA;color:white;"> <a href="page.php"> <button type="button" name="bttn" id="bttn" style="font-weight:bold;font-family:andalus;width:80px;height:40px;background-color:#2AC5AA;color:white;">वापस</button></a> </td> </tr> <tr><td colspan="4"><br></td></tr> </table> </center> </div> <div class="clearfix"> </div><br><br> </div> <!-- footer --> <div class="footer"> <div class="container"> <div class="clearfix"></div> <div class="footer-bottom"> <p> <b>Copyright ©2017 All rights Reserved || Designed & Developed by<a href="#" >Niharika Gupta</a></b></p> </div> <script type="text/javascript"> $(document).ready(function() { /* var defaults = { containerID: 'toTop', // fading element id containerHoverID: 'toTopHover', // fading element hover id scrollSpeed: 1200, easingType: 'linear' }; */ $().UItoTop({ easingType: 'easeOutQuart' }); }); </script> <a href="#" id="toTop" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a> </div> </div> <!-- //footer --> <!-- for bootstrap working --> <script src="js/bootstrap.js"></script> <!-- //for bootstrap working --> <?php }} ?> </body> </html>