<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Quotation Export Form</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .container{
            margin: 1px auto;
            margin-top: 50px;
            padding: 10px;
            border: 1px solid red;
            width: 510px;
            /*background-color: rgb(196, 225, 196);*/
        }
        .btn {
            display: inline-block;
            padding: 8px 12px;
            font-size: 14px;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            outline: none;
            color: #fff;
            background-color: #04AA6D;
            border: none;
            border-radius: 15px;
            box-shadow: 0 3px #999;
            margin-top: 15px;
        }  
            
        .btn:hover {background-color: #3e8e41}
            
        .btn:active {
            background-color: #3e8e41;
            box-shadow: 0 3px #666;
            transform: translateY(4px);
        }
    </style>
</head>
<body>
    <div class="container" style="background-image: url(../images/bg.jpg);">
    <h3 style="text-align: center; text-shadow: 0 2px #666; color: blue;">Quotation Export</h3>
    <h3 style="text-align: center; text-shadow: 0 1px #666;">ใส่ความต้องการ</h3><br>   
<form action="quotExport.php" method="POST">   
    <br>
    <label for="date" style="text-shadow: 0 1px #666;">
        <b style="margin-left: 30px;">ช่วงเวลา(ต้องใส่ข้อมูลให้ครบทั้ง 2 ช่อง)</b><br>
        <b style="margin-left: 30px;">วัน/เดือน/ปี(ค.ศ.) :</b>
    </label>
    <input type="date" id="begin" name="begin"> - 
    <input type="date" id="finish" name="finish">

    <br><br>
    <div class="position-absolute">
            <input class="btn btn-primary mb-2 btn-sm" type="submit" value="Submit">
            <?php 
                session_start();
                if($_SESSION["Status"] == "ADMIN"){ ?>
                     <a style="float: right;" href="../home.php" class="btn btn-primary mb-2 btn-sm">Home</a>
                     <?php }else{ ?>
                     <a style="float: right;" href="../homeOther.php" class="btn btn-primary mb-2 btn-sm">Home</a>
                     <?php } ?>         
            <a style="float: right; margin-right: 5px;" href="../logout.php" class="btn btn-primary mb-2 btn-sm">Logout</a>
        </div>
    <!--<input type="submit"> -->      
</form>
</div>
</body>
</html>