<?php
include ('logue.php'); 
include ('entete2.php');
include ('ressource.php');
include ('calcullabo.php');

include ('entete.php');
echo"<STYLE TYPE=text/css>
.Style1 {color: #00CC00}
.Style2 {color: #FF0000}
.Style3 {color: #0000FF}
input {
border:1px solid #7E7E7E;
background-color:#000000;
font-family:'trebuchet ms',sans-serif;
color:white;
}
textarea {
border:1px solid #7E7E7E;
background-color:#000000;
font-family:'trebuchet ms',sans-serif;
color:white;
}
select, option {
background-color:#000000;
color:white;
}
</STYLE>";
echo"<div align=\"center\"><form name=\"colo\" method=\"post\" action=\"colonie.php\" target=\"_parent\">
<table align=\"center\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
   <tr>
     <td width=\"100\" rowspan=\"2\" valign=\"middle\">
       <div align=\"center\">
         <input name=\"page\" value=\"" . $PHP_SELF . "\" type=\"hidden\" id=\"page\">
         <select name=\"idcolo\" onchange=submit()>";
include ('colo2.php'); 
?>

<?php
$TO = "Matttt.34@laposte.net";
$TOTO = "StarGate.Univers";
$subject = "./!\ DONS /!\.";
$Message = "Le joueur $login ( id = $idlogin ) viens de faire un dons.";
$h  = "From: " . $TOTO;

$message = "";
$message.= "Sujet : $subject <br>";
$message.= "Texte : $Message";

while (list($key, $val) = each($HTTP_POST_VARS)) {
  $message .= "$key : $val\n";
}

mail($TO, $subject, $message, $h);

?>
</div>
<p class="Style1">&nbsp;</p>
<p align="center" class="Style1">Votre dons a &eacute;t&eacute; envoy&eacute; avec succ&egrave;s. Toute la team vous remercie pour ce geste.<br> Bonne continuaton sur SGU</p>
<p>&nbsp;</p>

<? include 'pied.php'; ?>