$title="sphere-packing database (Search-Page)";
include("./head.inc");
?>
if (isset($minanz)):
include("dbfuncs.php3");
if ($con = mysql_connect($dbhost,$dbuser,$dbpass)):
if ($minrho!=""):
$cmd = "select * from MOV where ((anzahl>=$minanz and anzahl<=$maxanz) and ((rhoo>=$minrho or rhoo=-1) and ($maxrho=-1 or rhou<=$maxrho))) order by anzahl,rhou";
#print "$cmd
\n";
else:
$cmd = "select * from MOV where (anzahl>=$minanz and anzahl<=$maxanz) order by anzahl,rhou";
endif;
if ($result = mysql_db_query($dbname,$cmd,$con)):
?>
MOVTablehead();
$cnt = mysql_num_rows($result);
$swt = 1;
while ($row = mysql_fetch_array($result)):
$swt = - $swt;
$id = $row["nummer"];
$anzahl= $row["anzahl"];
$M = $row["M"];
$O = $row["O"];
$V = $row["V"];
$type = $row["TYPE"];
$prttype = $row["printtyp"];
$rhou = $row["rhou"];
$rhoo = $row["rhoo"];
if ($swt == -1):
$bg = "bgcolor=#FFFFDD";
else:
$bg = "bgcolor=#DDDDFF";
endif;
if ($rhoo == -1):
$rhoo="
";
#$rhoo="inf";
endif;
MOVTableline2($bg,$id,$anzahl,$M,$O,$V,$type,$rhou,$rhoo,$prttype);
endwhile;
?>
print "\n";
print "Here you can get the table in latex. Use Save As.
";
else:
print "No result!
\n";
endif;
else:
print " Konnte Datenbank nicht öffnen
\n";
endif;
else:
endif;
?>
Search-Request
compare your own packing with those of the database
include("../inc/tail.php3"); ?>