<?
// ------------------------------------------------------------------------- //
// <G a n e s h a> - Free Web Based Training System                          //
// ------------------------------------------------------------------------- //
// <G a n e s h a> - Plate-forme de téléformation gratuite et en open source //
// ------------------------------------------------------------------------- //
// Copyright (C) 2001-2003  Anéma Formation  <http://www.anema.fr/>          //
// ------------------------------------------------------------------------- //
//            Developer : Georges CALDEIRA <gcaldeira@anemalab.org>          //
// ------------------------------------------------------------------------- //
//               Infos on project <http://anemalab.org/>                     //
// ------------------------------------------------------------------------- //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
// ------------------------------------------------------------------------- //

/**
* Page envoie du login/pwd
*
* @author	Georges Caldeira <gcaldeira@anemalab.org>
* @package	GaneshaCommun
*/
	/**
	* include des fichiers et PAS de verification de la cnx
	*/
	$verif_connexion = false	 ;
	include_once("anema.inc.php");
	LoadSkin("default") ;

?>
<html>
<head>
<title>Recevoir votre Login / Password</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?PHP stylesheet(); ?>
<script LANGUAGE="JavaScript">
function VerifMail(form) {
	var adresse = form.EmailSend.value	;
	var place   = adresse.indexOf("@",1);
	var point   = adresse.indexOf(".",place+1);
	if ((place > -1)&&(adresse.length >2)&&(point > 1)) {
		form.submit();
	} else {
		alert('<?PHP echo $st_texte['entrermailv'] ?>');
	}
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
  <tr> 
    <td height="70" colspan="2"><img src="<?PHP echo HTTP_IMAGES?>login.jpg" width="800" height="83" usemap="#Map" border="0" alt="GANESHA"></td>
  </tr>
</table>
<BR>
<BR>
<BR>
<DIV align="center">
<form action="<?PHP echo HTTP_COMMUN ?>SendLogin<?PHP echo $ext ?>" method="post" >
<table width="60%" border="0" cellspacing="0" cellpadding="0" align="CENTER">
<tr>
  <td><b><?PHP echo $st_texte['login/pwd']?></b></td>
 </tr>
 <tr><td><input type="text" name="EmailSend" size=40 VALUE="<?PHP echo $st_texte['emailhere']?>" onFocus="this.value=''"></td>
 </tr>
 <tr>
  <td><br><input type="button" class="bouton2" name="OK" value="<?PHP echo $st_form['envoyer']?>" onClick="VerifMail(this.form)"></td>
  </tr>
</table>
</form>
<DIV>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
  <tr> 
    <td colspan="2"><img src="<?PHP echo HTTP_IMAGES?>conception.gif" width="800" height="59" usemap="#Map2" border="0" alt="GANESHA"></td>
  </tr>
</table>

<map name="Map"> 
  <area shape="rect" coords="15,59,76,74" href="javascript:history.go(-1)" target="_parent" alt="Accueil" title="Accueil">
  <area shape="rect" coords="485,59,639,75" href="http://www.anemalab.org" target="_blank" alt="Site support" title="Site support">
</map>
<map name="Map2"> 
  <area shape="rect" coords="550,4,768,57" href="http://www.anema-formation.fr" target="_blank" alt="Anema formation" title="Anema formation">
</map>
</body>
</html>