Untitled

mail@pastecode.io avatar
unknown
php
a year ago
11 kB
3
Indexable
Never
<?php

$name = $_POST["name"];
$email = $_POST["email"];
$subject = $_POST["subject"];
$message = $_POST["message"];

$mailheader = "From: " . $name . "<" . $email  . ">\r\n";
$recipient = "no-reply@atom-cnc.com";

mail($recipient, $subject, $message, $mailheader)
or die("Error!");

echo '

<!DOCTYPE html>
<html lang="pl">
<head>
  <meta charset="utf-8">
  <title>ATOM CNC - Kontakt -- Profesjonalna obróbka numeryczna CNC</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="description" content="AtomCNC">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0">
  
  <link rel="stylesheet" href="plugins/bootstrap/bootstrap.min.css">
  <link rel="stylesheet" href="plugins/slick/slick.css">
  <link rel="stylesheet" href="plugins/slick/slick-theme.css">
  <link rel="stylesheet" href="plugins/fancybox/jquery.fancybox.min.css">
  <link rel="stylesheet" href="plugins/fontawesome/css/all.min.css">
  <link rel="stylesheet" href="plugins/animation/animate.min.css">
  <link rel="stylesheet" href="plugins/jquery-ui/jquery-ui.css">
  <link rel="stylesheet" href="plugins/timePicker/timePicker.css">
  
  <link href="css/style.css" rel="stylesheet">
  <link rel="icon" href="images/favicon.png" type="image/x-icon">
</head>

<body>
  <div class="page-wrapper">
    <section class="header-uper">
      <div class="container">
        <div class="row align-items-center">
          <div class="col-xl-4 col-lg-3">
            <div class="logo">
              <a href="index.html">
                <img loading="lazy" class="img-fluid" src="images/logo_atomcnc.png" alt="logo">
              </a>
            </div>
          </div>
          <div class="col-xl-8 col-lg-9">
            <div class="right-side">
              <ul class="contact-info pl-0 mb-4 mb-md-0">
                <li class="item text-left">
                    <div class="icon-box">
                      <i class="far fa-envelope"></i>
                    </div>
                    <strong>email</strong>
                    <br>
                    <a href="mailto:biuro@atom-cnc.com">
                      <span>biuro@atom-cnc.com</span>
                    </a>
                </li>
                <li class="item text-left">
                  <div class="icon-box">
                    <i class="fas fa-phone"></i>
                  </div>
                  <strong>telefon</strong>
                  <br>
                  <span> +48 886415270 / +48 721232357</span>
                </li>
              </ul>
                <div class="link-btn text-center text-lg-right">
                  <a href="kontakt.html" class="btn-style-one">KONTAKT</a>
                </div>
            </div>
          </div>
        </div>
      </div>
    </section>

    <nav class="navbar navbar-expand-lg navbar-dark">
      <div class="container">
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarLinks" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>


        <div class="collapse navbar-collapse" id="navbarLinks">
          <ul class="navbar-nav">
            <li class="nav-item @@contact">
              <a class="nav-link" href="index.html">START</a>
            </li>

            <li class="nav-item dropdown @@blogs">
              <a class="nav-link dropdown-toggle" href="#!" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">OFERTA</a>
              <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                  <li><a class="dropdown-item @@blog" href="frezowanie-cnc.html">FREZOWANIE CNC</a></li>
                  <li><a class="dropdown-item @@blog" href="toczenie-cnc.html">TOCZENIE CNC</a></li>
                  <li><a class="dropdown-item @@blog" href="spawanie.html">SPAWANIE</a></li>
                  <li><a class="dropdown-item @@blog" href="druk-3d.html">DRUK 3D</a></li>
                  <li><a class="dropdown-item @@blog" href="pomiary.html">POMIARY</a></li>
                  <li><a class="dropdown-item @@blog" href="znakowanie-laserowe.html">ZNAKOWANIE LASEROWE</a></li>
              </ul>
            </li>
            
            <li class="nav-item @@contact">
              <a class="nav-link" href="realizacje.html">REALIZACJE</a>
            </li>
            
            <li class="nav-item @@contact">
              <a class="nav-link" href="multimedia.html">MULTIMEDIA</a>
            </li>

            <li class="nav-item @@contact">
              <a class="nav-link" href="kontakt.html">KONTAKT</a>
            </li>
          </ul>
        </div>
      </div>
    </nav>

