finished all pdf-generating php files