1. Стандартно на PHP формируем список
@$query_newgoodlist = "SELECT * FROM tbl_goods WHERE category_id = $goodscategory_id ORDER BY name";
@$result_newgoodlist = MYSQL_QUERY($query_newgoodlist);
@$number_newgoodlist = MYSQL_NUMROWS($result_newgoodlist);
echo "