Tn Jones Shell Bypass
:
18.118.208.127
:
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
/
rmpyrll
/
Upload File:
files >> /home/upgov/www/rmpyrll/dept_upload_att.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?php include("connection.php"); session_start(); if (!isset($_SESSION['user']) || ($_SESSION['password'] == '')) { header("location:payrolLogin/deptlogin.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='payrolLogin/ddlogin.php'>Login here</a>"; } else { //Starting this else one [else1] if(isset($_SESSION['user'])) { $dept=$_SESSION['department']; $sche=$_SESSION['scheme']; $username=$_SESSION['user']; } $user_query = mysql_query("SELECT * FROM dept_login where user='$username' ")or die(mysql_error()); $user_row = mysql_fetch_array($user_query); $dd = $user_row['department']; $usch = $user_row['scheme']; ?> <?php include("connection.php"); $msg=""; if(isset($_REQUEST['submit'])) { $bill=$_REQUEST['bill']; $pfile=$_REQUEST['pfile']; $sfile=$_REQUEST['sfile']; $dept=$_REQUEST['dept']; $sche=$_REQUEST['scheme']; $hos=$_REQUEST['hospital']; $district=$_REQUEST['district1']; $month=$_REQUEST['month']; $feedback=$_REQUEST['feedback']; $remark=$_REQUEST['remark']; $totempwork=$_REQUEST['totempwork']; $totempatt=$_REQUEST['totempatt']; $filedate=date("m-d-y"); $hvalue="H".time(); $sq=mysql_query("select * from health where department LIKE '$dept' and scheme LIKE '$sche' and hospital LIKE '$hos' and district LIKE '$district' and month LIKE '$month'")or die("Details already Exist in our Record"); $r = mysql_fetch_array($sq); $a1=$r['department']; $a=$r['scheme']; $b=$r['district']; $c=$r['month']; $d=$r['attandance']; if(mysql_num_rows($sq)>0) { $msg="<font color='red'>ALready Uploaded Attandance in this Month $sq</font><img src='$d'/ width='200' height='100'>"; } else { $uploadDir = 'document/'; $image_name = time()."-"; $extension = end(explode(".", $_FILES["attandance"]["name"])); if ($_FILES["attandance"]["error"] > 0) { echo "" . $_FILES["attandance"]["error"]; }else{ $attandance= $uploadDir . $image_name . $_FILES["attandance"]["name"]; move_uploaded_file($_FILES["attandance"]["tmp_name"], $attandance); } if($sql=mysql_query("insert into health(idhealth, department, scheme,hospital,district,month,attandance,attformdate,bill,billformdate,payment,payformdate,salary,salformdate,feedback,remark,totemp,totempatt) values ('$hvalue','$dept','$sche','$hos','$district','$month','$attandance','$filedate','$bill','$file1','$pfile','$file2','$sfile','$file3','$feedback','$remark','$totempwork','$totempatt')")) { echo "<script>"; echo "location.href='admin_attreport.php'"; echo "</script>"; $msg="<font color='navy'>Record saved</font>"; } else { $msg="ALready exist in record"; } } } ?> <!DOCTYPE html> <html> <head> <title>Payroll</title> <link href="css/bootstrap.css" rel='stylesheet' type='text/css'/> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="js/jquery.min.js"></script> <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="Payroll Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <link rel="stylesheet" href="css/flexslider.css" type="text/css" media="screen" /> <link href="css/style.css" rel="stylesheet" type="text/css" media="all" /> <!---- start-smoth-scrolling----> <script type="text/javascript" src="js/move-top.js"></script> <script type="text/javascript" src="js/easing.js"></script> <script src="js/jquery.easydropdown.js"></script> <script src="js/cbpViewModeSwitch.js" type="text/javascript"></script> <script> function ValidateFileUpload() { var fuData = document.getElementById('attandance'); 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 >= 3180000) { alert("Maximum file 318 Kb width (1000 pixel) * height (1000pixel)"); document.getElementById('attandance').value=""; document.getElementById('attandance').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 BMP. "); document.getElementById('attandance').value=""; document.getElementById('attandance').focus(); } } } </script> <script type="text/javascript" language="javascript"> function fun1(x) { var str=""; if(x=="Agra") { str="<select style='width:250px;height:30px;' id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, आगरा</option></select>"; } else if(x=="Aligarh") { str="<select style='width:250px;height:30px; font-family:krutidev' id='hospital' name='hospital' onChange='fun2(this.value)'><option value='M.S.DHo.'>मलखान सिंह जिला चिकित्सालय, अलीगढ़ </option></select>"; } else if(x=="Allahabad") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='M.L.Nehru, DHo.'>मोती लाल नेहरू, जिला चिकित्सालय, इलाहाबाद</option><option value='T.B. Sapru DHo.'>तेज बहादुर सप्रू जिला चिकित्सालय, इलाहाबाद </option></select>"; } else if(x=="Ambedkar Nagar") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय, अम्बेडकरनगर</option></select>"; } else if(x=="Amroha") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय, अमरोहा</option></select>"; } else if(x=="Auraiya") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, औरैया</option></select>"; } else if(x=="Azamgarh") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, आजमगढ़</option></select>"; } else if(x=="Badaun") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, बदायूं</option></select>"; } else if(x=="Baghpat") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय, बाग़पत</option></select>"; } else if(x=="Bahraich") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, बहराइच</option></select>"; } else if(x=="Ballia") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय,बलिया</option></select>"; } else if(x=="Balrampur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय,बलरामपुर</option></select>"; } else if(x=="Banda") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, बाँदा</option></select>"; } else if(x=="Barabanki") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, बाराबंकी</option></select>"; } else if(x=="Bareilly") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='MR.P. DSHo.'>महाराणा प्रताप जिला संयुक्त चिकित्सालय, बरेली</option></select>"; } else if(x=="Basti") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='Opek Ho. Kaily'>ओपेक चिकित्सालय कैली, बस्ती</option><option value='DHo.'>जिला चिकित्सालय, बस्ती</option></select>"; } else if(x=="Bijnor") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय,बिजनौर</option></select>"; } else if(x=="Bulandshahr") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='B.B.D. DHo.'>बाबू बनारसी दास, जिला चिकित्सालय, बुलंदशहर</option></select>"; } else if(x=="Chandauli") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='Pt.Kp.T. DHo.'>पंडित कमलापति त्रिपाठी, जिला चिकित्सालय, चंदौली</option></select>"; } else if(x=="Chitrakoot") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय,चित्रकूट</option></select>"; } else if(x=="Deoria") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, देवरिया</option></select>"; } else if(x=="Etah") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, एटा</option></select>"; } else if(x=="Etawah") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='Dr.B.R.A.DHo.'>डा० अम्बेडकर जिला चिकित्सालय आर० बी०, इटावा</option></select>"; } else if(x=="Faizabad") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, फैज़ाबाद</option></select>"; } else if(x=="Farrukhabad") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='R.M.L. DSHo.'>राम मनोहर लोहिया जिला चिकित्सालय, फर्रुखाबाद</option></select>"; } else if(x=="Fatehpur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, फतेहपुर</option></select>"; } else if(x=="Firozabad") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='S M N, DHo.'>एस० एम० एन०, जिला चिकित्सालय, फ़िरोज़ाबाद</option></select>"; } else if(x=="G.B.Nagar") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='Dr.B.R.A.DHo.'>डा० बी० आर० अम्बेडकर जिला चिकित्सालय, इटावा</option></select>"; } else if(x=="Ghaziabad") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='M.G.M.DHo.'>एम० जी० एम०, जिला चिकित्सालय, ग़ाज़ियाबाद</option></select>"; } else if(x=="Ghazipur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय,ग़ाज़ीपुर</option></select>"; } else if(x=="Gonda") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय,गोंडा</option></select>"; } else if(x=="Gorakhpur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, गोरखपुर</option></select>"; } else if(x=="Hamirpur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='D.S.S.DSHo.'>दीवान शत्रुहन सिंह जिला संयुक्त चिकित्सालय, हमीरपुर</option></select>"; } else if(x=="Hardoi") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='Pt.Kp.T.DSHo.'>पंडित कमलापति त्रिपाठी, जिला संयुक्त चिकित्सालय, हरदोई</option></select>"; } else if(x=="Hathras") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='Bagla SDHo.'>बागला संयुक्त जिला चिकित्सालय, हाथरस</option></select>"; } else if(x=="Jalaun") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय, जालौन </option></select>"; } else if(x=="Jaunpur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='A.S.U.S.DHo.'>अमर शहीद उमानाथ सिंह जिला चिकित्सालय, जौनपुर</option></select>"; } else if(x=="Jhansi") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, झाँसी</option></select>"; } else if(x=="Kannauj") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय कन्नौज</option></select>"; } else if(x=="Kanpur Nagar") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='U.H.M. DHo.'>उर्सला हार्स मैन, जिला चिकित्सालय, कानपुर नगर</option></select>"; } else if(x=="Kanshiram Nagar") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय, कांसगंज</option></select>"; } else if(x=="Kaushambi") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय, कौशाम्बी</option></select>"; } else if(x=="Kushinagar") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय, कुशीनगर</option></select>"; } else if(x=="Lakhimpur Kheri") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय, लखीमपुर खीरी</option></select>"; } else if(x=="Lalitpur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय, ललितपुर</option></select>"; } else if(x=="Lucknow") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='Dr.S.P.M.Ho.'>डा० श्यामा प्रसाद मुखर्जी चिकित्सालय, लखनऊ</option><option value='Balrampur DHo.'>बलरामपुर जिला चिकित्सालय, लखनऊ</option><option value='Dr R.M.L. SHo.'>डा० राम मनोहर लोहिया संयुक्त चिकित्सालय, लखनऊ</option></select>"; } else if(x=="Maharajganj") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला संयुक्त चिकित्सालय, महाराजगंज</option></select>"; } else if(x=="Mahoba") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला संयुक्त चिकित्सालय, महोबा</option></select>"; } else if(x=="Mainpuri") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, मैनपुरी</option></select>"; } else if(x=="Mathura") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, मथुरा</option></select>"; } else if(x=="Mau") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय,मऊ</option></select>"; } else if(x=="Meerut") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='P.L.S. DHo.'>प्यारे लाल शर्मा, जिला चिकित्सालय, मेरठ</option></select>"; } else if(x=="Mirzapur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, मिर्ज़ापुर</option></select>"; } else if(x=="Moradabad") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, मुरादाबाद</option></select>"; } else if(x=="Muzaffarnagar") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, मुज़फ्फरनगर</option></select>"; } else if(x=="Pilibhit") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, पीलीभीत</option></select>"; } else if(x=="Pratapgarh") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, प्रतापगढ़</option></select>"; } else if(x=="Varanasi") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='S.S.P.G. DHo.'>श्री शिव प्रसाद गुप्ता, जिला चिकित्सालय वाराणसी </option><option value='Pt.D.D.U. DHo.'>पं दीन दयाल उपाध्याय जिला चिकित्सालय वाराणसी </option></select>"; } else if(x=="Raebareli") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='R.B.S. DHo.'>राना बेनीमाधव सिंह जिला चिकित्सालय, रायबरेली</option></select>"; } else if(x=="Saharanpur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='S. B.D.B.DHo.'>सेठ बलदेव दास बजोरिया जिला चिकित्सालय, सहारनपुर</option></select>"; } else if(x=="Sant Kabir Nagar") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय,संत कबीर नगर</option></select>"; } else if(x=="Bhadohi") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='M.C.S. DHo.'>महाराजा चेत सिंह जिला चिकित्सालय, भदोही</option></select>"; } else if(x=="Shahjahanpur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, शाहजहाँपुर</option></select>"; } else if(x=="Shravasti") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय,श्रावस्ती </option></select>"; } else if(x=="Siddharthnagar") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय,सिद्धार्थनगर</option></select>"; } else if(x=="Sitapur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय,सीतापुर</option></select>"; } else if(x=="Sonbhadra") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DSHo.'>जिला संयुक्त चिकित्सालय,सोनभद्र</option></select>"; } else if(x=="Sultanpur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला संयुक्त चिकित्सालय, सुल्तानपुर</option></select>"; } else if(x=="Unnao") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='Pt.U.S.D. DHo.'>पं० उमा शंकर दीक्षित, जिला चिकित्सालय उन्नाव</option></select>"; } else if(x=="Rampur") { str="<select style='width:250px;height:30px; id='hospital' name='hospital' onChange='fun2(this.value)'><option value='DHo.'>जिला चिकित्सालय, रामपुर</option></select>"; } document.getElementById("div1").innerHTML=str; } function fun123(p1) { var str=""; if(p1=="Swasthya Vibhag") { str="<select name='scheme' id='scheme' style='height:32px;width:250px;' onChange='fun12(this.value)' required='required'><option value=''></option><option value='Blood Bank'>Blood Bank</option></select> "; var stt="<select name='district1' id='district1' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required' onChange='fun1(this.value)'><option value=''></option><option value='Agra'>AGRA</option><option value='Aligarh'>ALIGARH</option><option value='Allahabad'>ALLAHABAD</option><option value='Ambedkar Nagar'>AMBEDKAR NAGAR</option><option value='Amroha'>AMROHA</option><option value='Auraiya'>AURAIYA</option><option value='Azamgarh'>AZAMGARH</option><option value='Baghpat'>BAGHPAT</option><option value='Bahraich'>BAHRAICH</option><option value='Ballia'>BALLIA</option><option value='Balrampur'>BALRAMPUR</option><option value='Banda'>BANDA</option><option value='Barabanki'>BARABANKI</option><option value='Bareilly'>BAREILLY</option><option value='Basti'>BASTI</option><option value='Bijnor'>BIJNOR</option><option value='Badaun'>BADAUN</option><option value='Bhadohi'>BHADOHI</option><option value='Bulandshahr'>BULANDSHAHR</option><option value='Chandauli'>CHANDAULI</option><option value='Chitrakoot'>CHITRAKOOT</option><option value='Deoria'>DEORIA</option><option value='Etah'>ETAH</option><option value='Etawah'>ETAWAH</option><option value='Faizabad'>FAIZABAD</option><option value='Farrukhabad'>FARRUKHABAD</option><option value='Fatehpur'>FATEHPUR</option><option value='Firozabad'>FIROZABAD</option><option value='G.B.Nagar'>GAUTAM BUDDHA NAGAR</option><option value='Ghaziabad'>GHAZIABAD</option><option value='Ghazipur'>GHAZIPUR</option><option value='Gonda'>GONDA</option><option value='Gorakhpur'>GORAKHPUR</option><option value='Hamirpur'>HAMIRPUR</option><option value='Hardoi'>HARDOI</option><option value='Hathras'>HATHRAS</option><option value='Jalaun'>JALAUN</option><option value='Jaunpur'>JAUNPUR</option><option value='Jhansi'>JHANSI</option><option value='Kannauj'>KANNAUJ</option><option value='Kanpur Nagar'>KANPUR NAGAR</option><option value='Kanshiram Nagar'>KANSHIRAM NAGAR</option><option value='Kaushambi'>KAUSHAMBI</option><option value='Lakhimpur Kheri'>KHERI</option><option value='Kushinagar'>KUSHINAGAR</option><option value='Lalitpur'>LALITPUR</option><option value='Lucknow'>LUCKNOW</option><option value='Maharajganj'>MAHARAJGANJ</option><option value='Mahoba'>MAHOBA</option><option value='Mainpuri'>MAINPURI</option><option value='Mathura'>MATHURA</option><option value='Mau'>MAU</option><option value='Meerut'>MEERUT</option><option value='Mirzapur'>MIRZAPUR</option><option value='Moradabad'>MORADABAD</option><option value='Muzaffarnagar'>MUZAFFARNAGAR</option><option value='Pilibhit'>PILIBHIT</option><option value='Pratapgarh'>PRATAPGARH</option><option value='Raebareli'>RAEBARELI</option><option value='Rampur'>RAMPUR</option><option value='Saharanpur'>SAHARANPUR</option><option value='Sant Kabir Nagar'>SANT KABIR NAGAR</option><option value='Siddharthnagar'>SIDDHARTHNAGAR</option><option value='Sitapur'>SITAPUR</option><option value='Sonbhadra'>SONBHADRA</option><option value='Shahjahanpur'>SHAHJAHANPUR</option><option value='Shravasti'>SHRAVASTI</option><option value='Sultanpur'>SULTANPUR</option><option value='Unnao'>UNNAO</option><option value='Varanasi'>VARANASI</option></select>"; document.getElementById("dist22").innerHTML=stt; document.getElementById("ss1").innerHTML=str; } else if(p1=="Agriculture") { str="<select name='scheme' id='scheme' style='height:32px;width:250px;' onChange='fun12(this.value)' required='required'><option value=''></option><option value='UPWSRP'>UPWSRP</option><option value='NMSA'>NMSA</option><option value='ATMA'>ATMA</option><option value='SOIL'>SOIL</option><option value='NFSM'>NFSM</option><option value='AGRICULTURE STATISTICS AND CROP INSURANCE PLAN'>AGRICULTURE STATISTICS AND CROP INSURANCE PLAN</option><option value='SEED CERTIFICATION'>SEED CERTIFICATION</option></select>"; document.getElementById("ss1").innerHTML=str; } else if(p1=="Upeida") { str="<select name='scheme' id='scheme' style='height:32px;width:250px;' onChange='fun12(this.value)' required='required'><option value=''></option><option value='UPEIDA'>UPEIDA</option></select>"; document.getElementById("ss1").innerHTML=str; } else if(p1=="Jal Nigam") { str="<select name='scheme' id='scheme' style='height:32px;width:250px;' onChange='fun12(this.value)' required='required'><option value=''></option><option value='GANGA RIVER'>GANGA RIVER</option></select>"; document.getElementById("ss1").innerHTML=str; } } function fun12(p2) { var str=""; if(p2=="UPWSRP") { var stt="<select name='district1' id='district1' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value=''></option><option value='Auraiya'>AURAIYA</option><option value='Amethi'>AMETHI</option><option value='Barabanki'>BARABANKI</option><option value='Etah'>ETAH</option><option value='Etawah'>ETAWAH</option><option value='Farrukhabad'>FARRUKHABAD</option><option value='Fatehpur'>FATEHPUR</option><option value='Firozabad'>FIROZABAD</option><option value='Jaunpur'>JAUNPUR</option><option value='Kannauj'>KANNAUJ</option><option value='Kanpur Nagar'>KANPUR NAGAR</option><option value='Kanpur Dehat'>KANPUR DEHAT</option><option value='Kasganj'>KASGANJ</option><option value='Kaushambi'>KAUSHAMBI</option><option value='Lalitpur'>LALITPUR</option><option value='Lucknow'>LUCKNOW</option><option value='Mainpuri'>MAINPURI</option><option value='Pratapgarh'>PRATAPGARH</option><option value='Raebareli'>RAEBARELI</option><option value='Sultanpur'>SULTANPUR</option></select>"; document.getElementById("dist22").innerHTML=stt; document.getElementById("div1").innerHTML="<select name='hospital' hidden id='hospital' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value='-'></option></select>"; } else if(p2=="NMSA") { var stt="<select name='district1' id='district1' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value=''></option><option value='Lucknow'>LUCKNOW</option></select>"; document.getElementById("dist22").innerHTML=stt; document.getElementById("div1").innerHTML="<select name='hospital' hidden id='hospital' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value='-'></option></select>"; } else if(p2=="ATMA" || p2=="SOIL" || p2=="NFSM") { var stt="<select name='district1' id='district1' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value=''></option><option value='Agra'>AGRA</option><option value='Allahabad'>ALLAHABAD</option><option value='Gorakhpur'>GORAKHPUR</option><option value='Gonda'>GONDA</option><option value='Lucknow'>LUCKNOW</option><option value='Mirzapur'>MIRZAPUR</option><option value='Varanasi'>VARANASI</option></select>"; document.getElementById("dist22").innerHTML=stt; document.getElementById("div1").innerHTML="<select name='hospital' hidden id='hospital' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value='-'></option></select>"; } else if(p2=="AGRICULTURE STATISTICS AND CROP INSURANCE PLAN") { var stt="<select name='district1' id='district1' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value=''></option><option value='Agra'>AGRA</option><option value='Allahabad'>ALLAHABAD</option><option value='Aligarh'>ALIGARH</option><option value='Auraiya'>AURAIYA</option><option value='Amroha'>AMROHA</option><option value='Banda'>BANDA</option><option value='Basti'>BASTI</option><option value='Bijnor'>BIJNOR</option><option value='Bulandshahr'>BULANDSHAHR</option><option value='Baghpat'>BAGHPAT</option><option value='Chitrakoot'>CHITRAKOOT</option><option value='Etah'>ETAH</option><option value='ETAWAH'>ETAWAH</option><option value='Fatehpur'>FATEHPUR</option><option value='Farrukhabad'>FARRUKHABAD</option><option value='Firozabad'>FIROZABAD</option><option value='G.B.Nagar'>GAUTAM BUDDHA NAGAR</option><option value='Ghaziabad'>GHAZIABAD</option><option value='Hathras'>HATHRAS</option><option value='Hamirpur'>HAMIRPUR</option><option value='Hapur'>HAPUR</option><option value='Jalaun'>JALAUN</option><option value='Jhansi'>JHANSI</option><option value='Kaushambi'>KAUSHAMBI</option><option value='Kaushambi'>KAUSHAMBI</option><option value='Kannauj'>KANNAUJ</option><option value='Kasganj'>KASGANJ</option><option value='Kanpur Nagar'>KANPUR NAGAR</option><option value='Kanpur Dehat'>Kanpur Dehat</option><option value='Lalitpur'>LALITPUR</option><option value='Mahoba'>MAHOBA</option><option value='Mathura'>MATHURA</option><option value='Mainpuri'>MAINPURI</option><option value='Meerut'>MEERUT</option><option value='Moradabad'>MORADABAD</option><option value='Mirzapur'>MIRZAPUR</option><option value='Muzaffarnagar'>MUZAFFARNAGAR</option><option value='Pratapgarh'>PRATAPGARH</option><option value='Sonbhadra'>SONBHADRA</option><option value='Sambhal'>SAMBHAL</option><option value='Bhadohi'>SANT RAVIDAS NAGAR(BHADOHI)</option><option value='Sant Kabir Nagar'>SANT KABIR NAGAR</option><option value='Shamli'>SHAMLI</option><option value='Saharanpur'>SAHARANPUR</option><option value='Siddharthnagar'>SIDDHARTHNAGAR</option><option value='Rampur'>RAMPUR</option></select>"; document.getElementById("dist22").innerHTML=stt; document.getElementById("div1").innerHTML="<select name='hospital' hidden id='hospital' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value='-'></option></select>"; } else if(p2=="UPEIDA") { var stt="<select name='district1' id='district1' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value=''></option><option value='Agra'>AGRA</option><option value='Etawah'>ETAWAH</option><option value='Kannauj'>KANNAUJ</option><option value='Lucknow'>LUCKNOW</option><option value='Lucknow(H.O)'>Lucknow(HEAD OFFICE)</option><option value='Shikohabad'>SHIKOHABAD</option></select>"; document.getElementById("dist22").innerHTML=stt; document.getElementById("div1").innerHTML="<select name='hospital' hidden id='hospital' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value='-'></option></select>"; } else if(p2=="GANGA RIVER") { var stt="<select name='district1' id='district1' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value=''></option><option value='Lucknow'>LUCKNOW</option></select>"; document.getElementById("dist22").innerHTML=stt; document.getElementById("div1").innerHTML="<select name='hospital' hidden id='hospital' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value='-'></option></select>"; } else if(p2=="SEED CERTIFICATION") { var stt="<select name='district1' id='district1' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value=''></option><option value='Allahabad'>ALLAHABAD</option><option value='Etawah'>ETAWAH</option><option value='Faizabad'>FAIZABAD</option><option value='Gorakhpur'>GORAKHPUR</option><option value='Kanpur Nagar'>KANPUR NAGAR</option><option value='Kasganj'>KASGANJ</option><option value='Lakhimpur Kheri'>LAKHIMPUR KHERI</option><option value='Lucknow'>LUCKNOW</option><option value='MAU'>MAU</option><option value='Meerut'>MEERUT</option><option value='Muzaffarnagar'>MUZAFFARNAGAR</option><option value='Varanasi'>VARANASI</option></select>"; document.getElementById("dist22").innerHTML=stt; document.getElementById("div1").innerHTML="<select name='hospital' hidden id='hospital' style='height:32px;width:250px;' title='District1 is requried' placeholder='District1' required='required'><option value='-'></option></select>"; } } </script> </head> <body> <div class="header"> <div class="container"> <div class="logo"> <a href="../index.html"><img src="images/logo.png" alt=""/></a> </div> <div class="top-menu"> <span class="menu"> </span> </div> <div id="sb-search" class="sb-search"> <h4 align="right"><a href="logout.php"><img src="images/logout.jpg"></a></h4> </div> <!-- search-scripts --> <script src="js/classie.js"></script> <script src="js/uisearch.js"></script> <!-- //search-scripts --> <div class="clearfix"></div> </div> <div class="clearfix"></div> </div> <!-- header-section-ends --> <div class="content"> <br> <div class="good-design"> <h3>ATTENDANCE</h3> <form method="POST" enctype="multipart/form-data"> <table style="border:1px solid black;width:35%;" class="form" cellpadding="2px" align="center" > <tr><td colspan="2" style="border:1px solid black;background-color:#2A5CAA;color:white" align="center"><b>UPLOAD ATTENDANCE</b></td></tr> <marquee behavior="alternate"><font color="red" size="+1"><b>कृपया Upload की जाने वाली File के नाम में किसी भी प्रकार के Special Character (`!@#$%^&*()_+=-;',./":<>?][}{\|) का इस्तेमाल न करें | अन्यथा Attendance मान्य नहीं होगी | </b></font></marquee> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Department</font></strong></td> <td><select name="dept" style="height:32px;width:250px;" required="required" > <option value="Agriculture">Agriculture</option> </select></td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Scheme</font></strong></td> <td><select name="scheme" id="scheme" required style="height:32px;width:250px;" > <option value="UPWSRP">UPWSRP</option> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">District</font></strong></td> <td><div id="dist22"><select name="district1" id="district1" style="height:32px;width:250px;" title="District1 is requried" placeholder="District1" required="required"> <option value=""></option> <?php $sql=mysql_query("select * from login where department like '$dd' and scheme like '$usch'")or die(""); while($r = mysql_fetch_array($sql)) { ?> <option value="<?php echo $r['district'];?>"><?php echo $r['district'];?></option> <?php } ?> </select> </div> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"></strong></td> <td> <div id="div1"> </div></td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Month</font></strong></td> <td><select name="month" id="month" required="required" type="text" style="width:250px;height:30px;text-transform:uppercase;color:black;" /> <option value=""></option> <option value="February 2016">FEBRUARY 2016</option> <option value="March 2016">MARCH 2016</option> <option value="April 2016">APRIL 2016</option> <option value="May 2016">MAY 2016</option> <option value="June 2016">JUNE 2016</option> <option value="July 2016">JULY 2016</option> <option value="August 2016">AUGUST 2016</option> <option value="September 2016">SEPTEMBER 2016</option> <option value="October 2016">OCTOBER 2016</option> <option value="November 2016">NOVEMBER 2016</option> <option value="December 2016">DECEMBER 2016</option> </select></td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Upload File</font></strong></td> <td align="center"><input name="attandance" id="attandance" required onchange="return ValidateFileUpload()" type="file" size="30" style="width:250px;height:30px;text-transform:uppercase;color:black;" /></td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Feedback</font></strong></td> <td align="center"><select name="feedback" id="feedback" required="required" style="width:250px;height:30px;text-transform:uppercase;color:black;" > <option value=""></option> <option value="SATISFIED">SATISFIED</option> <option value="NOT SATISFIED">NOT SATISFIED</option> </select> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Remark</font></strong></td> <td align="center"><input name="remark" id="remark" type="text" style="width:250px;height:30px;text-transform:uppercase;color:black;" /></td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Total Employee Working</font></strong></td> <td align="center"><select name="totempwork" id="totempwork" required="required" style="width:250px;height:30px;text-transform:uppercase;color:black;" > <option value=""></option> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option><option value="07">07</option><option value="08">08</option><option value="09">09</option> <option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option> <option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option> <option value="18">18</option><option value="19">19</option><option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> <option value="32">32</option> <option value="33">33</option> <option value="34">34</option> <option value="35">35</option> <option value="36">36</option> <option value="37">37</option> <option value="38">38</option> <option value="39">39</option> <option value="40">40</option> <option value="41">41</option> <option value="42">42</option> <option value="43">43</option> <option value="44">44</option> <option value="45">45</option> <option value="46">46</option> <option value="47">47</option> <option value="48">48</option> <option value="49">49</option> <option value="50">50</option> </select> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="right"><strong><font color="navy">Total Employee Attendance</font></strong></td> <td align="center"><select name="totempatt" id="totempatt" required="required" style="width:250px;height:30px;text-transform:uppercase;color:black;" > <option value=""></option> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option><option value="07">07</option><option value="08">08</option><option value="09">09</option> <option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option> <option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option> <option value="18">18</option><option value="19">19</option><option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> <option value="32">32</option> <option value="33">33</option> <option value="34">34</option> <option value="35">35</option> <option value="36">36</option> <option value="37">37</option> <option value="38">38</option> <option value="39">39</option> <option value="40">40</option> <option value="41">41</option> <option value="42">42</option> <option value="43">43</option> <option value="44">44</option> <option value="45">45</option> <option value="46">46</option> <option value="47">47</option> <option value="48">48</option> <option value="49">49</option> <option value="50">50</option> </select> </select> </td> </tr> <tr><td colspan="2"><br></td></tr> <tr> <td align="center" colspan="2"> <table style="width:20%;"><tr><td> <input class="send_btn" name="submit" type="submit" value="Submit" alt="Submit" title="Submit" style="font-weight:bold;width:100px;height:30px;background-color:#2A5CAA;color:white;"/></td> <td> <a href="dept_admin_attreport.php"><input type="button" name="" value="Back" style="font-weight:bold;width:100px;height:30px;background-color:#2A5CAA;color:white;"></a> </td> <td> <a href="pagedept.php"><input type="button" name="" value="Home" style="font-weight:bold;width:130px;height:30px;background-color:#2A5CAA;color:white;"></a> </td> </tr></table></td> </tr> </table> <br> <?php echo $msg;?> </div><br><br><br> </form> <div class="footer"> <div class="container"> <div class="clearfix"></div> <div class="footer-bottom"> <p>© 2016 | Design by<a href="http://ramaipl.com/"> Rama Infotech Pvt Ltd</a> || For Updated View Press Ctrl+F5 </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> <?php }} ?> </body> </html>