Leptospira Search Page

\n"); echo("
\n $ERRMSG \n
\n

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

\n"); echo("
\n $ERRMSG \n
\n

\n"); exit(0); } if (msqlQuery($sock, "SELECT * FROM icons")<0) { echo("

\n"); echo("
\n WARNING: $ERRMSG \n
\n

\n"); exit(0); } $fd=msqlStoreResult(); $icon=msqlFetchRow($fd); while (#$icon>0) { $tt=(int)$icon[0]; $icn[$tt]=$icon[1]; $icon=msqlFetchRow($fd); } msqlFreeResult($fd); if (msqlQuery($sock, "SELECT * FROM group WHERE gid=$group")<0) { echo("

\n"); echo("
\n WARNING: $ERRMSG \n
\n

\n"); exit(0); } $fd=msqlStoreResult(); $grupi=msqlFetchRow($fd); msqlFreeResult($fd); if (msqlQuery($sock, "SELECT * FROM subgroup WHERE gid=$group AND sgid=$sgroup")<0) { echo("

\n"); echo("
\n WARNING: $ERRMSG \n
\n

\n"); exit(0); } $fd=msqlStoreResult(); $sgrupi=msqlFetchRow($fd); msqlFreeResult($fd); if (msqlQuery($sock, "SELECT * FROM message WHERE gid=$group AND sgid=$sgroup ORDER BY follow, article")<0) { echo("

\n"); echo("
\n WARNING: $ERRMSG \n
\n

\n"); exit(0); } $fd=msqlStoreResult(); $ms=msqlNumRows($fd); $message=msqlFetchRow($fd); >

Discussions : $grupi[1] : $sgrupi[2]
Leptospira Home Page Discussion Group [New message] |
| \n There are no messages in this subgroup. \n
\n"); } else { while(#$message>0) { $rr=(int)$message[9]; $date=strftime("%D", (int)$message[9]); $tme=strftime("%T", (int)$message[9]); $vrm=$date + " " + strseg($tme, 0, 4); $msg=(int)$message[2]; $reply=(int)$message[3]; if ($reply==$msg) { echo("
\n"); echo("\n"); echo(" | \n"); echo("$message[7]\n"); echo("\n"); echo(" | $vrm\n"); echo(" | ($message[4])\n"); echo("
\n"); } else { echo("
\n"); echo("\n"); echo(" | \n"); echo(" | \n"); echo("$message[7]\n"); echo("\n"); echo(" | $vrm\n"); echo(" | ($message[4])\n"); echo("
\n"); } $message=msqlFetchRow($fd); } } msqlFreeResult($fd); msqlClose($sock); >