<?php

session_start();


if (!isset($_SESSION['admin_userName'])) {
    header('Location: login.php');
    }
?>
 <?php include("header.php"); ?>
<!-- <script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> -->

<style>
     .d {
        background-color: rgba(0,0,0,0.5);
    }
     #nav  .d1
    {   
        color: #f9a825;
        font-weight: 600;
    }
         nav a:hover {
    background-color: #721418;
    color: #f9a825;
        font-weight: 600;
}
</style>
<body  onload="passwordCheck()">
<div class="card" style=" border-radius: 8px; margin-top: 10px">
    <div id="row" style="margin-top: 10px">
        <div class="col-md-12"> 
        	
            <div class="table-title">
                <div class="row">
                    <div class="col-sm-12 " style="text-align: center;"><h3><b>Add New Branch</b></h3></div>
                </div>
                <p class="solid1" style="outline-style: solid; margin-top: 5px;  color: #00AC8B"></p>
            </div>
            <br>
    
            <!--Main Cards-->
            <div class="row" style="margin-left: 60px; margin-right: 60px;">
                <div class="col-md-4">          
                </div>

                <div id="addBranchDiv" class="col-md-4 card_pos">
                     <div class="addBranch text-center overlay_card">
                            <form action="../Admin_modules/add_branch.php" method="post">
                                <div class="wrap">
                                    <p class="head">Branch Name</p>
                                    <input type="text" id="br_name" name="br_name" required>
                                </div>
                                <div class="wrap">
                                    <p class="head">Courier Parcel Charges (in Rs/Kg)</p>
                                    <input type="text" id="couriercharges" name="couriercharges" required>
                                </div>
                                <div class="wrap">
                                    <p class="head">Courier Documents Charges (in Rs/Kg)</p>
                                    <input type="text" id="docscharges" name="docscharges" required>
                                </div>
                                <div class="wrap">
                                    <p class="head">Courier VPP Charges (in Rs/Rs1000)</p>
                                    <input type="text" id="cc_vvp" name="cc_vvp" required>
                                </div>
                                <div class="wrap">
                                    <p class="head">Mobile number</p>
                                    <input type="text" id="mobNo" name="mobNo" maxlength="10" pattern="[0-9]{10}">
                                </div>
                                <div class="wrap">
                                    <button name="submit" type="submit" class="btn btn-info">SUBMIT</button>
                                </div>
                            </form>
                     </div>
                </div> 

                <div class="col-md-4">        
                </div> 
           </div>
        </div>
    </div>
</div>
        
</body>
</html>