Modification Name: Php Style
Author(s): AllenAyres
Description: Creates a vars_style.inc.php file in whch you can include your forum styles/header/footer/etc into any php page.
Demo: none
Requirements: ubb.classic™ 6.7
Download Link: http://www.ubbdev.com/ubb/upload/00000494/php_style.zip Credits: Burak for lots of assistance

and Charles Capps for pointers
Rather easy to install and run. It's of beta quality only because I didn't include any visual info (html) that the file actually did what it was supposed to. You modify cp.cgi and upload the the included .cgi file and access it via your forum's /cp.cgi?ubb=styles_php. It runs and writes the vars_style.inc.php file, giving you all the styles data you could need to use in any php page in your site. Require the file into your .php file (example: index.php) and call the variables ($Header, $Footer, $TableTop, $TableColorStrip, $FontFace, etc. etc. etc.) - for a full list, check the included file for what variables are written.