0) { // Build result paging $perPage = 9; //records per page $maxrecords_sql = "SELECT COUNT(ID) as maxrecords FROM gallery_data WHERE catID = '$catID' AND viewable = 'Y'"; $maxpages_sql = "SELECT CEILING(COUNT(ID) / ".$perPage.") AS maxpages FROM gallery_data WHERE catID = '$catID' AND viewable = 'Y'"; $maxrecords_query = mysql_query($maxrecords_sql); $temp = mysql_fetch_array($maxrecords_query); $maxrecords = $temp[0]; mysql_free_result($maxrecords_query); $maxpages_query = mysql_query($maxpages_sql); $temp = mysql_fetch_array($maxpages_query); $maxpages = $temp[0]; mysql_free_result($maxpages_query); if($_REQUEST["page"] == "") { $page = 1; } else { $page = mysqlquerycleaner($_REQUEST["page"]); } ?> 0) { ?> 1) { ?> 1) { ?>

GALLERY

0) { $count = 1; while($row = mysql_fetch_array($cat)) { ?> >
Notice: Undefined variable: row in /var/www/gallery/index.php on line 35
This gallery represents a sampling of the fine custom weapons and products that we have available to our customers. Please browse our photos and contact us for additional information, 1-888-404-5211 or Email.
No Gallery items to display.


Notice: Undefined variable: catname in /var/www/gallery/index.php on line 92


Notice: Undefined variable: maxrecords in /var/www/gallery/index.php on line 96

Notice: Undefined variable: maxpages in /var/www/gallery/index.php on line 96
gallery item(s) on page(s).
");} ?>
Notice: Undefined variable: i in /var/www/gallery/index.php on line 111
");} if($i<=$maxpages["maxpages"]-1){print("|");} } ?>
No gallery items to display
");} ?>
Notice: Undefined variable: i in /var/www/gallery/index.php on line 191
");} if($i<=$maxpages["maxpages"]-1){print("|");} } ?>