Member Administration:
(add memeber)

Please, select member and function you wold like to execute
\n"); echo("\n
\n
$ERRMSG

\n
\n"); exit(0); } if (msqlSelectDB($sock, "MEMBERS")<0) { echo("
\n"); echo("\n
\n
$ERRMSG

\n
\n"); exit(0); } if ($delete=="OK") { $imaga=0; if (msqlQuery($sock, "SELECT id_bill FROM billing WHERE id_us=$id_us")<0) { echo("
\n"); echo("\n
\n
$ERRMSG

\n
\n"); exit(0); } $dt=msqlStoreResult(); $id_bl=msqlFetchRow($dt); while(#$id_bl>0 && $imaga==0) { if (msqlQuery($sock, "SELECT id_trans FROM transaction WHERE id_bill=$id_bl[0]")<0) { echo("
\n"); echo("\n
\n
$ERRMSG

\n
\n"); exit(0); } $dy=msqlStoreResult(); $id_tr=msqlFetchRow($dy); if (#$id_tr>0) { $imaga=1; } msqlFreeResult($dy); $id_bl=msqlFetchRow($dt); } if ($imaga>0) { echo("
\n"); echo("\n
\n
Sorry, this user can not be DELETED.

\n
\n"); exit(0); } if (msqlQuery($sock, "UPDATE user_data SET member='2' WHERE id_us=$id_us")<0) { echo("
\n"); echo("\n
\n
DELETE: $ERRMSG

\n
\n"); exit(0); } } echo("\n"); $max=#$slova; $i=0; while($i<$max) { $slv=strseg($slova, $i, $i); echo("\n"); $i=$i + 1; } echo("
$slv
\n"); if ($slovo=="*") { $slovo=""; } if (msqlQuery($sock, "SELECT * FROM user_data WHERE member='1' AND id_us>0 AND surname CLIKE '$slovo%'")<0) { echo("
\n"); echo("\n
\n
$ERRMSG

\n
\n"); exit(0); } $fd=msqlStoreResult(); $data=msqlFetchRow($fd); $rows=msqlNumRows($fd); if (#$data==0) { echo("
\n"); echo("
\n"); echo("\n
\n
Sorry, no members found. LETTER='$slovo'
If you'd like to view all members, select '*'

\n
\n"); echo("
\n"); exit(0); } echo("
\n
\n

\n\n"); echo(""); echo("\n"); while(#$data>0) { echo("\n"); echo("\n"); echo("\n"); echo("\n"); echo("\n"); $data=msqlFetchRow($fd); } echo("
\n
Members found: $rows
del.
$data[1]
$data[4], $data[3]
\n"); echo("\n"); msqlClose($sock); >