/**
* referral.php ,v 1.0
* http://creativecommons.org/licenses/by-sa/3.0/
* http://www.marcofolio.net/
*
* Referral checks where users came from & allows you to give
* them a personalized message
*
* Enjoy the script!
*
*/

=== CONFIGURATION ===
Open "referral.php" with your favorite PHP editor (Notepad will work too).

Allthough all variables you can set are pretty self-explaining, I'll explain
a couple of them.

-- $box_bgcolor
Set the background color of the text-box as HEX
-- $box_useImage
Should the box display an icon? (true / false)
-- $box_useBorderTop
Should the box display a top border? (true / false)
-- $box_borderStyle
Set the CSS borderStyle (solid, dotted, etc.)
-- $box_button
If the website has a button (Like the Digg.com button), use the small or
   big version? (small / big)

-- $ref_new
Enable this message for visitors that didn't came from any of the sites
   defined below (true / false)
-- $ref_new_msg
Set the message displayed to visitors that didn't came from any of the sites
   defined below
-- $ref_new_icon
Set the icon displayed to visitors that didn't came from any of the sites
   defined below

-- $ref_digg
Enable message showing to visitors that came from Digg.com (true / false)
-- $ref_digg_msg
Set the message displayed to visitors that came from Digg.com
-- $ref_digg_button
Display the Digg button? (true / false)

-- $ref_custom1
Enable the message showing to visitors from the first defined referral
   website? (true/false)
-- $ref_custom1_url
Define first referral website
-- $ref_custom1_msg
Set the message displayed to visitors that came from the first defined
   referral website.
-- $ref_custom1_icon
Set the icon displayed to visitors that came from the first defined
   referral website.

Don't forget to save the file.

Include this script on your website by using:
	include(referral.php);