"" AND `id` <> "" AND `address` <> "" AND `tel` <> ""', database::prefix('UserInfo') ); if (isset($_GET['rows'])) { $sql .= " LIMIT 0 , " . $_GET['rows']; } $gdlist=array(); $result = $db->query($sql); if ($row = $result->FetchRow()) { $total = $row['total']; } else { $total = 0; } $jpfTpl->assign("total", $total); $jpfTpl->display( 'countlist.html'); ?>