";
}
echo "
| $uidtext |
Part Number |
Serial Number |
Part Name |
";
$partqry = mysqli_query($db, "select * from parts order by $sort $order");
while ($partline = mysqli_fetch_assoc($partqry)) {
if (!$partline['uid']) {
$pluidtxt = "none";
} else {
$pluidtxt = $partline['uid'];
}
if ($loggedin) {
printf(
"
|
%s
|
%s |
%s |
%s | ",
$partline['partid'],
$pluidtxt,
$partline['partnum'],
$partline['sernum'],
$partline['partname']
);
} else {
printf(
"
| %s |
%s |
%s |
%s | ",
$pluidtxt,
$partline['partnum'],
$partline['sernum'],
$partline['partname']
);
}
echo "
";
}
echo "
";
echo "
";
banner($print);
pageblock("right", "end");
pagetable("end");
framework("end", "", "", $print);