ncm-mysql: pan template cleanup (new layout)