<?php
require("header.php");
?>

<head>

    <style>
        table {
            border-collapse: collapse;
            width: 100%;
        }

        th,
        td {
            border: 1px solid black;
            padding: 8px;
            text-align: left;
        }

        th {
            background-color: #f2f2f2;
        }
    </style>
</head>

<div class="content-wrapper">

    <section class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">

                </div>
                <div class="col-sm-6">

                </div>
            </div>
        </div>
    </section>
    <!-- Main content -->
    <section class="content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-12 col-sm-12">
                    <div class="card card-dark card-tabs">
                        <div class="card-header p-0 pt-1" style="background-color: black;">
                            <ul class="nav nav-tabs" id="custom-tabs-one-tab" role="tablist">
                                <li class="nav-item">
                                    <a class="nav-link active" id="custom-tabs-one-vendor1-tab" data-toggle="pill" href="#custom-tabs-one-vendor1" role="tab" aria-controls="custom-tabs-one-vendor1" aria-selected="true">Vendor 1</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" id="custom-tabs-one-vendor2-tab" data-toggle="pill" href="#custom-tabs-one-vendor2" role="tab" aria-controls="custom-tabs-one-vendor2" aria-selected="false">Vendor 2</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" id="custom-tabs-one-vendor3-tab" data-toggle="pill" href="#custom-tabs-one-vendor3" role="tab" aria-controls="custom-tabs-one-vendor3" aria-selected="false">Vendor 3</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" id="custom-tabs-one-vendor4-tab" data-toggle="pill" href="#custom-tabs-one-vendor4" role="tab" aria-controls="custom-tabs-one-vendor4" aria-selected="false">Vendor 4</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" id="custom-tabs-one-vendor5-tab" data-toggle="pill" href="#custom-tabs-one-vendor5" role="tab" aria-controls="custom-tabs-one-vendor5" aria-selected="false">Vendor 5</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" id="custom-tabs-one-vendor6-tab" data-toggle="pill" href="#custom-tabs-one-vendor6" role="tab" aria-controls="custom-tabs-one-vendor6" aria-selected="false">Vendor 6</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" id="custom-tabs-one-vendor7-tab" data-toggle="pill" href="#custom-tabs-one-vendor7" role="tab" aria-controls="custom-tabs-one-vendor7" aria-selected="false">Vendor 7</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" id="custom-tabs-one-vendor8-tab" data-toggle="pill" href="#custom-tabs-one-vendor8" role="tab" aria-controls="custom-tabs-one-vendor8" aria-selected="false">Vendor 8</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" id="custom-tabs-one-vendor9-tab" data-toggle="pill" href="#custom-tabs-one-vendor9" role="tab" aria-controls="custom-tabs-one-vendor9" aria-selected="false">Vendor 9</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" id="custom-tabs-one-vendor10-tab" data-toggle="pill" href="#custom-tabs-one-vendor10" role="tab" aria-controls="custom-tabs-one-vendor10" aria-selected="false">Vendor 10</a>
                                </li>
                            </ul>
                        </div>
                        <div class="card-body">
                            <div class="tab-content" id="custom-tabs-one-tabContent">
                                <div class="tab-pane fade show active" id="custom-tabs-one-vendor1" role="tabpanel" aria-labelledby="custom-tabs-one-vendor1-tab">
                                    <div class="row">
                                        <div class="col-12 col-sm-6">

                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">vendor 1</h3>
                                                    <ol class="breadcrumb float-sm-right" style="background-color: black;">
                                                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                                                        <li class="breadcrumb-item">Order Sent</li>
                                                        <li class="breadcrumb-item active">Vendor 1</li>
                                                    </ol>

                                                </div>
                                                <div class="card-body p-5">
                                                    <table class="table table-bordered">
                                                        <thead>
                                                            <tr>
                                                                <th style="width: 20px">#</th>
                                                                <th style="width: 60px">Salt</th>
                                                                <th style="width: 60px">Product</th>
                                                                <th style="width: 20px">Stock</th>

                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                            <tr>
                                                                <td>1.</td>
                                                                <td>Alprazolam</td>
                                                                <td>Rlam</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>2.</td>
                                                                <td>Zolpidem</td>
                                                                <td>Zoltrate</td>
                                                                <td>Available</td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-12 col-sm-6">

                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">Send Order to Vendor 1</h3>

                                                </div>
                                                <div class="card-body">
                                                    <form id="formVendor1" method="POST">
                                                        <div class="form-group">
                                                            <label for="name">Name:</label>
                                                            <input type="text" class="form-control" required name="name" placeholder="Enter your name">
                                                        </div>
                                                        <div class="form-group">
                                                            <label for="address">Address:</label>
                                                            <input type="text" class="form-control" name="address" placeholder="Enter your address" required>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="state">State:</label>
                                                                <input type="text" class="form-control" name="state" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="zipcode">Zipcode:</label>
                                                                <input type="text" class="form-control" name="zipcode" placeholder="Enter your zipcode" required>
                                                            </div>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="product">Product:</label>
                                                                <input type="text" class="form-control" name="product" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="quantity">Quantity:</label>
                                                                <input type="text" class="form-control" name="quantity" placeholder="Enter your Quantity" required>
                                                            </div>
                                                        </div>
                                                        <button type="submit" class="btn btn-dark" style="background-color: black;">Submit</button>
                                                    </form>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="custom-tabs-one-vendor2" role="tabpanel" aria-labelledby="custom-tabs-one-vendor2-tab">
                                    <div class="row">
                                        <div class="col-12 col-sm-6">

                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">vendor 2</h3>
                                                    <ol class="breadcrumb float-sm-right" style="background-color: black;">
                                                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                                                        <li class="breadcrumb-item">Order Sent</li>
                                                        <li class="breadcrumb-item active">Vendor 2</li>
                                                    </ol>

                                                </div>
                                                <div class="card-body p-5">
                                                    <table class="table table-bordered">
                                                        <thead>
                                                            <tr>
                                                                <th style="width: 20px">#</th>
                                                                <th style="width: 60px">Salt</th>
                                                                <th style="width: 60px">Product</th>
                                                                <th style="width: 20px">Stock</th>
                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                            <tr>
                                                                <td>1.</td>
                                                                <td>Tramadol</td>
                                                                <td>Citra</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>2.</td>
                                                                <td>Tramadol</td>
                                                                <td>JPdol</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>3.</td>
                                                                <td>Zolpidem</td>
                                                                <td>Zoltrate</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>4.</td>
                                                                <td>Clonazepam</td>
                                                                <td>Nozim</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>5.</td>
                                                                <td>Diazepam</td>
                                                                <td>Elipam</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>6.</td>
                                                                <td>Lorazepam</td>
                                                                <td>Lor</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>7.</td>
                                                                <td>Carisprodol</td>
                                                                <td>Soma</td>
                                                                <td>Available</td>
                                                            </tr>

                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-12 col-sm-6">
                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">Send Order to Vendor 2</h3>
                                                </div>
                                                <div class="card-body">
                                                    <form id="formVendor2" method="POST">
                                                        <div class="form-group">
                                                            <label for="name">Name:</label>
                                                            <input type="text" class="form-control" name="name" placeholder="Enter your name" required>
                                                        </div>
                                                        <div class="form-group">
                                                            <label for="address">Address:</label>
                                                            <input type="text" class="form-control" name="address" placeholder="Enter your address" required>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="state">State:</label>
                                                                <input type="text" class="form-control" name="state" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="zipcode">Zipcode:</label>
                                                                <input type="text" class="form-control" name="zipcode" placeholder="Enter your zipcode" required>
                                                            </div>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="product">Product:</label>
                                                                <input type="text" class="form-control" name="product" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="quantity">Quantity:</label>
                                                                <input type="text" class="form-control" name="quantity" placeholder="Enter your Quantity" required>
                                                            </div>
                                                        </div>
                                                        <button type="submit" class="btn btn-dark">Submit</button>
                                                    </form>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="custom-tabs-one-vendor3" role="tabpanel" aria-labelledby="custom-tabs-one-vendor3-tab">
                                    <div class="row">
                                        <div class="col-12 col-sm-6">

                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">vendor 3</h3>
                                                    <ol class="breadcrumb float-sm-right" style="background-color: black;">
                                                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                                                        <li class="breadcrumb-item">Order Sent</li>
                                                        <li class="breadcrumb-item active">Vendor 3</li>
                                                    </ol>

                                                </div>
                                                <div class="card-body p-5">
                                                    <table class="table table-bordered">
                                                        <thead>
                                                            <tr>
                                                                <th style="width: 20px">#</th>
                                                                <th style="width: 60px">Salt</th>
                                                                <th style="width: 60px">Product</th>
                                                                <th style="width: 20px">Stock</th>

                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                            <tr>
                                                                <td>1.</td>
                                                                <td>Hydrocodone</td>
                                                                <td>M367</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>2.</td>
                                                                <td>Percocet</td>
                                                                <td>E712</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>3.</td>
                                                                <td>Oxycocone</td>
                                                                <td>M30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>4.</td>
                                                                <td>Oxycocone</td>
                                                                <td>OC80</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>5.</td>
                                                                <td>Addreall</td>
                                                                <td>AD30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>6.</td>
                                                                <td>Addreall</td>
                                                                <td>B9714</td>
                                                                <td>Available</td>
                                                            </tr>


                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-12 col-sm-6">
                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">Send Order to Vendor 3</h3>
                                                </div>
                                                <div class="card-body">
                                                    <form id="formVendor3" method="POST">
                                                        <div class="form-group">
                                                            <label for="name">Name:</label>
                                                            <input type="text" class="form-control" name="name" placeholder="Enter your name" required>
                                                        </div>
                                                        <div class="form-group">
                                                            <label for="address">Address:</label>
                                                            <input type="text" class="form-control" name="address" placeholder="Enter your address" required>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="state">State:</label>
                                                                <input type="text" class="form-control" name="state" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="zipcode">Zipcode:</label>
                                                                <input type="text" class="form-control" name="zipcode" placeholder="Enter your zipcode" required>
                                                            </div>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="product">Product:</label>
                                                                <input type="text" class="form-control" name="product" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="quantity">Quantity:</label>
                                                                <input type="text" class="form-control" name="quantity" placeholder="Enter your Quantity" required>
                                                            </div>
                                                        </div>
                                                        <button type="submit" class="btn btn-dark" style="background-color: black;">Submit</button>
                                                    </form>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="custom-tabs-one-vendor4" role="tabpanel" aria-labelledby="custom-tabs-one-vendor4-tab">
                                    <div class="row">
                                        <div class="col-12 col-sm-6">

                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">vendor 4</h3>
                                                    <ol class="breadcrumb float-sm-right" style="background-color: black;">
                                                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                                                        <li class="breadcrumb-item">Order Sent</li>
                                                        <li class="breadcrumb-item active">Vendor 4</li>
                                                    </ol>

                                                </div>
                                                <div class="card-body p-5">
                                                    <table class="table table-bordered">
                                                        <thead>
                                                            <tr>
                                                                <th style="width: 20px">#</th>
                                                                <th style="width: 60px">Salt</th>
                                                                <th style="width: 60px">Product</th>
                                                                <th style="width: 20px">Stock</th>

                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                            <tr>
                                                                <td>1.</td>
                                                                <td>Hydrocodone</td>
                                                                <td>M367</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>2.</td>
                                                                <td>Percocet</td>
                                                                <td>E712</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>3.</td>
                                                                <td>Oxycocone</td>
                                                                <td>M30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>4.</td>
                                                                <td>Oxycocone</td>
                                                                <td>OC80</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>5.</td>
                                                                <td>Addreall</td>
                                                                <td>AD30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>6.</td>
                                                                <td>Addreall</td>
                                                                <td>B9714</td>
                                                                <td>Available</td>
                                                            </tr>


                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-12 col-sm-6">
                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">Send Order to Vendor 4</h3>
                                                </div>
                                                <div class="card-body">
                                                    <form id="formVendor4" method="POST">
                                                        <div class="form-group">
                                                            <label for="name">Name:</label>
                                                            <input type="text" class="form-control" name="name" placeholder="Enter your name" required>
                                                        </div>
                                                        <div class="form-group">
                                                            <label for="address">Address:</label>
                                                            <input type="text" class="form-control" name="address" placeholder="Enter your address" required>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="state">State:</label>
                                                                <input type="text" class="form-control" name="state" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="zipcode">Zipcode:</label>
                                                                <input type="text" class="form-control" name="zipcode" placeholder="Enter your zipcode" required>
                                                            </div>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="product">Product:</label>
                                                                <input type="text" class="form-control" name="product" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="quantity">Quantity:</label>
                                                                <input type="text" class="form-control" name="quantity" placeholder="Enter your Quantity" required>
                                                            </div>
                                                        </div>
                                                        <button type="submit" class="btn btn-dark">Submit</button>
                                                    </form>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="custom-tabs-one-vendor5" role="tabpanel" aria-labelledby="custom-tabs-one-vendor5-tab">
                                    <div class="row">
                                        <div class="col-12 col-sm-6">

                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">vendor 5</h3>
                                                    <ol class="breadcrumb float-sm-right" style="background-color: black;">
                                                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                                                        <li class="breadcrumb-item">Order Sent</li>
                                                        <li class="breadcrumb-item active">Vendor 5</li>
                                                    </ol>

                                                </div>
                                                <div class="card-body p-5">
                                                    <table class="table table-bordered">
                                                        <thead>
                                                            <tr>
                                                                <th style="width: 20px">#</th>
                                                                <th style="width: 60px">Salt</th>
                                                                <th style="width: 60px">Product</th>
                                                                <th style="width: 20px">Stock</th>

                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                            <tr>
                                                                <td>1.</td>
                                                                <td>Hydrocodone</td>
                                                                <td>M367</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>2.</td>
                                                                <td>Percocet</td>
                                                                <td>E712</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>3.</td>
                                                                <td>Oxycocone</td>
                                                                <td>M30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>4.</td>
                                                                <td>Oxycocone</td>
                                                                <td>OC80</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>5.</td>
                                                                <td>Addreall</td>
                                                                <td>AD30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>6.</td>
                                                                <td>Addreall</td>
                                                                <td>B9714</td>
                                                                <td>Available</td>
                                                            </tr>


                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-12 col-sm-6">
                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">Send Order to Vendor 5</h3>
                                                </div>
                                                <div class="card-body">
                                                    <form id="formVendor5" method="POST">
                                                        <div class="form-group">
                                                            <label for="name">Name:</label>
                                                            <input type="text" class="form-control" name="name" placeholder="Enter your name" required>
                                                        </div>
                                                        <div class="form-group">
                                                            <label for="address">Address:</label>
                                                            <input type="text" class="form-control" name="address" placeholder="Enter your address" required>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="state">State:</label>
                                                                <input type="text" class="form-control" name="state" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="zipcode">Zipcode:</label>
                                                                <input type="text" class="form-control" name="zipcode" placeholder="Enter your zipcode" required>
                                                            </div>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="product">Product:</label>
                                                                <input type="text" class="form-control" name="product" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="quantity">Quantity:</label>
                                                                <input type="text" class="form-control" name="quantity" placeholder="Enter your Quantity" required>
                                                            </div>
                                                        </div>
                                                        <button type="submit" class="btn btn-dark">Submit</button>
                                                    </form>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="custom-tabs-one-vendor6" role="tabpanel" aria-labelledby="custom-tabs-one-vendor6-tab">
                                    <div class="row">
                                        <div class="col-12 col-sm-6">

                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">vendor 6</h3>
                                                    <ol class="breadcrumb float-sm-right" style="background-color: black;">
                                                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                                                        <li class="breadcrumb-item">Order Sent</li>
                                                        <li class="breadcrumb-item active">Vendor 6</li>
                                                    </ol>

                                                </div>
                                                <div class="card-body p-5">
                                                    <table class="table table-bordered">
                                                        <thead>
                                                            <tr>
                                                                <th style="width: 20px">#</th>
                                                                <th style="width: 60px">Salt</th>
                                                                <th style="width: 60px">Product</th>
                                                                <th style="width: 20px">Stock</th>

                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                            <tr>
                                                                <td>1.</td>
                                                                <td>Hydrocodone</td>
                                                                <td>M367</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>2.</td>
                                                                <td>Percocet</td>
                                                                <td>E712</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>3.</td>
                                                                <td>Oxycocone</td>
                                                                <td>M30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>4.</td>
                                                                <td>Oxycocone</td>
                                                                <td>OC80</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>5.</td>
                                                                <td>Addreall</td>
                                                                <td>AD30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>6.</td>
                                                                <td>Addreall</td>
                                                                <td>B9714</td>
                                                                <td>Available</td>
                                                            </tr>


                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-12 col-sm-6">
                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">Send Order to Vendor 6</h3>
                                                </div>
                                                <div class="card-body">
                                                    <form id="formVendor6" method="POST">
                                                        <div class="form-group">
                                                            <label for="name">Name:</label>
                                                            <input type="text" class="form-control" name="name" placeholder="Enter your name" required>
                                                        </div>
                                                        <div class="form-group">
                                                            <label for="address">Address:</label>
                                                            <input type="text" class="form-control" name="address" placeholder="Enter your address" required>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="state">State:</label>
                                                                <input type="text" class="form-control" name="state" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="zipcode">Zipcode:</label>
                                                                <input type="text" class="form-control" name="zipcode" placeholder="Enter your zipcode" required>
                                                            </div>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="product">Product:</label>
                                                                <input type="text" class="form-control" name="product" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="quantity">Quantity:</label>
                                                                <input type="text" class="form-control" name="quantity" placeholder="Enter your Quantity" required>
                                                            </div>
                                                        </div>
                                                        <button type="submit" class="btn btn-dark">Submit</button>
                                                    </form>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="custom-tabs-one-vendor7" role="tabpanel" aria-labelledby="custom-tabs-one-vendor7-tab">
                                    <div class="row">
                                        <div class="col-12 col-sm-6">

                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">vendor 7</h3>
                                                    <ol class="breadcrumb float-sm-right" style="background-color: black;">
                                                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                                                        <li class="breadcrumb-item">Order Sent</li>
                                                        <li class="breadcrumb-item active">Vendor 7</li>
                                                    </ol>

                                                </div>
                                                <div class="card-body p-5">
                                                    <table class="table table-bordered">
                                                        <thead>
                                                            <tr>
                                                                <th style="width: 20px">#</th>
                                                                <th style="width: 60px">Salt</th>
                                                                <th style="width: 60px">Product</th>
                                                                <th style="width: 20px">Stock</th>

                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                            <tr>
                                                                <td>1.</td>
                                                                <td>Hydrocodone</td>
                                                                <td>M367</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>2.</td>
                                                                <td>Percocet</td>
                                                                <td>E712</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>3.</td>
                                                                <td>Oxycocone</td>
                                                                <td>M30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>4.</td>
                                                                <td>Oxycocone</td>
                                                                <td>OC80</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>5.</td>
                                                                <td>Addreall</td>
                                                                <td>AD30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>6.</td>
                                                                <td>Addreall</td>
                                                                <td>B9714</td>
                                                                <td>Available</td>
                                                            </tr>


                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-12 col-sm-6">
                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">Send Order to Vendor 7</h3>
                                                </div>
                                                <div class="card-body">
                                                    <form id="formVendor7" method="POST">
                                                        <div class="form-group">
                                                            <label for="name">Name:</label>
                                                            <input type="text" class="form-control" name="name" placeholder="Enter your name" required>
                                                        </div>
                                                        <div class="form-group">
                                                            <label for="address">Address:</label>
                                                            <input type="text" class="form-control" name="address" placeholder="Enter your address" required>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="state">State:</label>
                                                                <input type="text" class="form-control" name="state" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="zipcode">Zipcode:</label>
                                                                <input type="text" class="form-control" name="zipcode" placeholder="Enter your zipcode" required>
                                                            </div>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="product">Product:</label>
                                                                <input type="text" class="form-control" name="product" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="quantity">Quantity:</label>
                                                                <input type="text" class="form-control" name="quantity" placeholder="Enter your Quantity" required>
                                                            </div>
                                                        </div>
                                                        <button type="submit" class="btn btn-dark">Submit</button>
                                                    </form>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="custom-tabs-one-vendor8" role="tabpanel" aria-labelledby="custom-tabs-one-vendor8-tab">
                                    <div class="row">
                                        <div class="col-12 col-sm-6">

                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">vendor 8</h3>
                                                    <ol class="breadcrumb float-sm-right" style="background-color: black;">
                                                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                                                        <li class="breadcrumb-item">Order Sent</li>
                                                        <li class="breadcrumb-item active">Vendor 8</li>
                                                    </ol>

                                                </div>
                                                <div class="card-body p-5">
                                                    <table class="table table-bordered">
                                                        <thead>
                                                            <tr>
                                                                <th style="width: 20px">#</th>
                                                                <th style="width: 60px">Salt</th>
                                                                <th style="width: 60px">Product</th>
                                                                <th style="width: 20px">Stock</th>

                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                            <tr>
                                                                <td>1.</td>
                                                                <td>Hydrocodone</td>
                                                                <td>M367</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>2.</td>
                                                                <td>Percocet</td>
                                                                <td>E712</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>3.</td>
                                                                <td>Oxycocone</td>
                                                                <td>M30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>4.</td>
                                                                <td>Oxycocone</td>
                                                                <td>OC80</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>5.</td>
                                                                <td>Addreall</td>
                                                                <td>AD30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>6.</td>
                                                                <td>Addreall</td>
                                                                <td>B9714</td>
                                                                <td>Available</td>
                                                            </tr>


                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-12 col-sm-6">
                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">Send Order to Vendor 8</h3>
                                                </div>
                                                <div class="card-body">
                                                    <form id="formVendor8" method="POST">
                                                        <div class="form-group">
                                                            <label for="name">Name:</label>
                                                            <input type="text" class="form-control" name="name" placeholder="Enter your name" required>
                                                        </div>
                                                        <div class="form-group">
                                                            <label for="address">Address:</label>
                                                            <input type="text" class="form-control" name="address" placeholder="Enter your address" required>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="state">State:</label>
                                                                <input type="text" class="form-control" name="state" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="zipcode">Zipcode:</label>
                                                                <input type="text" class="form-control" name="zipcode" placeholder="Enter your zipcode" required>
                                                            </div>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="product">Product:</label>
                                                                <input type="text" class="form-control" name="product" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="quantity">Quantity:</label>
                                                                <input type="text" class="form-control" name="quantity" placeholder="Enter your Quantity" required>
                                                            </div>
                                                        </div>
                                                        <button type="submit" class="btn btn-dark" style="background-color: black;">Submit</button>
                                                    </form>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="custom-tabs-one-vendor9" role="tabpanel" aria-labelledby="custom-tabs-one-vendor9-tab">
                                    <div class="row">
                                        <div class="col-12 col-sm-6">

                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">vendor 9</h3>
                                                    <ol class="breadcrumb float-sm-right" style="background-color: black;">
                                                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                                                        <li class="breadcrumb-item">Order Sent</li>
                                                        <li class="breadcrumb-item active">Vendor 9</li>
                                                    </ol>

                                                </div>
                                                <div class="card-body p-5">
                                                    <table class="table table-bordered">
                                                        <thead>
                                                            <tr>
                                                                <th style="width: 20px">#</th>
                                                                <th style="width: 60px">Salt</th>
                                                                <th style="width: 60px">Product</th>
                                                                <th style="width: 20px">Stock</th>

                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                            <tr>
                                                                <td>1.</td>
                                                                <td>Hydrocodone</td>
                                                                <td>M367</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>2.</td>
                                                                <td>Percocet</td>
                                                                <td>E712</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>3.</td>
                                                                <td>Oxycocone</td>
                                                                <td>M30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>4.</td>
                                                                <td>Oxycocone</td>
                                                                <td>OC80</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>5.</td>
                                                                <td>Addreall</td>
                                                                <td>AD30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>6.</td>
                                                                <td>Addreall</td>
                                                                <td>B9714</td>
                                                                <td>Available</td>
                                                            </tr>


                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-12 col-sm-6">
                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">Send Order to Vendor 9</h3>
                                                </div>
                                                <div class="card-body">
                                                    <form id="formVendor9" method="POST">
                                                        <div class="form-group">
                                                            <label for="name">Name:</label>
                                                            <input type="text" class="form-control" name="name" placeholder="Enter your name" required>
                                                        </div>
                                                        <div class="form-group">
                                                            <label for="address">Address:</label>
                                                            <input type="text" class="form-control" name="address" placeholder="Enter your address" required>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="state">State:</label>
                                                                <input type="text" class="form-control" name="state" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="zipcode">Zipcode:</label>
                                                                <input type="text" class="form-control" name="zipcode" placeholder="Enter your zipcode" required>
                                                            </div>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="product">Product:</label>
                                                                <input type="text" class="form-control" name="product" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="quantity">Quantity:</label>
                                                                <input type="text" class="form-control" name="quantity" placeholder="Enter your Quantity" required>
                                                            </div>
                                                        </div>
                                                        <button type="submit" class="btn btn-dark" style="background-color: black;">Submit</button>
                                                    </form>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="custom-tabs-one-vendor10" role="tabpanel" aria-labelledby="custom-tabs-one-vendor10-tab">
                                    <div class="row">
                                        <div class="col-12 col-sm-6">

                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">vendor 10</h3>
                                                    <ol class="breadcrumb float-sm-right" style="background-color: black;">
                                                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                                                        <li class="breadcrumb-item">Order Sent</li>
                                                        <li class="breadcrumb-item active">Vendor 10</li>
                                                    </ol>

                                                </div>
                                                <div class="card-body p-5">
                                                    <table class="table table-bordered">
                                                        <thead>
                                                            <tr>
                                                                <th style="width: 20px">#</th>
                                                                <th style="width: 60px">Salt</th>
                                                                <th style="width: 60px">Product</th>
                                                                <th style="width: 20px">Stock</th>

                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                            <tr>
                                                                <td>1.</td>
                                                                <td>Hydrocodone</td>
                                                                <td>M367</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>2.</td>
                                                                <td>Percocet</td>
                                                                <td>E712</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>3.</td>
                                                                <td>Oxycocone</td>
                                                                <td>M30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>4.</td>
                                                                <td>Oxycocone</td>
                                                                <td>OC80</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>5.</td>
                                                                <td>Addreall</td>
                                                                <td>AD30</td>
                                                                <td>Available</td>
                                                            </tr>
                                                            <tr>
                                                                <td>6.</td>
                                                                <td>Addreall</td>
                                                                <td>B9714</td>
                                                                <td>Available</td>
                                                            </tr>


                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-12 col-sm-6">
                                            <div class="card card-secondary">
                                                <div class="card-header" style="background-color: black;">
                                                    <h3 class="card-title">Send Order to Vendor 10</h3>
                                                </div>
                                                <div class="card-body">
                                                    <form id="formVendor10" method="POST">
                                                        <div class="form-group">
                                                            <label for="name">Name:</label>
                                                            <input type="text" class="form-control" name="name" placeholder="Enter your name" required>
                                                        </div>
                                                        <div class="form-group">
                                                            <label for="address">Address:</label>
                                                            <input type="text" class="form-control" name="address" placeholder="Enter your address" required>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="state">State:</label>
                                                                <input type="text" class="form-control" name="state" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="zipcode">Zipcode:</label>
                                                                <input type="text" class="form-control" name="zipcode" placeholder="Enter your zipcode" required>
                                                            </div>
                                                        </div>
                                                        <div class="form-row">
                                                            <div class="form-group col-md-6">
                                                                <label for="product">Product:</label>
                                                                <input type="text" class="form-control" name="product" placeholder="Enter your state" required>
                                                            </div>
                                                            <div class="form-group col-md-6">
                                                                <label for="quantity">Quantity:</label>
                                                                <input type="text" class="form-control" name="quantity" placeholder="Enter your Quantity" required>
                                                            </div>
                                                        </div>
                                                        <button type="submit" class="btn btn-dark" style="background-color: black;">Submit</button>
                                                    </form>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>

            </div>
        </div>
    </section>
