<?php include("includes/header.php"); ?>
<!DOCTYPE html>
<html>
<head>
  <title><?php echo $sitename; ?> | Contact Us.</title>
  	<link rel="stylesheet" href="bootstrap/css/bootstrap.css">
  	<meta name="viewport" content="width=device-width, initial-scale=1">
    <!----------------------------------------------------------------------->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="bootstrap2/css/bootstrap.min.css">
    <script src="bootstrap/js/jquery.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
    <!----------------------------------------------------------------------->
      

     <!-- Font Awesome -->
    <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
    <style>
      .input-danger{
        border:1px solid darkred;
        color:darkred;
      }
      .input-danger::placeholder{
        opacity: 0.6;
        color:darkred;
      }
    </style>
</head>
<body>
  <?php include("includes/navbar.php"); ?>
   <div class="container-fluid" style="margin-top:60px;">
       <div class="row">
           <br>
           <div align="center"><h3>Contact Us - <span style="font-size:16px;">To help us point you in the right direction, please choose an option below</span></h3></div>
           <div class="col-sm-1"></div>
           <div class="col-sm-5">
               <h3><i class="fa fa-edit"></i> CONTACT INFORMATION</h3>
               <hr>
               
               <img src="images/869161.png" width="40px"><br>
               <span style="font-size:25px; font-weight:bold; color:#337ab7;">ADDRESS</span><br>
               <span style="font-size:16px;">63 Boulevard Haussmann 75008 Paris, France</span>
               
               <hr>
               
               <!--
               <i class="fa fa-phone" style="font-size:50px; padding:15px 15px; font-weight:bolder; color:#337ab7; border-radius:100%;/* border:3px solid #337ab7; */"></i><br>
               <span style="font-size:25px; font-weight:bold; color:#337ab7;">PHONE NUMBER</span><br>
               <span style="font-size:16px;">+44-(745)-128-3100</span>
               -->
             
               
               <img src="images/552486.png" width="40px"><br>
               <span style="font-size:25px; font-weight:bold; color:#337ab7;">EMAIL ADDRESS</span><br>
               <span style="font-size:16px;"><b>info@citizennationals.online</b></span><br>
               <span style="font-size:16px;"><b>support@citizennationals.online</b></span><br>
               <span style="font-size:16px;"><b>transfer@citizennationals.online</b></span>
               
               
           </div>
           <div class="col-sm-5" align="right">
               <h3><img src="images/786407.png" width="20px"> GET ON TOUCH</h3>
               <form action="" method="POST">
                  <div class="form-group">
                      <input type="text" name="fullname" class="input-lg form-control" style="border-radius:0px;" placeholder="Full Name">
                      <br>
                      <input type="email" name="email" class="input-lg form-control" style="border-radius:0px;" placeholder="Email Address">
                      <br>
                      <input type="phone" name="phone" class="input-lg form-control" style="border-radius:0px;" placeholder="Phone Number">
                      <br>
                      <textarea name="message" class="form-control input-lg" rows="5" cols="5" style="border-radius:0px; resize:none;" placeholder="Message"></textarea>
                      <br><br>
                      <button type="submit" name="submitbtn" class="btn btn-primary" style="border-radius:0px; background-color:#337ab7; border-color: #337ab7; color:#333;">SUBMIT MESSAGE</button>
                  </div> 
               </form>
               
               <?php
                if(isset($_POST["submitbtn"])){
                    $fullname = $_POST["fullname"];
                    $email = $_POST["email"];
                    $phone = $_POST["phone"];
                    $message = $_POST["message"];
                    
                    if(!empty($fullname) && !empty($email) && !empty($phone) && !empty($message)){
                         //SEND MAIL TO OUR MAILLLL
                         //SEND MAIL
                 $to = "info@citizennationals.online";
                 $subject = "Citizen National CONTACT FORM";
                 $message = "NAME ".$fullname." PHONE ".$phone." EMAIL ".$email." COMMENT .".$message." ";
                 mail($to, $subject, $message);
                 echo "<script>alert('Message sent successfully, we will get back to you shortly!.');</script>";
                    }else{
                       echo "<script>alert('Fill in all forms.');</script>";
                    }
                }
               ?>
               
           </div>
           <div class="col-sm-1"></div>
       </div>
   </div>
  </div>
  <!--------------/////////////////////////////////////////------------>
</body>
</html>































