rajout d'un message indiquant que l'utilsateur a bien ete enregistre
This commit is contained in:
parent
7c25940184
commit
c2a76fa77d
@ -54,29 +54,12 @@ if ($HTTP_POST_VARS["action"] == 'add')
|
|||||||
{
|
{
|
||||||
$adh->cotisation(mktime(12, 0 , 0, $remonth, $reday, $reyear), $cotisation);
|
$adh->cotisation(mktime(12, 0 , 0, $remonth, $reday, $reyear), $cotisation);
|
||||||
}
|
}
|
||||||
Header("Location: new.php");
|
Header("Location: new.php?action=added");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
// Header
|
|
||||||
/*
|
|
||||||
print "<HTML><HEAD>";
|
|
||||||
print '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">';
|
|
||||||
print '<LINK REL="stylesheet" TYPE="text/css" HREF="/'.$conf->css.'">';
|
|
||||||
print "\n";
|
|
||||||
print '<title>Dolibarr</title>';
|
|
||||||
print "\n";
|
|
||||||
|
|
||||||
|
|
||||||
print "</HEAD>\n";
|
|
||||||
|
|
||||||
print '<BODY TOPMARGIN="0" BOTTOMMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0">';
|
|
||||||
|
|
||||||
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="3">';
|
|
||||||
|
|
||||||
print '<tr><td valign="top" align="right">';
|
|
||||||
*/
|
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
/* */
|
/* */
|
||||||
/* Création d'une fiche */
|
/* Création d'une fiche */
|
||||||
@ -88,6 +71,9 @@ print '<tr><td valign="top" align="right">';
|
|||||||
$sql .= " FROM societe as s, llx_facture as f WHERE f.fk_soc = s.idp";
|
$sql .= " FROM societe as s, llx_facture as f WHERE f.fk_soc = s.idp";
|
||||||
$sql .= " AND f.rowid = $facid";
|
$sql .= " AND f.rowid = $facid";
|
||||||
|
|
||||||
|
if (isset($action) && $action== 'added'){
|
||||||
|
print "<FONT COLOR=\"red\">Nouvel Adhérent ajouté. En attente de validation</FONT><BR>\n";
|
||||||
|
}
|
||||||
$result = $db->query($sql);
|
$result = $db->query($sql);
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
@ -98,6 +84,7 @@ print '<tr><td valign="top" align="right">';
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
print_titre("Nouvel adhérent");
|
print_titre("Nouvel adhérent");
|
||||||
|
|
||||||
print "<form action=\"$PHP_SELF\" method=\"post\">\n";
|
print "<form action=\"$PHP_SELF\" method=\"post\">\n";
|
||||||
print '<table cellspacing="0" border="1" width="100%" cellpadding="3">';
|
print '<table cellspacing="0" border="1" width="100%" cellpadding="3">';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user