</div>

<!-- Your HTML structure remains the same for the three vendors -->

<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

<script>
    // Reusable function to send orders
    function sendOrder(formId, scriptUrl, vendorName) {
        $(formId).submit(function(event) {
            event.preventDefault();

            var formData = $(this).serialize();
            $.ajax({
                type: "POST",
                url: scriptUrl,
                data: formData,
                success: function(response) {
                    Swal.fire(
                        vendorName + ' - Order Sent!',
                        'Order Sent Successfully!!',
                        'success'
                    ).then(() => {
                        window.location.reload();
                    });
                },
                error: function(error) {
                    Swal.fire(
                        vendorName + ' - Error',
                        'An error occurred while submitting the form.',
                        'error'
                    );
                }
            });
        });
    }

    // Usage for Vendor 1
    sendOrder("#formVendor1", "https://script.google.com/macros/s/AKfycbwlWLAVwQHBygpSyNybqbIBsscPsHWL6FPkqgdktVavoGNfHgn0BgQMkuoFPyKTVK4obg/exec", "Vendor 1");

    // Usage for Vendor 2
    sendOrder("#formVendor2", "https://script.google.com/macros/s/AKfycbzL9WzXXjyPeSS1uCUH-o3ZIDMcQ45NDzwPSw0dW6ardpLH-UDsE2tWNdK9oNhz8efxIw/exec", "Vendor 2");

    // Usage for Vendor 3
    sendOrder("#formVendor3", "https://script.google.com/macros/s/AKfycbxKH9wUpDgf3q1Yf94KIMGhr5X1bs05oFT4cPNQcC5el4V-PisNG5icTMUxIk8IuBTa/exec", "Vendor 3");

    // Usage for Vendor 4
    sendOrder("#formVendor4", "https://script.google.com/macros/s/AKfycbxcWJnbH22iC9bxeJzy3AnptvtWh7r8t6y0XSetpabdE5aNa1-QuMsgI7mvY6-j1FY49g/exec", "Vendor 4");

    // Usage for Vendor 5
    sendOrder("#formVendor5", "https://script.google.com/macros/s/AKfycbztotV7dP4LqNIs_G-h2RTZOQ5mq95a7338gdIAJaJAEFnPTaQUw6N4KUNvmy1cMQtF/exec", "Vendor 5");

    // Usage for Vendor 6
    sendOrder("#formVendor6", "https://script.google.com/macros/s/AKfycbyaioUkkC-R8Q-3VIcMjB3NTni436d5CQpISPqafDxK_n2Nn2GgRdha-l4wdmR5AmYG/exec", "Vendor 6");

    // Usage for Vendor 7
    sendOrder("#formVendor7", "https://script.google.com/macros/s/AKfycbxUvnrpthU_sZJ9Z8-uOWDWKCdDmqTXdGtGaQ3XangiUq0h-Cmz2x5YAHrBa9YMH0r2Iw/exec", "Vendor 7");

    // Usage for Vendor 8
    sendOrder("#formVendor8", "https://script.google.com/macros/s/AKfycbz5IlBfUGZ9VFolzqw6v-Qws_i6zQmCeFlssNUON2gyVFhVAUNDopAWiOMdUklfXIxs/exec", "Vendor 8");

    // Usage for Vendor 9
    sendOrder("#formVendor9", "https://script.google.com/macros/s/AKfycby4tYZeXettXIeTHRiAdfPi537BQH_MHDYTgr7rBlbap3-0PBa2EwnPxXoXAMyyuNXY/exec", "Vendor 9");

    // Usage for Vendor 10
    sendOrder("#formVendor10", "https://script.google.com/macros/s/AKfycbx1OWKSXvX6ovBqpYoK8Vcl0M-1LWx49UdJ4Xe0pFLDp2--MAyWr0d1zKgaMaVoDORK/exec", "Vendor 10");
</script>


<script>
    var loadFile = function(event) {
        var image = document.getElementById('output');
        image.src = URL.createObjectURL(event.target.files[0]);
    };
</script>
<?php
require("footer.php");
?>