Member Administration:
(report generation)

Please, select report that you would like to view
\n"); echo("\n
\n
$ERRMSG

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

\n
\n"); exit(0); } $i=0; while($i<4) { $z=$i + 1; if (msqlQuery($sock, "SELECT id_print FROM print WHERE card='$z' AND printed='0'")<0) { echo("
\n"); echo("\n
\n
$ERRMSG

\n
\n"); exit(0); } $fd=msqlStoreResult(); $data=msqlFetchRow($fd); $rows=msqlNumRows($fd); $n=0; $pup=""; while(#$data>0 && $n<20) { $n=$n + 1; $pup=$pup + "&p=" + $data[0]; $data=msqlFetchRow($fd); } msqlFreeResult($fp); $p[$i]="p=0" + $pup; if (msqlQuery($sock, "SELECT id_print FROM print WHERE card='$z' AND printed='1'")<0) { echo("
\n"); echo("\n
\n
$ERRMSG

\n
\n"); exit(0); } $fd=msqlStoreResult(); $data=msqlFetchRow($fd); $rows=msqlNumRows($fd); $n=0; $pup=""; while(#$data>0 && $n<20) { $n=$n + 1; $pup=$pup + "&p=" + $data[0]; $data=msqlFetchRow($fd); } msqlFreeResult($fp); $q[$i]="p=0" + $pup; $i=$i + 1; } echo("
\n"); echo("
\n"); $card[0]="Visa"; $card_prg[0]="visa"; $card[1]="Master Card"; $card_prg[1]="master"; $card[2]="American Express"; $card_prg[2]="amex"; $card[3]="Diners"; $card_prg[3]="diners"; echo("\n"); echo("\n"); $i=0; $ima=0; while($i<4) { echo("\n"); if ($p[$i]!="p=0") { echo("\n"); echo("\n"); } else { echo("\n"); echo("\n"); } if ($q[$i]!="p=0") { echo("\n"); } else { echo("\n"); } echo("\n"); $ima=1; echo("\n"); $i=$i + 1; } if ($ima==0) { echo("\n"); } echo("
$card[$i]\n"); echo("
\n"); echo("FAX no.1\n"); echo("ReAuthorizeFAX no.1ReAuthorize\n"); echo("FAX no.2FAX no.2
\n"); echo("Sorry, no authorised user <==> NO REPORTS ;)\n"); echo("
\n
\n
\n"); >