<?php 
include('authentication.php');
include('includes/header.php');
include('includes/topbar.php');
include('includes/sidebar.php');
?>

<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1 class="m-0">Add Dealer</h1>
                </div><!-- /.col -->
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                        <li class="breadcrumb-item active">Dealer</li>
                    </ol>
                </div><!-- /.col -->
            </div><!-- /.row -->
        </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->
    <!-- Main content -->
    <section class="content">
        <div class="container-fluid">



            <div class="card">
                <div class="card-header">
                    <h4>
                        Add Dealer
                        <a href="dealer_account.php" class="btn btn-danger float-sm-right">BACK</a>
                    </h4>
                </div>
                <div class="card-body">
                    <form action="code.php" method="POST" id="catform" enctype="multipart/form-data">
                        <div class="form-group mb-3">
                            <input type="text" name="name" placeholder="Name" class="form-control" required>
                        </div>
                        <div class="form-group mb-3">
                            <input type="text" name="number" placeholder="Number" value="+91" class="form-control" required>
                        </div><div class="form-group mb-3">
                            <input type="text" name="state" placeholder="State" class="form-control" required>
                        </div>
                        <div class="form-group mb-3">
                            <input type="text" name="city" placeholder="City" class="form-control" required>
                        </div>
                         <div class="form-group mb-3">
                            <input type="text" name="email" placeholder="Email" class="form-control" required>
                        </div>
                         <div class="form-group mb-3">
                            <input type="text" name="gst" placeholder="GST" class="form-control" required>
                        </div>
                         <div class="form-group mb-3">
                            <input type="text" name="address" placeholder="Address" class="form-control" required>
                        </div>
                       
                        <div class="form-group mt-3">
                            <button type="submit" name="add_dealer_btn"
                                class="btn btn-primary float-sm-right">Submit</button>
                        </div>
                    </form>
                </div>

            </div>
        </div>


    </section>
</div><!-- /.container-fluid -->

<?php
include('includes/script.php');
include('includes/footer.php');
?>