Using and modifying the BaZi php code

1. Basic BaZi -- the "Day Master"

Source files:
	bazi5.php 
	bazi5L.php

Both of these calculate the BaZi chart of a given day.  The difference between the two is that bazi5L also calculates the luck pillars. 

Dependencies:
   a. bazi.php must be in the same directory
   b. BaziImages folder must be in the same directory.  Lots of images are used out of this folder
   

2. Compatibility

Source Files:
	compat5.php

Does the whole of the BaZi compatibility calculations

Dependencies:
   a. bazi.php must be in the same directory
   b. BaziImages folder must be in the same directory.  Lots of images are used out of this folder
   c. BaziImages/couples.xml
      BaziImages/people.xml
      These files hold the current selection of people shown at the end of the compatibility calculation. Realistically, these files should not be used.  Rather both sets of people should be pulled from a database.   The function that reads people.xml is getPeople in bazi.php.  The function that reads couples.xml is getCouples.  The XML files should be pretty straightforward to reproduce in database tables. Reading from databases in PHP is well documented on the web.
    d. BaziImages/*.html 
       These files hold instructions that the user can choose to see in various places in the compatibility page.
      
3. Events
	eventOLD.php
	event2OLD.php
	event3OLD.php
These 3 files do the event calculations. Always start with "eventOLD". The other two are used naturally when progressing through the steps of event analysis.  Users will likely never notice that the URL changes. The names are hardcoded in the php files.  So if you change the names (and you should change the names) you will need to find where these names are used in these files and make the appropriate changes.

Dependencies:
	a. bazi.php must be in the same directory
	b. BaziImages folder must be in the same directory.  Lots of images are used out of this folder
	c. bazievent.php must be in the same directory
	d. bazieventS.php must be in the same directory

