FULL CODE
<?php
if(!defined('INCLUDE_CONFIG')) {
define('INCLUDE_CONFIG', true);
/* frides homepage (fully qualified url) */
define('FRIDES_HOMEPAGE', 'http://www.[HIDDEN]/php/frides/rides_list.php');
/* administrator email address */
define('ADMIN_EMAIL', '[HIDDEN]');
/* database connection */
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', '[HIDDEN]');
define('DB_PASSWORD', '[HIDDEN]');
/* database names */
define('DB_FRIDES', '[HIDDEN]_frides');
define('DB_PHPBB', '[HIDDEN]_phpBB2');
/* table names */
define('DB_PHPBB_USERS', DB_PHPBB . '.phpbb_users');
define('DB_FRIDES_RIDE', DB_FRIDES . '.ride');
define('DB_FRIDES_OWNER', DB_FRIDES . '.owner');
define('DB_FRIDES_FEEDBACK', DB_FRIDES . '.feedback');
/* number of checkboxes for 'ride' details */
define('RIDE_CHECKBOX_COUNT', 45);
/* session */
define('SESSION_NAME', '[HIDDEN]_frides_sid');
/* pathnames (end with /) */
define('PATH_TO_RIDE_PHOTOS', './photos/');
define('PATH_TO_PHPBB', '/forums/');
/* templates */
define('RIDE_SUBMIT_TPL', 'frides_submit.htm');
define('LOGIN_TPL', 'frides_login.htm');
define('RIDES_LIST_TPL', 'frides_list.htm');
define('RIDE_DETAILS_TPL', 'frides_details.htm');
define('PROFILE_SUBMIT_TPL', 'frides_submit_owner_info.htm');
define('PHOTO_SUBMIT_TPL', 'frides_add_pics.htm');
define('PHOTO_UPLOAD_TPL', 'frides_add_pics_upld.htm');
define('UPLOAD_PROGRESS_TPL', 'photo_upload_progress.htm');
define('EMAIL_SUBMIT_USER_TPL', 'email_submit_user.txt');
define('EMAIL_SUBMIT_ADMIN_TPL', 'email_submit_admin.txt');
define('RATE_TPL', 'rate.htm');
define('COMMENT_TPL', 'comments.htm');
/* script filenames */
define('PROFILE_SUBMIT_PHP', 'profile_submit.php');
define('RIDE_SUBMIT_PHP', 'ride_submit.php');
define('PHOTO_PANEL_PHP', 'photo_submit.php');
define('LOGIN_PHP', 'login.php');
define('RIDES_LIST_PHP', 'rides_list.php');
define('RIDE_DETAILS_PHP', 'ride_details.php');
define('COMMENT_PHP', 'comment.php');
define('RATE_PHP', 'rate.php');
/* login messages */
define('LOGIN_MSG_DEFAULT', '');
define('LOGIN_MSG_MISSING', '<b><font color="#FF0000">Please enter BOTH a username AND a password.</font></b>');
define('LOGIN_MSG_NOMATCH', '<b><font color="#FF0000">The username and password entered did not match.</font></b>');
/* ride_submit messages */
define('RIDE_SUBMIT_MSG_DEFAULT', '<b><font size="4" face="Times New Roman"> Note: "</font><font color="#FF0000" face="Times New Roman" size="4">*</font><font size="4" face="Times New Roman">" are required Fields.</font></b>');
define('RIDE_SUBMIT_MSG_MISSING_YEAR', '<b><font color="#FF0000">Please enter the "year".</font><br>');
define('RIDE_SUBMIT_MSG_MISSING_MODEL', '<b><font color="#FF0000">Please enter the "model".</font><br>');
define('RIDE_SUBMIT_MSG_MISSING_TYPE', '<b><font color="#FF0000">Please enter the "type".</font><br>');
/* profile_submit messages */
define('PROFILE_SUBMIT_MSG_DEFAULT', '<b><font size="4" face="Times New Roman"> Note: "</font><font color="#FF0000" face="Times New Roman" size="4">*</font><font size="4" face="Times New Roman">" are required Fields.</font></b>');
define('PROFILE_SUBMIT_MSG_MISSING_FULL_NAME', '<font color="#FF0000"><b>Please enter your full name.</font><br>');
define('PROFILE_SUBMIT_MSG_MISSING_CITY', '<font color="#FF0000"><b>Please enter your city.</font><br>');
define('PROFILE_SUBMIT_MSG_MISSING_STATE', '<font color="#FF0000"><b>Please enter your state/province.</font><br>');
define('PROFILE_SUBMIT_MSG_MISSING_COUNTRY', '<font color="#FF0000"><b>Please enter your country.</font><br>');
define('PROFILE_SUBMIT_MSG_MISSING_WHERE_HEARD', '<font color="#FF0000"><b>Please tell us where you heard about [HIDDEN].</font><br>');
/* number of days a new ride is considered "new" */
define('NUM_DAYS_NEW', 7);
/* number of days a ride is cotm (0=forever) */
define('NUM_DAYS_COTM', 0);
/* images */
define('IMG_BULLET', '<img src="bullet.gif" width="6" height="6" border="0">');
define('IMG_ICON_NEW', '<img src="new.gif" width="30" height="14" border="0">');
define('IMG_ICON_COTM', '<img src="cotm_icon.gif" width="20" height="36" border="0">');
define('IMG_ICON_URL', '<img src="url_icon.gif" width="14" height="17" border="0">');
define('IMG_ICON_ICQ', '<img src="icq_icon.gif" width="15" height="17" border="0">');
define('IMG_ICON_MSN', '<img src="msn_icon.gif" width="16" height="16" border="0">');
define('IMG_ICON_AIM', '<img src="aim_icon.gif" width="13" height="16" border="0">');
define('IMG_ICON_YIM', '<img src="yim_icon.gif" width="16" height="16" border="0">');
define('IMG_ICON_TRASH', '<img src="icon_trash.gif" width="13" height="16" border="0">');
define('IMG_CHECKMARK', '<img src="check.gif" width="20" height="20" border="0">');
define('IMG_BUTTON_EMAIL', '<img src="icon_email.gif" width="59" height="18" border=0">');
define('IMG_BUTTON_ICQ', '<img src="icon_icq.gif" width="59" height="18" border="0">');
define('IMG_BUTTON_AIM', '<img src="icon_aim.gif" width="59" height="18" border="0">');
define('IMG_BUTTON_YIM', '<img src="icon_yim.gif" width="59" height="18" border="0">');
define('IMG_BUTTON_MSN', '<img src="icon_msnm.gif" width="59" height="18" border="0">');
define('IMG_BUTTON_PM', '<img src="icon_pm.gif" width="59" height="18" border="0">');
define('IMG_NO_EMAIL', '<img src="icon_no_email.gif" width="59" height="18" border="0">');
define('IMG_NO_ICQ', '<img src="icon_no_icq.gif" width="59" height="18" border="0">');
define('IMG_NO_AIM', '<img src="icon_no_aim.gif" width="59" height="18" border="0">');
define('IMG_NO_YIM', '<img src="icon_no_yim.gif" width="59" height="18" border="0">');
define('IMG_NO_MSN', '<img src="icon_no_msn.gif" width="59" height="18" border="0">');
define('IMG_NO_THUMBNAIL', '<img src="no_image.gif" width="104" height="92" border="0">');
define('IMG_COMMENT_STAR', '<img border="0" src="star.gif" width="16" height="16">');
define('IMG_COMMENT_HALFSTAR', '<img border="0" src="half_star.gif" width="8" height="16">');
/* email subject for email link */
define('EMAIL_SUBJECT', 'About your ride');
/* aim message for aim link */
define('AIM_MESSAGE', 'Hello Are you there?');
/* thumbnail width and height (used for both creating and displaying) */
define('THUMBNAIL_W', 100);
define('THUMBNAIL_H', 64);
/* cotm photo width and height */
define('COTM_IMAGE_W', 320);
define('COTM_IMAGE_H', 240);
define('COTM_JPG_FILE', PATH_TO_RIDE_PHOTOS . 'cotm.jpg');
/* how to handle thumbnail creation when aspect ratios differ
(0 - stretch, 1 - clip, 2 - fit) */
define('THUMBNAIL_RESIZE_METHOD', 2);
/* max. allowable size of photo upload in bytes */
define('PHOTO_MAXSIZE', 102400);
/* largest possible photo_id (ie. max. number of photos user allowed to store on website */
define('MAX_PHOTO_NUM', 3);
/* JPEG quality 0 (worst quality, smaller file) to 100 (best quality, biggest file)*/
define('JPEG_QUALITY', 80);
/* auto login cookie names */
define('AUTOLOGIN_USERNAME', '[HIDDEN]');
define('AUTOLOGIN_PASSWORD', '[HIDDEN]');
/* email settings */
//define('SMTP_HOST', 'shawmail');
define('EMAIL_FROM', '[HIDDEN]');
/* rating analysis bars' dimensions */
define('ANAL_BAR_W', 12); //12
define('ANAL_BAR_H', 101); //101
/* max. number of 'rides' per user */
define('MAX_NUM_RIDES', 5);
}
?>