warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /var/data/project/sites/all/modules/custom/book_gallery/gallery.class.php on line 81.
warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/data/project/sites/all/modules/custom/book_gallery/gallery.class.php on line 83.