you will have to modify this to fit your needs and will be ran from the CLI unless you make a php page for this to be in.
Code:
mysql -uadmin -p'cat /etc/psa/.psa.shadow' psa
select d.displayName, du.httpdocs, du.httpsdocs, du.subdomains, du.web_users, du.anonftp from disk_usage du join domains d on d.id = du.dom_id;