ltwCalendar v3.0
written by Matt Wade - http://codewalkers.com
upgrades by Tom Levandusky
demo of ltwCalendar at http://codewalkers.com/cal/calendar.php
I don't care for all that license crap. Just use it as you will, but give credit where it is due.

Install :

1. Stick all the files in a dir.
2. Modify the ltw_config.php file for your options.
3. Run ltw_install.php
4. Delete the ltw_install.php.

If you want to create more users in the future, upload ltw_install.php again. 
But always delete it when you are done.


Upgrade from version 2.x:
===============================
For users that already have a version 2.x calendar running and want to upgrade.

1) Create the categories table. 

CREATE TABLE ltw_category
( id int(11) NOT NULL auto_increment, 
  name varchar(30) NOT NULL, 
  fgcolor varchar(8) NOT NULL default '#000000',
  bgcolor varchar(8) NOT NULL default '#ffffff',
  PRIMARY KEY (id)
) TYPE=MyISAM;";


2) Update the event table.

alter table ltw_events add column day_event tinyint(4) NOT NULL default '0';
alter table ltw_events add column cat_id int(11) NOT NULL default '1';


3) Add the following to your ltw_config.php.

  // this is the table to store category data in
	$ltw_config['db_table_category'] = 'ltw_category';

  // These are the names for the header & footer files
  $ltw_config['html_header_file']  = 'ltw_header.php';
  $ltw_config['html_footer_file']  = 'ltw_footer.php';

  //these are the default colors for event links if no category found
	$ltw_config['cat_fgcolor'] = "#000000";
	$ltw_config['cat_bgcolor'] = "#ffffff";

4) copy the new calendar.php & ltw_classes.php into your calendar directory.

