0) ? $Size : 25; $First=(!array_key_exists('f', $_GET) || empty($_GET['f'])) ? 1 : only_digits($_GET['f'], 4); $First=(is_numeric($First) && $First>0) ? $First : 1; list($GoodAcct, $AcctName)=chk_acct($Key,'A'); if (!$GoodAcct) { $Page='0;url=failed.php'; $First=1; $Size=25; $max_cnt=0; } else { $Page='900;url=amenu.php?k='.$Key; $query='select count(*) from changelog'; $cnt_res=mysqli_query($db, $query); $cnt_row=mysqli_fetch_row($cnt_res); $max_cnt=$cnt_row[0]; if ($First > $max_cnt) { $First=max(1,intval($max_cnt / $Size) * $Size + 1); } } ?>

Change Log

'."\n"; echo '