$dat_base_path="/home/nickc/public_html/models";
$dat_base_url="http://www.shiningmonkey.com/models";
$dat_dbhost="localhost";
$dat_dbuser="nickc_nickc";
$dat_dbpasswd="5f311sm2n";
$dat_dbname="nickc_votemodels";
$dat_table_prefix="models_";
?>
include("$include_path/FastTemplate.php3");
$tpl = new FastTemplate("templates");
$tpl->no_strict();
$tpl->define(array('internal' => 'index.html',
'main' => 'main.htm',
// COLUMN LEFT
'left' => 'left/main.htm',
// CONTACTUS
'contactus_main' => 'contactus/main.htm',
'contactus_content' => 'contactus/content.htm',
'contactus_content_success' => 'contactus/content_success.htm',
'contactus_content_form' => 'contactus/content_form.htm',
'boxtop' => 'boxes/toplist/main.htm',
// COMMENTS
'comments_main' => 'comments/main.htm',
'comments_comments' => 'comments/comments.htm',
'comments_comments_no' => 'comments/comments_no.htm',
// COMMENT
'comment_content' => 'comment/content.htm',
'comment_preview' => 'comment/preview.htm',
'comment_table' => 'comment/table.htm',
// MY COMMENTS
'my_comments_content' => 'my_comments/content.htm',
'my_comments_comments' => 'my_comments/comments.htm',
'my_comments_no_comments' => 'my_comments/no_comments.htm',
// VIEW COMMENTS
'view_comment_main' => 'view_comment/main.htm',
'view_comment_comments' => 'view_comment/comments.htm',
'view_comment_comments_no' => 'view_comment/comments_no.htm',
// COMMENT REPLY
'comment_reply_main' => 'comment_reply/main.htm',
'comment_reply_preview' => 'comment_reply/preview.htm',
'comment_reply_reply_table' => 'comment_reply/reply_table.htm',
'comment_reply_content_table' => 'comment_reply/content_table.htm',
// EDIT COMMENT
'edit_comment_content' => 'edit_comment/content.htm',
'edit_comment_preview' => 'edit_comment/preview.htm',
'edit_comment_reply_table' => 'edit_comment/reply_table.htm',
// FAQ
'faq' => 'faq/main.htm',
'faq_content' => 'faq/content.htm',
// LOST
'lost_main' => 'lost/main.htm',
'lost_message' => 'lost/content_message.htm',
'lost_table' => 'lost/content_table.htm',
'lost_form' => 'lost/content_form.htm',
// SEARCH
'search_main' => 'search/main.htm',
'search_form' => 'search/form.htm',
'search_results' => 'search/search_results.htm',
'search_not_found' => 'search/not_found.htm',
'search_content_table' => 'search/content_table.htm',
// FORUMS
'forums_main' => 'forums/main.htm',
'forums_content' => 'forums/content.htm',
'row_forum' => 'forums/row_forum.htm',
'row_forums_title' => 'forums/row_forums_title.htm',
// THREADS
'threads_main' => 'threads/main.htm',
'threads_content' => 'threads/content.htm',
'threads_table' => 'threads/forum_table.htm',
'threads_table_locked' => 'threads/forum_table_locked.htm',
'threads_table_rows' => 'threads/forum_table_rows.htm',
'threads_table_no_threads' => 'threads/forum_table_no_threads.htm',
// POSTS
'post_content' => 'posts/content.htm',
'post_table' => 'posts/post_table.htm',
'post_table_empty' => 'posts/post_table.htm',
// NEW THREAD
'new_thread_main' => 'new_thread/main.htm',
'new_thread_content' => 'new_thread/content.htm',
'new_thread_preview' => 'new_thread/preview.htm',
'new_thread_table' => 'new_thread/table.htm',
// POST REPLY
'post_reply_main' => 'post_reply/main.htm',
'post_reply_content' => 'post_reply/content.htm',
'post_reply_preview' => 'post_reply/preview.htm',
'post_reply_table' => 'post_reply/table.htm',
'post_reply_posts_table' => 'post_reply/posts_table.htm',
// INDEX
'index_nav' => 'index/nav.htm',
'dd_user_tpes' => 'index/dd_user_types.htm',
'index_content' => 'index/content.htm',
// SIGNUP
'signup_form' => 'signup/form.htm',
'signup_content' => 'signup/content.htm',
// SHOW_IMAGE
'show_image_content' => 'show_image/content.htm',
// LOGIN PAGE
'login_page_form' => 'login_page/form.htm',
// MESSAGE
'message_content' => 'message/content.htm',
'message_reply_table' => 'message/reply_table.htm',
'message_reply_table_deny' => 'message/reply_table_deny.htm',
// MY MESSAGES
'my_messages_reply_table' => 'my_messages/reply_table.htm',
'my_messages_content' => 'my_messages/content.htm',
// MESSAGES
'messages_content' => 'messages/content.htm',
'messages_content_nologin' => 'messages/content_nologin.htm',
// VIEW MSG
'view_msg_content' => 'view_msg/content.htm',
'view_msg_reply' => 'view_msg/reply.htm',
// REPLY MSG
'reply_msg_content' => 'reply_msg/content.htm',
// UPLOAD
'upload_content' => 'upload/content.htm',
'upload_image_code' => 'upload/image_code.htm',
'upload_form' => 'upload/form.htm',
// VIEW MY COMMENTS
'view_my_comments_content' => 'view_my_comments/content.htm',
'view_my_comments_comments' => 'view_my_comments/comments.htm',
'view_my_comments_no_comments' => 'view_my_comments/no_comments.htm',
// INCLUDES
'vote_bar' => 'include/vote_bar/main.htm',
'vote_bar_hor' => 'include/vote_bar/main_hor.htm',
'profile_bar' => 'include/profile_bar/main.htm',
// FUNCTIONS
'show_profile' => 'functions/show_profile/main.htm',
// PROFILE
'profile_content' => 'profile/content.htm',
// BIRTHDAY
'birthday_content' => 'birthday/main.htm',
'birthday_list' => 'birthday/list.htm',
'birthday_content_body' => 'birthday/birthday_content_body.htm',
// ONLINE USERS
'online_content' => 'online/main.htm',
'online_content_body' => 'online/online_content_body.htm',
// WHO FAVORITES YOU
'favorite_content' => 'favorite/main.htm',
'favorite_content_body' => 'favorite/favorite_content_body.htm',
'favorite_table_empty' => 'favorite/favorite_table_empty.htm',
// WHO RATED YOU
'rated_content' => 'rated/main.htm',
'rated_content_body' => 'rated/rated_content_body.htm',
// CONTEST
'contest_content' => 'contest/main.htm',
'contest_content_body' => 'contest/contest_content_body.htm',
// LAST VISISTS IN SITE
'visits_content' => 'visits/main.htm',
'visits_content_body' => 'visits/visits_content_body.htm',
// NEWS PUBLISH
'news_content' => 'news/main.htm',
'news_content_body' => 'news/news_content_body.htm',
// FAVORITES
'favorites_content' => 'favorites/content.htm',
'favorites_content_must_login' => 'favorites/content_must_login.htm',
'favorites_profile_content' => 'favorites/profile_content.htm',
'favorites_fav_table' => 'favorites/fav_table.htm',
'favorites_fav_table_empty' => 'favorites/fav_table_empty.htm',
// NEWEST MEMBERS
'newest_members_content' => 'newest_members/content.htm',
// NEWEST PICS
'newest_pics_content' => 'newest_pics/content.htm',
// LASTLOGGEDIN
'lastloggedin_content' => 'lastloggedin/content.htm',
));
// COLUMN LEFT
$tpl->define_dynamic('block_stats', 'left');
$tpl->define_dynamic('row_boxtop', 'boxtop');
// VOTE BAR
$tpl->define_dynamic('row_vote_bar', 'vote_bar');
$tpl->define_dynamic('row_vote_bar_hor', 'vote_bar_hor');
$tpl->define_dynamic('row_comment', 'comments_comments');
$tpl->define_dynamic('row_view_comment', 'view_comment_comments');
$tpl->define_dynamic('row_search_result', 'search_results');
$tpl->define_dynamic('row_post', 'post_table');
// POST REPLY
$tpl->define_dynamic('block_preview', 'post_reply_content');
$tpl->define_dynamic('row_posts_table', 'post_reply_posts_table');
// NEW THREAD
$tpl->define_dynamic('new_thread_block_preview', 'new_thread_content');
// SIGNUP
$tpl->define_dynamic('block_cusername', 'signup_form');
$tpl->define_dynamic('block_cemail', 'signup_form');
$tpl->define_dynamic('block_cpassword', 'signup_form');
$tpl->define_dynamic('block_hint', 'signup_form');
$tpl->define_dynamic('block_crealname', 'signup_form');
$tpl->define_dynamic('block_cage', 'signup_form');
$tpl->define_dynamic('block_birthday', 'signup_form');
$tpl->define_dynamic('block_cuser_type', 'signup_form');
$tpl->define_dynamic('block_cdescription', 'signup_form');
$tpl->define_dynamic('block_cstate', 'signup_form');
$tpl->define_dynamic('block_ccountry', 'signup_form');
$tpl->define_dynamic('block_curl', 'signup_form');
$tpl->define_dynamic('block_cquote', 'signup_form');
// COMMENT
$tpl->define_dynamic('block_comment_preview', 'comment_content');
// MY COMMENTS
$tpl->define_dynamic('row_my_comments', 'my_comments_comments');
// LOGIN PAGE
$tpl->define_dynamic('block_must_signup', 'login_page_form');
// MESSAGES
$tpl->define_dynamic('block_msg_return', 'messages_content');
$tpl->define_dynamic('block_trash', 'messages_content');
// VIEW MSG
$tpl->define_dynamic('row_view_msg_links', 'view_msg_content');
// UPLOAD
$tpl->define_dynamic('field_local_image', 'upload_form');
$tpl->define_dynamic('field_remote_image', 'upload_form');
$tpl->define_dynamic('row_view_my_comments', 'view_my_comments_comments');
// PROFILE
$tpl->define_dynamic('profile_message', 'profile_content');
// FAVORITES
$tpl->define_dynamic('row_fav_table', 'favorites_fav_table');
// BIRTHDAY
$tpl->define_dynamic('row_birthday', 'birthday_list');
// NEWEST MEMBERS
$tpl->define_dynamic('row_newest_members', 'newest_members_content');
// NEWEST PICS
$tpl->define_dynamic('row_newest_pics', 'newest_pics_content');
// LASTLOGGEDIN
$tpl->define_dynamic('lastloggedin_row_photos', 'lastloggedin_content');
$tpl->define_dynamic('lastloggedin_photo', 'lastloggedin_content');
$tpl->assign(array(
'MY_PAYPAL_EMAIL' => $My_PayPal_Email,
'MY_PAYPAL_RECEIVER_EMAIL_1' => $My_PayPal_Receiver_Email_1,
'MY_PAYPAL_RECEIVER_EMAIL_2' => $My_PayPal_Receiver_Email_2,
'MY_2CHECKOUT_ID' => $My_2checkout_id,
'AMOUNT' => $amount,
'SITE_TITLE' => $site_title,
'OWNER_NAME' => $owner_name,
'OWNER_EMAIL' => $owner_email,
'LOCK_ADMIN_WITH_OWNER_IP' => $lock_admin_with_owner_ip,
'OWNER_IP' => $owner_ip,
'SIGNUP_DATES' => $signup_dates,
'ONLINE_EXPIRE' => $online_expire,
'TABLE_FILE' => $table_file,
'TABLE_BORDER_COLOR' => $table_border_color,
'TABLE_TITLE_COLOR' => $table_title_color,
'TABLE_CONTENT_COLOR' => $table_content_color,
'PAGE_BG_COLOR' => $page_bg_color,
'ALT1_BGCOLOR' => $alt1_bgcolor,
'ALT2_BGCOLOR' => $alt2_bgcolor,
'BASE_FONT' => $base_font,
'BASE_FONT_SIZE' => $base_font_size,
'BASE_FONT_COLOR' => $base_font_color,
'BASE_LINK_COLOR' => $base_link_color,
'HOVER_LINK_COLOR' => $hover_link_color,
'HOVER_LINK_BG_COLOR' => $hover_link_bg_color,
'TABLE_TITLE_TEXT_COLOR' => $table_title_text_color,
'ERROR_FONT_COLOR' => $error_font_color,
'TITLE_IMAGE' => $title_image,
'SPEED_RATE' => $speed_rate,
'ML_ORDER_TYPES_BY_RAND' => $ml_order_types_by_rand,
'ML_USE_MIN_RATING' => $ml_use_min_rating,
'ML_MIN_RATING' => $ml_min_rating,
'ML_USE_MAX_COUNT' => $ml_use_max_count,
'ML_COUNT' => $ml_count,
'MAX_UN_LENGTH' => $max_un_length,
'SHOW_SITE_STATS' => $show_site_stats,
'ADMIN_USERS_NP' => $admin_users_np,
'ADMIN_USERS_PP' => $admin_users_pp,
'LEFT_COL_WIDTH' => $left_col_width,
'RIGHT_COL_WIDTH' => $right_col_width,
'MAIN_COL_WIDTH' => $main_col_width,
'ALLOW_LOCAL_IMAGE' => $allow_local_image,
'ALLOW_REMOTE_IMAGE' => $allow_remote_image,
'COMMENTS_PER_PAGE' => $comments_per_page,
'COMMENTS_REPLIES_PER_PAGE' => $comments_replies_per_page,
'COMMENTS_PER_USER_PAGE' => $comments_per_user_page,
'ALLOW_ANONYMOUS_COMMENTS' => $allow_anonymous_comments,
'AC' => $ac,
'TOPLISTS_USERS_PER_PAGE' => $toplists_users_per_page,
'SEARCH_USERS_PER_PAGE' => $search_users_per_page,
'POSTS_PER_PAGE' => $posts_per_page,
'NP' => $np,
'MAX_IMAGE_WIDTH' => $max_image_width,
'MAX_IMAGE_HEIGHT' => $max_image_height,
'MAX_IMAGE_SIZE' => $max_image_size,
'LOW_AGE_LIMIT' => $low_age_limit,
'HIGH_AGE_LIMIT' => $high_age_limit,
'WATERMARK_IMAGES' => $watermark_images,
'WATERMARK_TEXT' => $watermark_text,
'VIEW_PREVIOUS_RATER' => $view_previous_rater,
'AUTOMATICALLY_APPROVE_PICTURE' => $automatically_approve_picture,
'BANNER_ENABLE' => $banner_enable,
'MUSIC_ENABLE' => $music_enable,
'BASE_PATH' => $base_path,
'INCLUDE_PATH' => $include_path,
'CACHE_PATH' => $cache_path,
'IMAGE_PATH' => $image_path,
'FONT_PATH' => $font_path,
'BANNER_IMAGE_PATH' => $banner_image_path,
'BASE_URL' => $base_url
));
?>