Edited index.php; added Twitter share features.

Both Java script and edited the php array to generate the URL and stuff.