// Re-Queries: $t = mysql_query($sql); $ndata = mysql_num_rows($t); } // Specific re Query if (!empty($_SESSION['newentry'])) { $sql = "SELECT * FROM mstr_class WHERE dcid='" . $_SESSION['newentry'] . "' LIMIT 0,1"; $t = mysql_query($sql); $ndata = mysql_num_rows($t); $nop = ceil($ndata / $npp); $keyw = ''; } $tablew = '800px'; ?> <input type="hidden" id="redir" value="<?php echo str_replace("?", "&", getCPageLink()); ?> "/> <div style="width:<?php echo $tablew; ?> ;margin-bottom:6px;margin-top:-25px;height:24px"> <?php if (!empty($_SESSION['newentrymsg']) || $keyw != '') { ?> <div id="newemsg" class="sfont" style="text-align:center;padding:2px 6px;background:#f4f4f4;border-radius:5px"> <?php if (!empty($_SESSION['newentrymsg'])) { // conditional message echo $_SESSION['newentrymsg']; } else {
// found! // Re-Calculate page: $page = ceil($l / $npp); $nps = $npp * ($page - 1); $npl = $nps + $npp; break; } $l++; } // Re-Queries: $t = mysql_query($sql); $ndata = mysql_num_rows($t); } ?> <input type="hidden" id="redir" value="<?php echo getCPageLink(); ?> "/> <table cellspacing="0" cellpadding="0" width="850px" style="margin-bottom:2px"><tr height="30px"> <td> <?php if ($keyw == '') { } else { ?> <div class="vfont"> <button class="btn" title="Show all lost book" onclick="jumpTo('<?php echo $page_link; ?> ')" style="margin-right:20px"> <div class="bi_arrow">All lost book</div> </button>