Leptospira Home Page - Lepto Library

%s

\n", $ERRMSG); fatal(""); } if (msqlSelectDB($sock,"leptospira") < 0) { printf("

%s

\n", $ERRMSG); fatal(""); } echo("
\n"); echo("Leptospira Home page - Lepto Library\n"); echo("
(Selected References page)

\n"); if (#$selected==0) { $selected=split($all_references, ","); } $i=0; while ($i<#$selected) { $ui=$selected[$i]; $i = $i + 1; echo("Selected Reference No. $i
\n"); if (#$selected[1]==1) { $ui=$selected; $i = #$selected; } if (msqlQuery($sock, "select * from leptospira WHERE UI=$ui")<0) { printf("

%s

\n", $ERRMSG); fatal(""); } $res=msqlStoreResult(); $row=msqlFetchRow($res); if (#$row > 0) { $datum=$row[2]; $source=$row[3]; $uid=$row[0]; printf("

Title:
\n

  %s

  \n", $row[1]); } else { printf("
  Requested data not found in database!!! UI=%s\n", $ui); exit(0); } msqlFreeResult($res); echo("Author:
  \n$row[5]
  \n"); if ($row[4]!="") { echo("Address:
  \n
  $row[4]
  \n"); } printf("Source:
  \n
  %s
  \n", $source); printf("Abstract:
  \n"); if ($row[6]=="") { echo("Sorry, but there is no abstract for this work.
  "); } else { printf("

  %s

  \n", $row[6]); } printf("Unique Identifier:
  \n
  %s
  \n", $uid); echo("

  \n"); } includeFile("../text&html/to-top1.txt"); >