Tn Jones Shell Bypass
:
3.145.79.236
:
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
/
web
/
Upload File:
files >> /home/upgov/www/rmpyrll/web/update_0719.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?php include("connection.php"); session_start(); if (!isset($_SESSION['user']) || ($_SESSION['password'] == '')) { header("location:index.php"); exit(); } if(isset($_SESSION['user'])) { $username=$_SESSION['user']; } $user_query = mysql_query("SELECT * FROM loginemp where user='$username' ")or die(mysql_error()); $user_row = mysql_fetch_array($user_query); $username = $user_row['user']; ?> <?php include("connection.php"); $msg=""; if(isset($_REQUEST['submit'])) { $bill_id=$_REQUEST['bill_id']; $bill_type=$_REQUEST['bill_type']; $old_billid=$_REQUEST['old_bill_id']; $department=$_REQUEST['department']; $scheme=$_REQUEST['scheme']; $sub_loc=$_REQUEST['sub_loc']; $district=$_REQUEST['district']; $post=$_REQUEST['post']; $month=$_REQUEST['month']; $service_charge=$_REQUEST['service_charge']; $wages=$_REQUEST['wages']; $service_tax=$_REQUEST['service_tax']; $g_total=$_REQUEST['g_total']; $updated_date=date('m/d/y,h:i:s'); $gstno=$_REQUEST['gstno']; if($sql=mysql_query("UPDATE invoice_july19 set bill_type=UPPER('$bill_type'),old_bill_id=UPPER('$old_billid'),department=UPPER('$department'),scheme=UPPER('$scheme'),sub_loc=UPPER('$sub_loc'),district=UPPER('$district'),post=UPPER('$post'),month=UPPER('$month'),wages='$wages',gst='$service_tax',g_total='$g_total',updated_by='$username',updated_date=UPPER('$updated_date'),GST_NO=UPPER('$gstno'),service_charge=UPPER('$service_charge') Where bill_id='$bill_id'")) { echo "<script>"; echo "location.href='view_0619.php'"; echo "</script>"; $msg="<font color='navy'>Record saved</font>"; } else { $msg="ALready exist in record<br><br>"; } } ?> <!DOCTYPE html> <html lang="en"> <head> <title>Rama Login</title> <!-- for-mobile-apps --> <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="Lucrative Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <script> $(document).ready(function() { $('.popup-with-zoom-anim').magnificPopup({ type: 'inline', fixedContentPos: false, fixedBgPos: true, overflowY: 'auto', closeBtnInside: true, preloader: false, midClick: true, removalDelay: 300, mainClass: 'my-mfp-zoom-in' }); }); </script> <!--27.5.17 strt--> <!--27.5.17 end--> <!-- //for-mobile-apps --> <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 type="text/javascript" src="js/jquery-2.1.4.min.js"></script> <!-- //js --> <!-- pop-up-box --> <link href="css/popuo-box.css" rel="stylesheet" type="text/css" media="all" /> <!-- //pop-up-box --> <!-- font-awesome icons --> <link href="css/font-awesome.css" rel="stylesheet"> <!-- //font-awesome icons --> <link href="//fonts.googleapis.com/css?family=Work+Sans:100,200,300,400,500,600,700,800,900&subset=latin-ext" rel="stylesheet"> <link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'> </head> <body onload=display_ct();> <!-- header --> <div class="header"> <div class="container"> <div class="agile_header_grid"> <div class="w3_agile_logo"> <h3><a href="index.html"><span><img src="images/logo.png" height="80px" width="200px"/></span> Welcome : <?php echo $username;?></a></h3> </div> <div class="agileits_w3layouts_sign_in"> <ul> <li><font size="-1" color="orange"><strong><span id='ct' align="right"></span></strong></font></li> </ul> </div> <div class="w3_agileits_nav"> <nav class="navbar navbar-default"> <div class="navbar-header navbar-left"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse navbar-right" id="bs-example-navbar-collapse-1"> </div> </nav> </div> </div> </div> </div> <!-- //header --> <!-- pop-up-box --> <!-- //pop-up-box --> <script src="js/jquery.magnific-popup.js" type="text/javascript"></script> <script type="text/javascript"> function display_c(){ var refresh=1000; // Refresh rate in milli seconds mytime=setTimeout('display_ct()',refresh) } function display_ct() { var strcount var x = new Date() document.getElementById('ct').innerHTML = x; tt=display_c(); } function billprocess() { var wages=parseInt(document.getElementById("wages").value); var sertext=Math.round((wages/100)*18); var X=Math.round((sertext)+(wages)); document.getElementById("service_tax").value=sertext; document.getElementById("g_total").value=X; } </script> <!-- banner --> <table align="right"> <tr> <td align="right"> <a href="logout.php" target="_blank"><font color="navy" size="3"><input type="button" value="Logout" align="right" style="font-weight:bold;width:90px;height:35px;background-color:#20B2AA;color:white;"/></font></a> </td></tr></table><br> <!-- //banner --> <!-- contact --> <h4 align="right" ><font color="white" ><a href="help_file.pdf" target="_blank" >Help File</a> </font></h4> <h2 align="Center"><font color="#20B2AA"><b>UPDATE INVOICE DETAILS</b></font></h2> <br> <?php $bill_id=$_REQUEST['id']; $sql2=mysql_query("select * from invoice_july19 where bill_id LIKE '$bill_id'")or die("select * from invoice_july19 where bill_id LIKE '$bill_id'"); if($r = mysql_fetch_array($sql2)) { ?> <form method='POST' onClick='billprocess();'> <table align="center" border="1" cellpadding="0px" cellspacing="0px" style='border:1px soild black;'> <tr> <td colspan="4" style="background-color:#20B2AA;color:white;height:45px;font-size:25px;" align="center"><b>Invoice Details</b></td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">NEW INVOICE No </font><font color="red">* </font></strong></td> <td><input name="bill_id" id="bill_id" readonly value="<?php echo $r['bill_id'];?>" style="height:42px;width:250px;color:#000000;background-color:#DBDED9;" required="required"/> </td> <td align="left"><strong><font color="navy">OLD INVOICE No </font></strong></td> <td><input name="old_bill_id" id="old_bill_id" value="<?php echo $r['old_bill_id'];?>" style="height:42px;width:250px;color:#000000;" /> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">DEPARTMENT</font><font color="red">* </font></strong></td> <td> <input type='text' value="<?php echo $r['department'];?>" name="department" id="department" style="width:250px;height:42px;text-transform:uppercase;color:black;" required="required"> </td> <td align="left"><strong><font color="navy">SCHEME </font><font color="red">* </font></strong></td> <td> <input type='text' name="scheme" value="<?php echo $r['scheme'];?>" id="scheme" style="width:250px;height:42px;text-transform:uppercase;color:black;" required="required" > </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">DISTRICT </font><font color="red">* </font></strong></td> <td><input name="district" id="district" value="<?php echo $r['district'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" required="required"/> </td> <td align="left"><strong><font color="navy">SUB LOCATION </font><font color="red">* </font></strong></td> <td><input name="sub_loc" id="sub_loc" value="<?php echo $r['sub_loc'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" required="required"/> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td><strong><font color="navy">POST NAME</font><font color="red">* </font></strong></td> <td><input name="post" id="post" value="<?php echo $r['post'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" /></td> <td align="left"><strong><font color="navy">MONTH</font><font color="red">* </font></strong></td> <td><input name="month" id="month" value="<?php echo $r['month'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" /></td> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td><strong><font color="navy">BILL TYPE</font><font color="red">* </font></strong></td> <td> <select name="bill_type" id="bill_type" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" > <option value="<?php echo $r['bill_type'];?>"><?php echo $r['bill_type'];?></option> <option value="FRESH">FRESH</option> <option value="REVISED">REVISED</option> <option value="DIFFERENCE">DIFFERENCE</option> </select> </td> <td align="left"><strong><font color="navy">GST_NO </font></strong></td> <td ><input name="gstno" id="gstno" value="<?php echo $r['GST_NO'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" /> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"><strong><font color="navy">WAGES </font></strong></td> <td><input name="wages" id="wages" value="<?php echo $r['wages'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" /> </td> <td align="left"><strong><font color="navy">SERVICE CHARGE </font></strong></td> <td ><input name="service_charge" id="service_charge" value="<?php echo $r['service_charge'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" /> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td><strong><font color="navy">GST</font></strong></td> <td><input name="service_tax" id="service_tax" value="<?php echo $r['gst'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" /></td> <td align="left"><strong><font color="navy">GRAND TOTAL </font></strong></td> <td colspan='3'><input name="g_total" id="g_total" value="<?php echo $r['g_total'];?>" style="height:42px;width:250px;color:#000000;text-transform:uppercase;" /> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="left"> <div id="old"></div></td> </tr> <tr> <td colspan="4" align="center"> <input name="submit" type="submit" value="UPDATE" style="font-weight:bold;width:90px;height:35px;background-color:#20B2AA;color:white;"/> <a href='view_0719.php'> <input type="button" name="back" value="BACK" id="back" style="font-weight:bold;width:90px;height:35px;background-color:#20B2AA;color:white;"/></a> </td> </td> </tr> </table> </form> <?php } ?> <?php echo $msg;?> <!-- //contact --> <br> <!-- footer --> <div class="copyright"> <div align="center"> <p><font color="white">© 2019 Rama Infotech. All Rights Reserved | Design by </font><a href="https://p8.secure.hostingprod.com/@www.ramaipl.com/ssl/">ramaipl.com</a></p> </div> </div> <!-- //footer --> <!-- start-smoth-scrolling --> <script type="text/javascript" src="js/move-top.js"></script> <script type="text/javascript" src="js/easing.js"></script> <script type="text/javascript"> jQuery(document).ready(function($) { $(".scroll").click(function(event){ event.preventDefault(); $('html,body').animate({scrollTop:$(this.hash).offset().top},1000); }); }); </script> <!-- start-smoth-scrolling --> <!-- for bootstrap working --> <script src="js/bootstrap.js"></script> <!-- //for bootstrap working --> <!-- here stars scrolling icon --> <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> <!-- //here ends scrolling icon --> </body> </html>