sql_query($SQLstr1); //Page // Please Set Max Rows in ../config/general.cfg.php $maxRows = $PAGE_CONFIG[$current_title]['maxrow']; $result1 = $db->sql_query($SQLstr1); $num_rows = mysql_num_rows($result1); $total_page = ceil($num_rows / $maxRows); if (isset($_GET['page'])){ $page = $_GET['page']; }else{ $page = 1; } $this_page_first = ($page-1)*$maxRows; $SQLstr1 .= "LIMIT {$this_page_first} , {$maxRows} "; $result1 = $db->sql_query($SQLstr1); $show_rows = mysql_num_rows($result1); ?> Secret Garden Florist
Best view with 1024x768, IE 7.0 or above and Flash Player 8.0 or above.
Copyright ©Secret Garden Florist Limited 2011. All rights reserved.

Fatal error: Call to a member function sql_close() on null in /var/www/vhosts/secretgardenflorist.com.hk/httpdocs/include/db.disconnect.inc.php on line 3