include("head.php");
include ("string_funcs.php");
include ("dbaccess.php");
?>
$lc_Query = "select * from digests order by ii_pkdigest desc";
$lo_DB = new DBAccess ();
$ll_Result = false;
$vn_Start = $_GET["vn_Start"];
$vn_Limit = $_GET["vn_Limit"];
if (empty ($vn_Start)) {
$ll_Result = $lo_DB->m_DBQuery ($lc_Query);
$vn_Start = 0;
} else {
$ll_Result = $lo_DB->m_DBQuery ($lc_Query, "digests", $vn_Limit + 1, $vn_Start);
}
if (!ll_Result) {
echo "There has been an error with the query.";
exit;
}
$vn_Limit = empty ($vn_Limit) ? 20 : $vn_Limit;
?>
include("foot.php");
?>