function test_form(form) { if(form.form_libelle.value.length == 0) { alert(\"".$msg[559]."\"); return false; } return true; } "; function show_group_list() { global $dbh, $msg, $charset; print "
".htmlentities($msg['admin_usr_grp_lib'], ENT_QUOTES, $charset)." | ".htmlentities($msg['admin_usr_grp_usr'], ENT_QUOTES, $charset)." |
---|---|
'.htmlentities($row->grp_name, ENT_QUOTES, $charset)." | "; print '';
$q1="select userid, username, prenom, nom from users where grp_num='".$row->grp_id."' order by username ";
$r1 = mysql_query($q1, $dbh);
while (($row1 = mysql_fetch_object($r1))) {
print "userid."\" >";
$lib = $row1->username.' (';
if (trim($row1->prenom)!=='') $lib.= $row1->prenom.' ';
$lib.= $row1->nom.')';
print htmlentities($lib, ENT_QUOTES, $charset);
print ' '; } print ' |
".htmlentities($msg['admin_usr_grp_non_aff'], ENT_QUOTES, $charset)." | ";
while (($row2 = mysql_fetch_object($r2))) {
print "userid."\" >";
$lib = $row2->username.' (';
if (trim($row2->prenom)!=='') $lib.= $row2->prenom.' ';
$lib.= $row2->nom.')';
print htmlentities($lib, ENT_QUOTES, $charset);
print ' '; } print ' |