ÿØÿà JPEG ÿþ;
| Server IP : 68.65.120.201 / Your IP : 216.73.216.221 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.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/taxhyuvu/././././././www/ |
Upload File : |
<?php
include('head.php');
?>
<head>
<meta name="description" content="Get assistance with your tax return filing between June and September. We will help you file your return as soon as the process opens, ensuring a smooth and professional service.">
<meta name="keywords" content="tax,return,filing,tax return, return filing,income, return filing services,services">
<title>File Your Income Tax Return</title>
</head>
<style>
.card
{
border-radius: 10px;
border: 1px solid #ffeaea;
box-shadow: 0 5px 20px 0 #bbb;
background-color: #fff!important;
padding: 20px 50px;
}
.btn-primary {
background: #009bad;
border: #0a9eb0;
color:white;transition:0.5s;
}
.btn-primary:hover {
background: #98a0a4;
border: #98a0a4;
color:white;transition:0.5s;
}
label {
display: inline-block;
}
@media (min-width: 1400px){
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
max-width: 90%;
}}
.sami:hover{ box-shadow:2px 10px 10px #bbbbbb; transition:0.5s; cursor:pointer; border-radius: 10px;}
.sami{border: 1px solid #c8c9ca; transition:0.5s; border-radius: 10px;}
.form-control:focus {
color: var(--bs-body-color);
background-color: var(--bs-body-bg);
border-color: #0599a8;
outline: 0;
box-shadow: none;
}
/* hr {
color: #08717d !important;
} */
.form-control {
font-size: 18px;
margin-top: 10px;
border: 1px solid #adb1ad;transition:0.3s;
}
.form-control:hover {
/* font-size: 18px;
margin-top: 10px; */
border: 1px solid #adb1ad;
border-radius:10px;
box-shadow: 5px 4px #dadada;transition:0.3s;
cursor:pointer;
}
</style>
<div class="row" style="over-flow:;">
<div class="col-md-2">
</div>
<div class="col-md-8">
<?php
if (isset($_POST['submit'])) {
$ntn = $_POST['ntn'];
$email = $_POST['email'];
$ntnpassword = $_POST['ntnpassword'];
$taxyear = $_POST['taxyear']; // It's still here in case you need it for future use
$number = $_POST['number']; // Assuming this is the contact number
$regist = $_POST['regist'];
$assets = $_POST['assets'];
// 1. Check if the NTN already exists in the database
$sql = "SELECT * FROM income_tax_return WHERE ntn = ?";
$stmt = $con->prepare($sql);
$stmt->bind_param("s", $ntn);
$stmt->execute();
$result = $stmt->get_result();
// If NTN exists, block the insert and give a message
if ($result->num_rows > 0) {
echo '<div class="alert alert-danger alert-dismissible fade show" role="alert">
<strong>Notice:</strong> Your NTN already exists in our database. For assistance, please contact us at <strong>03332214794</strong>.
<a href="https://taxhelplines.com.pk"> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button></a>
</div>';
exit; // Important: Stop further execution
}
// 2. Insert the form data into the database
$sql = "INSERT INTO `income_tax_return`(`ntn`, `email`, `ntnpassword`, `contact`, `registration`, `assets`)
VALUES (?, ?, ?, ?, ?, ?)";
$stmt = $con->prepare($sql);
$stmt->bind_param("ssssss", $ntn, $email, $ntnpassword, $number, $regist, $assets);
if ($stmt->execute()) {
echo '<div class="alert alert-success alert-dismissible fade show" role="alert">
<strong>Success!</strong> Your details have been successfully submitted. Once the return filing process opens, we will contact you. If you have any questions or need assistance, please feel free to <strong><a href="https://taxhelplines.com.pk/contact">Contact Us</a></strong>.
<a href="https://taxhelplines.com.pk"> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button></a>
</div>';
} else {
echo "Error: " . $stmt->error;
}
// Close the statement and connection
$stmt->close();
$con->close();
}
?>
<div class="card" style="border-radius: 10px; margin:90px 0px;">
<h1 class="modal-title" style=" font-size:30px;font-family:math; color:black; font-weight:700;">Income Tax Return Filing</h1> <hr style="color: #a9b2b2;">
<center><h3 style="font-family:math;font-weight:700;color:#0296a5;margin: 25px 0px;">Kindly Enter Your Detail</h3>
<!-- <h4 class="modal-title" style="font-family:math; color:darkred; font-weight:700;">'.$l['price'].'</h4> -->
</center>
<div class="alert alert-info" role="alert">
<strong>Notice:</strong> Return filing typically occurs between July and September. If you wish to get your return filed, we will assist you as soon as the return filing process opens.
</div>
<form method="POST" class="members" id="calculateForm">
<div class="row" style="font-family: math;font-size: 19px;">
<div class="form-group col-md-6" style="margin-top: 0px;padding: 0px 10px;">
<label for="name"> CNIC/NTN</label>
<input type="text" name="ntn" class="form-control" id="name" placeholder="XXXXX-XXXXXXX-X" required>
</div>
<div class="form-group col-md-6" style="margin-top: 0px;padding: 0px 10px;">
<label for="name"> Email</label>
<input type="text" class="form-control" name="email" id="subject" placeholder="example@abc.com" required>
</div>
<div class="form-group col-md-6" style="margin-top: 20px;padding: 0px 10px;">
<label for="name"> Name </label>
<input type="text" class="form-control" name="ntnpassword" id="tdinc" placeholder="Enter Name " >
</div>
<div class="form-group col-md-6" style="margin-top: 20px;padding: 0px 10px;">
<label for="name">Contact Number</label>
<input type="text" class="form-control" name="number" id="dinc" placeholder="XXXX-XXXXXXX" required>
</div>
<div class="form-group col-md-6" style="margin-top: 20px;padding: 0px 10px;">
<label for="name"> Tax Year</label>
<input type="text" class="form-control" name="taxyear" id="tdinc" placeholder="Enter Tax Year " >
</div>
<div class="form-group col-md-6" style="margin-top: 20px;padding: 0px 10px;">
<label for="name">Already Registered for NTN </label>
<input type="text" class="form-control" name="regist" id="tdinc" placeholder="Yes/No/Other" >
</div>
<div class="form-group col-md-12"style="margin-top: 0px;padding: 20px 10px;">
<label for="name">Message</label>
<textarea class="form-control" name="assets" id="amiv" rows="3" placeholder="Enter Message "></textarea>
</div>
<!-- Google reCAPTCHA -->
<div class="form-group col-md-12" style="padding: 10px;">
<div class="g-recaptcha" data-sitekey="6LevGu0qAAAAAPQ0F0sTNOrSqxYaZ0N1Rhtcrk8z"></div>
</div>
<div class="form-group col-md-6" style="margin-top: 5px;">
<a href="javascript:history.back()" class="btn btn-secondary" style="float:left; width:150px;">Back</a>
</div>
<div class="form-group col-md-6" style="margin-top: 5px;">
<button type="submit" id="calculateButton" name="submit" value="Calculate" class="btn btn-primary" style="float:right; width:100px;">Request</button>
</div>
</div>
</form>
<!-- Google reCAPTCHA Script -->
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</div>
</div>
<div class="col-md-2">
</div>
</div>
<!-- <script>
// Get the modal
var modal = document.getElementById("myModalw");
// Get the button that opens the modal
var btn = document.getElementById("myBtn");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("closew")[0];
// When the user clicks the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
<script>
$('#myModal').on('shown.bs.modal', function () {
$('#myInput').trigger('focus')
})
</script> -->
<!-- <script> amivb</script> -->
<!-- <script>
function calculateTax() {
// Get the values from the form
var cdvValue = document.getElementById("name").value;
var fmvValue = document.getElementById("subject").value;
// echo convert_number_to_words(123456789);
// Perform your calculations here
var dincValue = fmvValue-cdvValue;
if (dincValue > 0 ) {
document.getElementById("dinc").value = dincValue;
}
else
{
alert("Fair Market Value is Less then Cost Declared Value!")
}
var tdincValue = dincValue * 0.05;
const formattedNumber = tdincValue.toFixed(2);
// Update the Deemed Income and Tax on Deemed Income fields in the modal
document.getElementById("tdinc").value = formattedNumber;
const number = tdincValue;
const words = convertNumberToWords(number);
var did = words;
document.getElementById("amiv").value = did;
// Optionally, you can also update the "Amount in words" field
// Prevent the form from submitting
return false;
}
</script> -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<!-- Modal End -->
<?php
include('footer.php');
?>