?php
//globalvars.php
//NOTE: THIS FILE, ALONG WITH /ADMIN/SETUP FILES WILL AUTOMATICALLY CREATE DBASE AND ALL TABLES
//moved below lines from globalvars.php so as not to cause errors on front end when adding new functionality to site
//require_once 'include2/admin/functions/firstloadfunc.php';
////////////////// database elements //////////////////
$DB_Name = 'woolcomp_cms2'; // Database name to connect to
$DB_Host = 'localhost'; // Host which MySQL resides on
$DB_User = 'woolcomp'; // Username to connect to the DB with
$DB_Cpanel_User = 'woolcomp'; // Username to connect to the DB with
$DB_Password = '8RDStUbX2B3D'; // Password for the user
//////////////// end database elements ////////////////
////////////////// server elements //////////////////
$server_dir = 'woolcomp';
$server_dir_clean = 'woolcomp';
$url_base = 'woolcompany';
$url_tld = 'com';
$server_full_path = true; //folder name on server is server_dir.$tld (used for ckeditor and anywhere we need to pull full path)
$cpanel = true; //is this a cpanel site? if so, use default cpanel path (/$server_folder/client)
$www_dir = 'www'; // possible values: www2 or www 9not applicable if cpanel site
$server_name = 'cpanel2'; // name of the server (for usage only at this point)
$server_folder = 'home'; //name of the folder on cpanel (home or home2 for now
$admin_folder = 'console';
$server_root_path = '/'.$server_folder.'/'.$server_dir.'/'; //path from server root (use when do not have an 'include' folder symlink
$_SESSION['server_root_path'] = $server_root_path;
//$globalvars_root_path = '/www/php/include2/'.$server_dir.'/include2/globals/globalvars.php'; //path from server root (use when do not have an 'include' folder symlink
$globalvars_root_path = '/'.$server_folder.'/'.$server_dir.'/include2/globals/globalvars.php'; //path from server root (use when do not have an 'include' folder symlink
$_SESSION['globalvars_root_path'] = $globalvars_root_path;
$auth_script_root_path = '/'.$server_folder.'/'.$server_dir.'/'; //path from server root to scripts folder
$_SESSION['auth_script_root_path'] = $auth_script_root_path;
/////////////// end server elements ////////////////
// Shopping Cart Elements
$cart_site = 1; //is this a cart site (1 = yes)
$cart_departments = 1; //does the site have departments and categories (0 = categories only)
$cart_order_email = ''; //enter email address where order emails are sent (blank will default to email for office_id = 1
$cart_members_only = 0; //do we allow only registered members to view cart items?
$client_company_name = 'Wool Company';
$client_short_name = 'Wool Company'; //short name used on product list (sort by) and items on front
$show_seo_elements = true; //do we show fields for page headers and image alt tags
$global_page_title = 'The Wool Company - quality yarns, needles and accessories';
$global_page_description = 'The Wool Company - quality yarns, needles and accessories at affordable prices.';
$global_page_keywords = 'wool company bandon oregon knitting weaving spinning';
$global_img_alt = $client_company_name.' - quality yarns, needles and accessories.';
$adminheader = $client_short_name.' Admin Console';
$adminemail = 'woolco@mycomspan.com';
$administrator = 'Kelly Oney'; //site owner
$client_notification = false; //this will email the client when there is a login error
$client_notification_email = 'dan@codegoodies.com'; //only needed if above variable is true
$defaultemail = 'woolco@mycomspan.com';
$design_year = '2004'; // this is for copyright display(i.e.: design_year - current_year)
$seo_term_1 = 'The Wool Company - quality yarns, needles and accessories at affordable prices.';
//need php version 5.1+ before we can use - do not have on Rufus yet
//need to call when needing to display time
date_default_timezone_set('America/Los_Angeles'); //default time zone - full list at http://www.php.net/manual/en/timezones.php
$allowNonUS = true; // do we allow visitors to the CMS from outside the USA?
$limitIPrange = false; //this will limit the visitors to the admin console to only those in the approved list on approvedipaddress.php /home/nicki/scripts2/admin_authentication/)
$ssl_site = yes; //does this site have SSL certificate?
$admin_url = 'http://www.'.$url_base.'.'.$url_tld.'/'.$admin_folder;
$domainurl = 'http://www.'.$url_base.'.'.$url_tld;
$url = 'http://www.'.$url_base.'.'.$url_tld;
$domainname = $url_base.'.'.$url_tld;
$Site_Name = $client_company_name;
$homeurl = 'http://www.'.$url_base.'.'.$url_tld.'/index.php';
$multi_tier_login_office = false; //does each office have a unique login where it controls its info and staff?
$multi_tier_login_staff = false; //does each staff member have a unique login to modify his/her info?
$sidebar_width = 175; //this is only for displaying notes in sidebar section of admin console
// google maps API key - get new key at http://code.google.com/apis/maps/signup.html
$google_maps_api_key = 'AIzaSyAaI1Wpuhcuy-wyZjmqPxmI9mLPG5W8J2o';
/////// UNIQUE MODULES /////
$unique_modules = false;
$unique_email_hide=0;
$unique_email_url = 'https://mail.c21bestrealty.com/exchange';
$unique_email_pop = 1; //should this open in a new window? (1 = yes)
$unique_forms_hide=0;
$unique_forms_url = 'http://c21best.rwre.com/documents/doc_display.php';
$unique_forms_pop = 1; //should this open in a new window? (1 = yes)
$unique_assessor_hide=0;
$unique_assessor_mls= 1; //which mls_id should be used (1-4)
$unique_assessor_url = 'http://c21best.rwre.com/atis.php?agentid=';
$unique_assessor_pop = 1; //should this open in a new window? (1 = yes)
$unique_calculator_hide=0;
$unique_calculator_url = 'http://www.c21bestrealty.com/webfront/calculators/mort-calc.php?price=150000';
$unique_calculator_pop = 1; //should this open in a new window? (1 = yes)
$unique_calculator_mortgage = 1; //Is this a mortgage calculator? (1 = yes)
/////// END UNIQUE LOGIN MODULES /////
$menu_depth = 2; //number of drop down levels allowed in main menu (possible values 1,2,3)
////////////////// end user validation variables //////////////////
$require_custom_phone_formats = 0; //do we require phone number to be in specific formats
// List of possible telephone formats: You can add new formats or modify the existing ones
$phone_formats = array('###-###-####', '###.###.####', '(###)###-####', '####-###-###', '####-####-####',
'##-###-###-####', '##-###-####-####', '####-####', '###-###-###', '#####-###-###', '##########');
////////////////// real estate variables //////////////////
// leave alone if not a real estate web site
$display_expanded_search = 1; //include search by mls# below regular search form
$hide_search_page = 1; //hide link to main property search page (RE sites should have sidebar form on all pages)
$mls_id1_name='rmls';
$mls_listing_office_id1 = '2CBR01';
$mls_listing_agent_id1 = '';
$mls_id1_arr = array('commercial','farm','land','multi','residential'); //property types associated with this mls
$rets_login_url1 = "http://rets.rmlsweb.com:6103/rets/login";
$rets_username1 = "DS04CG50";
$rets_password1 = "DS0904CG";
$rets_user_agent1 = "CodeGoodies/1.0";
$mls_id2_name='';
$mls_listing_office_id2 = '';
$mls_listing_agent_id2 = '';
$mls_id2_arr = array('commercial','farm','land','multi','residential'); //property types associated with this mls
$mls_id3_name='';
$mls_listing_office_id3 = '';
$mls_listing_agent_id3 = '';
$mls_id3_arr = array('commercial','farm','land','multi','residential'); //property types associated with this mls
$mls_id4_name='';
$mls_listing_office_id4 = '';
$mls_listing_agent_id4 = '';
$mls_id4_arr = array('commercial','farm','land','multi','residential'); //property types associated with this mls
$mls_default_city='All Coos County Cities'; //default city to show up on drop down menu
$mls_default_city_value='Coos County'; //default city value
$mls_limit_search=0; //do you want to limit the search to only specific cites? 1=yes, 0=no
$mls_search_cities[] = 'Coos Bay/North Bend'; //enter the cities to appear in the search form, must match database values
$mls_search_cities[] = 'Bandon';
$mls_search_cities[] = 'Coquille';
$mls_search_cities[] = 'Myrtle Point';
$mls_search_cities[] = 'Powers';
$mls_search_cities[] = 'Charleston';
$mls_search_cities[] = 'Lakeside';
$mls_search_cities[] = '';
//$leadrouter_email = '220913.lead@Cendant.LeadRouter.com'; //Realty only
$copy_email = ''; //send copies of all email request to this address
/////////////// end real estate variables ////////////////
// office Elements
$office_multi_office = 0; //is this a multiple office company (1 = yes)
////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
///////////////// IMPORTANT NOTE ///////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
// Import ups_delivery_surcharge_zip into table after created
// Admin menu items
// enter in order to display on menu
$menu[] = ''; //required blank for menu display function
$menu[] = 'pages';
$menu[] = 'subpages';
$menu[] = 'blocks';
//$menu[] = 'forms'; //IMPORTANT NOTE: when using this, you must go into /include2/ckeditor/config.js and comment in line 45(['custom_forms']).
$menu[] = 'events';
$menu[] = 'videos';
$menu[] = 'cart';
$menu[] = 'orders';
$menu[] = 'cart_setup';
$menu[] = 'offices';
$menu[] = 'social_networking'; //twitter and facebook updates
//$menu[] = 'comments';
//$menu[] = 'faq';
//$menu[] = 'news';
//$menu[] = 'photoalbums';
//$menu[] = 'links';
$menu[] = 'users'; //administrators
$menu[] = 'misc';
//$menu[] = 'monthlyrentals';
//$menu[] = 'fsbo';
//$menu[] = 'links';
//$menu[] = 'directory';
//$menu[] = 'openhouses';
//$menu[] = 'files';
//$menu[] = 'members';
//$menu[] = 'staff';
//$menu[] = 'jobops';
//$menu[] = 'press';
//$menu[] = 'file_entries_1';
//$menu[] = 'file_entries_2';
//$menu[] = 'file_entries_3';
//$menu[] = 'file_entries_4';
//$menu[] = 'file_entries_5';
//$menu[] = 'file_entries_6';
//$menu[] = 'aa_sitespecific1'; //menus specific to this website only
//$menu[] = 'customforms_1'; // this needs to be broken apart by _ and recreate array for custom forms
//$menu[] = 'customforms_12'; // this needs to be broken apart by _ and recreate array for custom forms
//$menu[] = 'customforms_13'; // this needs to be broken apart by _ and recreate array for custom forms
//$menu[] = 'customforms_16'; // this needs to be broken apart by _ and recreate array for custom forms
$menu_count = count($menu); // need this to declare class=last in the loop
// MOVED TO BOTTOM OF PAGE TO ALLOW FOR PAGE VARS TO BE USED ON INITIAL SETUP
// this include will create database, create all tables beased on above and insert rows as needed.
//include 'include2/admin/setup/initial_setup.php';
////////////////// pages page elements //////////////////
$pages_allow_create = 1; //do we allow client to create pages? 1 = yes
$pages_drop_down_depth = 2; //number of drop-downs to include in the main head menu (values 0-3)
$pages_default_path = '/more-info/?page_id='; //default path for created pages
$pages_hide_unassociated = 0; //do we hide the "unassociated pages" section? 1 = yes
$page_search_by_url_hide = 0; //do we hide the "search_by_url" form
$page_custom_url_hide = 0; //do we allow client to create custom urls?
$page_custom_url_allow_offsite = true; //do we allow client to create custom URLs to offsite websites?
$pages_no_delete[] = 1; //all pages with ids in this array will me undeletable
/*$pages_no_delete[] = 11;
$pages_no_delete[] = 12;
$pages_no_delete[] = 13;
$pages_no_delete[] = 14;
$pages_no_delete[] = 15;
$pages_no_delete[] = 22;
$pages_no_delete[] = 29;
$pages_no_delete[] = 36;
$pages_no_delete[] = 62;
$pages_no_delete[] = 64;
$pages_no_delete[] = 55;
$pages_no_delete[] = 202;
*/
$pages_no_reorder[] = 1; //all pages with ids in this array will be unorderable
//$pages_no_reorder[] = 2; //all pages with ids in this array will be unorderable
$pages_custom_url[1] = 1; // page_id of pages with custom path
$pages_custom_url_path[1] = '/'; // url of custom path
/*
$pages_custom_url[13] = 13;
$pages_custom_url_path[13] = '/webfront/contact';
$pages_custom_url[3] = 3;
$pages_custom_url_path[3] = '/webfront/rants';
*/
//pages with these ids will show up at the top of the admin console subpage list in the order listed below
$pages_sub_top[] = 0; //keep this active always so there is no in_array
/*
$pages_sub_top[] = 202;
$pages_sub_top[] = 15;
$pages_sub_top[] = 22;
$pages_sub_top[] = 29;
$pages_sub_top[] = 36;
$pages_sub_top[] = 62;
$pages_sub_top[] = 64;
$pages_sub_top[] = 55;
*/
//pages with these ids will have a custom class available for use as needed
/*
$pages_custom_class[8] = 'payOnline'; // page_id -> class
$pages_custom_class[9] = 'rebatesCredits';
$pages_custom_class[11] = 'renewables';
$pages_custom_class[12] = 'iowaLegistation';
$pages_custom_class[13] = 'contactUs';
$pages_custom_class[14] = 'library';
*/
$pages_photo_size = '289';
$pages_thumb_size = '200';
$pages_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
// 1 = hide element on pageform.php
$page_category_hide=0;
$page_type_hide=0;
$page_admin_name_hide=0;
$page_link_title_hide=0;
$page_title_hide=0;
$page_parentlinks_hide=0;
$page_sublinks_hide=0;
$page_sublinks_directory_hide=1; // show ONLY if you have a directory, shows link to directory
$page_photo_hide=1;
$page_photo_alt_hide=0;
$page_photo_custom_help = '';
$page_misc_title_hide=1;
$page_misc_text_hide=1;
$page_misc_link_hide=1;
$page_photo_album_hide=1;
$page_primary_color_hide=1; //the primary color for this page. This can be used for different menu colors or title colors.
$page_primary_color_description = 'This will only be used for primary pages. This is the "on" color of the link on the menu bar at the top of the page. The "off" color and the menu bar base color will be a few shades darker.';
////////////////// staff page elements //////////////////
$staff_desc = 'Staff';
$staff_desc_icon = 'f'; //option male(m) or female(f)
$staff_alphabetic = 0; //order staff alphabetically(1 = yes)
$staff_custom_url_hide=1; //do we hide custom url of faq page
$staff_text_hide = 0; //do we hide page text for faq?
$staff_page_rich_text = true; //should the main page text field be rich text or plain text?
$staff_photo_size = '250';
$staff_thumb_size = '100';
$staff_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
$staff_mls_id1_name='rmls'; //real estate only, ignore otherwise
$staff_mls_id2_name='';
$staff_mls_id3_name='';
$staff_mls_id4_name='';
// 1 = hide element on stafftextform.php
$staff_page_link_title=0;
$staff_page_link_name_hide=0;
$staff_page_primary_color_hide=1;
$staff_page_head_photo_hide=1;
$staff_page_blocklinks_hide=1;
// 1 = hide element on staffform.php
$staff_office_id_hide=0;
$staff_login_hide=1;
$staff_pw_hide=1;
$staff_first_hide=0;
$staff_middle_hide=0;
$staff_last_hide=0;
$staff_title_hide=0;
$staff_email_hide=0;
$staff_email2_hide=1;
$staff_bizphone_hide=0;
$staff_tollfree_hide=0;
$staff_home_hide=1;
$staff_cell_hide=1;
$staff_pager_hide=1;
$staff_fax_hide=0;
$staff_othernumber_hide=1;
$staff_credentials_hide=0;
$staff_teaser_hide=0;
$staff_occupation_hide=0;
$staff_education_hide=0;
$staff_civic_hide=0;
$staff_personal_hide=0;
$staff_photo_hide=0;
$staff_comment_hide=1;
$staff_alt_hide=0;
$staff_hidemore_hide=0;
$staff_website_hide=1;
$staff_mls_id1_hide=1;
$staff_mls_id2_hide=1;
$staff_mls_id3_hide=1;
$staff_mls_id4_hide=1;
$staff_vcard_hide=1;
$staff_video_hide=1;
////////////////// office page elements //////////////////
$office_photo_size = '450';
$office_thumb_size = '200';
$office_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
$office_menu_position = 'last'; //where to display on main menu (values 'first', 'last', false)
$office_physical_address_required_status = 'optional'; //is address a required field? (values required, optional)
$office_phone_required_status = 'optional'; //is phone a required field? (values required, optional)
// 1 = hide element on officeform.php
$office_login_hide=0;
$office_pw_hide=0;
$office_name_hide=0;
$office_link_name_hide=0;
$office_physicaladdr_hide=0;
$office_mailingaddr_hide=0;
$office_phone_hide=0;
$office_tollfree_hide=0;
$office_fax_hide=0;
$office_email_hide=0;
$office_hide_email_hide=0;
$office_title_hide=0;
$office_text_hide=0;
$office_photo_hide=1;
$office_photo_alt_hide=0;
$office_mapurl_hide=1;
$office_vcard_hide=0;
$office_video_hide=1;
////////////////// social networking elements //////////////////
//$social_networking_twitter = true; //is twitter allowed
// 1 = hide element on socialform.php
$social_networking_facebook_hide=0;
$social_networking_twitter_hide=0;
$social_networking_bit_hide=1;
$social_networking_bit_url_hide=0;
$social_networking_buzz_hide=0;
$social_networking_youtube_hide=0;
$social_networking_linkedin_hide=0;
$social_networking_myspace_hide=1;
$social_networking_rss_hide=1;
////////////////// members page elements //////////////////
$member_desc = 'Board Member';
$member_desc_icon = 0; //option male('m') or female('f') or not specified (0[zero])
$member_alphabetic = 0; //order member alphabetically by last name(1 = yes)
$member_alphabetic_company = 0; //order member alphabetically by company name(1 = yes)
$member_custom_url_hide=1; //do we hide custom url of member page
$member_text_hide = 0; //do we hide page text for members?
$member_page_rich_text = true; //should the main page text field be rich text or plain text?
$member_welcome_page_id = 62; //the page ID displayed to successful logins
$member_show_in_search = true; //do we include members on the search page?
$member_photo_size = '250';
$member_thumb_size = '100';
$member_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
// 1 = hide element on membertextform.php
$member_page_link_title=0;
$member_page_link_name_hide=0;
$member_page_primary_color_hide=1;
$member_page_head_photo_hide=1;
$member_page_blocklinks_hide=1;
// 1 = hide element on memberform.php
$member_login_hide=1; //does this member have a username and password?
$member_credit_references_hide=1; //does this member have credit references?
$member_credit_cards_hide=1; //does this member have ability to enter their credit cards?
$member_approved_hide=1; //does the merchant have to approve this member b4 displaying on website
$member_additional_hide=0; //does this member have additional information? this will display the "other Infomation" section
$member_additional_expanded=1; //do we want to display expanded additional info(occupation, education, civic, personal)? this will replace basic info.
//misc fields that can be used for client specific needs
$member_misc_1_hide=0;
$member_misc_1_label='District'; //label of misc field (may need to move this around on memberform.php
$member_misc_1_comment=''; //comment under misc field
$member_misc_1_required=0; //is misc field 1 required? 1 = yes
$member_misc_2_hide=0;
$member_misc_2_label='Term Expires'; //label of misc field (may need to move this around on memberform.php
$member_misc_2_comment=''; //comment under misc field
$member_misc_2_required=0; //is misc field 2 required? 1 = yes
$member_misc_3_hide=1;
$member_misc_3_label=''; //label of misc field (may need to move this around on memberform.php
$member_misc_3_comment=''; //comment under misc field
$member_misc_3_required=1; //is misc field 3 required? 1 = yes
$member_misc_4_hide=1;
$member_misc_4_label=''; //label of misc field (may need to move this around on memberform.php
$member_misc_4_comment=''; //comment under misc field
$member_misc_4_required=1; //is misc field 4 required? 1 = yes
$member_resale_hide=1;
$member_years_hide=1;
$member_type_hide=1;
$member_contact_method_hide=1;
$member_primary_bus_hide=1;
$member_primary_int_hide=1;
$member_report_hide=1;
$member_pw_hide=1;
$member_first_hide=0;
$member_middle_hide=0;
$member_last_hide=0;
$member_title_hide=0;
$member_office_hide=1;
$member_address_hide=0;
$member_address_description = ''; // used only when member_mailing_address_hide=0
$member_address1_hide=1;
$member_address2_hide=1;
$member_city_hide=0;
$member_state_hide=1;
$member_other_hide=1;
$member_zip_hide=1;
$member_country_hide=1;
$member_mailing_address_hide=1; //allow members to enter unique mailing address? this will break physical and mailing into 2 separate section.
$member_mailing_address_description = 'Representing'; // used only when member_address_hide=0
$member_mailing_address1_hide=0;
$member_mailing_address2_hide=0;
$member_mailing_city_hide=0;
$member_mailing_state_hide=0;
$member_mailing_other_hide=0;
$member_mailing_zip_hide=0;
$member_mailing_country_hide=0;
$member_comment_hide=0;
$member_teaser_hide=0;
$member_description_hide=0;
$member_email_hide=0;
$member_email_required=0; //is the email address required? 1 = yes
$member_hide_email_hide=0;
$member_bizphone_hide=1;
$member_tollfree_hide=1;
$member_home_hide=1;
$member_cell_hide=1;
$member_pager_hide=1;
$member_fax_hide=1;
$member_othernumber_hide=1;
$member_website_hide=1;
$member_credentials_hide=1;
$member_photo_hide=0;
$member_comment_hide=0;
$member_comment_text='i.e.: Board seat to be eliminated June 2013';
$member_alt_hide=0;
$member_hidemore_hide=0;
$member_mls_id1_hide=1;
$member_mls_id2_hide=1;
$member_mls_id3_hide=1;
$member_mls_id4_hide=1;
$member_vcard_hide=1;
$member_seo_hide=0;
$member_services_hide = 1; //display drop-down list of services fed from database (member_services) [use db to allow future upgrade to CMS control]
$member_services_other_hide = 1; //text field for write ins not in database
$member_licenses_hide = 1; //display text fields of lienses fed from database (member_licenses) [use db to allow future upgrade to CMS control]
////////////////// custom home page elements //////////////////
$custom_home=0; //values 0 or 1 - used to declare is the page exists or not
$custom_home_photo_album=0; //does this home page have a photo album? 1=yes
// the array of blocks must be entered before site population. If changes need to made post design,
// you may copy HomePage table, delete orig table, make change, and open admin console,
// at which time HomePage table will be recreated. You may then re-insert data, making
// sure to select the "complete inserts" option in phpMyAdmin
//moved below lines to /admin/index.php so as not to cause errors on front end when adding new functionality to site
//if($custom_home == 1)
//include 'include2/admin/setup/home_page.php';
////////////////// sideblock elements //////////////////
$block_alphabetic = 0; //1 = order by admin_name
$blocks_photo_size = '190'; //sidebar width - left padding - right padding
$blocks_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
// 1 = hide element on blockform.php
//IMPORTANT - either or both block_plaintext_hide and block_richtext_hide MUST have a value of 0
$block_plaintext_hide=0;
$block_richtext_hide=0;
//block_type_hide should be set to 1 if one of the above var is set to 1
$block_type_hide=0;
$block_admin_name_hide=0;
$block_title_hide=0;
$block_subtitle_hide=0;
$block_text_hide=0;
$block_photo_hide=0;
$block_photo_alt_hide=0;
$block_link_hide=0;
$block_photo_custom_help = '';
////////////////// file entries page elements //////////////////
$files_page_rich_text = true; //should the main page text field be rich text or plain text?
$files_photo_size = '640';
$files_thumb_size = '100';
$files_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
$files_rich_text = true; //should the text field be rich text or plain text?
$files_keep_orig_photo = true; //should we keep the full size uploaded photo?
$files_use_expanded = false; //values - true or false (this is when we use the expanded file system)
// used when only news and press are needed ($files_use_expanded = false)
$news_order_by_date = false; //should we order news articles chronologically descending?
$news_name = 'News Room'; //what is news named
$press_order_by_date = false; //should we order press releases chronologically descending?
$press_name = 'Press Release'; //what is press named
/*
// used for when there is a need for more than news and press ($files_use_expanded = true)
$file_entries[1] = 1; //values 0 or 1 - used to declare is the page exists or not
$file_entries_type_id[1] = 1; // passed value to declare this type of file entry
$file_entries_name[1] = 'Grassroots - action alert';
$file_entries_name2[1] = 'Grassroots Alerts'; //for the welcome page block header
$file_entries_icon[1] = 'grassroots'; // option news, press, ... add as needed
//page text variables
$file_entries_page_icon_alt[1] = 'Grassroots - Action Alerts Page Text';
$file_entries_pagehead_title[1] = 'Grassroots - Action Alerts Page Text';
$file_entries_pagehead_title_sub[1] = 'Share your action alerts.';
$file_entries_page_breadcrumb[1] = 'Grassroots - Action Alerts Page Text';
//file entty for vars
$file_entries_icon_alt[1] = 'click here to create new grassroots action alert'; // alt tab for the icon
$file_entries_nav_text[1] = 'click here to
create alert'; // text on the welcome screen
$file_entries_order_by_date[1] = false; //should we order news articles chronologically descending?
$file_entries_head_title[1] = 'Grassroots - Action Alert Manager'; // title on the form page
$file_entries_head_title_sub[1] = 'Manage your Grassroots action alert.'; // sub-title on the form page
$file_entries_breadcrumb[1] = 'Grassroots - Action Alerts Manager'; // breadcrumbs on the form page
$file_entries_sortby[1] = ''; // sort by this field (default if blank is fileentry_order)
$file_entries_sortby_asc[1] = ''; // ONLY IF file_entries_sortby IS SET (values ASC, DESC)
$file_entries[2] = 1; //values 0 or 1 - used to declare is the page exists or not
$file_entries_type_id[2] = 2; // passed value to declare this type of file entry
$file_entries_name[2] = 'News Room';
$file_entries_name2[2] = 'News Room'; //for the welcome page block header
$file_entries_icon[2] = 'press'; // option news, press, ... add as needed
//page text variables
$file_entries_page_icon_alt[2] = 'News Page Text';
$file_entries_pagehead_title[2] = 'News Page Text';
$file_entries_pagehead_title_sub[2] = 'Share information about your news.';
$file_entries_page_breadcrumb[2] = 'News Page Text';
//file entty for vars
$file_entries_icon_alt[2] = 'click here to create news article'; // alt tab for the icon
$file_entries_nav_text[2] = 'click here to
create article'; // text on the welcome screen
$file_entries_order_by_date[2] = false; //should we order news articles chronologically descending?
$file_entries_head_title[2] = 'News Room Manager'; // title on the form page
$file_entries_head_title_sub[2] = 'Manage your news room article.'; // sub-title on the form page
$file_entries_breadcrumb[2] = 'News Room Manager'; // breadcrumbs on the form page
$file_entries_sortby[2] = ''; // sort by this field (default if blank is fileentry_order)
$file_entries_sortby_asc[2] = ''; // ONLY IF file_entries_sortby IS SET (values ASC, DESC)
$file_entries[3] = 1; //values 0 or 1 - used to declare is the page exists or not
$file_entries_type_id[3] = 3; // passed value to declare this type of file entry
$file_entries_name[3] = 'B.O.D. Meeting';
$file_entries_name2[3] = 'b.o.d. Meeting'; //for the welcome page block header
$file_entries_icon[3] = 'couple'; // option news, press, ... add as needed
//page text variables
$file_entries_page_icon_alt[3] = 'B.O.D. Meetings Page Text';
$file_entries_pagehead_title[3] = 'B.O.D. Meetings Page Text';
$file_entries_pagehead_title_sub[3] = 'Share information about your b.o.d. meetings.';
$file_entries_pagebreadcrumb[3] = 'B.O.D. Meetings Page Text';
//file entty for vars
$file_entries_icon_alt[3] = 'click here to create b.o.d. meeting'; // alt tab for the icon
$file_entries_nav_text[3] = 'click here to
create meeting'; // text on the welcome screen
$file_entries_order_by_date[3] = false; //should we order news articles chronologically descending?
$file_entries_head_title[3] = 'B.O.D. Meeting Manager'; // title on the form page
$file_entries_head_title_sub[3] = 'Manage your B.O.D. Meeting.'; // sub-title on the form page
$file_entries_breadcrumb[3] = 'B.O.D. Meeting Manager'; // breadcrumbs on the form page
$file_entries_sortby[3] = 'yr_mo_dy'; // sort by this field (default if blank is fileentry_order)
$file_entries_sortby_asc[3] = 'DESC'; // ONLY IF file_entries_sortby IS SET (values ASC, DESC)
$file_entries[4] = 1; //values 0 or 1 - used to declare is the page exists or not
$file_entries_type_id[4] = 4; // passed value to declare this type of file entry
$file_entries_name[4] = 'Membership Meeting';
$file_entries_name2[4] = 'Membership Meeting'; //for the welcome page block header
$file_entries_icon[4] = 'members'; // option news, press, ... add as needed
//page text variables
$file_entries_page_icon_alt[4] = 'Membership Meetings Page Text';
$file_entries_pagehead_title[4] = 'Membership Meetings Page Text';
$file_entries_pagehead_title_sub[4] = 'Share information about your membership meetings.';
$file_entries_pagebreadcrumb[4] = 'Membership Meetings Page Text';
//file entty for vars
$file_entries_icon_alt[4] = 'click here to create membership meeting'; // alt tab for the icon
$file_entries_nav_text[4] = 'click here to
create meeting'; // text on the welcome screen
$file_entries_order_by_date[4] = false; //should we order news articles chronologically descending?
$file_entries_head_title[4] = 'Membership Meeting Manager'; // title on the form page
$file_entries_head_title_sub[4] = 'Manage your membership meeting.'; // sub-title on the form page
$file_entries_breadcrumb[4] = 'Membership Meeting Manager'; // breadcrumbs on the form page
$file_entries_sortby[4] = 'yr_mo_dy'; // sort by this field (default if blank is fileentry_order)
$file_entries_sortby_asc[4] = 'DESC'; // ONLY IF file_entries_sortby IS SET (values ASC, DESC)
$file_entries[5] = 1; //values 0 or 1 - used to declare is the page exists or not
$file_entries_type_id[5] = 5; // passed value to declare this type of file entry
$file_entries_name[5] = 'Article of Interest';
$file_entries_name2[5] = 'Article of Interest'; //for the welcome page block header
$file_entries_icon[5] = 'news'; // option news, press, ... add as needed
//page text variables
$file_entries_page_icon_alt[5] = 'Articles of Interest Page Text';
$file_entries_pagehead_title[5] = 'Articles of Interest Page Text';
$file_entries_pagehead_title_sub[5] = 'Share information about your articles of interest.';
$file_entries_pagebreadcrumb[5] = 'Articles of Interest Page Text';
//file entty for vars
$file_entries_icon_alt[5] = 'click here to create article of interest'; // alt tab for the icon
$file_entries_nav_text[5] = 'click here to
create article'; // text on the welcome screen
$file_entries_order_by_date[5] = false; //should we order news articles chronologically descending?
$file_entries_head_title[5] = 'Article of Interest Manager'; // title on the form page
$file_entries_head_title_sub[5] = 'Manage your article of interest.'; // sub-title on the form page
$file_entries_breadcrumb[5] = 'Article of Interest Manager'; // breadcrumbs on the form page
$file_entries_sortby[5] = ''; // sort by this field (default if blank is fileentry_order)
$file_entries_sortby_asc[5] = ''; // ONLY IF file_entries_sortby IS SET (values ASC, DESC)
$file_entries[6] = 1; //values 0 or 1 - used to declare is the page exists or not
$file_entries_type_id[6] = 6; // passed value to declare this type of file entry
$file_entries_name[6] = 'Member Newsletters';
$file_entries_name2[6] = 'Newsletters'; //for the welcome page block header
$file_entries_icon[6] = 'news2'; // option news, press, ... add as needed
//page text variables
$file_entries_page_icon_alt[6] = 'Member Newsletters Page Text';
$file_entries_pagehead_title[6] = 'Member Newsletters Page Text';
$file_entries_pagehead_title_sub[6] = 'Share information about your member newsletters.';
$file_entries_pagebreadcrumb[6] = 'Member Newsletters Page Text';
//file entty for vars
$file_entries_icon_alt[6] = 'click here to create Member Newsletter'; // alt tab for the icon
$file_entries_nav_text[6] = 'click here to
create newsletter'; // text on the welcome screen
$file_entries_order_by_date[6] = false; //should we order news articles chronologically descending?
$file_entries_head_title[6] = 'Member Newsletters Manager'; // title on the form page
$file_entries_head_title_sub[6] = 'Manage your member newsletter.'; // sub-title on the form page
$file_entries_breadcrumb[6] = 'Member Newsletters Manager'; // breadcrumbs on the form page
$file_entries_sortby[6] = 'yr_mo_dy'; // sort by this field (default if blank is fileentry_order)
$file_entries_sortby_asc[6] = 'DESC'; // ONLY IF file_entries_sortby IS SET (values ASC, DESC)
*/
// 1 = hide element on fileentries_form.php
$files_fulldate_hide=0;
$files_headline_hide=0;
$files_text_hide=0;
$files_source_hide=0;
$files_file1_hide=0;
$files_file2_hide=0;
$files_file3_hide=0;
$files_photo1_hide=0;
$files_photo1_size_hide=1; // do we need this? If so, add fields to database
$files_photo2_hide=0;
$files_photo2_size_hide=1;
$files_photo3_hide=0;
$files_photo3_size_hide=1;
// 1 = hide element on fileentriestextform.php
$files_blocklinks_hide = 1;
$files_hide_parent_link = 0;
$news_text_hide = 0;
$press_text_hide = 0;
////////////////// file upload page elements //////////////////
$file_member_page_name = 'file list'; //optional name of page where list of selected files will show
$file_counter = false; //MUST have custom urls and custom 404 enabled
// 1 = hide element on fileform.php
$file_upload_name_hide=0;
$file_upload_status_hide=0;
$file_upload_members_hide=1; //display the "display on file page list" field
////////////////// photo album page elements //////////////////
$photo_album_page_name = 'Photo Album'; //optional name of photo albums (empty will default to "photo albums"
$photo_album_photo_size = '506';
$photo_album_midsize_size = '350';
$photo_album_thumb_size = '100';
$photo_album_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
$photo_album_fixed_dimensions_all = false; //do we require all photo album photos to be specific size?
$photo_album_fixed_dimensions_arr = true; //do we require photos in certain albums to be specific size? declare in $photo_album_fixed_arr below
$photo_album_photomaxdimension_w = '570'; //if requiring specific dimensions, enter photo max width
$photo_album_photomaxdimension_h = '250'; //if requiring specific dimensions, enter photo height width
// if $photo_album_fixed dimensions_arr = true, albums below are validated to specific dimensions.
$photo_album_fixed_arr[] = 1;
$photo_album_create = true; //do we allow creation of new albums?
// 1 = hide element on photoalbumform.php
$photo_album_label_hide=0;
$photo_album_description_hide=0;
$photo_album_photo_text_hide=0;
$photo_album_photo_text_textarea=false; // is the photo description a text area field (allows new lines) VALUES true, false
$photo_album_primary_color_hide=1; //do we allow client to choose background color of photo?
////////////////// event elements //////////////////
$event_page_name = 'class'; //optional name of singular event (empty will default to "Event")
$event_page_name_plural = 'classes'; //optional name of plural event (empty will default to "Events")
$event_photo_size = '400';
$event_thumb_size = '100';
$event_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
$event_photo_album=1; //does this event page have a photo album? 1=yes
$events_text_hide = 0; //does this event have introduction text
$events_page_rich_text = true; //should the main page text field be rich text or plain text?
// 1 = hide element on eventtextform.php
$event_page_link_title=0;
$event_page_link_name_hide=0;
$event_hide_detail_page=1; //hide event detail page on front end
// 1 = hide element on eventform.php
$event_blurb_hide=1;
$event_description_hide=0;
$event_location_hide=0;
$event_contact_hide=1;
$event_time_hide=0;
$event_date_hide=0;
$event_days_hide=1; //days of week
$event_start_date_hide=0;
$event_end_date_hide=0;
$event_photo_hide=0;
$event_photo_alt_hide=0;
$event_link_hide=1;
$event_photo_album_hide=1;
////////////////// faq elements //////////////////
$faq_custom_url_hide=1; //do we hide custom url of faq page
$faq_text_hide = 1; //do we hide page text for faq?
$faq_page_rich_text = true; //should the main page text field be rich text or plain text?
// 1 = hide element on faqcatform.php
$faq_cat_link_title=0;
// 1 = hide element on faqtextform.php
$faq_page_link_title=0;
$faq_page_link_name_hide=0;
////////////////// custom form elements //////////////////
// 1 = hide element on formform.php
$form_admin_name_hide=0;
$form_submit_text_hide=0;
$form_return_url_hide=0;
$form_email_results_hide=0; //do we allow option for an email to be sent when form is completed
$form_email_to_hide=0;
$form_email_from_hide=0;
$form_email_subject_hide=0;
$form_email_text_hide=0; // email text displayed above form results
// 1 = hide element on formfieldform.php
$form_field_required_hide=0;
$form_field_type_hide=0;
//what types of fields can be selected
$form_field_type_arr['Select Type'] = '';
$form_field_type_arr['Text Field'] = 'text';
$form_field_type_arr['Textarea Field (for writing large amounts)'] = 'textarea';
$form_field_type_arr['Drop-Down List'] = 'select';
$form_field_type_arr['Checkbox(es)'] = 'checkbox';
$form_field_type_arr['Radio Buttons'] = 'radio';
$form_field_type_arr['Password Field'] = 'password';
//$form_field_type_arr['html (for writing notes between fields)'] = 'html';
$form_field_type_arr['Hidden'] = 'hidden';
$form_field_help_text_hide=0;
$form_field_default_hide=0;
$form_field_validation_hide=0;
$form_field_validation_arr['Email Address'] = 'email';
$form_field_validation_arr['Integer (whole number only)'] = 'int';
$form_field_validation_arr['Number (whole numbers and decimals)'] = 'number';
$form_field_validation_arr['Phone Number (will display format hint)'] = 'phone';
$form_field_validation_arr['Web Address'] = 'url';
////////////////// open house elements //////////////////
$open_house_listing_id_hide=0;
$open_house_staff_name_hide=0;
$open_house_show_date_hide=0;
$open_house_start_hide=0;
$open_house_stop_hide=0;
////////////////// comments elements //////////////////
// 1 = hide element on commenttextform.php
$comment_page_link_title=0;
$comment_page_link_name_hide=0;
// 1 = hide element on commentform.php
$comments_date_hide=0;
$comments_hide_date_hide=0;
$comments_link_hide=0;
////////////////// links elements //////////////////
// 1 = hide element on linktextform.php
$link_page_link_title_hide=0;
$link_page_link_name_hide=0;
////////////////// video elements //////////////////
// 1 = hide element on videotextform.php
$video_page_link_title=0;
$video_page_link_name_hide=0;
////////////////// Job Ops elements //////////////////
$jobops_orderby = ''; //order jobs by this(suggested field - start_date). default is jobops_order.
$jobs_page_rich_text = true; //should the main page text field be rich text or plain text?
// 1 = hide element on jobopstextform.php
$jobops_page_link_title=0;
$jobops_page_link_name_hide=0;
// 1 = hide element on jobopsform.php
$jobops_position_hide=0;
$jobops_department_hide=0;
$jobops_description_hide=0;
$jobops_frequency_hide=0;
$jobops_shifts_hide=0;
$jobops_requirements_hide=0;
$jobops_start_date_hide=0;
////////////////// miscellaneous page elements //////////////////
// 1 = hide element on /include2/admin/navigation/misc.php
$misc_global_text_hide=0;
$misc_email_text_hide=0;
$misc_login_hide=1;
$misc_status_hide=0;
$misc_usage_hide=1;
// 1 = hide element on globaltextform.php
$global_text_hide = 1; //do we have any global text that needs to be editable? The legal mumbo jumbo will still be displayed
$global_header_title_hide=1;
$global_header_text_hide=1;
$global_header_link_hide=1; // do we have link in the head
$global_header_photo_hide=1; // do we allow a head photo
$global_header_photo_alt_hide=1;
$global_header_photo_size_hide=1; // do we allow photo size selection
$global_header_photo_align_hide=1; // do we allow photo alignment options
$global_footer_title_hide=1;
$global_footer_text_hide=1;
$global_footer_link_hide=1; // do we have link in the foot
$global_footer_photo_hide=1; // do we allow a foot photo
$global_footer_photo_alt_hide=1;
$global_footer_photo_size_hide=1; // do we allow photo size selection
$global_footer_photo_align_hide=1; // do we allow photo alignment options
$global_header_photomaxdimension = '3000'; //if not allowing resize, enter photo max dimension
$global_header_photomaxdimension_w = ''; //if requiring specific dimensions, enter photo max width
$global_header_photomaxdimension_h = ''; //if requiring specific dimensions, enter photo height width
$global_header_photoaspect = 'w'; // values w or h
$global_footer_photomaxdimension = '400'; //if not allowing resize, enter photo max dimension
$global_footer_photomaxdimension_w = '400'; //if requiring specific dimensions, enter photo max width
$global_footer_photomaxdimension_h = '225'; //if requiring specific dimensions, enter photo height width
$global_footer_photoaspect = 'w'; // values w or h
$sidebar1_hide = 1; //do we have a block in the sidebar? (1 = hide from form)
$sidebar1_title_hide=0;
$sidebar1_text_hide=0;
$sidebar1_link_hide=0; // do we have link in the block
$sidebar1_photo_hide=0; // do we allow a block photo
$sidebar1_photo_alt_hide=0;
$sidebar1_photomaxdimension = '125'; //enter photo max dimension
$sidebar1_photoaspect = 'w'; // values w or h
$sidebar2_hide = 1; //do we have a second block in the sidebar? (1 = hide from form)
$sidebar2_title_hide=0;
$sidebar2_text_hide=0;
$sidebar2_link_hide=0; // do we have link in the block
$sidebar2_photo_hide=1; // do we allow a block photo
$sidebar2_photo_alt_hide=0;
$sidebar2_photomaxdimension = '125'; //enter photo max dimension
$sidebar2_photoaspect = 'w'; // values w or h
$sidebar3_hide = 1; //do we have a third block in the sidebar? (1 = hide from form)
$sidebar3_title_hide=0;
$sidebar3_text_hide=0;
$sidebar3_link_hide=0; // do we have link in the block
$sidebar3_photo_hide=0; // do we allow a block photo
$sidebar3_photo_alt_hide=0;
$sidebar3_photomaxdimension = '125'; //enter photo max dimension
$sidebar3_photoaspect = 'w'; // values w or h
$global_footer_terms_hide=0; // display the terms of use?
$global_footer_disclaimer_hide=0; // display the disclaimer?
$global_footer_privacy_policy_hide=0; // display the privacy policy?
////////////////// monthly rental page elements //////////////////
$city_array = 'sw_missouri';
$county_array = 'oregon';
//property type array
$monthlyrental_prop_types['Select Type'] = '';
$monthlyrental_prop_types['Apartment'] = 'Apartment';
$monthlyrental_prop_types['Single Family Home'] = 'Single Family Home';
$monthlyrental_prop_types['Divided House'] = 'Divided House';
$monthlyrental_prop_types['Condo/Townhouse'] = 'Condo/Townhouse';
// 1 = hide element on monthlyrentalform.php
$monthlyrental_name_hide=0;
$monthlyrental_owner_hide=0;
$monthlyrental_phone_hide=0;
$monthlyrental_email_hide=0;
$monthlyrental_dateavail_hide=1;
$monthlyrental_rent_hide=0;
$monthlyrental_deposit_hide=0;
$monthlyrental_comments_hide=0;
$monthlyrental_address_hide=0;
$monthlyrental_prop_type_hide=0;
$monthlyrental_sqft_hide=0;
$monthlyrental_city_hide=0;
$monthlyrental_beds_hide=0;
$monthlyrental_baths_hide=0;
$monthlyrental_children_hide=0;
$monthlyrental_pets_hide=0;
$monthlyrental_parking_hide=0;
$monthlyrental_outbuildings_hide=0;
$monthlyrental_yard_hide=0;
$monthlyrental_heating_hide=0;
$monthlyrental_rangeoven_hide=0;
$monthlyrental_refrigerator_hide=0;
$monthlyrental_dishwasher_hide=0;
$monthlyrental_washerdryer_hide=0;
$monthlyrental_forsale_hide=0;
$monthlyrental_smoking_hide=0;
$monthlyrental_photo_hide=0;
$monthlyrental_photo_alt_hide=0;
$monthlyrental_mapurl_hide=0;
// photos variables
$monthlyrental_photo_size = '640';
$monthlyrental_midsize_size = '400';
$monthlyrental_thumb_size = '200';
$monthlyrental_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
$monthlyrental_fixed_dimensions_all = false; //do we require all photo album photos to be specific size?
$monthlyrental_fixed_dimensions_arr = false; //do we require photos in certain albums to be specific size? declare in $monthly_fixed_arr below
$monthlyrental_photomaxdimension_w = '570'; //if requiring specific dimensions, enter photo max width
$monthlyrental_photomaxdimension_h = '250'; //if requiring specific dimensions, enter photo height width
// if $photo_album_fixed dimensions_arr = true, albums below are validated to specific dimensions.
$monthlyrental_fixed_arr[] = 1;
// 1 = hide element on monthlyrentalform.php
$monthlyrental_photo_text_hide=0;
$monthlyrental_photo_text_textarea=false; // is the photo description a text area field (allows new lines) VALUES true, false
$monthlyrental_primary_color_hide=1; //do we allow client to choose background color of photo?
////////////////// fsbo page elements //////////////////
$fsbo_photo_size = '450';
$fsbo_thumb_size = '200';
$fsbo_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
// 1 = hide element on fsboform.php
$fsbo_name_hide=0;
$fsbo_price_hide=0;
$fsbo_prop_type_hide=0;
$fsbo_address_hide=0;
$fsbo_city_hide=0;
$fsbo_county_hide=1;
$fsbo_beds_hide=0;
$fsbo_baths_hide=0;
$fsbo_sqft_hide=0;
$fsbo_acres_hide=0;
$fsbo_comments_hide=0;
$fsbo_owner_hide=0;
$fsbo_phone_hide=0;
$fsbo_email_hide=0;
$fsbo_hide_email_hide=1;
$fsbo_notes_hide=0;
$fsbo_photo_hide=0;
$fsbo_photo_alt_hide=0;
$fsbo_mapurl_hide=0;
// photos variables
$fsbo_photo_size = '640';
$fsbo_midsize_size = '400';
$fsbo_thumb_size = '200';
$fsbo_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
$fsbo_fixed_dimensions_all = false; //do we require all photo album photos to be specific size?
$fsbo_fixed_dimensions_arr = false; //do we require photos in certain albums to be specific size? declare in $monthly_fixed_arr below
$fsbo_photomaxdimension_w = '570'; //if requiring specific dimensions, enter photo max width
$fsbo_photomaxdimension_h = '250'; //if requiring specific dimensions, enter photo height width
// if $photo_album_fixed dimensions_arr = true, albums below are validated to specific dimensions.
$fsbo_fixed_arr[] = 1;
// 1 = hide element on monthlyrentalform.php
$fsbo_photo_text_hide=0;
$fsbo_photo_text_textarea=false; // is the photo description a text area field (allows new lines) VALUES true, false
$fsbo_primary_color_hide=1; //do we allow client to choose background color of photo?
//////////// DIRECTORY ELEMENTS ////////////
$directory_desc = 'Co-Op Connections';
$directory_desc_short = 'Co-Op Conns';
$directory_departments = 0; //does the directory have departments and categories (0 = categories only)
$directory_desc_icon = 0; //option male('m') or female('f') or not specified ('0'[zero])
$directory_alphabetic = 0; //order alphabetically by last name (1 = yes)
$directory_alphabetic_company = 1; //order alphabetically by company name (1 = yes)
$directory_multiple_categories = 0; //do we allow the entry to be in multiple cats (1 = yes)
$directory_spotlight_members = 0; //do we allow members to be spotlighted? (1 = yes)
$directory_copy_members = 1; //do we allow members to be copied? (1 = yes)
$directory_category_member_list_alphabetic = 1; //order member alphabetically by office_name(1 = yes)
$directory_category_member_list_sort_by = ''; // valid fields are member_order(default if blank), office_name, member_no or sku
$directory_category_member_list_display_by = ''; // valid fields are office_name(default if blank), member_no or member_name
$directory_multiple_photos = 1; //do the entries have multiple photos (1 = yes)
$directory_photo_resize = 1; //is this photo auto-resized? 1 = yes
$directory_pop_size = '600';
$directory_photo_size = '500';
$directory_thumb_size = '100';
$directory_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
$directory_logo_resize = 0; //is this logo auto-resized? 1 = yes
/*NOTE: field below MUST be 1 if $directory_photo2_resize = 1 (above) */
$directory_logo_jpg_only = 1; //limit to jpg only or allow gif files (1 = yes)
$directory_logo_size = '544'; //if not auto resized, this width will show up on the upload page
$directory_logo_thumb_size = '100';
$directory_logo_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
$directory_edit_return = 'detail'; // values of 'list' or 'detail'. when editing/creating, do you return to the detail page or list page
// 1 = hide element on directoryform.php
$directory_userno_hide=0; //does this directory member have a user number?
$directory_member_number_hide=1; //does this directory member have a member number?
$directory_office_hide=0; //does this member have company information?
$directory_individual_hide=1; //does this member personal information?
$directory_credit_references_hide=1; //does this member have credit references?
$directory_credit_cards_hide=1; //does this member have ability to enter their credit cards?
$directory_approved_hide=1; //does the merchant have to approve this member b4 displaying on website
$directory_login_hide=1; //does this directory member have a username and password?
$directory_pw_hide=0;
$directory_office_hide=0;
$directory_first_hide=1;
$directory_middle_hide=1;
$directory_last_hide=1;
$directory_title_hide=1;
$directory_address_hide=1;
$directory_physical_address_block_hide=0; // do we have the address as a text area field
$directory_mailing_address_block_hide=0; // do we have the address as a text area field
$directory_address_mail_hide=0;
$directory_address_map_hide=1; //specific address for mapping
$directory_mapurl_hide=0; //google maps fields
$directory_bizphone_hide=0;
$directory_tollfree_hide=0;
$directory_home_hide=1;
$directory_cell_hide=1;
$directory_pager_hide=1;
$directory_fax_hide=0;
$directory_othernumber_hide=1;
$directory_email_hide=0;
$directory_hide_email_hide=0;
$directory_website_hide=0;
$directory_comment_hide=0;
$directory_teaser_hide=0;
$directory_description_hide=0;
$directory_hours_hide=0;
$directory_photo_hide=1;
$directory_photo_alt_hide=1;
$directory_alt_hide=0;
$directory_logo_hide=0;
$directory_logo_alt_hide=0;
$directory_hidemore_hide=1;
$directory_other_office_hide = 1;
$directory_vcard_hide=1;
$directory_multi_photo_comment_hide=1;
$directory_multi_photo_alt_hide=1;
$directory_offer_details=0; // use this to display special offers
////////////////// directory department elements //////////////////
$directory_department_photo_album=1; //does this department page have a photo album? 1=yes
////////////////// directory category elements //////////////////
$directory_category_photo_size = '450';
$directory_category_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
$directory_category_photo_album=0; //does this category page have a photo album? 1=yes
// 1 = hide element on categoryform.php
$directory_member_copy_hide = true; //do we allow members to be copied
$directory_category_description_hide=1;
$directory_category_photo_hide=1;
//////////// SHOPPING CART ELEMENTS ////////////
$cart_registered_members_only = false; // true will allow only members currently logged in to see item_list and item_detail
$cart_no_ordering = true; // true will hide the quantity and "order now" button
$ups_orig_zip = '97411';
//encryption keys
/*
$key1 = 'abcd';
$key2 = 'efgh';
$key3 = 'ijkl';
*/
$key1 = 'a178968a1cb4a41f22f98bdfa62c04ac';
$key2 = 'b60259602ec88dd90eeccb33e3b59a44';
$key3 = '0b20647f5efa90c8e93f8ace88b22665';
$cart_alaska_hawaii_extra = 0; // is there an extra charge for alaska and hawaii (1 = yes)
$cart_alaska_hawaii_charge = '8.00'; //enter charge amount - format: 12.34
$cart_list_display_type = 0; //1=display company name, 0 = display first last
////////////////// checkout elements //////////////////
$checkout_credit_card_optional =0; //are credit cards optional? 1=yes
// 1 = hide element on checkout.php
$checkout_gift_card_hide =1;
$checkout_note_hide =0;
////////////////// department elements //////////////////
$department_photo_album=0; //does this department page have a photo album? 1=yes
$department_photo_size = '450';
$department_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
// 1 = hide element on departmentform.php
$department_description_hide=0;
$department_photo_hide=0;
$department_photo_alt_hide=0;
////////////////// category elements //////////////////
$category_photo_size = '450';
$category_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
$category_photo_album=0; //does this category page have a photo album? 1=yes
$category_item_list_alphabetic = 0; //order items alphabetically by label(1 = yes)
$category_item_list_sort_by = ''; // valid fields are item_order(default if blank), label, item_no or sku
$category_item_list_display_by = ''; // valid fields are label(default if blank), item_no or item_no_label
// 1 = hide element on categoryform.php
$category_description_hide=0;
$category_photo_hide=0;
$category_photo_alt_hide=0;
////////////////// items list elements //////////////////
$product_item_no = 'item_id'; //values: item_id or item_no where item_id = id in table Items and item_no = company ref number used on productlist.php
////////////////// items elements //////////////////
$item_gen_name = 'product'; //general description of items (i.e.: product)
$item_gen_name_plural = 'products'; //plural description of items (i.e.: products)
$item_url = 'shopping_cart'; // url where we are placing the cart
$item_force_max_dimension = true; //should never need this on new sites to be true, but when importing photos from another site and dimensions mess up layout, set as true
$item_pop_size = '600';
$item_photo_size = '450';
$item_thumb_size = '100';
$item_aspect = 'h'; //values of w, h, or 0, where 0 will make max w or h to value.
$item_edit_return = 'detail'; // values of 'list' or 'detail'. when editing/creating, do you return to the detail page or list page
$item_sold_text = 'Sold Out!'; // example: 'Sold Out!' if selling multiple items and 'Sold!' if selling only one item
// 1 = hide element on itemform.php
$item_approved_hide=1;
$item_new_hide=0;
$item_featured_hide=1;
$item_name_hide=0;
$item_cats_hide=0;
$item_classes_hide=1; //client specific change
$item_vendors_hide=1;
$item_members_hide=1;
$item_teaser_hide=1;
$item_description_hide=0;
$item_base_price_hide=0;
$item_dimensions_hide=0;
$item_product_number_hide=0;
$item_sku_hide=1;
$item_weight_shipping_hide=0; // this should ALWAYS be 0
$item_per_item_hide=0; // this should ALWAYS be 0
$item_photo_hide=0; // this will hide all photos
$item_photo_alt_hide=0;
$item_multiphoto_hide=1;
$item_multiphoto_comment_hide=1;
$item_multiphoto_count=1; //how many additional photo to allow (1-10)
$item_file_hide=0;
$item_video_hide=0;
$item_terms_hide=1;
$item_location_hide=1;
$item_search_terms_hide=1;
$item_contact_method_hide=1;
$item_options_hide=0;
////////////////// shipping elements //////////////////
// 1 = hide element on shippinglist.php
$shipping_per_item_hide=0;
$shipping_sliding_scale_hide=0;
$shipping_weight_hide=0;
$shipping_ups_hide=0;
////////////////// payment elements //////////////////
// 1 = hide element on paymentlist.php
$payment_pay_pal_hide=0;
$payment_check_hide=0;
$payment_credit_card_hide=0;
//////////// END SHOPPING CART ELEMENTS ////////////
////////////////// begin dynamic create a form elements //////////////////
// This section will be pepeatable to allow as many custom forms as needed
// the included csv files fields must be entered before site population.
// Columnar data, with the exception of the field_name and MySQL type,
// may be changed at any time to modify data displayed on forms
// If changes need to made to the database post design,
// you may copy the table, delete orig table, make change, and open admin console,
// at which time the table will be recreated. You may then re-insert data, making
// sure to select the "complete inserts" option in phpMyAdmin
//IMPORTANT NOTES:
// email address fields MUST be named "email*" for validation purposes and
// no other field names may contain the phrase "email"
$customforms_photo_size = '250';
$customforms_thumb_size = '100';
$customforms_aspect = 'w'; //values of w, h, or 0, where 0 will make max w or h to value.
//$customforms_form_set_name = 'Donors'; //the name of the group. This will be used mainly to display header info
/*
$customforms[1] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[1] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[1] = 'Donor'; // display name of master table
$customforms_form_set_master_table[1] = 'Donors'; // the table with the id
$customforms_form_set_master_menu_id[1] = 1; // the menu_id of the master table
//$customforms_file_location[1] = '/include2/globals/customforms/data_files/donors_combined.csv'; //location of the csv file (with master sets, only needed on primary)
$customforms_table_name[1] = ''; //use when no master table
$customforms_table_section_name[1] = 'Donors_Admin'; //the section to read in the csv file
$customforms_desc[1] = 'Login and Status'; // this will be used on menu and page header
$customforms_icon[1] = 'female'; // //option male, female, ... add as needed
$customforms_photos[1] = 0; //do they have photos
$customforms_multiple_photos[1] = 0; //do they have multiple photos
$customforms_multiple_photos_only[1] = 0; //is this a photo only page
$customforms_video[1] = 0;//does this page allow a video upload
$customforms_order_by[1] = 'id'; // optional list order field, empty = TABLE_NAME_order
$customforms_list_display_field[1] = 'first_name|last_name'; // optional list display fields, separate by pipes, example: first|last displays as "first last"
$customforms_form_set_number[1] = 1; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_form_hide_ordering[1] = 1; // hide the manual ordering of this group(useful with people - alphabetic by last)
$customforms_no_loop[1] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[2] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[2] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[2] = 'Donor'; // display name of master table
$customforms_form_set_master_table[2] = 'Donors'; // the table with the id
$customforms_form_set_master_menu_id[2] = 1; // the menu_id of the master table
//$customforms_file_location[2] = '/include2/globals/customforms/data_files/donors_combined.csv'; //location of the csv file
$customforms_table_name[2] = ''; //use when no master table
$customforms_table_section_name[2] = 'Donors_Personal'; //the section to read in the csv file
$customforms_desc[2] = 'Personal Information'; // this will be used on menu and page header
$customforms_icon[2] = 'female'; // //option male, female, ... add as needed
$customforms_photos[2] = 0; //do they have photos
$customforms_multiple_photos[2] = 0;//do they have multiple photos
$customforms_multiple_photos_only[2] = 0;//is this s photo only page
$customforms_video[2] = 0;//does this page allow a video upload
//$customforms_order_by[2] = 'last_name'; // optional list order field, empty = TABLE_NAME_order
//$customforms_form_set_select_by_field[2] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[2] = 2; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[2] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[3] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[3] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[3] = 'Donor'; // display name of master table
$customforms_form_set_master_table[3] = 'Donors'; // the table with the id
$customforms_form_set_master_menu_id[3] = 1; // the menu_id of the master table
//$customforms_file_location[3] = '/include2/globals/customforms/data_files/donors_personal2.csv'; //location of the csv file
$customforms_table_name[3] = ''; //use when no master table
$customforms_table_section_name[3] = 'Donors_Personal2'; //the section to read in the csv file
$customforms_desc[3] = 'Personal Information (part 2)'; // this will be used on menu and page header
$customforms_icon[3] = 'female'; // //option male, female, ... add as needed
$customforms_photos[3] = 0; //do they have photos
$customforms_multiple_photos[3] = 0;//do they have multiple photos
$customforms_multiple_photos_only[3] = 0;//is this s photo only page
$customforms_video[3] = 0;//does this page allow a video upload
//$customforms_order_by[3] = ''; // optional list order field, empty = TABLE_NAME_order
//$customforms_form_set_select_by_field[3] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[3] = 3; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[3] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[4] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[4] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[4] = 'Donor'; // display name of master table
$customforms_form_set_master_table[4] = 'Donors'; // the table with the id
$customforms_form_set_master_menu_id[4] = 1; // the menu_id of the master table
//$customforms_file_location[4] = '/include2/globals/customforms/data_files/donors_physical_characteristics.csv'; //location of the csv file
$customforms_table_name[4] = '';//use when no master table
$customforms_table_section_name[4] = 'Donors_Physical_Characteristics'; //the section to read in the csv file
$customforms_desc[4] = 'Physical Characteristics'; // this will be used on menu and page header
$customforms_icon[4] = 'female'; // //option male, female, ... add as needed
$customforms_photos[4] = 0; //do they have photos
$customforms_multiple_photos[4] = 0;//do they have multiple photos
$customforms_multiple_photos_only[4] = 0;//is this s photo only page
$customforms_video[4] = 0;//does this page allow a video upload
//$customforms_order_by[4] = ''; // optional list order field, empty = TABLE_NAME_order
//$customforms_form_set_select_by_field[4] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[4] = 4; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[4] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[15] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[15] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[15] = 'Donor'; // display name of master table
$customforms_form_set_master_table[15] = 'Donors'; // the table with the id
$customforms_form_set_master_menu_id[15] = 1; // the menu_id of the master table
//$customforms_file_location[15] = '/include2/globals/customforms/data_files/donors_physical_characteristics.csv'; //location of the csv file
$customforms_table_name[15] = '';//use when no master table
$customforms_table_section_name[15] = 'Donors_History'; //the section to read in the csv file
$customforms_desc[15] = 'Donation History'; // this will be used on menu and page header
$customforms_icon[15] = 'female'; // //option male, female, ... add as needed
$customforms_photos[15] = 0; //do they have photos
$customforms_multiple_photos[15] = 0;//do they have multiple photos
$customforms_multiple_photos_only[15] = 0;//is this s photo only page
$customforms_video[15] = 0;//does this page allow a video upload
//$customforms_order_by[15] = ''; // optional list order field, empty = TABLE_NAME_order
//$customforms_form_set_select_by_field[15] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[15] = 5; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[15] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[5] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[5] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[5] = 'Donor'; // display name of master table
$customforms_form_set_master_table[5] = 'Donors'; // the table with the id
$customforms_form_set_master_menu_id[5] = 1; // the menu_id of the master table
//$customforms_file_location[5] = '/include2/globals/customforms/data_files/donors_academic.csv'; //location of the csv file
$customforms_table_name[5] = ''; //use when no master table
$customforms_table_section_name[5] = 'Donors_Academic'; //the section to read in the csv file
$customforms_desc[5] = 'Education/Employment'; // this will be used on menu and page header
$customforms_icon[5] = 'female'; // //option male, female, ... add as needed
$customforms_photos[5] = 0; //do they have photos
$customforms_multiple_photos[5] = 0;//do they have multiple photos
$customforms_multiple_photos_only[5] = 0;//is this s photo only page
$customforms_video[5] = 0;//does this page allow a video upload
//$customforms_order_by[5] = ''; // optional list order field, empty = TABLE_NAME_order
//$customforms_form_set_select_by_field[5] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[5] = 6; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[5] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[6] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[6] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[6] = 'Donor'; // display name of master table
$customforms_form_set_master_table[6] = 'Donors'; // the table with the id
$customforms_form_set_master_menu_id[6] = 1; // the menu_id of the master table
//$customforms_file_location[6] = '/include2/globals/customforms/data_files/donors_other_medical_history.csv'; //location of the csv file
$customforms_table_name[6] = '';
$customforms_table_section_name[6] = 'Donors_Other_Medical_History'; //the section to read in the csv file
$customforms_desc[6] = 'Medical History'; // this will be used on menu and page header
$customforms_icon[6] = 'female'; // //option male, female, ... add as needed
$customforms_photos[6] = 0; //do they have photos
$customforms_multiple_photos[6] = 0;//do they have multiple photos
$customforms_multiple_photos_only[6] = 0;//is this s photo only page
$customforms_video[6] = 0;//does this page allow a video upload
//$customforms_order_by[6] = ''; // optional list order field, empty = TABLE_NAME_order
//$customforms_form_set_select_by_field[6] = 'id'; // the field name of the foreign key
$customforms_form_set_number[6] = 7; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[6] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[7] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[7] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[7] = 'Donor'; // the table with the id
$customforms_form_set_master_table[7] = 'Donors'; // display name of master table
$customforms_form_set_master_menu_id[7] = 1; // the menu_id of the master table
//$customforms_file_location[7] = '/include2/globals/customforms/data_files/donors_medical_history.csv'; //location of the csv file
$customforms_table_name[7] = '';
$customforms_table_section_name[7] = 'Donors_Medical_History'; //the section to read in the csv file
$customforms_desc[7] = 'Extended Medical History'; // this will be used on menu and page header
$customforms_icon[7] = 'female'; // //option male, female, ... add as needed
$customforms_photos[7] = 0; //do they have photos
$customforms_multiple_photos[7] = 0;//do they have multiple photos
$customforms_multiple_photos_only[7] = 0;//is this s photo only page
$customforms_video[7] = 0;//does this page allow a video upload
//$customforms_order_by[7] = ''; // optional list order field, empty = TABLE_NAME_order
//$customforms_form_set_select_by_field[7] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[7] = 8; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[7] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[8] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[8] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[8] = 'Donor'; // display name of master table
$customforms_form_set_master_table[8] = 'Donors'; // the table with the id
$customforms_form_set_master_menu_id[8] = 1; // the menu_id of the master table
//$customforms_file_location[8] = '/include2/globals/customforms/data_files/donors_fertility.csv'; //location of the csv file
$customforms_table_name[8] = '';
$customforms_table_section_name[8] = 'Donors_Fertility_History'; //the section to read in the csv file
$customforms_desc[8] = 'Reproductive Health History'; // this will be used on menu and page header
$customforms_icon[8] = 'female'; // //option male, female, ... add as needed
$customforms_photos[8] = 0; //do they have photos
$customforms_multiple_photos[8] = 0;//do they have multiple photos
$customforms_multiple_photos_only[8] = 0;//is this s photo only page
$customforms_video[8] = 0;//does this page allow a video upload
//$customforms_order_by[8] = ''; // optional list order field, empty = TABLE_NAME_order
//$customforms_form_set_select_by_field[8] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[8] = 9; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[8] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[9] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[9] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[9] = 'Donor'; // display name of master table
$customforms_form_set_master_table[9] = 'Donors'; // the table with the id
$customforms_form_set_master_menu_id[9] = 1; // the menu_id of the master table
//$customforms_file_location[9] = '/include2/globals/customforms/data_files/donors_personal_profile.csv'; //location of the csv file
$customforms_table_name[9] = '';
$customforms_table_section_name[9] = 'Donors_Personal_Profile'; //the section to read in the csv file
$customforms_desc[9] = 'Personal Profile'; // this will be used on menu and page header
$customforms_icon[9] = 'female'; // //option male, female, ... add as needed
$customforms_photos[9] = 0; //do they have photos
$customforms_multiple_photos[9] = 0;//do they have multiple photos
$customforms_multiple_photos_only[9] = 0;//is this s photo only page
$customforms_video[9] = 0;//does this page allow a video upload
//$customforms_order_by[9] = ''; // optional list order field, empty = TABLE_NAME_order
//$customforms_form_set_select_by_field[9] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[9] = 10; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[9] = 0; // this is to tell the page not to display list and change "add new" to "edit"
//NOTE; this is a custom modification cheat by dan for this specific client
//in future, need to account for a page only displying multiple photos with no associated page with a primary photo
$customforms[10] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[10] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[10] = 'Donor'; // the table with the id
$customforms_form_set_master_table[10] = 'Donors'; // the table with the id
$customforms_form_set_master_menu_id[10] = 1; // the menu_id of the master table
//$customforms_file_location[10] = '/include2/globals/customforms/data_files/donors_photos.csv'; //location of the csv file
$customforms_table_name[10] = 'Donors_Photos';
$customforms_table_section_name[10] = 'Donors_Photos'; //the section to read in the csv file
$customforms_desc[10] = 'Photographs'; // this will be used on menu and page header
$customforms_icon[10] = 'female'; // //option male, female, ... add as needed
$customforms_photos[10] = 0; //do they have photos
$customforms_multiple_photos[10] = 1;//do they have multiple photos
$customforms_multiple_photos_only[10] = 1;//is this s photo only page
$customforms_video[10] = 1;//does this page allow a video upload
$customforms_order_by[10] = ''; // optional list order field, empty = TABLE_NAME_order
$customforms_form_set_select_by_field[10] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[10] = 11; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[10] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[11] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[11] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[11] = 'Donor'; // display name of master table
$customforms_form_set_master_table[11] = 'Donors'; // the table with the id
$customforms_form_set_master_menu_id[11] = 1; // the menu_id of the master table
//$customforms_file_location[11] = '/include2/globals/customforms/data_files/donors_release.csv'; //location of the csv file
$customforms_table_name[11] = '';
$customforms_table_section_name[11] = 'Donors_Release'; //the section to read in the csv file
$customforms_desc[11] = 'Release and Submit'; // this will be used on menu and page header
$customforms_icon[11] = 'female'; // //option male, female, ... add as needed
$customforms_photos[11] = 0; //do they have photos
$customforms_multiple_photos[11] = 0;//do they have multiple photos
$customforms_multiple_photos_only[11] = 0;//is this a photo only page
$customforms_video[11] = 0;//does this page allow a video upload
$customforms_order_by[11] = ''; // optional list order field, empty = TABLE_NAME_order
//$customforms_form_set_select_by_field[11] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[11] = 12; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[11] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[11] = 0; //values 0 or 1 - used to declare is the page exists or not
$customforms_table_name[11] = 'Donors_Family_History';
$customforms_desc[11] = 'Family History'; // this will be used on menu and page header
$customforms_icon[11] = 'female'; // //option male, female, ... add as needed
$customforms_photos[11] = 0; //do they have photos
$customforms_multiple_photos[11] = 0;//do they have multiple photos
$customforms_multiple_photos_only[11] = 0;//is this s photo only page
$customforms_video[11] = 0;//does this page allow a video upload
$customforms_file_location[11] = '/include2/globals/customforms/data_files/donors_family_history.csv'; //location of the csv file
$customforms_order_by[11] = ''; // optional list order field, empty = TABLE_NAME_order
$customforms_form_set[11] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[11] = 'Donor'; // display name of master table
$customforms_form_set_master_table[11] = 'Donors_Admin'; // the table with the id
$customforms_form_set_select_by_field[11] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[11] = 11; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[11] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[12] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_table_name[12] = 'Recipients';
$customforms_desc[12] = 'Recipient'; // this will be used on menu and page header
$customforms_icon[12] = 'couple'; // //option male, female, ... add as needed
$customforms_photos[12] = 2; //do they have photos. values 0,1,2 (2=2 photos)
$customforms_multiple_photos[12] = 0;//do they have multiple photos
$customforms_multiple_photos_only[12] = 0;//is this s photo only page
$customforms_video[12] = 0;//does this page allow a video upload
//$customforms_file_location[12] = '/include2/globals/customforms/data_files/recipients.csv'; //location of the csv file
$customforms_order_by[12] = 'last_name'; // optional list order field, empty = TABLE_NAME_order
$customforms_list_display_field[12] = 'first_name|last_name'; // list display fields, separate by pipes, example: first|last displays as "first last", required for stand alone fields
$customforms_form_set[12] = 0; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[12] = ''; // display name of master table
$customforms_form_set_master_table[12] = '12'; // the table with the id
$customforms_form_set_select_by_field[12] = ''; // the field name of the foreign key
$customforms_form_set_number[12] = 0; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_form_hide_ordering[12] = 1; // hide the manual ordering of this group(useful with people - alphabetic by last)
$customforms_no_loop[12] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[13] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_table_name[13] = 'Doctors';
$customforms_desc[13] = 'Doctor'; // this will be used on menu and page header
$customforms_icon[13] = 'doctor'; // //option male, female, ... add as needed
$customforms_photos[13] = 0; //do they have photos
$customforms_multiple_photos[13] = 0;//do they have multiple photos
$customforms_multiple_photos_only[13] = 0;//is this a photo only page
$customforms_video[13] = 0;//does this page allow a video upload
//$customforms_file_location[13] = '/include2/globals/customforms/data_files/doctors.csv'; //location of the csv file
$customforms_order_by[13] = ''; // optional list order field, empty = TABLE_NAME_order
$customforms_list_display_field[13] = 'office_name'; // list display fields, separate by pipes, example: first|last displays as "first last", required for stand alone fields
$customforms_form_set[13] = 0; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[13] = ''; // display name of master table
$customforms_form_set_master_table[13] = ''; // the table with the id
$customforms_form_set_select_by_field[13] = ''; // the field name of the foreign key
$customforms_form_set_number[13] = 1; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[13] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[14] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_table_name[14] = 'Donors_Release';
$customforms_desc[14] = 'Release and Submit'; // this will be used on menu and page header
$customforms_icon[14] = 'female'; // //option male, female, ... add as needed
$customforms_photos[14] = 0; //do they have photos
$customforms_multiple_photos[14] = 0;//do they have multiple photos
$customforms_multiple_photos_only[14] = 0;//is this s photo only page
$customforms_video[14] = 0;//does this page allow a video upload
$customforms_file_location[11] = '/include2/globals/customforms/data_files/donors_release.csv'; //location of the csv file
$customforms_order_by[14] = ''; // optional list order field, empty = TABLE_NAME_order
$customforms_form_set[14] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[14] = 'Donor'; // display name of master table
$customforms_form_set_master_table[14] = 'Donors_Admin'; // the table with the id
$customforms_form_set_select_by_field[14] = 'donor_id'; // the field name of the foreign key
$customforms_form_set_number[14] = 12; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[14] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[16] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[16] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[16] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[16] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[16] = 16; // the menu_id of the master table
//$customforms_file_location[16] = '/include2/globals/customforms/data_files/surrogates_combined.csv'; //location of the csv file (with master sets, only needed on primary)
$customforms_table_name[16] = ''; //use when no master table
$customforms_table_section_name[16] = 'Surrogates_Admin'; //the section to read in the csv file
$customforms_desc[16] = 'Login and Status'; // this will be used on menu and page header
$customforms_icon[16] = 'female'; // //option male, female, ... add as needed
$customforms_photos[16] = 0; //do they have photos
$customforms_multiple_photos[16] = 0; //do they have multiple photos
$customforms_multiple_photos_only[16] = 0; //is this a photo only page
$customforms_video[16] = 0;//does this page allow a video upload
$customforms_order_by[16] = 'id'; // optional list order field, empty = TABLE_NAME_order
$customforms_list_display_field[16] = 'first_name|last_name'; // optional list display fields, separate by pipes, example: first|last displays as "first last"
$customforms_form_set_number[16] = 1; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_form_hide_ordering[16] = 1; // hide the manual ordering of this group(useful with people - alphabetic by last)
$customforms_no_loop[16] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[17] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[17] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[17] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[17] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[17] = 16; // the menu_id of the master table
$customforms_table_name[17] = ''; //use when no master table
$customforms_table_section_name[17] = 'Surrogates_Personal'; //the section to read in the csv file
$customforms_desc[17] = 'Personal Information'; // this will be used on menu and page header
$customforms_icon[17] = 'female'; // //option male, female, ... add as needed
$customforms_photos[17] = 0; //do they have photos
$customforms_multiple_photos[17] = 0;//do they have multiple photos
$customforms_multiple_photos_only[17] = 0;//is this s photo only page
$customforms_video[17] = 0;//does this page allow a video upload
$customforms_form_set_number[17] = 2; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[17] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[18] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[18] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[18] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[18] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[18] = 16; // the menu_id of the master table
$customforms_table_name[18] = ''; //use when no master table
$customforms_table_section_name[18] = 'Surrogates_Personal2'; //the section to read in the csv file
$customforms_desc[18] = 'Personal Information (part 2)'; // this will be used on menu and page header
$customforms_icon[18] = 'female'; // //option male, female, ... add as needed
$customforms_photos[18] = 0; //do they have photos
$customforms_multiple_photos[18] = 0;//do they have multiple photos
$customforms_multiple_photos_only[18] = 0;//is this s photo only page
$customforms_video[18] = 0;//does this page allow a video upload
$customforms_form_set_number[18] = 3; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[18] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[19] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[19] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[19] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[19] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[19] = 16; // the menu_id of the master table
$customforms_table_name[19] = ''; //use when no master table
$customforms_table_section_name[19] = 'Surrogates_Physical_Characteristics'; //the section to read in the csv file
$customforms_desc[19] = 'Physical Characteristics'; // this will be used on menu and page header
$customforms_icon[19] = 'female'; // //option male, female, ... add as needed
$customforms_photos[19] = 0; //do they have photos
$customforms_multiple_photos[19] = 0;//do they have multiple photos
$customforms_multiple_photos_only[19] = 0;//is this s photo only page
$customforms_video[19] = 0;//does this page allow a video upload
$customforms_form_set_number[19] = 4; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[19] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[20] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[20] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[20] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[20] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[20] = 16; // the menu_id of the master table
$customforms_table_name[20] = ''; //use when no master table
$customforms_table_section_name[20] = 'Surrogates_History'; //the section to read in the csv file
$customforms_desc[20] = 'Surrogate History'; // this will be used on menu and page header
$customforms_icon[20] = 'female'; // //option male, female, ... add as needed
$customforms_photos[20] = 0; //do they have photos
$customforms_multiple_photos[20] = 0;//do they have multiple photos
$customforms_multiple_photos_only[20] = 0;//is this s photo only page
$customforms_video[20] = 0;//does this page allow a video upload
$customforms_form_set_number[20] = 5; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[20] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[21] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[21] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[21] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[21] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[21] = 16; // the menu_id of the master table
$customforms_table_name[21] = ''; //use when no master table
$customforms_table_section_name[21] = 'Surrogates_Academic'; //the section to read in the csv file
$customforms_desc[21] = 'Education/Employment'; // this will be used on menu and page header
$customforms_icon[21] = 'female'; // //option male, female, ... add as needed
$customforms_photos[21] = 0; //do they have photos
$customforms_multiple_photos[21] = 0;//do they have multiple photos
$customforms_multiple_photos_only[21] = 0;//is this s photo only page
$customforms_video[21] = 0;//does this page allow a video upload
$customforms_form_set_number[21] = 6; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[21] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[22] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[22] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[22] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[22] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[22] = 16; // the menu_id of the master table
$customforms_table_name[22] = ''; //use when no master table
$customforms_table_section_name[22] = 'Surrogates_Personal_Profile'; //the section to read in the csv file
$customforms_desc[22] = 'Personal Profile'; // this will be used on menu and page header
$customforms_icon[22] = 'female'; // //option male, female, ... add as needed
$customforms_photos[22] = 0; //do they have photos
$customforms_multiple_photos[22] = 0;//do they have multiple photos
$customforms_multiple_photos_only[22] = 0;//is this s photo only page
$customforms_video[22] = 0;//does this page allow a video upload
$customforms_form_set_number[22] = 10; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[22] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[23] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[23] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[23] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[23] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[23] = 16; // the menu_id of the master table
$customforms_table_name[23] = ''; //use when no master table
$customforms_table_section_name[23] = 'Surrogates_Fertility_History'; //the section to read in the csv file
$customforms_desc[23] = 'Reproductive Health History'; // this will be used on menu and page header
$customforms_icon[23] = 'female'; // //option male, female, ... add as needed
$customforms_photos[23] = 0; //do they have photos
$customforms_multiple_photos[23] = 0;//do they have multiple photos
$customforms_multiple_photos_only[23] = 0;//is this s photo only page
$customforms_video[23] = 0;//does this page allow a video upload
$customforms_form_set_number[23] = 9; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[23] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[24] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[24] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[24] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[24] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[24] = 16; // the menu_id of the master table
$customforms_table_name[24] = ''; //use when no master table
$customforms_table_section_name[24] = 'Surrogates_Other_Medical_History'; //the section to read in the csv file
$customforms_desc[24] = 'Medical History'; // this will be used on menu and page header
$customforms_icon[24] = 'female'; // //option male, female, ... add as needed
$customforms_photos[24] = 0; //do they have photos
$customforms_multiple_photos[24] = 0;//do they have multiple photos
$customforms_multiple_photos_only[24] = 0;//is this s photo only page
$customforms_video[24] = 0;//does this page allow a video upload
$customforms_form_set_number[24] = 7; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[24] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[25] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[25] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[25] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[25] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[25] = 16; // the menu_id of the master table
$customforms_table_name[25] = ''; //use when no master table
$customforms_table_section_name[25] = 'Surrogates_Medical_History'; //the section to read in the csv file
$customforms_desc[25] = 'Extended Medical History'; // this will be used on menu and page header
$customforms_icon[25] = 'female'; // //option male, female, ... add as needed
$customforms_photos[25] = 0; //do they have photos
$customforms_multiple_photos[25] = 0;//do they have multiple photos
$customforms_multiple_photos_only[25] = 0;//is this s photo only page
$customforms_video[25] = 0;//does this page allow a video upload
$customforms_form_set_number[25] = 8; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[25] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms[26] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[26] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[26] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[26] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[26] = 16; // the menu_id of the master table
$customforms_table_name[26] = ''; //use when no master table
$customforms_table_section_name[26] = 'Surrogates_Journey'; //the section to read in the csv file
$customforms_desc[26] = 'Surrogates Journey'; // this will be used on menu and page header
$customforms_icon[26] = 'female'; // //option male, female, ... add as needed
$customforms_photos[26] = 0; //do they have photos
$customforms_multiple_photos[26] = 0;//do they have multiple photos
$customforms_multiple_photos_only[26] = 0;//is this s photo only page
$customforms_video[26] = 0;//does this page allow a video upload
$customforms_form_set_number[26] = 11; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[26] = 0; // this is to tell the page not to display list and change "add new" to "edit"
//NOTE; this is a custom modification cheat by dan for this specific client
//in future, need to account for a page only displying multiple photos with no associated page with a primary photo
$customforms[27] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[27] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[27] = 'Surrogate'; // the table with the id
$customforms_form_set_master_table[27] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[27] = 16; // the menu_id of the master table
//$customforms_file_location[27] = '/include2/globals/customforms/data_files/surrogates_photos.csv'; //location of the csv file
$customforms_table_name[27] = 'Surrogates_Photos';
$customforms_table_section_name[27] = 'Surrogates_Photos'; //the section to read in the csv file
$customforms_desc[27] = 'Photographs'; // this will be used on menu and page header
$customforms_icon[27] = 'female'; // //option male, female, ... add as needed
$customforms_photos[27] = 0; //do they have photos
$customforms_multiple_photos[27] = 1;//do they have multiple photos
$customforms_multiple_photos_only[27] = 1;//is this s photo only page
$customforms_video[27] = 1;//does this page allow a video upload
$customforms_order_by[27] = ''; // optional list order field, empty = TABLE_NAME_order
$customforms_form_set_number[27] = 12; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[27] = 0; // this is to tell the page not to display list and change "add new" to "edit"
$customforms_form_set_select_by_field[27] = 'surrogate_id'; // the field name of the foreign key
$customforms[28] = 1; //values 0 or 1 - used to declare is the page exists or not
$customforms_form_set[28] = 1; // does this belong to a group for tables with a common id
$customforms_form_set_master_name[28] = 'Surrogate'; // display name of master table
$customforms_form_set_master_table[28] = 'Surrogates'; // the table with the id
$customforms_form_set_master_menu_id[28] = 16; // the menu_id of the master table
$customforms_table_name[28] = ''; //use when no master table
$customforms_table_section_name[28] = 'Surrogates_Release'; //the section to read in the csv file
$customforms_desc[28] = 'Release and Submit'; // this will be used on menu and page header
$customforms_icon[28] = 'female'; // //option male, female, ... add as needed
$customforms_photos[28] = 0; //do they have photos
$customforms_multiple_photos[28] = 0;//do they have multiple photos
$customforms_multiple_photos_only[28] = 0;//is this a photo only page
$customforms_video[28] = 0;//does this page allow a video upload
$customforms_form_set_number[28] = 13; // table group order (i.e: when clicking edit, you will see form 1, with a link to form 2)
$customforms_no_loop[28] = 0; // this is to tell the page not to display list and change "add new" to "edit"
*/
//moved below lines from globalvars.php so as not to cause errors on front end when adding new functionality to site
//for($c=1; $c<=count($customforms); $c++)
//include 'include2/admin/setup/custom_forms.php';
////////////////// end dynamic create a form elements //////////////////
////////////////// miscellaneous elements //////////////////
$cyear = date(Y);
if($cyear == $design_year)
$cdisplay = $cyear;
else
$cdisplay = $design_year.'-'.$cyear;
// This section is primarily for error reporting
$DB_Email_To = 'dan@codegoodies.com'; // Address to send to
// This may be best to set as a mailing list of people responsible
// to run the server.
$DB_Email_Subject = '['.$url_base.'.'.$url_tld.'] PHP Error on Site'; // Subject to use
$DB_Email_From = 'errors@'.$server_dir.'.'.$url_tld; // From address to use
// For lack of a better suggestion, use the account which the web
// server processes run as
$DB_Email_CC = ''; // Address to CC to
$DB_Email_Reply = ''; // Reply-to address
// As with the To address, a mailing list of admins may work best
// this include will create database, create all tables beased on above and insert rows as needed.
//moved below line from globalvars.php so as not to cause errors on front end when adding new functionality to site
//include 'include2/admin/setup/initial_setup.php';
////////////////////// THESE VARIABLES SHOULD BE ELIMINATED /////////////////////////////
$noDBinfo = true; // need to remove this from /nicki/home/login scripts
?>