select name,
css,
text_color,
background_color,
background_image,
link_color,
alink_color,
vlink_color,
public_p
from wp_styles where style_id = :style_id
select wp_style_images_id, file_name
from wp_style_images
where style_id = :style_id
order by file_name