<!--     <div class="hero-slider">
      <div class="slider-item slide1" style="background-image:url(images/slider/banner100.jpg)">
        <div class="container">
          <div class="row">
            <div class="col-12">
              <div class="content style text-lg-right">
                <h2 class="text-white text-bold mb-2" data-animation-in="slideInLeft">ATOM CNC</h2>
                <p class="tag-text mb-4" data-animation-in="slideInRight">Profesjonalna obróbka numeryczna CNC<br>biuro@atom-cnc.com</p>
                <a href="kontakt.html" class="btn btn-main btn-white" data-animation-in="slideInLeft" data-duration-in="1.2">NAPISZ DO NAS!</a>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div class="slider-item" style="background-image: url(images/slider/banner_frezowanie.jpg);">
        <div class="container">
          <div class="row">
            <div class="col-12">
              <div class="content style text-lg-l">
                <h2 class="text-white" data-animation-in="slideInRight">FREZOWANIE CNC</h2>
                <a href="frezowanie-cnc.html" class="btn btn-main btn-white" data-animation-in="slideInRight" data-duration-in="1.2">NASZA OFERTA</a>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div class="slider-item" style="background-image: url(images/slider/banner_toczenie.jpg)">
        <div class="container">
          <div class="row">
            <div class="col-12">
              <div class="content style text-lg-l">
                <h2 class="text-white text-bold mb-2" data-animation-in="slideInRight">TOCZENIE CNC</h2>
                <a href="toczenie-cnc.html" class="btn btn-main btn-white" data-animation-in="slideInRight" data-duration-in="1.2">NASZA OFERTA</a>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div class="slider-item" style="background-image: url(images/slider/banner_spawanie.jpg);">
        <div class="container">
          <div class="row">
            <div class="col-12">
              <div class="content style text-lg-l">
                <h2 class="text-white" data-animation-in="slideInRight">SPAWANIE</h2>
                <p class="tag-text mb-4" data-animation-in="slideInRight" data-duration-in="0.6">Spawanie metodą MIG/MAG/TIG </p>
                <a href="spawanie.html" class="btn btn-main btn-white" data-animation-in="slideInRight" data-duration-in="1.2">NASZA OFERTA</a>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div class="slider-item" style="background-image: url(images/slider/banner_druk3d.jpg);">
        <div class="container">
          <div class="row">
            <div class="col-12">
              <div class="content style text-lg-l">
                <h2 class="text-white" data-animation-in="slideInRight">DRUK 3D</h2>
                <p class="tag-text mb-4" data-animation-in="slideInRight" data-duration-in="0.6">Usługi drukowania 3D metodą FDM </p>
                <a href="druk-3d.html" class="btn btn-main btn-white" data-animation-in="slideInRight" data-duration-in="1.2">NASZA OFERTA</a>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div class="slider-item" style="background-image: url(images/slider/bn1.jpg)">
        <div class="container">
          <div class="row">
            <div class="col-12">
              <div class="content text-lg-right style">
                <h2 class="text-white text-bold mb-2" data-animation-in="slideInRight">POMIARY KONUROGRAFEM</h2>
                <p class="tag-text mb-4" data-animation-in="slideInLeft">Usługi pomiarowe za pomocą profesjonalnego konturografu MarSurf CD280</p>
                <a href="pomiary.html" class="btn btn-main btn-white" data-animation-in="slideInRight" data-duration-in="1.2">NASZA OFERTA</a>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div> -->

    <div class="container" style="padding-bottom: 200px; padding-top: 200px">
      <h3>Wiadomość wysłana pomyślnie!</h3>
    </div>

    <footer class="footer-main">
      <div class="footer-bottom">
        <div class="container clearfix">
          <div class="copyright-text">
            <p>Atom CNC</p>
          </div>

          <ul class="footer-bottom-link">
            <li><a href="index.html">START</a></li>
            <li><a href="realizacje.html">REALIZACJE</a></li>
            <li><a href="multimedia.html">MULTIMEDIA</a></li>
            <li><a href="kontakt.html">KONTAKT</a></li>
          </ul>
        </div>
      </div>
    </footer>

    <div id="back-to-top" class="back-to-top">
      <i class="fa fa-angle-up"></i>
    </div>
  </div>

  <div class="scroll-to-top scroll-to-target" data-target=".header-top">
    <span class="icon fa fa-angle-up"></span>
  </div>


  <script src="plugins/jquery.min.js"></script>
  <script src="plugins/bootstrap/bootstrap.min.js"></script>
  <script src="plugins/slick/slick.min.js"></script>
  <script src="plugins/slick/slick-animation.min.js"></script>
  <script src="plugins/fancybox/jquery.fancybox.min.js" defer></script>
  <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCcABaamniA6OL5YvYSpB3pFMNrXwXnLwU" defer></script>
  <script src="plugins/google-map/gmap.js" defer></script>
  <script src="plugins/jquery-ui/jquery-ui.js" defer></script>
  <script src="plugins/timePicker/timePicker.js" defer></script>
  <script src="js/script.js"></script>
</body>
</html>

';

?>