<?php
$jmeno = $_POST['jmeno'];
$meno = $_POST['meno'];
$email = $_POST['email'];
$web = $_POST['web'];
$ip = $_POST['ip'];
$server = $_POST['server'];
$text = $_POST['text'];
$reg = "http://mancraft.eu/cpanel/";     
$to = "ventrilopodpora@gmail.com";
//$to1 = "marek281010@gmail.com";
$extra = "From: $email\r\nReply-To: $email\r\n";
$subject = "Vzkaz od ".$jmeno."";
$mess = "Nick: ".$jmeno."\nKamoš: ".$meno."\nEmail: ".$email."\nVek: ".$web."\nServer: ".$server."\nIP: ".$ip."\nText: ".$text."\n\n\n\nNa tomto odkaze môžete pridávať na WL: ".$reg." ";

mail ($to, $subject, $mess, $extra);
//mail ($to1, $subject, $mess, $extra);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>
      WhiteList Formulár
    </title>
    <meta http-equiv="Content-type" content="text/html; charset=windows-1250" />
    <meta http-equiv="Content-Language" content="cs" />
    <link href="main.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <div id="all">
      <!-- header -->
      <div id="header">
        <h1>
          <a href="#">WhiteList Formulár</a></h1>
        <h2>
          <a href="http://mancraft.eu">www.mancraft.eu</a></h2>
      </div>
      <!--body start -->
      <div id="body">
        <!-- columns start -->
        <div class="columns">
          <!-- second column -->
          <div class="side_column">
            <div class="text">
              <h2 class="heading">
                Menu</h2>
              <div class="article">
                <ul>
                  <li>
                  <a href="index.html">Novinky</a></li>
                  <li>
                  <a href="form.php">Formulár</a></li>
                  <li>
                  <a href="kont.php">Kontakt</a></li>
                </ul>
              </div>
            </div>

          </div>
          <!-- first column -->
          <div class="main_column">
            <div class="scroll">
              <div class="text">
                <h2 class="heading">
                  Formulár</h2>

<html><head> <center>
<p>Vaša požiadavka na WhiteList bola zaznamenaná.</p>
<p>Do 24 hodín dostanete spätný e-mail o pridaní.</p>
<p>Ak sa ešte stále neviete pripojiť napíšte na:</p>
<p>ventrilopodpora@gmail.com</p>
<p><br><br><br><br>
<b>Automaticky budete presmerovaný na web <font color='blue'>http://mancraft.eu/formik/form.php</font></b><br>
<b>Ak vás to nepresmeruje do 5s. kliknite na <a href='http://mancraft.eu/formik/form.php'>tento odkaz!</a></b>


</p>
</center>
<META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://mancraft.eu/formik/form.php">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
</head></html>
              </div>
          </div>
        </div>
        <!-- columns end -->
      </div>
      <!-- body end -->
      <!-- footer -->
      <div id="footer">
        &copy; h4x0r (www.mancraft.eu) - All rights reserved.
      </div>
    </div>
  </body>
</html>
