<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Invoice 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;">Invoice Export</h3>
    <h3 style="text-align: center; text-shadow: 0 1px #666;">ความต้องการ</h3><br>   
<form action="invoiceExport.php" method="POST">
    <label for="name" style="text-shadow: 0 1px #666;">
        <b style="margin-left: 150px;">ใส่ชื่อลูกค้าหรือบางส่วน</b><br>
        <b style="margin-left: 150px;">ชื่อลูกค้า :</b>
    </label>
    <input type="text" id="name" name="name">
    <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>