From 5837835b5c93c674d41a7e7ba8ce159877b5cdfd Mon Sep 17 00:00:00 2001 From: eileen Date: Mon, 14 Dec 2015 14:49:09 +1300 Subject: [PATCH] CRM-17700 allow contribution get to bypass permissions Note this just extends the existing 'check_permissions' to apply to custom data as well. Using check permission defaults to 0 for php api & 1 for json (can not be overriden in json) --- CRM/Contact/BAO/Contact.php | 6 +- CRM/Contact/BAO/Query.php | 4 +- CRM/Contribute/BAO/Contribution.php | 4 +- CRM/Contribute/BAO/Query.php | 4 +- CRM/Core/Component.php | 4 +- tools/queries | 36815 ++++++++++++++++++++++++++ tools/queriesafter.txt | 35610 +++++++++++++++++++++++++ 7 files changed, 72436 insertions(+), 11 deletions(-) create mode 100644 tools/queries create mode 100644 tools/queriesafter.txt diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index bfb6b2beef..c41b27b08d 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -1383,7 +1383,7 @@ WHERE id={$id}; "; * @return array * array of exportable Fields */ - public static function &exportableFields($contactType = 'Individual', $status = FALSE, $export = FALSE, $search = FALSE, $withMultiRecord = FALSE) { + public static function &exportableFields($contactType = 'Individual', $status = FALSE, $export = FALSE, $search = FALSE, $withMultiRecord = FALSE, $checkPermissions = TRUE) { if (empty($contactType)) { $contactType = 'All'; } @@ -1476,7 +1476,7 @@ WHERE id={$id}; "; if ($contactType != 'All') { $fields = array_merge($fields, - CRM_Core_BAO_CustomField::getFieldsForImport($contactType, $status, FALSE, $search, TRUE, $withMultiRecord) + CRM_Core_BAO_CustomField::getFieldsForImport($contactType, $status, FALSE, $search, $checkPermissions, $withMultiRecord) ); } else { @@ -1486,7 +1486,7 @@ WHERE id={$id}; "; 'Organization', ) as $type) { $fields = array_merge($fields, - CRM_Core_BAO_CustomField::getFieldsForImport($type, FALSE, FALSE, $search, TRUE, $withMultiRecord) + CRM_Core_BAO_CustomField::getFieldsForImport($type, FALSE, FALSE, $search, $checkPermissions, $withMultiRecord) ); } } diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 516a555470..327903ca48 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -440,9 +440,9 @@ class CRM_Contact_BAO_Query { $this->_skipPermission = TRUE; } else { - $this->_fields = CRM_Contact_BAO_Contact::exportableFields('All', FALSE, TRUE, TRUE); + $this->_fields = CRM_Contact_BAO_Contact::exportableFields('All', FALSE, TRUE, TRUE, FALSE, !$skipPermission); - $fields = CRM_Core_Component::getQueryFields(); + $fields = CRM_Core_Component::getQueryFields(!$this->_skipPermission); unset($fields['note']); $this->_fields = array_merge($this->_fields, $fields); diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 12ff3f614d..93fed6a9bf 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -722,7 +722,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { /** * @return array */ - public static function &exportableFields() { + public static function &exportableFields($checkPermission = TRUE) { if (!self::$_exportableFields) { if (!self::$_exportableFields) { self::$_exportableFields = array(); @@ -819,7 +819,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { $fields = array_merge($impFields, $typeField, $contributionStatus, $contributionPage, $optionField, $expFieldProduct, $expFieldsContrib, $contributionNote, $contributionRecurId, $extraFields, $softCreditFields, $financialAccount, $premiums, - CRM_Core_BAO_CustomField::getFieldsForImport('Contribution') + CRM_Core_BAO_CustomField::getFieldsForImport('Contribution', FALSE, FALSE, FALSE, $checkPermission) ); self::$_exportableFields = $fields; diff --git a/CRM/Contribute/BAO/Query.php b/CRM/Contribute/BAO/Query.php index ffadad33e4..bb515d9985 100644 --- a/CRM/Contribute/BAO/Query.php +++ b/CRM/Contribute/BAO/Query.php @@ -49,11 +49,11 @@ class CRM_Contribute_BAO_Query { * @return array * self::$_contributionFields associative array of contribution fields */ - public static function &getFields() { + public static function &getFields($checkPermission = TRUE) { if (!self::$_contributionFields) { self::$_contributionFields = array(); - $fields = CRM_Contribute_BAO_Contribution::exportableFields(); + $fields = CRM_Contribute_BAO_Contribution::exportableFields($checkPermission); unset($fields['contribution_contact_id']); diff --git a/CRM/Core/Component.php b/CRM/Core/Component.php index 5e5ce0c6d9..685dee5400 100644 --- a/CRM/Core/Component.php +++ b/CRM/Core/Component.php @@ -269,13 +269,13 @@ class CRM_Core_Component { /** * @return array */ - public static function &getQueryFields() { + public static function &getQueryFields($checkPermission = TRUE) { $info = self::_info(); $fields = array(); foreach ($info as $name => $comp) { if ($comp->usesSearch()) { $bqr = $comp->getBAOQueryObject(); - $flds = $bqr->getFields(); + $flds = $bqr->getFields($checkPermission); $fields = array_merge($fields, $flds); } } diff --git a/tools/queries b/tools/queries new file mode 100644 index 0000000000..efc68ff389 --- /dev/null +++ b/tools/queries @@ -0,0 +1,36815 @@ +PHPUnit 3.6.10 by Sebastian Bergmann. + + + SET SESSION sql_mode = STRICT_TRANS_TABLES + + SET NAMES utf8 + + SELECT id, name, value, domain_id, contact_id, is_domain, component_id, created_date, created_id +FROM civicrm_setting +WHERE (domain_id = 1) AND (is_domain = 1) + + + SELECT locale_custom_strings FROM civicrm_domain WHERE id = 1 + + SELECT * + FROM civicrm_domain + + WHERE ( civicrm_domain.id = 1 ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) AND ( civicrm_cache.path = 'mapper/moduleFiles' ) + + + + + + + SELECT full_name, file + FROM civicrm_extension + WHERE is_active = 1 + AND type = "module" + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) AND ( civicrm_cache.path = 'mapper/moduleFiles' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('4ae609f4c5da3b0980c7327dbc5f7dae' , 'mapper/moduleFiles' , 'a:0:{}' , 20151201183248 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_all._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'all' , 'a:132:{s:32:\"address_standardization_provider\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:32:\"address_standardization_provider\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:33:\"Address Standardization Provider.\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:492:\"CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. \";}s:30:\"address_standardization_userid\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:30:\"address_standardization_userid\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Web service user ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:27:\"address_standardization_url\";a:13:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:27:\"address_standardization_url\";s:4:\"type\";s:4:\"Text\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Web Service URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:15:\"Web Service URL\";s:17:\"validate_callback\";s:19:\"CRM_Utils_Rule::url\";}s:15:\"tag_unconfirmed\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:15:\"tag_unconfirmed\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:11:\"Unconfirmed\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:36:\"Tag for Unconfirmed Petition Signers\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:17:\"petition_contacts\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:17:\"petition_contacts\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:17:\"Petition Contacts\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Petition Signers Group\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:23:\"cvv_backoffice_required\";a:12:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:23:\"cvv_backoffice_required\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:28:\"CVV required for backoffice?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"Is the CVV code required for back office credit card transactions\";s:9:\"help_text\";s:137:\"If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change\";}s:29:\"contribution_invoice_settings\";a:11:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:29:\"contribution_invoice_settings\";s:4:\"type\";s:5:\"Array\";s:7:\"default\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Contribution Invoice Settings\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_view_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_view_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_view_options\";}s:7:\"default\";s:28:\"123456789101113\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Viewing Contacts\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_edit_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_edit_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_edit_options\";}s:7:\"default\";s:37:\"123456789111214151617\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Editing Contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"advanced_search_options\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:4:\"name\";s:23:\"advanced_search_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:23:\"advanced_search_options\";}s:7:\"default\";s:46:\"123456789101112131516171819\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:22:\"user_dashboard_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:22:\"user_dashboard_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:22:\"user_dashboard_options\";}s:7:\"default\";s:15:\"1234578\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Contact Dashboard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"address_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"address_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:15:\"address_options\";}s:7:\"default\";s:23:\"123456891011\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Addressing Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"address_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"address_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:8:\"TextArea\";s:7:\"default\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Address Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"mailing_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"mailing_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Mailing Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"display_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"display_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Display Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"sort_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"sort_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Sort Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"editor_id\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"editor_id\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";s:8:\"CKEditor\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Wysiwig Editor\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:26:\"contact_ajax_check_similar\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:26:\"contact_ajax_check_similar\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Ajax Check Similar\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:17:\"ajaxPopupsEnabled\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"ajaxPopupsEnabled\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:19:\"Ajax Popups Enabled\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:30:\"activity_assignee_notification\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:30:\"activity_assignee_notification\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Notify Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:34:\"activity_assignee_notification_ics\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:34:\"activity_assignee_notification_ics\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:41:\"Include ICal Invite to Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:28:\"contact_autocomplete_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:28:\"contact_autocomplete_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:27:\"Autocomplete Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.\";s:9:\"help_text\";N;}s:25:\"contact_reference_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:25:\"contact_reference_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:57:\"CRM_Admin_Form_Setting_Search::getContactReferenceOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Contact Reference Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:508:\"Selected fields will be displayed in autocomplete dropdown search results for \'Contact Reference\' custom fields. Contact Name is always included. NOTE: You must assign \'access contact reference fields\' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the \'Limit List to Group\' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.\";s:9:\"help_text\";N;}s:27:\"contact_smart_group_display\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"contact_smart_group_display\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:5:\"radio\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Viewing Smart Groups\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"max_attachments\";a:15:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"max_attachments\";s:10:\"legacy_key\";s:14:\"maxAttachments\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Maximum Attachments\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Maximum number of files (documents, images, etc.) which can attached to emails or activities.\";s:9:\"help_text\";N;}s:11:\"maxFileSize\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"maxFileSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:25:\"Maximum File Size (in MB)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.\";s:9:\"help_text\";N;}s:16:\"contact_undelete\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"contact_undelete\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Contact Trash and Undelete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:200:\"If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).\";s:9:\"help_text\";N;}s:24:\"allowPermDeleteFinancial\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:24:\"allowPermDeleteFinancial\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:24:\"Contact Permanent Delete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:81:\"Allow Permanent Delete for contacts who are linked to live financial transactions\";s:9:\"help_text\";N;}s:12:\"versionCheck\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"versionCheck\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:31:\"Automatically Check for Updates\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:13:\"securityAlert\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:13:\"securityAlert\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:13:\"Status Alerts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:154:\"If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.\";s:9:\"help_text\";N;}s:21:\"doNotAttachPDFReceipt\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"doNotAttachPDFReceipt\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Attach PDF copy to receipts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:98:\"If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.\";s:9:\"help_text\";N;}s:15:\"wkhtmltopdfPath\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"wkhtmltopdfPath\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:256;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Path to wkhtmltopdf executable\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"recaptchaOptions\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"recaptchaOptions\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Recaptcha Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:256:\"You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.\";s:9:\"help_text\";N;}s:18:\"recaptchaPublicKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:18:\"recaptchaPublicKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Recaptcha Site Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"recaptchaPrivateKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"recaptchaPrivateKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Recaptcha Secret Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:21:\"dashboardCacheTimeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"dashboardCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:3;s:9:\"maxlength\";i:5;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Dashboard cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"checksum_timeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"checksum_timeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";i:7;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Checksum Lifespan\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"blogUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"blogUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:13:\"Blog Feed URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:38:\"Blog feed URL used by the blog dashlet\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:20:\"communityMessagesUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"communityMessagesUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Community Messages URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:44:\"Service providing CiviCRM community messages\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:17:\"gettingStartedUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"gettingStartedUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Getting Started URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:42:\"Service providing the Getting Started data\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:12:\"resCacheCode\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"resCacheCode\";s:4:\"type\";s:6:\"String\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:12:\"resCacheCode\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:62:\"Code appended to resource URLs (JS/CSS) to coerce HTTP caching\";s:9:\"help_text\";N;}s:9:\"verifySSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"verifySSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:11:\"Verify SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:92:\"If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections\";s:9:\"help_text\";s:140:\"Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes\";}s:9:\"enableSSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"enableSSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:10:\"Force SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";s:9:\"help_text\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";}s:10:\"wpBasePage\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:10:\"wpBasePage\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"WordPress Base Page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"If set, CiviCRM will use this setting as the base url.\";s:9:\"help_text\";s:177:\"By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.\";}s:23:\"secondDegRelPermissions\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"secondDegRelPermissions\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:44:\"Allow second-degree relationship permissions\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"If enabled, contacts with the permission to edit a related contact will inherit that contact\'s permission to edit other related contacts\";s:9:\"help_text\";N;}s:17:\"enable_components\";a:16:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"enable_components\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:14:\"advmultiselect\";s:15:\"html_attributes\";a:3:{s:4:\"size\";i:5;s:5:\"style\";s:11:\"width:150px\";s:5:\"class\";s:14:\"advmultiselect\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:17:\"Enable Components\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;s:9:\"on_change\";a:3:{i:0;s:33:\"CRM_Case_Info::onToggleComponents\";i:1;s:42:\"CRM_Core_Component::flushEnabledComponents\";i:2;s:31:\"call://resources/resetCacheCode\";}}s:16:\"disable_core_css\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"disable_core_css\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:19:\"Disable CiviCRM css\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:55:\"Prevent the stylesheet \"civicrm.css\" from being loaded.\";s:9:\"help_text\";N;}s:11:\"empoweredBy\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"empoweredBy\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"Display \"empowered by CiviCRM\"\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:80:\"When enabled, \"empowered by CiviCRM\" is displayed at the bottom of public forms.\";s:9:\"help_text\";N;}s:7:\"logging\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"logging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:9:\"html_type\";s:0:\"\";s:7:\"default\";s:1:\"0\";s:5:\"title\";s:7:\"Logging\";s:11:\"description\";s:73:\"If enabled, all actions will be logged with a complete record of changes.\";s:17:\"validate_callback\";s:39:\"CRM_Logging_Schema::checkLoggingSupport\";s:9:\"on_change\";a:1:{i:0;s:28:\"CRM_Logging_Schema::onToggle\";}}s:27:\"userFrameworkUsersTableName\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"userFrameworkUsersTableName\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:23:\"Drupal Users Table Name\";s:11:\"description\";s:0:\"\";}s:9:\"wpLoadPhp\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"wpLoadPhp\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:29:\"WordPress Path to wp-load.php\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"CiviCRM will use this setting as path to bootstrap WP.\";s:9:\"help_text\";N;}s:7:\"site_id\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"site_id\";s:4:\"type\";s:6:\"String\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:14:\"Unique Site ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"systemStatusCheckResult\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"systemStatusCheckResult\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:23:\"systemStatusCheckResult\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"userFrameworkLogging\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:20:\"userFrameworkLogging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Enable Drupal Watchdog Logging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:101:\"Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs\";s:9:\"help_text\";s:239:\"Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS\' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal\'s watchdog enabled)\";}s:13:\"debug_enabled\";a:13:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:13:\"debug_enabled\";s:10:\"config_key\";s:5:\"debug\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Enable Debugging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:130:\"Set this value to Yes if you want to use one of CiviCRM\'s debugging tools. This feature should NOT be enabled for production sites\";s:9:\"help_text\";s:39:\"Do not turn this on on production sites\";}s:9:\"backtrace\";a:11:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:9:\"backtrace\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Display Backtrace\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:155:\"Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites\";}s:17:\"fatalErrorHandler\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:17:\"fatalErrorHandler\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Fatal Error Handler\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.\";}s:9:\"uploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:9:\"uploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Temporary Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:90:\"File system path where temporary CiviCRM files - such as import data files - are uploaded.\";}s:14:\"imageUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:14:\"imageUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Image Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:147:\"File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).\";s:9:\"help_text\";N;}s:19:\"customFileUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:19:\"customFileUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Custom Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:195:\"Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.\";s:9:\"help_text\";N;}s:17:\"customTemplateDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:17:\"customTemplateDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Custom Template Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:207:\"Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)\";s:9:\"help_text\";N;}s:16:\"customPHPPathDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:16:\"customPHPPathDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Custom PHP Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:99:\"Path where site specific PHP code files are stored if any. This directory is searched first if set.\";s:9:\"help_text\";N;}s:13:\"extensionsDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:13:\"extensionsDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Extensions Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:41:\"Path where CiviCRM extensions are stored.\";s:9:\"help_text\";N;}s:11:\"enable_cart\";a:12:{s:4:\"name\";s:11:\"enable_cart\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Enable Event Cart\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:8:\"WRITE ME\";s:9:\"help_text\";s:8:\"WRITE ME\";}s:11:\"show_events\";a:13:{s:4:\"name\";s:11:\"show_events\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:17:\"Dashboard entries\";s:9:\"html_type\";s:6:\"select\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:107:\"Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.\";s:9:\"help_text\";N;}s:12:\"ext_repo_url\";a:14:{s:10:\"group_name\";s:21:\"Extension Preferences\";s:5:\"group\";s:3:\"ext\";s:4:\"name\";s:12:\"ext_repo_url\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Extension Repo URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";s:0:\"\";}s:23:\"customTranslateFunction\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:23:\"customTranslateFunction\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"30\";s:9:\"maxlength\";s:3:\"100\";}s:7:\"default\";N;s:5:\"title\";s:25:\"Custom Translate Function\";s:11:\"description\";s:0:\"\";}s:25:\"monetaryThousandSeparator\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:25:\"monetaryThousandSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\",\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Thousands Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"monetaryDecimalPoint\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:20:\"monetaryDecimalPoint\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Decimal Delimiter\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:11:\"moneyformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:11:\"moneyformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%c %a\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Monetary Amount Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"moneyvalueformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:16:\"moneyvalueformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:3:\"%!i\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Monetary Value Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"defaultCurrency\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"defaultCurrency\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:3:\"USD\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Currency\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"Default currency assigned to contributions and other monetary transactions.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:55:\"CRM_Admin_Form_Setting_Localization::getCurrencySymbols\";}}s:21:\"defaultContactCountry\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:21:\"defaultContactCountry\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:0:{}s:7:\"default\";s:4:\"1228\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:15:\"Default Country\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:27:\"defaultContactStateProvince\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:27:\"defaultContactStateProvince\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:11:\"ChainSelect\";s:9:\"html_type\";s:11:\"ChainSelect\";s:7:\"default\";N;s:5:\"title\";s:22:\"Default State/Province\";s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";}s:12:\"countryLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:12:\"countryLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Available Countries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"provinceLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"provinceLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Available States and Provinces\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"inheritLocale\";a:12:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"inheritLocale\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Inherit CMS Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:18:\"dateformatDatetime\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:18:\"dateformatDatetime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:20:\"%B %E%f, %Y %l:%M %P\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Date Format: Complete Date and Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatFull\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatFull\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:11:\"%B %E%f, %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Date Format: Complete Date\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:17:\"dateformatPartial\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:17:\"dateformatPartial\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%B %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Date Format: Month and Year\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatTime\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatTime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:8:\"%l:%M %P\";s:5:\"title\";s:22:\"Date Format: Time Only\";s:11:\"description\";s:0:\"\";}s:14:\"dateformatYear\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatYear\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:2:\"%Y\";s:5:\"title\";s:22:\"Date Format: Year Only\";s:11:\"description\";s:0:\"\";}s:15:\"dateInputFormat\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"dateInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:48:\"CRM_Core_SelectValues::getDatePluginInputFormats\";}s:7:\"default\";s:8:\"mm/dd/yy\";s:5:\"title\";s:17:\"Date Input Format\";s:11:\"description\";s:0:\"\";}s:14:\"fieldSeparator\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"fieldSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:1:\"2\";s:9:\"maxlength\";s:1:\"8\";}s:7:\"default\";s:1:\",\";s:5:\"title\";s:31:\"Import / Export Field Separator\";s:11:\"description\";s:144:\"Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).\";}s:15:\"fiscalYearStart\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"fiscalYearStart\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:8:\"MonthDay\";s:9:\"html_type\";s:8:\"MonthDay\";s:7:\"default\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:5:\"title\";s:17:\"Fiscal Year Start\";s:11:\"description\";s:0:\"\";}s:13:\"languageLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"languageLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Available Languages (Multi-lingual)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:24:\"CRM_Core_I18n::languages\";}}s:10:\"lcMessages\";a:16:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"lcMessages\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:5:\"en_US\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions\";}s:9:\"on_change\";a:1:{i:0;s:55:\"CRM_Admin_Form_Setting_Localization::onChangeLcMessages\";}}s:14:\"legacyEncoding\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"legacyEncoding\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"30\";}s:7:\"default\";s:12:\"Windows-1252\";s:5:\"title\";s:15:\"Legacy Encoding\";s:11:\"description\";s:184:\"If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.\";}s:15:\"timeInputFormat\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"timeInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:37:\"CRM_Core_SelectValues::getTimeFormats\";}s:7:\"default\";s:1:\"1\";s:5:\"title\";s:17:\"Time Input Format\";s:11:\"description\";s:0:\"\";s:9:\"on_change\";a:1:{i:0;s:45:\"CRM_Core_BAO_PreferencesDate::onChangeSetting\";}}s:10:\"weekBegins\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"weekBegins\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:35:\"CRM_Utils_Date::getFullWeekdayNames\";}s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"Week begins on\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:24:\"contact_default_language\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:24:\"contact_default_language\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:62:\"CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions\";}s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Default Language for contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"Default language (if any) for contact records\";s:9:\"help_text\";s:197:\"If a contact is created with no language this setting will determine the language data (if any) to save.You may or may not wish to make an assumption here about whether it matches the site language\";}s:20:\"profile_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"profile_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:22:\"track_civimail_replies\";a:13:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:22:\"track_civimail_replies\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:43:\"Track replies using VERP in Reply-To header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:78:\"If checked, mailings will default to tracking replies using VERP-ed Reply-To. \";s:9:\"help_text\";N;s:17:\"validate_callback\";s:41:\"CRM_Core_BAO_Setting::validateBoolSetting\";}s:17:\"civimail_workflow\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:17:\"civimail_workflow\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:21:\"Use CiviMail Workflow\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:25:\"civimail_server_wide_lock\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:25:\"civimail_server_wide_lock\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:39:\"Lock Mails Server-Wide for Mail Sending\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"replyTo\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:7:\"replyTo\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:22:\"Enable Custom Reply-To\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Allow CiviMail users to send mailings with a custom Reply-To header\";s:9:\"help_text\";N;}s:15:\"mailing_backend\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:15:\"mailing_backend\";s:4:\"type\";s:5:\"Array\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Mailing Backend\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:33:\"profile_add_to_group_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:33:\"profile_add_to_group_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:30:\"disable_mandatory_tokens_check\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:30:\"disable_mandatory_tokens_check\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:34:\"Disable check for mandatory tokens\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:345:\"Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.\";s:9:\"help_text\";N;}s:20:\"dedupe_email_default\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"dedupe_email_default\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:44:\"CiviMail dedupes e-mail addresses by default\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:79:\"Set the \"dedupe e-mail\" option when sending a new mailing to \"true\" by default.\";s:9:\"help_text\";N;}s:16:\"hash_mailing_url\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"hash_mailing_url\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:20:\"Hashed Mailing URL\'s\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:131:\"If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID\";s:9:\"help_text\";N;}s:29:\"civimail_multiple_bulk_emails\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:29:\"civimail_multiple_bulk_emails\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:21:\" Multiple Bulk Emails\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:96:\"If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.\";s:9:\"help_text\";N;}s:18:\"include_message_id\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:18:\"include_message_id\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:45:\"Enable CiviMail to generate Message-ID header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:16:\"mailerBatchLimit\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailerBatchLimit\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:18:\"Mailer Batch Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:110:\"Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).\";s:9:\"help_text\";N;}s:13:\"mailerJobSize\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:15:\"Mailer Job Size\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:365:\"If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter \"0\" to disable multi-threading and process mail as one single job - batch limits still apply.\";s:9:\"help_text\";N;}s:13:\"mailerJobsMax\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobsMax\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:21:\"Mailer Cron Job Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:127:\"The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)\";s:9:\"help_text\";N;}s:16:\"mailThrottleTime\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailThrottleTime\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Mailer Throttle Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:234:\"The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.\";s:9:\"help_text\";N;}s:13:\"verpSeparator\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"verpSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:32;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"VERP Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:106:\"Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.\";s:9:\"help_text\";N;}s:21:\"write_activity_record\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:21:\"write_activity_record\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:48:\"Enable CiviMail to create activities on delivery\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"geoAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"geoAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Geo Provider Key\";s:11:\"description\";s:101:\"Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).\";}s:11:\"geoProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"geoProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::geoProvider\";}s:7:\"default\";N;s:5:\"title\";s:18:\"Geocoding Provider\";s:11:\"description\";s:229:\"You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.\";}s:9:\"mapAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"mapAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Map Provider Key\";s:11:\"description\";s:238:\"Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.\";}s:11:\"mapProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"mapProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::mapProvider\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Mapping Provider\";s:11:\"description\";s:98:\"Choose the mapping provider that has the best coverage for the majority of your contact addresses.\";}s:33:\"default_renewal_contribution_page\";a:13:{s:10:\"group_name\";s:18:\"Member Preferences\";s:5:\"group\";s:6:\"member\";s:4:\"name\";s:33:\"default_renewal_contribution_page\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:14:\"pseudoconstant\";a:1:{s:4:\"name\";s:16:\"contributionPage\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:38:\"Default online membership renewal page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:348:\"If you select a default online contribution page for self-service membership renewals, a \"renew\" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.\";s:9:\"help_text\";N;}s:10:\"is_enabled\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:10:\"is_enabled\";s:5:\"title\";s:20:\"Multisite Is enabled\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:20:\"Multisite is enabled\";s:9:\"help_text\";N;}s:15:\"domain_group_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:15:\"domain_group_id\";s:5:\"title\";s:22:\"Multisite Domain Group\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:25:\"event_price_set_domain_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:25:\"event_price_set_domain_id\";s:5:\"title\";s:22:\"Domain Event Price Set\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:19:\"uniq_email_per_site\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:19:\"uniq_email_per_site\";s:4:\"type\";s:7:\"Integer\";s:5:\"title\";s:24:\"Unique Email per Domain?\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:25:\"search_autocomplete_count\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:25:\"search_autocomplete_count\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:2;}s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Autocomplete Results\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"The maximum number of contacts to show at a time when typing in an autocomplete field.\";s:9:\"help_text\";N;}s:17:\"enable_innodb_fts\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:17:\"enable_innodb_fts\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:23:\"InnoDB Full Text Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)\";s:9:\"help_text\";N;s:9:\"on_change\";a:1:{i:0;a:2:{i:0;s:22:\"CRM_Core_InnoDBIndexer\";i:1;s:11:\"onToggleFts\";}}}s:14:\"fts_query_mode\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:14:\"fts_query_mode\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:6:\"simple\";s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"How to handle full-tet queries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"includeOrderByClause\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:20:\"includeOrderByClause\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:23:\"Include Order By Clause\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:119:\"If disabled, the search results will not be ordered. This may improve response time on search results on large datasets\";s:9:\"help_text\";N;}s:21:\"includeWildCardInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeWildCardInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:18:\"Automatic Wildcard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:745:\"If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for \'ada\' will return any contact whose name includes those letters - e.g. \'Adams, Janet\', \'Nadal, Jorge\', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for \'ada\' will return any contact whose last name begins with those letters - e.g. \'Adams, Janet\' but NOT \'Nadal, Jorge\'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards (\'%\' or \'_\') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: \'%ada\' will return \'Nadal, Jorge\'.\";s:9:\"help_text\";N;}s:18:\"includeEmailInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:18:\"includeEmailInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:13:\"Include Email\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:299:\"If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.\";s:9:\"help_text\";N;}s:21:\"includeNickNameInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeNickNameInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:16:\"Include Nickname\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"If enabled, nicknames are automatically included when users search by Name.\";s:9:\"help_text\";N;}s:24:\"includeAlphabeticalPager\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:24:\"includeAlphabeticalPager\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:26:\"Include Alphabetical Pager\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:149:\"If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.\";s:9:\"help_text\";N;}s:22:\"smartGroupCacheTimeout\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"smartGroupCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";i:5;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:25:\"Smart group cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:249:\"The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.\";s:9:\"help_text\";N;}s:22:\"defaultSearchProfileID\";a:15:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"defaultSearchProfileID\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:51:\"CRM_Admin_Form_Setting_Search::getAvailableProfiles\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:30:\"Default Contact Search Profile\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"If set, this will be the default profile used for contact search.\";s:9:\"help_text\";N;}s:24:\"userFrameworkResourceURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:24:\"userFrameworkResourceURL\";s:5:\"title\";s:20:\"CiviCRM Resource URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"Absolute URL of the location where the civicrm module or component has been installed.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:14:\"imageUploadURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:16:\"Image Upload URL\";s:4:\"name\";s:14:\"imageUploadURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"URL of the location for uploaded image files.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:12:\"customCSSURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:12:\"customCSSURL\";s:5:\"title\";s:14:\"Custom CSS URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:270:\"You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:13:\"extensionsURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:22:\"Extension Resource URL\";s:4:\"name\";s:13:\"extensionsURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}}' , 20151201183248 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_all._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_settingsMetadata_1_._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'settingsMetadata_1_' , 'a:132:{s:32:\"address_standardization_provider\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:32:\"address_standardization_provider\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:33:\"Address Standardization Provider.\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:492:\"CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. \";}s:30:\"address_standardization_userid\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:30:\"address_standardization_userid\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Web service user ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:27:\"address_standardization_url\";a:13:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:27:\"address_standardization_url\";s:4:\"type\";s:4:\"Text\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Web Service URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:15:\"Web Service URL\";s:17:\"validate_callback\";s:19:\"CRM_Utils_Rule::url\";}s:15:\"tag_unconfirmed\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:15:\"tag_unconfirmed\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:11:\"Unconfirmed\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:36:\"Tag for Unconfirmed Petition Signers\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:17:\"petition_contacts\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:17:\"petition_contacts\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:17:\"Petition Contacts\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Petition Signers Group\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:23:\"cvv_backoffice_required\";a:12:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:23:\"cvv_backoffice_required\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:28:\"CVV required for backoffice?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"Is the CVV code required for back office credit card transactions\";s:9:\"help_text\";s:137:\"If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change\";}s:29:\"contribution_invoice_settings\";a:11:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:29:\"contribution_invoice_settings\";s:4:\"type\";s:5:\"Array\";s:7:\"default\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Contribution Invoice Settings\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_view_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_view_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_view_options\";}s:7:\"default\";s:28:\"123456789101113\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Viewing Contacts\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_edit_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_edit_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_edit_options\";}s:7:\"default\";s:37:\"123456789111214151617\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Editing Contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"advanced_search_options\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:4:\"name\";s:23:\"advanced_search_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:23:\"advanced_search_options\";}s:7:\"default\";s:46:\"123456789101112131516171819\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:22:\"user_dashboard_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:22:\"user_dashboard_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:22:\"user_dashboard_options\";}s:7:\"default\";s:15:\"1234578\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Contact Dashboard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"address_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"address_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:15:\"address_options\";}s:7:\"default\";s:23:\"123456891011\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Addressing Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"address_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"address_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:8:\"TextArea\";s:7:\"default\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Address Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"mailing_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"mailing_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Mailing Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"display_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"display_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Display Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"sort_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"sort_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Sort Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"editor_id\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"editor_id\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";s:8:\"CKEditor\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Wysiwig Editor\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:26:\"contact_ajax_check_similar\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:26:\"contact_ajax_check_similar\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Ajax Check Similar\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:17:\"ajaxPopupsEnabled\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"ajaxPopupsEnabled\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:19:\"Ajax Popups Enabled\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:30:\"activity_assignee_notification\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:30:\"activity_assignee_notification\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Notify Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:34:\"activity_assignee_notification_ics\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:34:\"activity_assignee_notification_ics\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:41:\"Include ICal Invite to Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:28:\"contact_autocomplete_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:28:\"contact_autocomplete_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:27:\"Autocomplete Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.\";s:9:\"help_text\";N;}s:25:\"contact_reference_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:25:\"contact_reference_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:57:\"CRM_Admin_Form_Setting_Search::getContactReferenceOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Contact Reference Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:508:\"Selected fields will be displayed in autocomplete dropdown search results for \'Contact Reference\' custom fields. Contact Name is always included. NOTE: You must assign \'access contact reference fields\' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the \'Limit List to Group\' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.\";s:9:\"help_text\";N;}s:27:\"contact_smart_group_display\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"contact_smart_group_display\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:5:\"radio\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Viewing Smart Groups\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"max_attachments\";a:15:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"max_attachments\";s:10:\"legacy_key\";s:14:\"maxAttachments\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Maximum Attachments\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Maximum number of files (documents, images, etc.) which can attached to emails or activities.\";s:9:\"help_text\";N;}s:11:\"maxFileSize\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"maxFileSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:25:\"Maximum File Size (in MB)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.\";s:9:\"help_text\";N;}s:16:\"contact_undelete\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"contact_undelete\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Contact Trash and Undelete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:200:\"If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).\";s:9:\"help_text\";N;}s:24:\"allowPermDeleteFinancial\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:24:\"allowPermDeleteFinancial\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:24:\"Contact Permanent Delete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:81:\"Allow Permanent Delete for contacts who are linked to live financial transactions\";s:9:\"help_text\";N;}s:12:\"versionCheck\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"versionCheck\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:31:\"Automatically Check for Updates\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:13:\"securityAlert\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:13:\"securityAlert\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:13:\"Status Alerts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:154:\"If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.\";s:9:\"help_text\";N;}s:21:\"doNotAttachPDFReceipt\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"doNotAttachPDFReceipt\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Attach PDF copy to receipts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:98:\"If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.\";s:9:\"help_text\";N;}s:15:\"wkhtmltopdfPath\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"wkhtmltopdfPath\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:256;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Path to wkhtmltopdf executable\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"recaptchaOptions\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"recaptchaOptions\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Recaptcha Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:256:\"You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.\";s:9:\"help_text\";N;}s:18:\"recaptchaPublicKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:18:\"recaptchaPublicKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Recaptcha Site Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"recaptchaPrivateKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"recaptchaPrivateKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Recaptcha Secret Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:21:\"dashboardCacheTimeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"dashboardCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:3;s:9:\"maxlength\";i:5;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Dashboard cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"checksum_timeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"checksum_timeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";i:7;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Checksum Lifespan\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"blogUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"blogUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:13:\"Blog Feed URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:38:\"Blog feed URL used by the blog dashlet\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:20:\"communityMessagesUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"communityMessagesUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Community Messages URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:44:\"Service providing CiviCRM community messages\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:17:\"gettingStartedUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"gettingStartedUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Getting Started URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:42:\"Service providing the Getting Started data\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:12:\"resCacheCode\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"resCacheCode\";s:4:\"type\";s:6:\"String\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:12:\"resCacheCode\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:62:\"Code appended to resource URLs (JS/CSS) to coerce HTTP caching\";s:9:\"help_text\";N;}s:9:\"verifySSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"verifySSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:11:\"Verify SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:92:\"If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections\";s:9:\"help_text\";s:140:\"Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes\";}s:9:\"enableSSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"enableSSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:10:\"Force SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";s:9:\"help_text\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";}s:10:\"wpBasePage\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:10:\"wpBasePage\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"WordPress Base Page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"If set, CiviCRM will use this setting as the base url.\";s:9:\"help_text\";s:177:\"By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.\";}s:23:\"secondDegRelPermissions\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"secondDegRelPermissions\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:44:\"Allow second-degree relationship permissions\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"If enabled, contacts with the permission to edit a related contact will inherit that contact\'s permission to edit other related contacts\";s:9:\"help_text\";N;}s:17:\"enable_components\";a:16:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"enable_components\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:14:\"advmultiselect\";s:15:\"html_attributes\";a:3:{s:4:\"size\";i:5;s:5:\"style\";s:11:\"width:150px\";s:5:\"class\";s:14:\"advmultiselect\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:17:\"Enable Components\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;s:9:\"on_change\";a:3:{i:0;s:33:\"CRM_Case_Info::onToggleComponents\";i:1;s:42:\"CRM_Core_Component::flushEnabledComponents\";i:2;s:31:\"call://resources/resetCacheCode\";}}s:16:\"disable_core_css\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"disable_core_css\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:19:\"Disable CiviCRM css\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:55:\"Prevent the stylesheet \"civicrm.css\" from being loaded.\";s:9:\"help_text\";N;}s:11:\"empoweredBy\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"empoweredBy\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"Display \"empowered by CiviCRM\"\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:80:\"When enabled, \"empowered by CiviCRM\" is displayed at the bottom of public forms.\";s:9:\"help_text\";N;}s:7:\"logging\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"logging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:9:\"html_type\";s:0:\"\";s:7:\"default\";s:1:\"0\";s:5:\"title\";s:7:\"Logging\";s:11:\"description\";s:73:\"If enabled, all actions will be logged with a complete record of changes.\";s:17:\"validate_callback\";s:39:\"CRM_Logging_Schema::checkLoggingSupport\";s:9:\"on_change\";a:1:{i:0;s:28:\"CRM_Logging_Schema::onToggle\";}}s:27:\"userFrameworkUsersTableName\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"userFrameworkUsersTableName\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:23:\"Drupal Users Table Name\";s:11:\"description\";s:0:\"\";}s:9:\"wpLoadPhp\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"wpLoadPhp\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:29:\"WordPress Path to wp-load.php\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"CiviCRM will use this setting as path to bootstrap WP.\";s:9:\"help_text\";N;}s:7:\"site_id\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"site_id\";s:4:\"type\";s:6:\"String\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:14:\"Unique Site ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"systemStatusCheckResult\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"systemStatusCheckResult\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:23:\"systemStatusCheckResult\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"userFrameworkLogging\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:20:\"userFrameworkLogging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Enable Drupal Watchdog Logging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:101:\"Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs\";s:9:\"help_text\";s:239:\"Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS\' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal\'s watchdog enabled)\";}s:13:\"debug_enabled\";a:13:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:13:\"debug_enabled\";s:10:\"config_key\";s:5:\"debug\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Enable Debugging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:130:\"Set this value to Yes if you want to use one of CiviCRM\'s debugging tools. This feature should NOT be enabled for production sites\";s:9:\"help_text\";s:39:\"Do not turn this on on production sites\";}s:9:\"backtrace\";a:11:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:9:\"backtrace\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Display Backtrace\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:155:\"Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites\";}s:17:\"fatalErrorHandler\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:17:\"fatalErrorHandler\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Fatal Error Handler\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.\";}s:9:\"uploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:9:\"uploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Temporary Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:90:\"File system path where temporary CiviCRM files - such as import data files - are uploaded.\";}s:14:\"imageUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:14:\"imageUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Image Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:147:\"File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).\";s:9:\"help_text\";N;}s:19:\"customFileUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:19:\"customFileUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Custom Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:195:\"Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.\";s:9:\"help_text\";N;}s:17:\"customTemplateDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:17:\"customTemplateDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Custom Template Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:207:\"Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)\";s:9:\"help_text\";N;}s:16:\"customPHPPathDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:16:\"customPHPPathDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Custom PHP Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:99:\"Path where site specific PHP code files are stored if any. This directory is searched first if set.\";s:9:\"help_text\";N;}s:13:\"extensionsDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:13:\"extensionsDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Extensions Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:41:\"Path where CiviCRM extensions are stored.\";s:9:\"help_text\";N;}s:11:\"enable_cart\";a:12:{s:4:\"name\";s:11:\"enable_cart\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Enable Event Cart\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:8:\"WRITE ME\";s:9:\"help_text\";s:8:\"WRITE ME\";}s:11:\"show_events\";a:13:{s:4:\"name\";s:11:\"show_events\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:17:\"Dashboard entries\";s:9:\"html_type\";s:6:\"select\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:107:\"Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.\";s:9:\"help_text\";N;}s:12:\"ext_repo_url\";a:14:{s:10:\"group_name\";s:21:\"Extension Preferences\";s:5:\"group\";s:3:\"ext\";s:4:\"name\";s:12:\"ext_repo_url\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Extension Repo URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";s:0:\"\";}s:23:\"customTranslateFunction\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:23:\"customTranslateFunction\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"30\";s:9:\"maxlength\";s:3:\"100\";}s:7:\"default\";N;s:5:\"title\";s:25:\"Custom Translate Function\";s:11:\"description\";s:0:\"\";}s:25:\"monetaryThousandSeparator\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:25:\"monetaryThousandSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\",\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Thousands Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"monetaryDecimalPoint\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:20:\"monetaryDecimalPoint\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Decimal Delimiter\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:11:\"moneyformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:11:\"moneyformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%c %a\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Monetary Amount Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"moneyvalueformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:16:\"moneyvalueformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:3:\"%!i\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Monetary Value Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"defaultCurrency\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"defaultCurrency\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:3:\"USD\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Currency\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"Default currency assigned to contributions and other monetary transactions.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:55:\"CRM_Admin_Form_Setting_Localization::getCurrencySymbols\";}}s:21:\"defaultContactCountry\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:21:\"defaultContactCountry\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:0:{}s:7:\"default\";s:4:\"1228\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:15:\"Default Country\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:27:\"defaultContactStateProvince\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:27:\"defaultContactStateProvince\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:11:\"ChainSelect\";s:9:\"html_type\";s:11:\"ChainSelect\";s:7:\"default\";N;s:5:\"title\";s:22:\"Default State/Province\";s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";}s:12:\"countryLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:12:\"countryLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Available Countries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"provinceLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"provinceLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Available States and Provinces\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"inheritLocale\";a:12:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"inheritLocale\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Inherit CMS Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:18:\"dateformatDatetime\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:18:\"dateformatDatetime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:20:\"%B %E%f, %Y %l:%M %P\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Date Format: Complete Date and Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatFull\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatFull\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:11:\"%B %E%f, %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Date Format: Complete Date\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:17:\"dateformatPartial\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:17:\"dateformatPartial\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%B %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Date Format: Month and Year\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatTime\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatTime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:8:\"%l:%M %P\";s:5:\"title\";s:22:\"Date Format: Time Only\";s:11:\"description\";s:0:\"\";}s:14:\"dateformatYear\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatYear\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:2:\"%Y\";s:5:\"title\";s:22:\"Date Format: Year Only\";s:11:\"description\";s:0:\"\";}s:15:\"dateInputFormat\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"dateInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:48:\"CRM_Core_SelectValues::getDatePluginInputFormats\";}s:7:\"default\";s:8:\"mm/dd/yy\";s:5:\"title\";s:17:\"Date Input Format\";s:11:\"description\";s:0:\"\";}s:14:\"fieldSeparator\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"fieldSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:1:\"2\";s:9:\"maxlength\";s:1:\"8\";}s:7:\"default\";s:1:\",\";s:5:\"title\";s:31:\"Import / Export Field Separator\";s:11:\"description\";s:144:\"Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).\";}s:15:\"fiscalYearStart\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"fiscalYearStart\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:8:\"MonthDay\";s:9:\"html_type\";s:8:\"MonthDay\";s:7:\"default\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:5:\"title\";s:17:\"Fiscal Year Start\";s:11:\"description\";s:0:\"\";}s:13:\"languageLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"languageLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Available Languages (Multi-lingual)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:24:\"CRM_Core_I18n::languages\";}}s:10:\"lcMessages\";a:16:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"lcMessages\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:5:\"en_US\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions\";}s:9:\"on_change\";a:1:{i:0;s:55:\"CRM_Admin_Form_Setting_Localization::onChangeLcMessages\";}}s:14:\"legacyEncoding\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"legacyEncoding\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"30\";}s:7:\"default\";s:12:\"Windows-1252\";s:5:\"title\";s:15:\"Legacy Encoding\";s:11:\"description\";s:184:\"If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.\";}s:15:\"timeInputFormat\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"timeInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:37:\"CRM_Core_SelectValues::getTimeFormats\";}s:7:\"default\";s:1:\"1\";s:5:\"title\";s:17:\"Time Input Format\";s:11:\"description\";s:0:\"\";s:9:\"on_change\";a:1:{i:0;s:45:\"CRM_Core_BAO_PreferencesDate::onChangeSetting\";}}s:10:\"weekBegins\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"weekBegins\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:35:\"CRM_Utils_Date::getFullWeekdayNames\";}s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"Week begins on\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:24:\"contact_default_language\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:24:\"contact_default_language\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:62:\"CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions\";}s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Default Language for contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"Default language (if any) for contact records\";s:9:\"help_text\";s:197:\"If a contact is created with no language this setting will determine the language data (if any) to save.You may or may not wish to make an assumption here about whether it matches the site language\";}s:20:\"profile_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"profile_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:22:\"track_civimail_replies\";a:13:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:22:\"track_civimail_replies\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:43:\"Track replies using VERP in Reply-To header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:78:\"If checked, mailings will default to tracking replies using VERP-ed Reply-To. \";s:9:\"help_text\";N;s:17:\"validate_callback\";s:41:\"CRM_Core_BAO_Setting::validateBoolSetting\";}s:17:\"civimail_workflow\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:17:\"civimail_workflow\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:21:\"Use CiviMail Workflow\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:25:\"civimail_server_wide_lock\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:25:\"civimail_server_wide_lock\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:39:\"Lock Mails Server-Wide for Mail Sending\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"replyTo\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:7:\"replyTo\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:22:\"Enable Custom Reply-To\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Allow CiviMail users to send mailings with a custom Reply-To header\";s:9:\"help_text\";N;}s:15:\"mailing_backend\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:15:\"mailing_backend\";s:4:\"type\";s:5:\"Array\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Mailing Backend\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:33:\"profile_add_to_group_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:33:\"profile_add_to_group_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:30:\"disable_mandatory_tokens_check\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:30:\"disable_mandatory_tokens_check\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:34:\"Disable check for mandatory tokens\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:345:\"Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.\";s:9:\"help_text\";N;}s:20:\"dedupe_email_default\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"dedupe_email_default\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:44:\"CiviMail dedupes e-mail addresses by default\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:79:\"Set the \"dedupe e-mail\" option when sending a new mailing to \"true\" by default.\";s:9:\"help_text\";N;}s:16:\"hash_mailing_url\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"hash_mailing_url\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:20:\"Hashed Mailing URL\'s\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:131:\"If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID\";s:9:\"help_text\";N;}s:29:\"civimail_multiple_bulk_emails\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:29:\"civimail_multiple_bulk_emails\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:21:\" Multiple Bulk Emails\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:96:\"If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.\";s:9:\"help_text\";N;}s:18:\"include_message_id\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:18:\"include_message_id\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:45:\"Enable CiviMail to generate Message-ID header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:16:\"mailerBatchLimit\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailerBatchLimit\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:18:\"Mailer Batch Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:110:\"Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).\";s:9:\"help_text\";N;}s:13:\"mailerJobSize\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:15:\"Mailer Job Size\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:365:\"If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter \"0\" to disable multi-threading and process mail as one single job - batch limits still apply.\";s:9:\"help_text\";N;}s:13:\"mailerJobsMax\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobsMax\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:21:\"Mailer Cron Job Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:127:\"The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)\";s:9:\"help_text\";N;}s:16:\"mailThrottleTime\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailThrottleTime\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Mailer Throttle Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:234:\"The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.\";s:9:\"help_text\";N;}s:13:\"verpSeparator\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"verpSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:32;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"VERP Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:106:\"Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.\";s:9:\"help_text\";N;}s:21:\"write_activity_record\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:21:\"write_activity_record\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:48:\"Enable CiviMail to create activities on delivery\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"geoAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"geoAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Geo Provider Key\";s:11:\"description\";s:101:\"Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).\";}s:11:\"geoProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"geoProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::geoProvider\";}s:7:\"default\";N;s:5:\"title\";s:18:\"Geocoding Provider\";s:11:\"description\";s:229:\"You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.\";}s:9:\"mapAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"mapAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Map Provider Key\";s:11:\"description\";s:238:\"Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.\";}s:11:\"mapProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"mapProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::mapProvider\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Mapping Provider\";s:11:\"description\";s:98:\"Choose the mapping provider that has the best coverage for the majority of your contact addresses.\";}s:33:\"default_renewal_contribution_page\";a:13:{s:10:\"group_name\";s:18:\"Member Preferences\";s:5:\"group\";s:6:\"member\";s:4:\"name\";s:33:\"default_renewal_contribution_page\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:14:\"pseudoconstant\";a:1:{s:4:\"name\";s:16:\"contributionPage\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:38:\"Default online membership renewal page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:348:\"If you select a default online contribution page for self-service membership renewals, a \"renew\" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.\";s:9:\"help_text\";N;}s:10:\"is_enabled\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:10:\"is_enabled\";s:5:\"title\";s:20:\"Multisite Is enabled\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:20:\"Multisite is enabled\";s:9:\"help_text\";N;}s:15:\"domain_group_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:15:\"domain_group_id\";s:5:\"title\";s:22:\"Multisite Domain Group\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:25:\"event_price_set_domain_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:25:\"event_price_set_domain_id\";s:5:\"title\";s:22:\"Domain Event Price Set\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:19:\"uniq_email_per_site\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:19:\"uniq_email_per_site\";s:4:\"type\";s:7:\"Integer\";s:5:\"title\";s:24:\"Unique Email per Domain?\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:25:\"search_autocomplete_count\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:25:\"search_autocomplete_count\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:2;}s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Autocomplete Results\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"The maximum number of contacts to show at a time when typing in an autocomplete field.\";s:9:\"help_text\";N;}s:17:\"enable_innodb_fts\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:17:\"enable_innodb_fts\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:23:\"InnoDB Full Text Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)\";s:9:\"help_text\";N;s:9:\"on_change\";a:1:{i:0;a:2:{i:0;s:22:\"CRM_Core_InnoDBIndexer\";i:1;s:11:\"onToggleFts\";}}}s:14:\"fts_query_mode\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:14:\"fts_query_mode\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:6:\"simple\";s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"How to handle full-tet queries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"includeOrderByClause\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:20:\"includeOrderByClause\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:23:\"Include Order By Clause\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:119:\"If disabled, the search results will not be ordered. This may improve response time on search results on large datasets\";s:9:\"help_text\";N;}s:21:\"includeWildCardInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeWildCardInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:18:\"Automatic Wildcard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:745:\"If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for \'ada\' will return any contact whose name includes those letters - e.g. \'Adams, Janet\', \'Nadal, Jorge\', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for \'ada\' will return any contact whose last name begins with those letters - e.g. \'Adams, Janet\' but NOT \'Nadal, Jorge\'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards (\'%\' or \'_\') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: \'%ada\' will return \'Nadal, Jorge\'.\";s:9:\"help_text\";N;}s:18:\"includeEmailInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:18:\"includeEmailInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:13:\"Include Email\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:299:\"If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.\";s:9:\"help_text\";N;}s:21:\"includeNickNameInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeNickNameInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:16:\"Include Nickname\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"If enabled, nicknames are automatically included when users search by Name.\";s:9:\"help_text\";N;}s:24:\"includeAlphabeticalPager\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:24:\"includeAlphabeticalPager\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:26:\"Include Alphabetical Pager\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:149:\"If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.\";s:9:\"help_text\";N;}s:22:\"smartGroupCacheTimeout\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"smartGroupCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";i:5;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:25:\"Smart group cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:249:\"The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.\";s:9:\"help_text\";N;}s:22:\"defaultSearchProfileID\";a:15:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"defaultSearchProfileID\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:51:\"CRM_Admin_Form_Setting_Search::getAvailableProfiles\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:30:\"Default Contact Search Profile\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"If set, this will be the default profile used for contact search.\";s:9:\"help_text\";N;}s:24:\"userFrameworkResourceURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:24:\"userFrameworkResourceURL\";s:5:\"title\";s:20:\"CiviCRM Resource URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"Absolute URL of the location where the civicrm module or component has been installed.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:14:\"imageUploadURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:16:\"Image Upload URL\";s:4:\"name\";s:14:\"imageUploadURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"URL of the location for uploaded image files.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:12:\"customCSSURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:12:\"customCSSURL\";s:5:\"title\";s:14:\"Custom CSS URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:270:\"You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:13:\"extensionsURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:22:\"Extension Resource URL\";s:4:\"name\";s:13:\"extensionsURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}}' , 20151201183248 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_settingsMetadata_1_._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_defaults:domain._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'defaults:domain' , 'a:133:{s:32:\"address_standardization_provider\";N;s:30:\"address_standardization_userid\";N;s:27:\"address_standardization_url\";N;s:15:\"tag_unconfirmed\";s:11:\"Unconfirmed\";s:17:\"petition_contacts\";s:17:\"Petition Contacts\";s:23:\"cvv_backoffice_required\";s:1:\"1\";s:29:\"contribution_invoice_settings\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:20:\"contact_view_options\";s:28:\"123456789101113\";s:20:\"contact_edit_options\";s:37:\"123456789111214151617\";s:23:\"advanced_search_options\";s:46:\"123456789101112131516171819\";s:22:\"user_dashboard_options\";s:15:\"1234578\";s:15:\"address_options\";s:23:\"123456891011\";s:14:\"address_format\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:14:\"mailing_format\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:19:\"display_name_format\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:16:\"sort_name_format\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:9:\"editor_id\";s:8:\"CKEditor\";s:26:\"contact_ajax_check_similar\";s:1:\"1\";s:17:\"ajaxPopupsEnabled\";i:1;s:30:\"activity_assignee_notification\";s:1:\"1\";s:34:\"activity_assignee_notification_ics\";s:1:\"0\";s:28:\"contact_autocomplete_options\";s:5:\"12\";s:25:\"contact_reference_options\";s:5:\"12\";s:27:\"contact_smart_group_display\";s:1:\"1\";s:15:\"max_attachments\";i:3;s:11:\"maxFileSize\";i:3;s:16:\"contact_undelete\";i:1;s:24:\"allowPermDeleteFinancial\";b:0;s:12:\"versionCheck\";i:1;s:13:\"securityAlert\";i:1;s:21:\"doNotAttachPDFReceipt\";i:0;s:15:\"wkhtmltopdfPath\";N;s:16:\"recaptchaOptions\";N;s:18:\"recaptchaPublicKey\";N;s:19:\"recaptchaPrivateKey\";N;s:21:\"dashboardCacheTimeout\";N;s:16:\"checksum_timeout\";i:7;s:7:\"blogUrl\";s:9:\"*default*\";s:20:\"communityMessagesUrl\";s:9:\"*default*\";s:17:\"gettingStartedUrl\";s:9:\"*default*\";s:12:\"resCacheCode\";N;s:9:\"verifySSL\";i:1;s:9:\"enableSSL\";i:0;s:10:\"wpBasePage\";s:0:\"\";s:23:\"secondDegRelPermissions\";i:0;s:17:\"enable_components\";a:6:{i:0;s:9:\"CiviEvent\";i:1;s:14:\"CiviContribute\";i:2;s:10:\"CiviMember\";i:3;s:8:\"CiviMail\";i:4;s:10:\"CiviReport\";i:5;s:10:\"CiviPledge\";}s:16:\"disable_core_css\";s:1:\"0\";s:11:\"empoweredBy\";i:1;s:7:\"logging\";s:1:\"0\";s:27:\"userFrameworkUsersTableName\";N;s:9:\"wpLoadPhp\";s:0:\"\";s:7:\"site_id\";s:0:\"\";s:23:\"systemStatusCheckResult\";i:0;s:20:\"userFrameworkLogging\";s:1:\"0\";s:13:\"debug_enabled\";s:1:\"0\";s:9:\"backtrace\";s:1:\"0\";s:17:\"fatalErrorHandler\";N;s:9:\"uploadDir\";s:23:\"[civicrm.files]/upload/\";s:14:\"imageUploadDir\";s:35:\"[civicrm.files]/persist/contribute/\";s:19:\"customFileUploadDir\";s:23:\"[civicrm.files]/custom/\";s:17:\"customTemplateDir\";N;s:16:\"customPHPPathDir\";N;s:13:\"extensionsDir\";s:20:\"[civicrm.files]/ext/\";s:11:\"enable_cart\";s:1:\"0\";s:11:\"show_events\";i:10;s:12:\"ext_repo_url\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:23:\"customTranslateFunction\";N;s:25:\"monetaryThousandSeparator\";s:1:\",\";s:20:\"monetaryDecimalPoint\";s:1:\".\";s:11:\"moneyformat\";s:5:\"%c %a\";s:16:\"moneyvalueformat\";s:3:\"%!i\";s:15:\"defaultCurrency\";s:3:\"USD\";s:21:\"defaultContactCountry\";s:4:\"1228\";s:27:\"defaultContactStateProvince\";N;s:12:\"countryLimit\";a:1:{i:0;s:4:\"1228\";}s:13:\"provinceLimit\";a:1:{i:0;s:4:\"1228\";}s:13:\"inheritLocale\";s:1:\"0\";s:18:\"dateformatDatetime\";s:20:\"%B %E%f, %Y %l:%M %P\";s:14:\"dateformatFull\";s:11:\"%B %E%f, %Y\";s:17:\"dateformatPartial\";s:5:\"%B %Y\";s:14:\"dateformatTime\";s:8:\"%l:%M %P\";s:14:\"dateformatYear\";s:2:\"%Y\";s:15:\"dateInputFormat\";s:8:\"mm/dd/yy\";s:14:\"fieldSeparator\";s:1:\",\";s:15:\"fiscalYearStart\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:13:\"languageLimit\";N;s:10:\"lcMessages\";s:5:\"en_US\";s:14:\"legacyEncoding\";s:12:\"Windows-1252\";s:15:\"timeInputFormat\";s:1:\"1\";s:10:\"weekBegins\";s:1:\"0\";s:24:\"contact_default_language\";s:9:\"*default*\";s:20:\"profile_double_optin\";s:1:\"1\";s:22:\"track_civimail_replies\";s:1:\"0\";s:17:\"civimail_workflow\";s:1:\"0\";s:25:\"civimail_server_wide_lock\";s:1:\"0\";s:7:\"replyTo\";i:0;s:15:\"mailing_backend\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:33:\"profile_add_to_group_double_optin\";s:1:\"0\";s:30:\"disable_mandatory_tokens_check\";i:0;s:20:\"dedupe_email_default\";i:1;s:16:\"hash_mailing_url\";i:0;s:29:\"civimail_multiple_bulk_emails\";i:0;s:18:\"include_message_id\";b:0;s:16:\"mailerBatchLimit\";i:0;s:13:\"mailerJobSize\";i:0;s:13:\"mailerJobsMax\";i:0;s:16:\"mailThrottleTime\";i:0;s:13:\"verpSeparator\";s:1:\".\";s:21:\"write_activity_record\";s:1:\"1\";s:9:\"geoAPIKey\";N;s:11:\"geoProvider\";N;s:9:\"mapAPIKey\";N;s:11:\"mapProvider\";N;s:33:\"default_renewal_contribution_page\";N;s:10:\"is_enabled\";s:1:\"0\";s:15:\"domain_group_id\";s:1:\"0\";s:25:\"event_price_set_domain_id\";s:1:\"0\";s:19:\"uniq_email_per_site\";s:1:\"0\";s:25:\"search_autocomplete_count\";i:10;s:17:\"enable_innodb_fts\";i:0;s:14:\"fts_query_mode\";s:6:\"simple\";s:20:\"includeOrderByClause\";i:1;s:21:\"includeWildCardInName\";i:1;s:18:\"includeEmailInName\";i:1;s:21:\"includeNickNameInName\";i:0;s:24:\"includeAlphabeticalPager\";i:1;s:22:\"smartGroupCacheTimeout\";i:5;s:22:\"defaultSearchProfileID\";N;s:24:\"userFrameworkResourceURL\";s:15:\"[civicrm.root]/\";s:14:\"imageUploadURL\";s:35:\"[civicrm.files]/persist/contribute/\";s:12:\"customCSSURL\";N;s:13:\"extensionsURL\";s:20:\"[civicrm.files]/ext/\";s:12:\"resourceBase\";s:15:\"[civicrm.root]/\";}' , 20151201183248 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_defaults:domain._' ) + + /*!40101 SET NAMES utf8 */ + + SET SESSION sql_mode = STRICT_TRANS_TABLES + + SET NAMES utf8 + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) + + + + + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) + + SELECT version + FROM civicrm_domain + + WHERE ( civicrm_domain.id = 1 ) + + + + + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173249) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173249) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + + SELECT full_name, file + FROM civicrm_extension + WHERE is_active = 1 + AND type = "module" + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) AND ( civicrm_cache.path = 'mapper/moduleFiles' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('4ae609f4c5da3b0980c7327dbc5f7dae' , 'mapper/moduleFiles' , 'a:0:{}' , 20151201183249 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._' ) + + SELECT * + FROM civicrm_extension + + WHERE ( civicrm_extension.type = 'module' ) + + + + + + TRUNCATE TABLE civicrm_acl_cache + + TRUNCATE TABLE civicrm_acl_contact_cache + + TRUNCATE TABLE civicrm_cache + + TRUNCATE TABLE civicrm_prevnext_cache + + UPDATE civicrm_group SET cache_date = NULL + + TRUNCATE TABLE civicrm_group_contact_cache + + TRUNCATE TABLE civicrm_menu + + UPDATE civicrm_setting SET value = NULL WHERE name="navigation" AND contact_id IS NOT NULL + + DELETE FROM civicrm_setting WHERE name="modulePaths" + + + SELECT TABLE_NAME as tableName + FROM INFORMATION_SCHEMA.TABLES + WHERE TABLE_SCHEMA = 'dmastertes_s0xef' + AND ( + TABLE_NAME LIKE 'civicrm_import_job_%' + OR TABLE_NAME LIKE 'civicrm_export_temp%' + OR TABLE_NAME LIKE 'civicrm_task_action_temp%' + OR TABLE_NAME LIKE 'civicrm_report_temp%' + ) + + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173249) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + TRUNCATE civicrm_menu + + SELECT * + FROM civicrm_component + + + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviContribute' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviEvent' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviMember' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviMail' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviGrant' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviPledge' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviCase' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviReport' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviCampaign' ) + + + + + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity' , 'action=add&context=standalone' , 'New Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Activity_Form_Activity\";' , 's:14:\"attachUpload=1\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/view' , 'View Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Form_ActivityView\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:15:\"getCaseActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/globalrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/globalrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseGlobalRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/clientrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/clientrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseClientRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/caseroles' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/caseroles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:12:\"getCaseRoles\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactactivity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactactivity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:18:\"getContactActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/activity/convert' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/activity/convert' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:21:\"convertToCaseActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/search' , 'Find Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Controller_Search\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group' , 'Custom Data' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Page_Group\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/custom/group/field' , 'Custom Data Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 11 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/option' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/option' , 'Custom Field - Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Custom_Page_Option\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/add' , 'Custom Field - Add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/update' , 'Custom Field - Edit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/move' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/move' , 'Custom Field - Move' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Custom_Form_MoveField\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/changetype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/changetype' , 'Custom Field - Change Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Custom_Form_ChangeFieldType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group' , 'Profiles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Page_Group\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/uf/group/field' , 'CiviCRM Profile Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 21 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/field/add' , 'Add Field' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 22 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/field/update' , 'Edit Field' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 23 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/add' , 'New CiviCRM Profile' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Group\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 24 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/update' , 'Profile Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Group\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 25 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/setting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/setting' , 'AdditionalInfo Form' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_UF_Form_AdvanceSetting\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tag' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/tag' , 'Tags (Categories)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Tag\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 25 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tag/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tag/add' , 'action=add' , 'New Tag' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Tag\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Tags (Categories)\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/tag&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/activity_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/activity_type' , 'Activity Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/reltype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/reltype' , 'Relationship Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_RelationshipType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 35 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/subtype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/subtype' , 'Contact Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Page_ContactType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/gender' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/gender' , 'Gender Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 45 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/individual_prefix' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/individual_prefix' , 'Individual Prefixes (Ms, Mr...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/individual_suffix' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/individual_suffix' , 'Individual Suffixes (Jr, Sr...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 55 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/locationType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/locationType' , 'Location Types (Home, Work...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_LocationType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/website_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/website_type' , 'Website Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 65 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/instant_messenger_service' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/instant_messenger_service' , 'Instant Messenger Services' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/mobile_provider' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/mobile_provider' , 'Mobile Phone Providers' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 75 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/phone_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/phone_type' , 'Phone Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/display' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/display' , 'Display Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Display\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/search' , 'Search Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Form_Setting_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 95 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/date' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/date' , 'View Date Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Admin_Page_PreferencesDate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/menu' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/menu' , 'Navigation Menu' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Navigation\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/wordreplacements' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/wordreplacements' , 'Word Replacements' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Form_WordReplacements\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/custom_search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/custom_search' , 'Manage Custom Searches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/domain' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/domain' , 'action=update' , 'Organization Address and Contact Info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Contact_Form_Domain\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/from_email_address' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/from_email_address' , 'From Email Addresses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/messageTemplates' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/messageTemplates' , 'Message Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:22:\"edit message templates\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_MessageTemplates\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/messageTemplates/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/messageTemplates/add' , 'Message Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:22:\"edit message templates\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Form_MessageTemplates\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Message Templates\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/messageTemplates&reset=1\";}}' , 1 , 262 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/scheduleReminders' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/scheduleReminders' , 'Schedule Reminders' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:15:\"edit all events\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Admin_Page_ScheduleReminders\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/weight' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/weight' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_Weight\";i:1;s:8:\"fixOrder\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/preferred_communication_method' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/preferred_communication_method' , 'Preferred Communication Methods' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/labelFormats' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/labelFormats' , 'Label Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_LabelFormats\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/pdfFormats' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/pdfFormats' , 'Print Page (PDF) Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_PdfFormats\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/communication_style' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/communication_style' , 'Communication Style Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 75 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/email_greeting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/email_greeting' , 'Email Greeting Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/postal_greeting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/postal_greeting' , 'Postal Greeting Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/addressee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/addressee' , 'Addressee Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/localization' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/localization' , 'Languages, Currency, Locations' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Form_Setting_Localization\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/address' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/address' , 'Address Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Address\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/date' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/date' , 'Date Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Date\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/languages' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/languages' , 'Preferred Languages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/access' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/access' , 'Access Control' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Admin_Page_Access\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/access/wp-permissions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/access/wp-permissions' , 'WordPress Access Control' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_ACL_Form_WordPress_Permissions\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Access Control\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/access&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/synchUser' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/synchUser' , 'Synchronize Users to Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Form_CMSUser\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/configtask' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , return_url , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/configtask' , 'Configuration Checklist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Page_ConfigTaskList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 'civicrm/admin/configtask' , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/component' , 'Enable CiviCRM Components' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Setting_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/extensions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/extensions' , 'Manage Extensions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Extensions\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 120 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/extensions/upgrade' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/extensions/upgrade' , 'Database Upgrades' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Page_ExtensionsUpgrade\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Manage Extensions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/extensions&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/smtp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/smtp' , 'Outbound Email Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Smtp\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/paymentProcessor' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/paymentProcessor' , 'Payment Processor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_PaymentProcessor\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/mapping' , 'Mapping and Geocoding' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Admin_Form_Setting_Mapping\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/misc' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/misc' , 'Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Form_Setting_Miscellaneous\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/path' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/path' , 'Directories' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Path\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/url' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/url' , 'Resource URLs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Form_Setting_Url\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/updateConfigBackend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/updateConfigBackend' , 'Cleanup Caches and Update Paths' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:42:\"CRM_Admin_Form_Setting_UpdateConfigBackend\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/uf' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/uf' , 'CMS Database Integration' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Form_Setting_UF\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/safe_file_extension' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/safe_file_extension' , 'Safe File Extension Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options' , 'Option Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mapping' , 'Import/Export Mappings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Mapping\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/debug' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/debug' , 'Debugging' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Setting_Debugging\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 120 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/multisite' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/multisite' , 'Multi Site Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Form_Preferences_Multisite\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 130 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/campaign' , 'CiviCampaign Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Form_Preferences_Campaign\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/event' , 'CiviEvent Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Preferences_Event\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/mailing' , 'CiviMail Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Mailing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/member' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/member' , 'CiviMember Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Admin_Form_Preferences_Member\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/runjobs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/runjobs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:20:\"executeScheduledJobs\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/job' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/job' , 'Scheduled Jobs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Job\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/joblog' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/joblog' , 'Scheduled Jobs Log' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Admin_Page_JobLog\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/grant_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/grant_type' , 'Grant Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 385 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/paymentProcessorType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/paymentProcessorType' , 'Payment Processor Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Page_PaymentProcessorType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin' , 'Administer CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Admin_Page_Admin\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 9000 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menujs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menujs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:17:\"getNavigationMenu\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menu' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menu' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:17:\"getNavigationList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menutree' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menutree' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:8:\"menuTree\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/statusmsg' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/statusmsg' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:12:\"getStatusMsg\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mergeTags' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mergeTags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:9:\"mergeTags\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/price' , 'Price Sets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/price/add' , 'action=add' , 'New Price Set' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/price/field' , 'Price Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Price_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/field/option' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/price/field/option' , 'Price Field Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Price_Page_Option\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mergeTagList' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mergeTagList' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:12:\"mergeTagList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tplstrings/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tplstrings/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Form_Persistent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tplstrings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tplstrings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Persistent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mapping' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:11:\"mappingList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/recipientListing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/recipientListing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:16:\"recipientListing\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/sms/provider' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/sms/provider' , 'Sms Providers' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_SMS_Page_Provider\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 500 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/sms/send' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/sms/send' , 'New Mass SMS' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_SMS_Controller_Send\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 610 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/sms/callback' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/sms/callback' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_SMS_Page_Callback\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/badgelayout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/badgelayout' , 'action=browse' , 'Event Name Badge Layouts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Badge_Page_Layout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 399 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/badgelayout/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/badgelayout/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Badge_Form_Layout\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/badgelayout&reset=1&action=browse\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/ckeditor' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/ckeditor' , 'Configure CKEditor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Page_CKEditorConfig\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm' , 'CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_DashBoard\";' , 'a:0:{}' , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dashboard' , 'CiviCRM Home' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dashlet' , 'CiviCRM Dashlets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Page_Dashlet\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 1 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search' , 'Find Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 10 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/image' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/image' , 'Process Uploaded Images' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:23:\"CRM_Contact_BAO_Contact\";i:1;s:12:\"processImage\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/imagefile' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/imagefile' , 'Get Image File' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_ImageFile\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/basic' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/search/basic' , 'Find Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/advanced' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/advanced' , 'Advanced Search' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=512\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 12 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/builder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/builder' , 'Search Builder' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:9:\"mode=8192\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 14 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/search/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:10:\"mode=16384\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/custom/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/custom/list' , 'Custom Searches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Page_CustomSearch\";' , 's:10:\"mode=16384\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 16 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add' , 'New Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/individual' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/individual' , 'ct=Individual' , 'New Individual' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/household' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/household' , 'ct=Household' , 'New Household' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/organization' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/organization' , 'ct=Organization' , 'New Organization' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/relatedcontact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/relatedcontact' , 'Edit Related Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contact_Form_RelatedContact\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/merge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/merge' , 'Merge Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Contact_Form_Merge\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/email' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/email' , 'Email a Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Form_Task_Email\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/map' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/map' , 'Map Location(s)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_Map\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/map/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/map/event' , 'Map Event Location' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contact_Form_Task_Map_Event\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Map Location(s)\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/map&reset=1\";}}' , 1 , 0 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view' , 'cid=%%cid%%' , 'Contact Summary' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Contact_Page_View_Summary\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/delete' , 'Delete Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:28:\"CRM_Contact_Form_Task_Delete\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/activity' , 'show=1,cid=%%cid%%' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:21:\"CRM_Activity_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Activity_Form_Activity\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/email/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/email/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Form_Task_Email\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/pdf/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/pdf/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_PDF\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/rel' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/rel' , 'cid=%%cid%%' , 'Relationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contact_Page_View_Relationship\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/group' , 'cid=%%cid%%' , 'Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contact_Page_View_GroupContact\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/smartgroup' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/smartgroup' , 'cid=%%cid%%' , 'Smart Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:39:\"CRM_Contact_Page_View_ContactSmartGroup\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/sunlight' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/sunlight' , 'Sunlight' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:30:\"CRM_Contact_Page_View_Sunlight\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/note' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/note' , 'cid=%%cid%%' , 'Notes' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Contact_Page_View_Note\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/tag' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/tag' , 'cid=%%cid%%' , 'Tags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:25:\"CRM_Contact_Page_View_Tag\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/cd' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/cd' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Contact_Page_View_CustomData\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/cd/edit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/cd/edit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Form_CustomData\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/vcard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/vcard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Page_View_Vcard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/print' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/print' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Page_View_Print\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/log' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/log' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:25:\"CRM_Contact_Page_View_Log\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/user' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/user' , 'Contact Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Contact_Page_View_UserDashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/activity' , 'Activity Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Dashlet_Page_Activity\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/blog' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/blog' , 'CiviCRM Blog' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Dashlet_Page_Blog\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/getting-started' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/getting-started' , 'Getting Started' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Dashlet_Page_GettingStarted\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/relation' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/relation' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"relationship\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/groupTree' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/groupTree' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"groupTree\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:11:\"customField\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/customvalue' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/customvalue' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:17:\"deleteCustomValue\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/cmsuser' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/cmsuser' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"checkUserName\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/checkemail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/checkemail' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactEmail\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/checkphone' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/checkphone' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactPhone\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/subtype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/subtype' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"buildSubTypes\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"dashboard\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/signature' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/signature' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"getSignature\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/pdfFormat' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/pdfFormat' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"pdfFormat\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/paperSize' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/paperSize' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"paperSize\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactref' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactref' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:31:\"access contact reference fields\";i:1;s:15:\" access CiviCRM\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"contactReference\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/myCases' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/myCases' , 'Case Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Dashlet_Page_MyCases\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/allCases' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/allCases' , 'All Cases Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Dashlet_Page_AllCases\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/casedashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/casedashboard' , 'Case Dashboard Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Dashlet_Page_CaseDashboard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/deduperules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/deduperules' , 'Find and Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer dedupe rules\";i:1;s:24:\"merge duplicate contacts\";}i:1;s:2:\"or\";}' , 's:28:\"CRM_Contact_Page_DedupeRules\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/dedupefind' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/dedupefind' , 'Find and Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Page_DedupeFind\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dedupefind' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dedupefind' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:10:\"getDedupes\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/dedupemerge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/dedupemerge' , 'Batch Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Contact_Page_DedupeMerge\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dedupe/exception' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dedupe/exception' , 'Dedupe Exceptions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contact_Page_DedupeException\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dedupeRules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dedupeRules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"buildDedupeRules\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/useradd' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/useradd' , 'cid=%%cid%%' , 'Add User' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Contact_Page_View_Useradd\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/markSelection' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/markSelection' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:22:\"selectUnselectContacts\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/toggleDedupeSelect' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/toggleDedupeSelect' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:18:\"toggleDedupeSelect\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/flipDupePairs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/flipDupePairs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"flipDupePairs\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/sms/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/sms/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_SMS\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:23:\"getContactRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/custom/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/custom/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Custom_Form_CustomData\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/optionlist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/optionlist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:13:\"getOptionList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/reorder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/reorder' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:11:\"fixOrdering\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Custom_Form_CustomDataByType\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/group' , 'Manage Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Group_Page_Group\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 30 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/group/search' , 'Group Members' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:38:\"/index.php?q=civicrm/group&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/group/add' , 'New Group' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:11:\"edit groups\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Group_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:38:\"/index.php?q=civicrm/group&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/grouplist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/grouplist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Group_Page_AJAX\";i:1;s:12:\"getGroupList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import' , 'Import' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Import_Controller\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 400 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/contact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/contact' , 'Import Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 410 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/activity' , 'Import Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 420 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/custom' , 'id=%%id%%' , 'Import Multi-value Custom Data' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Custom_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 420 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:28:\"CRM_Contact_Import_Page_AJAX\";i:1;s:6:\"status\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/jqState' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/jqState' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:7:\"jqState\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/jqCounty' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/jqCounty' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:8:\"jqCounty\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/upgrade' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/upgrade' , 'Upgrade CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Upgrade_Page_Upgrade\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/export' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/export' , 'Download Errors' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/export/contact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/export/contact' , 'Export Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:39:\"/index.php?q=civicrm/export&reset=1\";}}' , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/acl_role' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/options/acl_role' , 'ACL Roles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl' , 'Manage ACLs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_ACL_Page_ACL\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl/entityrole' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl/entityrole' , 'Assign Users to ACL Roles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_ACL_Page_EntityRole\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:36:\"/index.php?q=civicrm/acl&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl/basic' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl/basic' , 'ACL' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_ACL_Page_ACLBasic\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:36:\"/index.php?q=civicrm/acl&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/standalone/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/standalone/register' , 'Registration Page' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Standalone_Form_Register\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/file' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/file' , 'Browse Uploaded files' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Core_Page_File\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/file/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/file/delete' , 'Delete File' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:17:\"CRM_Core_BAO_File\";i:1;s:16:\"deleteAttachment\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:21:\"Browse Uploaded files\";s:3:\"url\";s:37:\"/index.php?q=civicrm/file&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/friend' , 'Tell a Friend' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:15:\"CRM_Friend_Form\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/logout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/logout' , 'Log out' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:6:\"logout\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 9999 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/i18n' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/i18n' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"translate CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Core_I18n_Form\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/attachment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/attachment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:29:\"CRM_Core_Page_AJAX_Attachment\";i:1;s:10:\"attachFile\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/api' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/api' , 'CiviCRM API' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Page_APIExplorer\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/apiexample' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/apiexample' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:14:\"getExampleFile\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/apidoc' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/apidoc' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:6:\"getDoc\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/rest' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/rest' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:4:\"ajax\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/api/json' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/api/json' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:8:\"ajaxJson\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"CiviCRM API\";s:3:\"url\";s:36:\"/index.php?q=civicrm/api&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/inline' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/inline' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:12:\"loadTemplate\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/chart' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_ContributionCharts\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/ajax/tableview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/ajax/tableview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contribute_Page_DashBoard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/ipn' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment/ipn' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Core_Payment\";i:1;s:9:\"handleIPN\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch' , 'Batch Data Entry' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Page_Batch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Form_Batch\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:38:\"/index.php?q=civicrm/batch&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch/entry' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch/entry' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Form_Entry\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:38:\"/index.php?q=civicrm/batch&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:9:\"batchSave\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/batchlist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/batchlist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:12:\"getBatchList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/inline' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/inline' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Core_Page_AJAX\";i:1;s:3:\"run\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dev/qunit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dev/qunit' , 'QUnit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Core_Page_QUnit\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile-editor/schema' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/profile-editor/schema' , 'ProfileEditor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:25:\"CRM_UF_Page_ProfileEditor\";i:1;s:13:\"getSchemaJSON\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/a' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/a' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"\\Civi\\Angular\\Page\\Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/angular-modules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/angular-modules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"\\Civi\\Angular\\Page\\Modules\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/recurringentity/update-mode' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/recurringentity/update-mode' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:34:\"CRM_Core_Page_AJAX_RecurringEntity\";i:1;s:10:\"updateMode\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/recurringentity/preview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/recurringentity/preview' , 'Confirm dates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Core_Page_RecurringEntityPreview\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/l10n-js' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/l10n-js' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Core_Resources\";i:1;s:20:\"outputLocalizationJS\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/shortcode' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/shortcode' , 'Insert CiviCRM Content' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Core_Form_ShortCode\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/form' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/payment/form' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Financial_Form_Payment\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pcp' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Form_PCP\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pcp/campaign' , 'Setup a Personal Campaign Page - Account Information' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pcp/info' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_PCP_Page_PCPInfo\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/pcp' , 'context=contribute' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Page_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 362 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/profile' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Profile_Page_Router\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile/create' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/profile/create' , 'CiviCRM Profile Create' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Profile_Page_Router\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/profile/view' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Profile_Page_View\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event' , 'CiviEvent Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 800 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/participant/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/participant/add' , 'action=add' , 'Register New Participant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Event_Page_Tab\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/info' , 'Event Information' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_EventInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/register' , 'Event Registration' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Controller_Registration\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/confirm' , 'Confirm Event Registration' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:46:\"CRM_Event_Form_Registration_ParticipantConfirm\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/ical' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/ical' , 'Current and Upcoming Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"view event info\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_ICalendar\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/participant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/participant' , 'Event Participants List' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:23:\"view event participants\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Page_ParticipantListing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/event' , 'Manage Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Event_Page_ManageEvent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/eventTemplate' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/eventTemplate' , 'Event Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Admin_Page_EventTemplate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 375 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/event_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/event_type' , 'Event Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 385 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/participant_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/participant_status' , 'Participant Status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Page_ParticipantStatusType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/participant_role' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/participant_role' , 'Participant Role' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 395 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/participant_listing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/participant_listing' , 'Participant Listing Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 398 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/conference_slots' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/conference_slots' , 'group=conference_slot' , 'Conference Slot Labels' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 415 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/search' , 'Find Participants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Event_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 810 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage' , 'Manage Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Event_Page_ManageEvent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 820 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/badge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/badge' , 'Print Event Name Badge' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Event_Form_Task_Badge\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/settings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/settings' , 'Event Info and Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Event_Form_ManageEvent_EventInfo\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 910 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/location' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/location' , 'Event Location' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Event_Form_ManageEvent_Location\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 930 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/fee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/fee' , 'Event Fees' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Event_Form_ManageEvent_Fee\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 920 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/registration' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/registration' , 'Event Online Registration' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:39:\"CRM_Event_Form_ManageEvent_Registration\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 930 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/friend' , 'Tell a Friend' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Friend_Form_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 940 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/reminder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/reminder' , 'Schedule Reminders' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:44:\"CRM_Event_Form_ManageEvent_ScheduleReminders\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 950 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/repeat' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/repeat' , 'Repeat Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Form_ManageEvent_Repeat\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 960 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/conference' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/conference' , 'Conference Slots' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Event_Form_ManageEvent_Conference\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 950 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/add' , 'action=add' , 'New Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Event_Form_ManageEvent_EventInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 830 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/import' , 'Import Participants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:23:\"edit event participants\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Event_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 840 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/price' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/price' , 'Manage Price Sets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 850 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/selfsvcupdate' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/selfsvcupdate' , 'Self Service Update' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Event_Form_SelfSvcUpdate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 880 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/selfsvctransfer' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/selfsvctransfer' , 'Self Service Transfer' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Event_Form_SelfSvcTransfer\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 890 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/participant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/participant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:18:\"CRM_Event_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 4 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/eventFee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/eventFee' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Event_Page_AJAX\";i:1;s:8:\"eventFee\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/locBlock' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/locBlock' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:11:\"getLocBlock\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/event/add_participant_to_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/event/add_participant_to_cart' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Event_Cart_Page_CheckoutAJAX\";i:1;s:23:\"add_participant_to_cart\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/event/remove_participant_from_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/event/remove_participant_from_cart' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Event_Cart_Page_CheckoutAJAX\";i:1;s:28:\"remove_participant_from_cart\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/add_to_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/add_to_cart' , 'Add Event To Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Event_Cart_Page_AddToCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/cart_checkout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/cart_checkout' , 'Cart Checkout' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Event_Cart_Controller_Checkout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/remove_from_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/remove_from_cart' , 'Remove From Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Event_Cart_Page_RemoveFromCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/view_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/view_cart' , 'View Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Event_Cart_Page_ViewCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/participant/feeselection' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/participant/feeselection' , 'Change Registration Selections' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Event_Form_ParticipantFeeSelection\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:23:\"Event Participants List\";s:3:\"url\";s:50:\"/index.php?q=civicrm/event/participant&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/pcp' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_PCP_Form_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 540 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/pcp' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Form_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/campaign' , 'Setup a Personal Campaign Page - Account Information' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute' , 'CiviContribute Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contribute_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 2 , 0 , 500 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/add' , 'action=add' , 'New Contribution' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Contribute_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/chart' , 'Contribution Summary - Chart View' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_ContributionCharts\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/transact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/transact' , 'CiviContribute' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Controller_Contribution\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute' , 'Manage Contribution Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Contribute_Page_ContributionPage\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 360 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/settings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/settings' , 'Title and Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:45:\"CRM_Contribute_Form_ContributionPage_Settings\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/amount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/amount' , 'Contribution Amounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Amount\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 410 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/membership' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/membership' , 'Membership Section' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Member_Form_MembershipBlock\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/custom' , 'Include Profiles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Custom\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/thankyou' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/thankyou' , 'Thank-you and Receipting' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:45:\"CRM_Contribute_Form_ContributionPage_ThankYou\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/friend' , 'Tell a Friend' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Friend_Form_Contribute\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 440 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/widget' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/widget' , 'Configure Widget' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Widget\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 460 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/premium' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/premium' , 'Premiums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:44:\"CRM_Contribute_Form_ContributionPage_Premium\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 470 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/addProductToPage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/addProductToPage' , 'Add Products to This Page' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:47:\"CRM_Contribute_Form_ContributionPage_AddProduct\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 480 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/add' , 'action=add' , 'New Contribution Page' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:42:\"CRM_Contribute_Controller_ContributionPage\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/managePremiums' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/managePremiums' , 'Manage Premiums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Contribute_Page_ManagePremiums\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 365 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialType' , 'Financial Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Financial_Page_FinancialType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 580 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment' , 'action=add' , 'New Payment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Contribute_Form_AdditionalPayment\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialAccount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialAccount' , 'Financial Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Financial_Page_FinancialAccount\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/payment_instrument' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/payment_instrument' , 'Payment Methods' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/accept_creditcard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/accept_creditcard' , 'Accepted Credit Cards' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 395 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/soft_credit_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/options/soft_credit_type' , 'Soft Credit Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contribution' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/contribution' , 'Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Contribute_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contributionrecur' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/contributionrecur' , 'Recurring Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:37:\"CRM_Contribute_Page_ContributionRecur\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contribution/additionalinfo' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/contribution/additionalinfo' , 'Additional Info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contribute_Form_AdditionalInfo\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}i:2;a:2:{s:5:\"title\";s:13:\"Contributions\";s:3:\"url\";s:58:\"/index.php?q=civicrm/contact/view/contribution&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/search' , 'Find Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 510 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/searchBatch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/searchBatch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Contribute_Controller_SearchBatch\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 588 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/import' , 'Import Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"edit contributions\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 520 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/manage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/manage' , 'Manage Contribution Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Contribute_Page_ContributionPage\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 530 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/additionalinfo' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/additionalinfo' , 'AdditionalInfo Form' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Contribute_Form_AdditionalInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/permlocation' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/permlocation' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:23:\"getPermissionedLocation\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/unsubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/unsubscribe' , 'Cancel Subscription' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_CancelSubscription\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/onbehalf' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/onbehalf' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_Contribution_OnBehalfOf\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/updatebilling' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/updatebilling' , 'Update Billing Details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Contribute_Form_UpdateBilling\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/updaterecur' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/updaterecur' , 'Update Subscription' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_UpdateSubscription\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/subscriptionstatus' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/subscriptionstatus' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Page_SubscriptionStatus\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialType/accounts' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialType/accounts' , 'Financial Type Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:39:\"CRM_Financial_Page_FinancialTypeAccount\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:15:\"Financial Types\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/financial/financialType&reset=1\";}}' , 1 , 581 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/batch' , 'Accounting Batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Financial_Page_FinancialBatch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 585 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/financialbatches' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/financialbatches' , 'Accounting Batches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Financial_Page_Batch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 586 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batchtransaction' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/batchtransaction' , 'Accounting Batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Financial_Page_BatchTransaction\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 600 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/batch/export' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/batch/export' , 'Accounting Batch Export' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Financial_Form_Export\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Accounting Batch\";s:3:\"url\";s:48:\"/index.php?q=civicrm/financial/batch&reset=1\";}}' , 0 , 610 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment/view' , 'action=view' , 'View Payment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contribute_Page_PaymentInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/contribute' , 'CiviContribute Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Admin_Form_Preferences_Contribute\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/invoice' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/invoice' , 'PDF Invoice' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Contribute_Form_Task_Invoice\";i:1;s:11:\"getPrintPDF\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/invoice/email' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/invoice/email' , 'Email Invoice' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Form_Task_Invoice\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"PDF Invoice\";s:3:\"url\";s:51:\"/index.php?q=civicrm/contribute/invoice&reset=1\";}}' , 2 , 0 , 630 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/pcp' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_PCP_Form_Contribute\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 450 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/campaign' , 'Setup a Personal Campaign Page - Account Information' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member' , 'CiviMember Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Member_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 3 , 0 , 700 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/member/add' , 'action=add' , 'New Membership' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Member_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipType' , 'Membership Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Page_MembershipType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipStatus' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipStatus' , 'Membership Status Rules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Member_Page_MembershipStatus\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/membership' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/membership' , 'force=1,cid=%%cid%%' , 'Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:19:\"CRM_Member_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 2 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/membership/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/membership/view' , 'Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Form_MembershipView\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member/search' , 'Find Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Member_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 710 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member/import' , 'Import Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:16:\"edit memberships\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Member_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 720 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/memType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/memType' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Member_Page_AJAX\";i:1;s:21:\"getMemberTypeDefaults\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipType/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipType/add' , 'Membership Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Form_MembershipType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:16:\"Membership Types\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/member/membershipType&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing' , 'CiviMail' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 4 , 0 , 600 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mail' , 'Mailer Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Mail\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/component' , 'Headers, Footers, and Automated Messages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Page_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 410 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/from_email_address/civimail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/from_email_address/civimail' , 'From Email Addresses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:4:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}i:3;a:2:{s:5:\"title\";s:20:\"From Email Addresses\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/from_email_address&reset=1\";}}' , 1 , 415 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mailSettings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mailSettings' , 'Mail Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_MailSettings\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/send' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/send' , 'New Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";i:2;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Mailing_Controller_Send\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 610 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/scheduled' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/scheduled' , 'scheduled=true' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";i:2;s:15:\"create mailings\";i:3;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/unscheduled' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/unscheduled' , 'scheduled=false' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";i:2;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/archived' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/archived' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 625 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/component' , 'Headers, Footers, and Automated Messages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Page_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 630 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/unsubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/unsubscribe' , 'Unsubscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Mailing_Form_Unsubscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 640 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/resubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/resubscribe' , 'Resubscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Mailing_Page_Resubscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 645 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/optout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/optout' , 'Opt-out' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Mailing_Form_Optout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 650 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/confirm' , 'Confirm' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Mailing_Page_Confirm\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 660 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/subscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/subscribe' , 'Subscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Form_Subscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 660 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/preview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/preview' , 'Preview Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";i:2;s:15:\"create mailings\";i:3;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Mailing_Page_Preview\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 670 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/report' , 'mid=%%mid%%' , 'Mailing Report' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Report\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 680 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/forward' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/forward' , 'Forward Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Mailing_Form_ForwardMailing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 685 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/queue' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/queue' , 'Sending Mail' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 690 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/report/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/report/event' , 'Mailing Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Mailing_Page_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Mailing Report\";s:3:\"url\";s:63:\"/index.php?q=civicrm/mailing/report&reset=1&mid=%%mid%%\";}}' , 4 , 0 , 695 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Mailing_Page_AJAX\";i:1;s:8:\"template\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/view' , 'View Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:28:\"view public CiviMail content\";i:1;s:15:\"access CiviMail\";i:2;s:16:\"approve mailings\";}i:1;s:2:\"or\";}' , 's:21:\"CRM_Mailing_Page_View\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 800 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/approve' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/approve' , 'Approve Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Mailing_Form_Approve\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 850 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:20:\"CRM_Mailing_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactmailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactmailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Mailing_Page_AJAX\";i:1;s:18:\"getContactMailings\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant' , 'CiviGrant Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Grant_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 5 , 0 , 1000 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant/info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Grant_Page_DashBoard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant/search' , 'Find Grants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Grant_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 1010 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/grant/add' , 'action=add' , 'New Grant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Grant_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/grant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/grant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Grant_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge' , 'CiviPledge Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Pledge_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 6 , 0 , 550 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge/search' , 'Find Pledges' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Pledge_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 560 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/pledge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/pledge' , 'force=1,cid=%%cid%%' , 'Pledges' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Pledge_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 570 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pledge/add' , 'action=add' , 'New Pledge' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Pledge_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/payment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge/payment' , 'Pledge Payments' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Pledge_Page_Payment\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 580 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/pledgeAmount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/pledgeAmount' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviPledge\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Pledge_Page_AJAX\";i:1;s:17:\"getPledgeDefaults\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/case' , 'CiviCase Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Case_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 7 , 0 , 900 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/add' , 'Open Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Case_Form_Case\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/case/search' , 'Find Cases' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Case_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 910 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/activity' , 'Case Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Case_Form_Activity\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/report' , 'Case Activity Audit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Case_Form_Report\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/cd/edit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/cd/edit' , 'Case Custom Set' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Case_Form_CustomData\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/case' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/case' , 'Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:17:\"CRM_Case_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/activity/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/activity/view' , 'Activity View' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Case_Form_ActivityView\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Case Activity\";s:3:\"url\";s:46:\"/index.php?q=civicrm/case/activity&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/case/editClient' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/case/editClient' , 'Assign to Another Client' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Case_Form_EditClient\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}i:2;a:2:{s:5:\"title\";s:4:\"Case\";s:3:\"url\";s:50:\"/index.php?q=civicrm/contact/view/case&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/addToCase' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/addToCase' , 'File on Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Case_Form_ActivityToCase\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/details' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/details' , 'Case Details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Case_Page_CaseDetails\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/case_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/case_type' , 'Case Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Core_Page_Redirect\";' , 's:24:\"url=civicrm/a/#/caseType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/redaction_rule' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/redaction_rule' , 'Redaction Rules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/case_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/case_status' , 'Case Statuses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/encounter_medium' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/encounter_medium' , 'Encounter Mediums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/report/print' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/report/print' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:28:\"CRM_Case_XMLProcessor_Report\";i:1;s:15:\"printCaseReport\";}' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}i:2;a:2:{s:5:\"title\";s:19:\"Case Activity Audit\";s:3:\"url\";s:44:\"/index.php?q=civicrm/case/report&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/unclosed' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/unclosed' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:13:\"unclosedCases\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/addclient' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/addclient' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:9:\"addClient\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/processtags' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/processtags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:15:\"processCaseTags\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/details' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:11:\"CaseDetails\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/delcaserole' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/delcaserole' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:15:\"deleteCaseRoles\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report' , 'CiviReport' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Report_Page_Report\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 8 , 0 , 1200 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/list' , 'CiviCRM Reports' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_InstanceList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/template/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report/template/list' , 'Create New Report from Template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_TemplateList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 1220 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/options/report_template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report/options/report_template' , 'Manage Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Report_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 1241 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/register' , 'Register Report' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Report_Form_Register\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/instance' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/instance' , 'Report' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Report_Page_Instance\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/template/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/template/list' , 'Create New Report from Template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_TemplateList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/options/report_template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/options/report_template' , 'Manage Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Report_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/list' , 'Reports Listing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_InstanceList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/chart' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:15:\"CRM_Report_Form\";i:1;s:16:\"uploadChartImage\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign' , 'Campaign Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Campaign_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/add' , 'New Campaign' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Campaign_Form_Campaign\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/add' , 'New Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Campaign_Form_Survey_Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/vote' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/vote' , 'Conduct Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:25:\"reserve campaign contacts\";i:3;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 's:22:\"CRM_Campaign_Page_Vote\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/campaign/surveyType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/campaign/surveyType' , 'Survey Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCampaign\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Campaign_Page_SurveyType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/campaign_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/campaign_type' , 'Campaign Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 2 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/campaign_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/campaign_status' , 'Campaign Status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 3 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/engagement_index' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/engagement_index' , 'Engagement Index' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 4 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/search' , 'op=interview' , 'Record Respondents Interview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 's:30:\"CRM_Campaign_Controller_Search\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/gotv' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/gotv' , 'GOTV (Track Voters)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:25:\"release campaign contacts\";i:3;s:22:\"gotv campaign contacts\";}i:1;s:2:\"or\";}' , 's:22:\"CRM_Campaign_Form_Gotv\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/add' , 'New Petition' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Campaign_Form_Petition\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/sign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/sign' , 'Sign Petition' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Campaign_Form_Petition_Signature\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/browse' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/browse' , 'View Petition Signatures' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Campaign_Page_Petition\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/confirm' , 'Email address verified' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Campaign_Page_Petition_Confirm\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/thankyou' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/thankyou' , 'Thank You' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Campaign_Page_Petition_ThankYou\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/registerInterview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/registerInterview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:22:\"CRM_Campaign_Page_AJAX\";i:1;s:17:\"registerInterview\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/main' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/main' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Campaign_Form_Survey_Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/questions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/questions' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Campaign_Form_Survey_Questions\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/results' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/results' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Campaign_Form_Survey_Results\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/delete' , 'Delete Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:31:\"CRM_Campaign_Form_Survey_Delete\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'admin' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , breadcrumb ) VALUES ( 1 , 'admin' , 'a:15:{s:26:\"Customize Data and Screens\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:19:{s:20:\"{weight}.Custom Data\";a:6:{s:5:\"title\";s:11:\"Custom Data\";s:4:\"desc\";s:109:\"Configure custom fields to collect and store custom data which is not included in the standard CiviCRM forms.\";s:2:\"id\";s:10:\"CustomData\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";s:4:\"icon\";s:26:\"admin/small/custm_data.png\";s:5:\"extra\";N;}s:17:\"{weight}.Profiles\";a:6:{s:5:\"title\";s:8:\"Profiles\";s:4:\"desc\";s:151:\"Profiles allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features.\";s:2:\"id\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";s:4:\"icon\";s:23:\"admin/small/Profile.png\";s:5:\"extra\";N;}s:26:\"{weight}.Tags (Categories)\";a:6:{s:5:\"title\";s:17:\"Tags (Categories)\";s:4:\"desc\";s:158:\"Tags are useful for segmenting the contacts in your database into categories (e.g. Staff Member, Donor, Volunteer, etc.). Create and edit available tags here.\";s:2:\"id\";s:15:\"Tags_Categories\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/tag&reset=1\";s:4:\"icon\";s:18:\"admin/small/11.png\";s:5:\"extra\";N;}s:23:\"{weight}.Activity Types\";a:6:{s:5:\"title\";s:14:\"Activity Types\";s:4:\"desc\";s:155:\"CiviCRM has several built-in activity types (meetings, phone calls, emails sent). Track other types of interactions by creating custom activity types here.\";s:2:\"id\";s:13:\"ActivityTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/activity_type&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:27:\"{weight}.Relationship Types\";a:6:{s:5:\"title\";s:18:\"Relationship Types\";s:4:\"desc\";s:148:\"Contacts can be linked to each other through Relationships (e.g. Spouse, Employer, etc.). Define the types of relationships you want to record here.\";s:2:\"id\";s:17:\"RelationshipTypes\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/reltype&reset=1\";s:4:\"icon\";s:25:\"admin/small/rela_type.png\";s:5:\"extra\";N;}s:22:\"{weight}.Contact Types\";a:6:{s:5:\"title\";s:13:\"Contact Types\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ContactTypes\";s:3:\"url\";s:54:\"/index.php?q=civicrm/admin/options/subtype&reset=1\";s:4:\"icon\";s:18:\"admin/small/09.png\";s:5:\"extra\";N;}s:23:\"{weight}.Gender Options\";a:6:{s:5:\"title\";s:14:\"Gender Options\";s:4:\"desc\";s:85:\"Options for assigning gender to individual contacts (e.g. Male, Female, Transgender).\";s:2:\"id\";s:13:\"GenderOptions\";s:3:\"url\";s:53:\"/index.php?q=civicrm/admin/options/gender&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:40:\"{weight}.Individual Prefixes (Ms, Mr...)\";a:6:{s:5:\"title\";s:31:\"Individual Prefixes (Ms, Mr...)\";s:4:\"desc\";s:66:\"Options for individual contact prefixes (e.g. Ms., Mr., Dr. etc.).\";s:2:\"id\";s:27:\"IndividualPrefixes_Ms_Mr...\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/individual_prefix&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:40:\"{weight}.Individual Suffixes (Jr, Sr...)\";a:6:{s:5:\"title\";s:31:\"Individual Suffixes (Jr, Sr...)\";s:4:\"desc\";s:61:\"Options for individual contact suffixes (e.g. Jr., Sr. etc.).\";s:2:\"id\";s:27:\"IndividualSuffixes_Jr_Sr...\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/individual_suffix&reset=1\";s:4:\"icon\";s:18:\"admin/small/10.png\";s:5:\"extra\";N;}s:39:\"{weight}.Location Types (Home, Work...)\";a:6:{s:5:\"title\";s:30:\"Location Types (Home, Work...)\";s:4:\"desc\";s:94:\"Options for categorizing contact addresses and phone numbers (e.g. Home, Work, Billing, etc.).\";s:2:\"id\";s:26:\"LocationTypes_Home_Work...\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/locationType&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:22:\"{weight}.Website Types\";a:6:{s:5:\"title\";s:13:\"Website Types\";s:4:\"desc\";s:48:\"Options for assigning website types to contacts.\";s:2:\"id\";s:12:\"WebsiteTypes\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/options/website_type&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:35:\"{weight}.Instant Messenger Services\";a:6:{s:5:\"title\";s:26:\"Instant Messenger Services\";s:4:\"desc\";s:79:\"List of IM services which can be used when recording screen-names for contacts.\";s:2:\"id\";s:24:\"InstantMessengerServices\";s:3:\"url\";s:72:\"/index.php?q=civicrm/admin/options/instant_messenger_service&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:31:\"{weight}.Mobile Phone Providers\";a:6:{s:5:\"title\";s:22:\"Mobile Phone Providers\";s:4:\"desc\";s:90:\"List of mobile phone providers which can be assigned when recording contact phone numbers.\";s:2:\"id\";s:20:\"MobilePhoneProviders\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/mobile_provider&reset=1\";s:4:\"icon\";s:18:\"admin/small/08.png\";s:5:\"extra\";N;}s:19:\"{weight}.Phone Type\";a:6:{s:5:\"title\";s:10:\"Phone Type\";s:4:\"desc\";s:80:\"Options for assigning phone type to contacts (e.g Phone,\n Mobile, Fax, Pager)\";s:2:\"id\";s:9:\"PhoneType\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/phone_type&reset=1\";s:4:\"icon\";s:7:\"tel.gif\";s:5:\"extra\";N;}s:28:\"{weight}.Display Preferences\";a:6:{s:5:\"title\";s:19:\"Display Preferences\";s:4:\"desc\";N;s:2:\"id\";s:18:\"DisplayPreferences\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/display&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:27:\"{weight}.Search Preferences\";a:6:{s:5:\"title\";s:18:\"Search Preferences\";s:4:\"desc\";N;s:2:\"id\";s:17:\"SearchPreferences\";s:3:\"url\";s:53:\"/index.php?q=civicrm/admin/setting/search&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:24:\"{weight}.Navigation Menu\";a:6:{s:5:\"title\";s:15:\"Navigation Menu\";s:4:\"desc\";s:79:\"Add or remove menu items, and modify the order of items on the navigation menu.\";s:2:\"id\";s:14:\"NavigationMenu\";s:3:\"url\";s:43:\"/index.php?q=civicrm/admin/menu&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:26:\"{weight}.Word Replacements\";a:6:{s:5:\"title\";s:17:\"Word Replacements\";s:4:\"desc\";s:18:\"Word Replacements.\";s:2:\"id\";s:16:\"WordReplacements\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/wordreplacements&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Manage Custom Searches\";a:6:{s:5:\"title\";s:22:\"Manage Custom Searches\";s:4:\"desc\";s:225:\"Developers and accidental techies with a bit of PHP and SQL knowledge can create new search forms to handle specific search and reporting needs which aren\'t covered by the built-in Advanced Search and Search Builder features.\";s:2:\"id\";s:20:\"ManageCustomSearches\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/custom_search&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:10;}s:14:\"Communications\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:11:{s:46:\"{weight}.Organization Address and Contact Info\";a:6:{s:5:\"title\";s:37:\"Organization Address and Contact Info\";s:4:\"desc\";s:150:\"Configure primary contact name, email, return-path and address information. This information is used by CiviMail to identify the sending organization.\";s:2:\"id\";s:33:\"OrganizationAddressandContactInfo\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/domain&action=update&reset=1\";s:4:\"icon\";s:22:\"admin/small/domain.png\";s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/from_email_address&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:26:\"{weight}.Message Templates\";a:6:{s:5:\"title\";s:17:\"Message Templates\";s:4:\"desc\";s:130:\"Message templates allow you to save and re-use messages with layouts which you can use when sending email to one or more contacts.\";s:2:\"id\";s:16:\"MessageTemplates\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/messageTemplates&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:27:\"{weight}.Schedule Reminders\";a:6:{s:5:\"title\";s:18:\"Schedule Reminders\";s:4:\"desc\";s:19:\"Schedule Reminders.\";s:2:\"id\";s:17:\"ScheduleReminders\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/scheduleReminders&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:40:\"{weight}.Preferred Communication Methods\";a:6:{s:5:\"title\";s:31:\"Preferred Communication Methods\";s:4:\"desc\";s:117:\"One or more preferred methods of communication can be assigned to each contact. Customize the available options here.\";s:2:\"id\";s:29:\"PreferredCommunicationMethods\";s:3:\"url\";s:77:\"/index.php?q=civicrm/admin/options/preferred_communication_method&reset=1\";s:4:\"icon\";s:29:\"admin/small/communication.png\";s:5:\"extra\";N;}s:22:\"{weight}.Label Formats\";a:6:{s:5:\"title\";s:13:\"Label Formats\";s:4:\"desc\";s:67:\"Configure Label Formats that are used when creating mailing labels.\";s:2:\"id\";s:12:\"LabelFormats\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/labelFormats&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:33:\"{weight}.Print Page (PDF) Formats\";a:6:{s:5:\"title\";s:24:\"Print Page (PDF) Formats\";s:4:\"desc\";s:95:\"Configure PDF Page Formats that can be assigned to Message Templates when creating PDF letters.\";s:2:\"id\";s:20:\"PrintPage_PDFFormats\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/pdfFormats&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:36:\"{weight}.Communication Style Options\";a:6:{s:5:\"title\";s:27:\"Communication Style Options\";s:4:\"desc\";s:42:\"Options for Communication Style selection.\";s:2:\"id\";s:25:\"CommunicationStyleOptions\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/communication_style&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Email Greeting Formats\";a:6:{s:5:\"title\";s:22:\"Email Greeting Formats\";s:4:\"desc\";s:75:\"Options for assigning email greetings to individual and household contacts.\";s:2:\"id\";s:20:\"EmailGreetingFormats\";s:3:\"url\";s:61:\"/index.php?q=civicrm/admin/options/email_greeting&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:32:\"{weight}.Postal Greeting Formats\";a:6:{s:5:\"title\";s:23:\"Postal Greeting Formats\";s:4:\"desc\";s:76:\"Options for assigning postal greetings to individual and household contacts.\";s:2:\"id\";s:21:\"PostalGreetingFormats\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/postal_greeting&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:26:\"{weight}.Addressee Formats\";a:6:{s:5:\"title\";s:17:\"Addressee Formats\";s:4:\"desc\";s:83:\"Options for assigning addressee to individual, household and organization contacts.\";s:2:\"id\";s:16:\"AddresseeFormats\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/addressee&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:6;}s:12:\"Localization\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:4:{s:39:\"{weight}.Languages, Currency, Locations\";a:6:{s:5:\"title\";s:30:\"Languages, Currency, Locations\";s:4:\"desc\";N;s:2:\"id\";s:28:\"Languages_Currency_Locations\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/setting/localization&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:25:\"{weight}.Address Settings\";a:6:{s:5:\"title\";s:16:\"Address Settings\";s:4:\"desc\";N;s:2:\"id\";s:15:\"AddressSettings\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/address&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:21:\"{weight}.Date Formats\";a:6:{s:5:\"title\";s:12:\"Date Formats\";s:4:\"desc\";N;s:2:\"id\";s:11:\"DateFormats\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/date&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:28:\"{weight}.Preferred Languages\";a:6:{s:5:\"title\";s:19:\"Preferred Languages\";s:4:\"desc\";s:30:\"Options for contact languages.\";s:2:\"id\";s:18:\"PreferredLanguages\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/languages&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:21:\"Users and Permissions\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:2:{s:23:\"{weight}.Access Control\";a:6:{s:5:\"title\";s:14:\"Access Control\";s:4:\"desc\";s:73:\"Grant or deny access to actions (view, edit...), features and components.\";s:2:\"id\";s:13:\"AccessControl\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/access&reset=1\";s:4:\"icon\";s:18:\"admin/small/03.png\";s:5:\"extra\";N;}s:38:\"{weight}.Synchronize Users to Contacts\";a:6:{s:5:\"title\";s:29:\"Synchronize Users to Contacts\";s:4:\"desc\";s:71:\"Automatically create a CiviCRM contact record for each CMS user record.\";s:2:\"id\";s:26:\"SynchronizeUserstoContacts\";s:3:\"url\";s:48:\"/index.php?q=civicrm/admin/synchUser&reset=1\";s:4:\"icon\";s:26:\"admin/small/Synch_user.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:15:\"System Settings\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:18:{s:32:\"{weight}.Configuration Checklist\";a:6:{s:5:\"title\";s:23:\"Configuration Checklist\";s:4:\"desc\";s:55:\"List of configuration tasks with links to each setting.\";s:2:\"id\";s:22:\"ConfigurationChecklist\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/configtask&reset=1\";s:4:\"icon\";s:9:\"check.gif\";s:5:\"extra\";N;}s:34:\"{weight}.Enable CiviCRM Components\";a:6:{s:5:\"title\";s:25:\"Enable CiviCRM Components\";s:4:\"desc\";s:269:\"Enable or disable components (e.g. CiviEvent, CiviMember, etc.) for your site based on the features you need. We recommend disabling any components not being used in order to simplify the user interface. You can easily re-enable components at any time from this screen.\";s:2:\"id\";s:23:\"EnableCiviCRMComponents\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/setting/component&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:26:\"{weight}.Manage Extensions\";a:6:{s:5:\"title\";s:17:\"Manage Extensions\";s:4:\"desc\";s:0:\"\";s:2:\"id\";s:16:\"ManageExtensions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/extensions&reset=1\";s:4:\"icon\";s:26:\"admin/small/price_sets.png\";s:5:\"extra\";N;}s:32:\"{weight}.Outbound Email Settings\";a:6:{s:5:\"title\";s:23:\"Outbound Email Settings\";s:4:\"desc\";N;s:2:\"id\";s:21:\"OutboundEmailSettings\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/smtp&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:26:\"{weight}.Payment Processor\";a:6:{s:5:\"title\";s:17:\"Payment Processor\";s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:2:\"id\";s:16:\"PaymentProcessor\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/paymentProcessor&reset=1\";s:4:\"icon\";s:41:\"admin/small/online_contribution_pages.png\";s:5:\"extra\";N;}s:30:\"{weight}.Mapping and Geocoding\";a:6:{s:5:\"title\";s:21:\"Mapping and Geocoding\";s:4:\"desc\";N;s:2:\"id\";s:19:\"MappingandGeocoding\";s:3:\"url\";s:54:\"/index.php?q=civicrm/admin/setting/mapping&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:62:\"{weight}.Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)\";a:6:{s:5:\"title\";s:53:\"Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)\";s:4:\"desc\";s:91:\"Enable undelete/move to trash feature, detailed change logging, ReCAPTCHA to protect forms.\";s:2:\"id\";s:46:\"Misc_Undelete_PDFs_Limits_Logging_Captcha_etc.\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/misc&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:20:\"{weight}.Directories\";a:6:{s:5:\"title\";s:11:\"Directories\";s:4:\"desc\";N;s:2:\"id\";s:11:\"Directories\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/path&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:22:\"{weight}.Resource URLs\";a:6:{s:5:\"title\";s:13:\"Resource URLs\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ResourceURLs\";s:3:\"url\";s:50:\"/index.php?q=civicrm/admin/setting/url&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:40:\"{weight}.Cleanup Caches and Update Paths\";a:6:{s:5:\"title\";s:31:\"Cleanup Caches and Update Paths\";s:4:\"desc\";s:157:\"Reset the Base Directory Path and Base URL settings - generally when a CiviCRM site is moved to another location in the file system and/or to another domain.\";s:2:\"id\";s:27:\"CleanupCachesandUpdatePaths\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1\";s:4:\"icon\";s:26:\"admin/small/updatepath.png\";s:5:\"extra\";N;}s:33:\"{weight}.CMS Database Integration\";a:6:{s:5:\"title\";s:24:\"CMS Database Integration\";s:4:\"desc\";N;s:2:\"id\";s:22:\"CMSDatabaseIntegration\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/setting/uf&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:36:\"{weight}.Safe File Extension Options\";a:6:{s:5:\"title\";s:27:\"Safe File Extension Options\";s:4:\"desc\";s:44:\"File Extensions that can be considered safe.\";s:2:\"id\";s:24:\"SafeFileExtensionOptions\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/safe_file_extension&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:22:\"{weight}.Option Groups\";a:6:{s:5:\"title\";s:13:\"Option Groups\";s:4:\"desc\";s:35:\"Access all meta-data option groups.\";s:2:\"id\";s:12:\"OptionGroups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Import/Export Mappings\";a:6:{s:5:\"title\";s:22:\"Import/Export Mappings\";s:4:\"desc\";s:141:\"Import and Export mappings allow you to easily run the same job multiple times. This option allows you to rename or delete existing mappings.\";s:2:\"id\";s:21:\"Import_ExportMappings\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/mapping&reset=1\";s:4:\"icon\";s:33:\"admin/small/import_export_map.png\";s:5:\"extra\";N;}s:18:\"{weight}.Debugging\";a:6:{s:5:\"title\";s:9:\"Debugging\";s:4:\"desc\";N;s:2:\"id\";s:9:\"Debugging\";s:3:\"url\";s:52:\"/index.php?q=civicrm/admin/setting/debug&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:28:\"{weight}.Multi Site Settings\";a:6:{s:5:\"title\";s:19:\"Multi Site Settings\";s:4:\"desc\";N;s:2:\"id\";s:17:\"MultiSiteSettings\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/setting/preferences/multisite&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:23:\"{weight}.Scheduled Jobs\";a:6:{s:5:\"title\";s:14:\"Scheduled Jobs\";s:4:\"desc\";s:35:\"Managing periodially running tasks.\";s:2:\"id\";s:13:\"ScheduledJobs\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/job&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:22:\"{weight}.Sms Providers\";a:6:{s:5:\"title\";s:13:\"Sms Providers\";s:4:\"desc\";s:27:\"To configure a sms provider\";s:2:\"id\";s:12:\"SmsProviders\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/sms/provider&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:9;}s:12:\"CiviCampaign\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:40:\"{weight}.CiviCampaign Component Settings\";a:6:{s:5:\"title\";s:31:\"CiviCampaign Component Settings\";s:4:\"desc\";s:40:\"Configure global CiviCampaign behaviors.\";s:2:\"id\";s:29:\"CiviCampaignComponentSettings\";s:3:\"url\";s:67:\"/index.php?q=civicrm/admin/setting/preferences/campaign&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:21:\"{weight}.Survey Types\";a:6:{s:5:\"title\";s:12:\"Survey Types\";s:4:\"desc\";N;s:2:\"id\";s:11:\"SurveyTypes\";s:3:\"url\";s:58:\"/index.php?q=civicrm/admin/campaign/surveyType&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:23:\"{weight}.Campaign Types\";a:6:{s:5:\"title\";s:14:\"Campaign Types\";s:4:\"desc\";s:47:\"categorize your campaigns using campaign types.\";s:2:\"id\";s:13:\"CampaignTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/campaign_type&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:24:\"{weight}.Campaign Status\";a:6:{s:5:\"title\";s:15:\"Campaign Status\";s:4:\"desc\";s:34:\"Define statuses for campaign here.\";s:2:\"id\";s:14:\"CampaignStatus\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/campaign_status&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:25:\"{weight}.Engagement Index\";a:6:{s:5:\"title\";s:16:\"Engagement Index\";s:4:\"desc\";s:18:\"Engagement levels.\";s:2:\"id\";s:15:\"EngagementIndex\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/engagement_index&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:3;}s:9:\"CiviEvent\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:37:\"{weight}.CiviEvent Component Settings\";a:6:{s:5:\"title\";s:28:\"CiviEvent Component Settings\";s:4:\"desc\";s:37:\"Configure global CiviEvent behaviors.\";s:2:\"id\";s:26:\"CiviEventComponentSettings\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/setting/preferences/event&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:33:\"{weight}.Event Name Badge Layouts\";a:6:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:4:\"desc\";s:107:\"Configure name badge layouts for event participants, including logos and what data to include on the badge.\";s:2:\"id\";s:21:\"EventNameBadgeLayouts\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/badgelayout&action=browse&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Manage Events\";a:6:{s:5:\"title\";s:13:\"Manage Events\";s:4:\"desc\";s:136:\"Create and edit event configuration including times, locations, online registration forms, and fees. Links for iCal and RSS syndication.\";s:2:\"id\";s:12:\"ManageEvents\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/event&reset=1\";s:4:\"icon\";s:28:\"admin/small/event_manage.png\";s:5:\"extra\";N;}s:24:\"{weight}.Event Templates\";a:6:{s:5:\"title\";s:15:\"Event Templates\";s:4:\"desc\";s:115:\"Administrators can create Event Templates - which are basically master event records pre-filled with default values\";s:2:\"id\";s:14:\"EventTemplates\";s:3:\"url\";s:52:\"/index.php?q=civicrm/admin/eventTemplate&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:20:\"{weight}.Event Types\";a:6:{s:5:\"title\";s:11:\"Event Types\";s:4:\"desc\";s:143:\"Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.\";s:2:\"id\";s:10:\"EventTypes\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/event_type&reset=1\";s:4:\"icon\";s:26:\"admin/small/event_type.png\";s:5:\"extra\";N;}s:27:\"{weight}.Participant Status\";a:6:{s:5:\"title\";s:18:\"Participant Status\";s:4:\"desc\";s:154:\"Define statuses for event participants here (e.g. Registered, Attended, Cancelled...). You can then assign statuses and search for participants by status.\";s:2:\"id\";s:17:\"ParticipantStatus\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/participant_status&reset=1\";s:4:\"icon\";s:28:\"admin/small/parti_status.png\";s:5:\"extra\";N;}s:25:\"{weight}.Participant Role\";a:6:{s:5:\"title\";s:16:\"Participant Role\";s:4:\"desc\";s:138:\"Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.\";s:2:\"id\";s:15:\"ParticipantRole\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/participant_role&reset=1\";s:4:\"icon\";s:26:\"admin/small/parti_role.png\";s:5:\"extra\";N;}s:38:\"{weight}.Participant Listing Templates\";a:6:{s:5:\"title\";s:29:\"Participant Listing Templates\";s:4:\"desc\";s:48:\"Template to control participant listing display.\";s:2:\"id\";s:27:\"ParticipantListingTemplates\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/participant_listing&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Conference Slot Labels\";a:6:{s:5:\"title\";s:22:\"Conference Slot Labels\";s:4:\"desc\";s:35:\"Define conference slots and labels.\";s:2:\"id\";s:20:\"ConferenceSlotLabels\";s:3:\"url\";s:81:\"/index.php?q=civicrm/admin/conference_slots&group=conference_slot&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:5;}s:8:\"CiviMail\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:36:\"{weight}.CiviMail Component Settings\";a:6:{s:5:\"title\";s:27:\"CiviMail Component Settings\";s:4:\"desc\";s:36:\"Configure global CiviMail behaviors.\";s:2:\"id\";s:25:\"CiviMailComponentSettings\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/mailing&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Mailer Settings\";a:6:{s:5:\"title\";s:15:\"Mailer Settings\";s:4:\"desc\";s:61:\"Configure spool period, throttling and other mailer settings.\";s:2:\"id\";s:14:\"MailerSettings\";s:3:\"url\";s:43:\"/index.php?q=civicrm/admin/mail&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:49:\"{weight}.Headers, Footers, and Automated Messages\";a:6:{s:5:\"title\";s:40:\"Headers, Footers, and Automated Messages\";s:4:\"desc\";s:143:\"Configure the header and footer used for mailings. Customize the content of automated Subscribe, Unsubscribe, Resubscribe and Opt-out messages.\";s:2:\"id\";s:36:\"Headers_Footers_andAutomatedMessages\";s:3:\"url\";s:48:\"/index.php?q=civicrm/admin/component&reset=1\";s:4:\"icon\";s:23:\"admin/small/Profile.png\";s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:74:\"/index.php?q=civicrm/admin/options/from_email_address/civimail&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:22:\"{weight}.Mail Accounts\";a:6:{s:5:\"title\";s:13:\"Mail Accounts\";s:4:\"desc\";s:32:\"Configure email account setting.\";s:2:\"id\";s:12:\"MailAccounts\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/mailSettings&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:3;}s:10:\"CiviMember\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:38:\"{weight}.CiviMember Component Settings\";a:6:{s:5:\"title\";s:29:\"CiviMember Component Settings\";s:4:\"desc\";s:38:\"Configure global CiviMember behaviors.\";s:2:\"id\";s:27:\"CiviMemberComponentSettings\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/setting/preferences/member&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Membership Types\";a:6:{s:5:\"title\";s:16:\"Membership Types\";s:4:\"desc\";s:174:\"Define the types of memberships you want to offer. For each type, you can specify a \'name\' (Gold Member, Honor Society Member...), a description, duration, and a minimum fee.\";s:2:\"id\";s:15:\"MembershipTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/member/membershipType&reset=1\";s:4:\"icon\";s:31:\"admin/small/membership_type.png\";s:5:\"extra\";N;}s:32:\"{weight}.Membership Status Rules\";a:6:{s:5:\"title\";s:23:\"Membership Status Rules\";s:4:\"desc\";s:187:\"Status \'rules\' define the current status for a membership based on that membership\'s start and end dates. You can adjust the default status options and rules as needed to meet your needs.\";s:2:\"id\";s:21:\"MembershipStatusRules\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/member/membershipStatus&reset=1\";s:4:\"icon\";s:33:\"admin/small/membership_status.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:6:\"Manage\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:27:\"{weight}.Scheduled Jobs Log\";a:6:{s:5:\"title\";s:18:\"Scheduled Jobs Log\";s:4:\"desc\";s:46:\"Browsing the log of periodially running tasks.\";s:2:\"id\";s:16:\"ScheduledJobsLog\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/joblog&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:42:\"{weight}.Find and Merge Duplicate Contacts\";a:6:{s:5:\"title\";s:33:\"Find and Merge Duplicate Contacts\";s:4:\"desc\";s:158:\"Manage the rules used to identify potentially duplicate contact records. Scan for duplicates using a selected rule and merge duplicate contact data as needed.\";s:2:\"id\";s:29:\"FindandMergeDuplicateContacts\";s:3:\"url\";s:52:\"/index.php?q=civicrm/contact/deduperules&reset=1\";s:4:\"icon\";s:34:\"admin/small/duplicate_matching.png\";s:5:\"extra\";N;}s:26:\"{weight}.Dedupe Exceptions\";a:6:{s:5:\"title\";s:17:\"Dedupe Exceptions\";s:4:\"desc\";N;s:2:\"id\";s:16:\"DedupeExceptions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/dedupe/exception&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:12:\"Option Lists\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:20:\"{weight}.Grant Types\";a:6:{s:5:\"title\";s:11:\"Grant Types\";s:4:\"desc\";s:148:\"List of types which can be assigned to Grants. (Enable CiviGrant from Administer > Systme Settings > Enable Components if you want to track grants.)\";s:2:\"id\";s:10:\"GrantTypes\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/grant_type&reset=1\";s:4:\"icon\";s:26:\"admin/small/grant_type.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:9:\"Customize\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:19:\"{weight}.Price Sets\";a:6:{s:5:\"title\";s:10:\"Price Sets\";s:4:\"desc\";s:205:\"Price sets allow you to offer multiple options with associated fees (e.g. pre-conference workshops, additional meals, etc.). Configure Price Sets for events which need more than a single set of fee levels.\";s:2:\"id\";s:9:\"PriceSets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";s:4:\"icon\";s:26:\"admin/small/price_sets.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:14:\"CiviContribute\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:32:\"{weight}.Personal Campaign Pages\";a:6:{s:5:\"title\";s:23:\"Personal Campaign Pages\";s:4:\"desc\";s:49:\"View and manage existing personal campaign pages.\";s:2:\"id\";s:21:\"PersonalCampaignPages\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/pcp&context=contribute&reset=1\";s:4:\"icon\";s:34:\"admin/small/contribution_types.png\";s:5:\"extra\";N;}s:34:\"{weight}.Manage Contribution Pages\";a:6:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:4:\"desc\";s:242:\"CiviContribute allows you to create and maintain any number of Online Contribution Pages. You can create different pages for different programs or campaigns - and customize text, amounts, types of information collected from contributors, etc.\";s:2:\"id\";s:23:\"ManageContributionPages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";s:4:\"icon\";s:41:\"admin/small/online_contribution_pages.png\";s:5:\"extra\";N;}s:24:\"{weight}.Manage Premiums\";a:6:{s:5:\"title\";s:15:\"Manage Premiums\";s:4:\"desc\";s:175:\"CiviContribute allows you to configure any number of Premiums which can be offered to contributors as incentives / thank-you gifts. Define the premiums you want to offer here.\";s:2:\"id\";s:14:\"ManagePremiums\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/contribute/managePremiums&reset=1\";s:4:\"icon\";s:24:\"admin/small/Premiums.png\";s:5:\"extra\";N;}s:24:\"{weight}.Financial Types\";a:6:{s:5:\"title\";s:15:\"Financial Types\";s:4:\"desc\";s:64:\"Formerly civicrm_contribution_type merged into this table in 4.1\";s:2:\"id\";s:14:\"FinancialTypes\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/financial/financialType&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Financial Accounts\";a:6:{s:5:\"title\";s:18:\"Financial Accounts\";s:4:\"desc\";s:128:\"Financial types are used to categorize contributions for reporting and accounting purposes. These are also referred to as Funds.\";s:2:\"id\";s:17:\"FinancialAccounts\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/financial/financialAccount&reset=1\";s:4:\"icon\";s:34:\"admin/small/contribution_types.png\";s:5:\"extra\";N;}s:24:\"{weight}.Payment Methods\";a:6:{s:5:\"title\";s:15:\"Payment Methods\";s:4:\"desc\";s:224:\"You may choose to record the payment instrument used for each contribution. Common payment methods are installed by default (e.g. Check, Cash, Credit Card...). If your site requires additional payment methods, add them here.\";s:2:\"id\";s:14:\"PaymentMethods\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/payment_instrument&reset=1\";s:4:\"icon\";s:35:\"admin/small/payment_instruments.png\";s:5:\"extra\";N;}s:30:\"{weight}.Accepted Credit Cards\";a:6:{s:5:\"title\";s:21:\"Accepted Credit Cards\";s:4:\"desc\";s:94:\"Credit card options that will be offered to contributors using your Online Contribution pages.\";s:2:\"id\";s:19:\"AcceptedCreditCards\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/accept_creditcard&reset=1\";s:4:\"icon\";s:36:\"admin/small/accepted_creditcards.png\";s:5:\"extra\";N;}s:26:\"{weight}.Soft Credit Types\";a:6:{s:5:\"title\";s:17:\"Soft Credit Types\";s:4:\"desc\";s:86:\"Soft Credit Types that will be offered to contributors during soft credit contribution\";s:2:\"id\";s:15:\"SoftCreditTypes\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/soft_credit_type&reset=1\";s:4:\"icon\";s:32:\"admin/small/soft_credit_type.png\";s:5:\"extra\";N;}s:42:\"{weight}.CiviContribute Component Settings\";a:6:{s:5:\"title\";s:33:\"CiviContribute Component Settings\";s:4:\"desc\";s:42:\"Configure global CiviContribute behaviors.\";s:2:\"id\";s:31:\"CiviContributeComponentSettings\";s:3:\"url\";s:69:\"/index.php?q=civicrm/admin/setting/preferences/contribute&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:5;}s:8:\"CiviCase\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:4:{s:19:\"{weight}.Case Types\";a:6:{s:5:\"title\";s:10:\"Case Types\";s:4:\"desc\";s:137:\"List of types which can be assigned to Cases. (Enable the Cases tab from System Settings - Enable Components if you want to track cases.)\";s:2:\"id\";s:9:\"CaseTypes\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/case_type&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}s:24:\"{weight}.Redaction Rules\";a:6:{s:5:\"title\";s:15:\"Redaction Rules\";s:4:\"desc\";s:223:\"List of rules which can be applied to user input strings so that the redacted output can be recognized as repeated instances of the same string or can be identified as a \"semantic type of the data element\" within case data.\";s:2:\"id\";s:14:\"RedactionRules\";s:3:\"url\";s:61:\"/index.php?q=civicrm/admin/options/redaction_rule&reset=1\";s:4:\"icon\";s:30:\"admin/small/redaction_type.png\";s:5:\"extra\";N;}s:22:\"{weight}.Case Statuses\";a:6:{s:5:\"title\";s:13:\"Case Statuses\";s:4:\"desc\";s:48:\"List of statuses that can be assigned to a case.\";s:2:\"id\";s:12:\"CaseStatuses\";s:3:\"url\";s:58:\"/index.php?q=civicrm/admin/options/case_status&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}s:26:\"{weight}.Encounter Mediums\";a:6:{s:5:\"title\";s:17:\"Encounter Mediums\";s:4:\"desc\";s:26:\"List of encounter mediums.\";s:2:\"id\";s:16:\"EncounterMediums\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/encounter_medium&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:10:\"CiviReport\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:40:\"{weight}.Create New Report from Template\";a:6:{s:5:\"title\";s:31:\"Create New Report from Template\";s:4:\"desc\";s:49:\"Component wise listing of all available templates\";s:2:\"id\";s:27:\"CreateNewReportfromTemplate\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/report/template/list&reset=1\";s:4:\"icon\";s:31:\"admin/small/report_template.gif\";s:5:\"extra\";N;}s:25:\"{weight}.Manage Templates\";a:6:{s:5:\"title\";s:16:\"Manage Templates\";s:4:\"desc\";s:45:\"Browse, Edit and Delete the Report templates.\";s:2:\"id\";s:15:\"ManageTemplates\";s:3:\"url\";s:69:\"/index.php?q=civicrm/admin/report/options/report_template&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:24:\"{weight}.Reports Listing\";a:6:{s:5:\"title\";s:15:\"Reports Listing\";s:4:\"desc\";s:60:\"Browse existing report, change report criteria and settings.\";s:2:\"id\";s:14:\"ReportsListing\";s:3:\"url\";s:50:\"/index.php?q=civicrm/admin/report/list&reset=1\";s:4:\"icon\";s:27:\"admin/small/report_list.gif\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}}' ) + + UPDATE civicrm_setting SET value = 'qZ7cA9O1' WHERE name='navigation' AND contact_id IS NOT NULL + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'navigation' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173252) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173252) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + UPDATE civicrm_dashboard_contact SET content = NULL + + +SELECT find_word,replace_word,is_active,match_type +FROM civicrm_word_replacement +WHERE domain_id = 1 + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT locale_custom_strings FROM civicrm_domain WHERE id = 1 + + UPDATE civicrm_domain SET locale_custom_strings = 'a:1:{s:5:\"en_US\";a:0:{}}' WHERE id = 1 + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'settings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173252) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173252) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'settings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173252) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173252) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + SELECT id, name, value, domain_id, contact_id, is_domain, component_id, created_date, created_id +FROM civicrm_setting +WHERE (domain_id = 1) AND (is_domain = 1) + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_all._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'all' , 'a:132:{s:32:\"address_standardization_provider\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:32:\"address_standardization_provider\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:33:\"Address Standardization Provider.\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:492:\"CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. \";}s:30:\"address_standardization_userid\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:30:\"address_standardization_userid\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Web service user ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:27:\"address_standardization_url\";a:13:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:27:\"address_standardization_url\";s:4:\"type\";s:4:\"Text\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Web Service URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:15:\"Web Service URL\";s:17:\"validate_callback\";s:19:\"CRM_Utils_Rule::url\";}s:15:\"tag_unconfirmed\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:15:\"tag_unconfirmed\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:11:\"Unconfirmed\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:36:\"Tag for Unconfirmed Petition Signers\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:17:\"petition_contacts\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:17:\"petition_contacts\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:17:\"Petition Contacts\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Petition Signers Group\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:23:\"cvv_backoffice_required\";a:12:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:23:\"cvv_backoffice_required\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:28:\"CVV required for backoffice?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"Is the CVV code required for back office credit card transactions\";s:9:\"help_text\";s:137:\"If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change\";}s:29:\"contribution_invoice_settings\";a:11:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:29:\"contribution_invoice_settings\";s:4:\"type\";s:5:\"Array\";s:7:\"default\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Contribution Invoice Settings\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_view_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_view_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_view_options\";}s:7:\"default\";s:28:\"123456789101113\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Viewing Contacts\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_edit_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_edit_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_edit_options\";}s:7:\"default\";s:37:\"123456789111214151617\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Editing Contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"advanced_search_options\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:4:\"name\";s:23:\"advanced_search_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:23:\"advanced_search_options\";}s:7:\"default\";s:46:\"123456789101112131516171819\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:22:\"user_dashboard_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:22:\"user_dashboard_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:22:\"user_dashboard_options\";}s:7:\"default\";s:15:\"1234578\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Contact Dashboard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"address_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"address_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:15:\"address_options\";}s:7:\"default\";s:23:\"123456891011\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Addressing Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"address_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"address_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:8:\"TextArea\";s:7:\"default\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Address Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"mailing_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"mailing_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Mailing Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"display_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"display_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Display Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"sort_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"sort_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Sort Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"editor_id\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"editor_id\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";s:8:\"CKEditor\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Wysiwig Editor\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:26:\"contact_ajax_check_similar\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:26:\"contact_ajax_check_similar\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Ajax Check Similar\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:17:\"ajaxPopupsEnabled\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"ajaxPopupsEnabled\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:19:\"Ajax Popups Enabled\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:30:\"activity_assignee_notification\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:30:\"activity_assignee_notification\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Notify Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:34:\"activity_assignee_notification_ics\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:34:\"activity_assignee_notification_ics\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:41:\"Include ICal Invite to Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:28:\"contact_autocomplete_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:28:\"contact_autocomplete_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:27:\"Autocomplete Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.\";s:9:\"help_text\";N;}s:25:\"contact_reference_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:25:\"contact_reference_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:57:\"CRM_Admin_Form_Setting_Search::getContactReferenceOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Contact Reference Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:508:\"Selected fields will be displayed in autocomplete dropdown search results for \'Contact Reference\' custom fields. Contact Name is always included. NOTE: You must assign \'access contact reference fields\' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the \'Limit List to Group\' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.\";s:9:\"help_text\";N;}s:27:\"contact_smart_group_display\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"contact_smart_group_display\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:5:\"radio\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Viewing Smart Groups\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"max_attachments\";a:15:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"max_attachments\";s:10:\"legacy_key\";s:14:\"maxAttachments\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Maximum Attachments\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Maximum number of files (documents, images, etc.) which can attached to emails or activities.\";s:9:\"help_text\";N;}s:11:\"maxFileSize\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"maxFileSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:25:\"Maximum File Size (in MB)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.\";s:9:\"help_text\";N;}s:16:\"contact_undelete\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"contact_undelete\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Contact Trash and Undelete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:200:\"If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).\";s:9:\"help_text\";N;}s:24:\"allowPermDeleteFinancial\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:24:\"allowPermDeleteFinancial\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:24:\"Contact Permanent Delete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:81:\"Allow Permanent Delete for contacts who are linked to live financial transactions\";s:9:\"help_text\";N;}s:12:\"versionCheck\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"versionCheck\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:31:\"Automatically Check for Updates\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:13:\"securityAlert\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:13:\"securityAlert\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:13:\"Status Alerts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:154:\"If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.\";s:9:\"help_text\";N;}s:21:\"doNotAttachPDFReceipt\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"doNotAttachPDFReceipt\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Attach PDF copy to receipts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:98:\"If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.\";s:9:\"help_text\";N;}s:15:\"wkhtmltopdfPath\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"wkhtmltopdfPath\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:256;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Path to wkhtmltopdf executable\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"recaptchaOptions\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"recaptchaOptions\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Recaptcha Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:256:\"You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.\";s:9:\"help_text\";N;}s:18:\"recaptchaPublicKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:18:\"recaptchaPublicKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Recaptcha Site Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"recaptchaPrivateKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"recaptchaPrivateKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Recaptcha Secret Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:21:\"dashboardCacheTimeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"dashboardCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:3;s:9:\"maxlength\";i:5;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Dashboard cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"checksum_timeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"checksum_timeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";i:7;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Checksum Lifespan\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"blogUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"blogUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:13:\"Blog Feed URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:38:\"Blog feed URL used by the blog dashlet\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:20:\"communityMessagesUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"communityMessagesUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Community Messages URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:44:\"Service providing CiviCRM community messages\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:17:\"gettingStartedUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"gettingStartedUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Getting Started URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:42:\"Service providing the Getting Started data\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:12:\"resCacheCode\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"resCacheCode\";s:4:\"type\";s:6:\"String\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:12:\"resCacheCode\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:62:\"Code appended to resource URLs (JS/CSS) to coerce HTTP caching\";s:9:\"help_text\";N;}s:9:\"verifySSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"verifySSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:11:\"Verify SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:92:\"If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections\";s:9:\"help_text\";s:140:\"Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes\";}s:9:\"enableSSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"enableSSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:10:\"Force SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";s:9:\"help_text\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";}s:10:\"wpBasePage\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:10:\"wpBasePage\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"WordPress Base Page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"If set, CiviCRM will use this setting as the base url.\";s:9:\"help_text\";s:177:\"By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.\";}s:23:\"secondDegRelPermissions\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"secondDegRelPermissions\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:44:\"Allow second-degree relationship permissions\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"If enabled, contacts with the permission to edit a related contact will inherit that contact\'s permission to edit other related contacts\";s:9:\"help_text\";N;}s:17:\"enable_components\";a:16:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"enable_components\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:14:\"advmultiselect\";s:15:\"html_attributes\";a:3:{s:4:\"size\";i:5;s:5:\"style\";s:11:\"width:150px\";s:5:\"class\";s:14:\"advmultiselect\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:17:\"Enable Components\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;s:9:\"on_change\";a:3:{i:0;s:33:\"CRM_Case_Info::onToggleComponents\";i:1;s:42:\"CRM_Core_Component::flushEnabledComponents\";i:2;s:31:\"call://resources/resetCacheCode\";}}s:16:\"disable_core_css\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"disable_core_css\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:19:\"Disable CiviCRM css\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:55:\"Prevent the stylesheet \"civicrm.css\" from being loaded.\";s:9:\"help_text\";N;}s:11:\"empoweredBy\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"empoweredBy\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"Display \"empowered by CiviCRM\"\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:80:\"When enabled, \"empowered by CiviCRM\" is displayed at the bottom of public forms.\";s:9:\"help_text\";N;}s:7:\"logging\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"logging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:9:\"html_type\";s:0:\"\";s:7:\"default\";s:1:\"0\";s:5:\"title\";s:7:\"Logging\";s:11:\"description\";s:73:\"If enabled, all actions will be logged with a complete record of changes.\";s:17:\"validate_callback\";s:39:\"CRM_Logging_Schema::checkLoggingSupport\";s:9:\"on_change\";a:1:{i:0;s:28:\"CRM_Logging_Schema::onToggle\";}}s:27:\"userFrameworkUsersTableName\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"userFrameworkUsersTableName\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:23:\"Drupal Users Table Name\";s:11:\"description\";s:0:\"\";}s:9:\"wpLoadPhp\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"wpLoadPhp\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:29:\"WordPress Path to wp-load.php\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"CiviCRM will use this setting as path to bootstrap WP.\";s:9:\"help_text\";N;}s:7:\"site_id\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"site_id\";s:4:\"type\";s:6:\"String\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:14:\"Unique Site ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"systemStatusCheckResult\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"systemStatusCheckResult\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:23:\"systemStatusCheckResult\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"userFrameworkLogging\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:20:\"userFrameworkLogging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Enable Drupal Watchdog Logging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:101:\"Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs\";s:9:\"help_text\";s:239:\"Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS\' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal\'s watchdog enabled)\";}s:13:\"debug_enabled\";a:13:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:13:\"debug_enabled\";s:10:\"config_key\";s:5:\"debug\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Enable Debugging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:130:\"Set this value to Yes if you want to use one of CiviCRM\'s debugging tools. This feature should NOT be enabled for production sites\";s:9:\"help_text\";s:39:\"Do not turn this on on production sites\";}s:9:\"backtrace\";a:11:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:9:\"backtrace\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Display Backtrace\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:155:\"Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites\";}s:17:\"fatalErrorHandler\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:17:\"fatalErrorHandler\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Fatal Error Handler\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.\";}s:9:\"uploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:9:\"uploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Temporary Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:90:\"File system path where temporary CiviCRM files - such as import data files - are uploaded.\";}s:14:\"imageUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:14:\"imageUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Image Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:147:\"File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).\";s:9:\"help_text\";N;}s:19:\"customFileUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:19:\"customFileUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Custom Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:195:\"Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.\";s:9:\"help_text\";N;}s:17:\"customTemplateDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:17:\"customTemplateDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Custom Template Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:207:\"Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)\";s:9:\"help_text\";N;}s:16:\"customPHPPathDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:16:\"customPHPPathDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Custom PHP Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:99:\"Path where site specific PHP code files are stored if any. This directory is searched first if set.\";s:9:\"help_text\";N;}s:13:\"extensionsDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:13:\"extensionsDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Extensions Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:41:\"Path where CiviCRM extensions are stored.\";s:9:\"help_text\";N;}s:11:\"enable_cart\";a:12:{s:4:\"name\";s:11:\"enable_cart\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Enable Event Cart\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:8:\"WRITE ME\";s:9:\"help_text\";s:8:\"WRITE ME\";}s:11:\"show_events\";a:13:{s:4:\"name\";s:11:\"show_events\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:17:\"Dashboard entries\";s:9:\"html_type\";s:6:\"select\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:107:\"Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.\";s:9:\"help_text\";N;}s:12:\"ext_repo_url\";a:14:{s:10:\"group_name\";s:21:\"Extension Preferences\";s:5:\"group\";s:3:\"ext\";s:4:\"name\";s:12:\"ext_repo_url\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Extension Repo URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";s:0:\"\";}s:23:\"customTranslateFunction\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:23:\"customTranslateFunction\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"30\";s:9:\"maxlength\";s:3:\"100\";}s:7:\"default\";N;s:5:\"title\";s:25:\"Custom Translate Function\";s:11:\"description\";s:0:\"\";}s:25:\"monetaryThousandSeparator\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:25:\"monetaryThousandSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\",\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Thousands Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"monetaryDecimalPoint\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:20:\"monetaryDecimalPoint\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Decimal Delimiter\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:11:\"moneyformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:11:\"moneyformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%c %a\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Monetary Amount Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"moneyvalueformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:16:\"moneyvalueformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:3:\"%!i\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Monetary Value Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"defaultCurrency\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"defaultCurrency\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:3:\"USD\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Currency\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"Default currency assigned to contributions and other monetary transactions.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:55:\"CRM_Admin_Form_Setting_Localization::getCurrencySymbols\";}}s:21:\"defaultContactCountry\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:21:\"defaultContactCountry\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:0:{}s:7:\"default\";s:4:\"1228\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:15:\"Default Country\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:27:\"defaultContactStateProvince\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:27:\"defaultContactStateProvince\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:11:\"ChainSelect\";s:9:\"html_type\";s:11:\"ChainSelect\";s:7:\"default\";N;s:5:\"title\";s:22:\"Default State/Province\";s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";}s:12:\"countryLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:12:\"countryLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Available Countries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"provinceLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"provinceLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Available States and Provinces\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"inheritLocale\";a:12:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"inheritLocale\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Inherit CMS Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:18:\"dateformatDatetime\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:18:\"dateformatDatetime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:20:\"%B %E%f, %Y %l:%M %P\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Date Format: Complete Date and Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatFull\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatFull\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:11:\"%B %E%f, %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Date Format: Complete Date\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:17:\"dateformatPartial\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:17:\"dateformatPartial\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%B %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Date Format: Month and Year\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatTime\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatTime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:8:\"%l:%M %P\";s:5:\"title\";s:22:\"Date Format: Time Only\";s:11:\"description\";s:0:\"\";}s:14:\"dateformatYear\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatYear\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:2:\"%Y\";s:5:\"title\";s:22:\"Date Format: Year Only\";s:11:\"description\";s:0:\"\";}s:15:\"dateInputFormat\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"dateInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:48:\"CRM_Core_SelectValues::getDatePluginInputFormats\";}s:7:\"default\";s:8:\"mm/dd/yy\";s:5:\"title\";s:17:\"Date Input Format\";s:11:\"description\";s:0:\"\";}s:14:\"fieldSeparator\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"fieldSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:1:\"2\";s:9:\"maxlength\";s:1:\"8\";}s:7:\"default\";s:1:\",\";s:5:\"title\";s:31:\"Import / Export Field Separator\";s:11:\"description\";s:144:\"Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).\";}s:15:\"fiscalYearStart\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"fiscalYearStart\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:8:\"MonthDay\";s:9:\"html_type\";s:8:\"MonthDay\";s:7:\"default\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:5:\"title\";s:17:\"Fiscal Year Start\";s:11:\"description\";s:0:\"\";}s:13:\"languageLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"languageLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Available Languages (Multi-lingual)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:24:\"CRM_Core_I18n::languages\";}}s:10:\"lcMessages\";a:16:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"lcMessages\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:5:\"en_US\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions\";}s:9:\"on_change\";a:1:{i:0;s:55:\"CRM_Admin_Form_Setting_Localization::onChangeLcMessages\";}}s:14:\"legacyEncoding\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"legacyEncoding\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"30\";}s:7:\"default\";s:12:\"Windows-1252\";s:5:\"title\";s:15:\"Legacy Encoding\";s:11:\"description\";s:184:\"If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.\";}s:15:\"timeInputFormat\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"timeInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:37:\"CRM_Core_SelectValues::getTimeFormats\";}s:7:\"default\";s:1:\"1\";s:5:\"title\";s:17:\"Time Input Format\";s:11:\"description\";s:0:\"\";s:9:\"on_change\";a:1:{i:0;s:45:\"CRM_Core_BAO_PreferencesDate::onChangeSetting\";}}s:10:\"weekBegins\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"weekBegins\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:35:\"CRM_Utils_Date::getFullWeekdayNames\";}s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"Week begins on\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:24:\"contact_default_language\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:24:\"contact_default_language\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:62:\"CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions\";}s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Default Language for contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"Default language (if any) for contact records\";s:9:\"help_text\";s:197:\"If a contact is created with no language this setting will determine the language data (if any) to save.You may or may not wish to make an assumption here about whether it matches the site language\";}s:20:\"profile_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"profile_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:22:\"track_civimail_replies\";a:13:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:22:\"track_civimail_replies\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:43:\"Track replies using VERP in Reply-To header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:78:\"If checked, mailings will default to tracking replies using VERP-ed Reply-To. \";s:9:\"help_text\";N;s:17:\"validate_callback\";s:41:\"CRM_Core_BAO_Setting::validateBoolSetting\";}s:17:\"civimail_workflow\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:17:\"civimail_workflow\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:21:\"Use CiviMail Workflow\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:25:\"civimail_server_wide_lock\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:25:\"civimail_server_wide_lock\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:39:\"Lock Mails Server-Wide for Mail Sending\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"replyTo\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:7:\"replyTo\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:22:\"Enable Custom Reply-To\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Allow CiviMail users to send mailings with a custom Reply-To header\";s:9:\"help_text\";N;}s:15:\"mailing_backend\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:15:\"mailing_backend\";s:4:\"type\";s:5:\"Array\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Mailing Backend\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:33:\"profile_add_to_group_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:33:\"profile_add_to_group_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:30:\"disable_mandatory_tokens_check\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:30:\"disable_mandatory_tokens_check\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:34:\"Disable check for mandatory tokens\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:345:\"Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.\";s:9:\"help_text\";N;}s:20:\"dedupe_email_default\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"dedupe_email_default\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:44:\"CiviMail dedupes e-mail addresses by default\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:79:\"Set the \"dedupe e-mail\" option when sending a new mailing to \"true\" by default.\";s:9:\"help_text\";N;}s:16:\"hash_mailing_url\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"hash_mailing_url\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:20:\"Hashed Mailing URL\'s\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:131:\"If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID\";s:9:\"help_text\";N;}s:29:\"civimail_multiple_bulk_emails\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:29:\"civimail_multiple_bulk_emails\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:21:\" Multiple Bulk Emails\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:96:\"If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.\";s:9:\"help_text\";N;}s:18:\"include_message_id\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:18:\"include_message_id\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:45:\"Enable CiviMail to generate Message-ID header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:16:\"mailerBatchLimit\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailerBatchLimit\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:18:\"Mailer Batch Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:110:\"Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).\";s:9:\"help_text\";N;}s:13:\"mailerJobSize\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:15:\"Mailer Job Size\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:365:\"If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter \"0\" to disable multi-threading and process mail as one single job - batch limits still apply.\";s:9:\"help_text\";N;}s:13:\"mailerJobsMax\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobsMax\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:21:\"Mailer Cron Job Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:127:\"The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)\";s:9:\"help_text\";N;}s:16:\"mailThrottleTime\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailThrottleTime\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Mailer Throttle Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:234:\"The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.\";s:9:\"help_text\";N;}s:13:\"verpSeparator\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"verpSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:32;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"VERP Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:106:\"Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.\";s:9:\"help_text\";N;}s:21:\"write_activity_record\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:21:\"write_activity_record\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:48:\"Enable CiviMail to create activities on delivery\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"geoAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"geoAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Geo Provider Key\";s:11:\"description\";s:101:\"Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).\";}s:11:\"geoProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"geoProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::geoProvider\";}s:7:\"default\";N;s:5:\"title\";s:18:\"Geocoding Provider\";s:11:\"description\";s:229:\"You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.\";}s:9:\"mapAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"mapAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Map Provider Key\";s:11:\"description\";s:238:\"Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.\";}s:11:\"mapProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"mapProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::mapProvider\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Mapping Provider\";s:11:\"description\";s:98:\"Choose the mapping provider that has the best coverage for the majority of your contact addresses.\";}s:33:\"default_renewal_contribution_page\";a:13:{s:10:\"group_name\";s:18:\"Member Preferences\";s:5:\"group\";s:6:\"member\";s:4:\"name\";s:33:\"default_renewal_contribution_page\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:14:\"pseudoconstant\";a:1:{s:4:\"name\";s:16:\"contributionPage\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:38:\"Default online membership renewal page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:348:\"If you select a default online contribution page for self-service membership renewals, a \"renew\" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.\";s:9:\"help_text\";N;}s:10:\"is_enabled\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:10:\"is_enabled\";s:5:\"title\";s:20:\"Multisite Is enabled\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:20:\"Multisite is enabled\";s:9:\"help_text\";N;}s:15:\"domain_group_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:15:\"domain_group_id\";s:5:\"title\";s:22:\"Multisite Domain Group\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:25:\"event_price_set_domain_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:25:\"event_price_set_domain_id\";s:5:\"title\";s:22:\"Domain Event Price Set\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:19:\"uniq_email_per_site\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:19:\"uniq_email_per_site\";s:4:\"type\";s:7:\"Integer\";s:5:\"title\";s:24:\"Unique Email per Domain?\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:25:\"search_autocomplete_count\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:25:\"search_autocomplete_count\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:2;}s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Autocomplete Results\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"The maximum number of contacts to show at a time when typing in an autocomplete field.\";s:9:\"help_text\";N;}s:17:\"enable_innodb_fts\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:17:\"enable_innodb_fts\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:23:\"InnoDB Full Text Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)\";s:9:\"help_text\";N;s:9:\"on_change\";a:1:{i:0;a:2:{i:0;s:22:\"CRM_Core_InnoDBIndexer\";i:1;s:11:\"onToggleFts\";}}}s:14:\"fts_query_mode\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:14:\"fts_query_mode\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:6:\"simple\";s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"How to handle full-tet queries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"includeOrderByClause\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:20:\"includeOrderByClause\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:23:\"Include Order By Clause\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:119:\"If disabled, the search results will not be ordered. This may improve response time on search results on large datasets\";s:9:\"help_text\";N;}s:21:\"includeWildCardInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeWildCardInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:18:\"Automatic Wildcard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:745:\"If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for \'ada\' will return any contact whose name includes those letters - e.g. \'Adams, Janet\', \'Nadal, Jorge\', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for \'ada\' will return any contact whose last name begins with those letters - e.g. \'Adams, Janet\' but NOT \'Nadal, Jorge\'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards (\'%\' or \'_\') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: \'%ada\' will return \'Nadal, Jorge\'.\";s:9:\"help_text\";N;}s:18:\"includeEmailInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:18:\"includeEmailInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:13:\"Include Email\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:299:\"If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.\";s:9:\"help_text\";N;}s:21:\"includeNickNameInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeNickNameInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:16:\"Include Nickname\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"If enabled, nicknames are automatically included when users search by Name.\";s:9:\"help_text\";N;}s:24:\"includeAlphabeticalPager\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:24:\"includeAlphabeticalPager\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:26:\"Include Alphabetical Pager\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:149:\"If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.\";s:9:\"help_text\";N;}s:22:\"smartGroupCacheTimeout\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"smartGroupCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";i:5;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:25:\"Smart group cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:249:\"The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.\";s:9:\"help_text\";N;}s:22:\"defaultSearchProfileID\";a:15:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"defaultSearchProfileID\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:51:\"CRM_Admin_Form_Setting_Search::getAvailableProfiles\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:30:\"Default Contact Search Profile\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"If set, this will be the default profile used for contact search.\";s:9:\"help_text\";N;}s:24:\"userFrameworkResourceURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:24:\"userFrameworkResourceURL\";s:5:\"title\";s:20:\"CiviCRM Resource URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"Absolute URL of the location where the civicrm module or component has been installed.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:14:\"imageUploadURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:16:\"Image Upload URL\";s:4:\"name\";s:14:\"imageUploadURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"URL of the location for uploaded image files.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:12:\"customCSSURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:12:\"customCSSURL\";s:5:\"title\";s:14:\"Custom CSS URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:270:\"You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:13:\"extensionsURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:22:\"Extension Resource URL\";s:4:\"name\";s:13:\"extensionsURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}}' , 20151201183252 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_all._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_settingsMetadata_1_._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'settingsMetadata_1_' , 'a:132:{s:32:\"address_standardization_provider\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:32:\"address_standardization_provider\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:33:\"Address Standardization Provider.\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:492:\"CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. \";}s:30:\"address_standardization_userid\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:30:\"address_standardization_userid\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Web service user ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:27:\"address_standardization_url\";a:13:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:27:\"address_standardization_url\";s:4:\"type\";s:4:\"Text\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Web Service URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:15:\"Web Service URL\";s:17:\"validate_callback\";s:19:\"CRM_Utils_Rule::url\";}s:15:\"tag_unconfirmed\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:15:\"tag_unconfirmed\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:11:\"Unconfirmed\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:36:\"Tag for Unconfirmed Petition Signers\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:17:\"petition_contacts\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:17:\"petition_contacts\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:17:\"Petition Contacts\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Petition Signers Group\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:23:\"cvv_backoffice_required\";a:12:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:23:\"cvv_backoffice_required\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:28:\"CVV required for backoffice?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"Is the CVV code required for back office credit card transactions\";s:9:\"help_text\";s:137:\"If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change\";}s:29:\"contribution_invoice_settings\";a:11:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:29:\"contribution_invoice_settings\";s:4:\"type\";s:5:\"Array\";s:7:\"default\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Contribution Invoice Settings\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_view_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_view_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_view_options\";}s:7:\"default\";s:28:\"123456789101113\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Viewing Contacts\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_edit_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_edit_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_edit_options\";}s:7:\"default\";s:37:\"123456789111214151617\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Editing Contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"advanced_search_options\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:4:\"name\";s:23:\"advanced_search_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:23:\"advanced_search_options\";}s:7:\"default\";s:46:\"123456789101112131516171819\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:22:\"user_dashboard_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:22:\"user_dashboard_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:22:\"user_dashboard_options\";}s:7:\"default\";s:15:\"1234578\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Contact Dashboard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"address_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"address_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:15:\"address_options\";}s:7:\"default\";s:23:\"123456891011\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Addressing Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"address_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"address_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:8:\"TextArea\";s:7:\"default\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Address Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"mailing_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"mailing_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Mailing Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"display_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"display_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Display Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"sort_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"sort_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Sort Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"editor_id\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"editor_id\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";s:8:\"CKEditor\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Wysiwig Editor\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:26:\"contact_ajax_check_similar\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:26:\"contact_ajax_check_similar\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Ajax Check Similar\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:17:\"ajaxPopupsEnabled\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"ajaxPopupsEnabled\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:19:\"Ajax Popups Enabled\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:30:\"activity_assignee_notification\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:30:\"activity_assignee_notification\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Notify Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:34:\"activity_assignee_notification_ics\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:34:\"activity_assignee_notification_ics\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:41:\"Include ICal Invite to Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:28:\"contact_autocomplete_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:28:\"contact_autocomplete_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:27:\"Autocomplete Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.\";s:9:\"help_text\";N;}s:25:\"contact_reference_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:25:\"contact_reference_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:57:\"CRM_Admin_Form_Setting_Search::getContactReferenceOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Contact Reference Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:508:\"Selected fields will be displayed in autocomplete dropdown search results for \'Contact Reference\' custom fields. Contact Name is always included. NOTE: You must assign \'access contact reference fields\' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the \'Limit List to Group\' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.\";s:9:\"help_text\";N;}s:27:\"contact_smart_group_display\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"contact_smart_group_display\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:5:\"radio\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Viewing Smart Groups\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"max_attachments\";a:15:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"max_attachments\";s:10:\"legacy_key\";s:14:\"maxAttachments\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Maximum Attachments\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Maximum number of files (documents, images, etc.) which can attached to emails or activities.\";s:9:\"help_text\";N;}s:11:\"maxFileSize\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"maxFileSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:25:\"Maximum File Size (in MB)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.\";s:9:\"help_text\";N;}s:16:\"contact_undelete\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"contact_undelete\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Contact Trash and Undelete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:200:\"If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).\";s:9:\"help_text\";N;}s:24:\"allowPermDeleteFinancial\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:24:\"allowPermDeleteFinancial\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:24:\"Contact Permanent Delete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:81:\"Allow Permanent Delete for contacts who are linked to live financial transactions\";s:9:\"help_text\";N;}s:12:\"versionCheck\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"versionCheck\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:31:\"Automatically Check for Updates\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:13:\"securityAlert\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:13:\"securityAlert\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:13:\"Status Alerts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:154:\"If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.\";s:9:\"help_text\";N;}s:21:\"doNotAttachPDFReceipt\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"doNotAttachPDFReceipt\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Attach PDF copy to receipts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:98:\"If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.\";s:9:\"help_text\";N;}s:15:\"wkhtmltopdfPath\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"wkhtmltopdfPath\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:256;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Path to wkhtmltopdf executable\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"recaptchaOptions\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"recaptchaOptions\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Recaptcha Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:256:\"You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.\";s:9:\"help_text\";N;}s:18:\"recaptchaPublicKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:18:\"recaptchaPublicKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Recaptcha Site Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"recaptchaPrivateKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"recaptchaPrivateKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Recaptcha Secret Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:21:\"dashboardCacheTimeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"dashboardCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:3;s:9:\"maxlength\";i:5;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Dashboard cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"checksum_timeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"checksum_timeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";i:7;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Checksum Lifespan\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"blogUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"blogUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:13:\"Blog Feed URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:38:\"Blog feed URL used by the blog dashlet\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:20:\"communityMessagesUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"communityMessagesUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Community Messages URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:44:\"Service providing CiviCRM community messages\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:17:\"gettingStartedUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"gettingStartedUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Getting Started URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:42:\"Service providing the Getting Started data\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:12:\"resCacheCode\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"resCacheCode\";s:4:\"type\";s:6:\"String\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:12:\"resCacheCode\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:62:\"Code appended to resource URLs (JS/CSS) to coerce HTTP caching\";s:9:\"help_text\";N;}s:9:\"verifySSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"verifySSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:11:\"Verify SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:92:\"If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections\";s:9:\"help_text\";s:140:\"Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes\";}s:9:\"enableSSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"enableSSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:10:\"Force SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";s:9:\"help_text\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";}s:10:\"wpBasePage\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:10:\"wpBasePage\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"WordPress Base Page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"If set, CiviCRM will use this setting as the base url.\";s:9:\"help_text\";s:177:\"By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.\";}s:23:\"secondDegRelPermissions\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"secondDegRelPermissions\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:44:\"Allow second-degree relationship permissions\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"If enabled, contacts with the permission to edit a related contact will inherit that contact\'s permission to edit other related contacts\";s:9:\"help_text\";N;}s:17:\"enable_components\";a:16:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"enable_components\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:14:\"advmultiselect\";s:15:\"html_attributes\";a:3:{s:4:\"size\";i:5;s:5:\"style\";s:11:\"width:150px\";s:5:\"class\";s:14:\"advmultiselect\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:17:\"Enable Components\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;s:9:\"on_change\";a:3:{i:0;s:33:\"CRM_Case_Info::onToggleComponents\";i:1;s:42:\"CRM_Core_Component::flushEnabledComponents\";i:2;s:31:\"call://resources/resetCacheCode\";}}s:16:\"disable_core_css\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"disable_core_css\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:19:\"Disable CiviCRM css\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:55:\"Prevent the stylesheet \"civicrm.css\" from being loaded.\";s:9:\"help_text\";N;}s:11:\"empoweredBy\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"empoweredBy\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"Display \"empowered by CiviCRM\"\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:80:\"When enabled, \"empowered by CiviCRM\" is displayed at the bottom of public forms.\";s:9:\"help_text\";N;}s:7:\"logging\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"logging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:9:\"html_type\";s:0:\"\";s:7:\"default\";s:1:\"0\";s:5:\"title\";s:7:\"Logging\";s:11:\"description\";s:73:\"If enabled, all actions will be logged with a complete record of changes.\";s:17:\"validate_callback\";s:39:\"CRM_Logging_Schema::checkLoggingSupport\";s:9:\"on_change\";a:1:{i:0;s:28:\"CRM_Logging_Schema::onToggle\";}}s:27:\"userFrameworkUsersTableName\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"userFrameworkUsersTableName\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:23:\"Drupal Users Table Name\";s:11:\"description\";s:0:\"\";}s:9:\"wpLoadPhp\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"wpLoadPhp\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:29:\"WordPress Path to wp-load.php\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"CiviCRM will use this setting as path to bootstrap WP.\";s:9:\"help_text\";N;}s:7:\"site_id\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"site_id\";s:4:\"type\";s:6:\"String\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:14:\"Unique Site ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"systemStatusCheckResult\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"systemStatusCheckResult\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:23:\"systemStatusCheckResult\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"userFrameworkLogging\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:20:\"userFrameworkLogging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Enable Drupal Watchdog Logging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:101:\"Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs\";s:9:\"help_text\";s:239:\"Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS\' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal\'s watchdog enabled)\";}s:13:\"debug_enabled\";a:13:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:13:\"debug_enabled\";s:10:\"config_key\";s:5:\"debug\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Enable Debugging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:130:\"Set this value to Yes if you want to use one of CiviCRM\'s debugging tools. This feature should NOT be enabled for production sites\";s:9:\"help_text\";s:39:\"Do not turn this on on production sites\";}s:9:\"backtrace\";a:11:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:9:\"backtrace\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Display Backtrace\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:155:\"Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites\";}s:17:\"fatalErrorHandler\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:17:\"fatalErrorHandler\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Fatal Error Handler\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.\";}s:9:\"uploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:9:\"uploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Temporary Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:90:\"File system path where temporary CiviCRM files - such as import data files - are uploaded.\";}s:14:\"imageUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:14:\"imageUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Image Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:147:\"File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).\";s:9:\"help_text\";N;}s:19:\"customFileUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:19:\"customFileUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Custom Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:195:\"Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.\";s:9:\"help_text\";N;}s:17:\"customTemplateDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:17:\"customTemplateDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Custom Template Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:207:\"Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)\";s:9:\"help_text\";N;}s:16:\"customPHPPathDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:16:\"customPHPPathDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Custom PHP Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:99:\"Path where site specific PHP code files are stored if any. This directory is searched first if set.\";s:9:\"help_text\";N;}s:13:\"extensionsDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:13:\"extensionsDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Extensions Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:41:\"Path where CiviCRM extensions are stored.\";s:9:\"help_text\";N;}s:11:\"enable_cart\";a:12:{s:4:\"name\";s:11:\"enable_cart\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Enable Event Cart\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:8:\"WRITE ME\";s:9:\"help_text\";s:8:\"WRITE ME\";}s:11:\"show_events\";a:13:{s:4:\"name\";s:11:\"show_events\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:17:\"Dashboard entries\";s:9:\"html_type\";s:6:\"select\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:107:\"Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.\";s:9:\"help_text\";N;}s:12:\"ext_repo_url\";a:14:{s:10:\"group_name\";s:21:\"Extension Preferences\";s:5:\"group\";s:3:\"ext\";s:4:\"name\";s:12:\"ext_repo_url\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Extension Repo URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";s:0:\"\";}s:23:\"customTranslateFunction\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:23:\"customTranslateFunction\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"30\";s:9:\"maxlength\";s:3:\"100\";}s:7:\"default\";N;s:5:\"title\";s:25:\"Custom Translate Function\";s:11:\"description\";s:0:\"\";}s:25:\"monetaryThousandSeparator\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:25:\"monetaryThousandSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\",\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Thousands Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"monetaryDecimalPoint\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:20:\"monetaryDecimalPoint\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Decimal Delimiter\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:11:\"moneyformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:11:\"moneyformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%c %a\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Monetary Amount Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"moneyvalueformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:16:\"moneyvalueformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:3:\"%!i\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Monetary Value Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"defaultCurrency\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"defaultCurrency\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:3:\"USD\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Currency\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"Default currency assigned to contributions and other monetary transactions.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:55:\"CRM_Admin_Form_Setting_Localization::getCurrencySymbols\";}}s:21:\"defaultContactCountry\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:21:\"defaultContactCountry\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:0:{}s:7:\"default\";s:4:\"1228\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:15:\"Default Country\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:27:\"defaultContactStateProvince\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:27:\"defaultContactStateProvince\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:11:\"ChainSelect\";s:9:\"html_type\";s:11:\"ChainSelect\";s:7:\"default\";N;s:5:\"title\";s:22:\"Default State/Province\";s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";}s:12:\"countryLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:12:\"countryLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Available Countries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"provinceLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"provinceLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Available States and Provinces\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"inheritLocale\";a:12:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"inheritLocale\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Inherit CMS Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:18:\"dateformatDatetime\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:18:\"dateformatDatetime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:20:\"%B %E%f, %Y %l:%M %P\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Date Format: Complete Date and Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatFull\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatFull\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:11:\"%B %E%f, %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Date Format: Complete Date\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:17:\"dateformatPartial\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:17:\"dateformatPartial\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%B %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Date Format: Month and Year\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatTime\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatTime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:8:\"%l:%M %P\";s:5:\"title\";s:22:\"Date Format: Time Only\";s:11:\"description\";s:0:\"\";}s:14:\"dateformatYear\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatYear\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:2:\"%Y\";s:5:\"title\";s:22:\"Date Format: Year Only\";s:11:\"description\";s:0:\"\";}s:15:\"dateInputFormat\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"dateInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:48:\"CRM_Core_SelectValues::getDatePluginInputFormats\";}s:7:\"default\";s:8:\"mm/dd/yy\";s:5:\"title\";s:17:\"Date Input Format\";s:11:\"description\";s:0:\"\";}s:14:\"fieldSeparator\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"fieldSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:1:\"2\";s:9:\"maxlength\";s:1:\"8\";}s:7:\"default\";s:1:\",\";s:5:\"title\";s:31:\"Import / Export Field Separator\";s:11:\"description\";s:144:\"Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).\";}s:15:\"fiscalYearStart\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"fiscalYearStart\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:8:\"MonthDay\";s:9:\"html_type\";s:8:\"MonthDay\";s:7:\"default\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:5:\"title\";s:17:\"Fiscal Year Start\";s:11:\"description\";s:0:\"\";}s:13:\"languageLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"languageLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Available Languages (Multi-lingual)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:24:\"CRM_Core_I18n::languages\";}}s:10:\"lcMessages\";a:16:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"lcMessages\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:5:\"en_US\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions\";}s:9:\"on_change\";a:1:{i:0;s:55:\"CRM_Admin_Form_Setting_Localization::onChangeLcMessages\";}}s:14:\"legacyEncoding\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"legacyEncoding\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"30\";}s:7:\"default\";s:12:\"Windows-1252\";s:5:\"title\";s:15:\"Legacy Encoding\";s:11:\"description\";s:184:\"If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.\";}s:15:\"timeInputFormat\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"timeInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:37:\"CRM_Core_SelectValues::getTimeFormats\";}s:7:\"default\";s:1:\"1\";s:5:\"title\";s:17:\"Time Input Format\";s:11:\"description\";s:0:\"\";s:9:\"on_change\";a:1:{i:0;s:45:\"CRM_Core_BAO_PreferencesDate::onChangeSetting\";}}s:10:\"weekBegins\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"weekBegins\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:35:\"CRM_Utils_Date::getFullWeekdayNames\";}s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"Week begins on\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:24:\"contact_default_language\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:24:\"contact_default_language\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:62:\"CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions\";}s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Default Language for contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"Default language (if any) for contact records\";s:9:\"help_text\";s:197:\"If a contact is created with no language this setting will determine the language data (if any) to save.You may or may not wish to make an assumption here about whether it matches the site language\";}s:20:\"profile_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"profile_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:22:\"track_civimail_replies\";a:13:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:22:\"track_civimail_replies\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:43:\"Track replies using VERP in Reply-To header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:78:\"If checked, mailings will default to tracking replies using VERP-ed Reply-To. \";s:9:\"help_text\";N;s:17:\"validate_callback\";s:41:\"CRM_Core_BAO_Setting::validateBoolSetting\";}s:17:\"civimail_workflow\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:17:\"civimail_workflow\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:21:\"Use CiviMail Workflow\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:25:\"civimail_server_wide_lock\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:25:\"civimail_server_wide_lock\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:39:\"Lock Mails Server-Wide for Mail Sending\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"replyTo\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:7:\"replyTo\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:22:\"Enable Custom Reply-To\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Allow CiviMail users to send mailings with a custom Reply-To header\";s:9:\"help_text\";N;}s:15:\"mailing_backend\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:15:\"mailing_backend\";s:4:\"type\";s:5:\"Array\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Mailing Backend\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:33:\"profile_add_to_group_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:33:\"profile_add_to_group_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:30:\"disable_mandatory_tokens_check\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:30:\"disable_mandatory_tokens_check\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:34:\"Disable check for mandatory tokens\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:345:\"Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.\";s:9:\"help_text\";N;}s:20:\"dedupe_email_default\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"dedupe_email_default\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:44:\"CiviMail dedupes e-mail addresses by default\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:79:\"Set the \"dedupe e-mail\" option when sending a new mailing to \"true\" by default.\";s:9:\"help_text\";N;}s:16:\"hash_mailing_url\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"hash_mailing_url\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:20:\"Hashed Mailing URL\'s\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:131:\"If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID\";s:9:\"help_text\";N;}s:29:\"civimail_multiple_bulk_emails\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:29:\"civimail_multiple_bulk_emails\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:21:\" Multiple Bulk Emails\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:96:\"If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.\";s:9:\"help_text\";N;}s:18:\"include_message_id\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:18:\"include_message_id\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:45:\"Enable CiviMail to generate Message-ID header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:16:\"mailerBatchLimit\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailerBatchLimit\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:18:\"Mailer Batch Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:110:\"Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).\";s:9:\"help_text\";N;}s:13:\"mailerJobSize\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:15:\"Mailer Job Size\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:365:\"If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter \"0\" to disable multi-threading and process mail as one single job - batch limits still apply.\";s:9:\"help_text\";N;}s:13:\"mailerJobsMax\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobsMax\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:21:\"Mailer Cron Job Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:127:\"The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)\";s:9:\"help_text\";N;}s:16:\"mailThrottleTime\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailThrottleTime\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Mailer Throttle Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:234:\"The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.\";s:9:\"help_text\";N;}s:13:\"verpSeparator\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"verpSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:32;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"VERP Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:106:\"Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.\";s:9:\"help_text\";N;}s:21:\"write_activity_record\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:21:\"write_activity_record\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:48:\"Enable CiviMail to create activities on delivery\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"geoAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"geoAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Geo Provider Key\";s:11:\"description\";s:101:\"Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).\";}s:11:\"geoProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"geoProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::geoProvider\";}s:7:\"default\";N;s:5:\"title\";s:18:\"Geocoding Provider\";s:11:\"description\";s:229:\"You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.\";}s:9:\"mapAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"mapAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Map Provider Key\";s:11:\"description\";s:238:\"Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.\";}s:11:\"mapProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"mapProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::mapProvider\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Mapping Provider\";s:11:\"description\";s:98:\"Choose the mapping provider that has the best coverage for the majority of your contact addresses.\";}s:33:\"default_renewal_contribution_page\";a:13:{s:10:\"group_name\";s:18:\"Member Preferences\";s:5:\"group\";s:6:\"member\";s:4:\"name\";s:33:\"default_renewal_contribution_page\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:14:\"pseudoconstant\";a:1:{s:4:\"name\";s:16:\"contributionPage\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:38:\"Default online membership renewal page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:348:\"If you select a default online contribution page for self-service membership renewals, a \"renew\" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.\";s:9:\"help_text\";N;}s:10:\"is_enabled\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:10:\"is_enabled\";s:5:\"title\";s:20:\"Multisite Is enabled\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:20:\"Multisite is enabled\";s:9:\"help_text\";N;}s:15:\"domain_group_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:15:\"domain_group_id\";s:5:\"title\";s:22:\"Multisite Domain Group\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:25:\"event_price_set_domain_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:25:\"event_price_set_domain_id\";s:5:\"title\";s:22:\"Domain Event Price Set\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:19:\"uniq_email_per_site\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:19:\"uniq_email_per_site\";s:4:\"type\";s:7:\"Integer\";s:5:\"title\";s:24:\"Unique Email per Domain?\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:25:\"search_autocomplete_count\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:25:\"search_autocomplete_count\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:2;}s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Autocomplete Results\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"The maximum number of contacts to show at a time when typing in an autocomplete field.\";s:9:\"help_text\";N;}s:17:\"enable_innodb_fts\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:17:\"enable_innodb_fts\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:23:\"InnoDB Full Text Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)\";s:9:\"help_text\";N;s:9:\"on_change\";a:1:{i:0;a:2:{i:0;s:22:\"CRM_Core_InnoDBIndexer\";i:1;s:11:\"onToggleFts\";}}}s:14:\"fts_query_mode\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:14:\"fts_query_mode\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:6:\"simple\";s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"How to handle full-tet queries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"includeOrderByClause\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:20:\"includeOrderByClause\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:23:\"Include Order By Clause\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:119:\"If disabled, the search results will not be ordered. This may improve response time on search results on large datasets\";s:9:\"help_text\";N;}s:21:\"includeWildCardInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeWildCardInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:18:\"Automatic Wildcard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:745:\"If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for \'ada\' will return any contact whose name includes those letters - e.g. \'Adams, Janet\', \'Nadal, Jorge\', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for \'ada\' will return any contact whose last name begins with those letters - e.g. \'Adams, Janet\' but NOT \'Nadal, Jorge\'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards (\'%\' or \'_\') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: \'%ada\' will return \'Nadal, Jorge\'.\";s:9:\"help_text\";N;}s:18:\"includeEmailInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:18:\"includeEmailInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:13:\"Include Email\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:299:\"If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.\";s:9:\"help_text\";N;}s:21:\"includeNickNameInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeNickNameInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:16:\"Include Nickname\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"If enabled, nicknames are automatically included when users search by Name.\";s:9:\"help_text\";N;}s:24:\"includeAlphabeticalPager\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:24:\"includeAlphabeticalPager\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:26:\"Include Alphabetical Pager\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:149:\"If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.\";s:9:\"help_text\";N;}s:22:\"smartGroupCacheTimeout\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"smartGroupCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";i:5;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:25:\"Smart group cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:249:\"The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.\";s:9:\"help_text\";N;}s:22:\"defaultSearchProfileID\";a:15:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"defaultSearchProfileID\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:51:\"CRM_Admin_Form_Setting_Search::getAvailableProfiles\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:30:\"Default Contact Search Profile\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"If set, this will be the default profile used for contact search.\";s:9:\"help_text\";N;}s:24:\"userFrameworkResourceURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:24:\"userFrameworkResourceURL\";s:5:\"title\";s:20:\"CiviCRM Resource URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"Absolute URL of the location where the civicrm module or component has been installed.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:14:\"imageUploadURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:16:\"Image Upload URL\";s:4:\"name\";s:14:\"imageUploadURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"URL of the location for uploaded image files.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:12:\"customCSSURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:12:\"customCSSURL\";s:5:\"title\";s:14:\"Custom CSS URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:270:\"You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:13:\"extensionsURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:22:\"Extension Resource URL\";s:4:\"name\";s:13:\"extensionsURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}}' , 20151201183252 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_settingsMetadata_1_._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_defaults:domain._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'defaults:domain' , 'a:133:{s:32:\"address_standardization_provider\";N;s:30:\"address_standardization_userid\";N;s:27:\"address_standardization_url\";N;s:15:\"tag_unconfirmed\";s:11:\"Unconfirmed\";s:17:\"petition_contacts\";s:17:\"Petition Contacts\";s:23:\"cvv_backoffice_required\";s:1:\"1\";s:29:\"contribution_invoice_settings\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:20:\"contact_view_options\";s:28:\"123456789101113\";s:20:\"contact_edit_options\";s:37:\"123456789111214151617\";s:23:\"advanced_search_options\";s:46:\"123456789101112131516171819\";s:22:\"user_dashboard_options\";s:15:\"1234578\";s:15:\"address_options\";s:23:\"123456891011\";s:14:\"address_format\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:14:\"mailing_format\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:19:\"display_name_format\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:16:\"sort_name_format\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:9:\"editor_id\";s:8:\"CKEditor\";s:26:\"contact_ajax_check_similar\";s:1:\"1\";s:17:\"ajaxPopupsEnabled\";i:1;s:30:\"activity_assignee_notification\";s:1:\"1\";s:34:\"activity_assignee_notification_ics\";s:1:\"0\";s:28:\"contact_autocomplete_options\";s:5:\"12\";s:25:\"contact_reference_options\";s:5:\"12\";s:27:\"contact_smart_group_display\";s:1:\"1\";s:15:\"max_attachments\";i:3;s:11:\"maxFileSize\";i:3;s:16:\"contact_undelete\";i:1;s:24:\"allowPermDeleteFinancial\";b:0;s:12:\"versionCheck\";i:1;s:13:\"securityAlert\";i:1;s:21:\"doNotAttachPDFReceipt\";i:0;s:15:\"wkhtmltopdfPath\";N;s:16:\"recaptchaOptions\";N;s:18:\"recaptchaPublicKey\";N;s:19:\"recaptchaPrivateKey\";N;s:21:\"dashboardCacheTimeout\";N;s:16:\"checksum_timeout\";i:7;s:7:\"blogUrl\";s:9:\"*default*\";s:20:\"communityMessagesUrl\";s:9:\"*default*\";s:17:\"gettingStartedUrl\";s:9:\"*default*\";s:12:\"resCacheCode\";N;s:9:\"verifySSL\";i:1;s:9:\"enableSSL\";i:0;s:10:\"wpBasePage\";s:0:\"\";s:23:\"secondDegRelPermissions\";i:0;s:17:\"enable_components\";a:6:{i:0;s:9:\"CiviEvent\";i:1;s:14:\"CiviContribute\";i:2;s:10:\"CiviMember\";i:3;s:8:\"CiviMail\";i:4;s:10:\"CiviReport\";i:5;s:10:\"CiviPledge\";}s:16:\"disable_core_css\";s:1:\"0\";s:11:\"empoweredBy\";i:1;s:7:\"logging\";s:1:\"0\";s:27:\"userFrameworkUsersTableName\";N;s:9:\"wpLoadPhp\";s:0:\"\";s:7:\"site_id\";s:0:\"\";s:23:\"systemStatusCheckResult\";i:0;s:20:\"userFrameworkLogging\";s:1:\"0\";s:13:\"debug_enabled\";s:1:\"0\";s:9:\"backtrace\";s:1:\"0\";s:17:\"fatalErrorHandler\";N;s:9:\"uploadDir\";s:23:\"[civicrm.files]/upload/\";s:14:\"imageUploadDir\";s:35:\"[civicrm.files]/persist/contribute/\";s:19:\"customFileUploadDir\";s:23:\"[civicrm.files]/custom/\";s:17:\"customTemplateDir\";N;s:16:\"customPHPPathDir\";N;s:13:\"extensionsDir\";s:20:\"[civicrm.files]/ext/\";s:11:\"enable_cart\";s:1:\"0\";s:11:\"show_events\";i:10;s:12:\"ext_repo_url\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:23:\"customTranslateFunction\";N;s:25:\"monetaryThousandSeparator\";s:1:\",\";s:20:\"monetaryDecimalPoint\";s:1:\".\";s:11:\"moneyformat\";s:5:\"%c %a\";s:16:\"moneyvalueformat\";s:3:\"%!i\";s:15:\"defaultCurrency\";s:3:\"USD\";s:21:\"defaultContactCountry\";s:4:\"1228\";s:27:\"defaultContactStateProvince\";N;s:12:\"countryLimit\";a:1:{i:0;s:4:\"1228\";}s:13:\"provinceLimit\";a:1:{i:0;s:4:\"1228\";}s:13:\"inheritLocale\";s:1:\"0\";s:18:\"dateformatDatetime\";s:20:\"%B %E%f, %Y %l:%M %P\";s:14:\"dateformatFull\";s:11:\"%B %E%f, %Y\";s:17:\"dateformatPartial\";s:5:\"%B %Y\";s:14:\"dateformatTime\";s:8:\"%l:%M %P\";s:14:\"dateformatYear\";s:2:\"%Y\";s:15:\"dateInputFormat\";s:8:\"mm/dd/yy\";s:14:\"fieldSeparator\";s:1:\",\";s:15:\"fiscalYearStart\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:13:\"languageLimit\";N;s:10:\"lcMessages\";s:5:\"en_US\";s:14:\"legacyEncoding\";s:12:\"Windows-1252\";s:15:\"timeInputFormat\";s:1:\"1\";s:10:\"weekBegins\";s:1:\"0\";s:24:\"contact_default_language\";s:9:\"*default*\";s:20:\"profile_double_optin\";s:1:\"1\";s:22:\"track_civimail_replies\";s:1:\"0\";s:17:\"civimail_workflow\";s:1:\"0\";s:25:\"civimail_server_wide_lock\";s:1:\"0\";s:7:\"replyTo\";i:0;s:15:\"mailing_backend\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:33:\"profile_add_to_group_double_optin\";s:1:\"0\";s:30:\"disable_mandatory_tokens_check\";i:0;s:20:\"dedupe_email_default\";i:1;s:16:\"hash_mailing_url\";i:0;s:29:\"civimail_multiple_bulk_emails\";i:0;s:18:\"include_message_id\";b:0;s:16:\"mailerBatchLimit\";i:0;s:13:\"mailerJobSize\";i:0;s:13:\"mailerJobsMax\";i:0;s:16:\"mailThrottleTime\";i:0;s:13:\"verpSeparator\";s:1:\".\";s:21:\"write_activity_record\";s:1:\"1\";s:9:\"geoAPIKey\";N;s:11:\"geoProvider\";N;s:9:\"mapAPIKey\";N;s:11:\"mapProvider\";N;s:33:\"default_renewal_contribution_page\";N;s:10:\"is_enabled\";s:1:\"0\";s:15:\"domain_group_id\";s:1:\"0\";s:25:\"event_price_set_domain_id\";s:1:\"0\";s:19:\"uniq_email_per_site\";s:1:\"0\";s:25:\"search_autocomplete_count\";i:10;s:17:\"enable_innodb_fts\";i:0;s:14:\"fts_query_mode\";s:6:\"simple\";s:20:\"includeOrderByClause\";i:1;s:21:\"includeWildCardInName\";i:1;s:18:\"includeEmailInName\";i:1;s:21:\"includeNickNameInName\";i:0;s:24:\"includeAlphabeticalPager\";i:1;s:22:\"smartGroupCacheTimeout\";i:5;s:22:\"defaultSearchProfileID\";N;s:24:\"userFrameworkResourceURL\";s:15:\"[civicrm.root]/\";s:14:\"imageUploadURL\";s:35:\"[civicrm.files]/persist/contribute/\";s:12:\"customCSSURL\";N;s:13:\"extensionsURL\";s:20:\"[civicrm.files]/ext/\";s:12:\"resourceBase\";s:15:\"[civicrm.root]/\";}' , 20151201183252 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_defaults:domain._' ) + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'resCacheCode' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + INSERT INTO civicrm_setting (name , value , domain_id , is_domain , created_date ) VALUES ('resCacheCode' , 's:5:\"iHYik\";' , 1 , 1 , 20151201063252 ) + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'js_strings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173252) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173252) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'resCacheCode' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + UPDATE civicrm_setting SET name = 'resCacheCode' , value = 's:5:\"Eh9vP\";' , domain_id = 1 , is_domain = 1 , created_date = 20151201063252 WHERE ( civicrm_setting.id = 1 ) + + SELECT version + FROM civicrm_domain + + WHERE ( civicrm_domain.id = 1 ) + + + + + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_setting' + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'civicrm_%' + + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'log_civicrm_%' + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT * + FROM civicrm_custom_group + + WHERE ( extends IN ( 'Contact','Individual','Household','Organization' ) ) AND ( civicrm_custom_group.is_multiple = 0 ) + + + + + + DROP FUNCTION IF EXISTS civicrm_strip_non_numeric + + + CREATE FUNCTION civicrm_strip_non_numeric(input VARCHAR(255) CHARACTER SET utf8) + RETURNS VARCHAR(255) CHARACTER SET utf8 + DETERMINISTIC + NO SQL + BEGIN + DECLARE output VARCHAR(255) CHARACTER SET utf8 DEFAULT ''; + DECLARE iterator INT DEFAULT 1; + WHILE iterator < (LENGTH(input) + 1) DO + IF SUBSTRING(input, iterator, 1) IN ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9') THEN + SET output = CONCAT(output, SUBSTRING(input, iterator, 1)); + END IF; + SET iterator = iterator + 1; + END WHILE; + RETURN output; + END + + DROP TRIGGER IF EXISTS civicrm_acl_before_insert + + DROP TRIGGER IF EXISTS civicrm_acl_before_update + + DROP TRIGGER IF EXISTS civicrm_acl_before_delete + + DROP TRIGGER IF EXISTS civicrm_acl_after_insert + + DROP TRIGGER IF EXISTS civicrm_acl_after_update + + DROP TRIGGER IF EXISTS civicrm_acl_after_delete + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_insert + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_update + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_delete + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_insert + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_update + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_delete + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_insert + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_update + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_delete + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_insert + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_update + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_delete + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_insert + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_update + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_delete + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_insert + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_update + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_delete + + DROP TRIGGER IF EXISTS civicrm_activity_before_insert + + DROP TRIGGER IF EXISTS civicrm_activity_before_update + + DROP TRIGGER IF EXISTS civicrm_activity_before_delete + + DROP TRIGGER IF EXISTS civicrm_activity_after_insert + + DROP TRIGGER IF EXISTS civicrm_activity_after_update + + DROP TRIGGER IF EXISTS civicrm_activity_after_delete + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_address_before_insert + + DROP TRIGGER IF EXISTS civicrm_address_before_update + + DROP TRIGGER IF EXISTS civicrm_address_before_delete + + DROP TRIGGER IF EXISTS civicrm_address_after_insert + + DROP TRIGGER IF EXISTS civicrm_address_after_update + + DROP TRIGGER IF EXISTS civicrm_address_after_delete + + DROP TRIGGER IF EXISTS civicrm_address_format_before_insert + + DROP TRIGGER IF EXISTS civicrm_address_format_before_update + + DROP TRIGGER IF EXISTS civicrm_address_format_before_delete + + DROP TRIGGER IF EXISTS civicrm_address_format_after_insert + + DROP TRIGGER IF EXISTS civicrm_address_format_after_update + + DROP TRIGGER IF EXISTS civicrm_address_format_after_delete + + DROP TRIGGER IF EXISTS civicrm_batch_before_insert + + DROP TRIGGER IF EXISTS civicrm_batch_before_update + + DROP TRIGGER IF EXISTS civicrm_batch_before_delete + + DROP TRIGGER IF EXISTS civicrm_batch_after_insert + + DROP TRIGGER IF EXISTS civicrm_batch_after_update + + DROP TRIGGER IF EXISTS civicrm_batch_after_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_before_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_before_update + + DROP TRIGGER IF EXISTS civicrm_campaign_before_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_after_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_after_update + + DROP TRIGGER IF EXISTS civicrm_campaign_after_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_update + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_update + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_before_update + + DROP TRIGGER IF EXISTS civicrm_case_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_after_update + + DROP TRIGGER IF EXISTS civicrm_case_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_update + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_update + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_type_before_update + + DROP TRIGGER IF EXISTS civicrm_case_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_type_after_update + + DROP TRIGGER IF EXISTS civicrm_case_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_component_before_insert + + DROP TRIGGER IF EXISTS civicrm_component_before_update + + DROP TRIGGER IF EXISTS civicrm_component_before_delete + + DROP TRIGGER IF EXISTS civicrm_component_after_insert + + DROP TRIGGER IF EXISTS civicrm_component_after_update + + DROP TRIGGER IF EXISTS civicrm_component_after_delete + + DROP TRIGGER IF EXISTS civicrm_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_update + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_update + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_delete + + DROP TRIGGER IF EXISTS civicrm_country_before_insert + + DROP TRIGGER IF EXISTS civicrm_country_before_update + + DROP TRIGGER IF EXISTS civicrm_country_before_delete + + DROP TRIGGER IF EXISTS civicrm_country_after_insert + + DROP TRIGGER IF EXISTS civicrm_country_after_update + + DROP TRIGGER IF EXISTS civicrm_country_after_delete + + DROP TRIGGER IF EXISTS civicrm_county_before_insert + + DROP TRIGGER IF EXISTS civicrm_county_before_update + + DROP TRIGGER IF EXISTS civicrm_county_before_delete + + DROP TRIGGER IF EXISTS civicrm_county_after_insert + + DROP TRIGGER IF EXISTS civicrm_county_after_update + + DROP TRIGGER IF EXISTS civicrm_county_after_delete + + DROP TRIGGER IF EXISTS civicrm_currency_before_insert + + DROP TRIGGER IF EXISTS civicrm_currency_before_update + + DROP TRIGGER IF EXISTS civicrm_currency_before_delete + + DROP TRIGGER IF EXISTS civicrm_currency_after_insert + + DROP TRIGGER IF EXISTS civicrm_currency_after_update + + DROP TRIGGER IF EXISTS civicrm_currency_after_delete + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_update + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_update + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_update + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_update + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_cxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_cxn_before_update + + DROP TRIGGER IF EXISTS civicrm_cxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_cxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_cxn_after_update + + DROP TRIGGER IF EXISTS civicrm_cxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_discount_before_insert + + DROP TRIGGER IF EXISTS civicrm_discount_before_update + + DROP TRIGGER IF EXISTS civicrm_discount_before_delete + + DROP TRIGGER IF EXISTS civicrm_discount_after_insert + + DROP TRIGGER IF EXISTS civicrm_discount_after_update + + DROP TRIGGER IF EXISTS civicrm_discount_after_delete + + DROP TRIGGER IF EXISTS civicrm_domain_before_insert + + DROP TRIGGER IF EXISTS civicrm_domain_before_update + + DROP TRIGGER IF EXISTS civicrm_domain_before_delete + + DROP TRIGGER IF EXISTS civicrm_domain_after_insert + + DROP TRIGGER IF EXISTS civicrm_domain_after_update + + DROP TRIGGER IF EXISTS civicrm_domain_after_delete + + DROP TRIGGER IF EXISTS civicrm_email_before_insert + + DROP TRIGGER IF EXISTS civicrm_email_before_update + + DROP TRIGGER IF EXISTS civicrm_email_before_delete + + DROP TRIGGER IF EXISTS civicrm_email_after_insert + + DROP TRIGGER IF EXISTS civicrm_email_after_update + + DROP TRIGGER IF EXISTS civicrm_email_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_delete + + DROP TRIGGER IF EXISTS civicrm_event_before_insert + + DROP TRIGGER IF EXISTS civicrm_event_before_update + + DROP TRIGGER IF EXISTS civicrm_event_before_delete + + DROP TRIGGER IF EXISTS civicrm_event_after_insert + + DROP TRIGGER IF EXISTS civicrm_event_after_update + + DROP TRIGGER IF EXISTS civicrm_event_after_delete + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_insert + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_update + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_delete + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_insert + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_update + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_delete + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_insert + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_update + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_delete + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_insert + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_update + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_delete + + DROP TRIGGER IF EXISTS civicrm_extension_before_insert + + DROP TRIGGER IF EXISTS civicrm_extension_before_update + + DROP TRIGGER IF EXISTS civicrm_extension_before_delete + + DROP TRIGGER IF EXISTS civicrm_extension_after_insert + + DROP TRIGGER IF EXISTS civicrm_extension_after_update + + DROP TRIGGER IF EXISTS civicrm_extension_after_delete + + DROP TRIGGER IF EXISTS civicrm_file_before_insert + + DROP TRIGGER IF EXISTS civicrm_file_before_update + + DROP TRIGGER IF EXISTS civicrm_file_before_delete + + DROP TRIGGER IF EXISTS civicrm_file_after_insert + + DROP TRIGGER IF EXISTS civicrm_file_after_update + + DROP TRIGGER IF EXISTS civicrm_file_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_grant_before_insert + + DROP TRIGGER IF EXISTS civicrm_grant_before_update + + DROP TRIGGER IF EXISTS civicrm_grant_before_delete + + DROP TRIGGER IF EXISTS civicrm_grant_after_insert + + DROP TRIGGER IF EXISTS civicrm_grant_after_update + + DROP TRIGGER IF EXISTS civicrm_grant_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_before_update + + DROP TRIGGER IF EXISTS civicrm_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_after_update + + DROP TRIGGER IF EXISTS civicrm_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_update + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_update + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_update + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_update + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_delete + + DROP TRIGGER IF EXISTS civicrm_im_before_insert + + DROP TRIGGER IF EXISTS civicrm_im_before_update + + DROP TRIGGER IF EXISTS civicrm_im_before_delete + + DROP TRIGGER IF EXISTS civicrm_im_after_insert + + DROP TRIGGER IF EXISTS civicrm_im_after_update + + DROP TRIGGER IF EXISTS civicrm_im_after_delete + + DROP TRIGGER IF EXISTS civicrm_job_before_insert + + DROP TRIGGER IF EXISTS civicrm_job_before_update + + DROP TRIGGER IF EXISTS civicrm_job_before_delete + + DROP TRIGGER IF EXISTS civicrm_job_after_insert + + DROP TRIGGER IF EXISTS civicrm_job_after_update + + DROP TRIGGER IF EXISTS civicrm_job_after_delete + + DROP TRIGGER IF EXISTS civicrm_line_item_before_insert + + DROP TRIGGER IF EXISTS civicrm_line_item_before_update + + DROP TRIGGER IF EXISTS civicrm_line_item_before_delete + + DROP TRIGGER IF EXISTS civicrm_line_item_after_insert + + DROP TRIGGER IF EXISTS civicrm_line_item_after_update + + DROP TRIGGER IF EXISTS civicrm_line_item_after_delete + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_update + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_update + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_location_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_location_type_before_update + + DROP TRIGGER IF EXISTS civicrm_location_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_location_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_location_type_after_update + + DROP TRIGGER IF EXISTS civicrm_location_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_insert + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_update + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_delete + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_insert + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_update + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_delete + + DROP TRIGGER IF EXISTS civicrm_managed_before_insert + + DROP TRIGGER IF EXISTS civicrm_managed_before_update + + DROP TRIGGER IF EXISTS civicrm_managed_before_delete + + DROP TRIGGER IF EXISTS civicrm_managed_after_insert + + DROP TRIGGER IF EXISTS civicrm_managed_after_update + + DROP TRIGGER IF EXISTS civicrm_managed_after_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_before_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_before_update + + DROP TRIGGER IF EXISTS civicrm_mapping_before_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_after_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_after_update + + DROP TRIGGER IF EXISTS civicrm_mapping_after_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_update + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_update + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_insert + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_update + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_delete + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_insert + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_update + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_delete + + DROP TRIGGER IF EXISTS civicrm_navigation_before_insert + + DROP TRIGGER IF EXISTS civicrm_navigation_before_update + + DROP TRIGGER IF EXISTS civicrm_navigation_before_delete + + DROP TRIGGER IF EXISTS civicrm_navigation_after_insert + + DROP TRIGGER IF EXISTS civicrm_navigation_after_update + + DROP TRIGGER IF EXISTS civicrm_navigation_after_delete + + DROP TRIGGER IF EXISTS civicrm_note_before_insert + + DROP TRIGGER IF EXISTS civicrm_note_before_update + + DROP TRIGGER IF EXISTS civicrm_note_before_delete + + DROP TRIGGER IF EXISTS civicrm_note_after_insert + + DROP TRIGGER IF EXISTS civicrm_note_after_update + + DROP TRIGGER IF EXISTS civicrm_note_after_delete + + DROP TRIGGER IF EXISTS civicrm_openid_before_insert + + DROP TRIGGER IF EXISTS civicrm_openid_before_update + + DROP TRIGGER IF EXISTS civicrm_openid_before_delete + + DROP TRIGGER IF EXISTS civicrm_openid_after_insert + + DROP TRIGGER IF EXISTS civicrm_openid_after_update + + DROP TRIGGER IF EXISTS civicrm_openid_after_delete + + DROP TRIGGER IF EXISTS civicrm_option_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_option_group_before_update + + DROP TRIGGER IF EXISTS civicrm_option_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_option_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_option_group_after_update + + DROP TRIGGER IF EXISTS civicrm_option_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_option_value_before_insert + + DROP TRIGGER IF EXISTS civicrm_option_value_before_update + + DROP TRIGGER IF EXISTS civicrm_option_value_before_delete + + DROP TRIGGER IF EXISTS civicrm_option_value_after_insert + + DROP TRIGGER IF EXISTS civicrm_option_value_after_update + + DROP TRIGGER IF EXISTS civicrm_option_value_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_before_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_before_update + + DROP TRIGGER IF EXISTS civicrm_pcp_before_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_after_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_after_update + + DROP TRIGGER IF EXISTS civicrm_pcp_after_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_update + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_update + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_persistent_before_insert + + DROP TRIGGER IF EXISTS civicrm_persistent_before_update + + DROP TRIGGER IF EXISTS civicrm_persistent_before_delete + + DROP TRIGGER IF EXISTS civicrm_persistent_after_insert + + DROP TRIGGER IF EXISTS civicrm_persistent_after_update + + DROP TRIGGER IF EXISTS civicrm_persistent_after_delete + + DROP TRIGGER IF EXISTS civicrm_phone_before_insert + + DROP TRIGGER IF EXISTS civicrm_phone_before_update + + DROP TRIGGER IF EXISTS civicrm_phone_before_delete + + DROP TRIGGER IF EXISTS civicrm_phone_after_insert + + DROP TRIGGER IF EXISTS civicrm_phone_after_update + + DROP TRIGGER IF EXISTS civicrm_phone_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_insert + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_update + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_delete + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_insert + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_update + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_before_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_before_update + + DROP TRIGGER IF EXISTS civicrm_premiums_before_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_after_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_after_update + + DROP TRIGGER IF EXISTS civicrm_premiums_after_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_update + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_update + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_before_update + + DROP TRIGGER IF EXISTS civicrm_price_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_after_update + + DROP TRIGGER IF EXISTS civicrm_price_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_update + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_update + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_before_update + + DROP TRIGGER IF EXISTS civicrm_price_set_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_after_update + + DROP TRIGGER IF EXISTS civicrm_price_set_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_update + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_update + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_delete + + DROP TRIGGER IF EXISTS civicrm_print_label_before_insert + + DROP TRIGGER IF EXISTS civicrm_print_label_before_update + + DROP TRIGGER IF EXISTS civicrm_print_label_before_delete + + DROP TRIGGER IF EXISTS civicrm_print_label_after_insert + + DROP TRIGGER IF EXISTS civicrm_print_label_after_update + + DROP TRIGGER IF EXISTS civicrm_print_label_after_delete + + DROP TRIGGER IF EXISTS civicrm_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_product_before_update + + DROP TRIGGER IF EXISTS civicrm_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_product_after_update + + DROP TRIGGER IF EXISTS civicrm_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_insert + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_update + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_delete + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_insert + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_update + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_before_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_before_update + + DROP TRIGGER IF EXISTS civicrm_relationship_before_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_after_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_after_update + + DROP TRIGGER IF EXISTS civicrm_relationship_after_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_update + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_update + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_insert + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_update + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_delete + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_insert + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_update + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_delete + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_insert + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_update + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_delete + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_insert + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_update + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_delete + + DROP TRIGGER IF EXISTS civicrm_setting_before_insert + + DROP TRIGGER IF EXISTS civicrm_setting_before_update + + DROP TRIGGER IF EXISTS civicrm_setting_before_delete + + DROP TRIGGER IF EXISTS civicrm_setting_after_insert + + DROP TRIGGER IF EXISTS civicrm_setting_after_update + + DROP TRIGGER IF EXISTS civicrm_setting_after_delete + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_insert + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_update + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_delete + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_insert + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_update + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_delete + + DROP TRIGGER IF EXISTS civicrm_state_province_before_insert + + DROP TRIGGER IF EXISTS civicrm_state_province_before_update + + DROP TRIGGER IF EXISTS civicrm_state_province_before_delete + + DROP TRIGGER IF EXISTS civicrm_state_province_after_insert + + DROP TRIGGER IF EXISTS civicrm_state_province_after_update + + DROP TRIGGER IF EXISTS civicrm_state_province_after_delete + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_insert + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_update + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_delete + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_insert + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_update + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_delete + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_insert + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_update + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_delete + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_insert + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_update + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_delete + + DROP TRIGGER IF EXISTS civicrm_survey_before_insert + + DROP TRIGGER IF EXISTS civicrm_survey_before_update + + DROP TRIGGER IF EXISTS civicrm_survey_before_delete + + DROP TRIGGER IF EXISTS civicrm_survey_after_insert + + DROP TRIGGER IF EXISTS civicrm_survey_after_update + + DROP TRIGGER IF EXISTS civicrm_survey_after_delete + + DROP TRIGGER IF EXISTS civicrm_tag_before_insert + + DROP TRIGGER IF EXISTS civicrm_tag_before_update + + DROP TRIGGER IF EXISTS civicrm_tag_before_delete + + DROP TRIGGER IF EXISTS civicrm_tag_after_insert + + DROP TRIGGER IF EXISTS civicrm_tag_after_update + + DROP TRIGGER IF EXISTS civicrm_tag_after_delete + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_insert + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_update + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_delete + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_insert + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_update + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_delete + + DROP TRIGGER IF EXISTS civicrm_timezone_before_insert + + DROP TRIGGER IF EXISTS civicrm_timezone_before_update + + DROP TRIGGER IF EXISTS civicrm_timezone_before_delete + + DROP TRIGGER IF EXISTS civicrm_timezone_after_insert + + DROP TRIGGER IF EXISTS civicrm_timezone_after_update + + DROP TRIGGER IF EXISTS civicrm_timezone_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_delete + + DROP TRIGGER IF EXISTS civicrm_website_before_insert + + DROP TRIGGER IF EXISTS civicrm_website_before_update + + DROP TRIGGER IF EXISTS civicrm_website_before_delete + + DROP TRIGGER IF EXISTS civicrm_website_after_insert + + DROP TRIGGER IF EXISTS civicrm_website_after_update + + DROP TRIGGER IF EXISTS civicrm_website_after_delete + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_insert + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_update + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_delete + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_insert + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_update + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_delete + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_insert + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_update + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_delete + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_insert + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_update + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_delete + + SHOW TRIGGERS LIKE 'civicrm_%' + + DROP TRIGGER IF EXISTS civicrm_contact_before_insert + + CREATE TRIGGER civicrm_contact_before_insert before insert ON civicrm_contact FOR EACH ROW BEGIN +SET NEW.created_date = CURRENT_TIMESTAMP; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_insert + + CREATE TRIGGER civicrm_address_after_insert after insert ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_update + + CREATE TRIGGER civicrm_address_after_update after update ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_delete + + CREATE TRIGGER civicrm_address_after_delete after delete ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_insert + + CREATE TRIGGER civicrm_email_after_insert after insert ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_update + + CREATE TRIGGER civicrm_email_after_update after update ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_delete + + CREATE TRIGGER civicrm_email_after_delete after delete ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_insert + + CREATE TRIGGER civicrm_im_after_insert after insert ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_update + + CREATE TRIGGER civicrm_im_after_update after update ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_delete + + CREATE TRIGGER civicrm_im_after_delete after delete ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_insert + + CREATE TRIGGER civicrm_phone_after_insert after insert ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_before_insert + + CREATE TRIGGER civicrm_phone_before_insert before insert ON civicrm_phone FOR EACH ROW BEGIN +SET NEW.phone_numeric = civicrm_strip_non_numeric(NEW.phone); + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_update + + CREATE TRIGGER civicrm_phone_after_update after update ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_before_update + + CREATE TRIGGER civicrm_phone_before_update before update ON civicrm_phone FOR EACH ROW BEGIN +SET NEW.phone_numeric = civicrm_strip_non_numeric(NEW.phone); + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_delete + + CREATE TRIGGER civicrm_phone_after_delete after delete ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_insert + + CREATE TRIGGER civicrm_website_after_insert after insert ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_update + + CREATE TRIGGER civicrm_website_after_update after update ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_delete + + CREATE TRIGGER civicrm_website_after_delete after delete ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + SELECT * + FROM civicrm_managed + + WHERE ( civicrm_managed.module = 'civicrm' ) + + + + + + SELECT * + FROM civicrm_managed + + WHERE ( module NOT IN ("civicrm") ) + + + + + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'enable_components' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'resCacheCode' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + UPDATE civicrm_setting SET name = 'resCacheCode' , value = 's:5:\"7A2N0\";' , domain_id = 1 , is_domain = 1 , created_date = 20151201063254 WHERE ( civicrm_setting.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_setting' + + INSERT INTO civicrm_setting (name , value , domain_id , is_domain , created_date ) VALUES ('enable_components' , 'a:6:{i:0;s:9:\"CiviEvent\";i:1;s:14:\"CiviContribute\";i:2;s:10:\"CiviMember\";i:3;s:8:\"CiviMail\";i:4;s:10:\"CiviReport\";i:5;s:10:\"CiviPledge\";}' , 1 , 1 , 20151201063254 ) +. +Installing dmastertes_s0xef database + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173255) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173255) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + + SELECT full_name, file + FROM civicrm_extension + WHERE is_active = 1 + AND type = "module" + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) AND ( civicrm_cache.path = 'mapper/moduleFiles' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('4ae609f4c5da3b0980c7327dbc5f7dae' , 'mapper/moduleFiles' , 'a:0:{}' , 20151201183255 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._' ) + + SELECT * + FROM civicrm_extension + + WHERE ( civicrm_extension.type = 'module' ) + + + + + + TRUNCATE TABLE civicrm_acl_cache + + TRUNCATE TABLE civicrm_acl_contact_cache + + TRUNCATE TABLE civicrm_cache + + TRUNCATE TABLE civicrm_prevnext_cache + + UPDATE civicrm_group SET cache_date = NULL + + TRUNCATE TABLE civicrm_group_contact_cache + + TRUNCATE TABLE civicrm_menu + + UPDATE civicrm_setting SET value = NULL WHERE name="navigation" AND contact_id IS NOT NULL + + DELETE FROM civicrm_setting WHERE name="modulePaths" + + + SELECT TABLE_NAME as tableName + FROM INFORMATION_SCHEMA.TABLES + WHERE TABLE_SCHEMA = 'dmastertes_s0xef' + AND ( + TABLE_NAME LIKE 'civicrm_import_job_%' + OR TABLE_NAME LIKE 'civicrm_export_temp%' + OR TABLE_NAME LIKE 'civicrm_task_action_temp%' + OR TABLE_NAME LIKE 'civicrm_report_temp%' + ) + + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173255) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + TRUNCATE civicrm_menu + + SELECT * + FROM civicrm_component + + + + + + + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity' , 'action=add&context=standalone' , 'New Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Activity_Form_Activity\";' , 's:14:\"attachUpload=1\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/view' , 'View Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Form_ActivityView\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:15:\"getCaseActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/globalrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/globalrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseGlobalRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/clientrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/clientrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseClientRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/caseroles' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/caseroles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:12:\"getCaseRoles\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactactivity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactactivity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:18:\"getContactActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/activity/convert' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/activity/convert' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:21:\"convertToCaseActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/search' , 'Find Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Controller_Search\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group' , 'Custom Data' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Page_Group\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/custom/group/field' , 'Custom Data Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 11 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/option' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/option' , 'Custom Field - Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Custom_Page_Option\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/add' , 'Custom Field - Add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/update' , 'Custom Field - Edit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/move' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/move' , 'Custom Field - Move' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Custom_Form_MoveField\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/changetype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/changetype' , 'Custom Field - Change Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Custom_Form_ChangeFieldType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group' , 'Profiles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Page_Group\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/uf/group/field' , 'CiviCRM Profile Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 21 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/field/add' , 'Add Field' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 22 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/field/update' , 'Edit Field' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 23 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/add' , 'New CiviCRM Profile' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Group\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 24 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/update' , 'Profile Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Group\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 25 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/setting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/setting' , 'AdditionalInfo Form' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_UF_Form_AdvanceSetting\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tag' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/tag' , 'Tags (Categories)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Tag\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 25 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tag/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tag/add' , 'action=add' , 'New Tag' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Tag\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Tags (Categories)\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/tag&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/activity_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/activity_type' , 'Activity Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/reltype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/reltype' , 'Relationship Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_RelationshipType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 35 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/subtype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/subtype' , 'Contact Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Page_ContactType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/gender' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/gender' , 'Gender Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 45 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/individual_prefix' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/individual_prefix' , 'Individual Prefixes (Ms, Mr...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/individual_suffix' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/individual_suffix' , 'Individual Suffixes (Jr, Sr...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 55 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/locationType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/locationType' , 'Location Types (Home, Work...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_LocationType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/website_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/website_type' , 'Website Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 65 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/instant_messenger_service' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/instant_messenger_service' , 'Instant Messenger Services' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/mobile_provider' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/mobile_provider' , 'Mobile Phone Providers' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 75 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/phone_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/phone_type' , 'Phone Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/display' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/display' , 'Display Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Display\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/search' , 'Search Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Form_Setting_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 95 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/date' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/date' , 'View Date Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Admin_Page_PreferencesDate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/menu' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/menu' , 'Navigation Menu' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Navigation\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/wordreplacements' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/wordreplacements' , 'Word Replacements' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Form_WordReplacements\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/custom_search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/custom_search' , 'Manage Custom Searches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/domain' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/domain' , 'action=update' , 'Organization Address and Contact Info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Contact_Form_Domain\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/from_email_address' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/from_email_address' , 'From Email Addresses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/messageTemplates' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/messageTemplates' , 'Message Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:22:\"edit message templates\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_MessageTemplates\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/messageTemplates/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/messageTemplates/add' , 'Message Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:22:\"edit message templates\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Form_MessageTemplates\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Message Templates\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/messageTemplates&reset=1\";}}' , 1 , 262 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/scheduleReminders' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/scheduleReminders' , 'Schedule Reminders' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:15:\"edit all events\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Admin_Page_ScheduleReminders\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/weight' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/weight' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_Weight\";i:1;s:8:\"fixOrder\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/preferred_communication_method' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/preferred_communication_method' , 'Preferred Communication Methods' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/labelFormats' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/labelFormats' , 'Label Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_LabelFormats\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/pdfFormats' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/pdfFormats' , 'Print Page (PDF) Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_PdfFormats\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/communication_style' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/communication_style' , 'Communication Style Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 75 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/email_greeting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/email_greeting' , 'Email Greeting Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/postal_greeting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/postal_greeting' , 'Postal Greeting Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/addressee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/addressee' , 'Addressee Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/localization' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/localization' , 'Languages, Currency, Locations' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Form_Setting_Localization\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/address' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/address' , 'Address Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Address\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/date' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/date' , 'Date Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Date\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/languages' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/languages' , 'Preferred Languages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/access' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/access' , 'Access Control' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Admin_Page_Access\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/access/wp-permissions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/access/wp-permissions' , 'WordPress Access Control' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_ACL_Form_WordPress_Permissions\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Access Control\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/access&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/synchUser' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/synchUser' , 'Synchronize Users to Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Form_CMSUser\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/configtask' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , return_url , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/configtask' , 'Configuration Checklist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Page_ConfigTaskList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 'civicrm/admin/configtask' , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/component' , 'Enable CiviCRM Components' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Setting_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/extensions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/extensions' , 'Manage Extensions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Extensions\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 120 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/extensions/upgrade' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/extensions/upgrade' , 'Database Upgrades' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Page_ExtensionsUpgrade\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Manage Extensions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/extensions&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/smtp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/smtp' , 'Outbound Email Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Smtp\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/paymentProcessor' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/paymentProcessor' , 'Payment Processor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_PaymentProcessor\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/mapping' , 'Mapping and Geocoding' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Admin_Form_Setting_Mapping\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/misc' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/misc' , 'Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Form_Setting_Miscellaneous\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/path' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/path' , 'Directories' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Path\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/url' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/url' , 'Resource URLs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Form_Setting_Url\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/updateConfigBackend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/updateConfigBackend' , 'Cleanup Caches and Update Paths' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:42:\"CRM_Admin_Form_Setting_UpdateConfigBackend\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/uf' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/uf' , 'CMS Database Integration' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Form_Setting_UF\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/safe_file_extension' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/safe_file_extension' , 'Safe File Extension Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options' , 'Option Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mapping' , 'Import/Export Mappings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Mapping\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/debug' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/debug' , 'Debugging' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Setting_Debugging\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 120 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/multisite' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/multisite' , 'Multi Site Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Form_Preferences_Multisite\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 130 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/campaign' , 'CiviCampaign Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Form_Preferences_Campaign\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/event' , 'CiviEvent Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Preferences_Event\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/mailing' , 'CiviMail Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Mailing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/member' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/member' , 'CiviMember Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Admin_Form_Preferences_Member\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/runjobs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/runjobs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:20:\"executeScheduledJobs\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/job' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/job' , 'Scheduled Jobs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Job\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/joblog' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/joblog' , 'Scheduled Jobs Log' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Admin_Page_JobLog\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/grant_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/grant_type' , 'Grant Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 385 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/paymentProcessorType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/paymentProcessorType' , 'Payment Processor Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Page_PaymentProcessorType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin' , 'Administer CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Admin_Page_Admin\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 9000 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menujs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menujs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:17:\"getNavigationMenu\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menu' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menu' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:17:\"getNavigationList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menutree' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menutree' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:8:\"menuTree\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/statusmsg' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/statusmsg' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:12:\"getStatusMsg\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mergeTags' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mergeTags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:9:\"mergeTags\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/price' , 'Price Sets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/price/add' , 'action=add' , 'New Price Set' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/price/field' , 'Price Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Price_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/field/option' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/price/field/option' , 'Price Field Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Price_Page_Option\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mergeTagList' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mergeTagList' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:12:\"mergeTagList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tplstrings/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tplstrings/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Form_Persistent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tplstrings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tplstrings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Persistent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mapping' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:11:\"mappingList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/recipientListing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/recipientListing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:16:\"recipientListing\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/sms/provider' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/sms/provider' , 'Sms Providers' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_SMS_Page_Provider\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 500 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/sms/send' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/sms/send' , 'New Mass SMS' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_SMS_Controller_Send\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 610 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/sms/callback' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/sms/callback' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_SMS_Page_Callback\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/badgelayout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/badgelayout' , 'action=browse' , 'Event Name Badge Layouts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Badge_Page_Layout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 399 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/badgelayout/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/badgelayout/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Badge_Form_Layout\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/badgelayout&reset=1&action=browse\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/ckeditor' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/ckeditor' , 'Configure CKEditor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Page_CKEditorConfig\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm' , 'CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_DashBoard\";' , 'a:0:{}' , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dashboard' , 'CiviCRM Home' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dashlet' , 'CiviCRM Dashlets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Page_Dashlet\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 1 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search' , 'Find Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 10 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/image' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/image' , 'Process Uploaded Images' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:23:\"CRM_Contact_BAO_Contact\";i:1;s:12:\"processImage\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/imagefile' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/imagefile' , 'Get Image File' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_ImageFile\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/basic' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/search/basic' , 'Find Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/advanced' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/advanced' , 'Advanced Search' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=512\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 12 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/builder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/builder' , 'Search Builder' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:9:\"mode=8192\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 14 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/search/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:10:\"mode=16384\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/custom/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/custom/list' , 'Custom Searches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Page_CustomSearch\";' , 's:10:\"mode=16384\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 16 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add' , 'New Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/individual' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/individual' , 'ct=Individual' , 'New Individual' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/household' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/household' , 'ct=Household' , 'New Household' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/organization' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/organization' , 'ct=Organization' , 'New Organization' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/relatedcontact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/relatedcontact' , 'Edit Related Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contact_Form_RelatedContact\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/merge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/merge' , 'Merge Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Contact_Form_Merge\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/email' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/email' , 'Email a Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Form_Task_Email\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/map' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/map' , 'Map Location(s)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_Map\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/map/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/map/event' , 'Map Event Location' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contact_Form_Task_Map_Event\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Map Location(s)\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/map&reset=1\";}}' , 1 , 0 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view' , 'cid=%%cid%%' , 'Contact Summary' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Contact_Page_View_Summary\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/delete' , 'Delete Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:28:\"CRM_Contact_Form_Task_Delete\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/activity' , 'show=1,cid=%%cid%%' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:21:\"CRM_Activity_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Activity_Form_Activity\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/email/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/email/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Form_Task_Email\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/pdf/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/pdf/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_PDF\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/rel' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/rel' , 'cid=%%cid%%' , 'Relationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contact_Page_View_Relationship\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/group' , 'cid=%%cid%%' , 'Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contact_Page_View_GroupContact\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/smartgroup' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/smartgroup' , 'cid=%%cid%%' , 'Smart Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:39:\"CRM_Contact_Page_View_ContactSmartGroup\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/sunlight' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/sunlight' , 'Sunlight' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:30:\"CRM_Contact_Page_View_Sunlight\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/note' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/note' , 'cid=%%cid%%' , 'Notes' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Contact_Page_View_Note\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/tag' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/tag' , 'cid=%%cid%%' , 'Tags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:25:\"CRM_Contact_Page_View_Tag\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/cd' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/cd' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Contact_Page_View_CustomData\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/cd/edit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/cd/edit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Form_CustomData\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/vcard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/vcard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Page_View_Vcard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/print' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/print' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Page_View_Print\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/log' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/log' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:25:\"CRM_Contact_Page_View_Log\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/user' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/user' , 'Contact Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Contact_Page_View_UserDashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/activity' , 'Activity Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Dashlet_Page_Activity\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/blog' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/blog' , 'CiviCRM Blog' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Dashlet_Page_Blog\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/getting-started' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/getting-started' , 'Getting Started' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Dashlet_Page_GettingStarted\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/relation' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/relation' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"relationship\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/groupTree' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/groupTree' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"groupTree\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:11:\"customField\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/customvalue' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/customvalue' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:17:\"deleteCustomValue\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/cmsuser' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/cmsuser' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"checkUserName\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/checkemail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/checkemail' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactEmail\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/checkphone' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/checkphone' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactPhone\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/subtype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/subtype' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"buildSubTypes\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"dashboard\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/signature' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/signature' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"getSignature\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/pdfFormat' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/pdfFormat' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"pdfFormat\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/paperSize' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/paperSize' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"paperSize\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactref' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactref' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:31:\"access contact reference fields\";i:1;s:15:\" access CiviCRM\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"contactReference\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/myCases' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/myCases' , 'Case Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Dashlet_Page_MyCases\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/allCases' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/allCases' , 'All Cases Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Dashlet_Page_AllCases\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/casedashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/casedashboard' , 'Case Dashboard Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Dashlet_Page_CaseDashboard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/deduperules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/deduperules' , 'Find and Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer dedupe rules\";i:1;s:24:\"merge duplicate contacts\";}i:1;s:2:\"or\";}' , 's:28:\"CRM_Contact_Page_DedupeRules\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/dedupefind' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/dedupefind' , 'Find and Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Page_DedupeFind\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dedupefind' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dedupefind' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:10:\"getDedupes\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/dedupemerge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/dedupemerge' , 'Batch Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Contact_Page_DedupeMerge\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dedupe/exception' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dedupe/exception' , 'Dedupe Exceptions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contact_Page_DedupeException\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dedupeRules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dedupeRules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"buildDedupeRules\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/useradd' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/useradd' , 'cid=%%cid%%' , 'Add User' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Contact_Page_View_Useradd\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/markSelection' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/markSelection' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:22:\"selectUnselectContacts\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/toggleDedupeSelect' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/toggleDedupeSelect' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:18:\"toggleDedupeSelect\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/flipDupePairs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/flipDupePairs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"flipDupePairs\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/sms/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/sms/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_SMS\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:23:\"getContactRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/custom/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/custom/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Custom_Form_CustomData\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/optionlist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/optionlist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:13:\"getOptionList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/reorder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/reorder' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:11:\"fixOrdering\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Custom_Form_CustomDataByType\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/group' , 'Manage Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Group_Page_Group\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 30 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/group/search' , 'Group Members' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:38:\"/index.php?q=civicrm/group&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/group/add' , 'New Group' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:11:\"edit groups\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Group_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:38:\"/index.php?q=civicrm/group&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/grouplist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/grouplist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Group_Page_AJAX\";i:1;s:12:\"getGroupList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import' , 'Import' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Import_Controller\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 400 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/contact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/contact' , 'Import Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 410 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/activity' , 'Import Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 420 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/custom' , 'id=%%id%%' , 'Import Multi-value Custom Data' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Custom_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 420 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:28:\"CRM_Contact_Import_Page_AJAX\";i:1;s:6:\"status\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/jqState' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/jqState' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:7:\"jqState\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/jqCounty' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/jqCounty' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:8:\"jqCounty\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/upgrade' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/upgrade' , 'Upgrade CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Upgrade_Page_Upgrade\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/export' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/export' , 'Download Errors' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/export/contact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/export/contact' , 'Export Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:39:\"/index.php?q=civicrm/export&reset=1\";}}' , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/acl_role' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/options/acl_role' , 'ACL Roles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl' , 'Manage ACLs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_ACL_Page_ACL\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl/entityrole' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl/entityrole' , 'Assign Users to ACL Roles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_ACL_Page_EntityRole\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:36:\"/index.php?q=civicrm/acl&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl/basic' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl/basic' , 'ACL' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_ACL_Page_ACLBasic\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:36:\"/index.php?q=civicrm/acl&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/standalone/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/standalone/register' , 'Registration Page' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Standalone_Form_Register\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/file' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/file' , 'Browse Uploaded files' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Core_Page_File\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/file/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/file/delete' , 'Delete File' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:17:\"CRM_Core_BAO_File\";i:1;s:16:\"deleteAttachment\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:21:\"Browse Uploaded files\";s:3:\"url\";s:37:\"/index.php?q=civicrm/file&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/friend' , 'Tell a Friend' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:15:\"CRM_Friend_Form\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/logout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/logout' , 'Log out' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:6:\"logout\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 9999 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/i18n' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/i18n' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"translate CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Core_I18n_Form\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/attachment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/attachment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:29:\"CRM_Core_Page_AJAX_Attachment\";i:1;s:10:\"attachFile\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/api' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/api' , 'CiviCRM API' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Page_APIExplorer\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/apiexample' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/apiexample' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:14:\"getExampleFile\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/apidoc' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/apidoc' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:6:\"getDoc\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/rest' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/rest' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:4:\"ajax\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/api/json' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/api/json' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:8:\"ajaxJson\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"CiviCRM API\";s:3:\"url\";s:36:\"/index.php?q=civicrm/api&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/inline' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/inline' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:12:\"loadTemplate\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/chart' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_ContributionCharts\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/ajax/tableview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/ajax/tableview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contribute_Page_DashBoard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/ipn' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment/ipn' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Core_Payment\";i:1;s:9:\"handleIPN\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch' , 'Batch Data Entry' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Page_Batch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Form_Batch\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:38:\"/index.php?q=civicrm/batch&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch/entry' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch/entry' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Form_Entry\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:38:\"/index.php?q=civicrm/batch&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:9:\"batchSave\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/batchlist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/batchlist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:12:\"getBatchList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/inline' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/inline' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Core_Page_AJAX\";i:1;s:3:\"run\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dev/qunit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dev/qunit' , 'QUnit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Core_Page_QUnit\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile-editor/schema' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/profile-editor/schema' , 'ProfileEditor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:25:\"CRM_UF_Page_ProfileEditor\";i:1;s:13:\"getSchemaJSON\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/a' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/a' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"\\Civi\\Angular\\Page\\Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/angular-modules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/angular-modules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"\\Civi\\Angular\\Page\\Modules\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/recurringentity/update-mode' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/recurringentity/update-mode' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:34:\"CRM_Core_Page_AJAX_RecurringEntity\";i:1;s:10:\"updateMode\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/recurringentity/preview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/recurringentity/preview' , 'Confirm dates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Core_Page_RecurringEntityPreview\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/l10n-js' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/l10n-js' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Core_Resources\";i:1;s:20:\"outputLocalizationJS\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/shortcode' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/shortcode' , 'Insert CiviCRM Content' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Core_Form_ShortCode\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/form' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/payment/form' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Financial_Form_Payment\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pcp' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Form_PCP\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pcp/campaign' , 'Setup a Personal Campaign Page - Account Information' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pcp/info' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_PCP_Page_PCPInfo\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/pcp' , 'context=contribute' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Page_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 362 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/profile' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Profile_Page_Router\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile/create' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/profile/create' , 'CiviCRM Profile Create' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Profile_Page_Router\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/profile/view' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Profile_Page_View\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event' , 'CiviEvent Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 800 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/participant/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/participant/add' , 'action=add' , 'Register New Participant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Event_Page_Tab\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/info' , 'Event Information' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_EventInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/register' , 'Event Registration' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Controller_Registration\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/confirm' , 'Confirm Event Registration' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:46:\"CRM_Event_Form_Registration_ParticipantConfirm\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/ical' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/ical' , 'Current and Upcoming Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"view event info\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_ICalendar\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/participant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/participant' , 'Event Participants List' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:23:\"view event participants\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Page_ParticipantListing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/event' , 'Manage Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Event_Page_ManageEvent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/eventTemplate' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/eventTemplate' , 'Event Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Admin_Page_EventTemplate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 375 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/event_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/event_type' , 'Event Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 385 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/participant_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/participant_status' , 'Participant Status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Page_ParticipantStatusType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/participant_role' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/participant_role' , 'Participant Role' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 395 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/participant_listing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/participant_listing' , 'Participant Listing Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 398 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/conference_slots' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/conference_slots' , 'group=conference_slot' , 'Conference Slot Labels' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 415 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/search' , 'Find Participants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Event_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 810 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage' , 'Manage Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Event_Page_ManageEvent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 820 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/badge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/badge' , 'Print Event Name Badge' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Event_Form_Task_Badge\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/settings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/settings' , 'Event Info and Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Event_Form_ManageEvent_EventInfo\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 910 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/location' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/location' , 'Event Location' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Event_Form_ManageEvent_Location\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 930 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/fee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/fee' , 'Event Fees' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Event_Form_ManageEvent_Fee\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 920 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/registration' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/registration' , 'Event Online Registration' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:39:\"CRM_Event_Form_ManageEvent_Registration\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 930 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/friend' , 'Tell a Friend' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Friend_Form_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 940 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/reminder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/reminder' , 'Schedule Reminders' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:44:\"CRM_Event_Form_ManageEvent_ScheduleReminders\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 950 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/repeat' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/repeat' , 'Repeat Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Form_ManageEvent_Repeat\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 960 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/conference' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/conference' , 'Conference Slots' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Event_Form_ManageEvent_Conference\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 950 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/add' , 'action=add' , 'New Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Event_Form_ManageEvent_EventInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 830 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/import' , 'Import Participants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:23:\"edit event participants\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Event_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 840 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/price' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/price' , 'Manage Price Sets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 850 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/selfsvcupdate' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/selfsvcupdate' , 'Self Service Update' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Event_Form_SelfSvcUpdate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 880 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/selfsvctransfer' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/selfsvctransfer' , 'Self Service Transfer' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Event_Form_SelfSvcTransfer\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 890 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/participant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/participant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:18:\"CRM_Event_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 4 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/eventFee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/eventFee' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Event_Page_AJAX\";i:1;s:8:\"eventFee\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/locBlock' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/locBlock' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:11:\"getLocBlock\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/event/add_participant_to_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/event/add_participant_to_cart' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Event_Cart_Page_CheckoutAJAX\";i:1;s:23:\"add_participant_to_cart\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/event/remove_participant_from_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/event/remove_participant_from_cart' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Event_Cart_Page_CheckoutAJAX\";i:1;s:28:\"remove_participant_from_cart\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/add_to_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/add_to_cart' , 'Add Event To Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Event_Cart_Page_AddToCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/cart_checkout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/cart_checkout' , 'Cart Checkout' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Event_Cart_Controller_Checkout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/remove_from_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/remove_from_cart' , 'Remove From Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Event_Cart_Page_RemoveFromCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/view_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/view_cart' , 'View Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Event_Cart_Page_ViewCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/participant/feeselection' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/participant/feeselection' , 'Change Registration Selections' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Event_Form_ParticipantFeeSelection\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:23:\"Event Participants List\";s:3:\"url\";s:50:\"/index.php?q=civicrm/event/participant&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/pcp' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_PCP_Form_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 540 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/pcp' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Form_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/campaign' , 'Setup a Personal Campaign Page - Account Information' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute' , 'CiviContribute Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contribute_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 2 , 0 , 500 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/add' , 'action=add' , 'New Contribution' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Contribute_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/chart' , 'Contribution Summary - Chart View' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_ContributionCharts\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/transact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/transact' , 'CiviContribute' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Controller_Contribution\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute' , 'Manage Contribution Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Contribute_Page_ContributionPage\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 360 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/settings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/settings' , 'Title and Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:45:\"CRM_Contribute_Form_ContributionPage_Settings\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/amount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/amount' , 'Contribution Amounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Amount\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 410 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/membership' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/membership' , 'Membership Section' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Member_Form_MembershipBlock\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/custom' , 'Include Profiles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Custom\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/thankyou' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/thankyou' , 'Thank-you and Receipting' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:45:\"CRM_Contribute_Form_ContributionPage_ThankYou\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/friend' , 'Tell a Friend' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Friend_Form_Contribute\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 440 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/widget' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/widget' , 'Configure Widget' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Widget\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 460 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/premium' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/premium' , 'Premiums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:44:\"CRM_Contribute_Form_ContributionPage_Premium\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 470 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/addProductToPage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/addProductToPage' , 'Add Products to This Page' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:47:\"CRM_Contribute_Form_ContributionPage_AddProduct\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 480 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/add' , 'action=add' , 'New Contribution Page' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:42:\"CRM_Contribute_Controller_ContributionPage\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/managePremiums' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/managePremiums' , 'Manage Premiums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Contribute_Page_ManagePremiums\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 365 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialType' , 'Financial Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Financial_Page_FinancialType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 580 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment' , 'action=add' , 'New Payment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Contribute_Form_AdditionalPayment\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialAccount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialAccount' , 'Financial Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Financial_Page_FinancialAccount\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/payment_instrument' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/payment_instrument' , 'Payment Methods' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/accept_creditcard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/accept_creditcard' , 'Accepted Credit Cards' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 395 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/soft_credit_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/options/soft_credit_type' , 'Soft Credit Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contribution' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/contribution' , 'Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Contribute_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contributionrecur' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/contributionrecur' , 'Recurring Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:37:\"CRM_Contribute_Page_ContributionRecur\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contribution/additionalinfo' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/contribution/additionalinfo' , 'Additional Info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contribute_Form_AdditionalInfo\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}i:2;a:2:{s:5:\"title\";s:13:\"Contributions\";s:3:\"url\";s:58:\"/index.php?q=civicrm/contact/view/contribution&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/search' , 'Find Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 510 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/searchBatch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/searchBatch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Contribute_Controller_SearchBatch\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 588 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/import' , 'Import Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"edit contributions\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 520 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/manage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/manage' , 'Manage Contribution Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Contribute_Page_ContributionPage\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 530 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/additionalinfo' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/additionalinfo' , 'AdditionalInfo Form' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Contribute_Form_AdditionalInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/permlocation' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/permlocation' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:23:\"getPermissionedLocation\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/unsubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/unsubscribe' , 'Cancel Subscription' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_CancelSubscription\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/onbehalf' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/onbehalf' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_Contribution_OnBehalfOf\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/updatebilling' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/updatebilling' , 'Update Billing Details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Contribute_Form_UpdateBilling\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/updaterecur' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/updaterecur' , 'Update Subscription' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_UpdateSubscription\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/subscriptionstatus' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/subscriptionstatus' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Page_SubscriptionStatus\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialType/accounts' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialType/accounts' , 'Financial Type Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:39:\"CRM_Financial_Page_FinancialTypeAccount\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:15:\"Financial Types\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/financial/financialType&reset=1\";}}' , 1 , 581 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/batch' , 'Accounting Batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Financial_Page_FinancialBatch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 585 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/financialbatches' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/financialbatches' , 'Accounting Batches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Financial_Page_Batch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 586 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batchtransaction' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/batchtransaction' , 'Accounting Batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Financial_Page_BatchTransaction\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 600 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/batch/export' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/batch/export' , 'Accounting Batch Export' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Financial_Form_Export\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Accounting Batch\";s:3:\"url\";s:48:\"/index.php?q=civicrm/financial/batch&reset=1\";}}' , 0 , 610 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment/view' , 'action=view' , 'View Payment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contribute_Page_PaymentInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/contribute' , 'CiviContribute Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Admin_Form_Preferences_Contribute\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/invoice' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/invoice' , 'PDF Invoice' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Contribute_Form_Task_Invoice\";i:1;s:11:\"getPrintPDF\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/invoice/email' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/invoice/email' , 'Email Invoice' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Form_Task_Invoice\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"PDF Invoice\";s:3:\"url\";s:51:\"/index.php?q=civicrm/contribute/invoice&reset=1\";}}' , 2 , 0 , 630 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/pcp' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_PCP_Form_Contribute\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 450 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/campaign' , 'Setup a Personal Campaign Page - Account Information' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member' , 'CiviMember Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Member_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 3 , 0 , 700 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/member/add' , 'action=add' , 'New Membership' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Member_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipType' , 'Membership Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Page_MembershipType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipStatus' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipStatus' , 'Membership Status Rules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Member_Page_MembershipStatus\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/membership' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/membership' , 'force=1,cid=%%cid%%' , 'Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:19:\"CRM_Member_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 2 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/membership/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/membership/view' , 'Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Form_MembershipView\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member/search' , 'Find Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Member_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 710 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member/import' , 'Import Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:16:\"edit memberships\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Member_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 720 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/memType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/memType' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Member_Page_AJAX\";i:1;s:21:\"getMemberTypeDefaults\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipType/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipType/add' , 'Membership Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Form_MembershipType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:16:\"Membership Types\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/member/membershipType&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing' , 'CiviMail' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 4 , 0 , 600 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mail' , 'Mailer Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Mail\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/component' , 'Headers, Footers, and Automated Messages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Page_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 410 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/from_email_address/civimail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/from_email_address/civimail' , 'From Email Addresses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:4:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}i:3;a:2:{s:5:\"title\";s:20:\"From Email Addresses\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/from_email_address&reset=1\";}}' , 1 , 415 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mailSettings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mailSettings' , 'Mail Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_MailSettings\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/send' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/send' , 'New Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";i:2;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Mailing_Controller_Send\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 610 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/scheduled' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/scheduled' , 'scheduled=true' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";i:2;s:15:\"create mailings\";i:3;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/unscheduled' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/unscheduled' , 'scheduled=false' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";i:2;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/archived' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/archived' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 625 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/component' , 'Headers, Footers, and Automated Messages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Page_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 630 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/unsubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/unsubscribe' , 'Unsubscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Mailing_Form_Unsubscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 640 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/resubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/resubscribe' , 'Resubscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Mailing_Page_Resubscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 645 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/optout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/optout' , 'Opt-out' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Mailing_Form_Optout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 650 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/confirm' , 'Confirm' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Mailing_Page_Confirm\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 660 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/subscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/subscribe' , 'Subscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Form_Subscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 660 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/preview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/preview' , 'Preview Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";i:2;s:15:\"create mailings\";i:3;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Mailing_Page_Preview\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 670 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/report' , 'mid=%%mid%%' , 'Mailing Report' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Report\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 680 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/forward' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/forward' , 'Forward Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Mailing_Form_ForwardMailing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 685 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/queue' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/queue' , 'Sending Mail' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 690 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/report/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/report/event' , 'Mailing Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Mailing_Page_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Mailing Report\";s:3:\"url\";s:63:\"/index.php?q=civicrm/mailing/report&reset=1&mid=%%mid%%\";}}' , 4 , 0 , 695 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Mailing_Page_AJAX\";i:1;s:8:\"template\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/view' , 'View Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:28:\"view public CiviMail content\";i:1;s:15:\"access CiviMail\";i:2;s:16:\"approve mailings\";}i:1;s:2:\"or\";}' , 's:21:\"CRM_Mailing_Page_View\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 800 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/approve' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/approve' , 'Approve Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Mailing_Form_Approve\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 850 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:20:\"CRM_Mailing_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactmailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactmailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Mailing_Page_AJAX\";i:1;s:18:\"getContactMailings\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant' , 'CiviGrant Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Grant_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 5 , 0 , 1000 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant/info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Grant_Page_DashBoard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant/search' , 'Find Grants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Grant_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 1010 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/grant/add' , 'action=add' , 'New Grant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Grant_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/grant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/grant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Grant_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge' , 'CiviPledge Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Pledge_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 6 , 0 , 550 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge/search' , 'Find Pledges' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Pledge_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 560 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/pledge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/pledge' , 'force=1,cid=%%cid%%' , 'Pledges' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Pledge_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 570 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pledge/add' , 'action=add' , 'New Pledge' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Pledge_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/payment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge/payment' , 'Pledge Payments' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Pledge_Page_Payment\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 580 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/pledgeAmount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/pledgeAmount' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviPledge\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Pledge_Page_AJAX\";i:1;s:17:\"getPledgeDefaults\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/case' , 'CiviCase Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Case_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 7 , 0 , 900 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/add' , 'Open Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Case_Form_Case\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/case/search' , 'Find Cases' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Case_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 910 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/activity' , 'Case Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Case_Form_Activity\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/report' , 'Case Activity Audit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Case_Form_Report\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/cd/edit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/cd/edit' , 'Case Custom Set' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Case_Form_CustomData\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/case' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/case' , 'Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:17:\"CRM_Case_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/activity/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/activity/view' , 'Activity View' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Case_Form_ActivityView\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Case Activity\";s:3:\"url\";s:46:\"/index.php?q=civicrm/case/activity&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/case/editClient' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/case/editClient' , 'Assign to Another Client' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Case_Form_EditClient\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}i:2;a:2:{s:5:\"title\";s:4:\"Case\";s:3:\"url\";s:50:\"/index.php?q=civicrm/contact/view/case&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/addToCase' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/addToCase' , 'File on Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Case_Form_ActivityToCase\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/details' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/details' , 'Case Details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Case_Page_CaseDetails\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/case_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/case_type' , 'Case Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Core_Page_Redirect\";' , 's:24:\"url=civicrm/a/#/caseType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/redaction_rule' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/redaction_rule' , 'Redaction Rules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/case_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/case_status' , 'Case Statuses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/encounter_medium' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/encounter_medium' , 'Encounter Mediums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/report/print' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/report/print' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:28:\"CRM_Case_XMLProcessor_Report\";i:1;s:15:\"printCaseReport\";}' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}i:2;a:2:{s:5:\"title\";s:19:\"Case Activity Audit\";s:3:\"url\";s:44:\"/index.php?q=civicrm/case/report&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/unclosed' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/unclosed' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:13:\"unclosedCases\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/addclient' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/addclient' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:9:\"addClient\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/processtags' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/processtags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:15:\"processCaseTags\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/details' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:11:\"CaseDetails\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/delcaserole' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/delcaserole' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:15:\"deleteCaseRoles\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report' , 'CiviReport' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Report_Page_Report\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 8 , 0 , 1200 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/list' , 'CiviCRM Reports' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_InstanceList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/template/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report/template/list' , 'Create New Report from Template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_TemplateList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 1220 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/options/report_template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report/options/report_template' , 'Manage Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Report_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 1241 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/register' , 'Register Report' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Report_Form_Register\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/instance' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/instance' , 'Report' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Report_Page_Instance\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/template/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/template/list' , 'Create New Report from Template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_TemplateList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/options/report_template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/options/report_template' , 'Manage Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Report_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/list' , 'Reports Listing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_InstanceList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/chart' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:15:\"CRM_Report_Form\";i:1;s:16:\"uploadChartImage\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign' , 'Campaign Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Campaign_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/add' , 'New Campaign' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Campaign_Form_Campaign\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/add' , 'New Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Campaign_Form_Survey_Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/vote' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/vote' , 'Conduct Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:25:\"reserve campaign contacts\";i:3;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 's:22:\"CRM_Campaign_Page_Vote\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/campaign/surveyType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/campaign/surveyType' , 'Survey Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCampaign\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Campaign_Page_SurveyType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/campaign_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/campaign_type' , 'Campaign Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 2 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/campaign_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/campaign_status' , 'Campaign Status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 3 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/engagement_index' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/engagement_index' , 'Engagement Index' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 4 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/search' , 'op=interview' , 'Record Respondents Interview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 's:30:\"CRM_Campaign_Controller_Search\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/gotv' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/gotv' , 'GOTV (Track Voters)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:25:\"release campaign contacts\";i:3;s:22:\"gotv campaign contacts\";}i:1;s:2:\"or\";}' , 's:22:\"CRM_Campaign_Form_Gotv\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/add' , 'New Petition' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Campaign_Form_Petition\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/sign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/sign' , 'Sign Petition' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Campaign_Form_Petition_Signature\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/browse' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/browse' , 'View Petition Signatures' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Campaign_Page_Petition\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/confirm' , 'Email address verified' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Campaign_Page_Petition_Confirm\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/thankyou' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/thankyou' , 'Thank You' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Campaign_Page_Petition_ThankYou\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/registerInterview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/registerInterview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:22:\"CRM_Campaign_Page_AJAX\";i:1;s:17:\"registerInterview\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/main' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/main' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Campaign_Form_Survey_Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/questions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/questions' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Campaign_Form_Survey_Questions\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/results' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/results' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Campaign_Form_Survey_Results\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/delete' , 'Delete Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:31:\"CRM_Campaign_Form_Survey_Delete\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'admin' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , breadcrumb ) VALUES ( 1 , 'admin' , 'a:15:{s:26:\"Customize Data and Screens\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:19:{s:20:\"{weight}.Custom Data\";a:6:{s:5:\"title\";s:11:\"Custom Data\";s:4:\"desc\";s:109:\"Configure custom fields to collect and store custom data which is not included in the standard CiviCRM forms.\";s:2:\"id\";s:10:\"CustomData\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";s:4:\"icon\";s:26:\"admin/small/custm_data.png\";s:5:\"extra\";N;}s:17:\"{weight}.Profiles\";a:6:{s:5:\"title\";s:8:\"Profiles\";s:4:\"desc\";s:151:\"Profiles allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features.\";s:2:\"id\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";s:4:\"icon\";s:23:\"admin/small/Profile.png\";s:5:\"extra\";N;}s:26:\"{weight}.Tags (Categories)\";a:6:{s:5:\"title\";s:17:\"Tags (Categories)\";s:4:\"desc\";s:158:\"Tags are useful for segmenting the contacts in your database into categories (e.g. Staff Member, Donor, Volunteer, etc.). Create and edit available tags here.\";s:2:\"id\";s:15:\"Tags_Categories\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/tag&reset=1\";s:4:\"icon\";s:18:\"admin/small/11.png\";s:5:\"extra\";N;}s:23:\"{weight}.Activity Types\";a:6:{s:5:\"title\";s:14:\"Activity Types\";s:4:\"desc\";s:155:\"CiviCRM has several built-in activity types (meetings, phone calls, emails sent). Track other types of interactions by creating custom activity types here.\";s:2:\"id\";s:13:\"ActivityTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/activity_type&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:27:\"{weight}.Relationship Types\";a:6:{s:5:\"title\";s:18:\"Relationship Types\";s:4:\"desc\";s:148:\"Contacts can be linked to each other through Relationships (e.g. Spouse, Employer, etc.). Define the types of relationships you want to record here.\";s:2:\"id\";s:17:\"RelationshipTypes\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/reltype&reset=1\";s:4:\"icon\";s:25:\"admin/small/rela_type.png\";s:5:\"extra\";N;}s:22:\"{weight}.Contact Types\";a:6:{s:5:\"title\";s:13:\"Contact Types\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ContactTypes\";s:3:\"url\";s:54:\"/index.php?q=civicrm/admin/options/subtype&reset=1\";s:4:\"icon\";s:18:\"admin/small/09.png\";s:5:\"extra\";N;}s:23:\"{weight}.Gender Options\";a:6:{s:5:\"title\";s:14:\"Gender Options\";s:4:\"desc\";s:85:\"Options for assigning gender to individual contacts (e.g. Male, Female, Transgender).\";s:2:\"id\";s:13:\"GenderOptions\";s:3:\"url\";s:53:\"/index.php?q=civicrm/admin/options/gender&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:40:\"{weight}.Individual Prefixes (Ms, Mr...)\";a:6:{s:5:\"title\";s:31:\"Individual Prefixes (Ms, Mr...)\";s:4:\"desc\";s:66:\"Options for individual contact prefixes (e.g. Ms., Mr., Dr. etc.).\";s:2:\"id\";s:27:\"IndividualPrefixes_Ms_Mr...\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/individual_prefix&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:40:\"{weight}.Individual Suffixes (Jr, Sr...)\";a:6:{s:5:\"title\";s:31:\"Individual Suffixes (Jr, Sr...)\";s:4:\"desc\";s:61:\"Options for individual contact suffixes (e.g. Jr., Sr. etc.).\";s:2:\"id\";s:27:\"IndividualSuffixes_Jr_Sr...\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/individual_suffix&reset=1\";s:4:\"icon\";s:18:\"admin/small/10.png\";s:5:\"extra\";N;}s:39:\"{weight}.Location Types (Home, Work...)\";a:6:{s:5:\"title\";s:30:\"Location Types (Home, Work...)\";s:4:\"desc\";s:94:\"Options for categorizing contact addresses and phone numbers (e.g. Home, Work, Billing, etc.).\";s:2:\"id\";s:26:\"LocationTypes_Home_Work...\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/locationType&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:22:\"{weight}.Website Types\";a:6:{s:5:\"title\";s:13:\"Website Types\";s:4:\"desc\";s:48:\"Options for assigning website types to contacts.\";s:2:\"id\";s:12:\"WebsiteTypes\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/options/website_type&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:35:\"{weight}.Instant Messenger Services\";a:6:{s:5:\"title\";s:26:\"Instant Messenger Services\";s:4:\"desc\";s:79:\"List of IM services which can be used when recording screen-names for contacts.\";s:2:\"id\";s:24:\"InstantMessengerServices\";s:3:\"url\";s:72:\"/index.php?q=civicrm/admin/options/instant_messenger_service&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:31:\"{weight}.Mobile Phone Providers\";a:6:{s:5:\"title\";s:22:\"Mobile Phone Providers\";s:4:\"desc\";s:90:\"List of mobile phone providers which can be assigned when recording contact phone numbers.\";s:2:\"id\";s:20:\"MobilePhoneProviders\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/mobile_provider&reset=1\";s:4:\"icon\";s:18:\"admin/small/08.png\";s:5:\"extra\";N;}s:19:\"{weight}.Phone Type\";a:6:{s:5:\"title\";s:10:\"Phone Type\";s:4:\"desc\";s:80:\"Options for assigning phone type to contacts (e.g Phone,\n Mobile, Fax, Pager)\";s:2:\"id\";s:9:\"PhoneType\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/phone_type&reset=1\";s:4:\"icon\";s:7:\"tel.gif\";s:5:\"extra\";N;}s:28:\"{weight}.Display Preferences\";a:6:{s:5:\"title\";s:19:\"Display Preferences\";s:4:\"desc\";N;s:2:\"id\";s:18:\"DisplayPreferences\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/display&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:27:\"{weight}.Search Preferences\";a:6:{s:5:\"title\";s:18:\"Search Preferences\";s:4:\"desc\";N;s:2:\"id\";s:17:\"SearchPreferences\";s:3:\"url\";s:53:\"/index.php?q=civicrm/admin/setting/search&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:24:\"{weight}.Navigation Menu\";a:6:{s:5:\"title\";s:15:\"Navigation Menu\";s:4:\"desc\";s:79:\"Add or remove menu items, and modify the order of items on the navigation menu.\";s:2:\"id\";s:14:\"NavigationMenu\";s:3:\"url\";s:43:\"/index.php?q=civicrm/admin/menu&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:26:\"{weight}.Word Replacements\";a:6:{s:5:\"title\";s:17:\"Word Replacements\";s:4:\"desc\";s:18:\"Word Replacements.\";s:2:\"id\";s:16:\"WordReplacements\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/wordreplacements&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Manage Custom Searches\";a:6:{s:5:\"title\";s:22:\"Manage Custom Searches\";s:4:\"desc\";s:225:\"Developers and accidental techies with a bit of PHP and SQL knowledge can create new search forms to handle specific search and reporting needs which aren\'t covered by the built-in Advanced Search and Search Builder features.\";s:2:\"id\";s:20:\"ManageCustomSearches\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/custom_search&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:10;}s:14:\"Communications\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:11:{s:46:\"{weight}.Organization Address and Contact Info\";a:6:{s:5:\"title\";s:37:\"Organization Address and Contact Info\";s:4:\"desc\";s:150:\"Configure primary contact name, email, return-path and address information. This information is used by CiviMail to identify the sending organization.\";s:2:\"id\";s:33:\"OrganizationAddressandContactInfo\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/domain&action=update&reset=1\";s:4:\"icon\";s:22:\"admin/small/domain.png\";s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/from_email_address&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:26:\"{weight}.Message Templates\";a:6:{s:5:\"title\";s:17:\"Message Templates\";s:4:\"desc\";s:130:\"Message templates allow you to save and re-use messages with layouts which you can use when sending email to one or more contacts.\";s:2:\"id\";s:16:\"MessageTemplates\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/messageTemplates&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:27:\"{weight}.Schedule Reminders\";a:6:{s:5:\"title\";s:18:\"Schedule Reminders\";s:4:\"desc\";s:19:\"Schedule Reminders.\";s:2:\"id\";s:17:\"ScheduleReminders\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/scheduleReminders&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:40:\"{weight}.Preferred Communication Methods\";a:6:{s:5:\"title\";s:31:\"Preferred Communication Methods\";s:4:\"desc\";s:117:\"One or more preferred methods of communication can be assigned to each contact. Customize the available options here.\";s:2:\"id\";s:29:\"PreferredCommunicationMethods\";s:3:\"url\";s:77:\"/index.php?q=civicrm/admin/options/preferred_communication_method&reset=1\";s:4:\"icon\";s:29:\"admin/small/communication.png\";s:5:\"extra\";N;}s:22:\"{weight}.Label Formats\";a:6:{s:5:\"title\";s:13:\"Label Formats\";s:4:\"desc\";s:67:\"Configure Label Formats that are used when creating mailing labels.\";s:2:\"id\";s:12:\"LabelFormats\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/labelFormats&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:33:\"{weight}.Print Page (PDF) Formats\";a:6:{s:5:\"title\";s:24:\"Print Page (PDF) Formats\";s:4:\"desc\";s:95:\"Configure PDF Page Formats that can be assigned to Message Templates when creating PDF letters.\";s:2:\"id\";s:20:\"PrintPage_PDFFormats\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/pdfFormats&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:36:\"{weight}.Communication Style Options\";a:6:{s:5:\"title\";s:27:\"Communication Style Options\";s:4:\"desc\";s:42:\"Options for Communication Style selection.\";s:2:\"id\";s:25:\"CommunicationStyleOptions\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/communication_style&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Email Greeting Formats\";a:6:{s:5:\"title\";s:22:\"Email Greeting Formats\";s:4:\"desc\";s:75:\"Options for assigning email greetings to individual and household contacts.\";s:2:\"id\";s:20:\"EmailGreetingFormats\";s:3:\"url\";s:61:\"/index.php?q=civicrm/admin/options/email_greeting&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:32:\"{weight}.Postal Greeting Formats\";a:6:{s:5:\"title\";s:23:\"Postal Greeting Formats\";s:4:\"desc\";s:76:\"Options for assigning postal greetings to individual and household contacts.\";s:2:\"id\";s:21:\"PostalGreetingFormats\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/postal_greeting&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:26:\"{weight}.Addressee Formats\";a:6:{s:5:\"title\";s:17:\"Addressee Formats\";s:4:\"desc\";s:83:\"Options for assigning addressee to individual, household and organization contacts.\";s:2:\"id\";s:16:\"AddresseeFormats\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/addressee&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:6;}s:12:\"Localization\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:4:{s:39:\"{weight}.Languages, Currency, Locations\";a:6:{s:5:\"title\";s:30:\"Languages, Currency, Locations\";s:4:\"desc\";N;s:2:\"id\";s:28:\"Languages_Currency_Locations\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/setting/localization&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:25:\"{weight}.Address Settings\";a:6:{s:5:\"title\";s:16:\"Address Settings\";s:4:\"desc\";N;s:2:\"id\";s:15:\"AddressSettings\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/address&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:21:\"{weight}.Date Formats\";a:6:{s:5:\"title\";s:12:\"Date Formats\";s:4:\"desc\";N;s:2:\"id\";s:11:\"DateFormats\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/date&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:28:\"{weight}.Preferred Languages\";a:6:{s:5:\"title\";s:19:\"Preferred Languages\";s:4:\"desc\";s:30:\"Options for contact languages.\";s:2:\"id\";s:18:\"PreferredLanguages\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/languages&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:21:\"Users and Permissions\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:2:{s:23:\"{weight}.Access Control\";a:6:{s:5:\"title\";s:14:\"Access Control\";s:4:\"desc\";s:73:\"Grant or deny access to actions (view, edit...), features and components.\";s:2:\"id\";s:13:\"AccessControl\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/access&reset=1\";s:4:\"icon\";s:18:\"admin/small/03.png\";s:5:\"extra\";N;}s:38:\"{weight}.Synchronize Users to Contacts\";a:6:{s:5:\"title\";s:29:\"Synchronize Users to Contacts\";s:4:\"desc\";s:71:\"Automatically create a CiviCRM contact record for each CMS user record.\";s:2:\"id\";s:26:\"SynchronizeUserstoContacts\";s:3:\"url\";s:48:\"/index.php?q=civicrm/admin/synchUser&reset=1\";s:4:\"icon\";s:26:\"admin/small/Synch_user.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:15:\"System Settings\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:18:{s:32:\"{weight}.Configuration Checklist\";a:6:{s:5:\"title\";s:23:\"Configuration Checklist\";s:4:\"desc\";s:55:\"List of configuration tasks with links to each setting.\";s:2:\"id\";s:22:\"ConfigurationChecklist\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/configtask&reset=1\";s:4:\"icon\";s:9:\"check.gif\";s:5:\"extra\";N;}s:34:\"{weight}.Enable CiviCRM Components\";a:6:{s:5:\"title\";s:25:\"Enable CiviCRM Components\";s:4:\"desc\";s:269:\"Enable or disable components (e.g. CiviEvent, CiviMember, etc.) for your site based on the features you need. We recommend disabling any components not being used in order to simplify the user interface. You can easily re-enable components at any time from this screen.\";s:2:\"id\";s:23:\"EnableCiviCRMComponents\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/setting/component&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:26:\"{weight}.Manage Extensions\";a:6:{s:5:\"title\";s:17:\"Manage Extensions\";s:4:\"desc\";s:0:\"\";s:2:\"id\";s:16:\"ManageExtensions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/extensions&reset=1\";s:4:\"icon\";s:26:\"admin/small/price_sets.png\";s:5:\"extra\";N;}s:32:\"{weight}.Outbound Email Settings\";a:6:{s:5:\"title\";s:23:\"Outbound Email Settings\";s:4:\"desc\";N;s:2:\"id\";s:21:\"OutboundEmailSettings\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/smtp&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:26:\"{weight}.Payment Processor\";a:6:{s:5:\"title\";s:17:\"Payment Processor\";s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:2:\"id\";s:16:\"PaymentProcessor\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/paymentProcessor&reset=1\";s:4:\"icon\";s:41:\"admin/small/online_contribution_pages.png\";s:5:\"extra\";N;}s:30:\"{weight}.Mapping and Geocoding\";a:6:{s:5:\"title\";s:21:\"Mapping and Geocoding\";s:4:\"desc\";N;s:2:\"id\";s:19:\"MappingandGeocoding\";s:3:\"url\";s:54:\"/index.php?q=civicrm/admin/setting/mapping&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:62:\"{weight}.Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)\";a:6:{s:5:\"title\";s:53:\"Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)\";s:4:\"desc\";s:91:\"Enable undelete/move to trash feature, detailed change logging, ReCAPTCHA to protect forms.\";s:2:\"id\";s:46:\"Misc_Undelete_PDFs_Limits_Logging_Captcha_etc.\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/misc&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:20:\"{weight}.Directories\";a:6:{s:5:\"title\";s:11:\"Directories\";s:4:\"desc\";N;s:2:\"id\";s:11:\"Directories\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/path&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:22:\"{weight}.Resource URLs\";a:6:{s:5:\"title\";s:13:\"Resource URLs\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ResourceURLs\";s:3:\"url\";s:50:\"/index.php?q=civicrm/admin/setting/url&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:40:\"{weight}.Cleanup Caches and Update Paths\";a:6:{s:5:\"title\";s:31:\"Cleanup Caches and Update Paths\";s:4:\"desc\";s:157:\"Reset the Base Directory Path and Base URL settings - generally when a CiviCRM site is moved to another location in the file system and/or to another domain.\";s:2:\"id\";s:27:\"CleanupCachesandUpdatePaths\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1\";s:4:\"icon\";s:26:\"admin/small/updatepath.png\";s:5:\"extra\";N;}s:33:\"{weight}.CMS Database Integration\";a:6:{s:5:\"title\";s:24:\"CMS Database Integration\";s:4:\"desc\";N;s:2:\"id\";s:22:\"CMSDatabaseIntegration\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/setting/uf&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:36:\"{weight}.Safe File Extension Options\";a:6:{s:5:\"title\";s:27:\"Safe File Extension Options\";s:4:\"desc\";s:44:\"File Extensions that can be considered safe.\";s:2:\"id\";s:24:\"SafeFileExtensionOptions\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/safe_file_extension&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:22:\"{weight}.Option Groups\";a:6:{s:5:\"title\";s:13:\"Option Groups\";s:4:\"desc\";s:35:\"Access all meta-data option groups.\";s:2:\"id\";s:12:\"OptionGroups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Import/Export Mappings\";a:6:{s:5:\"title\";s:22:\"Import/Export Mappings\";s:4:\"desc\";s:141:\"Import and Export mappings allow you to easily run the same job multiple times. This option allows you to rename or delete existing mappings.\";s:2:\"id\";s:21:\"Import_ExportMappings\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/mapping&reset=1\";s:4:\"icon\";s:33:\"admin/small/import_export_map.png\";s:5:\"extra\";N;}s:18:\"{weight}.Debugging\";a:6:{s:5:\"title\";s:9:\"Debugging\";s:4:\"desc\";N;s:2:\"id\";s:9:\"Debugging\";s:3:\"url\";s:52:\"/index.php?q=civicrm/admin/setting/debug&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:28:\"{weight}.Multi Site Settings\";a:6:{s:5:\"title\";s:19:\"Multi Site Settings\";s:4:\"desc\";N;s:2:\"id\";s:17:\"MultiSiteSettings\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/setting/preferences/multisite&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:23:\"{weight}.Scheduled Jobs\";a:6:{s:5:\"title\";s:14:\"Scheduled Jobs\";s:4:\"desc\";s:35:\"Managing periodially running tasks.\";s:2:\"id\";s:13:\"ScheduledJobs\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/job&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:22:\"{weight}.Sms Providers\";a:6:{s:5:\"title\";s:13:\"Sms Providers\";s:4:\"desc\";s:27:\"To configure a sms provider\";s:2:\"id\";s:12:\"SmsProviders\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/sms/provider&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:9;}s:12:\"CiviCampaign\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:40:\"{weight}.CiviCampaign Component Settings\";a:6:{s:5:\"title\";s:31:\"CiviCampaign Component Settings\";s:4:\"desc\";s:40:\"Configure global CiviCampaign behaviors.\";s:2:\"id\";s:29:\"CiviCampaignComponentSettings\";s:3:\"url\";s:67:\"/index.php?q=civicrm/admin/setting/preferences/campaign&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:21:\"{weight}.Survey Types\";a:6:{s:5:\"title\";s:12:\"Survey Types\";s:4:\"desc\";N;s:2:\"id\";s:11:\"SurveyTypes\";s:3:\"url\";s:58:\"/index.php?q=civicrm/admin/campaign/surveyType&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:23:\"{weight}.Campaign Types\";a:6:{s:5:\"title\";s:14:\"Campaign Types\";s:4:\"desc\";s:47:\"categorize your campaigns using campaign types.\";s:2:\"id\";s:13:\"CampaignTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/campaign_type&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:24:\"{weight}.Campaign Status\";a:6:{s:5:\"title\";s:15:\"Campaign Status\";s:4:\"desc\";s:34:\"Define statuses for campaign here.\";s:2:\"id\";s:14:\"CampaignStatus\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/campaign_status&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:25:\"{weight}.Engagement Index\";a:6:{s:5:\"title\";s:16:\"Engagement Index\";s:4:\"desc\";s:18:\"Engagement levels.\";s:2:\"id\";s:15:\"EngagementIndex\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/engagement_index&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:3;}s:9:\"CiviEvent\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:37:\"{weight}.CiviEvent Component Settings\";a:6:{s:5:\"title\";s:28:\"CiviEvent Component Settings\";s:4:\"desc\";s:37:\"Configure global CiviEvent behaviors.\";s:2:\"id\";s:26:\"CiviEventComponentSettings\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/setting/preferences/event&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:33:\"{weight}.Event Name Badge Layouts\";a:6:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:4:\"desc\";s:107:\"Configure name badge layouts for event participants, including logos and what data to include on the badge.\";s:2:\"id\";s:21:\"EventNameBadgeLayouts\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/badgelayout&action=browse&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Manage Events\";a:6:{s:5:\"title\";s:13:\"Manage Events\";s:4:\"desc\";s:136:\"Create and edit event configuration including times, locations, online registration forms, and fees. Links for iCal and RSS syndication.\";s:2:\"id\";s:12:\"ManageEvents\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/event&reset=1\";s:4:\"icon\";s:28:\"admin/small/event_manage.png\";s:5:\"extra\";N;}s:24:\"{weight}.Event Templates\";a:6:{s:5:\"title\";s:15:\"Event Templates\";s:4:\"desc\";s:115:\"Administrators can create Event Templates - which are basically master event records pre-filled with default values\";s:2:\"id\";s:14:\"EventTemplates\";s:3:\"url\";s:52:\"/index.php?q=civicrm/admin/eventTemplate&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:20:\"{weight}.Event Types\";a:6:{s:5:\"title\";s:11:\"Event Types\";s:4:\"desc\";s:143:\"Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.\";s:2:\"id\";s:10:\"EventTypes\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/event_type&reset=1\";s:4:\"icon\";s:26:\"admin/small/event_type.png\";s:5:\"extra\";N;}s:27:\"{weight}.Participant Status\";a:6:{s:5:\"title\";s:18:\"Participant Status\";s:4:\"desc\";s:154:\"Define statuses for event participants here (e.g. Registered, Attended, Cancelled...). You can then assign statuses and search for participants by status.\";s:2:\"id\";s:17:\"ParticipantStatus\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/participant_status&reset=1\";s:4:\"icon\";s:28:\"admin/small/parti_status.png\";s:5:\"extra\";N;}s:25:\"{weight}.Participant Role\";a:6:{s:5:\"title\";s:16:\"Participant Role\";s:4:\"desc\";s:138:\"Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.\";s:2:\"id\";s:15:\"ParticipantRole\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/participant_role&reset=1\";s:4:\"icon\";s:26:\"admin/small/parti_role.png\";s:5:\"extra\";N;}s:38:\"{weight}.Participant Listing Templates\";a:6:{s:5:\"title\";s:29:\"Participant Listing Templates\";s:4:\"desc\";s:48:\"Template to control participant listing display.\";s:2:\"id\";s:27:\"ParticipantListingTemplates\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/participant_listing&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Conference Slot Labels\";a:6:{s:5:\"title\";s:22:\"Conference Slot Labels\";s:4:\"desc\";s:35:\"Define conference slots and labels.\";s:2:\"id\";s:20:\"ConferenceSlotLabels\";s:3:\"url\";s:81:\"/index.php?q=civicrm/admin/conference_slots&group=conference_slot&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:5;}s:8:\"CiviMail\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:36:\"{weight}.CiviMail Component Settings\";a:6:{s:5:\"title\";s:27:\"CiviMail Component Settings\";s:4:\"desc\";s:36:\"Configure global CiviMail behaviors.\";s:2:\"id\";s:25:\"CiviMailComponentSettings\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/mailing&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Mailer Settings\";a:6:{s:5:\"title\";s:15:\"Mailer Settings\";s:4:\"desc\";s:61:\"Configure spool period, throttling and other mailer settings.\";s:2:\"id\";s:14:\"MailerSettings\";s:3:\"url\";s:43:\"/index.php?q=civicrm/admin/mail&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:49:\"{weight}.Headers, Footers, and Automated Messages\";a:6:{s:5:\"title\";s:40:\"Headers, Footers, and Automated Messages\";s:4:\"desc\";s:143:\"Configure the header and footer used for mailings. Customize the content of automated Subscribe, Unsubscribe, Resubscribe and Opt-out messages.\";s:2:\"id\";s:36:\"Headers_Footers_andAutomatedMessages\";s:3:\"url\";s:48:\"/index.php?q=civicrm/admin/component&reset=1\";s:4:\"icon\";s:23:\"admin/small/Profile.png\";s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:74:\"/index.php?q=civicrm/admin/options/from_email_address/civimail&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:22:\"{weight}.Mail Accounts\";a:6:{s:5:\"title\";s:13:\"Mail Accounts\";s:4:\"desc\";s:32:\"Configure email account setting.\";s:2:\"id\";s:12:\"MailAccounts\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/mailSettings&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:3;}s:10:\"CiviMember\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:38:\"{weight}.CiviMember Component Settings\";a:6:{s:5:\"title\";s:29:\"CiviMember Component Settings\";s:4:\"desc\";s:38:\"Configure global CiviMember behaviors.\";s:2:\"id\";s:27:\"CiviMemberComponentSettings\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/setting/preferences/member&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Membership Types\";a:6:{s:5:\"title\";s:16:\"Membership Types\";s:4:\"desc\";s:174:\"Define the types of memberships you want to offer. For each type, you can specify a \'name\' (Gold Member, Honor Society Member...), a description, duration, and a minimum fee.\";s:2:\"id\";s:15:\"MembershipTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/member/membershipType&reset=1\";s:4:\"icon\";s:31:\"admin/small/membership_type.png\";s:5:\"extra\";N;}s:32:\"{weight}.Membership Status Rules\";a:6:{s:5:\"title\";s:23:\"Membership Status Rules\";s:4:\"desc\";s:187:\"Status \'rules\' define the current status for a membership based on that membership\'s start and end dates. You can adjust the default status options and rules as needed to meet your needs.\";s:2:\"id\";s:21:\"MembershipStatusRules\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/member/membershipStatus&reset=1\";s:4:\"icon\";s:33:\"admin/small/membership_status.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:6:\"Manage\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:27:\"{weight}.Scheduled Jobs Log\";a:6:{s:5:\"title\";s:18:\"Scheduled Jobs Log\";s:4:\"desc\";s:46:\"Browsing the log of periodially running tasks.\";s:2:\"id\";s:16:\"ScheduledJobsLog\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/joblog&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:42:\"{weight}.Find and Merge Duplicate Contacts\";a:6:{s:5:\"title\";s:33:\"Find and Merge Duplicate Contacts\";s:4:\"desc\";s:158:\"Manage the rules used to identify potentially duplicate contact records. Scan for duplicates using a selected rule and merge duplicate contact data as needed.\";s:2:\"id\";s:29:\"FindandMergeDuplicateContacts\";s:3:\"url\";s:52:\"/index.php?q=civicrm/contact/deduperules&reset=1\";s:4:\"icon\";s:34:\"admin/small/duplicate_matching.png\";s:5:\"extra\";N;}s:26:\"{weight}.Dedupe Exceptions\";a:6:{s:5:\"title\";s:17:\"Dedupe Exceptions\";s:4:\"desc\";N;s:2:\"id\";s:16:\"DedupeExceptions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/dedupe/exception&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:12:\"Option Lists\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:20:\"{weight}.Grant Types\";a:6:{s:5:\"title\";s:11:\"Grant Types\";s:4:\"desc\";s:148:\"List of types which can be assigned to Grants. (Enable CiviGrant from Administer > Systme Settings > Enable Components if you want to track grants.)\";s:2:\"id\";s:10:\"GrantTypes\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/grant_type&reset=1\";s:4:\"icon\";s:26:\"admin/small/grant_type.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:9:\"Customize\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:19:\"{weight}.Price Sets\";a:6:{s:5:\"title\";s:10:\"Price Sets\";s:4:\"desc\";s:205:\"Price sets allow you to offer multiple options with associated fees (e.g. pre-conference workshops, additional meals, etc.). Configure Price Sets for events which need more than a single set of fee levels.\";s:2:\"id\";s:9:\"PriceSets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";s:4:\"icon\";s:26:\"admin/small/price_sets.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:14:\"CiviContribute\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:32:\"{weight}.Personal Campaign Pages\";a:6:{s:5:\"title\";s:23:\"Personal Campaign Pages\";s:4:\"desc\";s:49:\"View and manage existing personal campaign pages.\";s:2:\"id\";s:21:\"PersonalCampaignPages\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/pcp&context=contribute&reset=1\";s:4:\"icon\";s:34:\"admin/small/contribution_types.png\";s:5:\"extra\";N;}s:34:\"{weight}.Manage Contribution Pages\";a:6:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:4:\"desc\";s:242:\"CiviContribute allows you to create and maintain any number of Online Contribution Pages. You can create different pages for different programs or campaigns - and customize text, amounts, types of information collected from contributors, etc.\";s:2:\"id\";s:23:\"ManageContributionPages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";s:4:\"icon\";s:41:\"admin/small/online_contribution_pages.png\";s:5:\"extra\";N;}s:24:\"{weight}.Manage Premiums\";a:6:{s:5:\"title\";s:15:\"Manage Premiums\";s:4:\"desc\";s:175:\"CiviContribute allows you to configure any number of Premiums which can be offered to contributors as incentives / thank-you gifts. Define the premiums you want to offer here.\";s:2:\"id\";s:14:\"ManagePremiums\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/contribute/managePremiums&reset=1\";s:4:\"icon\";s:24:\"admin/small/Premiums.png\";s:5:\"extra\";N;}s:24:\"{weight}.Financial Types\";a:6:{s:5:\"title\";s:15:\"Financial Types\";s:4:\"desc\";s:64:\"Formerly civicrm_contribution_type merged into this table in 4.1\";s:2:\"id\";s:14:\"FinancialTypes\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/financial/financialType&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Financial Accounts\";a:6:{s:5:\"title\";s:18:\"Financial Accounts\";s:4:\"desc\";s:128:\"Financial types are used to categorize contributions for reporting and accounting purposes. These are also referred to as Funds.\";s:2:\"id\";s:17:\"FinancialAccounts\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/financial/financialAccount&reset=1\";s:4:\"icon\";s:34:\"admin/small/contribution_types.png\";s:5:\"extra\";N;}s:24:\"{weight}.Payment Methods\";a:6:{s:5:\"title\";s:15:\"Payment Methods\";s:4:\"desc\";s:224:\"You may choose to record the payment instrument used for each contribution. Common payment methods are installed by default (e.g. Check, Cash, Credit Card...). If your site requires additional payment methods, add them here.\";s:2:\"id\";s:14:\"PaymentMethods\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/payment_instrument&reset=1\";s:4:\"icon\";s:35:\"admin/small/payment_instruments.png\";s:5:\"extra\";N;}s:30:\"{weight}.Accepted Credit Cards\";a:6:{s:5:\"title\";s:21:\"Accepted Credit Cards\";s:4:\"desc\";s:94:\"Credit card options that will be offered to contributors using your Online Contribution pages.\";s:2:\"id\";s:19:\"AcceptedCreditCards\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/accept_creditcard&reset=1\";s:4:\"icon\";s:36:\"admin/small/accepted_creditcards.png\";s:5:\"extra\";N;}s:26:\"{weight}.Soft Credit Types\";a:6:{s:5:\"title\";s:17:\"Soft Credit Types\";s:4:\"desc\";s:86:\"Soft Credit Types that will be offered to contributors during soft credit contribution\";s:2:\"id\";s:15:\"SoftCreditTypes\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/soft_credit_type&reset=1\";s:4:\"icon\";s:32:\"admin/small/soft_credit_type.png\";s:5:\"extra\";N;}s:42:\"{weight}.CiviContribute Component Settings\";a:6:{s:5:\"title\";s:33:\"CiviContribute Component Settings\";s:4:\"desc\";s:42:\"Configure global CiviContribute behaviors.\";s:2:\"id\";s:31:\"CiviContributeComponentSettings\";s:3:\"url\";s:69:\"/index.php?q=civicrm/admin/setting/preferences/contribute&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:5;}s:8:\"CiviCase\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:4:{s:19:\"{weight}.Case Types\";a:6:{s:5:\"title\";s:10:\"Case Types\";s:4:\"desc\";s:137:\"List of types which can be assigned to Cases. (Enable the Cases tab from System Settings - Enable Components if you want to track cases.)\";s:2:\"id\";s:9:\"CaseTypes\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/case_type&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}s:24:\"{weight}.Redaction Rules\";a:6:{s:5:\"title\";s:15:\"Redaction Rules\";s:4:\"desc\";s:223:\"List of rules which can be applied to user input strings so that the redacted output can be recognized as repeated instances of the same string or can be identified as a \"semantic type of the data element\" within case data.\";s:2:\"id\";s:14:\"RedactionRules\";s:3:\"url\";s:61:\"/index.php?q=civicrm/admin/options/redaction_rule&reset=1\";s:4:\"icon\";s:30:\"admin/small/redaction_type.png\";s:5:\"extra\";N;}s:22:\"{weight}.Case Statuses\";a:6:{s:5:\"title\";s:13:\"Case Statuses\";s:4:\"desc\";s:48:\"List of statuses that can be assigned to a case.\";s:2:\"id\";s:12:\"CaseStatuses\";s:3:\"url\";s:58:\"/index.php?q=civicrm/admin/options/case_status&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}s:26:\"{weight}.Encounter Mediums\";a:6:{s:5:\"title\";s:17:\"Encounter Mediums\";s:4:\"desc\";s:26:\"List of encounter mediums.\";s:2:\"id\";s:16:\"EncounterMediums\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/encounter_medium&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:10:\"CiviReport\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:40:\"{weight}.Create New Report from Template\";a:6:{s:5:\"title\";s:31:\"Create New Report from Template\";s:4:\"desc\";s:49:\"Component wise listing of all available templates\";s:2:\"id\";s:27:\"CreateNewReportfromTemplate\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/report/template/list&reset=1\";s:4:\"icon\";s:31:\"admin/small/report_template.gif\";s:5:\"extra\";N;}s:25:\"{weight}.Manage Templates\";a:6:{s:5:\"title\";s:16:\"Manage Templates\";s:4:\"desc\";s:45:\"Browse, Edit and Delete the Report templates.\";s:2:\"id\";s:15:\"ManageTemplates\";s:3:\"url\";s:69:\"/index.php?q=civicrm/admin/report/options/report_template&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:24:\"{weight}.Reports Listing\";a:6:{s:5:\"title\";s:15:\"Reports Listing\";s:4:\"desc\";s:60:\"Browse existing report, change report criteria and settings.\";s:2:\"id\";s:14:\"ReportsListing\";s:3:\"url\";s:50:\"/index.php?q=civicrm/admin/report/list&reset=1\";s:4:\"icon\";s:27:\"admin/small/report_list.gif\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}}' ) + + UPDATE civicrm_setting SET value = 'G3BA07kr' WHERE name='navigation' AND contact_id IS NOT NULL + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'navigation' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173258) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173258) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + UPDATE civicrm_dashboard_contact SET content = NULL + + +SELECT find_word,replace_word,is_active,match_type +FROM civicrm_word_replacement +WHERE domain_id = 1 + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT locale_custom_strings FROM civicrm_domain WHERE id = 1 + + UPDATE civicrm_domain SET locale_custom_strings = 'a:1:{s:5:\"en_US\";a:0:{}}' WHERE id = 1 + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'settings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173258) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173258) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'settings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173258) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173258) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + SELECT id, name, value, domain_id, contact_id, is_domain, component_id, created_date, created_id +FROM civicrm_setting +WHERE (domain_id = 1) AND (is_domain = 1) + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_all._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'all' , 'a:132:{s:32:\"address_standardization_provider\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:32:\"address_standardization_provider\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:33:\"Address Standardization Provider.\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:492:\"CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. \";}s:30:\"address_standardization_userid\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:30:\"address_standardization_userid\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Web service user ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:27:\"address_standardization_url\";a:13:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:27:\"address_standardization_url\";s:4:\"type\";s:4:\"Text\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Web Service URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:15:\"Web Service URL\";s:17:\"validate_callback\";s:19:\"CRM_Utils_Rule::url\";}s:15:\"tag_unconfirmed\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:15:\"tag_unconfirmed\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:11:\"Unconfirmed\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:36:\"Tag for Unconfirmed Petition Signers\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:17:\"petition_contacts\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:17:\"petition_contacts\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:17:\"Petition Contacts\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Petition Signers Group\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:23:\"cvv_backoffice_required\";a:12:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:23:\"cvv_backoffice_required\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:28:\"CVV required for backoffice?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"Is the CVV code required for back office credit card transactions\";s:9:\"help_text\";s:137:\"If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change\";}s:29:\"contribution_invoice_settings\";a:11:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:29:\"contribution_invoice_settings\";s:4:\"type\";s:5:\"Array\";s:7:\"default\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Contribution Invoice Settings\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_view_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_view_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_view_options\";}s:7:\"default\";s:28:\"123456789101113\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Viewing Contacts\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_edit_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_edit_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_edit_options\";}s:7:\"default\";s:37:\"123456789111214151617\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Editing Contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"advanced_search_options\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:4:\"name\";s:23:\"advanced_search_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:23:\"advanced_search_options\";}s:7:\"default\";s:46:\"123456789101112131516171819\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:22:\"user_dashboard_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:22:\"user_dashboard_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:22:\"user_dashboard_options\";}s:7:\"default\";s:15:\"1234578\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Contact Dashboard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"address_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"address_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:15:\"address_options\";}s:7:\"default\";s:23:\"123456891011\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Addressing Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"address_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"address_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:8:\"TextArea\";s:7:\"default\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Address Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"mailing_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"mailing_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Mailing Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"display_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"display_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Display Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"sort_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"sort_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Sort Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"editor_id\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"editor_id\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";s:8:\"CKEditor\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Wysiwig Editor\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:26:\"contact_ajax_check_similar\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:26:\"contact_ajax_check_similar\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Ajax Check Similar\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:17:\"ajaxPopupsEnabled\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"ajaxPopupsEnabled\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:19:\"Ajax Popups Enabled\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:30:\"activity_assignee_notification\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:30:\"activity_assignee_notification\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Notify Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:34:\"activity_assignee_notification_ics\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:34:\"activity_assignee_notification_ics\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:41:\"Include ICal Invite to Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:28:\"contact_autocomplete_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:28:\"contact_autocomplete_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:27:\"Autocomplete Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.\";s:9:\"help_text\";N;}s:25:\"contact_reference_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:25:\"contact_reference_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:57:\"CRM_Admin_Form_Setting_Search::getContactReferenceOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Contact Reference Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:508:\"Selected fields will be displayed in autocomplete dropdown search results for \'Contact Reference\' custom fields. Contact Name is always included. NOTE: You must assign \'access contact reference fields\' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the \'Limit List to Group\' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.\";s:9:\"help_text\";N;}s:27:\"contact_smart_group_display\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"contact_smart_group_display\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:5:\"radio\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Viewing Smart Groups\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"max_attachments\";a:15:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"max_attachments\";s:10:\"legacy_key\";s:14:\"maxAttachments\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Maximum Attachments\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Maximum number of files (documents, images, etc.) which can attached to emails or activities.\";s:9:\"help_text\";N;}s:11:\"maxFileSize\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"maxFileSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:25:\"Maximum File Size (in MB)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.\";s:9:\"help_text\";N;}s:16:\"contact_undelete\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"contact_undelete\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Contact Trash and Undelete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:200:\"If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).\";s:9:\"help_text\";N;}s:24:\"allowPermDeleteFinancial\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:24:\"allowPermDeleteFinancial\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:24:\"Contact Permanent Delete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:81:\"Allow Permanent Delete for contacts who are linked to live financial transactions\";s:9:\"help_text\";N;}s:12:\"versionCheck\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"versionCheck\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:31:\"Automatically Check for Updates\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:13:\"securityAlert\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:13:\"securityAlert\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:13:\"Status Alerts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:154:\"If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.\";s:9:\"help_text\";N;}s:21:\"doNotAttachPDFReceipt\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"doNotAttachPDFReceipt\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Attach PDF copy to receipts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:98:\"If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.\";s:9:\"help_text\";N;}s:15:\"wkhtmltopdfPath\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"wkhtmltopdfPath\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:256;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Path to wkhtmltopdf executable\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"recaptchaOptions\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"recaptchaOptions\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Recaptcha Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:256:\"You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.\";s:9:\"help_text\";N;}s:18:\"recaptchaPublicKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:18:\"recaptchaPublicKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Recaptcha Site Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"recaptchaPrivateKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"recaptchaPrivateKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Recaptcha Secret Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:21:\"dashboardCacheTimeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"dashboardCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:3;s:9:\"maxlength\";i:5;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Dashboard cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"checksum_timeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"checksum_timeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";i:7;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Checksum Lifespan\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"blogUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"blogUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:13:\"Blog Feed URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:38:\"Blog feed URL used by the blog dashlet\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:20:\"communityMessagesUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"communityMessagesUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Community Messages URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:44:\"Service providing CiviCRM community messages\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:17:\"gettingStartedUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"gettingStartedUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Getting Started URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:42:\"Service providing the Getting Started data\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:12:\"resCacheCode\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"resCacheCode\";s:4:\"type\";s:6:\"String\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:12:\"resCacheCode\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:62:\"Code appended to resource URLs (JS/CSS) to coerce HTTP caching\";s:9:\"help_text\";N;}s:9:\"verifySSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"verifySSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:11:\"Verify SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:92:\"If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections\";s:9:\"help_text\";s:140:\"Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes\";}s:9:\"enableSSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"enableSSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:10:\"Force SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";s:9:\"help_text\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";}s:10:\"wpBasePage\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:10:\"wpBasePage\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"WordPress Base Page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"If set, CiviCRM will use this setting as the base url.\";s:9:\"help_text\";s:177:\"By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.\";}s:23:\"secondDegRelPermissions\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"secondDegRelPermissions\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:44:\"Allow second-degree relationship permissions\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"If enabled, contacts with the permission to edit a related contact will inherit that contact\'s permission to edit other related contacts\";s:9:\"help_text\";N;}s:17:\"enable_components\";a:16:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"enable_components\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:14:\"advmultiselect\";s:15:\"html_attributes\";a:3:{s:4:\"size\";i:5;s:5:\"style\";s:11:\"width:150px\";s:5:\"class\";s:14:\"advmultiselect\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:17:\"Enable Components\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;s:9:\"on_change\";a:3:{i:0;s:33:\"CRM_Case_Info::onToggleComponents\";i:1;s:42:\"CRM_Core_Component::flushEnabledComponents\";i:2;s:31:\"call://resources/resetCacheCode\";}}s:16:\"disable_core_css\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"disable_core_css\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:19:\"Disable CiviCRM css\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:55:\"Prevent the stylesheet \"civicrm.css\" from being loaded.\";s:9:\"help_text\";N;}s:11:\"empoweredBy\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"empoweredBy\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"Display \"empowered by CiviCRM\"\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:80:\"When enabled, \"empowered by CiviCRM\" is displayed at the bottom of public forms.\";s:9:\"help_text\";N;}s:7:\"logging\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"logging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:9:\"html_type\";s:0:\"\";s:7:\"default\";s:1:\"0\";s:5:\"title\";s:7:\"Logging\";s:11:\"description\";s:73:\"If enabled, all actions will be logged with a complete record of changes.\";s:17:\"validate_callback\";s:39:\"CRM_Logging_Schema::checkLoggingSupport\";s:9:\"on_change\";a:1:{i:0;s:28:\"CRM_Logging_Schema::onToggle\";}}s:27:\"userFrameworkUsersTableName\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"userFrameworkUsersTableName\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:23:\"Drupal Users Table Name\";s:11:\"description\";s:0:\"\";}s:9:\"wpLoadPhp\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"wpLoadPhp\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:29:\"WordPress Path to wp-load.php\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"CiviCRM will use this setting as path to bootstrap WP.\";s:9:\"help_text\";N;}s:7:\"site_id\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"site_id\";s:4:\"type\";s:6:\"String\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:14:\"Unique Site ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"systemStatusCheckResult\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"systemStatusCheckResult\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:23:\"systemStatusCheckResult\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"userFrameworkLogging\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:20:\"userFrameworkLogging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Enable Drupal Watchdog Logging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:101:\"Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs\";s:9:\"help_text\";s:239:\"Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS\' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal\'s watchdog enabled)\";}s:13:\"debug_enabled\";a:13:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:13:\"debug_enabled\";s:10:\"config_key\";s:5:\"debug\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Enable Debugging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:130:\"Set this value to Yes if you want to use one of CiviCRM\'s debugging tools. This feature should NOT be enabled for production sites\";s:9:\"help_text\";s:39:\"Do not turn this on on production sites\";}s:9:\"backtrace\";a:11:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:9:\"backtrace\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Display Backtrace\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:155:\"Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites\";}s:17:\"fatalErrorHandler\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:17:\"fatalErrorHandler\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Fatal Error Handler\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.\";}s:9:\"uploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:9:\"uploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Temporary Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:90:\"File system path where temporary CiviCRM files - such as import data files - are uploaded.\";}s:14:\"imageUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:14:\"imageUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Image Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:147:\"File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).\";s:9:\"help_text\";N;}s:19:\"customFileUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:19:\"customFileUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Custom Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:195:\"Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.\";s:9:\"help_text\";N;}s:17:\"customTemplateDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:17:\"customTemplateDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Custom Template Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:207:\"Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)\";s:9:\"help_text\";N;}s:16:\"customPHPPathDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:16:\"customPHPPathDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Custom PHP Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:99:\"Path where site specific PHP code files are stored if any. This directory is searched first if set.\";s:9:\"help_text\";N;}s:13:\"extensionsDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:13:\"extensionsDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Extensions Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:41:\"Path where CiviCRM extensions are stored.\";s:9:\"help_text\";N;}s:11:\"enable_cart\";a:12:{s:4:\"name\";s:11:\"enable_cart\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Enable Event Cart\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:8:\"WRITE ME\";s:9:\"help_text\";s:8:\"WRITE ME\";}s:11:\"show_events\";a:13:{s:4:\"name\";s:11:\"show_events\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:17:\"Dashboard entries\";s:9:\"html_type\";s:6:\"select\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:107:\"Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.\";s:9:\"help_text\";N;}s:12:\"ext_repo_url\";a:14:{s:10:\"group_name\";s:21:\"Extension Preferences\";s:5:\"group\";s:3:\"ext\";s:4:\"name\";s:12:\"ext_repo_url\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Extension Repo URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";s:0:\"\";}s:23:\"customTranslateFunction\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:23:\"customTranslateFunction\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"30\";s:9:\"maxlength\";s:3:\"100\";}s:7:\"default\";N;s:5:\"title\";s:25:\"Custom Translate Function\";s:11:\"description\";s:0:\"\";}s:25:\"monetaryThousandSeparator\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:25:\"monetaryThousandSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\",\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Thousands Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"monetaryDecimalPoint\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:20:\"monetaryDecimalPoint\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Decimal Delimiter\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:11:\"moneyformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:11:\"moneyformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%c %a\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Monetary Amount Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"moneyvalueformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:16:\"moneyvalueformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:3:\"%!i\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Monetary Value Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"defaultCurrency\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"defaultCurrency\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:3:\"USD\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Currency\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"Default currency assigned to contributions and other monetary transactions.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:55:\"CRM_Admin_Form_Setting_Localization::getCurrencySymbols\";}}s:21:\"defaultContactCountry\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:21:\"defaultContactCountry\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:0:{}s:7:\"default\";s:4:\"1228\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:15:\"Default Country\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:27:\"defaultContactStateProvince\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:27:\"defaultContactStateProvince\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:11:\"ChainSelect\";s:9:\"html_type\";s:11:\"ChainSelect\";s:7:\"default\";N;s:5:\"title\";s:22:\"Default State/Province\";s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";}s:12:\"countryLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:12:\"countryLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Available Countries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"provinceLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"provinceLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Available States and Provinces\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"inheritLocale\";a:12:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"inheritLocale\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Inherit CMS Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:18:\"dateformatDatetime\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:18:\"dateformatDatetime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:20:\"%B %E%f, %Y %l:%M %P\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Date Format: Complete Date and Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatFull\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatFull\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:11:\"%B %E%f, %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Date Format: Complete Date\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:17:\"dateformatPartial\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:17:\"dateformatPartial\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%B %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Date Format: Month and Year\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatTime\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatTime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:8:\"%l:%M %P\";s:5:\"title\";s:22:\"Date Format: Time Only\";s:11:\"description\";s:0:\"\";}s:14:\"dateformatYear\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatYear\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:2:\"%Y\";s:5:\"title\";s:22:\"Date Format: Year Only\";s:11:\"description\";s:0:\"\";}s:15:\"dateInputFormat\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"dateInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:48:\"CRM_Core_SelectValues::getDatePluginInputFormats\";}s:7:\"default\";s:8:\"mm/dd/yy\";s:5:\"title\";s:17:\"Date Input Format\";s:11:\"description\";s:0:\"\";}s:14:\"fieldSeparator\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"fieldSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:1:\"2\";s:9:\"maxlength\";s:1:\"8\";}s:7:\"default\";s:1:\",\";s:5:\"title\";s:31:\"Import / Export Field Separator\";s:11:\"description\";s:144:\"Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).\";}s:15:\"fiscalYearStart\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"fiscalYearStart\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:8:\"MonthDay\";s:9:\"html_type\";s:8:\"MonthDay\";s:7:\"default\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:5:\"title\";s:17:\"Fiscal Year Start\";s:11:\"description\";s:0:\"\";}s:13:\"languageLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"languageLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Available Languages (Multi-lingual)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:24:\"CRM_Core_I18n::languages\";}}s:10:\"lcMessages\";a:16:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"lcMessages\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:5:\"en_US\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions\";}s:9:\"on_change\";a:1:{i:0;s:55:\"CRM_Admin_Form_Setting_Localization::onChangeLcMessages\";}}s:14:\"legacyEncoding\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"legacyEncoding\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"30\";}s:7:\"default\";s:12:\"Windows-1252\";s:5:\"title\";s:15:\"Legacy Encoding\";s:11:\"description\";s:184:\"If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.\";}s:15:\"timeInputFormat\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"timeInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:37:\"CRM_Core_SelectValues::getTimeFormats\";}s:7:\"default\";s:1:\"1\";s:5:\"title\";s:17:\"Time Input Format\";s:11:\"description\";s:0:\"\";s:9:\"on_change\";a:1:{i:0;s:45:\"CRM_Core_BAO_PreferencesDate::onChangeSetting\";}}s:10:\"weekBegins\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"weekBegins\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:35:\"CRM_Utils_Date::getFullWeekdayNames\";}s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"Week begins on\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:24:\"contact_default_language\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:24:\"contact_default_language\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:62:\"CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions\";}s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Default Language for contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"Default language (if any) for contact records\";s:9:\"help_text\";s:197:\"If a contact is created with no language this setting will determine the language data (if any) to save.You may or may not wish to make an assumption here about whether it matches the site language\";}s:20:\"profile_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"profile_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:22:\"track_civimail_replies\";a:13:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:22:\"track_civimail_replies\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:43:\"Track replies using VERP in Reply-To header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:78:\"If checked, mailings will default to tracking replies using VERP-ed Reply-To. \";s:9:\"help_text\";N;s:17:\"validate_callback\";s:41:\"CRM_Core_BAO_Setting::validateBoolSetting\";}s:17:\"civimail_workflow\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:17:\"civimail_workflow\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:21:\"Use CiviMail Workflow\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:25:\"civimail_server_wide_lock\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:25:\"civimail_server_wide_lock\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:39:\"Lock Mails Server-Wide for Mail Sending\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"replyTo\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:7:\"replyTo\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:22:\"Enable Custom Reply-To\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Allow CiviMail users to send mailings with a custom Reply-To header\";s:9:\"help_text\";N;}s:15:\"mailing_backend\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:15:\"mailing_backend\";s:4:\"type\";s:5:\"Array\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Mailing Backend\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:33:\"profile_add_to_group_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:33:\"profile_add_to_group_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:30:\"disable_mandatory_tokens_check\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:30:\"disable_mandatory_tokens_check\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:34:\"Disable check for mandatory tokens\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:345:\"Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.\";s:9:\"help_text\";N;}s:20:\"dedupe_email_default\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"dedupe_email_default\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:44:\"CiviMail dedupes e-mail addresses by default\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:79:\"Set the \"dedupe e-mail\" option when sending a new mailing to \"true\" by default.\";s:9:\"help_text\";N;}s:16:\"hash_mailing_url\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"hash_mailing_url\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:20:\"Hashed Mailing URL\'s\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:131:\"If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID\";s:9:\"help_text\";N;}s:29:\"civimail_multiple_bulk_emails\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:29:\"civimail_multiple_bulk_emails\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:21:\" Multiple Bulk Emails\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:96:\"If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.\";s:9:\"help_text\";N;}s:18:\"include_message_id\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:18:\"include_message_id\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:45:\"Enable CiviMail to generate Message-ID header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:16:\"mailerBatchLimit\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailerBatchLimit\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:18:\"Mailer Batch Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:110:\"Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).\";s:9:\"help_text\";N;}s:13:\"mailerJobSize\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:15:\"Mailer Job Size\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:365:\"If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter \"0\" to disable multi-threading and process mail as one single job - batch limits still apply.\";s:9:\"help_text\";N;}s:13:\"mailerJobsMax\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobsMax\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:21:\"Mailer Cron Job Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:127:\"The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)\";s:9:\"help_text\";N;}s:16:\"mailThrottleTime\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailThrottleTime\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Mailer Throttle Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:234:\"The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.\";s:9:\"help_text\";N;}s:13:\"verpSeparator\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"verpSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:32;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"VERP Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:106:\"Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.\";s:9:\"help_text\";N;}s:21:\"write_activity_record\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:21:\"write_activity_record\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:48:\"Enable CiviMail to create activities on delivery\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"geoAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"geoAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Geo Provider Key\";s:11:\"description\";s:101:\"Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).\";}s:11:\"geoProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"geoProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::geoProvider\";}s:7:\"default\";N;s:5:\"title\";s:18:\"Geocoding Provider\";s:11:\"description\";s:229:\"You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.\";}s:9:\"mapAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"mapAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Map Provider Key\";s:11:\"description\";s:238:\"Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.\";}s:11:\"mapProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"mapProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::mapProvider\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Mapping Provider\";s:11:\"description\";s:98:\"Choose the mapping provider that has the best coverage for the majority of your contact addresses.\";}s:33:\"default_renewal_contribution_page\";a:13:{s:10:\"group_name\";s:18:\"Member Preferences\";s:5:\"group\";s:6:\"member\";s:4:\"name\";s:33:\"default_renewal_contribution_page\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:14:\"pseudoconstant\";a:1:{s:4:\"name\";s:16:\"contributionPage\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:38:\"Default online membership renewal page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:348:\"If you select a default online contribution page for self-service membership renewals, a \"renew\" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.\";s:9:\"help_text\";N;}s:10:\"is_enabled\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:10:\"is_enabled\";s:5:\"title\";s:20:\"Multisite Is enabled\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:20:\"Multisite is enabled\";s:9:\"help_text\";N;}s:15:\"domain_group_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:15:\"domain_group_id\";s:5:\"title\";s:22:\"Multisite Domain Group\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:25:\"event_price_set_domain_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:25:\"event_price_set_domain_id\";s:5:\"title\";s:22:\"Domain Event Price Set\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:19:\"uniq_email_per_site\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:19:\"uniq_email_per_site\";s:4:\"type\";s:7:\"Integer\";s:5:\"title\";s:24:\"Unique Email per Domain?\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:25:\"search_autocomplete_count\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:25:\"search_autocomplete_count\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:2;}s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Autocomplete Results\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"The maximum number of contacts to show at a time when typing in an autocomplete field.\";s:9:\"help_text\";N;}s:17:\"enable_innodb_fts\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:17:\"enable_innodb_fts\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:23:\"InnoDB Full Text Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)\";s:9:\"help_text\";N;s:9:\"on_change\";a:1:{i:0;a:2:{i:0;s:22:\"CRM_Core_InnoDBIndexer\";i:1;s:11:\"onToggleFts\";}}}s:14:\"fts_query_mode\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:14:\"fts_query_mode\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:6:\"simple\";s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"How to handle full-tet queries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"includeOrderByClause\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:20:\"includeOrderByClause\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:23:\"Include Order By Clause\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:119:\"If disabled, the search results will not be ordered. This may improve response time on search results on large datasets\";s:9:\"help_text\";N;}s:21:\"includeWildCardInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeWildCardInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:18:\"Automatic Wildcard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:745:\"If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for \'ada\' will return any contact whose name includes those letters - e.g. \'Adams, Janet\', \'Nadal, Jorge\', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for \'ada\' will return any contact whose last name begins with those letters - e.g. \'Adams, Janet\' but NOT \'Nadal, Jorge\'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards (\'%\' or \'_\') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: \'%ada\' will return \'Nadal, Jorge\'.\";s:9:\"help_text\";N;}s:18:\"includeEmailInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:18:\"includeEmailInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:13:\"Include Email\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:299:\"If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.\";s:9:\"help_text\";N;}s:21:\"includeNickNameInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeNickNameInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:16:\"Include Nickname\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"If enabled, nicknames are automatically included when users search by Name.\";s:9:\"help_text\";N;}s:24:\"includeAlphabeticalPager\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:24:\"includeAlphabeticalPager\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:26:\"Include Alphabetical Pager\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:149:\"If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.\";s:9:\"help_text\";N;}s:22:\"smartGroupCacheTimeout\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"smartGroupCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";i:5;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:25:\"Smart group cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:249:\"The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.\";s:9:\"help_text\";N;}s:22:\"defaultSearchProfileID\";a:15:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"defaultSearchProfileID\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:51:\"CRM_Admin_Form_Setting_Search::getAvailableProfiles\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:30:\"Default Contact Search Profile\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"If set, this will be the default profile used for contact search.\";s:9:\"help_text\";N;}s:24:\"userFrameworkResourceURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:24:\"userFrameworkResourceURL\";s:5:\"title\";s:20:\"CiviCRM Resource URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"Absolute URL of the location where the civicrm module or component has been installed.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:14:\"imageUploadURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:16:\"Image Upload URL\";s:4:\"name\";s:14:\"imageUploadURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"URL of the location for uploaded image files.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:12:\"customCSSURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:12:\"customCSSURL\";s:5:\"title\";s:14:\"Custom CSS URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:270:\"You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:13:\"extensionsURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:22:\"Extension Resource URL\";s:4:\"name\";s:13:\"extensionsURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}}' , 20151201183258 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_all._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_settingsMetadata_1_._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'settingsMetadata_1_' , 'a:132:{s:32:\"address_standardization_provider\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:32:\"address_standardization_provider\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:33:\"Address Standardization Provider.\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:492:\"CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. \";}s:30:\"address_standardization_userid\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:30:\"address_standardization_userid\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Web service user ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:27:\"address_standardization_url\";a:13:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:27:\"address_standardization_url\";s:4:\"type\";s:4:\"Text\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Web Service URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:15:\"Web Service URL\";s:17:\"validate_callback\";s:19:\"CRM_Utils_Rule::url\";}s:15:\"tag_unconfirmed\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:15:\"tag_unconfirmed\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:11:\"Unconfirmed\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:36:\"Tag for Unconfirmed Petition Signers\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:17:\"petition_contacts\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:17:\"petition_contacts\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:17:\"Petition Contacts\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Petition Signers Group\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:23:\"cvv_backoffice_required\";a:12:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:23:\"cvv_backoffice_required\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:28:\"CVV required for backoffice?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"Is the CVV code required for back office credit card transactions\";s:9:\"help_text\";s:137:\"If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change\";}s:29:\"contribution_invoice_settings\";a:11:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:29:\"contribution_invoice_settings\";s:4:\"type\";s:5:\"Array\";s:7:\"default\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Contribution Invoice Settings\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_view_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_view_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_view_options\";}s:7:\"default\";s:28:\"123456789101113\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Viewing Contacts\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_edit_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_edit_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_edit_options\";}s:7:\"default\";s:37:\"123456789111214151617\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Editing Contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"advanced_search_options\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:4:\"name\";s:23:\"advanced_search_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:23:\"advanced_search_options\";}s:7:\"default\";s:46:\"123456789101112131516171819\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:22:\"user_dashboard_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:22:\"user_dashboard_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:22:\"user_dashboard_options\";}s:7:\"default\";s:15:\"1234578\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Contact Dashboard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"address_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"address_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:15:\"address_options\";}s:7:\"default\";s:23:\"123456891011\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Addressing Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"address_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"address_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:8:\"TextArea\";s:7:\"default\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Address Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"mailing_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"mailing_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Mailing Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"display_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"display_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Display Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"sort_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"sort_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Sort Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"editor_id\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"editor_id\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";s:8:\"CKEditor\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Wysiwig Editor\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:26:\"contact_ajax_check_similar\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:26:\"contact_ajax_check_similar\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Ajax Check Similar\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:17:\"ajaxPopupsEnabled\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"ajaxPopupsEnabled\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:19:\"Ajax Popups Enabled\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:30:\"activity_assignee_notification\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:30:\"activity_assignee_notification\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Notify Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:34:\"activity_assignee_notification_ics\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:34:\"activity_assignee_notification_ics\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:41:\"Include ICal Invite to Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:28:\"contact_autocomplete_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:28:\"contact_autocomplete_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:27:\"Autocomplete Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.\";s:9:\"help_text\";N;}s:25:\"contact_reference_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:25:\"contact_reference_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:57:\"CRM_Admin_Form_Setting_Search::getContactReferenceOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Contact Reference Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:508:\"Selected fields will be displayed in autocomplete dropdown search results for \'Contact Reference\' custom fields. Contact Name is always included. NOTE: You must assign \'access contact reference fields\' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the \'Limit List to Group\' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.\";s:9:\"help_text\";N;}s:27:\"contact_smart_group_display\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"contact_smart_group_display\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:5:\"radio\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Viewing Smart Groups\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"max_attachments\";a:15:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"max_attachments\";s:10:\"legacy_key\";s:14:\"maxAttachments\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Maximum Attachments\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Maximum number of files (documents, images, etc.) which can attached to emails or activities.\";s:9:\"help_text\";N;}s:11:\"maxFileSize\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"maxFileSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:25:\"Maximum File Size (in MB)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.\";s:9:\"help_text\";N;}s:16:\"contact_undelete\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"contact_undelete\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Contact Trash and Undelete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:200:\"If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).\";s:9:\"help_text\";N;}s:24:\"allowPermDeleteFinancial\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:24:\"allowPermDeleteFinancial\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:24:\"Contact Permanent Delete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:81:\"Allow Permanent Delete for contacts who are linked to live financial transactions\";s:9:\"help_text\";N;}s:12:\"versionCheck\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"versionCheck\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:31:\"Automatically Check for Updates\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:13:\"securityAlert\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:13:\"securityAlert\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:13:\"Status Alerts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:154:\"If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.\";s:9:\"help_text\";N;}s:21:\"doNotAttachPDFReceipt\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"doNotAttachPDFReceipt\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Attach PDF copy to receipts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:98:\"If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.\";s:9:\"help_text\";N;}s:15:\"wkhtmltopdfPath\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"wkhtmltopdfPath\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:256;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Path to wkhtmltopdf executable\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"recaptchaOptions\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"recaptchaOptions\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Recaptcha Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:256:\"You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.\";s:9:\"help_text\";N;}s:18:\"recaptchaPublicKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:18:\"recaptchaPublicKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Recaptcha Site Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"recaptchaPrivateKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"recaptchaPrivateKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Recaptcha Secret Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:21:\"dashboardCacheTimeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"dashboardCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:3;s:9:\"maxlength\";i:5;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Dashboard cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"checksum_timeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"checksum_timeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";i:7;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Checksum Lifespan\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"blogUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"blogUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:13:\"Blog Feed URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:38:\"Blog feed URL used by the blog dashlet\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:20:\"communityMessagesUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"communityMessagesUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Community Messages URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:44:\"Service providing CiviCRM community messages\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:17:\"gettingStartedUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"gettingStartedUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Getting Started URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:42:\"Service providing the Getting Started data\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:12:\"resCacheCode\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"resCacheCode\";s:4:\"type\";s:6:\"String\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:12:\"resCacheCode\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:62:\"Code appended to resource URLs (JS/CSS) to coerce HTTP caching\";s:9:\"help_text\";N;}s:9:\"verifySSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"verifySSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:11:\"Verify SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:92:\"If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections\";s:9:\"help_text\";s:140:\"Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes\";}s:9:\"enableSSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"enableSSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:10:\"Force SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";s:9:\"help_text\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";}s:10:\"wpBasePage\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:10:\"wpBasePage\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"WordPress Base Page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"If set, CiviCRM will use this setting as the base url.\";s:9:\"help_text\";s:177:\"By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.\";}s:23:\"secondDegRelPermissions\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"secondDegRelPermissions\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:44:\"Allow second-degree relationship permissions\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"If enabled, contacts with the permission to edit a related contact will inherit that contact\'s permission to edit other related contacts\";s:9:\"help_text\";N;}s:17:\"enable_components\";a:16:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"enable_components\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:14:\"advmultiselect\";s:15:\"html_attributes\";a:3:{s:4:\"size\";i:5;s:5:\"style\";s:11:\"width:150px\";s:5:\"class\";s:14:\"advmultiselect\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:17:\"Enable Components\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;s:9:\"on_change\";a:3:{i:0;s:33:\"CRM_Case_Info::onToggleComponents\";i:1;s:42:\"CRM_Core_Component::flushEnabledComponents\";i:2;s:31:\"call://resources/resetCacheCode\";}}s:16:\"disable_core_css\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"disable_core_css\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:19:\"Disable CiviCRM css\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:55:\"Prevent the stylesheet \"civicrm.css\" from being loaded.\";s:9:\"help_text\";N;}s:11:\"empoweredBy\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"empoweredBy\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"Display \"empowered by CiviCRM\"\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:80:\"When enabled, \"empowered by CiviCRM\" is displayed at the bottom of public forms.\";s:9:\"help_text\";N;}s:7:\"logging\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"logging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:9:\"html_type\";s:0:\"\";s:7:\"default\";s:1:\"0\";s:5:\"title\";s:7:\"Logging\";s:11:\"description\";s:73:\"If enabled, all actions will be logged with a complete record of changes.\";s:17:\"validate_callback\";s:39:\"CRM_Logging_Schema::checkLoggingSupport\";s:9:\"on_change\";a:1:{i:0;s:28:\"CRM_Logging_Schema::onToggle\";}}s:27:\"userFrameworkUsersTableName\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"userFrameworkUsersTableName\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:23:\"Drupal Users Table Name\";s:11:\"description\";s:0:\"\";}s:9:\"wpLoadPhp\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"wpLoadPhp\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:29:\"WordPress Path to wp-load.php\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"CiviCRM will use this setting as path to bootstrap WP.\";s:9:\"help_text\";N;}s:7:\"site_id\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"site_id\";s:4:\"type\";s:6:\"String\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:14:\"Unique Site ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"systemStatusCheckResult\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"systemStatusCheckResult\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:23:\"systemStatusCheckResult\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"userFrameworkLogging\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:20:\"userFrameworkLogging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Enable Drupal Watchdog Logging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:101:\"Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs\";s:9:\"help_text\";s:239:\"Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS\' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal\'s watchdog enabled)\";}s:13:\"debug_enabled\";a:13:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:13:\"debug_enabled\";s:10:\"config_key\";s:5:\"debug\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Enable Debugging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:130:\"Set this value to Yes if you want to use one of CiviCRM\'s debugging tools. This feature should NOT be enabled for production sites\";s:9:\"help_text\";s:39:\"Do not turn this on on production sites\";}s:9:\"backtrace\";a:11:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:9:\"backtrace\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Display Backtrace\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:155:\"Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites\";}s:17:\"fatalErrorHandler\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:17:\"fatalErrorHandler\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Fatal Error Handler\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.\";}s:9:\"uploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:9:\"uploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Temporary Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:90:\"File system path where temporary CiviCRM files - such as import data files - are uploaded.\";}s:14:\"imageUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:14:\"imageUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Image Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:147:\"File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).\";s:9:\"help_text\";N;}s:19:\"customFileUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:19:\"customFileUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Custom Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:195:\"Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.\";s:9:\"help_text\";N;}s:17:\"customTemplateDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:17:\"customTemplateDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Custom Template Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:207:\"Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)\";s:9:\"help_text\";N;}s:16:\"customPHPPathDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:16:\"customPHPPathDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Custom PHP Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:99:\"Path where site specific PHP code files are stored if any. This directory is searched first if set.\";s:9:\"help_text\";N;}s:13:\"extensionsDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:13:\"extensionsDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Extensions Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:41:\"Path where CiviCRM extensions are stored.\";s:9:\"help_text\";N;}s:11:\"enable_cart\";a:12:{s:4:\"name\";s:11:\"enable_cart\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Enable Event Cart\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:8:\"WRITE ME\";s:9:\"help_text\";s:8:\"WRITE ME\";}s:11:\"show_events\";a:13:{s:4:\"name\";s:11:\"show_events\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:17:\"Dashboard entries\";s:9:\"html_type\";s:6:\"select\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:107:\"Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.\";s:9:\"help_text\";N;}s:12:\"ext_repo_url\";a:14:{s:10:\"group_name\";s:21:\"Extension Preferences\";s:5:\"group\";s:3:\"ext\";s:4:\"name\";s:12:\"ext_repo_url\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Extension Repo URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";s:0:\"\";}s:23:\"customTranslateFunction\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:23:\"customTranslateFunction\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"30\";s:9:\"maxlength\";s:3:\"100\";}s:7:\"default\";N;s:5:\"title\";s:25:\"Custom Translate Function\";s:11:\"description\";s:0:\"\";}s:25:\"monetaryThousandSeparator\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:25:\"monetaryThousandSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\",\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Thousands Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"monetaryDecimalPoint\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:20:\"monetaryDecimalPoint\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Decimal Delimiter\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:11:\"moneyformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:11:\"moneyformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%c %a\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Monetary Amount Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"moneyvalueformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:16:\"moneyvalueformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:3:\"%!i\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Monetary Value Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"defaultCurrency\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"defaultCurrency\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:3:\"USD\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Currency\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"Default currency assigned to contributions and other monetary transactions.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:55:\"CRM_Admin_Form_Setting_Localization::getCurrencySymbols\";}}s:21:\"defaultContactCountry\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:21:\"defaultContactCountry\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:0:{}s:7:\"default\";s:4:\"1228\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:15:\"Default Country\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:27:\"defaultContactStateProvince\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:27:\"defaultContactStateProvince\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:11:\"ChainSelect\";s:9:\"html_type\";s:11:\"ChainSelect\";s:7:\"default\";N;s:5:\"title\";s:22:\"Default State/Province\";s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";}s:12:\"countryLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:12:\"countryLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Available Countries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"provinceLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"provinceLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Available States and Provinces\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"inheritLocale\";a:12:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"inheritLocale\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Inherit CMS Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:18:\"dateformatDatetime\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:18:\"dateformatDatetime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:20:\"%B %E%f, %Y %l:%M %P\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Date Format: Complete Date and Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatFull\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatFull\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:11:\"%B %E%f, %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Date Format: Complete Date\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:17:\"dateformatPartial\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:17:\"dateformatPartial\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%B %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Date Format: Month and Year\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatTime\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatTime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:8:\"%l:%M %P\";s:5:\"title\";s:22:\"Date Format: Time Only\";s:11:\"description\";s:0:\"\";}s:14:\"dateformatYear\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatYear\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:2:\"%Y\";s:5:\"title\";s:22:\"Date Format: Year Only\";s:11:\"description\";s:0:\"\";}s:15:\"dateInputFormat\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"dateInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:48:\"CRM_Core_SelectValues::getDatePluginInputFormats\";}s:7:\"default\";s:8:\"mm/dd/yy\";s:5:\"title\";s:17:\"Date Input Format\";s:11:\"description\";s:0:\"\";}s:14:\"fieldSeparator\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"fieldSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:1:\"2\";s:9:\"maxlength\";s:1:\"8\";}s:7:\"default\";s:1:\",\";s:5:\"title\";s:31:\"Import / Export Field Separator\";s:11:\"description\";s:144:\"Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).\";}s:15:\"fiscalYearStart\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"fiscalYearStart\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:8:\"MonthDay\";s:9:\"html_type\";s:8:\"MonthDay\";s:7:\"default\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:5:\"title\";s:17:\"Fiscal Year Start\";s:11:\"description\";s:0:\"\";}s:13:\"languageLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"languageLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Available Languages (Multi-lingual)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:24:\"CRM_Core_I18n::languages\";}}s:10:\"lcMessages\";a:16:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"lcMessages\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:5:\"en_US\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions\";}s:9:\"on_change\";a:1:{i:0;s:55:\"CRM_Admin_Form_Setting_Localization::onChangeLcMessages\";}}s:14:\"legacyEncoding\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"legacyEncoding\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"30\";}s:7:\"default\";s:12:\"Windows-1252\";s:5:\"title\";s:15:\"Legacy Encoding\";s:11:\"description\";s:184:\"If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.\";}s:15:\"timeInputFormat\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"timeInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:37:\"CRM_Core_SelectValues::getTimeFormats\";}s:7:\"default\";s:1:\"1\";s:5:\"title\";s:17:\"Time Input Format\";s:11:\"description\";s:0:\"\";s:9:\"on_change\";a:1:{i:0;s:45:\"CRM_Core_BAO_PreferencesDate::onChangeSetting\";}}s:10:\"weekBegins\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"weekBegins\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:35:\"CRM_Utils_Date::getFullWeekdayNames\";}s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"Week begins on\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:24:\"contact_default_language\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:24:\"contact_default_language\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:62:\"CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions\";}s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Default Language for contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"Default language (if any) for contact records\";s:9:\"help_text\";s:197:\"If a contact is created with no language this setting will determine the language data (if any) to save.You may or may not wish to make an assumption here about whether it matches the site language\";}s:20:\"profile_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"profile_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:22:\"track_civimail_replies\";a:13:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:22:\"track_civimail_replies\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:43:\"Track replies using VERP in Reply-To header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:78:\"If checked, mailings will default to tracking replies using VERP-ed Reply-To. \";s:9:\"help_text\";N;s:17:\"validate_callback\";s:41:\"CRM_Core_BAO_Setting::validateBoolSetting\";}s:17:\"civimail_workflow\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:17:\"civimail_workflow\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:21:\"Use CiviMail Workflow\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:25:\"civimail_server_wide_lock\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:25:\"civimail_server_wide_lock\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:39:\"Lock Mails Server-Wide for Mail Sending\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"replyTo\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:7:\"replyTo\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:22:\"Enable Custom Reply-To\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Allow CiviMail users to send mailings with a custom Reply-To header\";s:9:\"help_text\";N;}s:15:\"mailing_backend\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:15:\"mailing_backend\";s:4:\"type\";s:5:\"Array\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Mailing Backend\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:33:\"profile_add_to_group_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:33:\"profile_add_to_group_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:30:\"disable_mandatory_tokens_check\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:30:\"disable_mandatory_tokens_check\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:34:\"Disable check for mandatory tokens\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:345:\"Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.\";s:9:\"help_text\";N;}s:20:\"dedupe_email_default\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"dedupe_email_default\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:44:\"CiviMail dedupes e-mail addresses by default\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:79:\"Set the \"dedupe e-mail\" option when sending a new mailing to \"true\" by default.\";s:9:\"help_text\";N;}s:16:\"hash_mailing_url\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"hash_mailing_url\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:20:\"Hashed Mailing URL\'s\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:131:\"If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID\";s:9:\"help_text\";N;}s:29:\"civimail_multiple_bulk_emails\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:29:\"civimail_multiple_bulk_emails\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:21:\" Multiple Bulk Emails\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:96:\"If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.\";s:9:\"help_text\";N;}s:18:\"include_message_id\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:18:\"include_message_id\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:45:\"Enable CiviMail to generate Message-ID header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:16:\"mailerBatchLimit\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailerBatchLimit\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:18:\"Mailer Batch Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:110:\"Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).\";s:9:\"help_text\";N;}s:13:\"mailerJobSize\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:15:\"Mailer Job Size\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:365:\"If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter \"0\" to disable multi-threading and process mail as one single job - batch limits still apply.\";s:9:\"help_text\";N;}s:13:\"mailerJobsMax\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobsMax\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:21:\"Mailer Cron Job Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:127:\"The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)\";s:9:\"help_text\";N;}s:16:\"mailThrottleTime\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailThrottleTime\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Mailer Throttle Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:234:\"The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.\";s:9:\"help_text\";N;}s:13:\"verpSeparator\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"verpSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:32;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"VERP Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:106:\"Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.\";s:9:\"help_text\";N;}s:21:\"write_activity_record\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:21:\"write_activity_record\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:48:\"Enable CiviMail to create activities on delivery\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"geoAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"geoAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Geo Provider Key\";s:11:\"description\";s:101:\"Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).\";}s:11:\"geoProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"geoProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::geoProvider\";}s:7:\"default\";N;s:5:\"title\";s:18:\"Geocoding Provider\";s:11:\"description\";s:229:\"You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.\";}s:9:\"mapAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"mapAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Map Provider Key\";s:11:\"description\";s:238:\"Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.\";}s:11:\"mapProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"mapProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::mapProvider\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Mapping Provider\";s:11:\"description\";s:98:\"Choose the mapping provider that has the best coverage for the majority of your contact addresses.\";}s:33:\"default_renewal_contribution_page\";a:13:{s:10:\"group_name\";s:18:\"Member Preferences\";s:5:\"group\";s:6:\"member\";s:4:\"name\";s:33:\"default_renewal_contribution_page\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:14:\"pseudoconstant\";a:1:{s:4:\"name\";s:16:\"contributionPage\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:38:\"Default online membership renewal page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:348:\"If you select a default online contribution page for self-service membership renewals, a \"renew\" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.\";s:9:\"help_text\";N;}s:10:\"is_enabled\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:10:\"is_enabled\";s:5:\"title\";s:20:\"Multisite Is enabled\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:20:\"Multisite is enabled\";s:9:\"help_text\";N;}s:15:\"domain_group_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:15:\"domain_group_id\";s:5:\"title\";s:22:\"Multisite Domain Group\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:25:\"event_price_set_domain_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:25:\"event_price_set_domain_id\";s:5:\"title\";s:22:\"Domain Event Price Set\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:19:\"uniq_email_per_site\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:19:\"uniq_email_per_site\";s:4:\"type\";s:7:\"Integer\";s:5:\"title\";s:24:\"Unique Email per Domain?\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:25:\"search_autocomplete_count\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:25:\"search_autocomplete_count\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:2;}s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Autocomplete Results\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"The maximum number of contacts to show at a time when typing in an autocomplete field.\";s:9:\"help_text\";N;}s:17:\"enable_innodb_fts\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:17:\"enable_innodb_fts\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:23:\"InnoDB Full Text Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)\";s:9:\"help_text\";N;s:9:\"on_change\";a:1:{i:0;a:2:{i:0;s:22:\"CRM_Core_InnoDBIndexer\";i:1;s:11:\"onToggleFts\";}}}s:14:\"fts_query_mode\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:14:\"fts_query_mode\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:6:\"simple\";s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"How to handle full-tet queries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"includeOrderByClause\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:20:\"includeOrderByClause\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:23:\"Include Order By Clause\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:119:\"If disabled, the search results will not be ordered. This may improve response time on search results on large datasets\";s:9:\"help_text\";N;}s:21:\"includeWildCardInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeWildCardInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:18:\"Automatic Wildcard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:745:\"If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for \'ada\' will return any contact whose name includes those letters - e.g. \'Adams, Janet\', \'Nadal, Jorge\', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for \'ada\' will return any contact whose last name begins with those letters - e.g. \'Adams, Janet\' but NOT \'Nadal, Jorge\'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards (\'%\' or \'_\') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: \'%ada\' will return \'Nadal, Jorge\'.\";s:9:\"help_text\";N;}s:18:\"includeEmailInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:18:\"includeEmailInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:13:\"Include Email\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:299:\"If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.\";s:9:\"help_text\";N;}s:21:\"includeNickNameInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeNickNameInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:16:\"Include Nickname\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"If enabled, nicknames are automatically included when users search by Name.\";s:9:\"help_text\";N;}s:24:\"includeAlphabeticalPager\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:24:\"includeAlphabeticalPager\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:26:\"Include Alphabetical Pager\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:149:\"If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.\";s:9:\"help_text\";N;}s:22:\"smartGroupCacheTimeout\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"smartGroupCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";i:5;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:25:\"Smart group cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:249:\"The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.\";s:9:\"help_text\";N;}s:22:\"defaultSearchProfileID\";a:15:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"defaultSearchProfileID\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:51:\"CRM_Admin_Form_Setting_Search::getAvailableProfiles\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:30:\"Default Contact Search Profile\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"If set, this will be the default profile used for contact search.\";s:9:\"help_text\";N;}s:24:\"userFrameworkResourceURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:24:\"userFrameworkResourceURL\";s:5:\"title\";s:20:\"CiviCRM Resource URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"Absolute URL of the location where the civicrm module or component has been installed.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:14:\"imageUploadURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:16:\"Image Upload URL\";s:4:\"name\";s:14:\"imageUploadURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"URL of the location for uploaded image files.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:12:\"customCSSURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:12:\"customCSSURL\";s:5:\"title\";s:14:\"Custom CSS URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:270:\"You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:13:\"extensionsURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:22:\"Extension Resource URL\";s:4:\"name\";s:13:\"extensionsURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}}' , 20151201183258 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_settingsMetadata_1_._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_defaults:domain._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'defaults:domain' , 'a:133:{s:32:\"address_standardization_provider\";N;s:30:\"address_standardization_userid\";N;s:27:\"address_standardization_url\";N;s:15:\"tag_unconfirmed\";s:11:\"Unconfirmed\";s:17:\"petition_contacts\";s:17:\"Petition Contacts\";s:23:\"cvv_backoffice_required\";s:1:\"1\";s:29:\"contribution_invoice_settings\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:20:\"contact_view_options\";s:28:\"123456789101113\";s:20:\"contact_edit_options\";s:37:\"123456789111214151617\";s:23:\"advanced_search_options\";s:46:\"123456789101112131516171819\";s:22:\"user_dashboard_options\";s:15:\"1234578\";s:15:\"address_options\";s:23:\"123456891011\";s:14:\"address_format\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:14:\"mailing_format\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:19:\"display_name_format\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:16:\"sort_name_format\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:9:\"editor_id\";s:8:\"CKEditor\";s:26:\"contact_ajax_check_similar\";s:1:\"1\";s:17:\"ajaxPopupsEnabled\";i:1;s:30:\"activity_assignee_notification\";s:1:\"1\";s:34:\"activity_assignee_notification_ics\";s:1:\"0\";s:28:\"contact_autocomplete_options\";s:5:\"12\";s:25:\"contact_reference_options\";s:5:\"12\";s:27:\"contact_smart_group_display\";s:1:\"1\";s:15:\"max_attachments\";i:3;s:11:\"maxFileSize\";i:3;s:16:\"contact_undelete\";i:1;s:24:\"allowPermDeleteFinancial\";b:0;s:12:\"versionCheck\";i:1;s:13:\"securityAlert\";i:1;s:21:\"doNotAttachPDFReceipt\";i:0;s:15:\"wkhtmltopdfPath\";N;s:16:\"recaptchaOptions\";N;s:18:\"recaptchaPublicKey\";N;s:19:\"recaptchaPrivateKey\";N;s:21:\"dashboardCacheTimeout\";N;s:16:\"checksum_timeout\";i:7;s:7:\"blogUrl\";s:9:\"*default*\";s:20:\"communityMessagesUrl\";s:9:\"*default*\";s:17:\"gettingStartedUrl\";s:9:\"*default*\";s:12:\"resCacheCode\";N;s:9:\"verifySSL\";i:1;s:9:\"enableSSL\";i:0;s:10:\"wpBasePage\";s:0:\"\";s:23:\"secondDegRelPermissions\";i:0;s:17:\"enable_components\";a:6:{i:0;s:9:\"CiviEvent\";i:1;s:14:\"CiviContribute\";i:2;s:10:\"CiviMember\";i:3;s:8:\"CiviMail\";i:4;s:10:\"CiviReport\";i:5;s:10:\"CiviPledge\";}s:16:\"disable_core_css\";s:1:\"0\";s:11:\"empoweredBy\";i:1;s:7:\"logging\";s:1:\"0\";s:27:\"userFrameworkUsersTableName\";N;s:9:\"wpLoadPhp\";s:0:\"\";s:7:\"site_id\";s:0:\"\";s:23:\"systemStatusCheckResult\";i:0;s:20:\"userFrameworkLogging\";s:1:\"0\";s:13:\"debug_enabled\";s:1:\"0\";s:9:\"backtrace\";s:1:\"0\";s:17:\"fatalErrorHandler\";N;s:9:\"uploadDir\";s:23:\"[civicrm.files]/upload/\";s:14:\"imageUploadDir\";s:35:\"[civicrm.files]/persist/contribute/\";s:19:\"customFileUploadDir\";s:23:\"[civicrm.files]/custom/\";s:17:\"customTemplateDir\";N;s:16:\"customPHPPathDir\";N;s:13:\"extensionsDir\";s:20:\"[civicrm.files]/ext/\";s:11:\"enable_cart\";s:1:\"0\";s:11:\"show_events\";i:10;s:12:\"ext_repo_url\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:23:\"customTranslateFunction\";N;s:25:\"monetaryThousandSeparator\";s:1:\",\";s:20:\"monetaryDecimalPoint\";s:1:\".\";s:11:\"moneyformat\";s:5:\"%c %a\";s:16:\"moneyvalueformat\";s:3:\"%!i\";s:15:\"defaultCurrency\";s:3:\"USD\";s:21:\"defaultContactCountry\";s:4:\"1228\";s:27:\"defaultContactStateProvince\";N;s:12:\"countryLimit\";a:1:{i:0;s:4:\"1228\";}s:13:\"provinceLimit\";a:1:{i:0;s:4:\"1228\";}s:13:\"inheritLocale\";s:1:\"0\";s:18:\"dateformatDatetime\";s:20:\"%B %E%f, %Y %l:%M %P\";s:14:\"dateformatFull\";s:11:\"%B %E%f, %Y\";s:17:\"dateformatPartial\";s:5:\"%B %Y\";s:14:\"dateformatTime\";s:8:\"%l:%M %P\";s:14:\"dateformatYear\";s:2:\"%Y\";s:15:\"dateInputFormat\";s:8:\"mm/dd/yy\";s:14:\"fieldSeparator\";s:1:\",\";s:15:\"fiscalYearStart\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:13:\"languageLimit\";N;s:10:\"lcMessages\";s:5:\"en_US\";s:14:\"legacyEncoding\";s:12:\"Windows-1252\";s:15:\"timeInputFormat\";s:1:\"1\";s:10:\"weekBegins\";s:1:\"0\";s:24:\"contact_default_language\";s:9:\"*default*\";s:20:\"profile_double_optin\";s:1:\"1\";s:22:\"track_civimail_replies\";s:1:\"0\";s:17:\"civimail_workflow\";s:1:\"0\";s:25:\"civimail_server_wide_lock\";s:1:\"0\";s:7:\"replyTo\";i:0;s:15:\"mailing_backend\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:33:\"profile_add_to_group_double_optin\";s:1:\"0\";s:30:\"disable_mandatory_tokens_check\";i:0;s:20:\"dedupe_email_default\";i:1;s:16:\"hash_mailing_url\";i:0;s:29:\"civimail_multiple_bulk_emails\";i:0;s:18:\"include_message_id\";b:0;s:16:\"mailerBatchLimit\";i:0;s:13:\"mailerJobSize\";i:0;s:13:\"mailerJobsMax\";i:0;s:16:\"mailThrottleTime\";i:0;s:13:\"verpSeparator\";s:1:\".\";s:21:\"write_activity_record\";s:1:\"1\";s:9:\"geoAPIKey\";N;s:11:\"geoProvider\";N;s:9:\"mapAPIKey\";N;s:11:\"mapProvider\";N;s:33:\"default_renewal_contribution_page\";N;s:10:\"is_enabled\";s:1:\"0\";s:15:\"domain_group_id\";s:1:\"0\";s:25:\"event_price_set_domain_id\";s:1:\"0\";s:19:\"uniq_email_per_site\";s:1:\"0\";s:25:\"search_autocomplete_count\";i:10;s:17:\"enable_innodb_fts\";i:0;s:14:\"fts_query_mode\";s:6:\"simple\";s:20:\"includeOrderByClause\";i:1;s:21:\"includeWildCardInName\";i:1;s:18:\"includeEmailInName\";i:1;s:21:\"includeNickNameInName\";i:0;s:24:\"includeAlphabeticalPager\";i:1;s:22:\"smartGroupCacheTimeout\";i:5;s:22:\"defaultSearchProfileID\";N;s:24:\"userFrameworkResourceURL\";s:15:\"[civicrm.root]/\";s:14:\"imageUploadURL\";s:35:\"[civicrm.files]/persist/contribute/\";s:12:\"customCSSURL\";N;s:13:\"extensionsURL\";s:20:\"[civicrm.files]/ext/\";s:12:\"resourceBase\";s:15:\"[civicrm.root]/\";}' , 20151201183258 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_defaults:domain._' ) + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'js_strings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173258) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173258) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'resCacheCode' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + INSERT INTO civicrm_setting (name , value , domain_id , is_domain , created_date ) VALUES ('resCacheCode' , 's:5:\"n0opA\";' , 1 , 1 , 20151201063258 ) + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'civicrm_%' + + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'log_civicrm_%' + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT * + FROM civicrm_custom_group + + WHERE ( extends IN ( 'Contact','Individual','Household','Organization' ) ) AND ( civicrm_custom_group.is_multiple = 0 ) + + + + + + DROP FUNCTION IF EXISTS civicrm_strip_non_numeric + + + CREATE FUNCTION civicrm_strip_non_numeric(input VARCHAR(255) CHARACTER SET utf8) + RETURNS VARCHAR(255) CHARACTER SET utf8 + DETERMINISTIC + NO SQL + BEGIN + DECLARE output VARCHAR(255) CHARACTER SET utf8 DEFAULT ''; + DECLARE iterator INT DEFAULT 1; + WHILE iterator < (LENGTH(input) + 1) DO + IF SUBSTRING(input, iterator, 1) IN ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9') THEN + SET output = CONCAT(output, SUBSTRING(input, iterator, 1)); + END IF; + SET iterator = iterator + 1; + END WHILE; + RETURN output; + END + + DROP TRIGGER IF EXISTS civicrm_acl_before_insert + + DROP TRIGGER IF EXISTS civicrm_acl_before_update + + DROP TRIGGER IF EXISTS civicrm_acl_before_delete + + DROP TRIGGER IF EXISTS civicrm_acl_after_insert + + DROP TRIGGER IF EXISTS civicrm_acl_after_update + + DROP TRIGGER IF EXISTS civicrm_acl_after_delete + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_insert + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_update + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_delete + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_insert + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_update + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_delete + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_insert + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_update + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_delete + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_insert + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_update + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_delete + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_insert + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_update + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_delete + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_insert + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_update + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_delete + + DROP TRIGGER IF EXISTS civicrm_activity_before_insert + + DROP TRIGGER IF EXISTS civicrm_activity_before_update + + DROP TRIGGER IF EXISTS civicrm_activity_before_delete + + DROP TRIGGER IF EXISTS civicrm_activity_after_insert + + DROP TRIGGER IF EXISTS civicrm_activity_after_update + + DROP TRIGGER IF EXISTS civicrm_activity_after_delete + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_address_before_insert + + DROP TRIGGER IF EXISTS civicrm_address_before_update + + DROP TRIGGER IF EXISTS civicrm_address_before_delete + + DROP TRIGGER IF EXISTS civicrm_address_after_insert + + DROP TRIGGER IF EXISTS civicrm_address_after_update + + DROP TRIGGER IF EXISTS civicrm_address_after_delete + + DROP TRIGGER IF EXISTS civicrm_address_format_before_insert + + DROP TRIGGER IF EXISTS civicrm_address_format_before_update + + DROP TRIGGER IF EXISTS civicrm_address_format_before_delete + + DROP TRIGGER IF EXISTS civicrm_address_format_after_insert + + DROP TRIGGER IF EXISTS civicrm_address_format_after_update + + DROP TRIGGER IF EXISTS civicrm_address_format_after_delete + + DROP TRIGGER IF EXISTS civicrm_batch_before_insert + + DROP TRIGGER IF EXISTS civicrm_batch_before_update + + DROP TRIGGER IF EXISTS civicrm_batch_before_delete + + DROP TRIGGER IF EXISTS civicrm_batch_after_insert + + DROP TRIGGER IF EXISTS civicrm_batch_after_update + + DROP TRIGGER IF EXISTS civicrm_batch_after_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_before_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_before_update + + DROP TRIGGER IF EXISTS civicrm_campaign_before_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_after_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_after_update + + DROP TRIGGER IF EXISTS civicrm_campaign_after_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_update + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_update + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_before_update + + DROP TRIGGER IF EXISTS civicrm_case_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_after_update + + DROP TRIGGER IF EXISTS civicrm_case_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_update + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_update + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_type_before_update + + DROP TRIGGER IF EXISTS civicrm_case_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_type_after_update + + DROP TRIGGER IF EXISTS civicrm_case_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_component_before_insert + + DROP TRIGGER IF EXISTS civicrm_component_before_update + + DROP TRIGGER IF EXISTS civicrm_component_before_delete + + DROP TRIGGER IF EXISTS civicrm_component_after_insert + + DROP TRIGGER IF EXISTS civicrm_component_after_update + + DROP TRIGGER IF EXISTS civicrm_component_after_delete + + DROP TRIGGER IF EXISTS civicrm_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_update + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_update + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_delete + + DROP TRIGGER IF EXISTS civicrm_country_before_insert + + DROP TRIGGER IF EXISTS civicrm_country_before_update + + DROP TRIGGER IF EXISTS civicrm_country_before_delete + + DROP TRIGGER IF EXISTS civicrm_country_after_insert + + DROP TRIGGER IF EXISTS civicrm_country_after_update + + DROP TRIGGER IF EXISTS civicrm_country_after_delete + + DROP TRIGGER IF EXISTS civicrm_county_before_insert + + DROP TRIGGER IF EXISTS civicrm_county_before_update + + DROP TRIGGER IF EXISTS civicrm_county_before_delete + + DROP TRIGGER IF EXISTS civicrm_county_after_insert + + DROP TRIGGER IF EXISTS civicrm_county_after_update + + DROP TRIGGER IF EXISTS civicrm_county_after_delete + + DROP TRIGGER IF EXISTS civicrm_currency_before_insert + + DROP TRIGGER IF EXISTS civicrm_currency_before_update + + DROP TRIGGER IF EXISTS civicrm_currency_before_delete + + DROP TRIGGER IF EXISTS civicrm_currency_after_insert + + DROP TRIGGER IF EXISTS civicrm_currency_after_update + + DROP TRIGGER IF EXISTS civicrm_currency_after_delete + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_update + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_update + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_update + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_update + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_cxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_cxn_before_update + + DROP TRIGGER IF EXISTS civicrm_cxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_cxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_cxn_after_update + + DROP TRIGGER IF EXISTS civicrm_cxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_discount_before_insert + + DROP TRIGGER IF EXISTS civicrm_discount_before_update + + DROP TRIGGER IF EXISTS civicrm_discount_before_delete + + DROP TRIGGER IF EXISTS civicrm_discount_after_insert + + DROP TRIGGER IF EXISTS civicrm_discount_after_update + + DROP TRIGGER IF EXISTS civicrm_discount_after_delete + + DROP TRIGGER IF EXISTS civicrm_domain_before_insert + + DROP TRIGGER IF EXISTS civicrm_domain_before_update + + DROP TRIGGER IF EXISTS civicrm_domain_before_delete + + DROP TRIGGER IF EXISTS civicrm_domain_after_insert + + DROP TRIGGER IF EXISTS civicrm_domain_after_update + + DROP TRIGGER IF EXISTS civicrm_domain_after_delete + + DROP TRIGGER IF EXISTS civicrm_email_before_insert + + DROP TRIGGER IF EXISTS civicrm_email_before_update + + DROP TRIGGER IF EXISTS civicrm_email_before_delete + + DROP TRIGGER IF EXISTS civicrm_email_after_insert + + DROP TRIGGER IF EXISTS civicrm_email_after_update + + DROP TRIGGER IF EXISTS civicrm_email_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_delete + + DROP TRIGGER IF EXISTS civicrm_event_before_insert + + DROP TRIGGER IF EXISTS civicrm_event_before_update + + DROP TRIGGER IF EXISTS civicrm_event_before_delete + + DROP TRIGGER IF EXISTS civicrm_event_after_insert + + DROP TRIGGER IF EXISTS civicrm_event_after_update + + DROP TRIGGER IF EXISTS civicrm_event_after_delete + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_insert + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_update + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_delete + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_insert + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_update + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_delete + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_insert + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_update + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_delete + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_insert + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_update + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_delete + + DROP TRIGGER IF EXISTS civicrm_extension_before_insert + + DROP TRIGGER IF EXISTS civicrm_extension_before_update + + DROP TRIGGER IF EXISTS civicrm_extension_before_delete + + DROP TRIGGER IF EXISTS civicrm_extension_after_insert + + DROP TRIGGER IF EXISTS civicrm_extension_after_update + + DROP TRIGGER IF EXISTS civicrm_extension_after_delete + + DROP TRIGGER IF EXISTS civicrm_file_before_insert + + DROP TRIGGER IF EXISTS civicrm_file_before_update + + DROP TRIGGER IF EXISTS civicrm_file_before_delete + + DROP TRIGGER IF EXISTS civicrm_file_after_insert + + DROP TRIGGER IF EXISTS civicrm_file_after_update + + DROP TRIGGER IF EXISTS civicrm_file_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_grant_before_insert + + DROP TRIGGER IF EXISTS civicrm_grant_before_update + + DROP TRIGGER IF EXISTS civicrm_grant_before_delete + + DROP TRIGGER IF EXISTS civicrm_grant_after_insert + + DROP TRIGGER IF EXISTS civicrm_grant_after_update + + DROP TRIGGER IF EXISTS civicrm_grant_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_before_update + + DROP TRIGGER IF EXISTS civicrm_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_after_update + + DROP TRIGGER IF EXISTS civicrm_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_update + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_update + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_update + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_update + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_delete + + DROP TRIGGER IF EXISTS civicrm_im_before_insert + + DROP TRIGGER IF EXISTS civicrm_im_before_update + + DROP TRIGGER IF EXISTS civicrm_im_before_delete + + DROP TRIGGER IF EXISTS civicrm_im_after_insert + + DROP TRIGGER IF EXISTS civicrm_im_after_update + + DROP TRIGGER IF EXISTS civicrm_im_after_delete + + DROP TRIGGER IF EXISTS civicrm_job_before_insert + + DROP TRIGGER IF EXISTS civicrm_job_before_update + + DROP TRIGGER IF EXISTS civicrm_job_before_delete + + DROP TRIGGER IF EXISTS civicrm_job_after_insert + + DROP TRIGGER IF EXISTS civicrm_job_after_update + + DROP TRIGGER IF EXISTS civicrm_job_after_delete + + DROP TRIGGER IF EXISTS civicrm_line_item_before_insert + + DROP TRIGGER IF EXISTS civicrm_line_item_before_update + + DROP TRIGGER IF EXISTS civicrm_line_item_before_delete + + DROP TRIGGER IF EXISTS civicrm_line_item_after_insert + + DROP TRIGGER IF EXISTS civicrm_line_item_after_update + + DROP TRIGGER IF EXISTS civicrm_line_item_after_delete + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_update + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_update + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_location_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_location_type_before_update + + DROP TRIGGER IF EXISTS civicrm_location_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_location_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_location_type_after_update + + DROP TRIGGER IF EXISTS civicrm_location_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_insert + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_update + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_delete + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_insert + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_update + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_delete + + DROP TRIGGER IF EXISTS civicrm_managed_before_insert + + DROP TRIGGER IF EXISTS civicrm_managed_before_update + + DROP TRIGGER IF EXISTS civicrm_managed_before_delete + + DROP TRIGGER IF EXISTS civicrm_managed_after_insert + + DROP TRIGGER IF EXISTS civicrm_managed_after_update + + DROP TRIGGER IF EXISTS civicrm_managed_after_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_before_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_before_update + + DROP TRIGGER IF EXISTS civicrm_mapping_before_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_after_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_after_update + + DROP TRIGGER IF EXISTS civicrm_mapping_after_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_update + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_update + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_insert + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_update + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_delete + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_insert + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_update + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_delete + + DROP TRIGGER IF EXISTS civicrm_navigation_before_insert + + DROP TRIGGER IF EXISTS civicrm_navigation_before_update + + DROP TRIGGER IF EXISTS civicrm_navigation_before_delete + + DROP TRIGGER IF EXISTS civicrm_navigation_after_insert + + DROP TRIGGER IF EXISTS civicrm_navigation_after_update + + DROP TRIGGER IF EXISTS civicrm_navigation_after_delete + + DROP TRIGGER IF EXISTS civicrm_note_before_insert + + DROP TRIGGER IF EXISTS civicrm_note_before_update + + DROP TRIGGER IF EXISTS civicrm_note_before_delete + + DROP TRIGGER IF EXISTS civicrm_note_after_insert + + DROP TRIGGER IF EXISTS civicrm_note_after_update + + DROP TRIGGER IF EXISTS civicrm_note_after_delete + + DROP TRIGGER IF EXISTS civicrm_openid_before_insert + + DROP TRIGGER IF EXISTS civicrm_openid_before_update + + DROP TRIGGER IF EXISTS civicrm_openid_before_delete + + DROP TRIGGER IF EXISTS civicrm_openid_after_insert + + DROP TRIGGER IF EXISTS civicrm_openid_after_update + + DROP TRIGGER IF EXISTS civicrm_openid_after_delete + + DROP TRIGGER IF EXISTS civicrm_option_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_option_group_before_update + + DROP TRIGGER IF EXISTS civicrm_option_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_option_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_option_group_after_update + + DROP TRIGGER IF EXISTS civicrm_option_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_option_value_before_insert + + DROP TRIGGER IF EXISTS civicrm_option_value_before_update + + DROP TRIGGER IF EXISTS civicrm_option_value_before_delete + + DROP TRIGGER IF EXISTS civicrm_option_value_after_insert + + DROP TRIGGER IF EXISTS civicrm_option_value_after_update + + DROP TRIGGER IF EXISTS civicrm_option_value_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_before_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_before_update + + DROP TRIGGER IF EXISTS civicrm_pcp_before_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_after_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_after_update + + DROP TRIGGER IF EXISTS civicrm_pcp_after_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_update + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_update + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_persistent_before_insert + + DROP TRIGGER IF EXISTS civicrm_persistent_before_update + + DROP TRIGGER IF EXISTS civicrm_persistent_before_delete + + DROP TRIGGER IF EXISTS civicrm_persistent_after_insert + + DROP TRIGGER IF EXISTS civicrm_persistent_after_update + + DROP TRIGGER IF EXISTS civicrm_persistent_after_delete + + DROP TRIGGER IF EXISTS civicrm_phone_before_insert + + DROP TRIGGER IF EXISTS civicrm_phone_before_update + + DROP TRIGGER IF EXISTS civicrm_phone_before_delete + + DROP TRIGGER IF EXISTS civicrm_phone_after_insert + + DROP TRIGGER IF EXISTS civicrm_phone_after_update + + DROP TRIGGER IF EXISTS civicrm_phone_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_insert + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_update + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_delete + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_insert + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_update + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_before_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_before_update + + DROP TRIGGER IF EXISTS civicrm_premiums_before_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_after_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_after_update + + DROP TRIGGER IF EXISTS civicrm_premiums_after_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_update + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_update + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_before_update + + DROP TRIGGER IF EXISTS civicrm_price_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_after_update + + DROP TRIGGER IF EXISTS civicrm_price_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_update + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_update + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_before_update + + DROP TRIGGER IF EXISTS civicrm_price_set_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_after_update + + DROP TRIGGER IF EXISTS civicrm_price_set_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_update + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_update + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_delete + + DROP TRIGGER IF EXISTS civicrm_print_label_before_insert + + DROP TRIGGER IF EXISTS civicrm_print_label_before_update + + DROP TRIGGER IF EXISTS civicrm_print_label_before_delete + + DROP TRIGGER IF EXISTS civicrm_print_label_after_insert + + DROP TRIGGER IF EXISTS civicrm_print_label_after_update + + DROP TRIGGER IF EXISTS civicrm_print_label_after_delete + + DROP TRIGGER IF EXISTS civicrm_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_product_before_update + + DROP TRIGGER IF EXISTS civicrm_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_product_after_update + + DROP TRIGGER IF EXISTS civicrm_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_insert + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_update + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_delete + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_insert + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_update + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_before_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_before_update + + DROP TRIGGER IF EXISTS civicrm_relationship_before_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_after_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_after_update + + DROP TRIGGER IF EXISTS civicrm_relationship_after_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_update + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_update + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_insert + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_update + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_delete + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_insert + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_update + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_delete + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_insert + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_update + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_delete + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_insert + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_update + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_delete + + DROP TRIGGER IF EXISTS civicrm_setting_before_insert + + DROP TRIGGER IF EXISTS civicrm_setting_before_update + + DROP TRIGGER IF EXISTS civicrm_setting_before_delete + + DROP TRIGGER IF EXISTS civicrm_setting_after_insert + + DROP TRIGGER IF EXISTS civicrm_setting_after_update + + DROP TRIGGER IF EXISTS civicrm_setting_after_delete + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_insert + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_update + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_delete + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_insert + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_update + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_delete + + DROP TRIGGER IF EXISTS civicrm_state_province_before_insert + + DROP TRIGGER IF EXISTS civicrm_state_province_before_update + + DROP TRIGGER IF EXISTS civicrm_state_province_before_delete + + DROP TRIGGER IF EXISTS civicrm_state_province_after_insert + + DROP TRIGGER IF EXISTS civicrm_state_province_after_update + + DROP TRIGGER IF EXISTS civicrm_state_province_after_delete + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_insert + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_update + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_delete + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_insert + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_update + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_delete + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_insert + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_update + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_delete + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_insert + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_update + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_delete + + DROP TRIGGER IF EXISTS civicrm_survey_before_insert + + DROP TRIGGER IF EXISTS civicrm_survey_before_update + + DROP TRIGGER IF EXISTS civicrm_survey_before_delete + + DROP TRIGGER IF EXISTS civicrm_survey_after_insert + + DROP TRIGGER IF EXISTS civicrm_survey_after_update + + DROP TRIGGER IF EXISTS civicrm_survey_after_delete + + DROP TRIGGER IF EXISTS civicrm_tag_before_insert + + DROP TRIGGER IF EXISTS civicrm_tag_before_update + + DROP TRIGGER IF EXISTS civicrm_tag_before_delete + + DROP TRIGGER IF EXISTS civicrm_tag_after_insert + + DROP TRIGGER IF EXISTS civicrm_tag_after_update + + DROP TRIGGER IF EXISTS civicrm_tag_after_delete + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_insert + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_update + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_delete + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_insert + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_update + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_delete + + DROP TRIGGER IF EXISTS civicrm_timezone_before_insert + + DROP TRIGGER IF EXISTS civicrm_timezone_before_update + + DROP TRIGGER IF EXISTS civicrm_timezone_before_delete + + DROP TRIGGER IF EXISTS civicrm_timezone_after_insert + + DROP TRIGGER IF EXISTS civicrm_timezone_after_update + + DROP TRIGGER IF EXISTS civicrm_timezone_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_delete + + DROP TRIGGER IF EXISTS civicrm_website_before_insert + + DROP TRIGGER IF EXISTS civicrm_website_before_update + + DROP TRIGGER IF EXISTS civicrm_website_before_delete + + DROP TRIGGER IF EXISTS civicrm_website_after_insert + + DROP TRIGGER IF EXISTS civicrm_website_after_update + + DROP TRIGGER IF EXISTS civicrm_website_after_delete + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_insert + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_update + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_delete + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_insert + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_update + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_delete + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_insert + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_update + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_delete + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_insert + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_update + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_delete + + SHOW TRIGGERS LIKE 'civicrm_%' + + DROP TRIGGER IF EXISTS civicrm_contact_before_insert + + CREATE TRIGGER civicrm_contact_before_insert before insert ON civicrm_contact FOR EACH ROW BEGIN +SET NEW.created_date = CURRENT_TIMESTAMP; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_insert + + CREATE TRIGGER civicrm_address_after_insert after insert ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_update + + CREATE TRIGGER civicrm_address_after_update after update ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_delete + + CREATE TRIGGER civicrm_address_after_delete after delete ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_insert + + CREATE TRIGGER civicrm_email_after_insert after insert ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_update + + CREATE TRIGGER civicrm_email_after_update after update ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_delete + + CREATE TRIGGER civicrm_email_after_delete after delete ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_insert + + CREATE TRIGGER civicrm_im_after_insert after insert ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_update + + CREATE TRIGGER civicrm_im_after_update after update ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_delete + + CREATE TRIGGER civicrm_im_after_delete after delete ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_insert + + CREATE TRIGGER civicrm_phone_after_insert after insert ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_before_insert + + CREATE TRIGGER civicrm_phone_before_insert before insert ON civicrm_phone FOR EACH ROW BEGIN +SET NEW.phone_numeric = civicrm_strip_non_numeric(NEW.phone); + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_update + + CREATE TRIGGER civicrm_phone_after_update after update ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_before_update + + CREATE TRIGGER civicrm_phone_before_update before update ON civicrm_phone FOR EACH ROW BEGIN +SET NEW.phone_numeric = civicrm_strip_non_numeric(NEW.phone); + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_delete + + CREATE TRIGGER civicrm_phone_after_delete after delete ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_insert + + CREATE TRIGGER civicrm_website_after_insert after insert ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_update + + CREATE TRIGGER civicrm_website_after_update after update ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_delete + + CREATE TRIGGER civicrm_website_after_delete after delete ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + SELECT * + FROM civicrm_managed + + WHERE ( civicrm_managed.module = 'civicrm' ) + + + + + + SELECT * + FROM civicrm_managed + + WHERE ( module NOT IN ("civicrm") ) + + + + + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'enable_components' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'resCacheCode' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + UPDATE civicrm_setting SET name = 'resCacheCode' , value = 's:5:\"n4qvB\";' , domain_id = 1 , is_domain = 1 , created_date = 20151201063300 WHERE ( civicrm_setting.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_setting' + + INSERT INTO civicrm_setting (name , value , domain_id , is_domain , created_date ) VALUES ('enable_components' , 'a:6:{i:0;s:9:\"CiviEvent\";i:1;s:14:\"CiviContribute\";i:2;s:10:\"CiviMember\";i:3;s:8:\"CiviMail\";i:4;s:10:\"CiviReport\";i:5;s:10:\"CiviPledge\";}' , 1 , 1 , 20151201063300 ) + + DELETE FROM civicrm_extension WHERE full_name LIKE "test.%" + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173300) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + SET SESSION sql_mode = STRICT_TRANS_TABLES + + SET NAMES utf8 + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) AND ( civicrm_cache.path = 'mapper/moduleFiles' ) + + + + + + + SELECT full_name, file + FROM civicrm_extension + WHERE is_active = 1 + AND type = "module" + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) AND ( civicrm_cache.path = 'mapper/moduleFiles' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('4ae609f4c5da3b0980c7327dbc5f7dae' , 'mapper/moduleFiles' , 'a:0:{}' , 20151201183300 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._' ) + + SET SESSION sql_mode = STRICT_TRANS_TABLES + + SET NAMES utf8 + + SELECT id, name, value, domain_id, contact_id, is_domain, component_id, created_date, created_id +FROM civicrm_setting +WHERE (domain_id = 1) AND (is_domain = 1) + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + SET time_zone = '+01:00' + + SELECT date_format(now(), '%Y-%m-%d %H:%i') + + SELECT * + FROM civicrm_component + + + + + + + + SELECT locale_custom_strings FROM civicrm_domain WHERE id = 1 + + BEGIN + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields bf0270a930587280789519dbfbc0c2bb' ) + + + + + + +SELECT * +FROM civicrm_contact_type +WHERE parent_id IS NULL + AND is_active = 1 + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'cg_extend_objects' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Contact', 'Individual', 'Contact' , 'Organization', 'Contact' , 'Household', 'Contact' ) AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields bf0270a930587280789519dbfbc0c2bb._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields bf0270a930587280789519dbfbc0c2bb' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields bf0270a930587280789519dbfbc0c2bb' , 'a:0:{}' , 20151201183300 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields bf0270a930587280789519dbfbc0c2bb._' ) + + SELECT name AS id, name AS label FROM civicrm_contact_type WHERE parent_id IS NULL ORDER BY name + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'individual_prefix' + AND g.is_active = 1 ORDER BY v.weight + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'individual_suffix' + AND g.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_location_type + + WHERE ( civicrm_location_type.is_default = 1 ) + + + + + + +SELECT v.value as value ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'addressee' + AND g.is_active = 1 AND v.is_active = 1 AND is_default = 1 AND (filter = 1 OR filter = 0) ORDER BY v.weight + + +SELECT v.value as value ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'email_greeting' + AND g.is_active = 1 AND v.is_active = 1 AND is_default = 1 AND (filter = 1 OR filter = 0) ORDER BY v.weight + + +SELECT v.value as value ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'postal_greeting' + AND g.is_active = 1 AND v.is_active = 1 AND is_default = 1 AND (filter = 1 OR filter = 0) ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'individual_prefix' + AND g.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'individual_suffix' + AND g.is_active = 1 ORDER BY v.weight + + SELECT date_format + FROM civicrm_preferences_date + + WHERE ( civicrm_preferences_date.name = 'birth' ) + + + + + + INSERT INTO civicrm_contact (contact_type , contact_sub_type , sort_name , display_name , preferred_communication_method , preferred_language , hash , first_name , middle_name , last_name , prefix_id , suffix_id , email_greeting_id , postal_greeting_id , addressee_id ) VALUES ('Individual' , NULL , 'Anderson, Anthony' , 'Mr. Anthony Anderson II' , '' , 'en_US' , '7dbbe3ac4ccb6dc49c2850bfde86eb9f' , 'Anthony' , 'J.' , 'Anderson' , 3 , 3 , 1 , 1 , 1 ) + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_contact' , 3 , 'civicrm_contact,3' , 3 , 20151201183300 ) + + +SELECT email, + civicrm_location_type.name as locationType, + civicrm_email.is_primary as is_primary, + civicrm_email.on_hold as on_hold, + civicrm_email.id as email_id, + civicrm_email.location_type_id as locationTypeId +FROM civicrm_contact +LEFT JOIN civicrm_email ON ( civicrm_email.contact_id = civicrm_contact.id ) +LEFT JOIN civicrm_location_type ON ( civicrm_email.location_type_id = civicrm_location_type.id ) +WHERE civicrm_contact.id = 3 +ORDER BY civicrm_email.is_primary DESC, email_id ASC + + +UPDATE civicrm_email +SET is_bulkmail = 0 +WHERE contact_id = 3 + + + INSERT INTO civicrm_email (contact_id , location_type_id , email , is_primary , is_billing ) VALUES ( 3 , 1 , 'anthony_anderson@civicrm.org' , 1 , 0 ) + + + SELECT civicrm_email.email as email + FROM civicrm_contact +LEFT JOIN civicrm_email ON ( civicrm_contact.id = civicrm_email.contact_id ) + WHERE civicrm_email.is_primary = 1 + AND civicrm_contact.id = 3 + + SELECT * + FROM civicrm_uf_match + + WHERE ( civicrm_uf_match.domain_id = 1 ) AND ( civicrm_uf_match.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_email + + WHERE ( ( is_primary = 1 ) ) AND ( civicrm_email.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_openid + + WHERE ( ( is_primary = 1 ) ) AND ( civicrm_openid.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_phone + + WHERE ( ( is_primary = 1 ) ) AND ( civicrm_phone.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_address + + WHERE ( ( is_primary = 1 ) ) AND ( civicrm_address.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_im + + WHERE ( ( is_primary = 1 ) ) AND ( civicrm_im.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_email + + WHERE ( ( is_primary = 0 OR is_primary IS NULL ) ) AND ( civicrm_email.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_openid + + WHERE ( ( is_primary = 0 OR is_primary IS NULL ) ) AND ( civicrm_openid.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_phone + + WHERE ( ( is_primary = 0 OR is_primary IS NULL ) ) AND ( civicrm_phone.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_address + + WHERE ( ( is_primary = 0 OR is_primary IS NULL ) ) AND ( civicrm_address.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_im + + WHERE ( ( is_primary = 0 OR is_primary IS NULL ) ) AND ( civicrm_im.contact_id = 3 ) + + + + + + + SELECT civicrm_email.email as email + FROM civicrm_contact +LEFT JOIN civicrm_email ON ( civicrm_contact.id = civicrm_email.contact_id ) + WHERE civicrm_email.is_primary = 1 + AND civicrm_contact.id = 3 + + SELECT * + FROM civicrm_uf_match + + WHERE ( civicrm_uf_match.domain_id = 1 ) AND ( civicrm_uf_match.contact_id = 3 ) + + + + + + SELECT label + FROM civicrm_contact_type + + WHERE ( civicrm_contact_type.name = 'Individual' ) + + + + + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173300) >= 5) + + + +DELETE gc +FROM civicrm_group_contact_cache gc +INNER JOIN civicrm_group g ON g.id = gc.group_id +WHERE TIMESTAMPDIFF(MINUTE, g.cache_date, 20151201173300) >= 5 + + + +UPDATE civicrm_group g +SET refresh_date = 20151201173800 +WHERE TIMESTAMPDIFF(MINUTE, cache_date, 20151201173300) < 5 +AND refresh_date IS NULL + + + +UPDATE civicrm_group g +SET cache_date = null, + refresh_date = null +WHERE TIMESTAMPDIFF(MINUTE, cache_date, 20151201173300) >= 5 + + + SELECT * + FROM civicrm_contact + + WHERE ( civicrm_contact.id = 3 ) AND ( civicrm_contact.contact_type = 'Individual' ) AND ( civicrm_contact.contact_sub_type IS NULL ) AND ( civicrm_contact.sort_name = 'Anderson, Anthony' ) AND ( civicrm_contact.display_name = 'Mr. Anthony Anderson II' ) AND ( civicrm_contact.preferred_communication_method = '' ) AND ( civicrm_contact.preferred_language = 'en_US' ) AND ( civicrm_contact.hash = '7dbbe3ac4ccb6dc49c2850bfde86eb9f' ) AND ( civicrm_contact.first_name = 'Anthony' ) AND ( civicrm_contact.middle_name = 'J.' ) AND ( civicrm_contact.last_name = 'Anderson' ) AND ( civicrm_contact.prefix_id = 3 ) AND ( civicrm_contact.suffix_id = 3 ) AND ( civicrm_contact.email_greeting_id = 1 ) AND ( civicrm_contact.postal_greeting_id = 1 ) AND ( civicrm_contact.addressee_id = 1 ) + + + + + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'email_greeting' + AND g.is_active = 1 AND v.is_active = 1 AND (v.filter = 0 OR v.filter =1) ORDER BY v.weight + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'exportableFields All_0_0_0_' ) + + + + + + +SELECT subtype.*, parent.name as parent, parent.label as parent_label +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type parent ON subtype.parent_id = parent.id +WHERE subtype.name IS NOT NULL AND subtype.parent_id IS NOT NULL + AND subtype.is_active = 1 AND parent.is_active = 1 ORDER BY parent.id + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Address' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183300 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183300 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Household', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183300 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Organization', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183300 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_exportableFields All_0_0_0_._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'exportableFields All_0_0_0_' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'exportableFields All_0_0_0_' , 'a:78:{s:2:\"id\";a:10:{s:4:\"name\";s:2:\"id\";s:4:\"type\";i:1;s:5:\"title\";s:10:\"Contact ID\";s:11:\"description\";s:17:\"Unique Contact ID\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:18:\"civicrm_contact.id\";s:13:\"headerPattern\";s:24:\"/internal|contact?|id$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:12:\"contact_type\";a:12:{s:4:\"name\";s:12:\"contact_type\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Contact Type\";s:11:\"description\";s:16:\"Type of Contact.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.contact_type\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:17:\"parent_id IS NULL\";}}s:16:\"contact_sub_type\";a:13:{s:4:\"name\";s:16:\"contact_sub_type\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Contact Subtype\";s:11:\"description\";s:57:\"May be used to over-ride contact view and edit templates.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.contact_sub_type\";s:13:\"headerPattern\";s:41:\"/C(ontact )?(subtype|sub-type|sub type)/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:12:\"Multi-Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:21:\"parent_id IS NOT NULL\";}}s:12:\"do_not_email\";a:9:{s:4:\"name\";s:12:\"do_not_email\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Email\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_email\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(email)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_phone\";a:9:{s:4:\"name\";s:12:\"do_not_phone\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Phone\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_phone\";s:13:\"headerPattern\";s:28:\"/d(o )?(not )?(call|phone)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:11:\"do_not_mail\";a:9:{s:4:\"name\";s:11:\"do_not_mail\";s:4:\"type\";i:16;s:5:\"title\";s:11:\"Do Not Mail\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.do_not_mail\";s:13:\"headerPattern\";s:45:\"/^(d(o\\s)?n(ot\\s)?mail)|(\\w*)?bulk\\s?(\\w*)$/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"do_not_sms\";a:9:{s:4:\"name\";s:10:\"do_not_sms\";s:4:\"type\";i:16;s:5:\"title\";s:10:\"Do Not Sms\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.do_not_sms\";s:13:\"headerPattern\";s:21:\"/d(o )?(not )?(sms)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_trade\";a:9:{s:4:\"name\";s:12:\"do_not_trade\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Trade\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_trade\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(trade)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"is_opt_out\";a:11:{s:4:\"name\";s:10:\"is_opt_out\";s:4:\"type\";i:16;s:5:\"title\";s:29:\"No Bulk Emails (User Opt Out)\";s:11:\"description\";s:93:\"Has the contact opted out from receiving all bulk email from the organization or site domain?\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_opt_out\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:16:\"legal_identifier\";a:12:{s:4:\"name\";s:16:\"legal_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Legal Identifier\";s:11:\"description\";s:104:\"May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.\n \";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.legal_identifier\";s:13:\"headerPattern\";s:13:\"/legal\\s?id/i\";s:11:\"dataPattern\";s:12:\"/\\w+?\\d{5,}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"external_identifier\";a:12:{s:4:\"name\";s:19:\"external_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:19:\"External Identifier\";s:11:\"description\";s:113:\"Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:35:\"civicrm_contact.external_identifier\";s:13:\"headerPattern\";s:16:\"/external\\s?id/i\";s:11:\"dataPattern\";s:11:\"/^\\d{11,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"sort_name\";a:11:{s:4:\"name\";s:9:\"sort_name\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Sort Name\";s:11:\"description\";s:45:\"Name used for sorting different contact types\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:25:\"civicrm_contact.sort_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:12:\"display_name\";a:11:{s:4:\"name\";s:12:\"display_name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Display Name\";s:11:\"description\";s:76:\"Formatted name representing preferred format for display/print/other output.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.display_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"nick_name\";a:12:{s:4:\"name\";s:9:\"nick_name\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Nickname\";s:11:\"description\";s:9:\"Nickname.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.nick_name\";s:13:\"headerPattern\";s:21:\"/n(ick\\s)name|nick$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"legal_name\";a:12:{s:4:\"name\";s:10:\"legal_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"Legal Name\";s:11:\"description\";s:11:\"Legal Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.legal_name\";s:13:\"headerPattern\";s:27:\"/^legal|(l(egal\\s)?name)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"image_URL\";a:12:{s:4:\"name\";s:9:\"image_URL\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Image Url\";s:11:\"description\";s:81:\"optional URL for preferred image (photo, logo, etc.) to display for this contact.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.image_URL\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"File\";}}s:30:\"preferred_communication_method\";a:13:{s:4:\"name\";s:30:\"preferred_communication_method\";s:4:\"type\";i:2;s:5:\"title\";s:30:\"Preferred Communication Method\";s:11:\"description\";s:44:\"What is the preferred mode of communication.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:46:\"civicrm_contact.preferred_communication_method\";s:13:\"headerPattern\";s:37:\"/^p(ref\\w*\\s)?c(omm\\w*)|( meth\\w*)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:30:\"preferred_communication_method\";s:14:\"optionEditPath\";s:52:\"civicrm/admin/options/preferred_communication_method\";}}s:18:\"preferred_language\";a:13:{s:4:\"name\";s:18:\"preferred_language\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Preferred Language\";s:11:\"description\";s:87:\"Which language is preferred for communication. FK to languages in civicrm_option_value.\";s:9:\"maxlength\";i:5;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_contact.preferred_language\";s:13:\"headerPattern\";s:8:\"/^lang/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:3:{s:15:\"optionGroupName\";s:9:\"languages\";s:9:\"keyColumn\";s:4:\"name\";s:14:\"optionEditPath\";s:31:\"civicrm/admin/options/languages\";}}s:21:\"preferred_mail_format\";a:14:{s:4:\"name\";s:21:\"preferred_mail_format\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Preferred Mail Format\";s:11:\"description\";s:47:\"What is the preferred mode of sending an email.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.preferred_mail_format\";s:13:\"headerPattern\";s:35:\"/^p(ref\\w*\\s)?m(ail\\s)?f(orm\\w*)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"Both\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:26:\"CRM_Core_SelectValues::pmf\";}}s:4:\"hash\";a:10:{s:4:\"name\";s:4:\"hash\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Contact Hash\";s:11:\"description\";s:52:\"Key for validating requests related to this contact.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"export\";b:1;s:5:\"where\";s:20:\"civicrm_contact.hash\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";}s:14:\"contact_source\";a:12:{s:4:\"name\";s:6:\"source\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Contact Source\";s:11:\"description\";s:61:\"where contact come from, e.g. import, donate module insert...\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:22:\"civicrm_contact.source\";s:13:\"headerPattern\";s:24:\"/(C(ontact\\s)?Source)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"first_name\";a:12:{s:4:\"name\";s:10:\"first_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"First Name\";s:11:\"description\";s:11:\"First Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.first_name\";s:13:\"headerPattern\";s:27:\"/^first|(f(irst\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:11:\"middle_name\";a:12:{s:4:\"name\";s:11:\"middle_name\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Middle Name\";s:11:\"description\";s:12:\"Middle Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.middle_name\";s:13:\"headerPattern\";s:29:\"/^middle|(m(iddle\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"last_name\";a:12:{s:4:\"name\";s:9:\"last_name\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Last Name\";s:11:\"description\";s:10:\"Last Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.last_name\";s:13:\"headerPattern\";s:25:\"/^last|(l(ast\\s)?name)$/i\";s:11:\"dataPattern\";s:16:\"/^\\w+(\\s\\w+)?+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"prefix_id\";a:11:{s:4:\"name\";s:9:\"prefix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Prefix\";s:11:\"description\";s:53:\"Prefix or Title for name (Ms, Mr...). FK to prefix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.prefix_id\";s:13:\"headerPattern\";s:18:\"/^(prefix|title)/i\";s:11:\"dataPattern\";s:26:\"/^(mr|ms|mrs|sir|dr)\\.?$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_prefix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_prefix\";}}s:9:\"suffix_id\";a:11:{s:4:\"name\";s:9:\"suffix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Suffix\";s:11:\"description\";s:44:\"Suffix for name (Jr, Sr...). FK to suffix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.suffix_id\";s:13:\"headerPattern\";s:11:\"/^suffix$/i\";s:11:\"dataPattern\";s:20:\"/^(sr|jr)\\.?|i{2,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_suffix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_suffix\";}}s:12:\"formal_title\";a:11:{s:4:\"name\";s:12:\"formal_title\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Formal Title\";s:11:\"description\";s:70:\"Formal (academic or similar) title in front of name. (Prof., Dr. etc.)\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.formal_title\";s:13:\"headerPattern\";s:9:\"/^title/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:22:\"communication_style_id\";a:10:{s:4:\"name\";s:22:\"communication_style_id\";s:4:\"type\";i:1;s:5:\"title\";s:19:\"Communication Style\";s:11:\"description\";s:124:\"Communication style (e.g. formal vs. familiar) to use with this contact. FK to communication styles in civicrm_option_value.\";s:6:\"export\";b:1;s:5:\"where\";s:38:\"civicrm_contact.communication_style_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:19:\"communication_style\";s:14:\"optionEditPath\";s:41:\"civicrm/admin/options/communication_style\";}}s:9:\"job_title\";a:12:{s:4:\"name\";s:9:\"job_title\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Job Title\";s:11:\"description\";s:9:\"Job Title\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.job_title\";s:13:\"headerPattern\";s:24:\"/^job|(j(ob\\s)?title)$/i\";s:11:\"dataPattern\";s:2:\"//\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"gender_id\";a:11:{s:4:\"name\";s:9:\"gender_id\";s:4:\"type\";i:1;s:5:\"title\";s:6:\"Gender\";s:11:\"description\";s:15:\"FK to gender ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.gender_id\";s:13:\"headerPattern\";s:11:\"/^gender$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:6:\"gender\";s:14:\"optionEditPath\";s:28:\"civicrm/admin/options/gender\";}}s:10:\"birth_date\";a:10:{s:4:\"name\";s:10:\"birth_date\";s:4:\"type\";i:4;s:5:\"title\";s:10:\"Birth Date\";s:11:\"description\";s:13:\"Date of birth\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.birth_date\";s:13:\"headerPattern\";s:46:\"/^birth|(b(irth\\s)?date)|D(\\W*)O(\\W*)B(\\W*)$/i\";s:11:\"dataPattern\";s:21:\"/\\d{4}-?\\d{2}-?\\d{2}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:11:\"is_deceased\";a:9:{s:4:\"name\";s:11:\"is_deceased\";s:4:\"type\";i:16;s:5:\"title\";s:8:\"Deceased\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.is_deceased\";s:13:\"headerPattern\";s:21:\"/i(s\\s)?d(eceased)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:13:\"deceased_date\";a:10:{s:4:\"name\";s:13:\"deceased_date\";s:4:\"type\";i:4;s:5:\"title\";s:13:\"Deceased Date\";s:11:\"description\";s:16:\"Date of deceased\";s:6:\"import\";b:1;s:5:\"where\";s:29:\"civicrm_contact.deceased_date\";s:13:\"headerPattern\";s:33:\"/^deceased|(d(eceased\\s)?date)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:14:\"household_name\";a:12:{s:4:\"name\";s:14:\"household_name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Household Name\";s:11:\"description\";s:15:\"Household Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.household_name\";s:13:\"headerPattern\";s:35:\"/^household|(h(ousehold\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:17:\"organization_name\";a:12:{s:4:\"name\";s:17:\"organization_name\";s:4:\"type\";i:2;s:5:\"title\";s:17:\"Organization Name\";s:11:\"description\";s:18:\"Organization Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:33:\"civicrm_contact.organization_name\";s:13:\"headerPattern\";s:41:\"/^organization|(o(rganization\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:8:\"sic_code\";a:12:{s:4:\"name\";s:8:\"sic_code\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Sic Code\";s:11:\"description\";s:38:\"Standard Industry Classification Code.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:24:\"civicrm_contact.sic_code\";s:13:\"headerPattern\";s:23:\"/^sic|(s(ic\\s)?code)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:14:\"user_unique_id\";a:13:{s:4:\"name\";s:14:\"user_unique_id\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Unique ID (OpenID)\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.user_unique_id\";s:13:\"headerPattern\";s:29:\"/^Open\\s?ID|u(niq\\w*)?\\s?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"current_employer_id\";a:10:{s:4:\"name\";s:11:\"employer_id\";s:4:\"type\";i:1;s:5:\"title\";s:16:\"Current Employer\";s:11:\"description\";s:38:\"OPTIONAL FK to civicrm_contact record.\";s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_contact.employer_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:11:\"FKClassName\";s:23:\"CRM_Contact_DAO_Contact\";s:4:\"html\";a:1:{s:4:\"type\";s:19:\"Autocomplete-Select\";}}s:18:\"contact_is_deleted\";a:9:{s:4:\"name\";s:10:\"is_deleted\";s:4:\"type\";i:16;s:5:\"title\";s:19:\"Contact is in Trash\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_deleted\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"created_date\";a:10:{s:4:\"name\";s:12:\"created_date\";s:4:\"type\";i:256;s:5:\"title\";s:12:\"Created Date\";s:11:\"description\";s:33:\"When was the contact was created.\";s:8:\"required\";b:0;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.created_date\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:7:\"default\";s:4:\"NULL\";}s:13:\"modified_date\";a:10:{s:4:\"name\";s:13:\"modified_date\";s:4:\"type\";i:256;s:5:\"title\";s:13:\"Modified Date\";s:11:\"description\";s:84:\"When was the contact (or closely related entity) was created or modified or deleted.\";s:8:\"required\";b:0;s:6:\"export\";b:1;s:5:\"where\";s:29:\"civicrm_contact.modified_date\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:7:\"default\";s:45:\"CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP\";}s:9:\"addressee\";a:11:{s:4:\"name\";s:9:\"addressee\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Addressee\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:15:\"addressee.label\";s:13:\"headerPattern\";s:14:\"/^addressee$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:14:\"email_greeting\";a:11:{s:4:\"name\";s:14:\"email_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Email Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"email_greeting.label\";s:13:\"headerPattern\";s:19:\"/^email_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:15:\"postal_greeting\";a:11:{s:4:\"name\";s:15:\"postal_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Postal Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"postal_greeting.label\";s:13:\"headerPattern\";s:20:\"/^postal_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:16:\"current_employer\";a:2:{s:4:\"name\";s:17:\"organization_name\";s:5:\"title\";s:16:\"Current Employer\";}s:13:\"location_type\";a:4:{s:4:\"name\";s:13:\"location_type\";s:5:\"where\";s:26:\"civicrm_location_type.name\";s:5:\"title\";s:13:\"Location Type\";s:15:\"hasLocationType\";b:1;}s:14:\"street_address\";a:13:{s:4:\"name\";s:14:\"street_address\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Street Address\";s:11:\"description\";s:245:\"Concatenation of all routable street address components (prefix, street number, street name, suffix, unit\n number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail\n delivery, etc.).\n \";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_address.street_address\";s:13:\"headerPattern\";s:19:\"/(street|address)/i\";s:11:\"dataPattern\";s:56:\"/^(\\d{1,5}( [0-9A-Za-z]+)+)$|^(P\\.?O\\.\\? Box \\d{1,5})$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:13:\"street_number\";a:10:{s:4:\"name\";s:13:\"street_number\";s:4:\"type\";i:1;s:5:\"title\";s:13:\"Street Number\";s:11:\"description\";s:96:\"Numeric portion of address number on the street, e.g. For 112A Main St, the street_number = 112.\";s:6:\"export\";b:1;s:5:\"where\";s:29:\"civicrm_address.street_number\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:20:\"street_number_suffix\";a:12:{s:4:\"name\";s:20:\"street_number_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:20:\"Street Number Suffix\";s:11:\"description\";s:109:\"Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A\n \";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"export\";b:1;s:5:\"where\";s:36:\"civicrm_address.street_number_suffix\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"street_name\";a:12:{s:4:\"name\";s:11:\"street_name\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Street Name\";s:11:\"description\";s:92:\"Actual street name, excluding St, Dr, Rd, Ave, e.g. For 112 Main St, the street_name = Main.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_address.street_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"street_unit\";a:12:{s:4:\"name\";s:11:\"street_unit\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Street Unit\";s:11:\"description\";s:64:\"Secondary unit designator, e.g. Apt 3 or Unit # 14, or Bldg 1200\";s:9:\"maxlength\";i:16;s:4:\"size\";i:12;s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_address.street_unit\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_1\";a:13:{s:4:\"name\";s:22:\"supplemental_address_1\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 1\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 1\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_1\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_2\";a:13:{s:4:\"name\";s:22:\"supplemental_address_2\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 2\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 2\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_2\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:4:\"city\";a:13:{s:4:\"name\";s:4:\"city\";s:4:\"type\";i:2;s:5:\"title\";s:4:\"City\";s:11:\"description\";s:27:\"City, Town or Village Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.city\";s:13:\"headerPattern\";s:7:\"/city/i\";s:11:\"dataPattern\";s:37:\"/^[A-Za-z]+(\\.?)(\\s?[A-Za-z]+){0,2}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:18:\"postal_code_suffix\";a:13:{s:4:\"name\";s:18:\"postal_code_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Postal Code Suffix\";s:11:\"description\";s:54:\"Store the suffix, like the +4 part in the USPS system.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:3;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_address.postal_code_suffix\";s:13:\"headerPattern\";s:29:\"/p(ostal)\\sc(ode)\\ss(uffix)/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"postal_code\";a:13:{s:4:\"name\";s:11:\"postal_code\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Postal Code\";s:11:\"description\";s:114:\"Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_address.postal_code\";s:13:\"headerPattern\";s:13:\"/postal|zip/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:10:\"geo_code_1\";a:11:{s:4:\"name\";s:10:\"geo_code_1\";s:4:\"type\";i:512;s:5:\"title\";s:8:\"Latitude\";s:11:\"description\";s:8:\"Latitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_1\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:10:\"geo_code_2\";a:11:{s:4:\"name\";s:10:\"geo_code_2\";s:4:\"type\";i:512;s:5:\"title\";s:9:\"Longitude\";s:11:\"description\";s:9:\"Longitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_2\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:12:\"address_name\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Address Name\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.name\";s:13:\"headerPattern\";s:33:\"/^location|(l(ocation\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"master_id\";a:11:{s:4:\"name\";s:9:\"master_id\";s:4:\"type\";i:1;s:5:\"title\";s:25:\"Master Address Belongs To\";s:11:\"description\";s:16:\"FK to Address ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_address.master_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:11:\"FKClassName\";s:20:\"CRM_Core_DAO_Address\";s:15:\"hasLocationType\";b:1;}s:6:\"county\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"County\";s:11:\"description\";s:14:\"Name of County\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_county.name\";s:13:\"headerPattern\";s:9:\"/county/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:14:\"state_province\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"State\";s:11:\"description\";s:22:\"Name of State/Province\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_state_province.name\";s:13:\"headerPattern\";s:20:\"/state|prov(ince)?/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:7:\"country\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Country\";s:11:\"description\";s:12:\"Country Name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_country.name\";s:13:\"headerPattern\";s:10:\"/country/i\";s:11:\"dataPattern\";s:39:\"/^[A-Z][a-z]+\\.?(\\s+[A-Z][a-z]+){0,3}$/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:5:\"phone\";a:13:{s:4:\"name\";s:5:\"phone\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Phone\";s:11:\"description\";s:22:\"Complete phone number.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_phone.phone\";s:13:\"headerPattern\";s:8:\"/phone/i\";s:11:\"dataPattern\";s:19:\"/^[\\d\\(\\)\\-\\.\\s]+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"phone_ext\";a:13:{s:4:\"name\";s:9:\"phone_ext\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Phone Extension\";s:11:\"description\";s:38:\"Optional extension for a phone number.\";s:9:\"maxlength\";i:16;s:4:\"size\";i:4;s:6:\"import\";b:1;s:5:\"where\";s:23:\"civicrm_phone.phone_ext\";s:13:\"headerPattern\";s:12:\"/extension/i\";s:11:\"dataPattern\";s:7:\"/^\\d+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:5:\"email\";a:14:{s:4:\"name\";s:5:\"email\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Email\";s:11:\"description\";s:13:\"Email address\";s:9:\"maxlength\";i:254;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_email.email\";s:13:\"headerPattern\";s:10:\"/e.?mail/i\";s:11:\"dataPattern\";s:91:\"/^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$/\";s:6:\"export\";b:1;s:4:\"rule\";s:5:\"email\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:7:\"on_hold\";a:11:{s:4:\"name\";s:7:\"on_hold\";s:4:\"type\";i:16;s:5:\"title\";s:7:\"On Hold\";s:11:\"description\";s:31:\"Is this address on bounce hold?\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:21:\"civicrm_email.on_hold\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}s:15:\"hasLocationType\";b:1;}s:11:\"is_bulkmail\";a:10:{s:4:\"name\";s:11:\"is_bulkmail\";s:4:\"type\";i:16;s:5:\"title\";s:17:\"Use for Bulk Mail\";s:11:\"description\";s:31:\"Is this address for bulk mail ?\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:25:\"civicrm_email.is_bulkmail\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_text\";a:11:{s:4:\"name\";s:14:\"signature_text\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Text\";s:11:\"description\";s:39:\"Text formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_text\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_html\";a:11:{s:4:\"name\";s:14:\"signature_html\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Html\";s:11:\"description\";s:39:\"HTML formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_html\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:11:\"im_provider\";a:4:{s:4:\"name\";s:11:\"im_provider\";s:5:\"where\";s:22:\"civicrm_im.provider_id\";s:5:\"title\";s:11:\"IM Provider\";s:15:\"hasLocationType\";b:1;}s:2:\"im\";a:13:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"IM Screen Name\";s:11:\"description\";s:14:\"IM screen name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:15:\"civicrm_im.name\";s:13:\"headerPattern\";s:40:\"/I(nstant )?M(ess.*)?|screen(\\s+)?name/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:6:\"openid\";a:13:{s:4:\"name\";s:6:\"openid\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"OpenID\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"civicrm_openid.openid\";s:13:\"headerPattern\";s:27:\"/^Open.?ID|u(niq\\w*)?.?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:15:\"hasLocationType\";b:1;}s:12:\"world_region\";a:10:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"World Region\";s:11:\"description\";s:43:\"Region name to be associated with countries\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"export\";b:1;s:5:\"where\";s:24:\"civicrm_worldregion.name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";}s:3:\"url\";a:12:{s:4:\"name\";s:3:\"url\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Website\";s:11:\"description\";s:7:\"Website\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_website.url\";s:13:\"headerPattern\";s:10:\"/Website/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:5:\"group\";a:2:{s:5:\"title\";s:8:\"Group(s)\";s:4:\"name\";s:5:\"group\";}s:3:\"tag\";a:2:{s:5:\"title\";s:6:\"Tag(s)\";s:4:\"name\";s:3:\"tag\";}s:4:\"note\";a:2:{s:5:\"title\";s:7:\"Note(s)\";s:4:\"name\";s:4:\"note\";}}' , 20151201183300 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_exportableFields All_0_0_0_._' ) + + +SELECT v.label as label ,v.name as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'languages' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'postal_greeting' + AND g.is_active = 1 AND v.is_active = 1 AND (v.filter = 0 OR v.filter =1) ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'addressee' + AND g.is_active = 1 AND v.is_active = 1 AND (v.filter = 0 OR v.filter =1) ORDER BY v.weight + + UPDATE civicrm_contact SET email_greeting_custom = NULL , email_greeting_display = 'Dear Anthony', postal_greeting_custom = NULL , postal_greeting_display = 'Dear Anthony', addressee_custom = NULL , addressee_display = 'Mr. Anthony J. Anderson II' WHERE id = 3 + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Individual_0_0_0_0__0__0__0_7acce319' , 'a:0:{}' , 20151201183300 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__0_7acce319._' ) + + COMMIT + + TRUNCATE TABLE civicrm_acl_contact_cache + + BEGIN + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields e87f438346d53eb3a55cfab017378daf' ) + + + + + + SELECT id AS id, name AS label FROM civicrm_domain ORDER BY name + + SELECT id AS id, name AS label FROM civicrm_payment_processor_type ORDER BY name + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields 481c9fc524f17b30b691869179f1c683' ) + + + + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessorType' + + SELECT a.payment_instrument_id as payment_instrument_id, a.id as id +FROM civicrm_payment_processor_type a +WHERE (a.id = "9") +LIMIT 25 +OFFSET 0 + + + SELECT * + FROM civicrm_payment_processor_type + + WHERE ( civicrm_payment_processor_type.id = 9 ) + + + + + + INSERT INTO civicrm_payment_processor (domain_id , name , payment_processor_type_id , is_active , is_default , is_test , user_name , url_site , url_recur , class_name , billing_mode , is_recur , payment_type , payment_instrument_id ) VALUES ( 1 , 'Dummy' , 9 , 1 , 0 , 1 , NULL , 'http://dummy.com' , 'http://dummy.com' , 'Payment_Dummy' , 1 , 1 , 1 , 1 ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'account_relationship' + AND g.is_active = 1 AND v.is_active = 1 AND v.name LIKE 'Asset Account is' ORDER BY v.weight + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_payment_processor' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) + + + + + + INSERT INTO civicrm_entity_financial_account (entity_table , entity_id , account_relationship , financial_account_id ) VALUES ('civicrm_payment_processor' , 1 , 6 , 12 ) + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessorType' + + SELECT a.id as id, a.name as name, a.title as title, a.description as description, a.is_active as is_active, a.is_default as is_default, a.user_name_label as user_name_label, a.password_label as password_label, a.signature_label as signature_label, a.subject_label as subject_label, a.class_name as class_name, a.url_site_default as url_site_default, a.url_api_default as url_api_default, a.url_recur_default as url_recur_default, a.url_button_default as url_button_default, a.url_site_test_default as url_site_test_default, a.url_api_test_default as url_api_test_default, a.url_recur_test_default as url_recur_test_default, a.url_button_test_default as url_button_test_default, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor_type a +WHERE (a.id = "9") +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") AND (a.is_test = "0") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") AND (a.is_test = "1") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessorType' + + SELECT a.id as id, a.name as name, a.title as title, a.description as description, a.is_active as is_active, a.is_default as is_default, a.user_name_label as user_name_label, a.password_label as password_label, a.signature_label as signature_label, a.subject_label as subject_label, a.class_name as class_name, a.url_site_default as url_site_default, a.url_api_default as url_api_default, a.url_recur_default as url_recur_default, a.url_button_default as url_button_default, a.url_site_test_default as url_site_test_default, a.url_api_test_default as url_api_test_default, a.url_recur_test_default as url_recur_test_default, a.url_button_test_default as url_button_test_default, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor_type a +WHERE (a.id = "9") +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + COMMIT + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields CustomGroup_0_0_0_0__0__0__0_7acce319' ) + + + + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'CustomGroup' + + SELECT a.id as id, a.name as name, a.title as title, a.extends as extends, a.extends_entity_column_id as extends_entity_column_id, a.extends_entity_column_value as extends_entity_column_value, a.style as style, a.collapse_display as collapse_display, a.help_pre as help_pre, a.help_post as help_post, a.weight as weight, a.is_active as is_active, a.table_name as table_name, a.is_multiple as is_multiple, a.min_multiple as min_multiple, a.max_multiple as max_multiple, a.collapse_adv_display as collapse_adv_display, a.created_id as created_id, a.created_date as created_date, a.is_reserved as is_reserved +FROM civicrm_custom_group a +WHERE (a.title = "testCreateWit") AND (a.id = "1") +LIMIT 25 +OFFSET 0 + + + BEGIN + + SELECT MAX(ROUND(weight)) AS max_weight FROM civicrm_custom_group + + UPDATE civicrm_custom_group SET weight = (weight + 1) WHERE weight >= 1 + + INSERT INTO civicrm_custom_group (name , title , extends , extends_entity_column_id , extends_entity_column_value , style , weight , is_active , is_multiple , max_multiple ) VALUES ('testCreateWit' , 'testCreateWit' , 'Contribution' , NULL , NULL , 'Inline' , 1 , 1 , 0 , NULL ) + + SELECT id, table_name + FROM civicrm_custom_group + + WHERE ( civicrm_custom_group.id = 1 ) + + + + + + UPDATE civicrm_custom_group SET table_name = 'civicrm_value_testcreatewit_1' WHERE ( civicrm_custom_group.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_custom_group' + + CREATE TABLE civicrm_value_testcreatewit_1 ( + `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Default MySQL primary key', + `entity_id` int unsigned NOT NULL COMMENT 'Table that this extends', + PRIMARY KEY ( id ), + UNIQUE INDEX unique_entity_id ( entity_id ), + CONSTRAINT FK_civicrm_value_testcreatewit_1_entity_id FOREIGN KEY ( `entity_id` ) REFERENCES civicrm_contribution ( id ) ON DELETE CASCADE +) ENGINE=InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'civicrm_%' + + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'log_civicrm_%' + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT * + FROM civicrm_custom_group + + WHERE ( extends IN ( 'Contact','Individual','Household','Organization' ) ) AND ( civicrm_custom_group.is_multiple = 0 ) + + + + + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_delete + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_delete + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173301) >= 5) + + + COMMIT + + TRUNCATE TABLE civicrm_acl_contact_cache + + BEGIN + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'cg_extend_objects' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields CustomField_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT id AS id, name AS label FROM civicrm_custom_group ORDER BY weight + + INSERT INTO civicrm_custom_field (custom_group_id , name , label , data_type , html_type , default_value , is_required , is_searchable , is_search_range , is_active , is_view , column_name , in_selector ) VALUES ( 1 , 'testCreateWithCustomXX' , 'testCreateWithCustomXX' , 'String' , 'Text' , 'defaultValue' , 0 , 1 , 0 , 1 , 0 , 'testcreatewithcustomxx' , 0 ) + + SELECT * + FROM civicrm_custom_field + + WHERE ( civicrm_custom_field.id = 1 ) AND ( civicrm_custom_field.custom_group_id = 1 ) AND ( civicrm_custom_field.name = 'testCreateWithCustomXX' ) AND ( civicrm_custom_field.label = 'testCreateWithCustomXX' ) AND ( civicrm_custom_field.data_type = 'String' ) AND ( civicrm_custom_field.html_type = 'Text' ) AND ( civicrm_custom_field.default_value = 'defaultValue' ) AND ( civicrm_custom_field.is_required = 0 ) AND ( civicrm_custom_field.is_searchable = 1 ) AND ( civicrm_custom_field.is_search_range = 0 ) AND ( civicrm_custom_field.is_active = 1 ) AND ( civicrm_custom_field.is_view = 0 ) AND ( civicrm_custom_field.column_name = 'testcreatewithcustomxx' ) AND ( civicrm_custom_field.in_selector = 0 ) + + + + + + UPDATE civicrm_custom_field SET custom_group_id = 1 , name = 'testCreateWithCustomXX' , label = 'testCreateWithCustomXX' , data_type = 'String' , html_type = 'Text' , default_value = 'defaultValue' , is_required = 0 , is_searchable = 1 , is_search_range = 0 , weight = 1 , is_active = 1 , is_view = 0 , column_name = 'testcreatewithcustomxx_1' , in_selector = 0 WHERE ( civicrm_custom_field.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_custom_field' + + SELECT * + FROM civicrm_custom_field + + WHERE ( civicrm_custom_field.id = 1 ) AND ( civicrm_custom_field.custom_group_id = 1 ) AND ( civicrm_custom_field.name = 'testCreateWithCustomXX' ) AND ( civicrm_custom_field.label = 'testCreateWithCustomXX' ) AND ( civicrm_custom_field.data_type = 'String' ) AND ( civicrm_custom_field.html_type = 'Text' ) AND ( civicrm_custom_field.default_value = 'defaultValue' ) AND ( civicrm_custom_field.is_required = 0 ) AND ( civicrm_custom_field.is_searchable = 1 ) AND ( civicrm_custom_field.is_search_range = 0 ) AND ( civicrm_custom_field.weight = 1 ) AND ( civicrm_custom_field.is_active = 1 ) AND ( civicrm_custom_field.is_view = 0 ) AND ( civicrm_custom_field.column_name = 'testcreatewithcustomxx_1' ) AND ( civicrm_custom_field.in_selector = 0 ) + + + + + + SELECT table_name + FROM civicrm_custom_group + + WHERE ( civicrm_custom_group.id = 1 ) + + + + + + ALTER TABLE civicrm_value_testcreatewit_1 + ADD COLUMN `testcreatewithcustomxx_1` varchar(255) DEFAULT 'defaultValue', + ADD INDEX INDEX_testcreatewithcustomxx_1 ( testcreatewithcustomxx_1 ) + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'civicrm_%' + + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'log_civicrm_%' + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT * + FROM civicrm_custom_group + + WHERE ( extends IN ( 'Contact','Individual','Household','Organization' ) ) AND ( civicrm_custom_group.is_multiple = 0 ) + + + + + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_delete + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_delete + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173301) >= 5) + + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'cg_extend_objects' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields CustomField_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Individual_0_0_1_1' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Address' ) AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Address_0_0_0_0__0__0__0_7acce319' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__0_7acce319._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__1__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND civicrm_custom_group.extends_entity_column_value IS NULL AND civicrm_custom_group.extends_entity_column_id IS NULL AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__1__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__1__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Individual_0_0_0_0__1__0__0_7acce319' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__1__0__0_7acce319._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Individual_0_0_1_1._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Individual_0_0_1_1' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'importableFields Individual_0_0_1_1' , 'a:59:{s:12:\"address_name\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Address Name\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.name\";s:13:\"headerPattern\";s:33:\"/^location|(l(ocation\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"addressee\";a:11:{s:4:\"name\";s:9:\"addressee\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Addressee\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:15:\"addressee.label\";s:13:\"headerPattern\";s:14:\"/^addressee$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:16:\"addressee_custom\";a:12:{s:4:\"name\";s:16:\"addressee_custom\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Addressee Custom\";s:11:\"description\";s:17:\"Custom Addressee.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.addressee_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"birth_date\";a:10:{s:4:\"name\";s:10:\"birth_date\";s:4:\"type\";i:4;s:5:\"title\";s:10:\"Birth Date\";s:11:\"description\";s:13:\"Date of birth\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.birth_date\";s:13:\"headerPattern\";s:46:\"/^birth|(b(irth\\s)?date)|D(\\W*)O(\\W*)B(\\W*)$/i\";s:11:\"dataPattern\";s:21:\"/\\d{4}-?\\d{2}-?\\d{2}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:4:\"city\";a:13:{s:4:\"name\";s:4:\"city\";s:4:\"type\";i:2;s:5:\"title\";s:4:\"City\";s:11:\"description\";s:27:\"City, Town or Village Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.city\";s:13:\"headerPattern\";s:7:\"/city/i\";s:11:\"dataPattern\";s:37:\"/^[A-Za-z]+(\\.?)(\\s?[A-Za-z]+){0,2}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"communication_style_id\";a:2:{s:5:\"title\";s:19:\"Communication Style\";s:4:\"name\";s:22:\"communication_style_id\";}s:2:\"id\";a:10:{s:4:\"name\";s:2:\"id\";s:4:\"type\";i:1;s:5:\"title\";s:10:\"Contact ID\";s:11:\"description\";s:17:\"Unique Contact ID\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:18:\"civicrm_contact.id\";s:13:\"headerPattern\";s:24:\"/internal|contact?|id$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:14:\"contact_source\";a:12:{s:4:\"name\";s:6:\"source\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Contact Source\";s:11:\"description\";s:61:\"where contact come from, e.g. import, donate module insert...\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:22:\"civicrm_contact.source\";s:13:\"headerPattern\";s:24:\"/(C(ontact\\s)?Source)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:16:\"contact_sub_type\";a:13:{s:4:\"name\";s:16:\"contact_sub_type\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Contact Subtype\";s:11:\"description\";s:57:\"May be used to over-ride contact view and edit templates.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.contact_sub_type\";s:13:\"headerPattern\";s:41:\"/C(ontact )?(subtype|sub-type|sub type)/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:12:\"Multi-Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:21:\"parent_id IS NOT NULL\";}}s:7:\"country\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Country\";s:11:\"description\";s:12:\"Country Name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_country.name\";s:13:\"headerPattern\";s:10:\"/country/i\";s:11:\"dataPattern\";s:39:\"/^[A-Z][a-z]+\\.?(\\s+[A-Z][a-z]+){0,3}$/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:6:\"county\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"County\";s:11:\"description\";s:14:\"Name of County\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_county.name\";s:13:\"headerPattern\";s:9:\"/county/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:11:\"is_deceased\";a:9:{s:4:\"name\";s:11:\"is_deceased\";s:4:\"type\";i:16;s:5:\"title\";s:8:\"Deceased\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.is_deceased\";s:13:\"headerPattern\";s:21:\"/i(s\\s)?d(eceased)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:13:\"deceased_date\";a:10:{s:4:\"name\";s:13:\"deceased_date\";s:4:\"type\";i:4;s:5:\"title\";s:13:\"Deceased Date\";s:11:\"description\";s:16:\"Date of deceased\";s:6:\"import\";b:1;s:5:\"where\";s:29:\"civicrm_contact.deceased_date\";s:13:\"headerPattern\";s:33:\"/^deceased|(d(eceased\\s)?date)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:12:\"do_not_email\";a:9:{s:4:\"name\";s:12:\"do_not_email\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Email\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_email\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(email)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:11:\"do_not_mail\";a:9:{s:4:\"name\";s:11:\"do_not_mail\";s:4:\"type\";i:16;s:5:\"title\";s:11:\"Do Not Mail\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.do_not_mail\";s:13:\"headerPattern\";s:45:\"/^(d(o\\s)?n(ot\\s)?mail)|(\\w*)?bulk\\s?(\\w*)$/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_phone\";a:9:{s:4:\"name\";s:12:\"do_not_phone\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Phone\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_phone\";s:13:\"headerPattern\";s:28:\"/d(o )?(not )?(call|phone)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"do_not_sms\";a:9:{s:4:\"name\";s:10:\"do_not_sms\";s:4:\"type\";i:16;s:5:\"title\";s:10:\"Do Not Sms\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.do_not_sms\";s:13:\"headerPattern\";s:21:\"/d(o )?(not )?(sms)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_trade\";a:9:{s:4:\"name\";s:12:\"do_not_trade\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Trade\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_trade\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(trade)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:5:\"email\";a:14:{s:4:\"name\";s:5:\"email\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Email\";s:11:\"description\";s:13:\"Email address\";s:9:\"maxlength\";i:254;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_email.email\";s:13:\"headerPattern\";s:10:\"/e.?mail/i\";s:11:\"dataPattern\";s:91:\"/^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$/\";s:6:\"export\";b:1;s:4:\"rule\";s:5:\"email\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:14:\"email_greeting\";a:11:{s:4:\"name\";s:14:\"email_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Email Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"email_greeting.label\";s:13:\"headerPattern\";s:19:\"/^email_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:21:\"email_greeting_custom\";a:12:{s:4:\"name\";s:21:\"email_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Email Greeting Custom\";s:11:\"description\";s:22:\"Custom Email Greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.email_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"external_identifier\";a:12:{s:4:\"name\";s:19:\"external_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:19:\"External Identifier\";s:11:\"description\";s:113:\"Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:35:\"civicrm_contact.external_identifier\";s:13:\"headerPattern\";s:16:\"/external\\s?id/i\";s:11:\"dataPattern\";s:11:\"/^\\d{11,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"first_name\";a:12:{s:4:\"name\";s:10:\"first_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"First Name\";s:11:\"description\";s:11:\"First Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.first_name\";s:13:\"headerPattern\";s:27:\"/^first|(f(irst\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:12:\"formal_title\";a:11:{s:4:\"name\";s:12:\"formal_title\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Formal Title\";s:11:\"description\";s:70:\"Formal (academic or similar) title in front of name. (Prof., Dr. etc.)\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.formal_title\";s:13:\"headerPattern\";s:9:\"/^title/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:9:\"gender_id\";a:11:{s:4:\"name\";s:9:\"gender_id\";s:4:\"type\";i:1;s:5:\"title\";s:6:\"Gender\";s:11:\"description\";s:15:\"FK to gender ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.gender_id\";s:13:\"headerPattern\";s:11:\"/^gender$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:6:\"gender\";s:14:\"optionEditPath\";s:28:\"civicrm/admin/options/gender\";}}s:5:\"group\";a:2:{s:5:\"title\";s:8:\"Group(s)\";s:4:\"name\";s:5:\"group\";}s:2:\"im\";a:13:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"IM Screen Name\";s:11:\"description\";s:14:\"IM screen name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:15:\"civicrm_im.name\";s:13:\"headerPattern\";s:40:\"/I(nstant )?M(ess.*)?|screen(\\s+)?name/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"image_URL\";a:12:{s:4:\"name\";s:9:\"image_URL\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Image Url\";s:11:\"description\";s:81:\"optional URL for preferred image (photo, logo, etc.) to display for this contact.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.image_URL\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"File\";}}s:9:\"prefix_id\";a:11:{s:4:\"name\";s:9:\"prefix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Prefix\";s:11:\"description\";s:53:\"Prefix or Title for name (Ms, Mr...). FK to prefix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.prefix_id\";s:13:\"headerPattern\";s:18:\"/^(prefix|title)/i\";s:11:\"dataPattern\";s:26:\"/^(mr|ms|mrs|sir|dr)\\.?$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_prefix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_prefix\";}}s:9:\"suffix_id\";a:11:{s:4:\"name\";s:9:\"suffix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Suffix\";s:11:\"description\";s:44:\"Suffix for name (Jr, Sr...). FK to suffix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.suffix_id\";s:13:\"headerPattern\";s:11:\"/^suffix$/i\";s:11:\"dataPattern\";s:20:\"/^(sr|jr)\\.?|i{2,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_suffix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_suffix\";}}s:9:\"job_title\";a:12:{s:4:\"name\";s:9:\"job_title\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Job Title\";s:11:\"description\";s:9:\"Job Title\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.job_title\";s:13:\"headerPattern\";s:24:\"/^job|(j(ob\\s)?title)$/i\";s:11:\"dataPattern\";s:2:\"//\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"last_name\";a:12:{s:4:\"name\";s:9:\"last_name\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Last Name\";s:11:\"description\";s:10:\"Last Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.last_name\";s:13:\"headerPattern\";s:25:\"/^last|(l(ast\\s)?name)$/i\";s:11:\"dataPattern\";s:16:\"/^\\w+(\\s\\w+)?+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"geo_code_1\";a:11:{s:4:\"name\";s:10:\"geo_code_1\";s:4:\"type\";i:512;s:5:\"title\";s:8:\"Latitude\";s:11:\"description\";s:8:\"Latitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_1\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:16:\"legal_identifier\";a:12:{s:4:\"name\";s:16:\"legal_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Legal Identifier\";s:11:\"description\";s:104:\"May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.\n \";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.legal_identifier\";s:13:\"headerPattern\";s:13:\"/legal\\s?id/i\";s:11:\"dataPattern\";s:12:\"/\\w+?\\d{5,}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"geo_code_2\";a:11:{s:4:\"name\";s:10:\"geo_code_2\";s:4:\"type\";i:512;s:5:\"title\";s:9:\"Longitude\";s:11:\"description\";s:9:\"Longitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_2\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"master_id\";a:11:{s:4:\"name\";s:9:\"master_id\";s:4:\"type\";i:1;s:5:\"title\";s:25:\"Master Address Belongs To\";s:11:\"description\";s:16:\"FK to Address ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_address.master_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:11:\"FKClassName\";s:20:\"CRM_Core_DAO_Address\";s:15:\"hasLocationType\";b:1;}s:11:\"middle_name\";a:12:{s:4:\"name\";s:11:\"middle_name\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Middle Name\";s:11:\"description\";s:12:\"Middle Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.middle_name\";s:13:\"headerPattern\";s:29:\"/^middle|(m(iddle\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"nick_name\";a:12:{s:4:\"name\";s:9:\"nick_name\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Nickname\";s:11:\"description\";s:9:\"Nickname.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.nick_name\";s:13:\"headerPattern\";s:21:\"/n(ick\\s)name|nick$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"is_opt_out\";a:11:{s:4:\"name\";s:10:\"is_opt_out\";s:4:\"type\";i:16;s:5:\"title\";s:29:\"No Bulk Emails (User Opt Out)\";s:11:\"description\";s:93:\"Has the contact opted out from receiving all bulk email from the organization or site domain?\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_opt_out\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:4:\"note\";a:2:{s:5:\"title\";s:7:\"Note(s)\";s:4:\"name\";s:4:\"note\";}s:6:\"openid\";a:13:{s:4:\"name\";s:6:\"openid\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"OpenID\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"civicrm_openid.openid\";s:13:\"headerPattern\";s:27:\"/^Open.?ID|u(niq\\w*)?.?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:15:\"hasLocationType\";b:1;}s:5:\"phone\";a:13:{s:4:\"name\";s:5:\"phone\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Phone\";s:11:\"description\";s:22:\"Complete phone number.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_phone.phone\";s:13:\"headerPattern\";s:8:\"/phone/i\";s:11:\"dataPattern\";s:19:\"/^[\\d\\(\\)\\-\\.\\s]+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"phone_ext\";a:13:{s:4:\"name\";s:9:\"phone_ext\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Phone Extension\";s:11:\"description\";s:38:\"Optional extension for a phone number.\";s:9:\"maxlength\";i:16;s:4:\"size\";i:4;s:6:\"import\";b:1;s:5:\"where\";s:23:\"civicrm_phone.phone_ext\";s:13:\"headerPattern\";s:12:\"/extension/i\";s:11:\"dataPattern\";s:7:\"/^\\d+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"postal_code\";a:13:{s:4:\"name\";s:11:\"postal_code\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Postal Code\";s:11:\"description\";s:114:\"Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_address.postal_code\";s:13:\"headerPattern\";s:13:\"/postal|zip/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:18:\"postal_code_suffix\";a:13:{s:4:\"name\";s:18:\"postal_code_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Postal Code Suffix\";s:11:\"description\";s:54:\"Store the suffix, like the +4 part in the USPS system.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:3;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_address.postal_code_suffix\";s:13:\"headerPattern\";s:29:\"/p(ostal)\\sc(ode)\\ss(uffix)/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:15:\"postal_greeting\";a:11:{s:4:\"name\";s:15:\"postal_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Postal Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"postal_greeting.label\";s:13:\"headerPattern\";s:20:\"/^postal_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:22:\"postal_greeting_custom\";a:12:{s:4:\"name\";s:22:\"postal_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Postal Greeting Custom\";s:11:\"description\";s:23:\"Custom Postal greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_contact.postal_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:30:\"preferred_communication_method\";a:13:{s:4:\"name\";s:30:\"preferred_communication_method\";s:4:\"type\";i:2;s:5:\"title\";s:30:\"Preferred Communication Method\";s:11:\"description\";s:44:\"What is the preferred mode of communication.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:46:\"civicrm_contact.preferred_communication_method\";s:13:\"headerPattern\";s:37:\"/^p(ref\\w*\\s)?c(omm\\w*)|( meth\\w*)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:30:\"preferred_communication_method\";s:14:\"optionEditPath\";s:52:\"civicrm/admin/options/preferred_communication_method\";}}s:18:\"preferred_language\";a:13:{s:4:\"name\";s:18:\"preferred_language\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Preferred Language\";s:11:\"description\";s:87:\"Which language is preferred for communication. FK to languages in civicrm_option_value.\";s:9:\"maxlength\";i:5;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_contact.preferred_language\";s:13:\"headerPattern\";s:8:\"/^lang/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:3:{s:15:\"optionGroupName\";s:9:\"languages\";s:9:\"keyColumn\";s:4:\"name\";s:14:\"optionEditPath\";s:31:\"civicrm/admin/options/languages\";}}s:21:\"preferred_mail_format\";a:14:{s:4:\"name\";s:21:\"preferred_mail_format\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Preferred Mail Format\";s:11:\"description\";s:47:\"What is the preferred mode of sending an email.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.preferred_mail_format\";s:13:\"headerPattern\";s:35:\"/^p(ref\\w*\\s)?m(ail\\s)?f(orm\\w*)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"Both\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:26:\"CRM_Core_SelectValues::pmf\";}}s:14:\"signature_html\";a:11:{s:4:\"name\";s:14:\"signature_html\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Html\";s:11:\"description\";s:39:\"HTML formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_html\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_text\";a:11:{s:4:\"name\";s:14:\"signature_text\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Text\";s:11:\"description\";s:39:\"Text formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_text\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"state_province\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"State\";s:11:\"description\";s:22:\"Name of State/Province\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_state_province.name\";s:13:\"headerPattern\";s:20:\"/state|prov(ince)?/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:14:\"street_address\";a:13:{s:4:\"name\";s:14:\"street_address\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Street Address\";s:11:\"description\";s:245:\"Concatenation of all routable street address components (prefix, street number, street name, suffix, unit\n number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail\n delivery, etc.).\n \";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_address.street_address\";s:13:\"headerPattern\";s:19:\"/(street|address)/i\";s:11:\"dataPattern\";s:56:\"/^(\\d{1,5}( [0-9A-Za-z]+)+)$|^(P\\.?O\\.\\? Box \\d{1,5})$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_1\";a:13:{s:4:\"name\";s:22:\"supplemental_address_1\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 1\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 1\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_1\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_2\";a:13:{s:4:\"name\";s:22:\"supplemental_address_2\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 2\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 2\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_2\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:3:\"tag\";a:2:{s:5:\"title\";s:6:\"Tag(s)\";s:4:\"name\";s:3:\"tag\";}s:14:\"user_unique_id\";a:13:{s:4:\"name\";s:14:\"user_unique_id\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Unique ID (OpenID)\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.user_unique_id\";s:13:\"headerPattern\";s:29:\"/^Open\\s?ID|u(niq\\w*)?\\s?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:3:\"url\";a:13:{s:4:\"name\";s:3:\"url\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Website\";s:11:\"description\";s:7:\"Website\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_website.url\";s:13:\"headerPattern\";s:10:\"/Website/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:14:\"hasWebsiteType\";b:1;}}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Individual_0_0_1_1._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Household_0_0_1_1' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__1__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Household', 'Contact' ) AND civicrm_custom_group.extends_entity_column_value IS NULL AND civicrm_custom_group.extends_entity_column_id IS NULL AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__1__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__1__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Household_0_0_0_0__1__0__0_7acce319' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__1__0__0_7acce319._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Household_0_0_1_1._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Household_0_0_1_1' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'importableFields Household_0_0_1_1' , 'a:48:{s:12:\"address_name\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Address Name\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.name\";s:13:\"headerPattern\";s:33:\"/^location|(l(ocation\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"addressee\";a:11:{s:4:\"name\";s:9:\"addressee\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Addressee\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:15:\"addressee.label\";s:13:\"headerPattern\";s:14:\"/^addressee$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:16:\"addressee_custom\";a:12:{s:4:\"name\";s:16:\"addressee_custom\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Addressee Custom\";s:11:\"description\";s:17:\"Custom Addressee.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.addressee_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:4:\"city\";a:13:{s:4:\"name\";s:4:\"city\";s:4:\"type\";i:2;s:5:\"title\";s:4:\"City\";s:11:\"description\";s:27:\"City, Town or Village Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.city\";s:13:\"headerPattern\";s:7:\"/city/i\";s:11:\"dataPattern\";s:37:\"/^[A-Za-z]+(\\.?)(\\s?[A-Za-z]+){0,2}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"communication_style_id\";a:2:{s:5:\"title\";s:19:\"Communication Style\";s:4:\"name\";s:22:\"communication_style_id\";}s:2:\"id\";a:10:{s:4:\"name\";s:2:\"id\";s:4:\"type\";i:1;s:5:\"title\";s:10:\"Contact ID\";s:11:\"description\";s:17:\"Unique Contact ID\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:18:\"civicrm_contact.id\";s:13:\"headerPattern\";s:24:\"/internal|contact?|id$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:14:\"contact_source\";a:12:{s:4:\"name\";s:6:\"source\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Contact Source\";s:11:\"description\";s:61:\"where contact come from, e.g. import, donate module insert...\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:22:\"civicrm_contact.source\";s:13:\"headerPattern\";s:24:\"/(C(ontact\\s)?Source)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:16:\"contact_sub_type\";a:13:{s:4:\"name\";s:16:\"contact_sub_type\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Contact Subtype\";s:11:\"description\";s:57:\"May be used to over-ride contact view and edit templates.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.contact_sub_type\";s:13:\"headerPattern\";s:41:\"/C(ontact )?(subtype|sub-type|sub type)/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:12:\"Multi-Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:21:\"parent_id IS NOT NULL\";}}s:7:\"country\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Country\";s:11:\"description\";s:12:\"Country Name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_country.name\";s:13:\"headerPattern\";s:10:\"/country/i\";s:11:\"dataPattern\";s:39:\"/^[A-Z][a-z]+\\.?(\\s+[A-Z][a-z]+){0,3}$/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:6:\"county\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"County\";s:11:\"description\";s:14:\"Name of County\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_county.name\";s:13:\"headerPattern\";s:9:\"/county/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:12:\"do_not_email\";a:9:{s:4:\"name\";s:12:\"do_not_email\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Email\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_email\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(email)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:11:\"do_not_mail\";a:9:{s:4:\"name\";s:11:\"do_not_mail\";s:4:\"type\";i:16;s:5:\"title\";s:11:\"Do Not Mail\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.do_not_mail\";s:13:\"headerPattern\";s:45:\"/^(d(o\\s)?n(ot\\s)?mail)|(\\w*)?bulk\\s?(\\w*)$/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_phone\";a:9:{s:4:\"name\";s:12:\"do_not_phone\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Phone\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_phone\";s:13:\"headerPattern\";s:28:\"/d(o )?(not )?(call|phone)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"do_not_sms\";a:9:{s:4:\"name\";s:10:\"do_not_sms\";s:4:\"type\";i:16;s:5:\"title\";s:10:\"Do Not Sms\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.do_not_sms\";s:13:\"headerPattern\";s:21:\"/d(o )?(not )?(sms)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_trade\";a:9:{s:4:\"name\";s:12:\"do_not_trade\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Trade\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_trade\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(trade)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:5:\"email\";a:14:{s:4:\"name\";s:5:\"email\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Email\";s:11:\"description\";s:13:\"Email address\";s:9:\"maxlength\";i:254;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_email.email\";s:13:\"headerPattern\";s:10:\"/e.?mail/i\";s:11:\"dataPattern\";s:91:\"/^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$/\";s:6:\"export\";b:1;s:4:\"rule\";s:5:\"email\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:14:\"email_greeting\";a:11:{s:4:\"name\";s:14:\"email_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Email Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"email_greeting.label\";s:13:\"headerPattern\";s:19:\"/^email_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:21:\"email_greeting_custom\";a:12:{s:4:\"name\";s:21:\"email_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Email Greeting Custom\";s:11:\"description\";s:22:\"Custom Email Greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.email_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"external_identifier\";a:12:{s:4:\"name\";s:19:\"external_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:19:\"External Identifier\";s:11:\"description\";s:113:\"Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:35:\"civicrm_contact.external_identifier\";s:13:\"headerPattern\";s:16:\"/external\\s?id/i\";s:11:\"dataPattern\";s:11:\"/^\\d{11,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:5:\"group\";a:2:{s:5:\"title\";s:8:\"Group(s)\";s:4:\"name\";s:5:\"group\";}s:14:\"household_name\";a:12:{s:4:\"name\";s:14:\"household_name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Household Name\";s:11:\"description\";s:15:\"Household Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.household_name\";s:13:\"headerPattern\";s:35:\"/^household|(h(ousehold\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:2:\"im\";a:13:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"IM Screen Name\";s:11:\"description\";s:14:\"IM screen name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:15:\"civicrm_im.name\";s:13:\"headerPattern\";s:40:\"/I(nstant )?M(ess.*)?|screen(\\s+)?name/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"image_URL\";a:12:{s:4:\"name\";s:9:\"image_URL\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Image Url\";s:11:\"description\";s:81:\"optional URL for preferred image (photo, logo, etc.) to display for this contact.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.image_URL\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"File\";}}s:10:\"geo_code_1\";a:11:{s:4:\"name\";s:10:\"geo_code_1\";s:4:\"type\";i:512;s:5:\"title\";s:8:\"Latitude\";s:11:\"description\";s:8:\"Latitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_1\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:10:\"geo_code_2\";a:11:{s:4:\"name\";s:10:\"geo_code_2\";s:4:\"type\";i:512;s:5:\"title\";s:9:\"Longitude\";s:11:\"description\";s:9:\"Longitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_2\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"master_id\";a:11:{s:4:\"name\";s:9:\"master_id\";s:4:\"type\";i:1;s:5:\"title\";s:25:\"Master Address Belongs To\";s:11:\"description\";s:16:\"FK to Address ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_address.master_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:11:\"FKClassName\";s:20:\"CRM_Core_DAO_Address\";s:15:\"hasLocationType\";b:1;}s:9:\"nick_name\";a:12:{s:4:\"name\";s:9:\"nick_name\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Nickname\";s:11:\"description\";s:9:\"Nickname.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.nick_name\";s:13:\"headerPattern\";s:21:\"/n(ick\\s)name|nick$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"is_opt_out\";a:11:{s:4:\"name\";s:10:\"is_opt_out\";s:4:\"type\";i:16;s:5:\"title\";s:29:\"No Bulk Emails (User Opt Out)\";s:11:\"description\";s:93:\"Has the contact opted out from receiving all bulk email from the organization or site domain?\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_opt_out\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:4:\"note\";a:2:{s:5:\"title\";s:7:\"Note(s)\";s:4:\"name\";s:4:\"note\";}s:6:\"openid\";a:13:{s:4:\"name\";s:6:\"openid\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"OpenID\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"civicrm_openid.openid\";s:13:\"headerPattern\";s:27:\"/^Open.?ID|u(niq\\w*)?.?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:15:\"hasLocationType\";b:1;}s:5:\"phone\";a:13:{s:4:\"name\";s:5:\"phone\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Phone\";s:11:\"description\";s:22:\"Complete phone number.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_phone.phone\";s:13:\"headerPattern\";s:8:\"/phone/i\";s:11:\"dataPattern\";s:19:\"/^[\\d\\(\\)\\-\\.\\s]+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"phone_ext\";a:13:{s:4:\"name\";s:9:\"phone_ext\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Phone Extension\";s:11:\"description\";s:38:\"Optional extension for a phone number.\";s:9:\"maxlength\";i:16;s:4:\"size\";i:4;s:6:\"import\";b:1;s:5:\"where\";s:23:\"civicrm_phone.phone_ext\";s:13:\"headerPattern\";s:12:\"/extension/i\";s:11:\"dataPattern\";s:7:\"/^\\d+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"postal_code\";a:13:{s:4:\"name\";s:11:\"postal_code\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Postal Code\";s:11:\"description\";s:114:\"Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_address.postal_code\";s:13:\"headerPattern\";s:13:\"/postal|zip/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:18:\"postal_code_suffix\";a:13:{s:4:\"name\";s:18:\"postal_code_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Postal Code Suffix\";s:11:\"description\";s:54:\"Store the suffix, like the +4 part in the USPS system.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:3;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_address.postal_code_suffix\";s:13:\"headerPattern\";s:29:\"/p(ostal)\\sc(ode)\\ss(uffix)/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:15:\"postal_greeting\";a:11:{s:4:\"name\";s:15:\"postal_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Postal Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"postal_greeting.label\";s:13:\"headerPattern\";s:20:\"/^postal_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:22:\"postal_greeting_custom\";a:12:{s:4:\"name\";s:22:\"postal_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Postal Greeting Custom\";s:11:\"description\";s:23:\"Custom Postal greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_contact.postal_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:30:\"preferred_communication_method\";a:13:{s:4:\"name\";s:30:\"preferred_communication_method\";s:4:\"type\";i:2;s:5:\"title\";s:30:\"Preferred Communication Method\";s:11:\"description\";s:44:\"What is the preferred mode of communication.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:46:\"civicrm_contact.preferred_communication_method\";s:13:\"headerPattern\";s:37:\"/^p(ref\\w*\\s)?c(omm\\w*)|( meth\\w*)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:30:\"preferred_communication_method\";s:14:\"optionEditPath\";s:52:\"civicrm/admin/options/preferred_communication_method\";}}s:18:\"preferred_language\";a:13:{s:4:\"name\";s:18:\"preferred_language\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Preferred Language\";s:11:\"description\";s:87:\"Which language is preferred for communication. FK to languages in civicrm_option_value.\";s:9:\"maxlength\";i:5;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_contact.preferred_language\";s:13:\"headerPattern\";s:8:\"/^lang/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:3:{s:15:\"optionGroupName\";s:9:\"languages\";s:9:\"keyColumn\";s:4:\"name\";s:14:\"optionEditPath\";s:31:\"civicrm/admin/options/languages\";}}s:21:\"preferred_mail_format\";a:14:{s:4:\"name\";s:21:\"preferred_mail_format\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Preferred Mail Format\";s:11:\"description\";s:47:\"What is the preferred mode of sending an email.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.preferred_mail_format\";s:13:\"headerPattern\";s:35:\"/^p(ref\\w*\\s)?m(ail\\s)?f(orm\\w*)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"Both\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:26:\"CRM_Core_SelectValues::pmf\";}}s:14:\"signature_html\";a:11:{s:4:\"name\";s:14:\"signature_html\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Html\";s:11:\"description\";s:39:\"HTML formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_html\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_text\";a:11:{s:4:\"name\";s:14:\"signature_text\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Text\";s:11:\"description\";s:39:\"Text formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_text\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"state_province\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"State\";s:11:\"description\";s:22:\"Name of State/Province\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_state_province.name\";s:13:\"headerPattern\";s:20:\"/state|prov(ince)?/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:14:\"street_address\";a:13:{s:4:\"name\";s:14:\"street_address\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Street Address\";s:11:\"description\";s:245:\"Concatenation of all routable street address components (prefix, street number, street name, suffix, unit\n number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail\n delivery, etc.).\n \";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_address.street_address\";s:13:\"headerPattern\";s:19:\"/(street|address)/i\";s:11:\"dataPattern\";s:56:\"/^(\\d{1,5}( [0-9A-Za-z]+)+)$|^(P\\.?O\\.\\? Box \\d{1,5})$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_1\";a:13:{s:4:\"name\";s:22:\"supplemental_address_1\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 1\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 1\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_1\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_2\";a:13:{s:4:\"name\";s:22:\"supplemental_address_2\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 2\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 2\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_2\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:3:\"tag\";a:2:{s:5:\"title\";s:6:\"Tag(s)\";s:4:\"name\";s:3:\"tag\";}s:14:\"user_unique_id\";a:13:{s:4:\"name\";s:14:\"user_unique_id\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Unique ID (OpenID)\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.user_unique_id\";s:13:\"headerPattern\";s:29:\"/^Open\\s?ID|u(niq\\w*)?\\s?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:3:\"url\";a:13:{s:4:\"name\";s:3:\"url\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Website\";s:11:\"description\";s:7:\"Website\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_website.url\";s:13:\"headerPattern\";s:10:\"/Website/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:14:\"hasWebsiteType\";b:1;}}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Household_0_0_1_1._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Organization_0_0_1_1' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__1__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Organization', 'Contact' ) AND civicrm_custom_group.extends_entity_column_value IS NULL AND civicrm_custom_group.extends_entity_column_id IS NULL AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__1__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__1__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Organization_0_0_0_0__1__0__0_7acce319' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__1__0__0_7acce319._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Organization_0_0_1_1._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Organization_0_0_1_1' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'importableFields Organization_0_0_1_1' , 'a:51:{s:12:\"address_name\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Address Name\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.name\";s:13:\"headerPattern\";s:33:\"/^location|(l(ocation\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"addressee\";a:11:{s:4:\"name\";s:9:\"addressee\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Addressee\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:15:\"addressee.label\";s:13:\"headerPattern\";s:14:\"/^addressee$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:16:\"addressee_custom\";a:12:{s:4:\"name\";s:16:\"addressee_custom\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Addressee Custom\";s:11:\"description\";s:17:\"Custom Addressee.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.addressee_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:4:\"city\";a:13:{s:4:\"name\";s:4:\"city\";s:4:\"type\";i:2;s:5:\"title\";s:4:\"City\";s:11:\"description\";s:27:\"City, Town or Village Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.city\";s:13:\"headerPattern\";s:7:\"/city/i\";s:11:\"dataPattern\";s:37:\"/^[A-Za-z]+(\\.?)(\\s?[A-Za-z]+){0,2}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"communication_style_id\";a:2:{s:5:\"title\";s:19:\"Communication Style\";s:4:\"name\";s:22:\"communication_style_id\";}s:2:\"id\";a:10:{s:4:\"name\";s:2:\"id\";s:4:\"type\";i:1;s:5:\"title\";s:10:\"Contact ID\";s:11:\"description\";s:17:\"Unique Contact ID\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:18:\"civicrm_contact.id\";s:13:\"headerPattern\";s:24:\"/internal|contact?|id$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:14:\"contact_source\";a:12:{s:4:\"name\";s:6:\"source\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Contact Source\";s:11:\"description\";s:61:\"where contact come from, e.g. import, donate module insert...\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:22:\"civicrm_contact.source\";s:13:\"headerPattern\";s:24:\"/(C(ontact\\s)?Source)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:16:\"contact_sub_type\";a:13:{s:4:\"name\";s:16:\"contact_sub_type\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Contact Subtype\";s:11:\"description\";s:57:\"May be used to over-ride contact view and edit templates.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.contact_sub_type\";s:13:\"headerPattern\";s:41:\"/C(ontact )?(subtype|sub-type|sub type)/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:12:\"Multi-Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:21:\"parent_id IS NOT NULL\";}}s:7:\"country\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Country\";s:11:\"description\";s:12:\"Country Name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_country.name\";s:13:\"headerPattern\";s:10:\"/country/i\";s:11:\"dataPattern\";s:39:\"/^[A-Z][a-z]+\\.?(\\s+[A-Z][a-z]+){0,3}$/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:6:\"county\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"County\";s:11:\"description\";s:14:\"Name of County\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_county.name\";s:13:\"headerPattern\";s:9:\"/county/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:12:\"do_not_email\";a:9:{s:4:\"name\";s:12:\"do_not_email\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Email\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_email\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(email)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:11:\"do_not_mail\";a:9:{s:4:\"name\";s:11:\"do_not_mail\";s:4:\"type\";i:16;s:5:\"title\";s:11:\"Do Not Mail\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.do_not_mail\";s:13:\"headerPattern\";s:45:\"/^(d(o\\s)?n(ot\\s)?mail)|(\\w*)?bulk\\s?(\\w*)$/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_phone\";a:9:{s:4:\"name\";s:12:\"do_not_phone\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Phone\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_phone\";s:13:\"headerPattern\";s:28:\"/d(o )?(not )?(call|phone)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"do_not_sms\";a:9:{s:4:\"name\";s:10:\"do_not_sms\";s:4:\"type\";i:16;s:5:\"title\";s:10:\"Do Not Sms\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.do_not_sms\";s:13:\"headerPattern\";s:21:\"/d(o )?(not )?(sms)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_trade\";a:9:{s:4:\"name\";s:12:\"do_not_trade\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Trade\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_trade\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(trade)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:5:\"email\";a:14:{s:4:\"name\";s:5:\"email\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Email\";s:11:\"description\";s:13:\"Email address\";s:9:\"maxlength\";i:254;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_email.email\";s:13:\"headerPattern\";s:10:\"/e.?mail/i\";s:11:\"dataPattern\";s:91:\"/^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$/\";s:6:\"export\";b:1;s:4:\"rule\";s:5:\"email\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:14:\"email_greeting\";a:11:{s:4:\"name\";s:14:\"email_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Email Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"email_greeting.label\";s:13:\"headerPattern\";s:19:\"/^email_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:21:\"email_greeting_custom\";a:12:{s:4:\"name\";s:21:\"email_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Email Greeting Custom\";s:11:\"description\";s:22:\"Custom Email Greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.email_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"external_identifier\";a:12:{s:4:\"name\";s:19:\"external_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:19:\"External Identifier\";s:11:\"description\";s:113:\"Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:35:\"civicrm_contact.external_identifier\";s:13:\"headerPattern\";s:16:\"/external\\s?id/i\";s:11:\"dataPattern\";s:11:\"/^\\d{11,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:5:\"group\";a:2:{s:5:\"title\";s:8:\"Group(s)\";s:4:\"name\";s:5:\"group\";}s:2:\"im\";a:13:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"IM Screen Name\";s:11:\"description\";s:14:\"IM screen name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:15:\"civicrm_im.name\";s:13:\"headerPattern\";s:40:\"/I(nstant )?M(ess.*)?|screen(\\s+)?name/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"image_URL\";a:12:{s:4:\"name\";s:9:\"image_URL\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Image Url\";s:11:\"description\";s:81:\"optional URL for preferred image (photo, logo, etc.) to display for this contact.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.image_URL\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"File\";}}s:10:\"geo_code_1\";a:11:{s:4:\"name\";s:10:\"geo_code_1\";s:4:\"type\";i:512;s:5:\"title\";s:8:\"Latitude\";s:11:\"description\";s:8:\"Latitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_1\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:16:\"legal_identifier\";a:12:{s:4:\"name\";s:16:\"legal_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Legal Identifier\";s:11:\"description\";s:104:\"May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.\n \";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.legal_identifier\";s:13:\"headerPattern\";s:13:\"/legal\\s?id/i\";s:11:\"dataPattern\";s:12:\"/\\w+?\\d{5,}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"legal_name\";a:12:{s:4:\"name\";s:10:\"legal_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"Legal Name\";s:11:\"description\";s:11:\"Legal Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.legal_name\";s:13:\"headerPattern\";s:27:\"/^legal|(l(egal\\s)?name)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"geo_code_2\";a:11:{s:4:\"name\";s:10:\"geo_code_2\";s:4:\"type\";i:512;s:5:\"title\";s:9:\"Longitude\";s:11:\"description\";s:9:\"Longitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_2\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"master_id\";a:11:{s:4:\"name\";s:9:\"master_id\";s:4:\"type\";i:1;s:5:\"title\";s:25:\"Master Address Belongs To\";s:11:\"description\";s:16:\"FK to Address ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_address.master_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:11:\"FKClassName\";s:20:\"CRM_Core_DAO_Address\";s:15:\"hasLocationType\";b:1;}s:9:\"nick_name\";a:12:{s:4:\"name\";s:9:\"nick_name\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Nickname\";s:11:\"description\";s:9:\"Nickname.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.nick_name\";s:13:\"headerPattern\";s:21:\"/n(ick\\s)name|nick$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"is_opt_out\";a:11:{s:4:\"name\";s:10:\"is_opt_out\";s:4:\"type\";i:16;s:5:\"title\";s:29:\"No Bulk Emails (User Opt Out)\";s:11:\"description\";s:93:\"Has the contact opted out from receiving all bulk email from the organization or site domain?\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_opt_out\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:4:\"note\";a:2:{s:5:\"title\";s:7:\"Note(s)\";s:4:\"name\";s:4:\"note\";}s:6:\"openid\";a:13:{s:4:\"name\";s:6:\"openid\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"OpenID\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"civicrm_openid.openid\";s:13:\"headerPattern\";s:27:\"/^Open.?ID|u(niq\\w*)?.?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:15:\"hasLocationType\";b:1;}s:17:\"organization_name\";a:12:{s:4:\"name\";s:17:\"organization_name\";s:4:\"type\";i:2;s:5:\"title\";s:17:\"Organization Name\";s:11:\"description\";s:18:\"Organization Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:33:\"civicrm_contact.organization_name\";s:13:\"headerPattern\";s:41:\"/^organization|(o(rganization\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:5:\"phone\";a:13:{s:4:\"name\";s:5:\"phone\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Phone\";s:11:\"description\";s:22:\"Complete phone number.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_phone.phone\";s:13:\"headerPattern\";s:8:\"/phone/i\";s:11:\"dataPattern\";s:19:\"/^[\\d\\(\\)\\-\\.\\s]+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"phone_ext\";a:13:{s:4:\"name\";s:9:\"phone_ext\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Phone Extension\";s:11:\"description\";s:38:\"Optional extension for a phone number.\";s:9:\"maxlength\";i:16;s:4:\"size\";i:4;s:6:\"import\";b:1;s:5:\"where\";s:23:\"civicrm_phone.phone_ext\";s:13:\"headerPattern\";s:12:\"/extension/i\";s:11:\"dataPattern\";s:7:\"/^\\d+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"postal_code\";a:13:{s:4:\"name\";s:11:\"postal_code\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Postal Code\";s:11:\"description\";s:114:\"Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_address.postal_code\";s:13:\"headerPattern\";s:13:\"/postal|zip/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:18:\"postal_code_suffix\";a:13:{s:4:\"name\";s:18:\"postal_code_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Postal Code Suffix\";s:11:\"description\";s:54:\"Store the suffix, like the +4 part in the USPS system.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:3;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_address.postal_code_suffix\";s:13:\"headerPattern\";s:29:\"/p(ostal)\\sc(ode)\\ss(uffix)/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:15:\"postal_greeting\";a:11:{s:4:\"name\";s:15:\"postal_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Postal Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"postal_greeting.label\";s:13:\"headerPattern\";s:20:\"/^postal_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:22:\"postal_greeting_custom\";a:12:{s:4:\"name\";s:22:\"postal_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Postal Greeting Custom\";s:11:\"description\";s:23:\"Custom Postal greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_contact.postal_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:30:\"preferred_communication_method\";a:13:{s:4:\"name\";s:30:\"preferred_communication_method\";s:4:\"type\";i:2;s:5:\"title\";s:30:\"Preferred Communication Method\";s:11:\"description\";s:44:\"What is the preferred mode of communication.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:46:\"civicrm_contact.preferred_communication_method\";s:13:\"headerPattern\";s:37:\"/^p(ref\\w*\\s)?c(omm\\w*)|( meth\\w*)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:30:\"preferred_communication_method\";s:14:\"optionEditPath\";s:52:\"civicrm/admin/options/preferred_communication_method\";}}s:18:\"preferred_language\";a:13:{s:4:\"name\";s:18:\"preferred_language\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Preferred Language\";s:11:\"description\";s:87:\"Which language is preferred for communication. FK to languages in civicrm_option_value.\";s:9:\"maxlength\";i:5;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_contact.preferred_language\";s:13:\"headerPattern\";s:8:\"/^lang/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:3:{s:15:\"optionGroupName\";s:9:\"languages\";s:9:\"keyColumn\";s:4:\"name\";s:14:\"optionEditPath\";s:31:\"civicrm/admin/options/languages\";}}s:21:\"preferred_mail_format\";a:14:{s:4:\"name\";s:21:\"preferred_mail_format\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Preferred Mail Format\";s:11:\"description\";s:47:\"What is the preferred mode of sending an email.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.preferred_mail_format\";s:13:\"headerPattern\";s:35:\"/^p(ref\\w*\\s)?m(ail\\s)?f(orm\\w*)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"Both\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:26:\"CRM_Core_SelectValues::pmf\";}}s:8:\"sic_code\";a:12:{s:4:\"name\";s:8:\"sic_code\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Sic Code\";s:11:\"description\";s:38:\"Standard Industry Classification Code.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:24:\"civicrm_contact.sic_code\";s:13:\"headerPattern\";s:23:\"/^sic|(s(ic\\s)?code)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:14:\"signature_html\";a:11:{s:4:\"name\";s:14:\"signature_html\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Html\";s:11:\"description\";s:39:\"HTML formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_html\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_text\";a:11:{s:4:\"name\";s:14:\"signature_text\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Text\";s:11:\"description\";s:39:\"Text formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_text\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"state_province\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"State\";s:11:\"description\";s:22:\"Name of State/Province\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_state_province.name\";s:13:\"headerPattern\";s:20:\"/state|prov(ince)?/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:14:\"street_address\";a:13:{s:4:\"name\";s:14:\"street_address\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Street Address\";s:11:\"description\";s:245:\"Concatenation of all routable street address components (prefix, street number, street name, suffix, unit\n number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail\n delivery, etc.).\n \";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_address.street_address\";s:13:\"headerPattern\";s:19:\"/(street|address)/i\";s:11:\"dataPattern\";s:56:\"/^(\\d{1,5}( [0-9A-Za-z]+)+)$|^(P\\.?O\\.\\? Box \\d{1,5})$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_1\";a:13:{s:4:\"name\";s:22:\"supplemental_address_1\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 1\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 1\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_1\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_2\";a:13:{s:4:\"name\";s:22:\"supplemental_address_2\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 2\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 2\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_2\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:3:\"tag\";a:2:{s:5:\"title\";s:6:\"Tag(s)\";s:4:\"name\";s:3:\"tag\";}s:14:\"user_unique_id\";a:13:{s:4:\"name\";s:14:\"user_unique_id\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Unique ID (OpenID)\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.user_unique_id\";s:13:\"headerPattern\";s:29:\"/^Open\\s?ID|u(niq\\w*)?\\s?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:3:\"url\";a:13:{s:4:\"name\";s:3:\"url\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Website\";s:11:\"description\";s:7:\"Website\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_website.url\";s:13:\"headerPattern\";s:10:\"/Website/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:14:\"hasWebsiteType\";b:1;}}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Organization_0_0_1_1._' ) + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'address_options' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT subtype.name as contact_subtype, type.name as contact_type +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type type ON ( subtype.parent_id = type.id ) +WHERE subtype.name IN ('Student' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields 8d6684c53f48fff14ce12313b7bff549' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND ( civicrm_custom_group.extends_entity_column_value LIKE '%Student%' ) AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields 8d6684c53f48fff14ce12313b7bff549._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields 8d6684c53f48fff14ce12313b7bff549' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields 8d6684c53f48fff14ce12313b7bff549' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields 8d6684c53f48fff14ce12313b7bff549._' ) + + +SELECT subtype.name as contact_subtype, type.name as contact_type +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type type ON ( subtype.parent_id = type.id ) +WHERE subtype.name IN ('Parent' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields d38118e9f6399c8246f9b359fb5c3722' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND ( civicrm_custom_group.extends_entity_column_value LIKE '%Parent%' ) AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields d38118e9f6399c8246f9b359fb5c3722._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields d38118e9f6399c8246f9b359fb5c3722' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields d38118e9f6399c8246f9b359fb5c3722' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields d38118e9f6399c8246f9b359fb5c3722._' ) + + +SELECT subtype.name as contact_subtype, type.name as contact_type +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type type ON ( subtype.parent_id = type.id ) +WHERE subtype.name IN ('Staff' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_Staff_0_0_0__0__1__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND ( civicrm_custom_group.extends_entity_column_value LIKE '%Staff%' ) AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_Staff_0_0_0__0__1__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_Staff_0_0_0__0__1__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Individual_Staff_0_0_0__0__1__1_6a657c34' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_Staff_0_0_0__0__1__1_6a657c34._' ) + + +SELECT subtype.name as contact_subtype, type.name as contact_type +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type type ON ( subtype.parent_id = type.id ) +WHERE subtype.name IN ('Team' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields e4f3d7124d33d1eabdeebb7eaece57cc' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND ( civicrm_custom_group.extends_entity_column_value LIKE '%Team%' ) AND civicrm_custom_group.extends IN ( 'Organization', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields e4f3d7124d33d1eabdeebb7eaece57cc._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields e4f3d7124d33d1eabdeebb7eaece57cc' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields e4f3d7124d33d1eabdeebb7eaece57cc' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields e4f3d7124d33d1eabdeebb7eaece57cc._' ) + + +SELECT subtype.name as contact_subtype, type.name as contact_type +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type type ON ( subtype.parent_id = type.id ) +WHERE subtype.name IN ('Sponsor' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields 153af20e0c23bb17da8c3b7b67297811' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND ( civicrm_custom_group.extends_entity_column_value LIKE '%Sponsor%' ) AND civicrm_custom_group.extends IN ( 'Organization', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields 153af20e0c23bb17da8c3b7b67297811._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields 153af20e0c23bb17da8c3b7b67297811' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields 153af20e0c23bb17da8c3b7b67297811' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields 153af20e0c23bb17da8c3b7b67297811._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Contribution' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Contribution_0_0_0_0__0__0__1_6a657c34' , 'a:1:{i:1;a:18:{s:5:\"label\";s:22:\"testCreateWithCustomXX\";s:10:\"groupTitle\";s:13:\"testCreateWit\";s:9:\"data_type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:13:\"default_value\";s:12:\"defaultValue\";s:11:\"text_length\";N;s:16:\"options_per_line\";N;s:15:\"custom_group_id\";s:1:\"1\";s:7:\"extends\";s:12:\"Contribution\";s:15:\"is_search_range\";s:1:\"0\";s:27:\"extends_entity_column_value\";N;s:24:\"extends_entity_column_id\";N;s:7:\"is_view\";s:1:\"0\";s:11:\"is_multiple\";s:1:\"0\";s:15:\"option_group_id\";N;s:11:\"date_format\";N;s:11:\"time_format\";N;s:11:\"is_required\";s:1:\"0\";}}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Participant_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Participant' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Participant_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Participant_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Participant_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Participant_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Membership_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Membership' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Membership_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Membership_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Membership_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Membership_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Activity_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Activity' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Activity_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Activity_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Activity_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Activity_0_0_0_0__0__0__1_6a657c34._' ) + + COMMIT + + TRUNCATE TABLE civicrm_acl_contact_cache + + +SELECT cg.table_name, cf.column_name, cg.id +FROM civicrm_custom_group cg, + civicrm_custom_field cf +WHERE cf.custom_group_id = cg.id +AND cf.id = 1 + + BEGIN + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'cg_extend_objects' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Contribution' ) AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' , 'a:1:{i:1;a:18:{s:5:\"label\";s:22:\"testCreateWithCustomXX\";s:10:\"groupTitle\";s:13:\"testCreateWit\";s:9:\"data_type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:13:\"default_value\";s:12:\"defaultValue\";s:11:\"text_length\";N;s:16:\"options_per_line\";N;s:15:\"custom_group_id\";s:1:\"1\";s:7:\"extends\";s:12:\"Contribution\";s:15:\"is_search_range\";s:1:\"0\";s:27:\"extends_entity_column_value\";N;s:24:\"extends_entity_column_id\";N;s:7:\"is_view\";s:1:\"0\";s:11:\"is_multiple\";s:1:\"0\";s:15:\"option_group_id\";N;s:11:\"date_format\";N;s:11:\"time_format\";N;s:11:\"is_required\";s:1:\"0\";}}' , 20151201183301 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__0_7acce319._' ) + + SELECT id AS id, name AS label FROM civicrm_financial_type ORDER BY name + + SELECT name AS id, symbol AS label FROM civicrm_currency ORDER BY symbol + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND g.is_active = 1 ORDER BY v.weight + + +SELECT cg.table_name, cf.column_name, cg.id +FROM civicrm_custom_group cg, + civicrm_custom_field cf +WHERE cf.custom_group_id = cg.id +AND cf.id = 1 + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND g.is_active = 1 AND v.is_active = 1 AND is_default = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + +SELECT ps.id AS setID, pfv.price_field_id AS priceFieldID, pfv.id AS priceFieldValueID, pfv.name, pfv.label, pfv.membership_type_id, pfv.amount, pfv.financial_type_id +FROM civicrm_price_set ps +LEFT JOIN civicrm_price_field pf ON pf.`price_set_id` = ps.id +LEFT JOIN civicrm_price_field_value pfv ON pfv.price_field_id = pf.id +WHERE ps.name = 'default_contribution_amount' + + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 1 , 1 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 1 , 1 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'account_relationship' + AND g.is_active = 1 AND v.is_active = 1 AND v.name LIKE 'Income Account is' ORDER BY v.weight + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 1 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 1 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 1 , 1 , 100 ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'account_relationship' + AND g.is_active = 1 AND v.is_active = 1 AND v.name LIKE 'Expense Account is' ORDER BY v.weight + + SELECT account_relationship, financial_account_id + FROM civicrm_entity_financial_account + + WHERE ( entity_id = 1 ) + + + ORDER BY financial_account_id + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 1 , 2 , 5 ) + + SELECT contact_id + FROM civicrm_domain + + WHERE ( civicrm_domain.id = 1 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183301 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 1 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 2 , 2 , 5 ) + + INSERT INTO civicrm_value_testcreatewit_1 ( testcreatewithcustomxx_1,entity_id ) VALUES ( 'custom string',1 ) ON DUPLICATE KEY UPDATE testcreatewithcustomxx_1 = 'custom string' + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 1 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 1 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 1 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'priority' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 1 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_contacts' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 1 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 1 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 1 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 1 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 1 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 1 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 1 , 'Activity created for source=3' , 3 , 20151201183302 ) + + SELECT id, name + FROM civicrm_financial_type + + WHERE ( is_active = 1 ) + + + ORDER BY name + + + SELECT display_name + FROM civicrm_contact + + WHERE ( civicrm_contact.id = 3 ) + + + + + + COMMIT + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'exportableFields All_1_0_1_' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Address' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183302 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183302 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Household', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183302 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Organization', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183302 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_exportableFields All_1_0_1_._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'exportableFields All_1_0_1_' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'exportableFields All_1_0_1_' , 'a:78:{s:2:\"id\";a:10:{s:4:\"name\";s:2:\"id\";s:4:\"type\";i:1;s:5:\"title\";s:10:\"Contact ID\";s:11:\"description\";s:17:\"Unique Contact ID\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:18:\"civicrm_contact.id\";s:13:\"headerPattern\";s:24:\"/internal|contact?|id$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:12:\"contact_type\";a:12:{s:4:\"name\";s:12:\"contact_type\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Contact Type\";s:11:\"description\";s:16:\"Type of Contact.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.contact_type\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:17:\"parent_id IS NULL\";}}s:16:\"contact_sub_type\";a:13:{s:4:\"name\";s:16:\"contact_sub_type\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Contact Subtype\";s:11:\"description\";s:57:\"May be used to over-ride contact view and edit templates.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.contact_sub_type\";s:13:\"headerPattern\";s:41:\"/C(ontact )?(subtype|sub-type|sub type)/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:12:\"Multi-Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:21:\"parent_id IS NOT NULL\";}}s:12:\"do_not_email\";a:9:{s:4:\"name\";s:12:\"do_not_email\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Email\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_email\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(email)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_phone\";a:9:{s:4:\"name\";s:12:\"do_not_phone\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Phone\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_phone\";s:13:\"headerPattern\";s:28:\"/d(o )?(not )?(call|phone)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:11:\"do_not_mail\";a:9:{s:4:\"name\";s:11:\"do_not_mail\";s:4:\"type\";i:16;s:5:\"title\";s:11:\"Do Not Mail\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.do_not_mail\";s:13:\"headerPattern\";s:45:\"/^(d(o\\s)?n(ot\\s)?mail)|(\\w*)?bulk\\s?(\\w*)$/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"do_not_sms\";a:9:{s:4:\"name\";s:10:\"do_not_sms\";s:4:\"type\";i:16;s:5:\"title\";s:10:\"Do Not Sms\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.do_not_sms\";s:13:\"headerPattern\";s:21:\"/d(o )?(not )?(sms)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_trade\";a:9:{s:4:\"name\";s:12:\"do_not_trade\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Trade\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_trade\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(trade)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"is_opt_out\";a:11:{s:4:\"name\";s:10:\"is_opt_out\";s:4:\"type\";i:16;s:5:\"title\";s:29:\"No Bulk Emails (User Opt Out)\";s:11:\"description\";s:93:\"Has the contact opted out from receiving all bulk email from the organization or site domain?\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_opt_out\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:16:\"legal_identifier\";a:12:{s:4:\"name\";s:16:\"legal_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Legal Identifier\";s:11:\"description\";s:104:\"May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.\n \";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.legal_identifier\";s:13:\"headerPattern\";s:13:\"/legal\\s?id/i\";s:11:\"dataPattern\";s:12:\"/\\w+?\\d{5,}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"external_identifier\";a:12:{s:4:\"name\";s:19:\"external_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:19:\"External Identifier\";s:11:\"description\";s:113:\"Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:35:\"civicrm_contact.external_identifier\";s:13:\"headerPattern\";s:16:\"/external\\s?id/i\";s:11:\"dataPattern\";s:11:\"/^\\d{11,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"sort_name\";a:11:{s:4:\"name\";s:9:\"sort_name\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Sort Name\";s:11:\"description\";s:45:\"Name used for sorting different contact types\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:25:\"civicrm_contact.sort_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:12:\"display_name\";a:11:{s:4:\"name\";s:12:\"display_name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Display Name\";s:11:\"description\";s:76:\"Formatted name representing preferred format for display/print/other output.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.display_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"nick_name\";a:12:{s:4:\"name\";s:9:\"nick_name\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Nickname\";s:11:\"description\";s:9:\"Nickname.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.nick_name\";s:13:\"headerPattern\";s:21:\"/n(ick\\s)name|nick$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"legal_name\";a:12:{s:4:\"name\";s:10:\"legal_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"Legal Name\";s:11:\"description\";s:11:\"Legal Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.legal_name\";s:13:\"headerPattern\";s:27:\"/^legal|(l(egal\\s)?name)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"image_URL\";a:12:{s:4:\"name\";s:9:\"image_URL\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Image Url\";s:11:\"description\";s:81:\"optional URL for preferred image (photo, logo, etc.) to display for this contact.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.image_URL\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"File\";}}s:30:\"preferred_communication_method\";a:13:{s:4:\"name\";s:30:\"preferred_communication_method\";s:4:\"type\";i:2;s:5:\"title\";s:30:\"Preferred Communication Method\";s:11:\"description\";s:44:\"What is the preferred mode of communication.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:46:\"civicrm_contact.preferred_communication_method\";s:13:\"headerPattern\";s:37:\"/^p(ref\\w*\\s)?c(omm\\w*)|( meth\\w*)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:30:\"preferred_communication_method\";s:14:\"optionEditPath\";s:52:\"civicrm/admin/options/preferred_communication_method\";}}s:18:\"preferred_language\";a:13:{s:4:\"name\";s:18:\"preferred_language\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Preferred Language\";s:11:\"description\";s:87:\"Which language is preferred for communication. FK to languages in civicrm_option_value.\";s:9:\"maxlength\";i:5;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_contact.preferred_language\";s:13:\"headerPattern\";s:8:\"/^lang/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:3:{s:15:\"optionGroupName\";s:9:\"languages\";s:9:\"keyColumn\";s:4:\"name\";s:14:\"optionEditPath\";s:31:\"civicrm/admin/options/languages\";}}s:21:\"preferred_mail_format\";a:14:{s:4:\"name\";s:21:\"preferred_mail_format\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Preferred Mail Format\";s:11:\"description\";s:47:\"What is the preferred mode of sending an email.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.preferred_mail_format\";s:13:\"headerPattern\";s:35:\"/^p(ref\\w*\\s)?m(ail\\s)?f(orm\\w*)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"Both\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:26:\"CRM_Core_SelectValues::pmf\";}}s:4:\"hash\";a:10:{s:4:\"name\";s:4:\"hash\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Contact Hash\";s:11:\"description\";s:52:\"Key for validating requests related to this contact.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"export\";b:1;s:5:\"where\";s:20:\"civicrm_contact.hash\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";}s:14:\"contact_source\";a:12:{s:4:\"name\";s:6:\"source\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Contact Source\";s:11:\"description\";s:61:\"where contact come from, e.g. import, donate module insert...\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:22:\"civicrm_contact.source\";s:13:\"headerPattern\";s:24:\"/(C(ontact\\s)?Source)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"first_name\";a:12:{s:4:\"name\";s:10:\"first_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"First Name\";s:11:\"description\";s:11:\"First Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.first_name\";s:13:\"headerPattern\";s:27:\"/^first|(f(irst\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:11:\"middle_name\";a:12:{s:4:\"name\";s:11:\"middle_name\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Middle Name\";s:11:\"description\";s:12:\"Middle Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.middle_name\";s:13:\"headerPattern\";s:29:\"/^middle|(m(iddle\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"last_name\";a:12:{s:4:\"name\";s:9:\"last_name\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Last Name\";s:11:\"description\";s:10:\"Last Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.last_name\";s:13:\"headerPattern\";s:25:\"/^last|(l(ast\\s)?name)$/i\";s:11:\"dataPattern\";s:16:\"/^\\w+(\\s\\w+)?+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"prefix_id\";a:11:{s:4:\"name\";s:9:\"prefix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Prefix\";s:11:\"description\";s:53:\"Prefix or Title for name (Ms, Mr...). FK to prefix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.prefix_id\";s:13:\"headerPattern\";s:18:\"/^(prefix|title)/i\";s:11:\"dataPattern\";s:26:\"/^(mr|ms|mrs|sir|dr)\\.?$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_prefix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_prefix\";}}s:9:\"suffix_id\";a:11:{s:4:\"name\";s:9:\"suffix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Suffix\";s:11:\"description\";s:44:\"Suffix for name (Jr, Sr...). FK to suffix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.suffix_id\";s:13:\"headerPattern\";s:11:\"/^suffix$/i\";s:11:\"dataPattern\";s:20:\"/^(sr|jr)\\.?|i{2,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_suffix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_suffix\";}}s:12:\"formal_title\";a:11:{s:4:\"name\";s:12:\"formal_title\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Formal Title\";s:11:\"description\";s:70:\"Formal (academic or similar) title in front of name. (Prof., Dr. etc.)\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.formal_title\";s:13:\"headerPattern\";s:9:\"/^title/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:22:\"communication_style_id\";a:10:{s:4:\"name\";s:22:\"communication_style_id\";s:4:\"type\";i:1;s:5:\"title\";s:19:\"Communication Style\";s:11:\"description\";s:124:\"Communication style (e.g. formal vs. familiar) to use with this contact. FK to communication styles in civicrm_option_value.\";s:6:\"export\";b:1;s:5:\"where\";s:38:\"civicrm_contact.communication_style_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:19:\"communication_style\";s:14:\"optionEditPath\";s:41:\"civicrm/admin/options/communication_style\";}}s:9:\"job_title\";a:12:{s:4:\"name\";s:9:\"job_title\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Job Title\";s:11:\"description\";s:9:\"Job Title\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.job_title\";s:13:\"headerPattern\";s:24:\"/^job|(j(ob\\s)?title)$/i\";s:11:\"dataPattern\";s:2:\"//\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"gender_id\";a:11:{s:4:\"name\";s:9:\"gender_id\";s:4:\"type\";i:1;s:5:\"title\";s:6:\"Gender\";s:11:\"description\";s:15:\"FK to gender ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.gender_id\";s:13:\"headerPattern\";s:11:\"/^gender$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:6:\"gender\";s:14:\"optionEditPath\";s:28:\"civicrm/admin/options/gender\";}}s:10:\"birth_date\";a:10:{s:4:\"name\";s:10:\"birth_date\";s:4:\"type\";i:4;s:5:\"title\";s:10:\"Birth Date\";s:11:\"description\";s:13:\"Date of birth\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.birth_date\";s:13:\"headerPattern\";s:46:\"/^birth|(b(irth\\s)?date)|D(\\W*)O(\\W*)B(\\W*)$/i\";s:11:\"dataPattern\";s:21:\"/\\d{4}-?\\d{2}-?\\d{2}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:11:\"is_deceased\";a:9:{s:4:\"name\";s:11:\"is_deceased\";s:4:\"type\";i:16;s:5:\"title\";s:8:\"Deceased\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.is_deceased\";s:13:\"headerPattern\";s:21:\"/i(s\\s)?d(eceased)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:13:\"deceased_date\";a:10:{s:4:\"name\";s:13:\"deceased_date\";s:4:\"type\";i:4;s:5:\"title\";s:13:\"Deceased Date\";s:11:\"description\";s:16:\"Date of deceased\";s:6:\"import\";b:1;s:5:\"where\";s:29:\"civicrm_contact.deceased_date\";s:13:\"headerPattern\";s:33:\"/^deceased|(d(eceased\\s)?date)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:14:\"household_name\";a:12:{s:4:\"name\";s:14:\"household_name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Household Name\";s:11:\"description\";s:15:\"Household Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.household_name\";s:13:\"headerPattern\";s:35:\"/^household|(h(ousehold\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:17:\"organization_name\";a:12:{s:4:\"name\";s:17:\"organization_name\";s:4:\"type\";i:2;s:5:\"title\";s:17:\"Organization Name\";s:11:\"description\";s:18:\"Organization Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:33:\"civicrm_contact.organization_name\";s:13:\"headerPattern\";s:41:\"/^organization|(o(rganization\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:8:\"sic_code\";a:12:{s:4:\"name\";s:8:\"sic_code\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Sic Code\";s:11:\"description\";s:38:\"Standard Industry Classification Code.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:24:\"civicrm_contact.sic_code\";s:13:\"headerPattern\";s:23:\"/^sic|(s(ic\\s)?code)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:14:\"user_unique_id\";a:13:{s:4:\"name\";s:14:\"user_unique_id\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Unique ID (OpenID)\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.user_unique_id\";s:13:\"headerPattern\";s:29:\"/^Open\\s?ID|u(niq\\w*)?\\s?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"current_employer_id\";a:10:{s:4:\"name\";s:11:\"employer_id\";s:4:\"type\";i:1;s:5:\"title\";s:16:\"Current Employer\";s:11:\"description\";s:38:\"OPTIONAL FK to civicrm_contact record.\";s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_contact.employer_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:11:\"FKClassName\";s:23:\"CRM_Contact_DAO_Contact\";s:4:\"html\";a:1:{s:4:\"type\";s:19:\"Autocomplete-Select\";}}s:18:\"contact_is_deleted\";a:9:{s:4:\"name\";s:10:\"is_deleted\";s:4:\"type\";i:16;s:5:\"title\";s:19:\"Contact is in Trash\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_deleted\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"created_date\";a:10:{s:4:\"name\";s:12:\"created_date\";s:4:\"type\";i:256;s:5:\"title\";s:12:\"Created Date\";s:11:\"description\";s:33:\"When was the contact was created.\";s:8:\"required\";b:0;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.created_date\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:7:\"default\";s:4:\"NULL\";}s:13:\"modified_date\";a:10:{s:4:\"name\";s:13:\"modified_date\";s:4:\"type\";i:256;s:5:\"title\";s:13:\"Modified Date\";s:11:\"description\";s:84:\"When was the contact (or closely related entity) was created or modified or deleted.\";s:8:\"required\";b:0;s:6:\"export\";b:1;s:5:\"where\";s:29:\"civicrm_contact.modified_date\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:7:\"default\";s:45:\"CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP\";}s:9:\"addressee\";a:11:{s:4:\"name\";s:9:\"addressee\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Addressee\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:15:\"addressee.label\";s:13:\"headerPattern\";s:14:\"/^addressee$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:14:\"email_greeting\";a:11:{s:4:\"name\";s:14:\"email_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Email Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"email_greeting.label\";s:13:\"headerPattern\";s:19:\"/^email_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:15:\"postal_greeting\";a:11:{s:4:\"name\";s:15:\"postal_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Postal Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"postal_greeting.label\";s:13:\"headerPattern\";s:20:\"/^postal_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:16:\"current_employer\";a:2:{s:4:\"name\";s:17:\"organization_name\";s:5:\"title\";s:16:\"Current Employer\";}s:13:\"location_type\";a:4:{s:4:\"name\";s:13:\"location_type\";s:5:\"where\";s:26:\"civicrm_location_type.name\";s:5:\"title\";s:13:\"Location Type\";s:15:\"hasLocationType\";b:1;}s:14:\"street_address\";a:13:{s:4:\"name\";s:14:\"street_address\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Street Address\";s:11:\"description\";s:245:\"Concatenation of all routable street address components (prefix, street number, street name, suffix, unit\n number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail\n delivery, etc.).\n \";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_address.street_address\";s:13:\"headerPattern\";s:19:\"/(street|address)/i\";s:11:\"dataPattern\";s:56:\"/^(\\d{1,5}( [0-9A-Za-z]+)+)$|^(P\\.?O\\.\\? Box \\d{1,5})$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:13:\"street_number\";a:10:{s:4:\"name\";s:13:\"street_number\";s:4:\"type\";i:1;s:5:\"title\";s:13:\"Street Number\";s:11:\"description\";s:96:\"Numeric portion of address number on the street, e.g. For 112A Main St, the street_number = 112.\";s:6:\"export\";b:1;s:5:\"where\";s:29:\"civicrm_address.street_number\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:20:\"street_number_suffix\";a:12:{s:4:\"name\";s:20:\"street_number_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:20:\"Street Number Suffix\";s:11:\"description\";s:109:\"Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A\n \";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"export\";b:1;s:5:\"where\";s:36:\"civicrm_address.street_number_suffix\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"street_name\";a:12:{s:4:\"name\";s:11:\"street_name\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Street Name\";s:11:\"description\";s:92:\"Actual street name, excluding St, Dr, Rd, Ave, e.g. For 112 Main St, the street_name = Main.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_address.street_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"street_unit\";a:12:{s:4:\"name\";s:11:\"street_unit\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Street Unit\";s:11:\"description\";s:64:\"Secondary unit designator, e.g. Apt 3 or Unit # 14, or Bldg 1200\";s:9:\"maxlength\";i:16;s:4:\"size\";i:12;s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_address.street_unit\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_1\";a:13:{s:4:\"name\";s:22:\"supplemental_address_1\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 1\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 1\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_1\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_2\";a:13:{s:4:\"name\";s:22:\"supplemental_address_2\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 2\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 2\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_2\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:4:\"city\";a:13:{s:4:\"name\";s:4:\"city\";s:4:\"type\";i:2;s:5:\"title\";s:4:\"City\";s:11:\"description\";s:27:\"City, Town or Village Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.city\";s:13:\"headerPattern\";s:7:\"/city/i\";s:11:\"dataPattern\";s:37:\"/^[A-Za-z]+(\\.?)(\\s?[A-Za-z]+){0,2}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:18:\"postal_code_suffix\";a:13:{s:4:\"name\";s:18:\"postal_code_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Postal Code Suffix\";s:11:\"description\";s:54:\"Store the suffix, like the +4 part in the USPS system.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:3;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_address.postal_code_suffix\";s:13:\"headerPattern\";s:29:\"/p(ostal)\\sc(ode)\\ss(uffix)/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"postal_code\";a:13:{s:4:\"name\";s:11:\"postal_code\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Postal Code\";s:11:\"description\";s:114:\"Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_address.postal_code\";s:13:\"headerPattern\";s:13:\"/postal|zip/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:10:\"geo_code_1\";a:11:{s:4:\"name\";s:10:\"geo_code_1\";s:4:\"type\";i:512;s:5:\"title\";s:8:\"Latitude\";s:11:\"description\";s:8:\"Latitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_1\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:10:\"geo_code_2\";a:11:{s:4:\"name\";s:10:\"geo_code_2\";s:4:\"type\";i:512;s:5:\"title\";s:9:\"Longitude\";s:11:\"description\";s:9:\"Longitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_2\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:12:\"address_name\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Address Name\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.name\";s:13:\"headerPattern\";s:33:\"/^location|(l(ocation\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"master_id\";a:11:{s:4:\"name\";s:9:\"master_id\";s:4:\"type\";i:1;s:5:\"title\";s:25:\"Master Address Belongs To\";s:11:\"description\";s:16:\"FK to Address ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_address.master_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:11:\"FKClassName\";s:20:\"CRM_Core_DAO_Address\";s:15:\"hasLocationType\";b:1;}s:6:\"county\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"County\";s:11:\"description\";s:14:\"Name of County\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_county.name\";s:13:\"headerPattern\";s:9:\"/county/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:14:\"state_province\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"State\";s:11:\"description\";s:22:\"Name of State/Province\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_state_province.name\";s:13:\"headerPattern\";s:20:\"/state|prov(ince)?/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:7:\"country\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Country\";s:11:\"description\";s:12:\"Country Name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_country.name\";s:13:\"headerPattern\";s:10:\"/country/i\";s:11:\"dataPattern\";s:39:\"/^[A-Z][a-z]+\\.?(\\s+[A-Z][a-z]+){0,3}$/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:5:\"phone\";a:13:{s:4:\"name\";s:5:\"phone\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Phone\";s:11:\"description\";s:22:\"Complete phone number.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_phone.phone\";s:13:\"headerPattern\";s:8:\"/phone/i\";s:11:\"dataPattern\";s:19:\"/^[\\d\\(\\)\\-\\.\\s]+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"phone_ext\";a:13:{s:4:\"name\";s:9:\"phone_ext\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Phone Extension\";s:11:\"description\";s:38:\"Optional extension for a phone number.\";s:9:\"maxlength\";i:16;s:4:\"size\";i:4;s:6:\"import\";b:1;s:5:\"where\";s:23:\"civicrm_phone.phone_ext\";s:13:\"headerPattern\";s:12:\"/extension/i\";s:11:\"dataPattern\";s:7:\"/^\\d+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:5:\"email\";a:14:{s:4:\"name\";s:5:\"email\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Email\";s:11:\"description\";s:13:\"Email address\";s:9:\"maxlength\";i:254;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_email.email\";s:13:\"headerPattern\";s:10:\"/e.?mail/i\";s:11:\"dataPattern\";s:91:\"/^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$/\";s:6:\"export\";b:1;s:4:\"rule\";s:5:\"email\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:7:\"on_hold\";a:11:{s:4:\"name\";s:7:\"on_hold\";s:4:\"type\";i:16;s:5:\"title\";s:7:\"On Hold\";s:11:\"description\";s:31:\"Is this address on bounce hold?\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:21:\"civicrm_email.on_hold\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}s:15:\"hasLocationType\";b:1;}s:11:\"is_bulkmail\";a:10:{s:4:\"name\";s:11:\"is_bulkmail\";s:4:\"type\";i:16;s:5:\"title\";s:17:\"Use for Bulk Mail\";s:11:\"description\";s:31:\"Is this address for bulk mail ?\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:25:\"civicrm_email.is_bulkmail\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_text\";a:11:{s:4:\"name\";s:14:\"signature_text\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Text\";s:11:\"description\";s:39:\"Text formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_text\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_html\";a:11:{s:4:\"name\";s:14:\"signature_html\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Html\";s:11:\"description\";s:39:\"HTML formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_html\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:11:\"im_provider\";a:4:{s:4:\"name\";s:11:\"im_provider\";s:5:\"where\";s:22:\"civicrm_im.provider_id\";s:5:\"title\";s:11:\"IM Provider\";s:15:\"hasLocationType\";b:1;}s:2:\"im\";a:13:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"IM Screen Name\";s:11:\"description\";s:14:\"IM screen name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:15:\"civicrm_im.name\";s:13:\"headerPattern\";s:40:\"/I(nstant )?M(ess.*)?|screen(\\s+)?name/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:6:\"openid\";a:13:{s:4:\"name\";s:6:\"openid\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"OpenID\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"civicrm_openid.openid\";s:13:\"headerPattern\";s:27:\"/^Open.?ID|u(niq\\w*)?.?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:15:\"hasLocationType\";b:1;}s:12:\"world_region\";a:10:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"World Region\";s:11:\"description\";s:43:\"Region name to be associated with countries\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"export\";b:1;s:5:\"where\";s:24:\"civicrm_worldregion.name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";}s:3:\"url\";a:12:{s:4:\"name\";s:3:\"url\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Website\";s:11:\"description\";s:7:\"Website\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_website.url\";s:13:\"headerPattern\";s:10:\"/Website/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:6:\"groups\";a:2:{s:5:\"title\";s:8:\"Group(s)\";s:4:\"name\";s:6:\"groups\";}s:4:\"tags\";a:2:{s:5:\"title\";s:6:\"Tag(s)\";s:4:\"name\";s:4:\"tags\";}s:5:\"notes\";a:2:{s:5:\"title\";s:7:\"Note(s)\";s:4:\"name\";s:5:\"notes\";}}' , 20151201183302 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_exportableFields All_1_0_1_._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Pledge_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Pledge' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Pledge_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Pledge_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Pledge_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183302 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Pledge_0_0_0_0__0__0__1_6a657c34._' ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND g.is_active = 1 AND v.is_active = 1 AND v.name IN ('Pending', 'Overdue') ORDER BY v.weight + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f, + civicrm_custom_group g + WHERE f.custom_group_id = g.id + AND g.is_active = 1 + AND f.is_active = 1 + AND f.id IN ( 1 ) + + SELECT extends + FROM civicrm_custom_group + + WHERE ( civicrm_custom_group.id = 1 ) + + + + + + SELECT civicrm_contribution.id, contact_a.id as contact_id, civicrm_contribution.id as contribution_id, civicrm_value_testcreatewit_1.id as civicrm_value_testcreatewit_1_id, civicrm_value_testcreatewit_1.testcreatewithcustomxx_1 as custom_1 FROM civicrm_contact contact_a LEFT JOIN civicrm_contribution ON civicrm_contribution.contact_id = contact_a.id +LEFT JOIN civicrm_value_testcreatewit_1 ON civicrm_value_testcreatewit_1.entity_id = `civicrm_contribution`.id WHERE ( civicrm_contribution.id = 1 ) LIMIT 0, 25 + + + SELECT ccs.id, pcp_id, cpcp.title as pcp_title, pcp_display_in_roll, pcp_roll_nickname, pcp_personal_note, ccs.currency as currency, amount, ccs.contact_id as contact_id, c.display_name, ccs.soft_credit_type_id + FROM civicrm_contribution_soft ccs INNER JOIN civicrm_contact c on c.id = ccs.contact_id + LEFT JOIN civicrm_pcp cpcp ON ccs.pcp_id = cpcp.id + WHERE contribution_id = 1; + + + BEGIN + + SELECT * + FROM civicrm_custom_field + + WHERE ( civicrm_custom_field.id = 1 ) + + + + + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173302) >= 5) + + + SELECT table_name + FROM civicrm_custom_group + + WHERE ( civicrm_custom_group.id = 1 ) + + + + + + ALTER TABLE civicrm_value_testcreatewit_1 DROP COLUMN `testcreatewithcustomxx_1` + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'civicrm_%' + + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'log_civicrm_%' + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT * + FROM civicrm_custom_group + + WHERE ( extends IN ( 'Contact','Individual','Household','Organization' ) ) AND ( civicrm_custom_group.is_multiple = 0 ) + + + + + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_delete + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_delete + + DELETE FROM civicrm_custom_field WHERE ( civicrm_custom_field.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_custom_field' + + SELECT * + FROM civicrm_uf_field + + WHERE ( civicrm_uf_field.field_name = 'custom_1' ) + + + + + + SELECT MIN(id) AS dupeId, count(id) as dupeCount, weight as dupeWeight FROM civicrm_custom_field GROUP BY weight having dupeCount>1 + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'cg_extend_objects' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields CustomField_0_0_0_0__0__0__0_7acce319' ) + + + + + + COMMIT + + TRUNCATE TABLE civicrm_acl_contact_cache + + BEGIN + + SELECT * + FROM civicrm_custom_group + + WHERE ( civicrm_custom_group.id = 1 ) + + + + + + SELECT * + FROM civicrm_custom_field + + WHERE ( civicrm_custom_field.custom_group_id = 1 ) + + + + + + DROP TABLE civicrm_value_testcreatewit_1 + + DELETE FROM civicrm_custom_group WHERE ( civicrm_custom_group.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_custom_group' + + COMMIT + + BEGIN + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Contribution' ) AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' , 'a:0:{}' , 20151201183302 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__0_7acce319._' ) + + SELECT id AS id, name AS label FROM civicrm_financial_type ORDER BY name + + SELECT name AS id, symbol AS label FROM civicrm_currency ORDER BY symbol + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND g.is_active = 1 ORDER BY v.weight + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND g.is_active = 1 AND v.is_active = 1 AND is_default = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 2 , 3 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 2 , 2 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'account_relationship' + AND g.is_active = 1 AND v.is_active = 1 AND v.name LIKE 'Income Account is' ORDER BY v.weight + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 2 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 2 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 3 , 3 , 100 ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'account_relationship' + AND g.is_active = 1 AND v.is_active = 1 AND v.name LIKE 'Expense Account is' ORDER BY v.weight + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 2 , 4 , 5 ) + + SELECT contact_id + FROM civicrm_domain + + WHERE ( civicrm_domain.id = 1 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183302 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 3 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 4 , 4 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 2 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 2 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 2 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'priority' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 2 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_contacts' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 2 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 2 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 2 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 2 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 2 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 2 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 2 , 'Activity created for source=3' , 3 , 20151201183302 ) + + SELECT id, name + FROM civicrm_financial_type + + WHERE ( is_active = 1 ) + + + ORDER BY name + + + SELECT display_name + FROM civicrm_contact + + WHERE ( civicrm_contact.id = 3 ) + + + + + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 3 , 5 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 3 , 3 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 3 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 3 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 5 , 5 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 3 , 6 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183302 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 5 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 6 , 6 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 3 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 3 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 3 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 3 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 3 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 3 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 3 , 'Activity created for source=3' , 3 , 20151201183302 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 4 , 7 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 4 , 4 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 4 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 7 , 7 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 4 , 8 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183302 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 7 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 8 , 8 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 4 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 4 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 4 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 4 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 4 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 4 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 4 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 4 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 4 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 4 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 4 , 'Activity created for source=3' , 3 , 20151201183302 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 5 , 9 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 5 , 5 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 5 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 5 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 9 , 9 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 5 , 10 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183303 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 9 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 10 , 10 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 5 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 5 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 5 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 5 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 5 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 5 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 5 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 5 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 5 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 5 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 5 , 'Activity created for source=3' , 3 , 20151201183303 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 6 , 11 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 6 , 6 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 6 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 6 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 11 , 11 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 6 , 12 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183303 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 11 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 12 , 12 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 6 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 6 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 6 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 6 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 6 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 6 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 6 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 6 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 6 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 6 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 6 , 'Activity created for source=3' , 3 , 20151201183303 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 7 , 13 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 7 , 7 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 7 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 7 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 13 , 13 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 7 , 14 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183303 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 13 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 14 , 14 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 7 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 7 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 7 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 7 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 7 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 7 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 7 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 7 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 7 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 7 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 7 , 'Activity created for source=3' , 3 , 20151201183303 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 8 , 15 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 8 , 8 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 8 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 8 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 15 , 15 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 8 , 16 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183303 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 15 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 16 , 16 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 8 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 8 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 8 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 8 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 8 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 8 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 8 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 8 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 8 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 8 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 8 , 'Activity created for source=3' , 3 , 20151201183303 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 9 , 17 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 9 , 9 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 9 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 9 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 17 , 17 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 9 , 18 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183303 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 17 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 18 , 18 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 9 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 9 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 9 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 9 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 9 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 9 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 9 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 9 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 9 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 9 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 9 , 'Activity created for source=3' , 3 , 20151201183303 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 10 , 19 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 10 , 10 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 10 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 10 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 19 , 19 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 10 , 20 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183303 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 19 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 20 , 20 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 10 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 10 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 10 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 10 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 10 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 10 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 10 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 10 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 10 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 10 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 10 , 'Activity created for source=3' , 3 , 20151201183303 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 11 , 21 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 11 , 11 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 11 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 11 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 21 , 21 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 11 , 22 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183304 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 21 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 22 , 22 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 11 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 11 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 11 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 11 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 11 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 11 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 11 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 11 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 11 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 11 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 11 , 'Activity created for source=3' , 3 , 20151201183304 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 12 , 23 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 12 , 12 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 12 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 12 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 23 , 23 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 12 , 24 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183304 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 23 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 24 , 24 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 12 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 12 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 12 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 12 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 12 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 12 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 12 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 12 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 12 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 12 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 12 , 'Activity created for source=3' , 3 , 20151201183304 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 13 , 25 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 13 , 13 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 13 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 13 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 25 , 25 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 13 , 26 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183304 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 25 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 26 , 26 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 13 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 13 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 13 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 13 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 13 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 13 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 13 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 13 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 13 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 13 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 13 , 'Activity created for source=3' , 3 , 20151201183304 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 14 , 27 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 14 , 14 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 14 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 14 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 27 , 27 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 14 , 28 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183304 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 27 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 28 , 28 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 14 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 14 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 14 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 14 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 14 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 14 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 14 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 14 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 14 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 14 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 14 , 'Activity created for source=3' , 3 , 20151201183304 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 15 , 29 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 15 , 15 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 15 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 15 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 29 , 29 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 15 , 30 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183304 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 29 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 30 , 30 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 15 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 15 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 15 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 15 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 15 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 15 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 15 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 15 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 15 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 15 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 15 , 'Activity created for source=3' , 3 , 20151201183304 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 16 , 31 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 16 , 16 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 16 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 16 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 31 , 31 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 16 , 32 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183304 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 31 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 32 , 32 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 16 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 16 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 16 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 16 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 16 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 16 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 16 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 16 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 16 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 16 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 16 , 'Activity created for source=3' , 3 , 20151201183304 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 17 , 33 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 17 , 17 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 17 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 17 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 33 , 33 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 17 , 34 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183304 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 33 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 34 , 34 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 17 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 17 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 17 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 17 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 17 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 17 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 17 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 17 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 17 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 17 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 17 , 'Activity created for source=3' , 3 , 20151201183305 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 18 , 35 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 18 , 18 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 18 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 18 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 35 , 35 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 18 , 36 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183305 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 35 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 36 , 36 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 18 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 18 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 18 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 18 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 18 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 18 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 18 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 18 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 18 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 18 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 18 , 'Activity created for source=3' , 3 , 20151201183305 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 19 , 37 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 19 , 19 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 19 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 19 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 37 , 37 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 19 , 38 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183305 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 37 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 38 , 38 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 19 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 19 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 19 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 19 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 19 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 19 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 19 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 19 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 19 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 19 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 19 , 'Activity created for source=3' , 3 , 20151201183305 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 20 , 39 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 20 , 20 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 20 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 20 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 39 , 39 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 20 , 40 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183305 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 39 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 40 , 40 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 20 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 20 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 20 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 20 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 20 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 20 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 20 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 20 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 20 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 20 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 20 , 'Activity created for source=3' , 3 , 20151201183305 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 21 , 41 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 21 , 21 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 21 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 21 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 41 , 41 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 21 , 42 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183305 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 41 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 42 , 42 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 21 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 21 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 21 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 21 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 21 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 21 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 21 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 21 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 21 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 21 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 21 , 'Activity created for source=3' , 3 , 20151201183305 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 22 , 43 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 22 , 22 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 22 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 22 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 43 , 43 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 22 , 44 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183305 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 43 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 44 , 44 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 22 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 22 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 22 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 22 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 22 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 22 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 22 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 22 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 22 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 22 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 22 , 'Activity created for source=3' , 3 , 20151201183305 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 23 , 45 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 23 , 23 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 23 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 23 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 45 , 45 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 23 , 46 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183305 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 45 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 46 , 46 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 23 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 23 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 23 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 23 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 23 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 23 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 23 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 23 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 23 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 23 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 23 , 'Activity created for source=3' , 3 , 20151201183306 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 24 , 47 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 24 , 24 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 24 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 24 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 47 , 47 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 24 , 48 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183306 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 47 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 48 , 48 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 24 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 24 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 24 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 24 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 24 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 24 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 24 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 24 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 24 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 24 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 24 , 'Activity created for source=3' , 3 , 20151201183306 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 25 , 49 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 25 , 25 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 25 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 25 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 49 , 49 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 25 , 50 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183306 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 49 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 50 , 50 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 25 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 25 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 25 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 25 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 25 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 25 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 25 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 25 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 25 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 25 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 25 , 'Activity created for source=3' , 3 , 20151201183306 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 26 , 51 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 26 , 26 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 26 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 26 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 51 , 51 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 26 , 52 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183306 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 51 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 52 , 52 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 26 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 26 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 26 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 26 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 26 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 26 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 26 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 26 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 26 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 26 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 26 , 'Activity created for source=3' , 3 , 20151201183306 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 27 , 53 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 27 , 27 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 27 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 27 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 53 , 53 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 27 , 54 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183306 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 53 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 54 , 54 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 27 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 27 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 27 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 27 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 27 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 27 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 27 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 27 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 27 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 27 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 27 , 'Activity created for source=3' , 3 , 20151201183306 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 28 , 55 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 28 , 28 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 28 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 28 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 55 , 55 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 28 , 56 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183306 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 55 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 56 , 56 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 28 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 28 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 28 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 28 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 28 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 28 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 28 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 28 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 28 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 28 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 28 , 'Activity created for source=3' , 3 , 20151201183306 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 29 , 57 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 29 , 29 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 29 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 29 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 57 , 57 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 29 , 58 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183307 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 57 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 58 , 58 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 29 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 29 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 29 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 29 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 29 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 29 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 29 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 29 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 29 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 29 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 29 , 'Activity created for source=3' , 3 , 20151201183307 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 30 , 59 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 30 , 30 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 30 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 30 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 59 , 59 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 30 , 60 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183307 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 59 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 60 , 60 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 30 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 30 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 30 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 30 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 30 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 30 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 30 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 30 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 30 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 30 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 30 , 'Activity created for source=3' , 3 , 20151201183307 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 31 , 61 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 31 , 31 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 31 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 31 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 61 , 61 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 31 , 62 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183307 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 61 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 62 , 62 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 31 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 31 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 31 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 31 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 31 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 31 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 31 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 31 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 31 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 31 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 31 , 'Activity created for source=3' , 3 , 20151201183307 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 32 , 63 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 32 , 32 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 32 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 32 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 63 , 63 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 32 , 64 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183307 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 63 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 64 , 64 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 32 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 32 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 32 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 32 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 32 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 32 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 32 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 32 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 32 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 32 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 32 , 'Activity created for source=3' , 3 , 20151201183307 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 33 , 65 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 33 , 33 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 33 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 33 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 65 , 65 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 33 , 66 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183307 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 65 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 66 , 66 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 33 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 33 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 33 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 33 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 33 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 33 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 33 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 33 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 33 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 33 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 33 , 'Activity created for source=3' , 3 , 20151201183307 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 34 , 67 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 34 , 34 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 34 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 34 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 67 , 67 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 34 , 68 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183307 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 67 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 68 , 68 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 34 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 34 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 34 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 34 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 34 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 34 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 34 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 34 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 34 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 34 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 34 , 'Activity created for source=3' , 3 , 20151201183307 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 35 , 69 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 35 , 35 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 35 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 35 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 69 , 69 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 35 , 70 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183308 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 69 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 70 , 70 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 35 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 35 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 35 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 35 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 35 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 35 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 35 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 35 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 35 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 35 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 35 , 'Activity created for source=3' , 3 , 20151201183308 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 36 , 71 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 36 , 36 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 36 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 36 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 71 , 71 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 36 , 72 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183308 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 71 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 72 , 72 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 36 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 36 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 36 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 36 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 36 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 36 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 36 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 36 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 36 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 36 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 36 , 'Activity created for source=3' , 3 , 20151201183308 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 37 , 73 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 37 , 37 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 37 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 37 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 73 , 73 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 37 , 74 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183308 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 73 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 74 , 74 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 37 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 37 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 37 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 37 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 37 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 37 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 37 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 37 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 37 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 37 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 37 , 'Activity created for source=3' , 3 , 20151201183308 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 38 , 75 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 38 , 38 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 38 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 38 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 75 , 75 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 38 , 76 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183308 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 75 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 76 , 76 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 38 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 38 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 38 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 38 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 38 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 38 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 38 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 38 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 38 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 38 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 38 , 'Activity created for source=3' , 3 , 20151201183308 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 39 , 77 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 39 , 39 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 39 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 39 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 77 , 77 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 39 , 78 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183308 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 77 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 78 , 78 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 39 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 39 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 39 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 39 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 39 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 39 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 39 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 39 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 39 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 39 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 39 , 'Activity created for source=3' , 3 , 20151201183308 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 40 , 79 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 40 , 40 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 40 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 40 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 79 , 79 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 40 , 80 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183308 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 79 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 80 , 80 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 40 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 40 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 40 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 40 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 40 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 40 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 40 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 40 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 40 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 40 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 40 , 'Activity created for source=3' , 3 , 20151201183308 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 41 , 81 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 41 , 41 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 41 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 41 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 81 , 81 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 41 , 82 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183309 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 81 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 82 , 82 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 41 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 41 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 41 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 41 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 41 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 41 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 41 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 41 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 41 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 41 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 41 , 'Activity created for source=3' , 3 , 20151201183309 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 42 , 83 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 42 , 42 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 42 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 42 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 83 , 83 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 42 , 84 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183309 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 83 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 84 , 84 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 42 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 42 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 42 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 42 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 42 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 42 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 42 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 42 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 42 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 42 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 42 , 'Activity created for source=3' , 3 , 20151201183309 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 43 , 85 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 43 , 43 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 43 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 43 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 85 , 85 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 43 , 86 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183309 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 85 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 86 , 86 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 43 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 43 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 43 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 43 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 43 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 43 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 43 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 43 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 43 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 43 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 43 , 'Activity created for source=3' , 3 , 20151201183309 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 44 , 87 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 44 , 44 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 44 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 44 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 87 , 87 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 44 , 88 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183309 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 87 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 88 , 88 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 44 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 44 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 44 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 44 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 44 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 44 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 44 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 44 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 44 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 44 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 44 , 'Activity created for source=3' , 3 , 20151201183309 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 45 , 89 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 45 , 45 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 45 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 45 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 89 , 89 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 45 , 90 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183309 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 89 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 90 , 90 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 45 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 45 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 45 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 45 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 45 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 45 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 45 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 45 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 45 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 45 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 45 , 'Activity created for source=3' , 3 , 20151201183309 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 46 , 91 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 46 , 46 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 46 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 46 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 91 , 91 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 46 , 92 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183310 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 91 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 92 , 92 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 46 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 46 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 46 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 46 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 46 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 46 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 46 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 46 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 46 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 46 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 46 , 'Activity created for source=3' , 3 , 20151201183310 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 47 , 93 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 47 , 47 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 47 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 47 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 93 , 93 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 47 , 94 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183310 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 93 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 94 , 94 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 47 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 47 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 47 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 47 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 47 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 47 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 47 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 47 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 47 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 47 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 47 , 'Activity created for source=3' , 3 , 20151201183310 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 48 , 95 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 48 , 48 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 48 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 48 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 95 , 95 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 48 , 96 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183310 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 95 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 96 , 96 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 48 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 48 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 48 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 48 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 48 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 48 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 48 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 48 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 48 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 48 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 48 , 'Activity created for source=3' , 3 , 20151201183310 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 49 , 97 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 49 , 49 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 49 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 49 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 97 , 97 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 49 , 98 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183310 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 97 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 98 , 98 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 49 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 49 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 49 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 49 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 49 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 49 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 49 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 49 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 49 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 49 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 49 , 'Activity created for source=3' , 3 , 20151201183310 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 50 , 99 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 50 , 50 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 50 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 50 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 99 , 99 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 50 , 100 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183310 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 99 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 100 , 100 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 50 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 50 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 50 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 50 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 50 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 50 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 50 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 50 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 50 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 50 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 50 , 'Activity created for source=3' , 3 , 20151201183310 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 51 , 101 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 51 , 51 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 51 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 51 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 101 , 101 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 51 , 102 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183311 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 101 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 102 , 102 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 51 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 51 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 51 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 51 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 51 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 51 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 51 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 51 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 51 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 51 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 51 , 'Activity created for source=3' , 3 , 20151201183311 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 52 , 103 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 52 , 52 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 52 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 52 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 103 , 103 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 52 , 104 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183311 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 103 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 104 , 104 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 52 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 52 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 52 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 52 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 52 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 52 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 52 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 52 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 52 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 52 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 52 , 'Activity created for source=3' , 3 , 20151201183311 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 53 , 105 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 53 , 53 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 53 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 53 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 105 , 105 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 53 , 106 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183311 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 105 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 106 , 106 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 53 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 53 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 53 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 53 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 53 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 53 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 53 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 53 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 53 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 53 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 53 , 'Activity created for source=3' , 3 , 20151201183311 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 54 , 107 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 54 , 54 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 54 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 54 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 107 , 107 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 54 , 108 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183311 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 107 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 108 , 108 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 54 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 54 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 54 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 54 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 54 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 54 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 54 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 54 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 54 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 54 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 54 , 'Activity created for source=3' , 3 , 20151201183311 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 55 , 109 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 55 , 55 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 55 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 55 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 109 , 109 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 55 , 110 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183311 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 109 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 110 , 110 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 55 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 55 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 55 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 55 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 55 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 55 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 55 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 55 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 55 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 55 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 55 , 'Activity created for source=3' , 3 , 20151201183311 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 56 , 111 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 56 , 56 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 56 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 56 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 111 , 111 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 56 , 112 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183312 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 111 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 112 , 112 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 56 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 56 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 56 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 56 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 56 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 56 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 56 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 56 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 56 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 56 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 56 , 'Activity created for source=3' , 3 , 20151201183312 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 57 , 113 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 57 , 57 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 57 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 57 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 113 , 113 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 57 , 114 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183312 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 113 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 114 , 114 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 57 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 57 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 57 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 57 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 57 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 57 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 57 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 57 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 57 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 57 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 57 , 'Activity created for source=3' , 3 , 20151201183312 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 58 , 115 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 58 , 58 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 58 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 58 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 115 , 115 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 58 , 116 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183312 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 115 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 116 , 116 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 58 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 58 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 58 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 58 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 58 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 58 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 58 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 58 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 58 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 58 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 58 , 'Activity created for source=3' , 3 , 20151201183312 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 59 , 117 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 59 , 59 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 59 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 59 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 117 , 117 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 59 , 118 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183312 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 117 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 118 , 118 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 59 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 59 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 59 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 59 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 59 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 59 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 59 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 59 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 59 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 59 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 59 , 'Activity created for source=3' , 3 , 20151201183312 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 60 , 119 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 60 , 60 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 60 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 60 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 119 , 119 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 60 , 120 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183312 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 119 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 120 , 120 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 60 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 60 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 60 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 60 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 60 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 60 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 60 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 60 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 60 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 60 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 60 , 'Activity created for source=3' , 3 , 20151201183312 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 61 , 121 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 61 , 61 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 61 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 61 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 121 , 121 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 61 , 122 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183312 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 121 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 122 , 122 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 61 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 61 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 61 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 61 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 61 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 61 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 61 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 61 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 61 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 61 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 61 , 'Activity created for source=3' , 3 , 20151201183312 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 62 , 123 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 62 , 62 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 62 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 62 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 123 , 123 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 62 , 124 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183313 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 123 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 124 , 124 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 62 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 62 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 62 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 62 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 62 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 62 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 62 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 62 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 62 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 62 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 62 , 'Activity created for source=3' , 3 , 20151201183313 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 63 , 125 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 63 , 63 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 63 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 63 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 125 , 125 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 63 , 126 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183313 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 125 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 126 , 126 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 63 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 63 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 63 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 63 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 63 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 63 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 63 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 63 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 63 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 63 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 63 , 'Activity created for source=3' , 3 , 20151201183313 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 64 , 127 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 64 , 64 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 64 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 64 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 127 , 127 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 64 , 128 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183313 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 127 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 128 , 128 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 64 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 64 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 64 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 64 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 64 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 64 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 64 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 64 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 64 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 64 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 64 , 'Activity created for source=3' , 3 , 20151201183313 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 65 , 129 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 65 , 65 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 65 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 65 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 129 , 129 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 65 , 130 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183313 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 129 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 130 , 130 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 65 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 65 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 65 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 65 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 65 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 65 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 65 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 65 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 65 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 65 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 65 , 'Activity created for source=3' , 3 , 20151201183313 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 66 , 131 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 66 , 66 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 66 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 66 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 131 , 131 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 66 , 132 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183313 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 131 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 132 , 132 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 66 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 66 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 66 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 66 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 66 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 66 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 66 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 66 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 66 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 66 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 66 , 'Activity created for source=3' , 3 , 20151201183313 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 67 , 133 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 67 , 67 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 67 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 67 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 133 , 133 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 67 , 134 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183314 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 133 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 134 , 134 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 67 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 67 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 67 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 67 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 67 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 67 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 67 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 67 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 67 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 67 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 67 , 'Activity created for source=3' , 3 , 20151201183314 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 68 , 135 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 68 , 68 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 68 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 68 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 135 , 135 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 68 , 136 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183314 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 135 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 136 , 136 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 68 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 68 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 68 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 68 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 68 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 68 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 68 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 68 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 68 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 68 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 68 , 'Activity created for source=3' , 3 , 20151201183314 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 69 , 137 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 69 , 69 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 69 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 69 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 137 , 137 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 69 , 138 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183314 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 137 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 138 , 138 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 69 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 69 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 69 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 69 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 69 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 69 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 69 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 69 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 69 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 69 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 69 , 'Activity created for source=3' , 3 , 20151201183314 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 70 , 139 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 70 , 70 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 70 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 70 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 139 , 139 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 70 , 140 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183314 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 139 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 140 , 140 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 70 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 70 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 70 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 70 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 70 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 70 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 70 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 70 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 70 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 70 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 70 , 'Activity created for source=3' , 3 , 20151201183314 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 71 , 141 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 71 , 71 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 71 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 71 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 141 , 141 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 71 , 142 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183314 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 141 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 142 , 142 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 71 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 71 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 71 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 71 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 71 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 71 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 71 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 71 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 71 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 71 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 71 , 'Activity created for source=3' , 3 , 20151201183314 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 72 , 143 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 72 , 72 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 72 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 72 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 143 , 143 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 72 , 144 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183314 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 143 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 144 , 144 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 72 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 72 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 72 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 72 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 72 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 72 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 72 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 72 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 72 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 72 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 72 , 'Activity created for source=3' , 3 , 20151201183314 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 73 , 145 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 73 , 73 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 73 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 73 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 145 , 145 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 73 , 146 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183315 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 145 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 146 , 146 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 73 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 73 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 73 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 73 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 73 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 73 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 73 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 73 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 73 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 73 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 73 , 'Activity created for source=3' , 3 , 20151201183315 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 74 , 147 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 74 , 74 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 74 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 74 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 147 , 147 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 74 , 148 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183315 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 147 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 148 , 148 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 74 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 74 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 74 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 74 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 74 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 74 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 74 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 74 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 74 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 74 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 74 , 'Activity created for source=3' , 3 , 20151201183315 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 75 , 149 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 75 , 75 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 75 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 75 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 149 , 149 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 75 , 150 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183315 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 149 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 150 , 150 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 75 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 75 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 75 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 75 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 75 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 75 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 75 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 75 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 75 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 75 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 75 , 'Activity created for source=3' , 3 , 20151201183315 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 76 , 151 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 76 , 76 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 76 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 76 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 151 , 151 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 76 , 152 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183315 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 151 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 152 , 152 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 76 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 76 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 76 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 76 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 76 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 76 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 76 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 76 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 76 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 76 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 76 , 'Activity created for source=3' , 3 , 20151201183315 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 77 , 153 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 77 , 77 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 77 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 77 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 153 , 153 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 77 , 154 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183315 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 153 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 154 , 154 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 77 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 77 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 77 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 77 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 77 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 77 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 77 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 77 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 77 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 77 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 77 , 'Activity created for source=3' , 3 , 20151201183315 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 78 , 155 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 78 , 78 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 78 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 78 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 155 , 155 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 78 , 156 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183315 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 155 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 156 , 156 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 78 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 78 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 78 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 78 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 78 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 78 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 78 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 78 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 78 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 78 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 78 , 'Activity created for source=3' , 3 , 20151201183315 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 79 , 157 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 79 , 79 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 79 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 79 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 157 , 157 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 79 , 158 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183316 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 157 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 158 , 158 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 79 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 79 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 79 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 79 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 79 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 79 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 79 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 79 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 79 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 79 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 79 , 'Activity created for source=3' , 3 , 20151201183316 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 80 , 159 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 80 , 80 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 80 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 80 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 159 , 159 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 80 , 160 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183316 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 159 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 160 , 160 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 80 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 80 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 80 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 80 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 80 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 80 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 80 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 80 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 80 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 80 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 80 , 'Activity created for source=3' , 3 , 20151201183316 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 81 , 161 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 81 , 81 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 81 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 81 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 161 , 161 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 81 , 162 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183316 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 161 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 162 , 162 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 81 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 81 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 81 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 81 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 81 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 81 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 81 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 81 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 81 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 81 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 81 , 'Activity created for source=3' , 3 , 20151201183316 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 82 , 163 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 82 , 82 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 82 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 82 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 163 , 163 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 82 , 164 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183316 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 163 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 164 , 164 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 82 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 82 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 82 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 82 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 82 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 82 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 82 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 82 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 82 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 82 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 82 , 'Activity created for source=3' , 3 , 20151201183316 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 83 , 165 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 83 , 83 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 83 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 83 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 165 , 165 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 83 , 166 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183316 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 165 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 166 , 166 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 83 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 83 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 83 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 83 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 83 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 83 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 83 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 83 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 83 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 83 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 83 , 'Activity created for source=3' , 3 , 20151201183316 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 84 , 167 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 84 , 84 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 84 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 84 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 167 , 167 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 84 , 168 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183316 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 167 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 168 , 168 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 84 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 84 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 84 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 84 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 84 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 84 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 84 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 84 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 84 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 84 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 84 , 'Activity created for source=3' , 3 , 20151201183316 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 85 , 169 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 85 , 85 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 85 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 85 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 169 , 169 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 85 , 170 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183317 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 169 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 170 , 170 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 85 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 85 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 85 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 85 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 85 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 85 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 85 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 85 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 85 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 85 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 85 , 'Activity created for source=3' , 3 , 20151201183317 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 86 , 171 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 86 , 86 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 86 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 86 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 171 , 171 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 86 , 172 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183317 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 171 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 172 , 172 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 86 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 86 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 86 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 86 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 86 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 86 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 86 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 86 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 86 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 86 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 86 , 'Activity created for source=3' , 3 , 20151201183317 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 87 , 173 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 87 , 87 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 87 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 87 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 173 , 173 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 87 , 174 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183317 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 173 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 174 , 174 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 87 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 87 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 87 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 87 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 87 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 87 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 87 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 87 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 87 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 87 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 87 , 'Activity created for source=3' , 3 , 20151201183317 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 88 , 175 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 88 , 88 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 88 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 88 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 175 , 175 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 88 , 176 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183317 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 175 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 176 , 176 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 88 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 88 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 88 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 88 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 88 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 88 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 88 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 88 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 88 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 88 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 88 , 'Activity created for source=3' , 3 , 20151201183317 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 89 , 177 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 89 , 89 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 89 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 89 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 177 , 177 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 89 , 178 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183317 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 177 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 178 , 178 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 89 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 89 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 89 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 89 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 89 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 89 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 89 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 89 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 89 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 89 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 89 , 'Activity created for source=3' , 3 , 20151201183317 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 90 , 179 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 90 , 90 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 90 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 90 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 179 , 179 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 90 , 180 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183317 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 179 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 180 , 180 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 90 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 90 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 90 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 90 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 90 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 90 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 90 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 90 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 90 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 90 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 90 , 'Activity created for source=3' , 3 , 20151201183318 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 91 , 181 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 91 , 91 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 91 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 91 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 181 , 181 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 91 , 182 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183318 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 181 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 182 , 182 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 91 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 91 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 91 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 91 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 91 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 91 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 91 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 91 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 91 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 91 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 91 , 'Activity created for source=3' , 3 , 20151201183318 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 92 , 183 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 92 , 92 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 92 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 92 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 183 , 183 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 92 , 184 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183318 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 183 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 184 , 184 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 92 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 92 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 92 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 92 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 92 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 92 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 92 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 92 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 92 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 92 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 92 , 'Activity created for source=3' , 3 , 20151201183318 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 93 , 185 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 93 , 93 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 93 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 93 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 185 , 185 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 93 , 186 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183318 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 185 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 186 , 186 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 93 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 93 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 93 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 93 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 93 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 93 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 93 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 93 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 93 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 93 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 93 , 'Activity created for source=3' , 3 , 20151201183318 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 94 , 187 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 94 , 94 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 94 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 94 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 187 , 187 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 94 , 188 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183318 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 187 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 188 , 188 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 94 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 94 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 94 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 94 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 94 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 94 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 94 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 94 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 94 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 94 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 94 , 'Activity created for source=3' , 3 , 20151201183318 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 95 , 189 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 95 , 95 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 95 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 95 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 189 , 189 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 95 , 190 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183318 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 189 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 190 , 190 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 95 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 95 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 95 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 95 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 95 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 95 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 95 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 95 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 95 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 95 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 95 , 'Activity created for source=3' , 3 , 20151201183318 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 96 , 191 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 96 , 96 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 96 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 96 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 191 , 191 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 96 , 192 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183319 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 191 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 192 , 192 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 96 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 96 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 96 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 96 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 96 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 96 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 96 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 96 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 96 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 96 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 96 , 'Activity created for source=3' , 3 , 20151201183319 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 97 , 193 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 97 , 97 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 97 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 97 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 193 , 193 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 97 , 194 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183319 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 193 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 194 , 194 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 97 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 97 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 97 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 97 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 97 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 97 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 97 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 97 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 97 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 97 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 97 , 'Activity created for source=3' , 3 , 20151201183319 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 98 , 195 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 98 , 98 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 98 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 98 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 195 , 195 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 98 , 196 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183319 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 195 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 196 , 196 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 98 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 98 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 98 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 98 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 98 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 98 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 98 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 98 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 98 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 98 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 98 , 'Activity created for source=3' , 3 , 20151201183319 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 99 , 197 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 99 , 99 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 99 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 99 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 197 , 197 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 99 , 198 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183319 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 197 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 198 , 198 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 99 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 99 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 99 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 99 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 99 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 99 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 99 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 99 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 99 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 99 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 99 , 'Activity created for source=3' , 3 , 20151201183319 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 100 , 199 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 100 , 100 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 100 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 100 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 199 , 199 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 100 , 200 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183319 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 199 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 200 , 200 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 100 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 100 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 100 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 100 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 100 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 100 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 100 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 100 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 100 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 100 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 100 , 'Activity created for source=3' , 3 , 20151201183319 ) + + COMMIT + + BEGIN + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 101 , 201 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 101 , 101 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 101 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 101 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 201 , 201 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 101 , 202 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183319 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 201 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 202 , 202 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 101 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 101 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 101 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 101 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 101 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 101 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 101 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 101 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 101 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 101 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 101 , 'Activity created for source=3' , 3 , 20151201183320 ) + + COMMIT + + SET FOREIGN_KEY_CHECKS = 0; + + TRUNCATE TABLE civicrm_activity + + TRUNCATE TABLE civicrm_activity_contact + + TRUNCATE TABLE civicrm_contribution + + TRUNCATE TABLE civicrm_contribution_soft + + TRUNCATE TABLE civicrm_contribution_product + + TRUNCATE TABLE civicrm_financial_trxn + + TRUNCATE TABLE civicrm_financial_item + + TRUNCATE TABLE civicrm_contribution_recur + + TRUNCATE TABLE civicrm_line_item + + TRUNCATE TABLE civicrm_contribution_page + + TRUNCATE TABLE civicrm_payment_processor + + TRUNCATE TABLE civicrm_entity_financial_trxn + + TRUNCATE TABLE civicrm_membership + + TRUNCATE TABLE civicrm_membership_type + + TRUNCATE TABLE civicrm_membership_payment + + TRUNCATE TABLE civicrm_membership_log + + TRUNCATE TABLE civicrm_membership_block + + TRUNCATE TABLE civicrm_event + + TRUNCATE TABLE civicrm_participant + + TRUNCATE TABLE civicrm_participant_payment + + TRUNCATE TABLE civicrm_pledge + + TRUNCATE TABLE civicrm_price_set_entity + + TRUNCATE TABLE civicrm_price_field_value + + TRUNCATE TABLE civicrm_price_field + + SET FOREIGN_KEY_CHECKS = 1; + + DELETE FROM civicrm_membership_status WHERE name NOT IN('New', 'Current', 'Grace', 'Expired', 'Pending', 'Cancelled', 'Deceased') + + DELETE FROM civicrm_price_set WHERE id > 2 + + INSERT INTO `civicrm_price_field` (`id`, `price_set_id`, `name`, `label`, `html_type`, `is_enter_qty`, `help_pre`, `help_post`, `weight`, `is_display_amounts`, `options_per_line`, `is_active`, `is_required`, `active_on`, `expire_on`, `javascript`, `visibility_id`) VALUES (1, 1, 'contribution_amount', 'Contribution Amount', 'Text', 0, NULL, NULL, 1, 1, 1, 1, 1, NULL, NULL, NULL, 1) + + INSERT INTO `civicrm_price_field_value` (`id`, `price_field_id`, `name`, `label`, `description`, `amount`, `count`, `max_value`, `weight`, `membership_type_id`, `membership_num_terms`, `is_default`, `is_active`, `financial_type_id`, `deductible_amount`) VALUES (1, 1, 'contribution_amount', 'Contribution Amount', NULL, '1', NULL, NULL, 1, NULL, NULL, 0, 1, 1, 0.00) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields e87f438346d53eb3a55cfab017378daf' ) + + + + + + SELECT id AS id, name AS label FROM civicrm_domain ORDER BY name + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") AND (a.is_test = "0") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") AND (a.is_test = "1") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + SET FOREIGN_KEY_CHECKS = 0; + + TRUNCATE TABLE civicrm_uf_match + + SET FOREIGN_KEY_CHECKS = 1; + + +Time: 01:33, Memory: 48.25Mb + +OK (1 test, 111 assertions) diff --git a/tools/queriesafter.txt b/tools/queriesafter.txt new file mode 100644 index 0000000000..732bb121f1 --- /dev/null +++ b/tools/queriesafter.txt @@ -0,0 +1,35610 @@ +PHPUnit 3.6.10 by Sebastian Bergmann. + + + SET SESSION sql_mode = STRICT_TRANS_TABLES + + SET NAMES utf8 + + SELECT id, name, value, domain_id, contact_id, is_domain, component_id, created_date, created_id +FROM civicrm_setting +WHERE (domain_id = 1) AND (is_domain = 1) + + + SELECT locale_custom_strings FROM civicrm_domain WHERE id = 1 + + SELECT * + FROM civicrm_domain + + WHERE ( civicrm_domain.id = 1 ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) AND ( civicrm_cache.path = 'mapper/moduleFiles' ) + + + + + + + SELECT full_name, file + FROM civicrm_extension + WHERE is_active = 1 + AND type = "module" + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) AND ( civicrm_cache.path = 'mapper/moduleFiles' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('4ae609f4c5da3b0980c7327dbc5f7dae' , 'mapper/moduleFiles' , 'a:0:{}' , 20151201183504 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_all._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'all' , 'a:132:{s:32:\"address_standardization_provider\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:32:\"address_standardization_provider\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:33:\"Address Standardization Provider.\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:492:\"CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. \";}s:30:\"address_standardization_userid\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:30:\"address_standardization_userid\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Web service user ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:27:\"address_standardization_url\";a:13:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:27:\"address_standardization_url\";s:4:\"type\";s:4:\"Text\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Web Service URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:15:\"Web Service URL\";s:17:\"validate_callback\";s:19:\"CRM_Utils_Rule::url\";}s:15:\"tag_unconfirmed\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:15:\"tag_unconfirmed\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:11:\"Unconfirmed\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:36:\"Tag for Unconfirmed Petition Signers\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:17:\"petition_contacts\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:17:\"petition_contacts\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:17:\"Petition Contacts\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Petition Signers Group\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:23:\"cvv_backoffice_required\";a:12:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:23:\"cvv_backoffice_required\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:28:\"CVV required for backoffice?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"Is the CVV code required for back office credit card transactions\";s:9:\"help_text\";s:137:\"If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change\";}s:29:\"contribution_invoice_settings\";a:11:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:29:\"contribution_invoice_settings\";s:4:\"type\";s:5:\"Array\";s:7:\"default\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Contribution Invoice Settings\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_view_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_view_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_view_options\";}s:7:\"default\";s:28:\"123456789101113\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Viewing Contacts\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_edit_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_edit_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_edit_options\";}s:7:\"default\";s:37:\"123456789111214151617\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Editing Contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"advanced_search_options\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:4:\"name\";s:23:\"advanced_search_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:23:\"advanced_search_options\";}s:7:\"default\";s:46:\"123456789101112131516171819\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:22:\"user_dashboard_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:22:\"user_dashboard_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:22:\"user_dashboard_options\";}s:7:\"default\";s:15:\"1234578\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Contact Dashboard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"address_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"address_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:15:\"address_options\";}s:7:\"default\";s:23:\"123456891011\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Addressing Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"address_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"address_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:8:\"TextArea\";s:7:\"default\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Address Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"mailing_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"mailing_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Mailing Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"display_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"display_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Display Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"sort_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"sort_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Sort Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"editor_id\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"editor_id\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";s:8:\"CKEditor\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Wysiwig Editor\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:26:\"contact_ajax_check_similar\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:26:\"contact_ajax_check_similar\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Ajax Check Similar\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:17:\"ajaxPopupsEnabled\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"ajaxPopupsEnabled\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:19:\"Ajax Popups Enabled\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:30:\"activity_assignee_notification\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:30:\"activity_assignee_notification\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Notify Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:34:\"activity_assignee_notification_ics\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:34:\"activity_assignee_notification_ics\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:41:\"Include ICal Invite to Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:28:\"contact_autocomplete_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:28:\"contact_autocomplete_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:27:\"Autocomplete Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.\";s:9:\"help_text\";N;}s:25:\"contact_reference_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:25:\"contact_reference_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:57:\"CRM_Admin_Form_Setting_Search::getContactReferenceOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Contact Reference Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:508:\"Selected fields will be displayed in autocomplete dropdown search results for \'Contact Reference\' custom fields. Contact Name is always included. NOTE: You must assign \'access contact reference fields\' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the \'Limit List to Group\' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.\";s:9:\"help_text\";N;}s:27:\"contact_smart_group_display\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"contact_smart_group_display\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:5:\"radio\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Viewing Smart Groups\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"max_attachments\";a:15:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"max_attachments\";s:10:\"legacy_key\";s:14:\"maxAttachments\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Maximum Attachments\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Maximum number of files (documents, images, etc.) which can attached to emails or activities.\";s:9:\"help_text\";N;}s:11:\"maxFileSize\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"maxFileSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:25:\"Maximum File Size (in MB)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.\";s:9:\"help_text\";N;}s:16:\"contact_undelete\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"contact_undelete\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Contact Trash and Undelete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:200:\"If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).\";s:9:\"help_text\";N;}s:24:\"allowPermDeleteFinancial\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:24:\"allowPermDeleteFinancial\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:24:\"Contact Permanent Delete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:81:\"Allow Permanent Delete for contacts who are linked to live financial transactions\";s:9:\"help_text\";N;}s:12:\"versionCheck\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"versionCheck\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:31:\"Automatically Check for Updates\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:13:\"securityAlert\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:13:\"securityAlert\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:13:\"Status Alerts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:154:\"If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.\";s:9:\"help_text\";N;}s:21:\"doNotAttachPDFReceipt\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"doNotAttachPDFReceipt\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Attach PDF copy to receipts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:98:\"If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.\";s:9:\"help_text\";N;}s:15:\"wkhtmltopdfPath\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"wkhtmltopdfPath\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:256;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Path to wkhtmltopdf executable\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"recaptchaOptions\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"recaptchaOptions\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Recaptcha Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:256:\"You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.\";s:9:\"help_text\";N;}s:18:\"recaptchaPublicKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:18:\"recaptchaPublicKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Recaptcha Site Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"recaptchaPrivateKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"recaptchaPrivateKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Recaptcha Secret Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:21:\"dashboardCacheTimeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"dashboardCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:3;s:9:\"maxlength\";i:5;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Dashboard cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"checksum_timeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"checksum_timeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";i:7;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Checksum Lifespan\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"blogUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"blogUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:13:\"Blog Feed URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:38:\"Blog feed URL used by the blog dashlet\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:20:\"communityMessagesUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"communityMessagesUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Community Messages URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:44:\"Service providing CiviCRM community messages\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:17:\"gettingStartedUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"gettingStartedUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Getting Started URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:42:\"Service providing the Getting Started data\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:12:\"resCacheCode\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"resCacheCode\";s:4:\"type\";s:6:\"String\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:12:\"resCacheCode\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:62:\"Code appended to resource URLs (JS/CSS) to coerce HTTP caching\";s:9:\"help_text\";N;}s:9:\"verifySSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"verifySSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:11:\"Verify SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:92:\"If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections\";s:9:\"help_text\";s:140:\"Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes\";}s:9:\"enableSSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"enableSSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:10:\"Force SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";s:9:\"help_text\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";}s:10:\"wpBasePage\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:10:\"wpBasePage\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"WordPress Base Page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"If set, CiviCRM will use this setting as the base url.\";s:9:\"help_text\";s:177:\"By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.\";}s:23:\"secondDegRelPermissions\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"secondDegRelPermissions\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:44:\"Allow second-degree relationship permissions\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"If enabled, contacts with the permission to edit a related contact will inherit that contact\'s permission to edit other related contacts\";s:9:\"help_text\";N;}s:17:\"enable_components\";a:16:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"enable_components\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:14:\"advmultiselect\";s:15:\"html_attributes\";a:3:{s:4:\"size\";i:5;s:5:\"style\";s:11:\"width:150px\";s:5:\"class\";s:14:\"advmultiselect\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:17:\"Enable Components\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;s:9:\"on_change\";a:3:{i:0;s:33:\"CRM_Case_Info::onToggleComponents\";i:1;s:42:\"CRM_Core_Component::flushEnabledComponents\";i:2;s:31:\"call://resources/resetCacheCode\";}}s:16:\"disable_core_css\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"disable_core_css\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:19:\"Disable CiviCRM css\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:55:\"Prevent the stylesheet \"civicrm.css\" from being loaded.\";s:9:\"help_text\";N;}s:11:\"empoweredBy\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"empoweredBy\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"Display \"empowered by CiviCRM\"\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:80:\"When enabled, \"empowered by CiviCRM\" is displayed at the bottom of public forms.\";s:9:\"help_text\";N;}s:7:\"logging\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"logging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:9:\"html_type\";s:0:\"\";s:7:\"default\";s:1:\"0\";s:5:\"title\";s:7:\"Logging\";s:11:\"description\";s:73:\"If enabled, all actions will be logged with a complete record of changes.\";s:17:\"validate_callback\";s:39:\"CRM_Logging_Schema::checkLoggingSupport\";s:9:\"on_change\";a:1:{i:0;s:28:\"CRM_Logging_Schema::onToggle\";}}s:27:\"userFrameworkUsersTableName\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"userFrameworkUsersTableName\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:23:\"Drupal Users Table Name\";s:11:\"description\";s:0:\"\";}s:9:\"wpLoadPhp\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"wpLoadPhp\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:29:\"WordPress Path to wp-load.php\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"CiviCRM will use this setting as path to bootstrap WP.\";s:9:\"help_text\";N;}s:7:\"site_id\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"site_id\";s:4:\"type\";s:6:\"String\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:14:\"Unique Site ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"systemStatusCheckResult\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"systemStatusCheckResult\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:23:\"systemStatusCheckResult\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"userFrameworkLogging\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:20:\"userFrameworkLogging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Enable Drupal Watchdog Logging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:101:\"Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs\";s:9:\"help_text\";s:239:\"Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS\' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal\'s watchdog enabled)\";}s:13:\"debug_enabled\";a:13:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:13:\"debug_enabled\";s:10:\"config_key\";s:5:\"debug\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Enable Debugging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:130:\"Set this value to Yes if you want to use one of CiviCRM\'s debugging tools. This feature should NOT be enabled for production sites\";s:9:\"help_text\";s:39:\"Do not turn this on on production sites\";}s:9:\"backtrace\";a:11:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:9:\"backtrace\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Display Backtrace\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:155:\"Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites\";}s:17:\"fatalErrorHandler\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:17:\"fatalErrorHandler\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Fatal Error Handler\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.\";}s:9:\"uploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:9:\"uploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Temporary Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:90:\"File system path where temporary CiviCRM files - such as import data files - are uploaded.\";}s:14:\"imageUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:14:\"imageUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Image Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:147:\"File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).\";s:9:\"help_text\";N;}s:19:\"customFileUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:19:\"customFileUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Custom Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:195:\"Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.\";s:9:\"help_text\";N;}s:17:\"customTemplateDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:17:\"customTemplateDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Custom Template Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:207:\"Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)\";s:9:\"help_text\";N;}s:16:\"customPHPPathDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:16:\"customPHPPathDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Custom PHP Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:99:\"Path where site specific PHP code files are stored if any. This directory is searched first if set.\";s:9:\"help_text\";N;}s:13:\"extensionsDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:13:\"extensionsDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Extensions Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:41:\"Path where CiviCRM extensions are stored.\";s:9:\"help_text\";N;}s:11:\"enable_cart\";a:12:{s:4:\"name\";s:11:\"enable_cart\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Enable Event Cart\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:8:\"WRITE ME\";s:9:\"help_text\";s:8:\"WRITE ME\";}s:11:\"show_events\";a:13:{s:4:\"name\";s:11:\"show_events\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:17:\"Dashboard entries\";s:9:\"html_type\";s:6:\"select\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:107:\"Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.\";s:9:\"help_text\";N;}s:12:\"ext_repo_url\";a:14:{s:10:\"group_name\";s:21:\"Extension Preferences\";s:5:\"group\";s:3:\"ext\";s:4:\"name\";s:12:\"ext_repo_url\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Extension Repo URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";s:0:\"\";}s:23:\"customTranslateFunction\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:23:\"customTranslateFunction\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"30\";s:9:\"maxlength\";s:3:\"100\";}s:7:\"default\";N;s:5:\"title\";s:25:\"Custom Translate Function\";s:11:\"description\";s:0:\"\";}s:25:\"monetaryThousandSeparator\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:25:\"monetaryThousandSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\",\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Thousands Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"monetaryDecimalPoint\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:20:\"monetaryDecimalPoint\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Decimal Delimiter\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:11:\"moneyformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:11:\"moneyformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%c %a\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Monetary Amount Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"moneyvalueformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:16:\"moneyvalueformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:3:\"%!i\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Monetary Value Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"defaultCurrency\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"defaultCurrency\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:3:\"USD\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Currency\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"Default currency assigned to contributions and other monetary transactions.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:55:\"CRM_Admin_Form_Setting_Localization::getCurrencySymbols\";}}s:21:\"defaultContactCountry\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:21:\"defaultContactCountry\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:0:{}s:7:\"default\";s:4:\"1228\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:15:\"Default Country\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:27:\"defaultContactStateProvince\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:27:\"defaultContactStateProvince\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:11:\"ChainSelect\";s:9:\"html_type\";s:11:\"ChainSelect\";s:7:\"default\";N;s:5:\"title\";s:22:\"Default State/Province\";s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";}s:12:\"countryLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:12:\"countryLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Available Countries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"provinceLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"provinceLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Available States and Provinces\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"inheritLocale\";a:12:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"inheritLocale\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Inherit CMS Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:18:\"dateformatDatetime\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:18:\"dateformatDatetime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:20:\"%B %E%f, %Y %l:%M %P\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Date Format: Complete Date and Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatFull\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatFull\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:11:\"%B %E%f, %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Date Format: Complete Date\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:17:\"dateformatPartial\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:17:\"dateformatPartial\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%B %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Date Format: Month and Year\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatTime\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatTime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:8:\"%l:%M %P\";s:5:\"title\";s:22:\"Date Format: Time Only\";s:11:\"description\";s:0:\"\";}s:14:\"dateformatYear\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatYear\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:2:\"%Y\";s:5:\"title\";s:22:\"Date Format: Year Only\";s:11:\"description\";s:0:\"\";}s:15:\"dateInputFormat\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"dateInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:48:\"CRM_Core_SelectValues::getDatePluginInputFormats\";}s:7:\"default\";s:8:\"mm/dd/yy\";s:5:\"title\";s:17:\"Date Input Format\";s:11:\"description\";s:0:\"\";}s:14:\"fieldSeparator\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"fieldSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:1:\"2\";s:9:\"maxlength\";s:1:\"8\";}s:7:\"default\";s:1:\",\";s:5:\"title\";s:31:\"Import / Export Field Separator\";s:11:\"description\";s:144:\"Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).\";}s:15:\"fiscalYearStart\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"fiscalYearStart\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:8:\"MonthDay\";s:9:\"html_type\";s:8:\"MonthDay\";s:7:\"default\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:5:\"title\";s:17:\"Fiscal Year Start\";s:11:\"description\";s:0:\"\";}s:13:\"languageLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"languageLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Available Languages (Multi-lingual)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:24:\"CRM_Core_I18n::languages\";}}s:10:\"lcMessages\";a:16:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"lcMessages\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:5:\"en_US\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions\";}s:9:\"on_change\";a:1:{i:0;s:55:\"CRM_Admin_Form_Setting_Localization::onChangeLcMessages\";}}s:14:\"legacyEncoding\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"legacyEncoding\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"30\";}s:7:\"default\";s:12:\"Windows-1252\";s:5:\"title\";s:15:\"Legacy Encoding\";s:11:\"description\";s:184:\"If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.\";}s:15:\"timeInputFormat\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"timeInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:37:\"CRM_Core_SelectValues::getTimeFormats\";}s:7:\"default\";s:1:\"1\";s:5:\"title\";s:17:\"Time Input Format\";s:11:\"description\";s:0:\"\";s:9:\"on_change\";a:1:{i:0;s:45:\"CRM_Core_BAO_PreferencesDate::onChangeSetting\";}}s:10:\"weekBegins\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"weekBegins\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:35:\"CRM_Utils_Date::getFullWeekdayNames\";}s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"Week begins on\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:24:\"contact_default_language\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:24:\"contact_default_language\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:62:\"CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions\";}s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Default Language for contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"Default language (if any) for contact records\";s:9:\"help_text\";s:197:\"If a contact is created with no language this setting will determine the language data (if any) to save.You may or may not wish to make an assumption here about whether it matches the site language\";}s:20:\"profile_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"profile_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:22:\"track_civimail_replies\";a:13:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:22:\"track_civimail_replies\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:43:\"Track replies using VERP in Reply-To header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:78:\"If checked, mailings will default to tracking replies using VERP-ed Reply-To. \";s:9:\"help_text\";N;s:17:\"validate_callback\";s:41:\"CRM_Core_BAO_Setting::validateBoolSetting\";}s:17:\"civimail_workflow\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:17:\"civimail_workflow\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:21:\"Use CiviMail Workflow\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:25:\"civimail_server_wide_lock\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:25:\"civimail_server_wide_lock\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:39:\"Lock Mails Server-Wide for Mail Sending\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"replyTo\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:7:\"replyTo\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:22:\"Enable Custom Reply-To\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Allow CiviMail users to send mailings with a custom Reply-To header\";s:9:\"help_text\";N;}s:15:\"mailing_backend\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:15:\"mailing_backend\";s:4:\"type\";s:5:\"Array\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Mailing Backend\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:33:\"profile_add_to_group_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:33:\"profile_add_to_group_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:30:\"disable_mandatory_tokens_check\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:30:\"disable_mandatory_tokens_check\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:34:\"Disable check for mandatory tokens\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:345:\"Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.\";s:9:\"help_text\";N;}s:20:\"dedupe_email_default\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"dedupe_email_default\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:44:\"CiviMail dedupes e-mail addresses by default\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:79:\"Set the \"dedupe e-mail\" option when sending a new mailing to \"true\" by default.\";s:9:\"help_text\";N;}s:16:\"hash_mailing_url\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"hash_mailing_url\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:20:\"Hashed Mailing URL\'s\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:131:\"If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID\";s:9:\"help_text\";N;}s:29:\"civimail_multiple_bulk_emails\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:29:\"civimail_multiple_bulk_emails\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:21:\" Multiple Bulk Emails\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:96:\"If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.\";s:9:\"help_text\";N;}s:18:\"include_message_id\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:18:\"include_message_id\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:45:\"Enable CiviMail to generate Message-ID header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:16:\"mailerBatchLimit\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailerBatchLimit\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:18:\"Mailer Batch Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:110:\"Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).\";s:9:\"help_text\";N;}s:13:\"mailerJobSize\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:15:\"Mailer Job Size\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:365:\"If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter \"0\" to disable multi-threading and process mail as one single job - batch limits still apply.\";s:9:\"help_text\";N;}s:13:\"mailerJobsMax\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobsMax\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:21:\"Mailer Cron Job Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:127:\"The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)\";s:9:\"help_text\";N;}s:16:\"mailThrottleTime\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailThrottleTime\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Mailer Throttle Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:234:\"The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.\";s:9:\"help_text\";N;}s:13:\"verpSeparator\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"verpSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:32;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"VERP Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:106:\"Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.\";s:9:\"help_text\";N;}s:21:\"write_activity_record\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:21:\"write_activity_record\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:48:\"Enable CiviMail to create activities on delivery\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"geoAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"geoAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Geo Provider Key\";s:11:\"description\";s:101:\"Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).\";}s:11:\"geoProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"geoProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::geoProvider\";}s:7:\"default\";N;s:5:\"title\";s:18:\"Geocoding Provider\";s:11:\"description\";s:229:\"You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.\";}s:9:\"mapAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"mapAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Map Provider Key\";s:11:\"description\";s:238:\"Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.\";}s:11:\"mapProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"mapProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::mapProvider\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Mapping Provider\";s:11:\"description\";s:98:\"Choose the mapping provider that has the best coverage for the majority of your contact addresses.\";}s:33:\"default_renewal_contribution_page\";a:13:{s:10:\"group_name\";s:18:\"Member Preferences\";s:5:\"group\";s:6:\"member\";s:4:\"name\";s:33:\"default_renewal_contribution_page\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:14:\"pseudoconstant\";a:1:{s:4:\"name\";s:16:\"contributionPage\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:38:\"Default online membership renewal page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:348:\"If you select a default online contribution page for self-service membership renewals, a \"renew\" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.\";s:9:\"help_text\";N;}s:10:\"is_enabled\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:10:\"is_enabled\";s:5:\"title\";s:20:\"Multisite Is enabled\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:20:\"Multisite is enabled\";s:9:\"help_text\";N;}s:15:\"domain_group_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:15:\"domain_group_id\";s:5:\"title\";s:22:\"Multisite Domain Group\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:25:\"event_price_set_domain_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:25:\"event_price_set_domain_id\";s:5:\"title\";s:22:\"Domain Event Price Set\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:19:\"uniq_email_per_site\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:19:\"uniq_email_per_site\";s:4:\"type\";s:7:\"Integer\";s:5:\"title\";s:24:\"Unique Email per Domain?\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:25:\"search_autocomplete_count\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:25:\"search_autocomplete_count\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:2;}s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Autocomplete Results\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"The maximum number of contacts to show at a time when typing in an autocomplete field.\";s:9:\"help_text\";N;}s:17:\"enable_innodb_fts\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:17:\"enable_innodb_fts\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:23:\"InnoDB Full Text Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)\";s:9:\"help_text\";N;s:9:\"on_change\";a:1:{i:0;a:2:{i:0;s:22:\"CRM_Core_InnoDBIndexer\";i:1;s:11:\"onToggleFts\";}}}s:14:\"fts_query_mode\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:14:\"fts_query_mode\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:6:\"simple\";s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"How to handle full-tet queries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"includeOrderByClause\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:20:\"includeOrderByClause\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:23:\"Include Order By Clause\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:119:\"If disabled, the search results will not be ordered. This may improve response time on search results on large datasets\";s:9:\"help_text\";N;}s:21:\"includeWildCardInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeWildCardInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:18:\"Automatic Wildcard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:745:\"If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for \'ada\' will return any contact whose name includes those letters - e.g. \'Adams, Janet\', \'Nadal, Jorge\', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for \'ada\' will return any contact whose last name begins with those letters - e.g. \'Adams, Janet\' but NOT \'Nadal, Jorge\'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards (\'%\' or \'_\') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: \'%ada\' will return \'Nadal, Jorge\'.\";s:9:\"help_text\";N;}s:18:\"includeEmailInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:18:\"includeEmailInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:13:\"Include Email\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:299:\"If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.\";s:9:\"help_text\";N;}s:21:\"includeNickNameInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeNickNameInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:16:\"Include Nickname\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"If enabled, nicknames are automatically included when users search by Name.\";s:9:\"help_text\";N;}s:24:\"includeAlphabeticalPager\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:24:\"includeAlphabeticalPager\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:26:\"Include Alphabetical Pager\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:149:\"If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.\";s:9:\"help_text\";N;}s:22:\"smartGroupCacheTimeout\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"smartGroupCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";i:5;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:25:\"Smart group cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:249:\"The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.\";s:9:\"help_text\";N;}s:22:\"defaultSearchProfileID\";a:15:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"defaultSearchProfileID\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:51:\"CRM_Admin_Form_Setting_Search::getAvailableProfiles\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:30:\"Default Contact Search Profile\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"If set, this will be the default profile used for contact search.\";s:9:\"help_text\";N;}s:24:\"userFrameworkResourceURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:24:\"userFrameworkResourceURL\";s:5:\"title\";s:20:\"CiviCRM Resource URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"Absolute URL of the location where the civicrm module or component has been installed.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:14:\"imageUploadURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:16:\"Image Upload URL\";s:4:\"name\";s:14:\"imageUploadURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"URL of the location for uploaded image files.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:12:\"customCSSURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:12:\"customCSSURL\";s:5:\"title\";s:14:\"Custom CSS URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:270:\"You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:13:\"extensionsURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:22:\"Extension Resource URL\";s:4:\"name\";s:13:\"extensionsURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}}' , 20151201183504 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_all._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_settingsMetadata_1_._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + TRUNCATE TABLE civicrm_prevnext_cache + + UPDATE civicrm_group SET cache_date = NULL + + TRUNCATE TABLE civicrm_group_contact_cache + + TRUNCATE TABLE civicrm_menu + + UPDATE civicrm_setting SET value = NULL WHERE name="navigation" AND contact_id IS NOT NULL + + DELETE FROM civicrm_setting WHERE name="modulePaths" + + + SELECT TABLE_NAME as tableName + FROM INFORMATION_SCHEMA.TABLES + WHERE TABLE_SCHEMA = 'dmastertes_s0xef' + AND ( + TABLE_NAME LIKE 'civicrm_import_job_%' + OR TABLE_NAME LIKE 'civicrm_export_temp%' + OR TABLE_NAME LIKE 'civicrm_task_action_temp%' + OR TABLE_NAME LIKE 'civicrm_report_temp%' + ) + + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173504) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + TRUNCATE civicrm_menu + + SELECT * + FROM civicrm_component + + + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviContribute' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviEvent' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviMember' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviMail' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviGrant' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviPledge' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviCase' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviReport' ) + + + + + + SELECT id + FROM civicrm_component + + WHERE ( civicrm_component.name = 'CiviCampaign' ) + + + + + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity' , 'action=add&context=standalone' , 'New Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Activity_Form_Activity\";' , 's:14:\"attachUpload=1\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/view' , 'View Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Form_ActivityView\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:15:\"getCaseActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/globalrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/globalrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseGlobalRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/clientrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/clientrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseClientRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/caseroles' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/caseroles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:12:\"getCaseRoles\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactactivity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactactivity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:18:\"getContactActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/activity/convert' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/activity/convert' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:21:\"convertToCaseActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/search' , 'Find Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Controller_Search\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group' , 'Custom Data' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Page_Group\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/custom/group/field' , 'Custom Data Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 11 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/option' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/option' , 'Custom Field - Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Custom_Page_Option\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/add' , 'Custom Field - Add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/update' , 'Custom Field - Edit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/move' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/move' , 'Custom Field - Move' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Custom_Form_MoveField\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/changetype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/changetype' , 'Custom Field - Change Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Custom_Form_ChangeFieldType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group' , 'Profiles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Page_Group\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/uf/group/field' , 'CiviCRM Profile Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 21 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/field/add' , 'Add Field' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 22 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/field/update' , 'Edit Field' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 23 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/add' , 'New CiviCRM Profile' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Group\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 24 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/update' , 'Profile Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Group\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 25 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/setting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/setting' , 'AdditionalInfo Form' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_UF_Form_AdvanceSetting\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tag' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/tag' , 'Tags (Categories)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Tag\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 25 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tag/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tag/add' , 'action=add' , 'New Tag' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Tag\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Tags (Categories)\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/tag&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/activity_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/activity_type' , 'Activity Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/reltype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/reltype' , 'Relationship Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_RelationshipType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 35 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/subtype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/subtype' , 'Contact Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Page_ContactType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/gender' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/gender' , 'Gender Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 45 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/individual_prefix' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/individual_prefix' , 'Individual Prefixes (Ms, Mr...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/individual_suffix' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/individual_suffix' , 'Individual Suffixes (Jr, Sr...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 55 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/locationType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/locationType' , 'Location Types (Home, Work...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_LocationType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/website_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/website_type' , 'Website Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 65 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/instant_messenger_service' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/instant_messenger_service' , 'Instant Messenger Services' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/mobile_provider' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/mobile_provider' , 'Mobile Phone Providers' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 75 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/phone_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/phone_type' , 'Phone Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/display' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/display' , 'Display Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Display\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/search' , 'Search Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Form_Setting_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 95 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/date' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/date' , 'View Date Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Admin_Page_PreferencesDate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/menu' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/menu' , 'Navigation Menu' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Navigation\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/wordreplacements' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/wordreplacements' , 'Word Replacements' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Form_WordReplacements\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/custom_search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/custom_search' , 'Manage Custom Searches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/domain' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/domain' , 'action=update' , 'Organization Address and Contact Info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Contact_Form_Domain\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/from_email_address' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/from_email_address' , 'From Email Addresses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/messageTemplates' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/messageTemplates' , 'Message Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:22:\"edit message templates\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_MessageTemplates\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/messageTemplates/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/messageTemplates/add' , 'Message Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:22:\"edit message templates\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Form_MessageTemplates\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Message Templates\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/messageTemplates&reset=1\";}}' , 1 , 262 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/scheduleReminders' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/scheduleReminders' , 'Schedule Reminders' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:15:\"edit all events\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Admin_Page_ScheduleReminders\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/weight' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/weight' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_Weight\";i:1;s:8:\"fixOrder\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/preferred_communication_method' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/preferred_communication_method' , 'Preferred Communication Methods' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/labelFormats' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/labelFormats' , 'Label Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_LabelFormats\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/pdfFormats' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/pdfFormats' , 'Print Page (PDF) Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_PdfFormats\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/communication_style' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/communication_style' , 'Communication Style Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 75 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/email_greeting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/email_greeting' , 'Email Greeting Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/postal_greeting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/postal_greeting' , 'Postal Greeting Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/addressee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/addressee' , 'Addressee Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/localization' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/localization' , 'Languages, Currency, Locations' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Form_Setting_Localization\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/address' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/address' , 'Address Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Address\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/date' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/date' , 'Date Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Date\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/languages' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/languages' , 'Preferred Languages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/access' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/access' , 'Access Control' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Admin_Page_Access\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/access/wp-permissions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/access/wp-permissions' , 'WordPress Access Control' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_ACL_Form_WordPress_Permissions\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Access Control\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/access&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/synchUser' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/synchUser' , 'Synchronize Users to Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Form_CMSUser\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/configtask' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , return_url , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/configtask' , 'Configuration Checklist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Page_ConfigTaskList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 'civicrm/admin/configtask' , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/component' , 'Enable CiviCRM Components' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Setting_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/extensions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/extensions' , 'Manage Extensions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Extensions\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 120 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/extensions/upgrade' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/extensions/upgrade' , 'Database Upgrades' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Page_ExtensionsUpgrade\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Manage Extensions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/extensions&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/smtp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/smtp' , 'Outbound Email Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Smtp\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/paymentProcessor' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/paymentProcessor' , 'Payment Processor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_PaymentProcessor\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/mapping' , 'Mapping and Geocoding' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Admin_Form_Setting_Mapping\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/misc' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/misc' , 'Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Form_Setting_Miscellaneous\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/path' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/path' , 'Directories' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Path\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/url' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/url' , 'Resource URLs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Form_Setting_Url\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/updateConfigBackend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/updateConfigBackend' , 'Cleanup Caches and Update Paths' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:42:\"CRM_Admin_Form_Setting_UpdateConfigBackend\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/uf' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/uf' , 'CMS Database Integration' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Form_Setting_UF\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/safe_file_extension' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/safe_file_extension' , 'Safe File Extension Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options' , 'Option Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mapping' , 'Import/Export Mappings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Mapping\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/debug' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/debug' , 'Debugging' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Setting_Debugging\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 120 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/multisite' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/multisite' , 'Multi Site Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Form_Preferences_Multisite\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 130 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/campaign' , 'CiviCampaign Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Form_Preferences_Campaign\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/event' , 'CiviEvent Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Preferences_Event\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/mailing' , 'CiviMail Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Mailing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/member' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/member' , 'CiviMember Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Admin_Form_Preferences_Member\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/runjobs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/runjobs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:20:\"executeScheduledJobs\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/job' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/job' , 'Scheduled Jobs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Job\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/joblog' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/joblog' , 'Scheduled Jobs Log' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Admin_Page_JobLog\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/grant_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/grant_type' , 'Grant Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 385 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/paymentProcessorType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/paymentProcessorType' , 'Payment Processor Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Page_PaymentProcessorType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin' , 'Administer CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Admin_Page_Admin\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 9000 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menujs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menujs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:17:\"getNavigationMenu\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menu' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menu' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:17:\"getNavigationList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menutree' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menutree' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:8:\"menuTree\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/statusmsg' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/statusmsg' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:12:\"getStatusMsg\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mergeTags' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mergeTags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:9:\"mergeTags\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/price' , 'Price Sets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/price/add' , 'action=add' , 'New Price Set' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/price/field' , 'Price Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Price_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/field/option' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/price/field/option' , 'Price Field Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Price_Page_Option\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mergeTagList' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mergeTagList' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:12:\"mergeTagList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tplstrings/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tplstrings/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Form_Persistent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tplstrings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tplstrings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Persistent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mapping' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:11:\"mappingList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/recipientListing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/recipientListing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:16:\"recipientListing\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/sms/provider' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/sms/provider' , 'Sms Providers' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_SMS_Page_Provider\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 500 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/sms/send' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/sms/send' , 'New Mass SMS' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_SMS_Controller_Send\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 610 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/sms/callback' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/sms/callback' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_SMS_Page_Callback\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/badgelayout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/badgelayout' , 'action=browse' , 'Event Name Badge Layouts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Badge_Page_Layout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 399 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/badgelayout/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/badgelayout/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Badge_Form_Layout\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/badgelayout&reset=1&action=browse\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/ckeditor' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/ckeditor' , 'Configure CKEditor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Page_CKEditorConfig\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm' , 'CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_DashBoard\";' , 'a:0:{}' , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dashboard' , 'CiviCRM Home' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dashlet' , 'CiviCRM Dashlets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Page_Dashlet\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 1 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search' , 'Find Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 10 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/image' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/image' , 'Process Uploaded Images' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:23:\"CRM_Contact_BAO_Contact\";i:1;s:12:\"processImage\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/imagefile' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/imagefile' , 'Get Image File' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_ImageFile\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/basic' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/search/basic' , 'Find Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/advanced' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/advanced' , 'Advanced Search' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=512\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 12 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/builder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/builder' , 'Search Builder' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:9:\"mode=8192\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 14 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/search/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:10:\"mode=16384\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/custom/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/custom/list' , 'Custom Searches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Page_CustomSearch\";' , 's:10:\"mode=16384\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 16 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add' , 'New Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/individual' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/individual' , 'ct=Individual' , 'New Individual' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/household' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/household' , 'ct=Household' , 'New Household' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/organization' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/organization' , 'ct=Organization' , 'New Organization' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/relatedcontact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/relatedcontact' , 'Edit Related Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contact_Form_RelatedContact\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/merge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/merge' , 'Merge Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Contact_Form_Merge\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/email' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/email' , 'Email a Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Form_Task_Email\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/map' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/map' , 'Map Location(s)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_Map\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/map/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/map/event' , 'Map Event Location' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contact_Form_Task_Map_Event\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Map Location(s)\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/map&reset=1\";}}' , 1 , 0 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view' , 'cid=%%cid%%' , 'Contact Summary' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Contact_Page_View_Summary\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/delete' , 'Delete Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:28:\"CRM_Contact_Form_Task_Delete\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/activity' , 'show=1,cid=%%cid%%' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:21:\"CRM_Activity_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Activity_Form_Activity\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/email/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/email/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Form_Task_Email\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/pdf/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/pdf/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_PDF\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/rel' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/rel' , 'cid=%%cid%%' , 'Relationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contact_Page_View_Relationship\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/group' , 'cid=%%cid%%' , 'Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contact_Page_View_GroupContact\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/smartgroup' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/smartgroup' , 'cid=%%cid%%' , 'Smart Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:39:\"CRM_Contact_Page_View_ContactSmartGroup\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/sunlight' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/sunlight' , 'Sunlight' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:30:\"CRM_Contact_Page_View_Sunlight\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/note' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/note' , 'cid=%%cid%%' , 'Notes' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Contact_Page_View_Note\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/tag' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/tag' , 'cid=%%cid%%' , 'Tags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:25:\"CRM_Contact_Page_View_Tag\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/cd' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/cd' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Contact_Page_View_CustomData\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/cd/edit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/cd/edit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Form_CustomData\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/vcard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/vcard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Page_View_Vcard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/print' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/print' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Page_View_Print\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/log' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/log' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:25:\"CRM_Contact_Page_View_Log\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/user' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/user' , 'Contact Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Contact_Page_View_UserDashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/activity' , 'Activity Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Dashlet_Page_Activity\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/blog' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/blog' , 'CiviCRM Blog' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Dashlet_Page_Blog\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/getting-started' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/getting-started' , 'Getting Started' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Dashlet_Page_GettingStarted\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/relation' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/relation' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"relationship\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/groupTree' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/groupTree' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"groupTree\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:11:\"customField\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/customvalue' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/customvalue' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:17:\"deleteCustomValue\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/cmsuser' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/cmsuser' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"checkUserName\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/checkemail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/checkemail' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactEmail\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/checkphone' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/checkphone' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactPhone\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/subtype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/subtype' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"buildSubTypes\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"dashboard\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/signature' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/signature' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"getSignature\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/pdfFormat' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/pdfFormat' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"pdfFormat\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/paperSize' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/paperSize' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"paperSize\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactref' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactref' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:31:\"access contact reference fields\";i:1;s:15:\" access CiviCRM\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"contactReference\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/myCases' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/myCases' , 'Case Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Dashlet_Page_MyCases\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/allCases' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/allCases' , 'All Cases Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Dashlet_Page_AllCases\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/casedashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/casedashboard' , 'Case Dashboard Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Dashlet_Page_CaseDashboard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/deduperules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/deduperules' , 'Find and Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer dedupe rules\";i:1;s:24:\"merge duplicate contacts\";}i:1;s:2:\"or\";}' , 's:28:\"CRM_Contact_Page_DedupeRules\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/dedupefind' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/dedupefind' , 'Find and Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Page_DedupeFind\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dedupefind' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dedupefind' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:10:\"getDedupes\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/dedupemerge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/dedupemerge' , 'Batch Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Contact_Page_DedupeMerge\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dedupe/exception' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dedupe/exception' , 'Dedupe Exceptions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contact_Page_DedupeException\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dedupeRules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dedupeRules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"buildDedupeRules\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/useradd' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/useradd' , 'cid=%%cid%%' , 'Add User' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Contact_Page_View_Useradd\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/markSelection' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/markSelection' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:22:\"selectUnselectContacts\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/toggleDedupeSelect' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/toggleDedupeSelect' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:18:\"toggleDedupeSelect\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/flipDupePairs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/flipDupePairs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"flipDupePairs\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/sms/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/sms/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_SMS\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:23:\"getContactRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/custom/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/custom/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Custom_Form_CustomData\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/optionlist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/optionlist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:13:\"getOptionList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/reorder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/reorder' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:11:\"fixOrdering\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Custom_Form_CustomDataByType\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/group' , 'Manage Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Group_Page_Group\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 30 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/group/search' , 'Group Members' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:38:\"/index.php?q=civicrm/group&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/group/add' , 'New Group' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:11:\"edit groups\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Group_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:38:\"/index.php?q=civicrm/group&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/grouplist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/grouplist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Group_Page_AJAX\";i:1;s:12:\"getGroupList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import' , 'Import' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Import_Controller\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 400 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/contact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/contact' , 'Import Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 410 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/activity' , 'Import Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 420 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/custom' , 'id=%%id%%' , 'Import Multi-value Custom Data' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Custom_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 420 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:28:\"CRM_Contact_Import_Page_AJAX\";i:1;s:6:\"status\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/jqState' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/jqState' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:7:\"jqState\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/jqCounty' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/jqCounty' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:8:\"jqCounty\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/upgrade' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/upgrade' , 'Upgrade CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Upgrade_Page_Upgrade\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/export' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/export' , 'Download Errors' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/export/contact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/export/contact' , 'Export Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:39:\"/index.php?q=civicrm/export&reset=1\";}}' , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/acl_role' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/options/acl_role' , 'ACL Roles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl' , 'Manage ACLs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_ACL_Page_ACL\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl/entityrole' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl/entityrole' , 'Assign Users to ACL Roles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_ACL_Page_EntityRole\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:36:\"/index.php?q=civicrm/acl&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl/basic' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl/basic' , 'ACL' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_ACL_Page_ACLBasic\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:36:\"/index.php?q=civicrm/acl&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/standalone/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/standalone/register' , 'Registration Page' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Standalone_Form_Register\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/file' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/file' , 'Browse Uploaded files' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Core_Page_File\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/file/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/file/delete' , 'Delete File' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:17:\"CRM_Core_BAO_File\";i:1;s:16:\"deleteAttachment\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:21:\"Browse Uploaded files\";s:3:\"url\";s:37:\"/index.php?q=civicrm/file&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/friend' , 'Tell a Friend' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:15:\"CRM_Friend_Form\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/logout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/logout' , 'Log out' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:6:\"logout\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 9999 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/i18n' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/i18n' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"translate CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Core_I18n_Form\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/attachment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/attachment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:29:\"CRM_Core_Page_AJAX_Attachment\";i:1;s:10:\"attachFile\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/api' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/api' , 'CiviCRM API' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Page_APIExplorer\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/apiexample' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/apiexample' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:14:\"getExampleFile\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/apidoc' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/apidoc' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:6:\"getDoc\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/rest' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/rest' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:4:\"ajax\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/api/json' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/api/json' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:8:\"ajaxJson\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"CiviCRM API\";s:3:\"url\";s:36:\"/index.php?q=civicrm/api&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/inline' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/inline' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:12:\"loadTemplate\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/chart' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_ContributionCharts\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/ajax/tableview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/ajax/tableview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contribute_Page_DashBoard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/ipn' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment/ipn' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Core_Payment\";i:1;s:9:\"handleIPN\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch' , 'Batch Data Entry' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Page_Batch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Form_Batch\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:38:\"/index.php?q=civicrm/batch&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch/entry' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch/entry' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Form_Entry\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:38:\"/index.php?q=civicrm/batch&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:9:\"batchSave\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/batchlist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/batchlist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:12:\"getBatchList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/inline' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/inline' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Core_Page_AJAX\";i:1;s:3:\"run\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dev/qunit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dev/qunit' , 'QUnit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Core_Page_QUnit\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile-editor/schema' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/profile-editor/schema' , 'ProfileEditor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:25:\"CRM_UF_Page_ProfileEditor\";i:1;s:13:\"getSchemaJSON\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/a' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/a' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"\\Civi\\Angular\\Page\\Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/angular-modules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/angular-modules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"\\Civi\\Angular\\Page\\Modules\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/recurringentity/update-mode' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/recurringentity/update-mode' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:34:\"CRM_Core_Page_AJAX_RecurringEntity\";i:1;s:10:\"updateMode\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/recurringentity/preview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/recurringentity/preview' , 'Confirm dates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Core_Page_RecurringEntityPreview\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/l10n-js' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/l10n-js' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Core_Resources\";i:1;s:20:\"outputLocalizationJS\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/shortcode' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/shortcode' , 'Insert CiviCRM Content' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Core_Form_ShortCode\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/form' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/payment/form' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Financial_Form_Payment\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pcp' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Form_PCP\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pcp/campaign' , 'Setup a Personal Campaign Page - Account Information' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pcp/info' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_PCP_Page_PCPInfo\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/pcp' , 'context=contribute' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Page_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 362 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/profile' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Profile_Page_Router\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile/create' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/profile/create' , 'CiviCRM Profile Create' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Profile_Page_Router\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/profile/view' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Profile_Page_View\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event' , 'CiviEvent Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 800 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/participant/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/participant/add' , 'action=add' , 'Register New Participant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Event_Page_Tab\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/info' , 'Event Information' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_EventInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/register' , 'Event Registration' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Controller_Registration\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/confirm' , 'Confirm Event Registration' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:46:\"CRM_Event_Form_Registration_ParticipantConfirm\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/ical' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/ical' , 'Current and Upcoming Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"view event info\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_ICalendar\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/participant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/participant' , 'Event Participants List' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:23:\"view event participants\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Page_ParticipantListing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/event' , 'Manage Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Event_Page_ManageEvent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/eventTemplate' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/eventTemplate' , 'Event Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Admin_Page_EventTemplate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 375 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/event_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/event_type' , 'Event Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 385 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/participant_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/participant_status' , 'Participant Status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Page_ParticipantStatusType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/participant_role' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/participant_role' , 'Participant Role' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 395 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/participant_listing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/participant_listing' , 'Participant Listing Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 398 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/conference_slots' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/conference_slots' , 'group=conference_slot' , 'Conference Slot Labels' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 415 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/search' , 'Find Participants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Event_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 810 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage' , 'Manage Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Event_Page_ManageEvent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 820 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/badge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/badge' , 'Print Event Name Badge' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Event_Form_Task_Badge\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/settings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/settings' , 'Event Info and Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Event_Form_ManageEvent_EventInfo\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 910 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/location' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/location' , 'Event Location' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Event_Form_ManageEvent_Location\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 930 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/fee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/fee' , 'Event Fees' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Event_Form_ManageEvent_Fee\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 920 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/registration' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/registration' , 'Event Online Registration' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:39:\"CRM_Event_Form_ManageEvent_Registration\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 930 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/friend' , 'Tell a Friend' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Friend_Form_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 940 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/reminder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/reminder' , 'Schedule Reminders' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:44:\"CRM_Event_Form_ManageEvent_ScheduleReminders\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 950 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/repeat' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/repeat' , 'Repeat Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Form_ManageEvent_Repeat\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 960 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/conference' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/conference' , 'Conference Slots' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Event_Form_ManageEvent_Conference\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 950 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/add' , 'action=add' , 'New Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Event_Form_ManageEvent_EventInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 830 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/import' , 'Import Participants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:23:\"edit event participants\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Event_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 840 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/price' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/price' , 'Manage Price Sets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 850 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/selfsvcupdate' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/selfsvcupdate' , 'Self Service Update' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Event_Form_SelfSvcUpdate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 880 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/selfsvctransfer' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/selfsvctransfer' , 'Self Service Transfer' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Event_Form_SelfSvcTransfer\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 890 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/participant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/participant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:18:\"CRM_Event_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 4 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/eventFee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/eventFee' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Event_Page_AJAX\";i:1;s:8:\"eventFee\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/locBlock' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/locBlock' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:11:\"getLocBlock\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/event/add_participant_to_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/event/add_participant_to_cart' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Event_Cart_Page_CheckoutAJAX\";i:1;s:23:\"add_participant_to_cart\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/event/remove_participant_from_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/event/remove_participant_from_cart' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Event_Cart_Page_CheckoutAJAX\";i:1;s:28:\"remove_participant_from_cart\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/add_to_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/add_to_cart' , 'Add Event To Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Event_Cart_Page_AddToCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/cart_checkout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/cart_checkout' , 'Cart Checkout' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Event_Cart_Controller_Checkout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/remove_from_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/remove_from_cart' , 'Remove From Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Event_Cart_Page_RemoveFromCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/view_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/view_cart' , 'View Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Event_Cart_Page_ViewCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/participant/feeselection' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/participant/feeselection' , 'Change Registration Selections' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Event_Form_ParticipantFeeSelection\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:23:\"Event Participants List\";s:3:\"url\";s:50:\"/index.php?q=civicrm/event/participant&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/pcp' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_PCP_Form_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 540 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/pcp' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Form_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/campaign' , 'Setup a Personal Campaign Page - Account Information' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute' , 'CiviContribute Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contribute_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 2 , 0 , 500 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/add' , 'action=add' , 'New Contribution' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Contribute_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/chart' , 'Contribution Summary - Chart View' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_ContributionCharts\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/transact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/transact' , 'CiviContribute' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Controller_Contribution\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute' , 'Manage Contribution Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Contribute_Page_ContributionPage\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 360 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/settings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/settings' , 'Title and Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:45:\"CRM_Contribute_Form_ContributionPage_Settings\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/amount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/amount' , 'Contribution Amounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Amount\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 410 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/membership' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/membership' , 'Membership Section' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Member_Form_MembershipBlock\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/custom' , 'Include Profiles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Custom\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/thankyou' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/thankyou' , 'Thank-you and Receipting' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:45:\"CRM_Contribute_Form_ContributionPage_ThankYou\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/friend' , 'Tell a Friend' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Friend_Form_Contribute\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 440 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/widget' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/widget' , 'Configure Widget' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Widget\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 460 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/premium' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/premium' , 'Premiums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:44:\"CRM_Contribute_Form_ContributionPage_Premium\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 470 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/addProductToPage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/addProductToPage' , 'Add Products to This Page' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:47:\"CRM_Contribute_Form_ContributionPage_AddProduct\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 480 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/add' , 'action=add' , 'New Contribution Page' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:42:\"CRM_Contribute_Controller_ContributionPage\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/managePremiums' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/managePremiums' , 'Manage Premiums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Contribute_Page_ManagePremiums\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 365 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialType' , 'Financial Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Financial_Page_FinancialType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 580 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment' , 'action=add' , 'New Payment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Contribute_Form_AdditionalPayment\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialAccount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialAccount' , 'Financial Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Financial_Page_FinancialAccount\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/payment_instrument' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/payment_instrument' , 'Payment Methods' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/accept_creditcard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/accept_creditcard' , 'Accepted Credit Cards' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 395 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/soft_credit_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/options/soft_credit_type' , 'Soft Credit Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contribution' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/contribution' , 'Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Contribute_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contributionrecur' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/contributionrecur' , 'Recurring Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:37:\"CRM_Contribute_Page_ContributionRecur\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contribution/additionalinfo' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/contribution/additionalinfo' , 'Additional Info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contribute_Form_AdditionalInfo\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}i:2;a:2:{s:5:\"title\";s:13:\"Contributions\";s:3:\"url\";s:58:\"/index.php?q=civicrm/contact/view/contribution&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/search' , 'Find Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 510 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/searchBatch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/searchBatch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Contribute_Controller_SearchBatch\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 588 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/import' , 'Import Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"edit contributions\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 520 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/manage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/manage' , 'Manage Contribution Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Contribute_Page_ContributionPage\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 530 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/additionalinfo' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/additionalinfo' , 'AdditionalInfo Form' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Contribute_Form_AdditionalInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/permlocation' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/permlocation' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:23:\"getPermissionedLocation\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/unsubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/unsubscribe' , 'Cancel Subscription' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_CancelSubscription\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/onbehalf' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/onbehalf' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_Contribution_OnBehalfOf\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/updatebilling' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/updatebilling' , 'Update Billing Details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Contribute_Form_UpdateBilling\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/updaterecur' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/updaterecur' , 'Update Subscription' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_UpdateSubscription\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/subscriptionstatus' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/subscriptionstatus' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Page_SubscriptionStatus\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialType/accounts' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialType/accounts' , 'Financial Type Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:39:\"CRM_Financial_Page_FinancialTypeAccount\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:15:\"Financial Types\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/financial/financialType&reset=1\";}}' , 1 , 581 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/batch' , 'Accounting Batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Financial_Page_FinancialBatch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 585 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/financialbatches' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/financialbatches' , 'Accounting Batches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Financial_Page_Batch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 586 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batchtransaction' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/batchtransaction' , 'Accounting Batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Financial_Page_BatchTransaction\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 600 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/batch/export' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/batch/export' , 'Accounting Batch Export' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Financial_Form_Export\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Accounting Batch\";s:3:\"url\";s:48:\"/index.php?q=civicrm/financial/batch&reset=1\";}}' , 0 , 610 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment/view' , 'action=view' , 'View Payment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contribute_Page_PaymentInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/contribute' , 'CiviContribute Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Admin_Form_Preferences_Contribute\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/invoice' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/invoice' , 'PDF Invoice' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Contribute_Form_Task_Invoice\";i:1;s:11:\"getPrintPDF\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/invoice/email' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/invoice/email' , 'Email Invoice' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Form_Task_Invoice\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"PDF Invoice\";s:3:\"url\";s:51:\"/index.php?q=civicrm/contribute/invoice&reset=1\";}}' , 2 , 0 , 630 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/pcp' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_PCP_Form_Contribute\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 450 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/campaign' , 'Setup a Personal Campaign Page - Account Information' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member' , 'CiviMember Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Member_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 3 , 0 , 700 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/member/add' , 'action=add' , 'New Membership' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Member_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipType' , 'Membership Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Page_MembershipType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipStatus' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipStatus' , 'Membership Status Rules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Member_Page_MembershipStatus\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/membership' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/membership' , 'force=1,cid=%%cid%%' , 'Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:19:\"CRM_Member_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 2 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/membership/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/membership/view' , 'Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Form_MembershipView\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member/search' , 'Find Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Member_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 710 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member/import' , 'Import Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:16:\"edit memberships\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Member_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 720 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/memType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/memType' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Member_Page_AJAX\";i:1;s:21:\"getMemberTypeDefaults\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipType/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipType/add' , 'Membership Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Form_MembershipType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:16:\"Membership Types\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/member/membershipType&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing' , 'CiviMail' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 4 , 0 , 600 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mail' , 'Mailer Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Mail\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/component' , 'Headers, Footers, and Automated Messages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Page_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 410 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/from_email_address/civimail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/from_email_address/civimail' , 'From Email Addresses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:4:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}i:3;a:2:{s:5:\"title\";s:20:\"From Email Addresses\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/from_email_address&reset=1\";}}' , 1 , 415 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mailSettings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mailSettings' , 'Mail Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_MailSettings\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/send' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/send' , 'New Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";i:2;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Mailing_Controller_Send\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 610 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/scheduled' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/scheduled' , 'scheduled=true' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";i:2;s:15:\"create mailings\";i:3;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/unscheduled' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/unscheduled' , 'scheduled=false' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";i:2;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/archived' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/archived' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 625 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/component' , 'Headers, Footers, and Automated Messages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Page_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 630 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/unsubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/unsubscribe' , 'Unsubscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Mailing_Form_Unsubscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 640 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/resubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/resubscribe' , 'Resubscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Mailing_Page_Resubscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 645 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/optout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/optout' , 'Opt-out' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Mailing_Form_Optout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 650 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/confirm' , 'Confirm' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Mailing_Page_Confirm\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 660 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/subscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/subscribe' , 'Subscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Form_Subscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 660 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/preview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/preview' , 'Preview Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";i:2;s:15:\"create mailings\";i:3;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Mailing_Page_Preview\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 670 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/report' , 'mid=%%mid%%' , 'Mailing Report' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Report\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 680 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/forward' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/forward' , 'Forward Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Mailing_Form_ForwardMailing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 685 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/queue' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/queue' , 'Sending Mail' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 690 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/report/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/report/event' , 'Mailing Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Mailing_Page_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Mailing Report\";s:3:\"url\";s:63:\"/index.php?q=civicrm/mailing/report&reset=1&mid=%%mid%%\";}}' , 4 , 0 , 695 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Mailing_Page_AJAX\";i:1;s:8:\"template\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/view' , 'View Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:28:\"view public CiviMail content\";i:1;s:15:\"access CiviMail\";i:2;s:16:\"approve mailings\";}i:1;s:2:\"or\";}' , 's:21:\"CRM_Mailing_Page_View\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 800 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/approve' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/approve' , 'Approve Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Mailing_Form_Approve\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 850 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:20:\"CRM_Mailing_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactmailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactmailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Mailing_Page_AJAX\";i:1;s:18:\"getContactMailings\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant' , 'CiviGrant Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Grant_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 5 , 0 , 1000 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant/info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Grant_Page_DashBoard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant/search' , 'Find Grants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Grant_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 1010 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/grant/add' , 'action=add' , 'New Grant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Grant_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/grant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/grant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Grant_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge' , 'CiviPledge Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Pledge_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 6 , 0 , 550 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge/search' , 'Find Pledges' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Pledge_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 560 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/pledge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/pledge' , 'force=1,cid=%%cid%%' , 'Pledges' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Pledge_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 570 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pledge/add' , 'action=add' , 'New Pledge' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Pledge_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/payment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge/payment' , 'Pledge Payments' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Pledge_Page_Payment\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 580 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/pledgeAmount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/pledgeAmount' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviPledge\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Pledge_Page_AJAX\";i:1;s:17:\"getPledgeDefaults\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/case' , 'CiviCase Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Case_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 7 , 0 , 900 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/add' , 'Open Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Case_Form_Case\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/case/search' , 'Find Cases' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Case_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 910 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/activity' , 'Case Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Case_Form_Activity\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/report' , 'Case Activity Audit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Case_Form_Report\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/cd/edit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/cd/edit' , 'Case Custom Set' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Case_Form_CustomData\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/case' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/case' , 'Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:17:\"CRM_Case_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/activity/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/activity/view' , 'Activity View' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Case_Form_ActivityView\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Case Activity\";s:3:\"url\";s:46:\"/index.php?q=civicrm/case/activity&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/case/editClient' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/case/editClient' , 'Assign to Another Client' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Case_Form_EditClient\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}i:2;a:2:{s:5:\"title\";s:4:\"Case\";s:3:\"url\";s:50:\"/index.php?q=civicrm/contact/view/case&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/addToCase' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/addToCase' , 'File on Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Case_Form_ActivityToCase\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/details' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/details' , 'Case Details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Case_Page_CaseDetails\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/case_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/case_type' , 'Case Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Core_Page_Redirect\";' , 's:24:\"url=civicrm/a/#/caseType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/redaction_rule' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/redaction_rule' , 'Redaction Rules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/case_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/case_status' , 'Case Statuses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/encounter_medium' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/encounter_medium' , 'Encounter Mediums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/report/print' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/report/print' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:28:\"CRM_Case_XMLProcessor_Report\";i:1;s:15:\"printCaseReport\";}' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}i:2;a:2:{s:5:\"title\";s:19:\"Case Activity Audit\";s:3:\"url\";s:44:\"/index.php?q=civicrm/case/report&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/unclosed' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/unclosed' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:13:\"unclosedCases\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/addclient' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/addclient' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:9:\"addClient\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/processtags' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/processtags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:15:\"processCaseTags\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/details' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:11:\"CaseDetails\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/delcaserole' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/delcaserole' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:15:\"deleteCaseRoles\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report' , 'CiviReport' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Report_Page_Report\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 8 , 0 , 1200 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/list' , 'CiviCRM Reports' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_InstanceList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/template/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report/template/list' , 'Create New Report from Template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_TemplateList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 1220 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/options/report_template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report/options/report_template' , 'Manage Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Report_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 1241 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/register' , 'Register Report' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Report_Form_Register\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/instance' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/instance' , 'Report' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Report_Page_Instance\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/template/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/template/list' , 'Create New Report from Template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_TemplateList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/options/report_template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/options/report_template' , 'Manage Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Report_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/list' , 'Reports Listing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_InstanceList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/chart' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:15:\"CRM_Report_Form\";i:1;s:16:\"uploadChartImage\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign' , 'Campaign Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Campaign_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/add' , 'New Campaign' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Campaign_Form_Campaign\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/add' , 'New Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Campaign_Form_Survey_Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/vote' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/vote' , 'Conduct Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:25:\"reserve campaign contacts\";i:3;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 's:22:\"CRM_Campaign_Page_Vote\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/campaign/surveyType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/campaign/surveyType' , 'Survey Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCampaign\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Campaign_Page_SurveyType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/campaign_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/campaign_type' , 'Campaign Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 2 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/campaign_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/campaign_status' , 'Campaign Status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 3 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/engagement_index' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/engagement_index' , 'Engagement Index' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 4 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/search' , 'op=interview' , 'Record Respondents Interview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 's:30:\"CRM_Campaign_Controller_Search\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/gotv' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/gotv' , 'GOTV (Track Voters)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:25:\"release campaign contacts\";i:3;s:22:\"gotv campaign contacts\";}i:1;s:2:\"or\";}' , 's:22:\"CRM_Campaign_Form_Gotv\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/add' , 'New Petition' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Campaign_Form_Petition\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/sign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/sign' , 'Sign Petition' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Campaign_Form_Petition_Signature\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/browse' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/browse' , 'View Petition Signatures' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Campaign_Page_Petition\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/confirm' , 'Email address verified' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Campaign_Page_Petition_Confirm\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/thankyou' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/thankyou' , 'Thank You' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Campaign_Page_Petition_ThankYou\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/registerInterview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/registerInterview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:22:\"CRM_Campaign_Page_AJAX\";i:1;s:17:\"registerInterview\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/main' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/main' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Campaign_Form_Survey_Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/questions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/questions' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Campaign_Form_Survey_Questions\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/results' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/results' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Campaign_Form_Survey_Results\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/delete' , 'Delete Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:31:\"CRM_Campaign_Form_Survey_Delete\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'admin' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , breadcrumb ) VALUES ( 1 , 'admin' , 'a:15:{s:26:\"Customize Data and Screens\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:19:{s:20:\"{weight}.Custom Data\";a:6:{s:5:\"title\";s:11:\"Custom Data\";s:4:\"desc\";s:109:\"Configure custom fields to collect and store custom data which is not included in the standard CiviCRM forms.\";s:2:\"id\";s:10:\"CustomData\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";s:4:\"icon\";s:26:\"admin/small/custm_data.png\";s:5:\"extra\";N;}s:17:\"{weight}.Profiles\";a:6:{s:5:\"title\";s:8:\"Profiles\";s:4:\"desc\";s:151:\"Profiles allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features.\";s:2:\"id\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";s:4:\"icon\";s:23:\"admin/small/Profile.png\";s:5:\"extra\";N;}s:26:\"{weight}.Tags (Categories)\";a:6:{s:5:\"title\";s:17:\"Tags (Categories)\";s:4:\"desc\";s:158:\"Tags are useful for segmenting the contacts in your database into categories (e.g. Staff Member, Donor, Volunteer, etc.). Create and edit available tags here.\";s:2:\"id\";s:15:\"Tags_Categories\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/tag&reset=1\";s:4:\"icon\";s:18:\"admin/small/11.png\";s:5:\"extra\";N;}s:23:\"{weight}.Activity Types\";a:6:{s:5:\"title\";s:14:\"Activity Types\";s:4:\"desc\";s:155:\"CiviCRM has several built-in activity types (meetings, phone calls, emails sent). Track other types of interactions by creating custom activity types here.\";s:2:\"id\";s:13:\"ActivityTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/activity_type&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:27:\"{weight}.Relationship Types\";a:6:{s:5:\"title\";s:18:\"Relationship Types\";s:4:\"desc\";s:148:\"Contacts can be linked to each other through Relationships (e.g. Spouse, Employer, etc.). Define the types of relationships you want to record here.\";s:2:\"id\";s:17:\"RelationshipTypes\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/reltype&reset=1\";s:4:\"icon\";s:25:\"admin/small/rela_type.png\";s:5:\"extra\";N;}s:22:\"{weight}.Contact Types\";a:6:{s:5:\"title\";s:13:\"Contact Types\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ContactTypes\";s:3:\"url\";s:54:\"/index.php?q=civicrm/admin/options/subtype&reset=1\";s:4:\"icon\";s:18:\"admin/small/09.png\";s:5:\"extra\";N;}s:23:\"{weight}.Gender Options\";a:6:{s:5:\"title\";s:14:\"Gender Options\";s:4:\"desc\";s:85:\"Options for assigning gender to individual contacts (e.g. Male, Female, Transgender).\";s:2:\"id\";s:13:\"GenderOptions\";s:3:\"url\";s:53:\"/index.php?q=civicrm/admin/options/gender&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:40:\"{weight}.Individual Prefixes (Ms, Mr...)\";a:6:{s:5:\"title\";s:31:\"Individual Prefixes (Ms, Mr...)\";s:4:\"desc\";s:66:\"Options for individual contact prefixes (e.g. Ms., Mr., Dr. etc.).\";s:2:\"id\";s:27:\"IndividualPrefixes_Ms_Mr...\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/individual_prefix&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:40:\"{weight}.Individual Suffixes (Jr, Sr...)\";a:6:{s:5:\"title\";s:31:\"Individual Suffixes (Jr, Sr...)\";s:4:\"desc\";s:61:\"Options for individual contact suffixes (e.g. Jr., Sr. etc.).\";s:2:\"id\";s:27:\"IndividualSuffixes_Jr_Sr...\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/individual_suffix&reset=1\";s:4:\"icon\";s:18:\"admin/small/10.png\";s:5:\"extra\";N;}s:39:\"{weight}.Location Types (Home, Work...)\";a:6:{s:5:\"title\";s:30:\"Location Types (Home, Work...)\";s:4:\"desc\";s:94:\"Options for categorizing contact addresses and phone numbers (e.g. Home, Work, Billing, etc.).\";s:2:\"id\";s:26:\"LocationTypes_Home_Work...\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/locationType&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:22:\"{weight}.Website Types\";a:6:{s:5:\"title\";s:13:\"Website Types\";s:4:\"desc\";s:48:\"Options for assigning website types to contacts.\";s:2:\"id\";s:12:\"WebsiteTypes\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/options/website_type&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:35:\"{weight}.Instant Messenger Services\";a:6:{s:5:\"title\";s:26:\"Instant Messenger Services\";s:4:\"desc\";s:79:\"List of IM services which can be used when recording screen-names for contacts.\";s:2:\"id\";s:24:\"InstantMessengerServices\";s:3:\"url\";s:72:\"/index.php?q=civicrm/admin/options/instant_messenger_service&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:31:\"{weight}.Mobile Phone Providers\";a:6:{s:5:\"title\";s:22:\"Mobile Phone Providers\";s:4:\"desc\";s:90:\"List of mobile phone providers which can be assigned when recording contact phone numbers.\";s:2:\"id\";s:20:\"MobilePhoneProviders\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/mobile_provider&reset=1\";s:4:\"icon\";s:18:\"admin/small/08.png\";s:5:\"extra\";N;}s:19:\"{weight}.Phone Type\";a:6:{s:5:\"title\";s:10:\"Phone Type\";s:4:\"desc\";s:80:\"Options for assigning phone type to contacts (e.g Phone,\n Mobile, Fax, Pager)\";s:2:\"id\";s:9:\"PhoneType\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/phone_type&reset=1\";s:4:\"icon\";s:7:\"tel.gif\";s:5:\"extra\";N;}s:28:\"{weight}.Display Preferences\";a:6:{s:5:\"title\";s:19:\"Display Preferences\";s:4:\"desc\";N;s:2:\"id\";s:18:\"DisplayPreferences\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/display&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:27:\"{weight}.Search Preferences\";a:6:{s:5:\"title\";s:18:\"Search Preferences\";s:4:\"desc\";N;s:2:\"id\";s:17:\"SearchPreferences\";s:3:\"url\";s:53:\"/index.php?q=civicrm/admin/setting/search&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:24:\"{weight}.Navigation Menu\";a:6:{s:5:\"title\";s:15:\"Navigation Menu\";s:4:\"desc\";s:79:\"Add or remove menu items, and modify the order of items on the navigation menu.\";s:2:\"id\";s:14:\"NavigationMenu\";s:3:\"url\";s:43:\"/index.php?q=civicrm/admin/menu&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:26:\"{weight}.Word Replacements\";a:6:{s:5:\"title\";s:17:\"Word Replacements\";s:4:\"desc\";s:18:\"Word Replacements.\";s:2:\"id\";s:16:\"WordReplacements\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/wordreplacements&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Manage Custom Searches\";a:6:{s:5:\"title\";s:22:\"Manage Custom Searches\";s:4:\"desc\";s:225:\"Developers and accidental techies with a bit of PHP and SQL knowledge can create new search forms to handle specific search and reporting needs which aren\'t covered by the built-in Advanced Search and Search Builder features.\";s:2:\"id\";s:20:\"ManageCustomSearches\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/custom_search&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:10;}s:14:\"Communications\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:11:{s:46:\"{weight}.Organization Address and Contact Info\";a:6:{s:5:\"title\";s:37:\"Organization Address and Contact Info\";s:4:\"desc\";s:150:\"Configure primary contact name, email, return-path and address information. This information is used by CiviMail to identify the sending organization.\";s:2:\"id\";s:33:\"OrganizationAddressandContactInfo\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/domain&action=update&reset=1\";s:4:\"icon\";s:22:\"admin/small/domain.png\";s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/from_email_address&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:26:\"{weight}.Message Templates\";a:6:{s:5:\"title\";s:17:\"Message Templates\";s:4:\"desc\";s:130:\"Message templates allow you to save and re-use messages with layouts which you can use when sending email to one or more contacts.\";s:2:\"id\";s:16:\"MessageTemplates\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/messageTemplates&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:27:\"{weight}.Schedule Reminders\";a:6:{s:5:\"title\";s:18:\"Schedule Reminders\";s:4:\"desc\";s:19:\"Schedule Reminders.\";s:2:\"id\";s:17:\"ScheduleReminders\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/scheduleReminders&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:40:\"{weight}.Preferred Communication Methods\";a:6:{s:5:\"title\";s:31:\"Preferred Communication Methods\";s:4:\"desc\";s:117:\"One or more preferred methods of communication can be assigned to each contact. Customize the available options here.\";s:2:\"id\";s:29:\"PreferredCommunicationMethods\";s:3:\"url\";s:77:\"/index.php?q=civicrm/admin/options/preferred_communication_method&reset=1\";s:4:\"icon\";s:29:\"admin/small/communication.png\";s:5:\"extra\";N;}s:22:\"{weight}.Label Formats\";a:6:{s:5:\"title\";s:13:\"Label Formats\";s:4:\"desc\";s:67:\"Configure Label Formats that are used when creating mailing labels.\";s:2:\"id\";s:12:\"LabelFormats\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/labelFormats&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:33:\"{weight}.Print Page (PDF) Formats\";a:6:{s:5:\"title\";s:24:\"Print Page (PDF) Formats\";s:4:\"desc\";s:95:\"Configure PDF Page Formats that can be assigned to Message Templates when creating PDF letters.\";s:2:\"id\";s:20:\"PrintPage_PDFFormats\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/pdfFormats&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:36:\"{weight}.Communication Style Options\";a:6:{s:5:\"title\";s:27:\"Communication Style Options\";s:4:\"desc\";s:42:\"Options for Communication Style selection.\";s:2:\"id\";s:25:\"CommunicationStyleOptions\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/communication_style&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Email Greeting Formats\";a:6:{s:5:\"title\";s:22:\"Email Greeting Formats\";s:4:\"desc\";s:75:\"Options for assigning email greetings to individual and household contacts.\";s:2:\"id\";s:20:\"EmailGreetingFormats\";s:3:\"url\";s:61:\"/index.php?q=civicrm/admin/options/email_greeting&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:32:\"{weight}.Postal Greeting Formats\";a:6:{s:5:\"title\";s:23:\"Postal Greeting Formats\";s:4:\"desc\";s:76:\"Options for assigning postal greetings to individual and household contacts.\";s:2:\"id\";s:21:\"PostalGreetingFormats\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/postal_greeting&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:26:\"{weight}.Addressee Formats\";a:6:{s:5:\"title\";s:17:\"Addressee Formats\";s:4:\"desc\";s:83:\"Options for assigning addressee to individual, household and organization contacts.\";s:2:\"id\";s:16:\"AddresseeFormats\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/addressee&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:6;}s:12:\"Localization\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:4:{s:39:\"{weight}.Languages, Currency, Locations\";a:6:{s:5:\"title\";s:30:\"Languages, Currency, Locations\";s:4:\"desc\";N;s:2:\"id\";s:28:\"Languages_Currency_Locations\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/setting/localization&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:25:\"{weight}.Address Settings\";a:6:{s:5:\"title\";s:16:\"Address Settings\";s:4:\"desc\";N;s:2:\"id\";s:15:\"AddressSettings\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/address&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:21:\"{weight}.Date Formats\";a:6:{s:5:\"title\";s:12:\"Date Formats\";s:4:\"desc\";N;s:2:\"id\";s:11:\"DateFormats\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/date&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:28:\"{weight}.Preferred Languages\";a:6:{s:5:\"title\";s:19:\"Preferred Languages\";s:4:\"desc\";s:30:\"Options for contact languages.\";s:2:\"id\";s:18:\"PreferredLanguages\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/languages&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:21:\"Users and Permissions\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:2:{s:23:\"{weight}.Access Control\";a:6:{s:5:\"title\";s:14:\"Access Control\";s:4:\"desc\";s:73:\"Grant or deny access to actions (view, edit...), features and components.\";s:2:\"id\";s:13:\"AccessControl\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/access&reset=1\";s:4:\"icon\";s:18:\"admin/small/03.png\";s:5:\"extra\";N;}s:38:\"{weight}.Synchronize Users to Contacts\";a:6:{s:5:\"title\";s:29:\"Synchronize Users to Contacts\";s:4:\"desc\";s:71:\"Automatically create a CiviCRM contact record for each CMS user record.\";s:2:\"id\";s:26:\"SynchronizeUserstoContacts\";s:3:\"url\";s:48:\"/index.php?q=civicrm/admin/synchUser&reset=1\";s:4:\"icon\";s:26:\"admin/small/Synch_user.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:15:\"System Settings\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:18:{s:32:\"{weight}.Configuration Checklist\";a:6:{s:5:\"title\";s:23:\"Configuration Checklist\";s:4:\"desc\";s:55:\"List of configuration tasks with links to each setting.\";s:2:\"id\";s:22:\"ConfigurationChecklist\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/configtask&reset=1\";s:4:\"icon\";s:9:\"check.gif\";s:5:\"extra\";N;}s:34:\"{weight}.Enable CiviCRM Components\";a:6:{s:5:\"title\";s:25:\"Enable CiviCRM Components\";s:4:\"desc\";s:269:\"Enable or disable components (e.g. CiviEvent, CiviMember, etc.) for your site based on the features you need. We recommend disabling any components not being used in order to simplify the user interface. You can easily re-enable components at any time from this screen.\";s:2:\"id\";s:23:\"EnableCiviCRMComponents\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/setting/component&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:26:\"{weight}.Manage Extensions\";a:6:{s:5:\"title\";s:17:\"Manage Extensions\";s:4:\"desc\";s:0:\"\";s:2:\"id\";s:16:\"ManageExtensions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/extensions&reset=1\";s:4:\"icon\";s:26:\"admin/small/price_sets.png\";s:5:\"extra\";N;}s:32:\"{weight}.Outbound Email Settings\";a:6:{s:5:\"title\";s:23:\"Outbound Email Settings\";s:4:\"desc\";N;s:2:\"id\";s:21:\"OutboundEmailSettings\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/smtp&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:26:\"{weight}.Payment Processor\";a:6:{s:5:\"title\";s:17:\"Payment Processor\";s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:2:\"id\";s:16:\"PaymentProcessor\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/paymentProcessor&reset=1\";s:4:\"icon\";s:41:\"admin/small/online_contribution_pages.png\";s:5:\"extra\";N;}s:30:\"{weight}.Mapping and Geocoding\";a:6:{s:5:\"title\";s:21:\"Mapping and Geocoding\";s:4:\"desc\";N;s:2:\"id\";s:19:\"MappingandGeocoding\";s:3:\"url\";s:54:\"/index.php?q=civicrm/admin/setting/mapping&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:62:\"{weight}.Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)\";a:6:{s:5:\"title\";s:53:\"Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)\";s:4:\"desc\";s:91:\"Enable undelete/move to trash feature, detailed change logging, ReCAPTCHA to protect forms.\";s:2:\"id\";s:46:\"Misc_Undelete_PDFs_Limits_Logging_Captcha_etc.\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/misc&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:20:\"{weight}.Directories\";a:6:{s:5:\"title\";s:11:\"Directories\";s:4:\"desc\";N;s:2:\"id\";s:11:\"Directories\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/path&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:22:\"{weight}.Resource URLs\";a:6:{s:5:\"title\";s:13:\"Resource URLs\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ResourceURLs\";s:3:\"url\";s:50:\"/index.php?q=civicrm/admin/setting/url&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:40:\"{weight}.Cleanup Caches and Update Paths\";a:6:{s:5:\"title\";s:31:\"Cleanup Caches and Update Paths\";s:4:\"desc\";s:157:\"Reset the Base Directory Path and Base URL settings - generally when a CiviCRM site is moved to another location in the file system and/or to another domain.\";s:2:\"id\";s:27:\"CleanupCachesandUpdatePaths\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1\";s:4:\"icon\";s:26:\"admin/small/updatepath.png\";s:5:\"extra\";N;}s:33:\"{weight}.CMS Database Integration\";a:6:{s:5:\"title\";s:24:\"CMS Database Integration\";s:4:\"desc\";N;s:2:\"id\";s:22:\"CMSDatabaseIntegration\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/setting/uf&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:36:\"{weight}.Safe File Extension Options\";a:6:{s:5:\"title\";s:27:\"Safe File Extension Options\";s:4:\"desc\";s:44:\"File Extensions that can be considered safe.\";s:2:\"id\";s:24:\"SafeFileExtensionOptions\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/safe_file_extension&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:22:\"{weight}.Option Groups\";a:6:{s:5:\"title\";s:13:\"Option Groups\";s:4:\"desc\";s:35:\"Access all meta-data option groups.\";s:2:\"id\";s:12:\"OptionGroups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Import/Export Mappings\";a:6:{s:5:\"title\";s:22:\"Import/Export Mappings\";s:4:\"desc\";s:141:\"Import and Export mappings allow you to easily run the same job multiple times. This option allows you to rename or delete existing mappings.\";s:2:\"id\";s:21:\"Import_ExportMappings\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/mapping&reset=1\";s:4:\"icon\";s:33:\"admin/small/import_export_map.png\";s:5:\"extra\";N;}s:18:\"{weight}.Debugging\";a:6:{s:5:\"title\";s:9:\"Debugging\";s:4:\"desc\";N;s:2:\"id\";s:9:\"Debugging\";s:3:\"url\";s:52:\"/index.php?q=civicrm/admin/setting/debug&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:28:\"{weight}.Multi Site Settings\";a:6:{s:5:\"title\";s:19:\"Multi Site Settings\";s:4:\"desc\";N;s:2:\"id\";s:17:\"MultiSiteSettings\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/setting/preferences/multisite&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:23:\"{weight}.Scheduled Jobs\";a:6:{s:5:\"title\";s:14:\"Scheduled Jobs\";s:4:\"desc\";s:35:\"Managing periodially running tasks.\";s:2:\"id\";s:13:\"ScheduledJobs\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/job&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:22:\"{weight}.Sms Providers\";a:6:{s:5:\"title\";s:13:\"Sms Providers\";s:4:\"desc\";s:27:\"To configure a sms provider\";s:2:\"id\";s:12:\"SmsProviders\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/sms/provider&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:9;}s:12:\"CiviCampaign\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:40:\"{weight}.CiviCampaign Component Settings\";a:6:{s:5:\"title\";s:31:\"CiviCampaign Component Settings\";s:4:\"desc\";s:40:\"Configure global CiviCampaign behaviors.\";s:2:\"id\";s:29:\"CiviCampaignComponentSettings\";s:3:\"url\";s:67:\"/index.php?q=civicrm/admin/setting/preferences/campaign&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:21:\"{weight}.Survey Types\";a:6:{s:5:\"title\";s:12:\"Survey Types\";s:4:\"desc\";N;s:2:\"id\";s:11:\"SurveyTypes\";s:3:\"url\";s:58:\"/index.php?q=civicrm/admin/campaign/surveyType&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:23:\"{weight}.Campaign Types\";a:6:{s:5:\"title\";s:14:\"Campaign Types\";s:4:\"desc\";s:47:\"categorize your campaigns using campaign types.\";s:2:\"id\";s:13:\"CampaignTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/campaign_type&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:24:\"{weight}.Campaign Status\";a:6:{s:5:\"title\";s:15:\"Campaign Status\";s:4:\"desc\";s:34:\"Define statuses for campaign here.\";s:2:\"id\";s:14:\"CampaignStatus\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/campaign_status&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:25:\"{weight}.Engagement Index\";a:6:{s:5:\"title\";s:16:\"Engagement Index\";s:4:\"desc\";s:18:\"Engagement levels.\";s:2:\"id\";s:15:\"EngagementIndex\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/engagement_index&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:3;}s:9:\"CiviEvent\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:37:\"{weight}.CiviEvent Component Settings\";a:6:{s:5:\"title\";s:28:\"CiviEvent Component Settings\";s:4:\"desc\";s:37:\"Configure global CiviEvent behaviors.\";s:2:\"id\";s:26:\"CiviEventComponentSettings\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/setting/preferences/event&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:33:\"{weight}.Event Name Badge Layouts\";a:6:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:4:\"desc\";s:107:\"Configure name badge layouts for event participants, including logos and what data to include on the badge.\";s:2:\"id\";s:21:\"EventNameBadgeLayouts\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/badgelayout&action=browse&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Manage Events\";a:6:{s:5:\"title\";s:13:\"Manage Events\";s:4:\"desc\";s:136:\"Create and edit event configuration including times, locations, online registration forms, and fees. Links for iCal and RSS syndication.\";s:2:\"id\";s:12:\"ManageEvents\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/event&reset=1\";s:4:\"icon\";s:28:\"admin/small/event_manage.png\";s:5:\"extra\";N;}s:24:\"{weight}.Event Templates\";a:6:{s:5:\"title\";s:15:\"Event Templates\";s:4:\"desc\";s:115:\"Administrators can create Event Templates - which are basically master event records pre-filled with default values\";s:2:\"id\";s:14:\"EventTemplates\";s:3:\"url\";s:52:\"/index.php?q=civicrm/admin/eventTemplate&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:20:\"{weight}.Event Types\";a:6:{s:5:\"title\";s:11:\"Event Types\";s:4:\"desc\";s:143:\"Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.\";s:2:\"id\";s:10:\"EventTypes\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/event_type&reset=1\";s:4:\"icon\";s:26:\"admin/small/event_type.png\";s:5:\"extra\";N;}s:27:\"{weight}.Participant Status\";a:6:{s:5:\"title\";s:18:\"Participant Status\";s:4:\"desc\";s:154:\"Define statuses for event participants here (e.g. Registered, Attended, Cancelled...). You can then assign statuses and search for participants by status.\";s:2:\"id\";s:17:\"ParticipantStatus\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/participant_status&reset=1\";s:4:\"icon\";s:28:\"admin/small/parti_status.png\";s:5:\"extra\";N;}s:25:\"{weight}.Participant Role\";a:6:{s:5:\"title\";s:16:\"Participant Role\";s:4:\"desc\";s:138:\"Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.\";s:2:\"id\";s:15:\"ParticipantRole\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/participant_role&reset=1\";s:4:\"icon\";s:26:\"admin/small/parti_role.png\";s:5:\"extra\";N;}s:38:\"{weight}.Participant Listing Templates\";a:6:{s:5:\"title\";s:29:\"Participant Listing Templates\";s:4:\"desc\";s:48:\"Template to control participant listing display.\";s:2:\"id\";s:27:\"ParticipantListingTemplates\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/participant_listing&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Conference Slot Labels\";a:6:{s:5:\"title\";s:22:\"Conference Slot Labels\";s:4:\"desc\";s:35:\"Define conference slots and labels.\";s:2:\"id\";s:20:\"ConferenceSlotLabels\";s:3:\"url\";s:81:\"/index.php?q=civicrm/admin/conference_slots&group=conference_slot&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:5;}s:8:\"CiviMail\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:36:\"{weight}.CiviMail Component Settings\";a:6:{s:5:\"title\";s:27:\"CiviMail Component Settings\";s:4:\"desc\";s:36:\"Configure global CiviMail behaviors.\";s:2:\"id\";s:25:\"CiviMailComponentSettings\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/mailing&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Mailer Settings\";a:6:{s:5:\"title\";s:15:\"Mailer Settings\";s:4:\"desc\";s:61:\"Configure spool period, throttling and other mailer settings.\";s:2:\"id\";s:14:\"MailerSettings\";s:3:\"url\";s:43:\"/index.php?q=civicrm/admin/mail&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:49:\"{weight}.Headers, Footers, and Automated Messages\";a:6:{s:5:\"title\";s:40:\"Headers, Footers, and Automated Messages\";s:4:\"desc\";s:143:\"Configure the header and footer used for mailings. Customize the content of automated Subscribe, Unsubscribe, Resubscribe and Opt-out messages.\";s:2:\"id\";s:36:\"Headers_Footers_andAutomatedMessages\";s:3:\"url\";s:48:\"/index.php?q=civicrm/admin/component&reset=1\";s:4:\"icon\";s:23:\"admin/small/Profile.png\";s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:74:\"/index.php?q=civicrm/admin/options/from_email_address/civimail&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:22:\"{weight}.Mail Accounts\";a:6:{s:5:\"title\";s:13:\"Mail Accounts\";s:4:\"desc\";s:32:\"Configure email account setting.\";s:2:\"id\";s:12:\"MailAccounts\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/mailSettings&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:3;}s:10:\"CiviMember\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:38:\"{weight}.CiviMember Component Settings\";a:6:{s:5:\"title\";s:29:\"CiviMember Component Settings\";s:4:\"desc\";s:38:\"Configure global CiviMember behaviors.\";s:2:\"id\";s:27:\"CiviMemberComponentSettings\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/setting/preferences/member&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Membership Types\";a:6:{s:5:\"title\";s:16:\"Membership Types\";s:4:\"desc\";s:174:\"Define the types of memberships you want to offer. For each type, you can specify a \'name\' (Gold Member, Honor Society Member...), a description, duration, and a minimum fee.\";s:2:\"id\";s:15:\"MembershipTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/member/membershipType&reset=1\";s:4:\"icon\";s:31:\"admin/small/membership_type.png\";s:5:\"extra\";N;}s:32:\"{weight}.Membership Status Rules\";a:6:{s:5:\"title\";s:23:\"Membership Status Rules\";s:4:\"desc\";s:187:\"Status \'rules\' define the current status for a membership based on that membership\'s start and end dates. You can adjust the default status options and rules as needed to meet your needs.\";s:2:\"id\";s:21:\"MembershipStatusRules\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/member/membershipStatus&reset=1\";s:4:\"icon\";s:33:\"admin/small/membership_status.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:6:\"Manage\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:27:\"{weight}.Scheduled Jobs Log\";a:6:{s:5:\"title\";s:18:\"Scheduled Jobs Log\";s:4:\"desc\";s:46:\"Browsing the log of periodially running tasks.\";s:2:\"id\";s:16:\"ScheduledJobsLog\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/joblog&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:42:\"{weight}.Find and Merge Duplicate Contacts\";a:6:{s:5:\"title\";s:33:\"Find and Merge Duplicate Contacts\";s:4:\"desc\";s:158:\"Manage the rules used to identify potentially duplicate contact records. Scan for duplicates using a selected rule and merge duplicate contact data as needed.\";s:2:\"id\";s:29:\"FindandMergeDuplicateContacts\";s:3:\"url\";s:52:\"/index.php?q=civicrm/contact/deduperules&reset=1\";s:4:\"icon\";s:34:\"admin/small/duplicate_matching.png\";s:5:\"extra\";N;}s:26:\"{weight}.Dedupe Exceptions\";a:6:{s:5:\"title\";s:17:\"Dedupe Exceptions\";s:4:\"desc\";N;s:2:\"id\";s:16:\"DedupeExceptions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/dedupe/exception&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:12:\"Option Lists\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:20:\"{weight}.Grant Types\";a:6:{s:5:\"title\";s:11:\"Grant Types\";s:4:\"desc\";s:148:\"List of types which can be assigned to Grants. (Enable CiviGrant from Administer > Systme Settings > Enable Components if you want to track grants.)\";s:2:\"id\";s:10:\"GrantTypes\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/grant_type&reset=1\";s:4:\"icon\";s:26:\"admin/small/grant_type.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:9:\"Customize\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:19:\"{weight}.Price Sets\";a:6:{s:5:\"title\";s:10:\"Price Sets\";s:4:\"desc\";s:205:\"Price sets allow you to offer multiple options with associated fees (e.g. pre-conference workshops, additional meals, etc.). Configure Price Sets for events which need more than a single set of fee levels.\";s:2:\"id\";s:9:\"PriceSets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";s:4:\"icon\";s:26:\"admin/small/price_sets.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:14:\"CiviContribute\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:32:\"{weight}.Personal Campaign Pages\";a:6:{s:5:\"title\";s:23:\"Personal Campaign Pages\";s:4:\"desc\";s:49:\"View and manage existing personal campaign pages.\";s:2:\"id\";s:21:\"PersonalCampaignPages\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/pcp&context=contribute&reset=1\";s:4:\"icon\";s:34:\"admin/small/contribution_types.png\";s:5:\"extra\";N;}s:34:\"{weight}.Manage Contribution Pages\";a:6:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:4:\"desc\";s:242:\"CiviContribute allows you to create and maintain any number of Online Contribution Pages. You can create different pages for different programs or campaigns - and customize text, amounts, types of information collected from contributors, etc.\";s:2:\"id\";s:23:\"ManageContributionPages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";s:4:\"icon\";s:41:\"admin/small/online_contribution_pages.png\";s:5:\"extra\";N;}s:24:\"{weight}.Manage Premiums\";a:6:{s:5:\"title\";s:15:\"Manage Premiums\";s:4:\"desc\";s:175:\"CiviContribute allows you to configure any number of Premiums which can be offered to contributors as incentives / thank-you gifts. Define the premiums you want to offer here.\";s:2:\"id\";s:14:\"ManagePremiums\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/contribute/managePremiums&reset=1\";s:4:\"icon\";s:24:\"admin/small/Premiums.png\";s:5:\"extra\";N;}s:24:\"{weight}.Financial Types\";a:6:{s:5:\"title\";s:15:\"Financial Types\";s:4:\"desc\";s:64:\"Formerly civicrm_contribution_type merged into this table in 4.1\";s:2:\"id\";s:14:\"FinancialTypes\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/financial/financialType&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Financial Accounts\";a:6:{s:5:\"title\";s:18:\"Financial Accounts\";s:4:\"desc\";s:128:\"Financial types are used to categorize contributions for reporting and accounting purposes. These are also referred to as Funds.\";s:2:\"id\";s:17:\"FinancialAccounts\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/financial/financialAccount&reset=1\";s:4:\"icon\";s:34:\"admin/small/contribution_types.png\";s:5:\"extra\";N;}s:24:\"{weight}.Payment Methods\";a:6:{s:5:\"title\";s:15:\"Payment Methods\";s:4:\"desc\";s:224:\"You may choose to record the payment instrument used for each contribution. Common payment methods are installed by default (e.g. Check, Cash, Credit Card...). If your site requires additional payment methods, add them here.\";s:2:\"id\";s:14:\"PaymentMethods\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/payment_instrument&reset=1\";s:4:\"icon\";s:35:\"admin/small/payment_instruments.png\";s:5:\"extra\";N;}s:30:\"{weight}.Accepted Credit Cards\";a:6:{s:5:\"title\";s:21:\"Accepted Credit Cards\";s:4:\"desc\";s:94:\"Credit card options that will be offered to contributors using your Online Contribution pages.\";s:2:\"id\";s:19:\"AcceptedCreditCards\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/accept_creditcard&reset=1\";s:4:\"icon\";s:36:\"admin/small/accepted_creditcards.png\";s:5:\"extra\";N;}s:26:\"{weight}.Soft Credit Types\";a:6:{s:5:\"title\";s:17:\"Soft Credit Types\";s:4:\"desc\";s:86:\"Soft Credit Types that will be offered to contributors during soft credit contribution\";s:2:\"id\";s:15:\"SoftCreditTypes\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/soft_credit_type&reset=1\";s:4:\"icon\";s:32:\"admin/small/soft_credit_type.png\";s:5:\"extra\";N;}s:42:\"{weight}.CiviContribute Component Settings\";a:6:{s:5:\"title\";s:33:\"CiviContribute Component Settings\";s:4:\"desc\";s:42:\"Configure global CiviContribute behaviors.\";s:2:\"id\";s:31:\"CiviContributeComponentSettings\";s:3:\"url\";s:69:\"/index.php?q=civicrm/admin/setting/preferences/contribute&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:5;}s:8:\"CiviCase\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:4:{s:19:\"{weight}.Case Types\";a:6:{s:5:\"title\";s:10:\"Case Types\";s:4:\"desc\";s:137:\"List of types which can be assigned to Cases. (Enable the Cases tab from System Settings - Enable Components if you want to track cases.)\";s:2:\"id\";s:9:\"CaseTypes\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/case_type&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}s:24:\"{weight}.Redaction Rules\";a:6:{s:5:\"title\";s:15:\"Redaction Rules\";s:4:\"desc\";s:223:\"List of rules which can be applied to user input strings so that the redacted output can be recognized as repeated instances of the same string or can be identified as a \"semantic type of the data element\" within case data.\";s:2:\"id\";s:14:\"RedactionRules\";s:3:\"url\";s:61:\"/index.php?q=civicrm/admin/options/redaction_rule&reset=1\";s:4:\"icon\";s:30:\"admin/small/redaction_type.png\";s:5:\"extra\";N;}s:22:\"{weight}.Case Statuses\";a:6:{s:5:\"title\";s:13:\"Case Statuses\";s:4:\"desc\";s:48:\"List of statuses that can be assigned to a case.\";s:2:\"id\";s:12:\"CaseStatuses\";s:3:\"url\";s:58:\"/index.php?q=civicrm/admin/options/case_status&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}s:26:\"{weight}.Encounter Mediums\";a:6:{s:5:\"title\";s:17:\"Encounter Mediums\";s:4:\"desc\";s:26:\"List of encounter mediums.\";s:2:\"id\";s:16:\"EncounterMediums\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/encounter_medium&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:10:\"CiviReport\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:40:\"{weight}.Create New Report from Template\";a:6:{s:5:\"title\";s:31:\"Create New Report from Template\";s:4:\"desc\";s:49:\"Component wise listing of all available templates\";s:2:\"id\";s:27:\"CreateNewReportfromTemplate\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/report/template/list&reset=1\";s:4:\"icon\";s:31:\"admin/small/report_template.gif\";s:5:\"extra\";N;}s:25:\"{weight}.Manage Templates\";a:6:{s:5:\"title\";s:16:\"Manage Templates\";s:4:\"desc\";s:45:\"Browse, Edit and Delete the Report templates.\";s:2:\"id\";s:15:\"ManageTemplates\";s:3:\"url\";s:69:\"/index.php?q=civicrm/admin/report/options/report_template&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:24:\"{weight}.Reports Listing\";a:6:{s:5:\"title\";s:15:\"Reports Listing\";s:4:\"desc\";s:60:\"Browse existing report, change report criteria and settings.\";s:2:\"id\";s:14:\"ReportsListing\";s:3:\"url\";s:50:\"/index.php?q=civicrm/admin/report/list&reset=1\";s:4:\"icon\";s:27:\"admin/small/report_list.gif\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}}' ) + + UPDATE civicrm_setting SET value = 'JHlJpDoP' WHERE name='navigation' AND contact_id IS NOT NULL + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'navigation' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173508) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173508) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + UPDATE civicrm_dashboard_contact SET content = NULL + + +SELECT find_word,replace_word,is_active,match_type +FROM civicrm_word_replacement +WHERE domain_id = 1 + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT locale_custom_strings FROM civicrm_domain WHERE id = 1 + + UPDATE civicrm_domain SET locale_custom_strings = 'a:1:{s:5:\"en_US\";a:0:{}}' WHERE id = 1 + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'settings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173508) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173508) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'settings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173508) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173508) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + SELECT id, name, value, domain_id, contact_id, is_domain, component_id, created_date, created_id +FROM civicrm_setting +WHERE (domain_id = 1) AND (is_domain = 1) + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_all._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'all' , 'a:132:{s:32:\"address_standardization_provider\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:32:\"address_standardization_provider\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:33:\"Address Standardization Provider.\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:492:\"CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. \";}s:30:\"address_standardization_userid\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:30:\"address_standardization_userid\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Web service user ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:27:\"address_standardization_url\";a:13:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:27:\"address_standardization_url\";s:4:\"type\";s:4:\"Text\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Web Service URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:15:\"Web Service URL\";s:17:\"validate_callback\";s:19:\"CRM_Utils_Rule::url\";}s:15:\"tag_unconfirmed\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:15:\"tag_unconfirmed\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:11:\"Unconfirmed\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:36:\"Tag for Unconfirmed Petition Signers\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:17:\"petition_contacts\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:17:\"petition_contacts\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:17:\"Petition Contacts\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Petition Signers Group\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:23:\"cvv_backoffice_required\";a:12:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:23:\"cvv_backoffice_required\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:28:\"CVV required for backoffice?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"Is the CVV code required for back office credit card transactions\";s:9:\"help_text\";s:137:\"If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change\";}s:29:\"contribution_invoice_settings\";a:11:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:29:\"contribution_invoice_settings\";s:4:\"type\";s:5:\"Array\";s:7:\"default\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Contribution Invoice Settings\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_view_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_view_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_view_options\";}s:7:\"default\";s:28:\"123456789101113\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Viewing Contacts\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_edit_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_edit_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_edit_options\";}s:7:\"default\";s:37:\"123456789111214151617\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Editing Contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"advanced_search_options\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:4:\"name\";s:23:\"advanced_search_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:23:\"advanced_search_options\";}s:7:\"default\";s:46:\"123456789101112131516171819\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:22:\"user_dashboard_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:22:\"user_dashboard_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:22:\"user_dashboard_options\";}s:7:\"default\";s:15:\"1234578\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Contact Dashboard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"address_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"address_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:15:\"address_options\";}s:7:\"default\";s:23:\"123456891011\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Addressing Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"address_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"address_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:8:\"TextArea\";s:7:\"default\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Address Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"mailing_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"mailing_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Mailing Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"display_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"display_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Display Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"sort_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"sort_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Sort Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"editor_id\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"editor_id\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";s:8:\"CKEditor\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Wysiwig Editor\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:26:\"contact_ajax_check_similar\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:26:\"contact_ajax_check_similar\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Ajax Check Similar\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:17:\"ajaxPopupsEnabled\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"ajaxPopupsEnabled\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:19:\"Ajax Popups Enabled\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:30:\"activity_assignee_notification\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:30:\"activity_assignee_notification\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Notify Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:34:\"activity_assignee_notification_ics\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:34:\"activity_assignee_notification_ics\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:41:\"Include ICal Invite to Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:28:\"contact_autocomplete_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:28:\"contact_autocomplete_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:27:\"Autocomplete Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.\";s:9:\"help_text\";N;}s:25:\"contact_reference_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:25:\"contact_reference_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:57:\"CRM_Admin_Form_Setting_Search::getContactReferenceOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Contact Reference Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:508:\"Selected fields will be displayed in autocomplete dropdown search results for \'Contact Reference\' custom fields. Contact Name is always included. NOTE: You must assign \'access contact reference fields\' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the \'Limit List to Group\' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.\";s:9:\"help_text\";N;}s:27:\"contact_smart_group_display\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"contact_smart_group_display\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:5:\"radio\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Viewing Smart Groups\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"max_attachments\";a:15:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"max_attachments\";s:10:\"legacy_key\";s:14:\"maxAttachments\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Maximum Attachments\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Maximum number of files (documents, images, etc.) which can attached to emails or activities.\";s:9:\"help_text\";N;}s:11:\"maxFileSize\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"maxFileSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:25:\"Maximum File Size (in MB)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.\";s:9:\"help_text\";N;}s:16:\"contact_undelete\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"contact_undelete\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Contact Trash and Undelete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:200:\"If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).\";s:9:\"help_text\";N;}s:24:\"allowPermDeleteFinancial\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:24:\"allowPermDeleteFinancial\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:24:\"Contact Permanent Delete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:81:\"Allow Permanent Delete for contacts who are linked to live financial transactions\";s:9:\"help_text\";N;}s:12:\"versionCheck\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"versionCheck\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:31:\"Automatically Check for Updates\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:13:\"securityAlert\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:13:\"securityAlert\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:13:\"Status Alerts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:154:\"If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.\";s:9:\"help_text\";N;}s:21:\"doNotAttachPDFReceipt\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"doNotAttachPDFReceipt\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Attach PDF copy to receipts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:98:\"If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.\";s:9:\"help_text\";N;}s:15:\"wkhtmltopdfPath\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"wkhtmltopdfPath\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:256;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Path to wkhtmltopdf executable\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"recaptchaOptions\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"recaptchaOptions\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Recaptcha Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:256:\"You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.\";s:9:\"help_text\";N;}s:18:\"recaptchaPublicKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:18:\"recaptchaPublicKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Recaptcha Site Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"recaptchaPrivateKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"recaptchaPrivateKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Recaptcha Secret Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:21:\"dashboardCacheTimeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"dashboardCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:3;s:9:\"maxlength\";i:5;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Dashboard cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"checksum_timeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"checksum_timeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";i:7;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Checksum Lifespan\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"blogUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"blogUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:13:\"Blog Feed URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:38:\"Blog feed URL used by the blog dashlet\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:20:\"communityMessagesUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"communityMessagesUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Community Messages URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:44:\"Service providing CiviCRM community messages\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:17:\"gettingStartedUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"gettingStartedUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Getting Started URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:42:\"Service providing the Getting Started data\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:12:\"resCacheCode\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"resCacheCode\";s:4:\"type\";s:6:\"String\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:12:\"resCacheCode\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:62:\"Code appended to resource URLs (JS/CSS) to coerce HTTP caching\";s:9:\"help_text\";N;}s:9:\"verifySSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"verifySSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:11:\"Verify SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:92:\"If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections\";s:9:\"help_text\";s:140:\"Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes\";}s:9:\"enableSSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"enableSSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:10:\"Force SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";s:9:\"help_text\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";}s:10:\"wpBasePage\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:10:\"wpBasePage\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"WordPress Base Page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"If set, CiviCRM will use this setting as the base url.\";s:9:\"help_text\";s:177:\"By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.\";}s:23:\"secondDegRelPermissions\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"secondDegRelPermissions\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:44:\"Allow second-degree relationship permissions\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"If enabled, contacts with the permission to edit a related contact will inherit that contact\'s permission to edit other related contacts\";s:9:\"help_text\";N;}s:17:\"enable_components\";a:16:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"enable_components\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:14:\"advmultiselect\";s:15:\"html_attributes\";a:3:{s:4:\"size\";i:5;s:5:\"style\";s:11:\"width:150px\";s:5:\"class\";s:14:\"advmultiselect\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:17:\"Enable Components\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;s:9:\"on_change\";a:3:{i:0;s:33:\"CRM_Case_Info::onToggleComponents\";i:1;s:42:\"CRM_Core_Component::flushEnabledComponents\";i:2;s:31:\"call://resources/resetCacheCode\";}}s:16:\"disable_core_css\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"disable_core_css\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:19:\"Disable CiviCRM css\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:55:\"Prevent the stylesheet \"civicrm.css\" from being loaded.\";s:9:\"help_text\";N;}s:11:\"empoweredBy\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"empoweredBy\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"Display \"empowered by CiviCRM\"\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:80:\"When enabled, \"empowered by CiviCRM\" is displayed at the bottom of public forms.\";s:9:\"help_text\";N;}s:7:\"logging\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"logging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:9:\"html_type\";s:0:\"\";s:7:\"default\";s:1:\"0\";s:5:\"title\";s:7:\"Logging\";s:11:\"description\";s:73:\"If enabled, all actions will be logged with a complete record of changes.\";s:17:\"validate_callback\";s:39:\"CRM_Logging_Schema::checkLoggingSupport\";s:9:\"on_change\";a:1:{i:0;s:28:\"CRM_Logging_Schema::onToggle\";}}s:27:\"userFrameworkUsersTableName\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"userFrameworkUsersTableName\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:23:\"Drupal Users Table Name\";s:11:\"description\";s:0:\"\";}s:9:\"wpLoadPhp\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"wpLoadPhp\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:29:\"WordPress Path to wp-load.php\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"CiviCRM will use this setting as path to bootstrap WP.\";s:9:\"help_text\";N;}s:7:\"site_id\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"site_id\";s:4:\"type\";s:6:\"String\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:14:\"Unique Site ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"systemStatusCheckResult\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"systemStatusCheckResult\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:23:\"systemStatusCheckResult\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"userFrameworkLogging\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:20:\"userFrameworkLogging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Enable Drupal Watchdog Logging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:101:\"Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs\";s:9:\"help_text\";s:239:\"Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS\' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal\'s watchdog enabled)\";}s:13:\"debug_enabled\";a:13:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:13:\"debug_enabled\";s:10:\"config_key\";s:5:\"debug\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Enable Debugging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:130:\"Set this value to Yes if you want to use one of CiviCRM\'s debugging tools. This feature should NOT be enabled for production sites\";s:9:\"help_text\";s:39:\"Do not turn this on on production sites\";}s:9:\"backtrace\";a:11:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:9:\"backtrace\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Display Backtrace\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:155:\"Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites\";}s:17:\"fatalErrorHandler\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:17:\"fatalErrorHandler\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Fatal Error Handler\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.\";}s:9:\"uploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:9:\"uploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Temporary Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:90:\"File system path where temporary CiviCRM files - such as import data files - are uploaded.\";}s:14:\"imageUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:14:\"imageUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Image Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:147:\"File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).\";s:9:\"help_text\";N;}s:19:\"customFileUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:19:\"customFileUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Custom Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:195:\"Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.\";s:9:\"help_text\";N;}s:17:\"customTemplateDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:17:\"customTemplateDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Custom Template Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:207:\"Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)\";s:9:\"help_text\";N;}s:16:\"customPHPPathDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:16:\"customPHPPathDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Custom PHP Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:99:\"Path where site specific PHP code files are stored if any. This directory is searched first if set.\";s:9:\"help_text\";N;}s:13:\"extensionsDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:13:\"extensionsDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Extensions Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:41:\"Path where CiviCRM extensions are stored.\";s:9:\"help_text\";N;}s:11:\"enable_cart\";a:12:{s:4:\"name\";s:11:\"enable_cart\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Enable Event Cart\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:8:\"WRITE ME\";s:9:\"help_text\";s:8:\"WRITE ME\";}s:11:\"show_events\";a:13:{s:4:\"name\";s:11:\"show_events\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:17:\"Dashboard entries\";s:9:\"html_type\";s:6:\"select\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:107:\"Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.\";s:9:\"help_text\";N;}s:12:\"ext_repo_url\";a:14:{s:10:\"group_name\";s:21:\"Extension Preferences\";s:5:\"group\";s:3:\"ext\";s:4:\"name\";s:12:\"ext_repo_url\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Extension Repo URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";s:0:\"\";}s:23:\"customTranslateFunction\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:23:\"customTranslateFunction\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"30\";s:9:\"maxlength\";s:3:\"100\";}s:7:\"default\";N;s:5:\"title\";s:25:\"Custom Translate Function\";s:11:\"description\";s:0:\"\";}s:25:\"monetaryThousandSeparator\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:25:\"monetaryThousandSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\",\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Thousands Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"monetaryDecimalPoint\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:20:\"monetaryDecimalPoint\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Decimal Delimiter\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:11:\"moneyformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:11:\"moneyformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%c %a\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Monetary Amount Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"moneyvalueformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:16:\"moneyvalueformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:3:\"%!i\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Monetary Value Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"defaultCurrency\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"defaultCurrency\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:3:\"USD\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Currency\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"Default currency assigned to contributions and other monetary transactions.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:55:\"CRM_Admin_Form_Setting_Localization::getCurrencySymbols\";}}s:21:\"defaultContactCountry\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:21:\"defaultContactCountry\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:0:{}s:7:\"default\";s:4:\"1228\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:15:\"Default Country\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:27:\"defaultContactStateProvince\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:27:\"defaultContactStateProvince\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:11:\"ChainSelect\";s:9:\"html_type\";s:11:\"ChainSelect\";s:7:\"default\";N;s:5:\"title\";s:22:\"Default State/Province\";s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";}s:12:\"countryLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:12:\"countryLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Available Countries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"provinceLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"provinceLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Available States and Provinces\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"inheritLocale\";a:12:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"inheritLocale\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Inherit CMS Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:18:\"dateformatDatetime\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:18:\"dateformatDatetime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:20:\"%B %E%f, %Y %l:%M %P\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Date Format: Complete Date and Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatFull\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatFull\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:11:\"%B %E%f, %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Date Format: Complete Date\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:17:\"dateformatPartial\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:17:\"dateformatPartial\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%B %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Date Format: Month and Year\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatTime\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatTime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:8:\"%l:%M %P\";s:5:\"title\";s:22:\"Date Format: Time Only\";s:11:\"description\";s:0:\"\";}s:14:\"dateformatYear\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatYear\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:2:\"%Y\";s:5:\"title\";s:22:\"Date Format: Year Only\";s:11:\"description\";s:0:\"\";}s:15:\"dateInputFormat\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"dateInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:48:\"CRM_Core_SelectValues::getDatePluginInputFormats\";}s:7:\"default\";s:8:\"mm/dd/yy\";s:5:\"title\";s:17:\"Date Input Format\";s:11:\"description\";s:0:\"\";}s:14:\"fieldSeparator\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"fieldSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:1:\"2\";s:9:\"maxlength\";s:1:\"8\";}s:7:\"default\";s:1:\",\";s:5:\"title\";s:31:\"Import / Export Field Separator\";s:11:\"description\";s:144:\"Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).\";}s:15:\"fiscalYearStart\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"fiscalYearStart\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:8:\"MonthDay\";s:9:\"html_type\";s:8:\"MonthDay\";s:7:\"default\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:5:\"title\";s:17:\"Fiscal Year Start\";s:11:\"description\";s:0:\"\";}s:13:\"languageLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"languageLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Available Languages (Multi-lingual)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:24:\"CRM_Core_I18n::languages\";}}s:10:\"lcMessages\";a:16:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"lcMessages\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:5:\"en_US\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions\";}s:9:\"on_change\";a:1:{i:0;s:55:\"CRM_Admin_Form_Setting_Localization::onChangeLcMessages\";}}s:14:\"legacyEncoding\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"legacyEncoding\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"30\";}s:7:\"default\";s:12:\"Windows-1252\";s:5:\"title\";s:15:\"Legacy Encoding\";s:11:\"description\";s:184:\"If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.\";}s:15:\"timeInputFormat\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"timeInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:37:\"CRM_Core_SelectValues::getTimeFormats\";}s:7:\"default\";s:1:\"1\";s:5:\"title\";s:17:\"Time Input Format\";s:11:\"description\";s:0:\"\";s:9:\"on_change\";a:1:{i:0;s:45:\"CRM_Core_BAO_PreferencesDate::onChangeSetting\";}}s:10:\"weekBegins\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"weekBegins\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:35:\"CRM_Utils_Date::getFullWeekdayNames\";}s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"Week begins on\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:24:\"contact_default_language\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:24:\"contact_default_language\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:62:\"CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions\";}s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Default Language for contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"Default language (if any) for contact records\";s:9:\"help_text\";s:197:\"If a contact is created with no language this setting will determine the language data (if any) to save.You may or may not wish to make an assumption here about whether it matches the site language\";}s:20:\"profile_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"profile_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:22:\"track_civimail_replies\";a:13:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:22:\"track_civimail_replies\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:43:\"Track replies using VERP in Reply-To header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:78:\"If checked, mailings will default to tracking replies using VERP-ed Reply-To. \";s:9:\"help_text\";N;s:17:\"validate_callback\";s:41:\"CRM_Core_BAO_Setting::validateBoolSetting\";}s:17:\"civimail_workflow\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:17:\"civimail_workflow\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:21:\"Use CiviMail Workflow\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:25:\"civimail_server_wide_lock\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:25:\"civimail_server_wide_lock\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:39:\"Lock Mails Server-Wide for Mail Sending\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"replyTo\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:7:\"replyTo\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:22:\"Enable Custom Reply-To\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Allow CiviMail users to send mailings with a custom Reply-To header\";s:9:\"help_text\";N;}s:15:\"mailing_backend\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:15:\"mailing_backend\";s:4:\"type\";s:5:\"Array\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Mailing Backend\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:33:\"profile_add_to_group_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:33:\"profile_add_to_group_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:30:\"disable_mandatory_tokens_check\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:30:\"disable_mandatory_tokens_check\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:34:\"Disable check for mandatory tokens\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:345:\"Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.\";s:9:\"help_text\";N;}s:20:\"dedupe_email_default\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"dedupe_email_default\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:44:\"CiviMail dedupes e-mail addresses by default\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:79:\"Set the \"dedupe e-mail\" option when sending a new mailing to \"true\" by default.\";s:9:\"help_text\";N;}s:16:\"hash_mailing_url\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"hash_mailing_url\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:20:\"Hashed Mailing URL\'s\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:131:\"If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID\";s:9:\"help_text\";N;}s:29:\"civimail_multiple_bulk_emails\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:29:\"civimail_multiple_bulk_emails\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:21:\" Multiple Bulk Emails\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:96:\"If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.\";s:9:\"help_text\";N;}s:18:\"include_message_id\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:18:\"include_message_id\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:45:\"Enable CiviMail to generate Message-ID header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:16:\"mailerBatchLimit\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailerBatchLimit\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:18:\"Mailer Batch Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:110:\"Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).\";s:9:\"help_text\";N;}s:13:\"mailerJobSize\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:15:\"Mailer Job Size\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:365:\"If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter \"0\" to disable multi-threading and process mail as one single job - batch limits still apply.\";s:9:\"help_text\";N;}s:13:\"mailerJobsMax\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobsMax\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:21:\"Mailer Cron Job Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:127:\"The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)\";s:9:\"help_text\";N;}s:16:\"mailThrottleTime\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailThrottleTime\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Mailer Throttle Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:234:\"The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.\";s:9:\"help_text\";N;}s:13:\"verpSeparator\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"verpSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:32;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"VERP Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:106:\"Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.\";s:9:\"help_text\";N;}s:21:\"write_activity_record\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:21:\"write_activity_record\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:48:\"Enable CiviMail to create activities on delivery\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"geoAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"geoAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Geo Provider Key\";s:11:\"description\";s:101:\"Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).\";}s:11:\"geoProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"geoProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::geoProvider\";}s:7:\"default\";N;s:5:\"title\";s:18:\"Geocoding Provider\";s:11:\"description\";s:229:\"You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.\";}s:9:\"mapAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"mapAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Map Provider Key\";s:11:\"description\";s:238:\"Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.\";}s:11:\"mapProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"mapProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::mapProvider\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Mapping Provider\";s:11:\"description\";s:98:\"Choose the mapping provider that has the best coverage for the majority of your contact addresses.\";}s:33:\"default_renewal_contribution_page\";a:13:{s:10:\"group_name\";s:18:\"Member Preferences\";s:5:\"group\";s:6:\"member\";s:4:\"name\";s:33:\"default_renewal_contribution_page\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:14:\"pseudoconstant\";a:1:{s:4:\"name\";s:16:\"contributionPage\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:38:\"Default online membership renewal page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:348:\"If you select a default online contribution page for self-service membership renewals, a \"renew\" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.\";s:9:\"help_text\";N;}s:10:\"is_enabled\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:10:\"is_enabled\";s:5:\"title\";s:20:\"Multisite Is enabled\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:20:\"Multisite is enabled\";s:9:\"help_text\";N;}s:15:\"domain_group_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:15:\"domain_group_id\";s:5:\"title\";s:22:\"Multisite Domain Group\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:25:\"event_price_set_domain_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:25:\"event_price_set_domain_id\";s:5:\"title\";s:22:\"Domain Event Price Set\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:19:\"uniq_email_per_site\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:19:\"uniq_email_per_site\";s:4:\"type\";s:7:\"Integer\";s:5:\"title\";s:24:\"Unique Email per Domain?\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:25:\"search_autocomplete_count\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:25:\"search_autocomplete_count\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:2;}s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Autocomplete Results\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"The maximum number of contacts to show at a time when typing in an autocomplete field.\";s:9:\"help_text\";N;}s:17:\"enable_innodb_fts\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:17:\"enable_innodb_fts\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:23:\"InnoDB Full Text Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)\";s:9:\"help_text\";N;s:9:\"on_change\";a:1:{i:0;a:2:{i:0;s:22:\"CRM_Core_InnoDBIndexer\";i:1;s:11:\"onToggleFts\";}}}s:14:\"fts_query_mode\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:14:\"fts_query_mode\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:6:\"simple\";s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"How to handle full-tet queries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"includeOrderByClause\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:20:\"includeOrderByClause\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:23:\"Include Order By Clause\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:119:\"If disabled, the search results will not be ordered. This may improve response time on search results on large datasets\";s:9:\"help_text\";N;}s:21:\"includeWildCardInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeWildCardInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:18:\"Automatic Wildcard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:745:\"If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for \'ada\' will return any contact whose name includes those letters - e.g. \'Adams, Janet\', \'Nadal, Jorge\', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for \'ada\' will return any contact whose last name begins with those letters - e.g. \'Adams, Janet\' but NOT \'Nadal, Jorge\'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards (\'%\' or \'_\') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: \'%ada\' will return \'Nadal, Jorge\'.\";s:9:\"help_text\";N;}s:18:\"includeEmailInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:18:\"includeEmailInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:13:\"Include Email\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:299:\"If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.\";s:9:\"help_text\";N;}s:21:\"includeNickNameInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeNickNameInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:16:\"Include Nickname\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"If enabled, nicknames are automatically included when users search by Name.\";s:9:\"help_text\";N;}s:24:\"includeAlphabeticalPager\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:24:\"includeAlphabeticalPager\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:26:\"Include Alphabetical Pager\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:149:\"If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.\";s:9:\"help_text\";N;}s:22:\"smartGroupCacheTimeout\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"smartGroupCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";i:5;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:25:\"Smart group cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:249:\"The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.\";s:9:\"help_text\";N;}s:22:\"defaultSearchProfileID\";a:15:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"defaultSearchProfileID\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:51:\"CRM_Admin_Form_Setting_Search::getAvailableProfiles\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:30:\"Default Contact Search Profile\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"If set, this will be the default profile used for contact search.\";s:9:\"help_text\";N;}s:24:\"userFrameworkResourceURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:24:\"userFrameworkResourceURL\";s:5:\"title\";s:20:\"CiviCRM Resource URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"Absolute URL of the location where the civicrm module or component has been installed.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:14:\"imageUploadURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:16:\"Image Upload URL\";s:4:\"name\";s:14:\"imageUploadURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"URL of the location for uploaded image files.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:12:\"customCSSURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:12:\"customCSSURL\";s:5:\"title\";s:14:\"Custom CSS URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:270:\"You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:13:\"extensionsURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:22:\"Extension Resource URL\";s:4:\"name\";s:13:\"extensionsURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}}' , 20151201183508 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_all._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_settingsMetadata_1_._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'settingsMetadata_1_' , 'a:132:{s:32:\"address_standardization_provider\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:32:\"address_standardization_provider\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:33:\"Address Standardization Provider.\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:492:\"CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. \";}s:30:\"address_standardization_userid\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:30:\"address_standardization_userid\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Web service user ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:27:\"address_standardization_url\";a:13:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:27:\"address_standardization_url\";s:4:\"type\";s:4:\"Text\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Web Service URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:15:\"Web Service URL\";s:17:\"validate_callback\";s:19:\"CRM_Utils_Rule::url\";}s:15:\"tag_unconfirmed\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:15:\"tag_unconfirmed\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:11:\"Unconfirmed\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:36:\"Tag for Unconfirmed Petition Signers\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:17:\"petition_contacts\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:17:\"petition_contacts\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:17:\"Petition Contacts\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Petition Signers Group\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:23:\"cvv_backoffice_required\";a:12:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:23:\"cvv_backoffice_required\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:28:\"CVV required for backoffice?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"Is the CVV code required for back office credit card transactions\";s:9:\"help_text\";s:137:\"If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change\";}s:29:\"contribution_invoice_settings\";a:11:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:29:\"contribution_invoice_settings\";s:4:\"type\";s:5:\"Array\";s:7:\"default\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Contribution Invoice Settings\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_view_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_view_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_view_options\";}s:7:\"default\";s:28:\"123456789101113\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Viewing Contacts\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_edit_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_edit_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_edit_options\";}s:7:\"default\";s:37:\"123456789111214151617\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Editing Contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"advanced_search_options\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:4:\"name\";s:23:\"advanced_search_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:23:\"advanced_search_options\";}s:7:\"default\";s:46:\"123456789101112131516171819\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:22:\"user_dashboard_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:22:\"user_dashboard_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:22:\"user_dashboard_options\";}s:7:\"default\";s:15:\"1234578\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Contact Dashboard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"address_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"address_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:15:\"address_options\";}s:7:\"default\";s:23:\"123456891011\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Addressing Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"address_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"address_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:8:\"TextArea\";s:7:\"default\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Address Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"mailing_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"mailing_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Mailing Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"display_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"display_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Display Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"sort_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"sort_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Sort Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"editor_id\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"editor_id\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";s:8:\"CKEditor\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Wysiwig Editor\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:26:\"contact_ajax_check_similar\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:26:\"contact_ajax_check_similar\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Ajax Check Similar\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:17:\"ajaxPopupsEnabled\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"ajaxPopupsEnabled\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:19:\"Ajax Popups Enabled\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:30:\"activity_assignee_notification\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:30:\"activity_assignee_notification\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Notify Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:34:\"activity_assignee_notification_ics\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:34:\"activity_assignee_notification_ics\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:41:\"Include ICal Invite to Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:28:\"contact_autocomplete_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:28:\"contact_autocomplete_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:27:\"Autocomplete Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.\";s:9:\"help_text\";N;}s:25:\"contact_reference_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:25:\"contact_reference_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:57:\"CRM_Admin_Form_Setting_Search::getContactReferenceOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Contact Reference Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:508:\"Selected fields will be displayed in autocomplete dropdown search results for \'Contact Reference\' custom fields. Contact Name is always included. NOTE: You must assign \'access contact reference fields\' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the \'Limit List to Group\' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.\";s:9:\"help_text\";N;}s:27:\"contact_smart_group_display\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"contact_smart_group_display\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:5:\"radio\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Viewing Smart Groups\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"max_attachments\";a:15:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"max_attachments\";s:10:\"legacy_key\";s:14:\"maxAttachments\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Maximum Attachments\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Maximum number of files (documents, images, etc.) which can attached to emails or activities.\";s:9:\"help_text\";N;}s:11:\"maxFileSize\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"maxFileSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:25:\"Maximum File Size (in MB)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.\";s:9:\"help_text\";N;}s:16:\"contact_undelete\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"contact_undelete\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Contact Trash and Undelete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:200:\"If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).\";s:9:\"help_text\";N;}s:24:\"allowPermDeleteFinancial\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:24:\"allowPermDeleteFinancial\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:24:\"Contact Permanent Delete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:81:\"Allow Permanent Delete for contacts who are linked to live financial transactions\";s:9:\"help_text\";N;}s:12:\"versionCheck\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"versionCheck\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:31:\"Automatically Check for Updates\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:13:\"securityAlert\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:13:\"securityAlert\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:13:\"Status Alerts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:154:\"If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.\";s:9:\"help_text\";N;}s:21:\"doNotAttachPDFReceipt\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"doNotAttachPDFReceipt\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Attach PDF copy to receipts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:98:\"If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.\";s:9:\"help_text\";N;}s:15:\"wkhtmltopdfPath\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"wkhtmltopdfPath\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:256;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Path to wkhtmltopdf executable\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"recaptchaOptions\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"recaptchaOptions\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Recaptcha Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:256:\"You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.\";s:9:\"help_text\";N;}s:18:\"recaptchaPublicKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:18:\"recaptchaPublicKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Recaptcha Site Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"recaptchaPrivateKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"recaptchaPrivateKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Recaptcha Secret Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:21:\"dashboardCacheTimeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"dashboardCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:3;s:9:\"maxlength\";i:5;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Dashboard cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"checksum_timeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"checksum_timeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";i:7;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Checksum Lifespan\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"blogUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"blogUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:13:\"Blog Feed URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:38:\"Blog feed URL used by the blog dashlet\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:20:\"communityMessagesUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"communityMessagesUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Community Messages URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:44:\"Service providing CiviCRM community messages\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:17:\"gettingStartedUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"gettingStartedUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Getting Started URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:42:\"Service providing the Getting Started data\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:12:\"resCacheCode\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"resCacheCode\";s:4:\"type\";s:6:\"String\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:12:\"resCacheCode\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:62:\"Code appended to resource URLs (JS/CSS) to coerce HTTP caching\";s:9:\"help_text\";N;}s:9:\"verifySSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"verifySSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:11:\"Verify SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:92:\"If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections\";s:9:\"help_text\";s:140:\"Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes\";}s:9:\"enableSSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"enableSSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:10:\"Force SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";s:9:\"help_text\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";}s:10:\"wpBasePage\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:10:\"wpBasePage\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"WordPress Base Page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"If set, CiviCRM will use this setting as the base url.\";s:9:\"help_text\";s:177:\"By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.\";}s:23:\"secondDegRelPermissions\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"secondDegRelPermissions\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:44:\"Allow second-degree relationship permissions\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"If enabled, contacts with the permission to edit a related contact will inherit that contact\'s permission to edit other related contacts\";s:9:\"help_text\";N;}s:17:\"enable_components\";a:16:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"enable_components\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:14:\"advmultiselect\";s:15:\"html_attributes\";a:3:{s:4:\"size\";i:5;s:5:\"style\";s:11:\"width:150px\";s:5:\"class\";s:14:\"advmultiselect\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:17:\"Enable Components\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;s:9:\"on_change\";a:3:{i:0;s:33:\"CRM_Case_Info::onToggleComponents\";i:1;s:42:\"CRM_Core_Component::flushEnabledComponents\";i:2;s:31:\"call://resources/resetCacheCode\";}}s:16:\"disable_core_css\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"disable_core_css\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:19:\"Disable CiviCRM css\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:55:\"Prevent the stylesheet \"civicrm.css\" from being loaded.\";s:9:\"help_text\";N;}s:11:\"empoweredBy\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"empoweredBy\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"Display \"empowered by CiviCRM\"\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:80:\"When enabled, \"empowered by CiviCRM\" is displayed at the bottom of public forms.\";s:9:\"help_text\";N;}s:7:\"logging\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"logging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:9:\"html_type\";s:0:\"\";s:7:\"default\";s:1:\"0\";s:5:\"title\";s:7:\"Logging\";s:11:\"description\";s:73:\"If enabled, all actions will be logged with a complete record of changes.\";s:17:\"validate_callback\";s:39:\"CRM_Logging_Schema::checkLoggingSupport\";s:9:\"on_change\";a:1:{i:0;s:28:\"CRM_Logging_Schema::onToggle\";}}s:27:\"userFrameworkUsersTableName\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"userFrameworkUsersTableName\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:23:\"Drupal Users Table Name\";s:11:\"description\";s:0:\"\";}s:9:\"wpLoadPhp\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"wpLoadPhp\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:29:\"WordPress Path to wp-load.php\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"CiviCRM will use this setting as path to bootstrap WP.\";s:9:\"help_text\";N;}s:7:\"site_id\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"site_id\";s:4:\"type\";s:6:\"String\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:14:\"Unique Site ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"systemStatusCheckResult\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"systemStatusCheckResult\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:23:\"systemStatusCheckResult\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"userFrameworkLogging\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:20:\"userFrameworkLogging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Enable Drupal Watchdog Logging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:101:\"Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs\";s:9:\"help_text\";s:239:\"Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS\' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal\'s watchdog enabled)\";}s:13:\"debug_enabled\";a:13:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:13:\"debug_enabled\";s:10:\"config_key\";s:5:\"debug\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Enable Debugging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:130:\"Set this value to Yes if you want to use one of CiviCRM\'s debugging tools. This feature should NOT be enabled for production sites\";s:9:\"help_text\";s:39:\"Do not turn this on on production sites\";}s:9:\"backtrace\";a:11:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:9:\"backtrace\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Display Backtrace\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:155:\"Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites\";}s:17:\"fatalErrorHandler\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:17:\"fatalErrorHandler\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Fatal Error Handler\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.\";}s:9:\"uploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:9:\"uploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Temporary Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:90:\"File system path where temporary CiviCRM files - such as import data files - are uploaded.\";}s:14:\"imageUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:14:\"imageUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Image Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:147:\"File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).\";s:9:\"help_text\";N;}s:19:\"customFileUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:19:\"customFileUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Custom Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:195:\"Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.\";s:9:\"help_text\";N;}s:17:\"customTemplateDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:17:\"customTemplateDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Custom Template Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:207:\"Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)\";s:9:\"help_text\";N;}s:16:\"customPHPPathDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:16:\"customPHPPathDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Custom PHP Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:99:\"Path where site specific PHP code files are stored if any. This directory is searched first if set.\";s:9:\"help_text\";N;}s:13:\"extensionsDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:13:\"extensionsDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Extensions Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:41:\"Path where CiviCRM extensions are stored.\";s:9:\"help_text\";N;}s:11:\"enable_cart\";a:12:{s:4:\"name\";s:11:\"enable_cart\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Enable Event Cart\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:8:\"WRITE ME\";s:9:\"help_text\";s:8:\"WRITE ME\";}s:11:\"show_events\";a:13:{s:4:\"name\";s:11:\"show_events\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:17:\"Dashboard entries\";s:9:\"html_type\";s:6:\"select\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:107:\"Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.\";s:9:\"help_text\";N;}s:12:\"ext_repo_url\";a:14:{s:10:\"group_name\";s:21:\"Extension Preferences\";s:5:\"group\";s:3:\"ext\";s:4:\"name\";s:12:\"ext_repo_url\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Extension Repo URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";s:0:\"\";}s:23:\"customTranslateFunction\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:23:\"customTranslateFunction\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"30\";s:9:\"maxlength\";s:3:\"100\";}s:7:\"default\";N;s:5:\"title\";s:25:\"Custom Translate Function\";s:11:\"description\";s:0:\"\";}s:25:\"monetaryThousandSeparator\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:25:\"monetaryThousandSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\",\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Thousands Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"monetaryDecimalPoint\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:20:\"monetaryDecimalPoint\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Decimal Delimiter\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:11:\"moneyformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:11:\"moneyformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%c %a\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Monetary Amount Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"moneyvalueformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:16:\"moneyvalueformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:3:\"%!i\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Monetary Value Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"defaultCurrency\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"defaultCurrency\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:3:\"USD\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Currency\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"Default currency assigned to contributions and other monetary transactions.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:55:\"CRM_Admin_Form_Setting_Localization::getCurrencySymbols\";}}s:21:\"defaultContactCountry\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:21:\"defaultContactCountry\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:0:{}s:7:\"default\";s:4:\"1228\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:15:\"Default Country\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:27:\"defaultContactStateProvince\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:27:\"defaultContactStateProvince\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:11:\"ChainSelect\";s:9:\"html_type\";s:11:\"ChainSelect\";s:7:\"default\";N;s:5:\"title\";s:22:\"Default State/Province\";s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";}s:12:\"countryLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:12:\"countryLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Available Countries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"provinceLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"provinceLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Available States and Provinces\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"inheritLocale\";a:12:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"inheritLocale\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Inherit CMS Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:18:\"dateformatDatetime\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:18:\"dateformatDatetime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:20:\"%B %E%f, %Y %l:%M %P\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Date Format: Complete Date and Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatFull\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatFull\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:11:\"%B %E%f, %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Date Format: Complete Date\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:17:\"dateformatPartial\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:17:\"dateformatPartial\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%B %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Date Format: Month and Year\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatTime\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatTime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:8:\"%l:%M %P\";s:5:\"title\";s:22:\"Date Format: Time Only\";s:11:\"description\";s:0:\"\";}s:14:\"dateformatYear\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatYear\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:2:\"%Y\";s:5:\"title\";s:22:\"Date Format: Year Only\";s:11:\"description\";s:0:\"\";}s:15:\"dateInputFormat\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"dateInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:48:\"CRM_Core_SelectValues::getDatePluginInputFormats\";}s:7:\"default\";s:8:\"mm/dd/yy\";s:5:\"title\";s:17:\"Date Input Format\";s:11:\"description\";s:0:\"\";}s:14:\"fieldSeparator\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"fieldSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:1:\"2\";s:9:\"maxlength\";s:1:\"8\";}s:7:\"default\";s:1:\",\";s:5:\"title\";s:31:\"Import / Export Field Separator\";s:11:\"description\";s:144:\"Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).\";}s:15:\"fiscalYearStart\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"fiscalYearStart\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:8:\"MonthDay\";s:9:\"html_type\";s:8:\"MonthDay\";s:7:\"default\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:5:\"title\";s:17:\"Fiscal Year Start\";s:11:\"description\";s:0:\"\";}s:13:\"languageLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"languageLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Available Languages (Multi-lingual)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:24:\"CRM_Core_I18n::languages\";}}s:10:\"lcMessages\";a:16:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"lcMessages\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:5:\"en_US\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions\";}s:9:\"on_change\";a:1:{i:0;s:55:\"CRM_Admin_Form_Setting_Localization::onChangeLcMessages\";}}s:14:\"legacyEncoding\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"legacyEncoding\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"30\";}s:7:\"default\";s:12:\"Windows-1252\";s:5:\"title\";s:15:\"Legacy Encoding\";s:11:\"description\";s:184:\"If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.\";}s:15:\"timeInputFormat\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"timeInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:37:\"CRM_Core_SelectValues::getTimeFormats\";}s:7:\"default\";s:1:\"1\";s:5:\"title\";s:17:\"Time Input Format\";s:11:\"description\";s:0:\"\";s:9:\"on_change\";a:1:{i:0;s:45:\"CRM_Core_BAO_PreferencesDate::onChangeSetting\";}}s:10:\"weekBegins\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"weekBegins\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:35:\"CRM_Utils_Date::getFullWeekdayNames\";}s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"Week begins on\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:24:\"contact_default_language\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:24:\"contact_default_language\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:62:\"CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions\";}s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Default Language for contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"Default language (if any) for contact records\";s:9:\"help_text\";s:197:\"If a contact is created with no language this setting will determine the language data (if any) to save.You may or may not wish to make an assumption here about whether it matches the site language\";}s:20:\"profile_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"profile_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:22:\"track_civimail_replies\";a:13:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:22:\"track_civimail_replies\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:43:\"Track replies using VERP in Reply-To header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:78:\"If checked, mailings will default to tracking replies using VERP-ed Reply-To. \";s:9:\"help_text\";N;s:17:\"validate_callback\";s:41:\"CRM_Core_BAO_Setting::validateBoolSetting\";}s:17:\"civimail_workflow\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:17:\"civimail_workflow\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:21:\"Use CiviMail Workflow\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:25:\"civimail_server_wide_lock\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:25:\"civimail_server_wide_lock\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:39:\"Lock Mails Server-Wide for Mail Sending\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"replyTo\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:7:\"replyTo\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:22:\"Enable Custom Reply-To\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Allow CiviMail users to send mailings with a custom Reply-To header\";s:9:\"help_text\";N;}s:15:\"mailing_backend\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:15:\"mailing_backend\";s:4:\"type\";s:5:\"Array\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Mailing Backend\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:33:\"profile_add_to_group_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:33:\"profile_add_to_group_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:30:\"disable_mandatory_tokens_check\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:30:\"disable_mandatory_tokens_check\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:34:\"Disable check for mandatory tokens\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:345:\"Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.\";s:9:\"help_text\";N;}s:20:\"dedupe_email_default\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"dedupe_email_default\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:44:\"CiviMail dedupes e-mail addresses by default\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:79:\"Set the \"dedupe e-mail\" option when sending a new mailing to \"true\" by default.\";s:9:\"help_text\";N;}s:16:\"hash_mailing_url\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"hash_mailing_url\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:20:\"Hashed Mailing URL\'s\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:131:\"If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID\";s:9:\"help_text\";N;}s:29:\"civimail_multiple_bulk_emails\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:29:\"civimail_multiple_bulk_emails\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:21:\" Multiple Bulk Emails\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:96:\"If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.\";s:9:\"help_text\";N;}s:18:\"include_message_id\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:18:\"include_message_id\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:45:\"Enable CiviMail to generate Message-ID header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:16:\"mailerBatchLimit\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailerBatchLimit\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:18:\"Mailer Batch Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:110:\"Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).\";s:9:\"help_text\";N;}s:13:\"mailerJobSize\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:15:\"Mailer Job Size\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:365:\"If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter \"0\" to disable multi-threading and process mail as one single job - batch limits still apply.\";s:9:\"help_text\";N;}s:13:\"mailerJobsMax\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobsMax\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:21:\"Mailer Cron Job Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:127:\"The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)\";s:9:\"help_text\";N;}s:16:\"mailThrottleTime\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailThrottleTime\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Mailer Throttle Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:234:\"The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.\";s:9:\"help_text\";N;}s:13:\"verpSeparator\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"verpSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:32;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"VERP Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:106:\"Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.\";s:9:\"help_text\";N;}s:21:\"write_activity_record\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:21:\"write_activity_record\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:48:\"Enable CiviMail to create activities on delivery\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"geoAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"geoAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Geo Provider Key\";s:11:\"description\";s:101:\"Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).\";}s:11:\"geoProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"geoProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::geoProvider\";}s:7:\"default\";N;s:5:\"title\";s:18:\"Geocoding Provider\";s:11:\"description\";s:229:\"You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.\";}s:9:\"mapAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"mapAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Map Provider Key\";s:11:\"description\";s:238:\"Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.\";}s:11:\"mapProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"mapProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::mapProvider\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Mapping Provider\";s:11:\"description\";s:98:\"Choose the mapping provider that has the best coverage for the majority of your contact addresses.\";}s:33:\"default_renewal_contribution_page\";a:13:{s:10:\"group_name\";s:18:\"Member Preferences\";s:5:\"group\";s:6:\"member\";s:4:\"name\";s:33:\"default_renewal_contribution_page\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:14:\"pseudoconstant\";a:1:{s:4:\"name\";s:16:\"contributionPage\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:38:\"Default online membership renewal page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:348:\"If you select a default online contribution page for self-service membership renewals, a \"renew\" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.\";s:9:\"help_text\";N;}s:10:\"is_enabled\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:10:\"is_enabled\";s:5:\"title\";s:20:\"Multisite Is enabled\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:20:\"Multisite is enabled\";s:9:\"help_text\";N;}s:15:\"domain_group_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:15:\"domain_group_id\";s:5:\"title\";s:22:\"Multisite Domain Group\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:25:\"event_price_set_domain_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:25:\"event_price_set_domain_id\";s:5:\"title\";s:22:\"Domain Event Price Set\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:19:\"uniq_email_per_site\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:19:\"uniq_email_per_site\";s:4:\"type\";s:7:\"Integer\";s:5:\"title\";s:24:\"Unique Email per Domain?\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:25:\"search_autocomplete_count\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:25:\"search_autocomplete_count\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:2;}s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Autocomplete Results\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"The maximum number of contacts to show at a time when typing in an autocomplete field.\";s:9:\"help_text\";N;}s:17:\"enable_innodb_fts\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:17:\"enable_innodb_fts\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:23:\"InnoDB Full Text Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)\";s:9:\"help_text\";N;s:9:\"on_change\";a:1:{i:0;a:2:{i:0;s:22:\"CRM_Core_InnoDBIndexer\";i:1;s:11:\"onToggleFts\";}}}s:14:\"fts_query_mode\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:14:\"fts_query_mode\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:6:\"simple\";s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"How to handle full-tet queries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"includeOrderByClause\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:20:\"includeOrderByClause\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:23:\"Include Order By Clause\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:119:\"If disabled, the search results will not be ordered. This may improve response time on search results on large datasets\";s:9:\"help_text\";N;}s:21:\"includeWildCardInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeWildCardInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:18:\"Automatic Wildcard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:745:\"If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for \'ada\' will return any contact whose name includes those letters - e.g. \'Adams, Janet\', \'Nadal, Jorge\', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for \'ada\' will return any contact whose last name begins with those letters - e.g. \'Adams, Janet\' but NOT \'Nadal, Jorge\'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards (\'%\' or \'_\') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: \'%ada\' will return \'Nadal, Jorge\'.\";s:9:\"help_text\";N;}s:18:\"includeEmailInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:18:\"includeEmailInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:13:\"Include Email\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:299:\"If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.\";s:9:\"help_text\";N;}s:21:\"includeNickNameInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeNickNameInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:16:\"Include Nickname\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"If enabled, nicknames are automatically included when users search by Name.\";s:9:\"help_text\";N;}s:24:\"includeAlphabeticalPager\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:24:\"includeAlphabeticalPager\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:26:\"Include Alphabetical Pager\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:149:\"If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.\";s:9:\"help_text\";N;}s:22:\"smartGroupCacheTimeout\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"smartGroupCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";i:5;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:25:\"Smart group cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:249:\"The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.\";s:9:\"help_text\";N;}s:22:\"defaultSearchProfileID\";a:15:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"defaultSearchProfileID\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:51:\"CRM_Admin_Form_Setting_Search::getAvailableProfiles\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:30:\"Default Contact Search Profile\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"If set, this will be the default profile used for contact search.\";s:9:\"help_text\";N;}s:24:\"userFrameworkResourceURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:24:\"userFrameworkResourceURL\";s:5:\"title\";s:20:\"CiviCRM Resource URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"Absolute URL of the location where the civicrm module or component has been installed.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:14:\"imageUploadURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:16:\"Image Upload URL\";s:4:\"name\";s:14:\"imageUploadURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"URL of the location for uploaded image files.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:12:\"customCSSURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:12:\"customCSSURL\";s:5:\"title\";s:14:\"Custom CSS URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:270:\"You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:13:\"extensionsURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:22:\"Extension Resource URL\";s:4:\"name\";s:13:\"extensionsURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}}' , 20151201183508 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_settingsMetadata_1_._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_defaults:domain._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'defaults:domain' , 'a:133:{s:32:\"address_standardization_provider\";N;s:30:\"address_standardization_userid\";N;s:27:\"address_standardization_url\";N;s:15:\"tag_unconfirmed\";s:11:\"Unconfirmed\";s:17:\"petition_contacts\";s:17:\"Petition Contacts\";s:23:\"cvv_backoffice_required\";s:1:\"1\";s:29:\"contribution_invoice_settings\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:20:\"contact_view_options\";s:28:\"123456789101113\";s:20:\"contact_edit_options\";s:37:\"123456789111214151617\";s:23:\"advanced_search_options\";s:46:\"123456789101112131516171819\";s:22:\"user_dashboard_options\";s:15:\"1234578\";s:15:\"address_options\";s:23:\"123456891011\";s:14:\"address_format\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:14:\"mailing_format\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:19:\"display_name_format\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:16:\"sort_name_format\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:9:\"editor_id\";s:8:\"CKEditor\";s:26:\"contact_ajax_check_similar\";s:1:\"1\";s:17:\"ajaxPopupsEnabled\";i:1;s:30:\"activity_assignee_notification\";s:1:\"1\";s:34:\"activity_assignee_notification_ics\";s:1:\"0\";s:28:\"contact_autocomplete_options\";s:5:\"12\";s:25:\"contact_reference_options\";s:5:\"12\";s:27:\"contact_smart_group_display\";s:1:\"1\";s:15:\"max_attachments\";i:3;s:11:\"maxFileSize\";i:3;s:16:\"contact_undelete\";i:1;s:24:\"allowPermDeleteFinancial\";b:0;s:12:\"versionCheck\";i:1;s:13:\"securityAlert\";i:1;s:21:\"doNotAttachPDFReceipt\";i:0;s:15:\"wkhtmltopdfPath\";N;s:16:\"recaptchaOptions\";N;s:18:\"recaptchaPublicKey\";N;s:19:\"recaptchaPrivateKey\";N;s:21:\"dashboardCacheTimeout\";N;s:16:\"checksum_timeout\";i:7;s:7:\"blogUrl\";s:9:\"*default*\";s:20:\"communityMessagesUrl\";s:9:\"*default*\";s:17:\"gettingStartedUrl\";s:9:\"*default*\";s:12:\"resCacheCode\";N;s:9:\"verifySSL\";i:1;s:9:\"enableSSL\";i:0;s:10:\"wpBasePage\";s:0:\"\";s:23:\"secondDegRelPermissions\";i:0;s:17:\"enable_components\";a:6:{i:0;s:9:\"CiviEvent\";i:1;s:14:\"CiviContribute\";i:2;s:10:\"CiviMember\";i:3;s:8:\"CiviMail\";i:4;s:10:\"CiviReport\";i:5;s:10:\"CiviPledge\";}s:16:\"disable_core_css\";s:1:\"0\";s:11:\"empoweredBy\";i:1;s:7:\"logging\";s:1:\"0\";s:27:\"userFrameworkUsersTableName\";N;s:9:\"wpLoadPhp\";s:0:\"\";s:7:\"site_id\";s:0:\"\";s:23:\"systemStatusCheckResult\";i:0;s:20:\"userFrameworkLogging\";s:1:\"0\";s:13:\"debug_enabled\";s:1:\"0\";s:9:\"backtrace\";s:1:\"0\";s:17:\"fatalErrorHandler\";N;s:9:\"uploadDir\";s:23:\"[civicrm.files]/upload/\";s:14:\"imageUploadDir\";s:35:\"[civicrm.files]/persist/contribute/\";s:19:\"customFileUploadDir\";s:23:\"[civicrm.files]/custom/\";s:17:\"customTemplateDir\";N;s:16:\"customPHPPathDir\";N;s:13:\"extensionsDir\";s:20:\"[civicrm.files]/ext/\";s:11:\"enable_cart\";s:1:\"0\";s:11:\"show_events\";i:10;s:12:\"ext_repo_url\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:23:\"customTranslateFunction\";N;s:25:\"monetaryThousandSeparator\";s:1:\",\";s:20:\"monetaryDecimalPoint\";s:1:\".\";s:11:\"moneyformat\";s:5:\"%c %a\";s:16:\"moneyvalueformat\";s:3:\"%!i\";s:15:\"defaultCurrency\";s:3:\"USD\";s:21:\"defaultContactCountry\";s:4:\"1228\";s:27:\"defaultContactStateProvince\";N;s:12:\"countryLimit\";a:1:{i:0;s:4:\"1228\";}s:13:\"provinceLimit\";a:1:{i:0;s:4:\"1228\";}s:13:\"inheritLocale\";s:1:\"0\";s:18:\"dateformatDatetime\";s:20:\"%B %E%f, %Y %l:%M %P\";s:14:\"dateformatFull\";s:11:\"%B %E%f, %Y\";s:17:\"dateformatPartial\";s:5:\"%B %Y\";s:14:\"dateformatTime\";s:8:\"%l:%M %P\";s:14:\"dateformatYear\";s:2:\"%Y\";s:15:\"dateInputFormat\";s:8:\"mm/dd/yy\";s:14:\"fieldSeparator\";s:1:\",\";s:15:\"fiscalYearStart\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:13:\"languageLimit\";N;s:10:\"lcMessages\";s:5:\"en_US\";s:14:\"legacyEncoding\";s:12:\"Windows-1252\";s:15:\"timeInputFormat\";s:1:\"1\";s:10:\"weekBegins\";s:1:\"0\";s:24:\"contact_default_language\";s:9:\"*default*\";s:20:\"profile_double_optin\";s:1:\"1\";s:22:\"track_civimail_replies\";s:1:\"0\";s:17:\"civimail_workflow\";s:1:\"0\";s:25:\"civimail_server_wide_lock\";s:1:\"0\";s:7:\"replyTo\";i:0;s:15:\"mailing_backend\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:33:\"profile_add_to_group_double_optin\";s:1:\"0\";s:30:\"disable_mandatory_tokens_check\";i:0;s:20:\"dedupe_email_default\";i:1;s:16:\"hash_mailing_url\";i:0;s:29:\"civimail_multiple_bulk_emails\";i:0;s:18:\"include_message_id\";b:0;s:16:\"mailerBatchLimit\";i:0;s:13:\"mailerJobSize\";i:0;s:13:\"mailerJobsMax\";i:0;s:16:\"mailThrottleTime\";i:0;s:13:\"verpSeparator\";s:1:\".\";s:21:\"write_activity_record\";s:1:\"1\";s:9:\"geoAPIKey\";N;s:11:\"geoProvider\";N;s:9:\"mapAPIKey\";N;s:11:\"mapProvider\";N;s:33:\"default_renewal_contribution_page\";N;s:10:\"is_enabled\";s:1:\"0\";s:15:\"domain_group_id\";s:1:\"0\";s:25:\"event_price_set_domain_id\";s:1:\"0\";s:19:\"uniq_email_per_site\";s:1:\"0\";s:25:\"search_autocomplete_count\";i:10;s:17:\"enable_innodb_fts\";i:0;s:14:\"fts_query_mode\";s:6:\"simple\";s:20:\"includeOrderByClause\";i:1;s:21:\"includeWildCardInName\";i:1;s:18:\"includeEmailInName\";i:1;s:21:\"includeNickNameInName\";i:0;s:24:\"includeAlphabeticalPager\";i:1;s:22:\"smartGroupCacheTimeout\";i:5;s:22:\"defaultSearchProfileID\";N;s:24:\"userFrameworkResourceURL\";s:15:\"[civicrm.root]/\";s:14:\"imageUploadURL\";s:35:\"[civicrm.files]/persist/contribute/\";s:12:\"customCSSURL\";N;s:13:\"extensionsURL\";s:20:\"[civicrm.files]/ext/\";s:12:\"resourceBase\";s:15:\"[civicrm.root]/\";}' , 20151201183508 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_defaults:domain._' ) + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'resCacheCode' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + INSERT INTO civicrm_setting (name , value , domain_id , is_domain , created_date ) VALUES ('resCacheCode' , 's:5:\"86Ju5\";' , 1 , 1 , 20151201063508 ) + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'js_strings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173508) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173508) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'resCacheCode' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + UPDATE civicrm_setting SET name = 'resCacheCode' , value = 's:5:\"X8naK\";' , domain_id = 1 , is_domain = 1 , created_date = 20151201063508 WHERE ( civicrm_setting.id = 1 ) + + SELECT version + FROM civicrm_domain + + WHERE ( civicrm_domain.id = 1 ) + + + + + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_setting' + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'civicrm_%' + + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'log_civicrm_%' + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT * + FROM civicrm_custom_group + + WHERE ( extends IN ( 'Contact','Individual','Household','Organization' ) ) AND ( civicrm_custom_group.is_multiple = 0 ) + + + + + + DROP FUNCTION IF EXISTS civicrm_strip_non_numeric + + + CREATE FUNCTION civicrm_strip_non_numeric(input VARCHAR(255) CHARACTER SET utf8) + RETURNS VARCHAR(255) CHARACTER SET utf8 + DETERMINISTIC + NO SQL + BEGIN + DECLARE output VARCHAR(255) CHARACTER SET utf8 DEFAULT ''; + DECLARE iterator INT DEFAULT 1; + WHILE iterator < (LENGTH(input) + 1) DO + IF SUBSTRING(input, iterator, 1) IN ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9') THEN + SET output = CONCAT(output, SUBSTRING(input, iterator, 1)); + END IF; + SET iterator = iterator + 1; + END WHILE; + RETURN output; + END + + DROP TRIGGER IF EXISTS civicrm_acl_before_insert + + DROP TRIGGER IF EXISTS civicrm_acl_before_update + + DROP TRIGGER IF EXISTS civicrm_acl_before_delete + + DROP TRIGGER IF EXISTS civicrm_acl_after_insert + + DROP TRIGGER IF EXISTS civicrm_acl_after_update + + DROP TRIGGER IF EXISTS civicrm_acl_after_delete + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_insert + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_update + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_delete + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_insert + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_update + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_delete + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_insert + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_update + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_delete + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_insert + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_update + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_delete + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_insert + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_update + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_delete + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_insert + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_update + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_delete + + DROP TRIGGER IF EXISTS civicrm_activity_before_insert + + DROP TRIGGER IF EXISTS civicrm_activity_before_update + + DROP TRIGGER IF EXISTS civicrm_activity_before_delete + + DROP TRIGGER IF EXISTS civicrm_activity_after_insert + + DROP TRIGGER IF EXISTS civicrm_activity_after_update + + DROP TRIGGER IF EXISTS civicrm_activity_after_delete + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_address_before_insert + + DROP TRIGGER IF EXISTS civicrm_address_before_update + + DROP TRIGGER IF EXISTS civicrm_address_before_delete + + DROP TRIGGER IF EXISTS civicrm_address_after_insert + + DROP TRIGGER IF EXISTS civicrm_address_after_update + + DROP TRIGGER IF EXISTS civicrm_address_after_delete + + DROP TRIGGER IF EXISTS civicrm_address_format_before_insert + + DROP TRIGGER IF EXISTS civicrm_address_format_before_update + + DROP TRIGGER IF EXISTS civicrm_address_format_before_delete + + DROP TRIGGER IF EXISTS civicrm_address_format_after_insert + + DROP TRIGGER IF EXISTS civicrm_address_format_after_update + + DROP TRIGGER IF EXISTS civicrm_address_format_after_delete + + DROP TRIGGER IF EXISTS civicrm_batch_before_insert + + DROP TRIGGER IF EXISTS civicrm_batch_before_update + + DROP TRIGGER IF EXISTS civicrm_batch_before_delete + + DROP TRIGGER IF EXISTS civicrm_batch_after_insert + + DROP TRIGGER IF EXISTS civicrm_batch_after_update + + DROP TRIGGER IF EXISTS civicrm_batch_after_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_before_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_before_update + + DROP TRIGGER IF EXISTS civicrm_campaign_before_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_after_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_after_update + + DROP TRIGGER IF EXISTS civicrm_campaign_after_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_update + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_update + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_before_update + + DROP TRIGGER IF EXISTS civicrm_case_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_after_update + + DROP TRIGGER IF EXISTS civicrm_case_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_update + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_update + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_type_before_update + + DROP TRIGGER IF EXISTS civicrm_case_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_type_after_update + + DROP TRIGGER IF EXISTS civicrm_case_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_component_before_insert + + DROP TRIGGER IF EXISTS civicrm_component_before_update + + DROP TRIGGER IF EXISTS civicrm_component_before_delete + + DROP TRIGGER IF EXISTS civicrm_component_after_insert + + DROP TRIGGER IF EXISTS civicrm_component_after_update + + DROP TRIGGER IF EXISTS civicrm_component_after_delete + + DROP TRIGGER IF EXISTS civicrm_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_update + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_update + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_delete + + DROP TRIGGER IF EXISTS civicrm_country_before_insert + + DROP TRIGGER IF EXISTS civicrm_country_before_update + + DROP TRIGGER IF EXISTS civicrm_country_before_delete + + DROP TRIGGER IF EXISTS civicrm_country_after_insert + + DROP TRIGGER IF EXISTS civicrm_country_after_update + + DROP TRIGGER IF EXISTS civicrm_country_after_delete + + DROP TRIGGER IF EXISTS civicrm_county_before_insert + + DROP TRIGGER IF EXISTS civicrm_county_before_update + + DROP TRIGGER IF EXISTS civicrm_county_before_delete + + DROP TRIGGER IF EXISTS civicrm_county_after_insert + + DROP TRIGGER IF EXISTS civicrm_county_after_update + + DROP TRIGGER IF EXISTS civicrm_county_after_delete + + DROP TRIGGER IF EXISTS civicrm_currency_before_insert + + DROP TRIGGER IF EXISTS civicrm_currency_before_update + + DROP TRIGGER IF EXISTS civicrm_currency_before_delete + + DROP TRIGGER IF EXISTS civicrm_currency_after_insert + + DROP TRIGGER IF EXISTS civicrm_currency_after_update + + DROP TRIGGER IF EXISTS civicrm_currency_after_delete + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_update + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_update + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_update + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_update + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_cxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_cxn_before_update + + DROP TRIGGER IF EXISTS civicrm_cxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_cxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_cxn_after_update + + DROP TRIGGER IF EXISTS civicrm_cxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_discount_before_insert + + DROP TRIGGER IF EXISTS civicrm_discount_before_update + + DROP TRIGGER IF EXISTS civicrm_discount_before_delete + + DROP TRIGGER IF EXISTS civicrm_discount_after_insert + + DROP TRIGGER IF EXISTS civicrm_discount_after_update + + DROP TRIGGER IF EXISTS civicrm_discount_after_delete + + DROP TRIGGER IF EXISTS civicrm_domain_before_insert + + DROP TRIGGER IF EXISTS civicrm_domain_before_update + + DROP TRIGGER IF EXISTS civicrm_domain_before_delete + + DROP TRIGGER IF EXISTS civicrm_domain_after_insert + + DROP TRIGGER IF EXISTS civicrm_domain_after_update + + DROP TRIGGER IF EXISTS civicrm_domain_after_delete + + DROP TRIGGER IF EXISTS civicrm_email_before_insert + + DROP TRIGGER IF EXISTS civicrm_email_before_update + + DROP TRIGGER IF EXISTS civicrm_email_before_delete + + DROP TRIGGER IF EXISTS civicrm_email_after_insert + + DROP TRIGGER IF EXISTS civicrm_email_after_update + + DROP TRIGGER IF EXISTS civicrm_email_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_delete + + DROP TRIGGER IF EXISTS civicrm_event_before_insert + + DROP TRIGGER IF EXISTS civicrm_event_before_update + + DROP TRIGGER IF EXISTS civicrm_event_before_delete + + DROP TRIGGER IF EXISTS civicrm_event_after_insert + + DROP TRIGGER IF EXISTS civicrm_event_after_update + + DROP TRIGGER IF EXISTS civicrm_event_after_delete + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_insert + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_update + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_delete + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_insert + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_update + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_delete + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_insert + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_update + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_delete + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_insert + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_update + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_delete + + DROP TRIGGER IF EXISTS civicrm_extension_before_insert + + DROP TRIGGER IF EXISTS civicrm_extension_before_update + + DROP TRIGGER IF EXISTS civicrm_extension_before_delete + + DROP TRIGGER IF EXISTS civicrm_extension_after_insert + + DROP TRIGGER IF EXISTS civicrm_extension_after_update + + DROP TRIGGER IF EXISTS civicrm_extension_after_delete + + DROP TRIGGER IF EXISTS civicrm_file_before_insert + + DROP TRIGGER IF EXISTS civicrm_file_before_update + + DROP TRIGGER IF EXISTS civicrm_file_before_delete + + DROP TRIGGER IF EXISTS civicrm_file_after_insert + + DROP TRIGGER IF EXISTS civicrm_file_after_update + + DROP TRIGGER IF EXISTS civicrm_file_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_grant_before_insert + + DROP TRIGGER IF EXISTS civicrm_grant_before_update + + DROP TRIGGER IF EXISTS civicrm_grant_before_delete + + DROP TRIGGER IF EXISTS civicrm_grant_after_insert + + DROP TRIGGER IF EXISTS civicrm_grant_after_update + + DROP TRIGGER IF EXISTS civicrm_grant_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_before_update + + DROP TRIGGER IF EXISTS civicrm_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_after_update + + DROP TRIGGER IF EXISTS civicrm_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_update + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_update + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_update + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_update + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_delete + + DROP TRIGGER IF EXISTS civicrm_im_before_insert + + DROP TRIGGER IF EXISTS civicrm_im_before_update + + DROP TRIGGER IF EXISTS civicrm_im_before_delete + + DROP TRIGGER IF EXISTS civicrm_im_after_insert + + DROP TRIGGER IF EXISTS civicrm_im_after_update + + DROP TRIGGER IF EXISTS civicrm_im_after_delete + + DROP TRIGGER IF EXISTS civicrm_job_before_insert + + DROP TRIGGER IF EXISTS civicrm_job_before_update + + DROP TRIGGER IF EXISTS civicrm_job_before_delete + + DROP TRIGGER IF EXISTS civicrm_job_after_insert + + DROP TRIGGER IF EXISTS civicrm_job_after_update + + DROP TRIGGER IF EXISTS civicrm_job_after_delete + + DROP TRIGGER IF EXISTS civicrm_line_item_before_insert + + DROP TRIGGER IF EXISTS civicrm_line_item_before_update + + DROP TRIGGER IF EXISTS civicrm_line_item_before_delete + + DROP TRIGGER IF EXISTS civicrm_line_item_after_insert + + DROP TRIGGER IF EXISTS civicrm_line_item_after_update + + DROP TRIGGER IF EXISTS civicrm_line_item_after_delete + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_update + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_update + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_location_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_location_type_before_update + + DROP TRIGGER IF EXISTS civicrm_location_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_location_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_location_type_after_update + + DROP TRIGGER IF EXISTS civicrm_location_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_insert + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_update + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_delete + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_insert + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_update + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_delete + + DROP TRIGGER IF EXISTS civicrm_managed_before_insert + + DROP TRIGGER IF EXISTS civicrm_managed_before_update + + DROP TRIGGER IF EXISTS civicrm_managed_before_delete + + DROP TRIGGER IF EXISTS civicrm_managed_after_insert + + DROP TRIGGER IF EXISTS civicrm_managed_after_update + + DROP TRIGGER IF EXISTS civicrm_managed_after_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_before_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_before_update + + DROP TRIGGER IF EXISTS civicrm_mapping_before_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_after_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_after_update + + DROP TRIGGER IF EXISTS civicrm_mapping_after_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_update + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_update + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_insert + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_update + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_delete + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_insert + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_update + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_delete + + DROP TRIGGER IF EXISTS civicrm_navigation_before_insert + + DROP TRIGGER IF EXISTS civicrm_navigation_before_update + + DROP TRIGGER IF EXISTS civicrm_navigation_before_delete + + DROP TRIGGER IF EXISTS civicrm_navigation_after_insert + + DROP TRIGGER IF EXISTS civicrm_navigation_after_update + + DROP TRIGGER IF EXISTS civicrm_navigation_after_delete + + DROP TRIGGER IF EXISTS civicrm_note_before_insert + + DROP TRIGGER IF EXISTS civicrm_note_before_update + + DROP TRIGGER IF EXISTS civicrm_note_before_delete + + DROP TRIGGER IF EXISTS civicrm_note_after_insert + + DROP TRIGGER IF EXISTS civicrm_note_after_update + + DROP TRIGGER IF EXISTS civicrm_note_after_delete + + DROP TRIGGER IF EXISTS civicrm_openid_before_insert + + DROP TRIGGER IF EXISTS civicrm_openid_before_update + + DROP TRIGGER IF EXISTS civicrm_openid_before_delete + + DROP TRIGGER IF EXISTS civicrm_openid_after_insert + + DROP TRIGGER IF EXISTS civicrm_openid_after_update + + DROP TRIGGER IF EXISTS civicrm_openid_after_delete + + DROP TRIGGER IF EXISTS civicrm_option_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_option_group_before_update + + DROP TRIGGER IF EXISTS civicrm_option_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_option_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_option_group_after_update + + DROP TRIGGER IF EXISTS civicrm_option_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_option_value_before_insert + + DROP TRIGGER IF EXISTS civicrm_option_value_before_update + + DROP TRIGGER IF EXISTS civicrm_option_value_before_delete + + DROP TRIGGER IF EXISTS civicrm_option_value_after_insert + + DROP TRIGGER IF EXISTS civicrm_option_value_after_update + + DROP TRIGGER IF EXISTS civicrm_option_value_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_before_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_before_update + + DROP TRIGGER IF EXISTS civicrm_pcp_before_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_after_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_after_update + + DROP TRIGGER IF EXISTS civicrm_pcp_after_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_update + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_update + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_persistent_before_insert + + DROP TRIGGER IF EXISTS civicrm_persistent_before_update + + DROP TRIGGER IF EXISTS civicrm_persistent_before_delete + + DROP TRIGGER IF EXISTS civicrm_persistent_after_insert + + DROP TRIGGER IF EXISTS civicrm_persistent_after_update + + DROP TRIGGER IF EXISTS civicrm_persistent_after_delete + + DROP TRIGGER IF EXISTS civicrm_phone_before_insert + + DROP TRIGGER IF EXISTS civicrm_phone_before_update + + DROP TRIGGER IF EXISTS civicrm_phone_before_delete + + DROP TRIGGER IF EXISTS civicrm_phone_after_insert + + DROP TRIGGER IF EXISTS civicrm_phone_after_update + + DROP TRIGGER IF EXISTS civicrm_phone_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_insert + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_update + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_delete + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_insert + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_update + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_before_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_before_update + + DROP TRIGGER IF EXISTS civicrm_premiums_before_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_after_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_after_update + + DROP TRIGGER IF EXISTS civicrm_premiums_after_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_update + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_update + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_before_update + + DROP TRIGGER IF EXISTS civicrm_price_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_after_update + + DROP TRIGGER IF EXISTS civicrm_price_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_update + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_update + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_before_update + + DROP TRIGGER IF EXISTS civicrm_price_set_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_after_update + + DROP TRIGGER IF EXISTS civicrm_price_set_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_update + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_update + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_delete + + DROP TRIGGER IF EXISTS civicrm_print_label_before_insert + + DROP TRIGGER IF EXISTS civicrm_print_label_before_update + + DROP TRIGGER IF EXISTS civicrm_print_label_before_delete + + DROP TRIGGER IF EXISTS civicrm_print_label_after_insert + + DROP TRIGGER IF EXISTS civicrm_print_label_after_update + + DROP TRIGGER IF EXISTS civicrm_print_label_after_delete + + DROP TRIGGER IF EXISTS civicrm_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_product_before_update + + DROP TRIGGER IF EXISTS civicrm_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_product_after_update + + DROP TRIGGER IF EXISTS civicrm_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_insert + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_update + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_delete + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_insert + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_update + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_before_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_before_update + + DROP TRIGGER IF EXISTS civicrm_relationship_before_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_after_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_after_update + + DROP TRIGGER IF EXISTS civicrm_relationship_after_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_update + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_update + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_insert + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_update + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_delete + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_insert + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_update + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_delete + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_insert + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_update + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_delete + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_insert + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_update + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_delete + + DROP TRIGGER IF EXISTS civicrm_setting_before_insert + + DROP TRIGGER IF EXISTS civicrm_setting_before_update + + DROP TRIGGER IF EXISTS civicrm_setting_before_delete + + DROP TRIGGER IF EXISTS civicrm_setting_after_insert + + DROP TRIGGER IF EXISTS civicrm_setting_after_update + + DROP TRIGGER IF EXISTS civicrm_setting_after_delete + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_insert + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_update + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_delete + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_insert + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_update + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_delete + + DROP TRIGGER IF EXISTS civicrm_state_province_before_insert + + DROP TRIGGER IF EXISTS civicrm_state_province_before_update + + DROP TRIGGER IF EXISTS civicrm_state_province_before_delete + + DROP TRIGGER IF EXISTS civicrm_state_province_after_insert + + DROP TRIGGER IF EXISTS civicrm_state_province_after_update + + DROP TRIGGER IF EXISTS civicrm_state_province_after_delete + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_insert + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_update + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_delete + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_insert + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_update + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_delete + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_insert + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_update + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_delete + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_insert + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_update + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_delete + + DROP TRIGGER IF EXISTS civicrm_survey_before_insert + + DROP TRIGGER IF EXISTS civicrm_survey_before_update + + DROP TRIGGER IF EXISTS civicrm_survey_before_delete + + DROP TRIGGER IF EXISTS civicrm_survey_after_insert + + DROP TRIGGER IF EXISTS civicrm_survey_after_update + + DROP TRIGGER IF EXISTS civicrm_survey_after_delete + + DROP TRIGGER IF EXISTS civicrm_tag_before_insert + + DROP TRIGGER IF EXISTS civicrm_tag_before_update + + DROP TRIGGER IF EXISTS civicrm_tag_before_delete + + DROP TRIGGER IF EXISTS civicrm_tag_after_insert + + DROP TRIGGER IF EXISTS civicrm_tag_after_update + + DROP TRIGGER IF EXISTS civicrm_tag_after_delete + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_insert + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_update + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_delete + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_insert + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_update + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_delete + + DROP TRIGGER IF EXISTS civicrm_timezone_before_insert + + DROP TRIGGER IF EXISTS civicrm_timezone_before_update + + DROP TRIGGER IF EXISTS civicrm_timezone_before_delete + + DROP TRIGGER IF EXISTS civicrm_timezone_after_insert + + DROP TRIGGER IF EXISTS civicrm_timezone_after_update + + DROP TRIGGER IF EXISTS civicrm_timezone_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_delete + + DROP TRIGGER IF EXISTS civicrm_website_before_insert + + DROP TRIGGER IF EXISTS civicrm_website_before_update + + DROP TRIGGER IF EXISTS civicrm_website_before_delete + + DROP TRIGGER IF EXISTS civicrm_website_after_insert + + DROP TRIGGER IF EXISTS civicrm_website_after_update + + DROP TRIGGER IF EXISTS civicrm_website_after_delete + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_insert + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_update + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_delete + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_insert + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_update + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_delete + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_insert + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_update + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_delete + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_insert + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_update + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_delete + + SHOW TRIGGERS LIKE 'civicrm_%' + + DROP TRIGGER IF EXISTS civicrm_contact_before_insert + + CREATE TRIGGER civicrm_contact_before_insert before insert ON civicrm_contact FOR EACH ROW BEGIN +SET NEW.created_date = CURRENT_TIMESTAMP; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_insert + + CREATE TRIGGER civicrm_address_after_insert after insert ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_update + + CREATE TRIGGER civicrm_address_after_update after update ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_delete + + CREATE TRIGGER civicrm_address_after_delete after delete ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_insert + + CREATE TRIGGER civicrm_email_after_insert after insert ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_update + + CREATE TRIGGER civicrm_email_after_update after update ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_delete + + CREATE TRIGGER civicrm_email_after_delete after delete ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_insert + + CREATE TRIGGER civicrm_im_after_insert after insert ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_update + + CREATE TRIGGER civicrm_im_after_update after update ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_delete + + CREATE TRIGGER civicrm_im_after_delete after delete ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_insert + + CREATE TRIGGER civicrm_phone_after_insert after insert ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_before_insert + + CREATE TRIGGER civicrm_phone_before_insert before insert ON civicrm_phone FOR EACH ROW BEGIN +SET NEW.phone_numeric = civicrm_strip_non_numeric(NEW.phone); + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_update + + CREATE TRIGGER civicrm_phone_after_update after update ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_before_update + + CREATE TRIGGER civicrm_phone_before_update before update ON civicrm_phone FOR EACH ROW BEGIN +SET NEW.phone_numeric = civicrm_strip_non_numeric(NEW.phone); + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_delete + + CREATE TRIGGER civicrm_phone_after_delete after delete ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_insert + + CREATE TRIGGER civicrm_website_after_insert after insert ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_update + + CREATE TRIGGER civicrm_website_after_update after update ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_delete + + CREATE TRIGGER civicrm_website_after_delete after delete ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + SELECT * + FROM civicrm_managed + + WHERE ( civicrm_managed.module = 'civicrm' ) + + + + + + SELECT * + FROM civicrm_managed + + WHERE ( module NOT IN ("civicrm") ) + + + + + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'enable_components' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'resCacheCode' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + UPDATE civicrm_setting SET name = 'resCacheCode' , value = 's:5:\"mMn2S\";' , domain_id = 1 , is_domain = 1 , created_date = 20151201063509 WHERE ( civicrm_setting.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_setting' + + INSERT INTO civicrm_setting (name , value , domain_id , is_domain , created_date ) VALUES ('enable_components' , 'a:6:{i:0;s:9:\"CiviEvent\";i:1;s:14:\"CiviContribute\";i:2;s:10:\"CiviMember\";i:3;s:8:\"CiviMail\";i:4;s:10:\"CiviReport\";i:5;s:10:\"CiviPledge\";}' , 1 , 1 , 20151201063509 ) +. +Installing dmastertes_s0xef database + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173510) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173510) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + + SELECT full_name, file + FROM civicrm_extension + WHERE is_active = 1 + AND type = "module" + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) AND ( civicrm_cache.path = 'mapper/moduleFiles' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('4ae609f4c5da3b0980c7327dbc5f7dae' , 'mapper/moduleFiles' , 'a:0:{}' , 20151201183510 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._' ) + + SELECT * + FROM civicrm_extension + + WHERE ( civicrm_extension.type = 'module' ) + + + + + + TRUNCATE TABLE civicrm_acl_cache + + TRUNCATE TABLE civicrm_acl_contact_cache + + TRUNCATE TABLE civicrm_cache + + TRUNCATE TABLE civicrm_prevnext_cache + + UPDATE civicrm_group SET cache_date = NULL + + TRUNCATE TABLE civicrm_group_contact_cache + + TRUNCATE TABLE civicrm_menu + + UPDATE civicrm_setting SET value = NULL WHERE name="navigation" AND contact_id IS NOT NULL + + DELETE FROM civicrm_setting WHERE name="modulePaths" + + + SELECT TABLE_NAME as tableName + FROM INFORMATION_SCHEMA.TABLES + WHERE TABLE_SCHEMA = 'dmastertes_s0xef' + AND ( + TABLE_NAME LIKE 'civicrm_import_job_%' + OR TABLE_NAME LIKE 'civicrm_export_temp%' + OR TABLE_NAME LIKE 'civicrm_task_action_temp%' + OR TABLE_NAME LIKE 'civicrm_report_temp%' + ) + + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173510) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + TRUNCATE civicrm_menu + + SELECT * + FROM civicrm_component + + + + + + + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity' , 'action=add&context=standalone' , 'New Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Activity_Form_Activity\";' , 's:14:\"attachUpload=1\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/view' , 'View Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Form_ActivityView\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:15:\"getCaseActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/globalrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/globalrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseGlobalRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/clientrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/clientrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseClientRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/caseroles' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/caseroles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:12:\"getCaseRoles\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactactivity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactactivity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:18:\"getContactActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/activity/convert' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/activity/convert' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:21:\"convertToCaseActivity\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/search' , 'Find Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Controller_Search\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group' , 'Custom Data' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Page_Group\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/custom/group/field' , 'Custom Data Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 11 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/option' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/option' , 'Custom Field - Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Custom_Page_Option\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/add' , 'Custom Field - Add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/update' , 'Custom Field - Edit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Custom_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/move' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/move' , 'Custom Field - Move' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Custom_Form_MoveField\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/custom/group/field/changetype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/custom/group/field/changetype' , 'Custom Field - Change Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Custom_Form_ChangeFieldType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group' , 'Profiles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Page_Group\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/uf/group/field' , 'CiviCRM Profile Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 21 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/field/add' , 'Add Field' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 22 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/field/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/field/update' , 'Edit Field' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 23 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/add' , 'New CiviCRM Profile' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Group\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 24 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/update' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/update' , 'Profile Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:17:\"CRM_UF_Form_Group\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 25 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/uf/group/setting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/uf/group/setting' , 'AdditionalInfo Form' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_UF_Form_AdvanceSetting\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tag' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/tag' , 'Tags (Categories)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Tag\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 25 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tag/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tag/add' , 'action=add' , 'New Tag' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Tag\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Tags (Categories)\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/tag&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/activity_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/activity_type' , 'Activity Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/reltype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/reltype' , 'Relationship Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_RelationshipType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 35 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/subtype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/subtype' , 'Contact Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Page_ContactType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/gender' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/gender' , 'Gender Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 45 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/individual_prefix' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/individual_prefix' , 'Individual Prefixes (Ms, Mr...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/individual_suffix' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/individual_suffix' , 'Individual Suffixes (Jr, Sr...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 55 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/locationType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/locationType' , 'Location Types (Home, Work...)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_LocationType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/website_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/website_type' , 'Website Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 65 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/instant_messenger_service' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/instant_messenger_service' , 'Instant Messenger Services' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/mobile_provider' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/mobile_provider' , 'Mobile Phone Providers' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 75 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/phone_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/phone_type' , 'Phone Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/display' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/display' , 'Display Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Display\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/search' , 'Search Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Form_Setting_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 95 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/date' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/date' , 'View Date Preferences' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Admin_Page_PreferencesDate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/menu' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/menu' , 'Navigation Menu' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Navigation\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/wordreplacements' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/wordreplacements' , 'Word Replacements' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Form_WordReplacements\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/custom_search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/custom_search' , 'Manage Custom Searches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/domain' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/domain' , 'action=update' , 'Organization Address and Contact Info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Contact_Form_Domain\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/from_email_address' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/from_email_address' , 'From Email Addresses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/messageTemplates' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/messageTemplates' , 'Message Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:22:\"edit message templates\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_MessageTemplates\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/messageTemplates/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/messageTemplates/add' , 'Message Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:22:\"edit message templates\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Form_MessageTemplates\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Message Templates\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/messageTemplates&reset=1\";}}' , 1 , 262 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/scheduleReminders' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/scheduleReminders' , 'Schedule Reminders' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:15:\"edit all events\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Admin_Page_ScheduleReminders\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/weight' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/weight' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_Weight\";i:1;s:8:\"fixOrder\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/preferred_communication_method' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/preferred_communication_method' , 'Preferred Communication Methods' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/labelFormats' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/labelFormats' , 'Label Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_LabelFormats\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/pdfFormats' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/pdfFormats' , 'Print Page (PDF) Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_PdfFormats\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/communication_style' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/communication_style' , 'Communication Style Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 75 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/email_greeting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/email_greeting' , 'Email Greeting Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/postal_greeting' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/postal_greeting' , 'Postal Greeting Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/addressee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/addressee' , 'Addressee Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/localization' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/localization' , 'Languages, Currency, Locations' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Form_Setting_Localization\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/address' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/address' , 'Address Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Address\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/date' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/date' , 'Date Formats' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Date\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/languages' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/languages' , 'Preferred Languages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/access' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/access' , 'Access Control' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Admin_Page_Access\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/access/wp-permissions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/access/wp-permissions' , 'WordPress Access Control' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_ACL_Form_WordPress_Permissions\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Access Control\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/access&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/synchUser' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/synchUser' , 'Synchronize Users to Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Form_CMSUser\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/configtask' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , return_url , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/configtask' , 'Configuration Checklist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Page_ConfigTaskList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 'civicrm/admin/configtask' , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/component' , 'Enable CiviCRM Components' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Setting_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/extensions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/extensions' , 'Manage Extensions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Extensions\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 120 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/extensions/upgrade' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/extensions/upgrade' , 'Database Upgrades' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Page_ExtensionsUpgrade\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Manage Extensions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/extensions&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/smtp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/smtp' , 'Outbound Email Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Smtp\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 20 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/paymentProcessor' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/paymentProcessor' , 'Payment Processor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Admin_Page_PaymentProcessor\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 30 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/mapping' , 'Mapping and Geocoding' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Admin_Form_Setting_Mapping\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 40 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/misc' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/misc' , 'Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Form_Setting_Miscellaneous\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 50 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/path' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/path' , 'Directories' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Path\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 60 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/url' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/url' , 'Resource URLs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Form_Setting_Url\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 70 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/updateConfigBackend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/updateConfigBackend' , 'Cleanup Caches and Update Paths' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:42:\"CRM_Admin_Form_Setting_UpdateConfigBackend\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 80 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/uf' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/uf' , 'CMS Database Integration' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Form_Setting_UF\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 90 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/safe_file_extension' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/safe_file_extension' , 'Safe File Extension Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 100 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options' , 'Option Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mapping' , 'Import/Export Mappings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Mapping\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/debug' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/debug' , 'Debugging' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Setting_Debugging\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 120 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/multisite' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/multisite' , 'Multi Site Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Form_Preferences_Multisite\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 130 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/campaign' , 'CiviCampaign Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Form_Preferences_Campaign\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 10 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/event' , 'CiviEvent Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Admin_Form_Preferences_Event\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/mailing' , 'CiviMail Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Admin_Form_Preferences_Mailing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/member' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/member' , 'CiviMember Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Admin_Form_Preferences_Member\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/runjobs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/runjobs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:20:\"executeScheduledJobs\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/job' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/job' , 'Scheduled Jobs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Admin_Page_Job\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/joblog' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/joblog' , 'Scheduled Jobs Log' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Admin_Page_JobLog\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/grant_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/grant_type' , 'Grant Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 385 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/paymentProcessorType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/paymentProcessorType' , 'Payment Processor Type' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Admin_Page_PaymentProcessorType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin' , 'Administer CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Admin_Page_Admin\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 9000 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menujs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menujs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:17:\"getNavigationMenu\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menu' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menu' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:17:\"getNavigationList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/menutree' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/menutree' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:8:\"menuTree\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/statusmsg' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/statusmsg' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:12:\"getStatusMsg\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mergeTags' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mergeTags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:9:\"mergeTags\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/price' , 'Price Sets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/price/add' , 'action=add' , 'New Price Set' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/field' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type , skipBreadcrumb ) VALUES ( 1 , 'civicrm/admin/price/field' , 'Price Fields' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Price_Page_Field\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/price/field/option' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/price/field/option' , 'Price Field Options' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Price_Page_Option\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mergeTagList' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mergeTagList' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:12:\"mergeTagList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tplstrings/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tplstrings/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Form_Persistent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/tplstrings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/tplstrings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Admin_Page_Persistent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/mapping' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/mapping' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:11:\"mappingList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/recipientListing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/recipientListing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:16:\"recipientListing\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/sms/provider' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/sms/provider' , 'Sms Providers' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_SMS_Page_Provider\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 500 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/sms/send' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/sms/send' , 'New Mass SMS' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_SMS_Controller_Send\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 610 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/sms/callback' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/sms/callback' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_SMS_Page_Callback\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/badgelayout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/badgelayout' , 'action=browse' , 'Event Name Badge Layouts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Badge_Page_Layout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 399 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/badgelayout/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/badgelayout/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Badge_Form_Layout\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/badgelayout&reset=1&action=browse\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/ckeditor' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/ckeditor' , 'Configure CKEditor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Admin_Page_CKEditorConfig\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm' , 'CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_DashBoard\";' , 'a:0:{}' , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dashboard' , 'CiviCRM Home' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dashlet' , 'CiviCRM Dashlets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Page_Dashlet\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 1 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search' , 'Find Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 10 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/image' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/image' , 'Process Uploaded Images' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:23:\"CRM_Contact_BAO_Contact\";i:1;s:12:\"processImage\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/imagefile' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/imagefile' , 'Get Image File' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Contact_Page_ImageFile\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/basic' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/search/basic' , 'Find Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/advanced' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/advanced' , 'Advanced Search' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=512\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 12 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/builder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/builder' , 'Search Builder' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:9:\"mode=8192\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 14 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/search/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:10:\"mode=16384\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/search/custom/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/search/custom/list' , 'Custom Searches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Page_CustomSearch\";' , 's:10:\"mode=16384\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:47:\"/index.php?q=civicrm/contact/search&reset=1\";}}' , 0 , 16 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add' , 'New Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/individual' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/individual' , 'ct=Individual' , 'New Individual' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/household' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/household' , 'ct=Household' , 'New Household' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/add/organization' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/add/organization' , 'ct=Organization' , 'New Organization' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Contact_Form_Contact\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/add&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/relatedcontact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/relatedcontact' , 'Edit Related Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contact_Form_RelatedContact\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/merge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/merge' , 'Merge Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Contact_Form_Merge\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/email' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/email' , 'Email a Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Form_Task_Email\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/map' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/map' , 'Map Location(s)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_Map\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/map/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/map/event' , 'Map Event Location' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contact_Form_Task_Map_Event\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Map Location(s)\";s:3:\"url\";s:44:\"/index.php?q=civicrm/contact/map&reset=1\";}}' , 1 , 0 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view' , 'cid=%%cid%%' , 'Contact Summary' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Contact_Page_View_Summary\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/delete' , 'Delete Contact' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:28:\"CRM_Contact_Form_Task_Delete\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/activity' , 'show=1,cid=%%cid%%' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:21:\"CRM_Activity_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Activity_Form_Activity\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/email/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/email/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Form_Task_Email\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/pdf/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/pdf/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_PDF\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/rel' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/rel' , 'cid=%%cid%%' , 'Relationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contact_Page_View_Relationship\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/group' , 'cid=%%cid%%' , 'Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contact_Page_View_GroupContact\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/smartgroup' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/smartgroup' , 'cid=%%cid%%' , 'Smart Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:39:\"CRM_Contact_Page_View_ContactSmartGroup\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/sunlight' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/sunlight' , 'Sunlight' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:30:\"CRM_Contact_Page_View_Sunlight\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/note' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/note' , 'cid=%%cid%%' , 'Notes' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Contact_Page_View_Note\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/tag' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/tag' , 'cid=%%cid%%' , 'Tags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:25:\"CRM_Contact_Page_View_Tag\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/cd' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/cd' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Contact_Page_View_CustomData\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/cd/edit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/cd/edit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Form_CustomData\";' , 's:13:\"addSequence=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/vcard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/vcard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Page_View_Vcard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/print' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/print' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Contact_Page_View_Print\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/log' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/log' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:25:\"CRM_Contact_Page_View_Log\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/user' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/user' , 'Contact Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Contact_Page_View_UserDashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/activity' , 'Activity Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Dashlet_Page_Activity\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/blog' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/blog' , 'CiviCRM Blog' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Dashlet_Page_Blog\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/getting-started' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/getting-started' , 'Getting Started' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Dashlet_Page_GettingStarted\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/relation' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/relation' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"relationship\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/groupTree' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/groupTree' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"groupTree\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:11:\"customField\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/customvalue' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/customvalue' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:17:\"deleteCustomValue\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/cmsuser' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/cmsuser' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"checkUserName\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/checkemail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/checkemail' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactEmail\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/checkphone' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/checkphone' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactPhone\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/subtype' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/subtype' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"buildSubTypes\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"dashboard\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/signature' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/signature' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"getSignature\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/pdfFormat' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/pdfFormat' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"pdfFormat\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/paperSize' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/paperSize' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"paperSize\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactref' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactref' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:31:\"access contact reference fields\";i:1;s:15:\" access CiviCRM\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"contactReference\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/myCases' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/myCases' , 'Case Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Dashlet_Page_MyCases\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/allCases' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/allCases' , 'All Cases Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Dashlet_Page_AllCases\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dashlet/casedashboard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dashlet/casedashboard' , 'Case Dashboard Dashlet' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Dashlet_Page_CaseDashboard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"CiviCRM Dashlets\";s:3:\"url\";s:40:\"/index.php?q=civicrm/dashlet&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/deduperules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/deduperules' , 'Find and Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer dedupe rules\";i:1;s:24:\"merge duplicate contacts\";}i:1;s:2:\"or\";}' , 's:28:\"CRM_Contact_Page_DedupeRules\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 105 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/dedupefind' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/dedupefind' , 'Find and Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Contact_Page_DedupeFind\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dedupefind' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dedupefind' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:10:\"getDedupes\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/dedupemerge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/dedupemerge' , 'Batch Merge Duplicate Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Contact_Page_DedupeMerge\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dedupe/exception' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/dedupe/exception' , 'Dedupe Exceptions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contact_Page_DedupeException\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 110 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/dedupeRules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/dedupeRules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"buildDedupeRules\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/useradd' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/useradd' , 'cid=%%cid%%' , 'Add User' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Contact_Page_View_Useradd\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/markSelection' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/markSelection' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:22:\"selectUnselectContacts\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/toggleDedupeSelect' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/toggleDedupeSelect' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:18:\"toggleDedupeSelect\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/flipDupePairs' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/flipDupePairs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"flipDupePairs\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/activity/sms/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/activity/sms/add' , 'action=add' , 'Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Contact_Form_Task_SMS\";' , 's:14:\"attachUpload=1\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:79:\"/index.php?q=civicrm/activity&reset=1&action=add&context=standalone\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactrelationships' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactrelationships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:23:\"getContactRelationships\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/custom/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/custom/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Custom_Form_CustomData\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/optionlist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/optionlist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:13:\"getOptionList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/reorder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/reorder' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:11:\"fixOrdering\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/custom' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Custom_Form_CustomDataByType\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/group' , 'Manage Groups' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Group_Page_Group\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 30 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/group/search' , 'Group Members' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Controller_Search\";' , 's:8:\"mode=256\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:38:\"/index.php?q=civicrm/group&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/group/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/group/add' , 'New Group' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:11:\"edit groups\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Group_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:38:\"/index.php?q=civicrm/group&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/grouplist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/grouplist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Group_Page_AJAX\";i:1;s:12:\"getGroupList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import' , 'Import' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Import_Controller\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 400 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/contact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/contact' , 'Import Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contact_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 410 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/activity' , 'Import Activities' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Activity_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 420 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/import/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/import/custom' , 'id=%%id%%' , 'Import Multi-value Custom Data' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Custom_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:39:\"/index.php?q=civicrm/import&reset=1\";}}' , 0 , 420 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:28:\"CRM_Contact_Import_Page_AJAX\";i:1;s:6:\"status\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/jqState' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/jqState' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:7:\"jqState\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/jqCounty' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/jqCounty' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:8:\"jqCounty\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/upgrade' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/upgrade' , 'Upgrade CiviCRM' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Upgrade_Page_Upgrade\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/export' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/export' , 'Download Errors' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/export/contact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/export/contact' , 'Export Contacts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:39:\"/index.php?q=civicrm/export&reset=1\";}}' , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/acl_role' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/options/acl_role' , 'ACL Roles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl' , 'Manage ACLs' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_ACL_Page_ACL\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl/entityrole' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl/entityrole' , 'Assign Users to ACL Roles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_ACL_Page_EntityRole\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:36:\"/index.php?q=civicrm/acl&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/acl/basic' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/acl/basic' , 'ACL' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_ACL_Page_ACLBasic\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:36:\"/index.php?q=civicrm/acl&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/standalone/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/standalone/register' , 'Registration Page' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Standalone_Form_Register\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/file' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/file' , 'Browse Uploaded files' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Core_Page_File\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/file/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/file/delete' , 'Delete File' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:17:\"CRM_Core_BAO_File\";i:1;s:16:\"deleteAttachment\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:21:\"Browse Uploaded files\";s:3:\"url\";s:37:\"/index.php?q=civicrm/file&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/friend' , 'Tell a Friend' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:15:\"CRM_Friend_Form\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/logout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/logout' , 'Log out' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:6:\"logout\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 9999 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/i18n' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/i18n' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"translate CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Core_I18n_Form\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/attachment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/attachment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:29:\"CRM_Core_Page_AJAX_Attachment\";i:1;s:10:\"attachFile\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/api' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/api' , 'CiviCRM API' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Admin_Page_APIExplorer\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/apiexample' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/apiexample' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:14:\"getExampleFile\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/apidoc' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/apidoc' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:6:\"getDoc\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/rest' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/rest' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:4:\"ajax\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/api/json' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/api/json' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:8:\"ajaxJson\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"CiviCRM API\";s:3:\"url\";s:36:\"/index.php?q=civicrm/api&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/inline' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/inline' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:12:\"loadTemplate\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/chart' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_ContributionCharts\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/ajax/tableview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/ajax/tableview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contribute_Page_DashBoard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/ipn' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment/ipn' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:16:\"CRM_Core_Payment\";i:1;s:9:\"handleIPN\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch' , 'Batch Data Entry' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Page_Batch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch/add' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Form_Batch\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:38:\"/index.php?q=civicrm/batch&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batch/entry' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/batch/entry' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Batch_Form_Entry\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:38:\"/index.php?q=civicrm/batch&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:9:\"batchSave\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/batchlist' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/batchlist' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:12:\"getBatchList\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/inline' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/inline' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Core_Page_AJAX\";i:1;s:3:\"run\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/dev/qunit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/dev/qunit' , 'QUnit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Core_Page_QUnit\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile-editor/schema' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/profile-editor/schema' , 'ProfileEditor' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:25:\"CRM_UF_Page_ProfileEditor\";i:1;s:13:\"getSchemaJSON\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/a' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/a' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"\\Civi\\Angular\\Page\\Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/angular-modules' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/angular-modules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"\\Civi\\Angular\\Page\\Modules\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/recurringentity/update-mode' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/recurringentity/update-mode' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:34:\"CRM_Core_Page_AJAX_RecurringEntity\";i:1;s:10:\"updateMode\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/recurringentity/preview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/recurringentity/preview' , 'Confirm dates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Core_Page_RecurringEntityPreview\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/l10n-js' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/l10n-js' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Core_Resources\";i:1;s:20:\"outputLocalizationJS\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/shortcode' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/shortcode' , 'Insert CiviCRM Content' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Core_Form_ShortCode\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/form' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/payment/form' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Financial_Form_Payment\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pcp' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Form_PCP\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pcp/campaign' , 'Setup a Personal Campaign Page - Account Information' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pcp/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pcp/info' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_PCP_Page_PCPInfo\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/pcp' , 'context=contribute' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Page_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 362 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/profile' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Profile_Page_Router\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile/create' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/profile/create' , 'CiviCRM Profile Create' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Profile_Page_Router\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/profile/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/profile/view' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Profile_Page_View\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event' , 'CiviEvent Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 800 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/participant/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/participant/add' , 'action=add' , 'Register New Participant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Event_Page_Tab\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/info' , 'Event Information' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_EventInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/register' , 'Event Registration' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Controller_Registration\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/confirm' , 'Confirm Event Registration' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:46:\"CRM_Event_Form_Registration_ParticipantConfirm\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/ical' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/ical' , 'Current and Upcoming Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"view event info\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Event_Page_ICalendar\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/participant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/participant' , 'Event Participants List' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:23:\"view event participants\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Page_ParticipantListing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/event' , 'Manage Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Event_Page_ManageEvent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/eventTemplate' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/eventTemplate' , 'Event Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Admin_Page_EventTemplate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 375 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/event_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/event_type' , 'Event Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 385 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/participant_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/participant_status' , 'Participant Status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Admin_Page_ParticipantStatusType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/participant_role' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/participant_role' , 'Participant Role' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 395 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/participant_listing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/participant_listing' , 'Participant Listing Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 398 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/conference_slots' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/conference_slots' , 'group=conference_slot' , 'Conference Slot Labels' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 415 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/search' , 'Find Participants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Event_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 810 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage' , 'Manage Events' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Event_Page_ManageEvent\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 820 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/badge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/badge' , 'Print Event Name Badge' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Event_Form_Task_Badge\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/settings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/settings' , 'Event Info and Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Event_Form_ManageEvent_EventInfo\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 910 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/location' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/location' , 'Event Location' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Event_Form_ManageEvent_Location\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 930 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/fee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/fee' , 'Event Fees' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Event_Form_ManageEvent_Fee\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 920 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/registration' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/registration' , 'Event Online Registration' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:39:\"CRM_Event_Form_ManageEvent_Registration\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 930 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/friend' , 'Tell a Friend' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:21:\"CRM_Friend_Form_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 940 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/reminder' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/reminder' , 'Schedule Reminders' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:44:\"CRM_Event_Form_ManageEvent_ScheduleReminders\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 950 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/repeat' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/repeat' , 'Repeat Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Event_Form_ManageEvent_Repeat\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 960 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/conference' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/conference' , 'Conference Slots' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Event_Form_ManageEvent_Conference\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 950 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/add' , 'action=add' , 'New Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Event_Form_ManageEvent_EventInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 830 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/import' , 'Import Participants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:23:\"edit event participants\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Event_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 840 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/price' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/price' , 'Manage Price Sets' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Price_Page_Set\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 850 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/selfsvcupdate' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/selfsvcupdate' , 'Self Service Update' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Event_Form_SelfSvcUpdate\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 880 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/selfsvctransfer' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/selfsvctransfer' , 'Self Service Transfer' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Event_Form_SelfSvcTransfer\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 0 , 890 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/participant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/participant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:18:\"CRM_Event_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 4 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/eventFee' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/eventFee' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:19:\"CRM_Event_Page_AJAX\";i:1;s:8:\"eventFee\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/locBlock' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/locBlock' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:11:\"getLocBlock\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/event/add_participant_to_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/event/add_participant_to_cart' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Event_Cart_Page_CheckoutAJAX\";i:1;s:23:\"add_participant_to_cart\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/event/remove_participant_from_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/event/remove_participant_from_cart' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Event_Cart_Page_CheckoutAJAX\";i:1;s:28:\"remove_participant_from_cart\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/add_to_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/add_to_cart' , 'Add Event To Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Event_Cart_Page_AddToCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/cart_checkout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/cart_checkout' , 'Cart Checkout' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Event_Cart_Controller_Checkout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/remove_from_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/remove_from_cart' , 'Remove From Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Event_Cart_Page_RemoveFromCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/view_cart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/view_cart' , 'View Cart' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Event_Cart_Page_ViewCart\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/participant/feeselection' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/participant/feeselection' , 'Change Registration Selections' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Event_Form_ParticipantFeeSelection\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:23:\"Event Participants List\";s:3:\"url\";s:50:\"/index.php?q=civicrm/event/participant&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/manage/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/manage/pcp' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_PCP_Form_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:45:\"/index.php?q=civicrm/event/manage&reset=1\";}}' , 1 , 1 , 540 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/event/pcp' , 's:1:\"1\";' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}' , 's:16:\"CRM_PCP_Form_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/event/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/event/campaign' , 'Setup a Personal Campaign Page - Account Information' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/event&reset=1\";}}' , 1 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute' , 'CiviContribute Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:29:\"CRM_Contribute_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 2 , 0 , 500 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/add' , 'action=add' , 'New Contribution' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Contribute_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/chart' , 'Contribution Summary - Chart View' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_ContributionCharts\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/transact' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/transact' , 'CiviContribute' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Controller_Contribution\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 1 , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute' , 'Manage Contribution Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Contribute_Page_ContributionPage\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 360 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/settings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/settings' , 'Title and Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:45:\"CRM_Contribute_Form_ContributionPage_Settings\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/amount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/amount' , 'Contribution Amounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Amount\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 410 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/membership' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/membership' , 'Membership Section' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Member_Form_MembershipBlock\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/custom' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/custom' , 'Include Profiles' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Custom\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/thankyou' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/thankyou' , 'Thank-you and Receipting' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:45:\"CRM_Contribute_Form_ContributionPage_ThankYou\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 430 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/friend' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/friend' , 'Tell a Friend' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Friend_Form_Contribute\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 440 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/widget' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/widget' , 'Configure Widget' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_ContributionPage_Widget\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 460 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/premium' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/premium' , 'Premiums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:44:\"CRM_Contribute_Form_ContributionPage_Premium\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 470 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/addProductToPage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/addProductToPage' , 'Add Products to This Page' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:47:\"CRM_Contribute_Form_ContributionPage_AddProduct\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 480 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/add' , 'action=add' , 'New Contribution Page' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:42:\"CRM_Contribute_Controller_ContributionPage\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/managePremiums' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/managePremiums' , 'Manage Premiums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Contribute_Page_ManagePremiums\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 365 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialType' , 'Financial Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Financial_Page_FinancialType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 580 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment' , 'action=add' , 'New Payment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Contribute_Form_AdditionalPayment\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialAccount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialAccount' , 'Financial Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Financial_Page_FinancialAccount\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/payment_instrument' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/payment_instrument' , 'Payment Methods' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/accept_creditcard' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/accept_creditcard' , 'Accepted Credit Cards' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 395 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/soft_credit_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/options/soft_credit_type' , 'Soft Credit Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contribution' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/contribution' , 'Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Contribute_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contributionrecur' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/contributionrecur' , 'Recurring Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:37:\"CRM_Contribute_Page_ContributionRecur\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/contribution/additionalinfo' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/contribution/additionalinfo' , 'Additional Info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Contribute_Form_AdditionalInfo\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}i:2;a:2:{s:5:\"title\";s:13:\"Contributions\";s:3:\"url\";s:58:\"/index.php?q=civicrm/contact/view/contribution&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/search' , 'Find Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 510 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/searchBatch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/searchBatch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Contribute_Controller_SearchBatch\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 588 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/import' , 'Import Contributions' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"edit contributions\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 520 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/manage' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/manage' , 'Manage Contribution Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Contribute_Page_ContributionPage\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 530 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/additionalinfo' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/additionalinfo' , 'AdditionalInfo Form' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Contribute_Form_AdditionalInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/permlocation' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/permlocation' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:23:\"getPermissionedLocation\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/unsubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/unsubscribe' , 'Cancel Subscription' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_CancelSubscription\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/onbehalf' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/onbehalf' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:43:\"CRM_Contribute_Form_Contribution_OnBehalfOf\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/updatebilling' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/updatebilling' , 'Update Billing Details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Contribute_Form_UpdateBilling\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/updaterecur' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/updaterecur' , 'Update Subscription' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Form_UpdateSubscription\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/subscriptionstatus' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contribute/subscriptionstatus' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:38:\"CRM_Contribute_Page_SubscriptionStatus\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/financial/financialType/accounts' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/financial/financialType/accounts' , 'Financial Type Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:39:\"CRM_Financial_Page_FinancialTypeAccount\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:15:\"Financial Types\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/financial/financialType&reset=1\";}}' , 1 , 581 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/batch' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/batch' , 'Accounting Batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}' , 's:33:\"CRM_Financial_Page_FinancialBatch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 585 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/financialbatches' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/financialbatches' , 'Accounting Batches' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Financial_Page_Batch\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 586 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/batchtransaction' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/batchtransaction' , 'Accounting Batch' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Financial_Page_BatchTransaction\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 600 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/financial/batch/export' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/financial/batch/export' , 'Accounting Batch Export' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Financial_Form_Export\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Accounting Batch\";s:3:\"url\";s:48:\"/index.php?q=civicrm/financial/batch&reset=1\";}}' , 0 , 610 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/payment/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/payment/view' , 'action=view' , 'View Payment' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Contribute_Page_PaymentInfo\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:55:\"/index.php?q=civicrm/payment&reset=1&action=add\";}}' , 2 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/setting/preferences/contribute' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/setting/preferences/contribute' , 'CiviContribute Component Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:37:\"CRM_Admin_Form_Preferences_Contribute\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/invoice' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/invoice' , 'PDF Invoice' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:32:\"CRM_Contribute_Form_Task_Invoice\";i:1;s:11:\"getPrintPDF\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/invoice/email' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/invoice/email' , 'Email Invoice' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Contribute_Form_Task_Invoice\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"PDF Invoice\";s:3:\"url\";s:51:\"/index.php?q=civicrm/contribute/invoice&reset=1\";}}' , 2 , 0 , 630 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/contribute/pcp' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/contribute/pcp' , 'Personal Campaign Pages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_PCP_Form_Contribute\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";}}' , 1 , 450 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contribute/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contribute/campaign' , 'Setup a Personal Campaign Page - Account Information' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_PCP_Controller_PCP\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:43:\"/index.php?q=civicrm/contribute&reset=1\";}}' , 2 , 1 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member' , 'CiviMember Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Member_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 3 , 0 , 700 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/member/add' , 'action=add' , 'New Membership' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Member_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipType' , 'Membership Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Page_MembershipType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 370 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipStatus' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipStatus' , 'Membership Status Rules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:32:\"CRM_Member_Page_MembershipStatus\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 380 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/membership' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/membership' , 'force=1,cid=%%cid%%' , 'Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:19:\"CRM_Member_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 2 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/membership/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/membership/view' , 'Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Form_MembershipView\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member/search' , 'Find Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Member_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 710 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/member/import' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/member/import' , 'Import Memberships' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:16:\"edit memberships\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Member_Import_Controller\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/member&reset=1\";}}' , 3 , 0 , 720 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/memType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/memType' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Member_Page_AJAX\";i:1;s:21:\"getMemberTypeDefaults\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/member/membershipType/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/member/membershipType/add' , 'Membership Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:30:\"CRM_Member_Form_MembershipType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:16:\"Membership Types\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/member/membershipType&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing' , 'CiviMail' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 4 , 0 , 600 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mail' , 'Mailer Settings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Form_Setting_Mail\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/component' , 'Headers, Footers, and Automated Messages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Page_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 410 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/from_email_address/civimail' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/from_email_address/civimail' , 'From Email Addresses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:4:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}i:3;a:2:{s:5:\"title\";s:20:\"From Email Addresses\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/from_email_address&reset=1\";}}' , 1 , 415 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/mailSettings' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/mailSettings' , 'Mail Accounts' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Admin_Page_MailSettings\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 420 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/send' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/send' , 'New Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";i:2;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Mailing_Controller_Send\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 610 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/scheduled' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/scheduled' , 'scheduled=true' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";i:2;s:15:\"create mailings\";i:3;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/unscheduled' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/unscheduled' , 'scheduled=false' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";i:2;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 620 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/browse/archived' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/browse/archived' , 'Find Mailings' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 625 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/component' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/component' , 'Headers, Footers, and Automated Messages' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Page_Component\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 630 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/unsubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/unsubscribe' , 'Unsubscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Mailing_Form_Unsubscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 640 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/resubscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/resubscribe' , 'Resubscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Mailing_Page_Resubscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 645 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/optout' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/optout' , 'Opt-out' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Mailing_Form_Optout\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 650 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/confirm' , 'Confirm' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Mailing_Page_Confirm\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 660 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/subscribe' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/subscribe' , 'Subscribe' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Mailing_Form_Subscribe\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 660 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/preview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/preview' , 'Preview Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";i:2;s:15:\"create mailings\";i:3;s:17:\"schedule mailings\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Mailing_Page_Preview\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 670 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/report' , 'mid=%%mid%%' , 'Mailing Report' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:15:\"create mailings\";}i:1;s:2:\"or\";}' , 's:23:\"CRM_Mailing_Page_Report\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 680 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/forward' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/forward' , 'Forward Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:43:\"access CiviMail subscribe/unsubscribe pages\";}i:1;s:3:\"and\";}' , 's:31:\"CRM_Mailing_Form_ForwardMailing\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 685 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/queue' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/queue' , 'Sending Mail' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Mailing_Page_Browse\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 690 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/report/event' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/report/event' , 'Mailing Event' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:15:\"access CiviMail\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Mailing_Page_Event\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Mailing Report\";s:3:\"url\";s:63:\"/index.php?q=civicrm/mailing/report&reset=1&mid=%%mid%%\";}}' , 4 , 0 , 695 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Mailing_Page_AJAX\";i:1;s:8:\"template\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_public , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/view' , 'View Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:28:\"view public CiviMail content\";i:1;s:15:\"access CiviMail\";i:2;s:16:\"approve mailings\";}i:1;s:2:\"or\";}' , 's:21:\"CRM_Mailing_Page_View\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 1 , 0 , 800 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/mailing/approve' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/mailing/approve' , 'Approve Mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:16:\"approve mailings\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Mailing_Form_Approve\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:8:\"CiviMail\";s:3:\"url\";s:40:\"/index.php?q=civicrm/mailing&reset=1\";}}' , 4 , 0 , 850 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/mailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/mailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:20:\"CRM_Mailing_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/contactmailing' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/contactmailing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:21:\"CRM_Mailing_Page_AJAX\";i:1;s:18:\"getContactMailings\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant' , 'CiviGrant Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Grant_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 5 , 0 , 1000 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/info' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant/info' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Grant_Page_DashBoard\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/grant/search' , 'Find Grants' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:27:\"CRM_Grant_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 1010 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/grant/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/grant/add' , 'action=add' , 'New Grant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Grant_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviGrant Dashboard\";s:3:\"url\";s:38:\"/index.php?q=civicrm/grant&reset=1\";}}' , 5 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/grant' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/grant' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:16:\"access CiviGrant\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Grant_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge' , 'CiviPledge Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Pledge_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 6 , 0 , 550 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge/search' , 'Find Pledges' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Pledge_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 560 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/pledge' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/contact/view/pledge' , 'force=1,cid=%%cid%%' , 'Pledges' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Pledge_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 570 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/pledge/add' , 'action=add' , 'New Pledge' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:19:\"CRM_Pledge_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/pledge/payment' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/pledge/payment' , 'Pledge Payments' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviPledge\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Pledge_Page_Payment\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviPledge Dashboard\";s:3:\"url\";s:39:\"/index.php?q=civicrm/pledge&reset=1\";}}' , 6 , 0 , 580 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/pledgeAmount' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/pledgeAmount' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:17:\"access CiviPledge\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:20:\"CRM_Pledge_Page_AJAX\";i:1;s:17:\"getPledgeDefaults\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/case' , 'CiviCase Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Case_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 7 , 0 , 900 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/add' , 'Open Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:18:\"CRM_Case_Form_Case\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/case/search' , 'Find Cases' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Case_Controller_Search\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 910 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/activity' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/activity' , 'Case Activity' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Case_Form_Activity\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/report' , 'Case Activity Audit' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 's:20:\"CRM_Case_Form_Report\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/cd/edit' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/cd/edit' , 'Case Custom Set' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Case_Form_CustomData\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/case' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/case' , 'Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:17:\"CRM_Case_Page_Tab\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/activity/view' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/activity/view' , 'Activity View' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Case_Form_ActivityView\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Case Activity\";s:3:\"url\";s:46:\"/index.php?q=civicrm/case/activity&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/contact/view/case/editClient' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/contact/view/case/editClient' , 'Assign to Another Client' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}' , 's:24:\"CRM_Case_Form_EditClient\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:61:\"/index.php?q=civicrm/contact/view&reset=1&cid=%%cid%%\";}i:2;a:2:{s:5:\"title\";s:4:\"Case\";s:3:\"url\";s:50:\"/index.php?q=civicrm/contact/view/case&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/addToCase' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/addToCase' , 'File on Case' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Case_Form_ActivityToCase\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/details' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/details' , 'Case Details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:25:\"CRM_Case_Page_CaseDetails\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/case_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , page_arguments , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/case_type' , 'Case Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Core_Page_Redirect\";' , 's:24:\"url=civicrm/a/#/caseType\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 390 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/redaction_rule' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/redaction_rule' , 'Redaction Rules' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/case_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/case_status' , 'Case Statuses' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/encounter_medium' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/encounter_medium' , 'Encounter Mediums' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:19:\"administer CiviCase\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 400 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/report/print' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/report/print' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:28:\"CRM_Case_XMLProcessor_Report\";i:1;s:15:\"printCaseReport\";}' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}i:2;a:2:{s:5:\"title\";s:19:\"Case Activity Audit\";s:3:\"url\";s:44:\"/index.php?q=civicrm/case/report&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/unclosed' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/unclosed' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:13:\"unclosedCases\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/addclient' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/addclient' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:9:\"addClient\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/processtags' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/processtags' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:15:\"processCaseTags\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 3 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/case/ajax/details' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/case/ajax/details' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:11:\"CaseDetails\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"CiviCase Dashboard\";s:3:\"url\";s:37:\"/index.php?q=civicrm/case&reset=1\";}}' , 7 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/ajax/delcaserole' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/ajax/delcaserole' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:18:\"CRM_Case_Page_AJAX\";i:1;s:15:\"deleteCaseRoles\";}' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report' , 'CiviReport' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Report_Page_Report\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 8 , 0 , 1200 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/list' , 'CiviCRM Reports' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_InstanceList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/template/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report/template/list' , 'Create New Report from Template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_TemplateList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 1220 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/options/report_template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/report/options/report_template' , 'Manage Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Report_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 1241 , 1 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/register' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/register' , 'Register Report' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:18:\"administer Reports\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Report_Form_Register\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/instance' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/instance' , 'Report' , 's:1:\"1\";' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:24:\"CRM_Report_Page_Instance\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/template/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/template/list' , 'Create New Report from Template' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_TemplateList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/options/report_template' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/options/report_template' , 'Manage Templates' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 's:23:\"CRM_Report_Page_Options\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/report/list' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/admin/report/list' , 'Reports Listing' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Report_Page_InstanceList\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/report/chart' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/report/chart' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:17:\"access CiviReport\";}i:1;s:3:\"and\";}' , 'a:2:{i:0;s:15:\"CRM_Report_Form\";i:1;s:16:\"uploadChartImage\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:10:\"CiviReport\";s:3:\"url\";s:39:\"/index.php?q=civicrm/report&reset=1\";}}' , 8 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign' , 'Campaign Dashboard' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:27:\"CRM_Campaign_Page_DashBoard\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/add' , 'New Campaign' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Campaign_Form_Campaign\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/add' , 'New Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Campaign_Form_Survey_Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/vote' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/vote' , 'Conduct Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:25:\"reserve campaign contacts\";i:3;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 's:22:\"CRM_Campaign_Page_Vote\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/campaign/surveyType' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/campaign/surveyType' , 'Survey Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCampaign\";}i:1;s:3:\"and\";}' , 's:28:\"CRM_Campaign_Page_SurveyType\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}}' , 1 , 1 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/campaign_type' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/campaign_type' , 'Campaign Types' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 2 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/campaign_status' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/campaign_status' , 'Campaign Status' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 3 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/admin/options/engagement_index' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , weight , page_type ) VALUES ( 1 , 'civicrm/admin/options/engagement_index' , 'Engagement Index' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:22:\"CRM_Admin_Page_Options\";' , 'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:38:\"/index.php?q=civicrm/admin&reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";}}' , 1 , 4 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/search' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , path_arguments , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/search' , 'op=interview' , 'Record Respondents Interview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 's:30:\"CRM_Campaign_Controller_Search\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/gotv' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/gotv' , 'GOTV (Track Voters)' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:4:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:25:\"release campaign contacts\";i:3;s:22:\"gotv campaign contacts\";}i:1;s:2:\"or\";}' , 's:22:\"CRM_Campaign_Form_Gotv\";' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/add' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/add' , 'New Petition' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:26:\"CRM_Campaign_Form_Petition\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/sign' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/sign' , 'Sign Petition' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:36:\"CRM_Campaign_Form_Petition_Signature\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/browse' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/browse' , 'View Petition Signatures' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}' , 's:26:\"CRM_Campaign_Page_Petition\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/confirm' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/confirm' , 'Email address verified' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:34:\"CRM_Campaign_Page_Petition_Confirm\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/petition/thankyou' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_public , is_ssl , page_type ) VALUES ( 1 , 'civicrm/petition/thankyou' , 'Thank You' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:1:{i:0;s:21:\"sign CiviCRM Petition\";}i:1;s:3:\"and\";}' , 's:35:\"CRM_Campaign_Page_Petition_ThankYou\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 1 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/campaign/registerInterview' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , access_callback , access_arguments , page_callback , breadcrumb , component_id , is_ssl , page_type ) VALUES ( 1 , 'civicrm/campaign/registerInterview' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:3:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";i:2;s:27:\"interview campaign contacts\";}i:1;s:2:\"or\";}' , 'a:2:{i:0;s:22:\"CRM_Campaign_Page_AJAX\";i:1;s:17:\"registerInterview\";}' , 'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Campaign Dashboard\";s:3:\"url\";s:41:\"/index.php?q=civicrm/campaign&reset=1\";}}' , 9 , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/main' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/main' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:29:\"CRM_Campaign_Form_Survey_Main\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/questions' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/questions' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:34:\"CRM_Campaign_Form_Survey_Questions\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/configure/results' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/configure/results' , 'Configure Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:32:\"CRM_Campaign_Form_Survey_Results\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'civicrm/survey/delete' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , title , access_callback , access_arguments , page_callback , breadcrumb , is_ssl , page_type ) VALUES ( 1 , 'civicrm/survey/delete' , 'Delete Survey' , 'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}' , 'a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCampaign\";i:1;s:15:\"manage campaign\";}i:1;s:2:\"or\";}' , 's:31:\"CRM_Campaign_Form_Survey_Delete\";' , 'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:32:\"/index.php?q=civicrm&reset=1\";}}' , 0 , 0 ) + + SELECT * + FROM civicrm_menu + + WHERE ( civicrm_menu.domain_id = 1 ) AND ( civicrm_menu.path = 'admin' ) + + + + + + INSERT INTO civicrm_menu (domain_id , path , breadcrumb ) VALUES ( 1 , 'admin' , 'a:15:{s:26:\"Customize Data and Screens\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:19:{s:20:\"{weight}.Custom Data\";a:6:{s:5:\"title\";s:11:\"Custom Data\";s:4:\"desc\";s:109:\"Configure custom fields to collect and store custom data which is not included in the standard CiviCRM forms.\";s:2:\"id\";s:10:\"CustomData\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/custom/group&reset=1\";s:4:\"icon\";s:26:\"admin/small/custm_data.png\";s:5:\"extra\";N;}s:17:\"{weight}.Profiles\";a:6:{s:5:\"title\";s:8:\"Profiles\";s:4:\"desc\";s:151:\"Profiles allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features.\";s:2:\"id\";s:8:\"Profiles\";s:3:\"url\";s:47:\"/index.php?q=civicrm/admin/uf/group&reset=1\";s:4:\"icon\";s:23:\"admin/small/Profile.png\";s:5:\"extra\";N;}s:26:\"{weight}.Tags (Categories)\";a:6:{s:5:\"title\";s:17:\"Tags (Categories)\";s:4:\"desc\";s:158:\"Tags are useful for segmenting the contacts in your database into categories (e.g. Staff Member, Donor, Volunteer, etc.). Create and edit available tags here.\";s:2:\"id\";s:15:\"Tags_Categories\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/tag&reset=1\";s:4:\"icon\";s:18:\"admin/small/11.png\";s:5:\"extra\";N;}s:23:\"{weight}.Activity Types\";a:6:{s:5:\"title\";s:14:\"Activity Types\";s:4:\"desc\";s:155:\"CiviCRM has several built-in activity types (meetings, phone calls, emails sent). Track other types of interactions by creating custom activity types here.\";s:2:\"id\";s:13:\"ActivityTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/activity_type&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:27:\"{weight}.Relationship Types\";a:6:{s:5:\"title\";s:18:\"Relationship Types\";s:4:\"desc\";s:148:\"Contacts can be linked to each other through Relationships (e.g. Spouse, Employer, etc.). Define the types of relationships you want to record here.\";s:2:\"id\";s:17:\"RelationshipTypes\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/reltype&reset=1\";s:4:\"icon\";s:25:\"admin/small/rela_type.png\";s:5:\"extra\";N;}s:22:\"{weight}.Contact Types\";a:6:{s:5:\"title\";s:13:\"Contact Types\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ContactTypes\";s:3:\"url\";s:54:\"/index.php?q=civicrm/admin/options/subtype&reset=1\";s:4:\"icon\";s:18:\"admin/small/09.png\";s:5:\"extra\";N;}s:23:\"{weight}.Gender Options\";a:6:{s:5:\"title\";s:14:\"Gender Options\";s:4:\"desc\";s:85:\"Options for assigning gender to individual contacts (e.g. Male, Female, Transgender).\";s:2:\"id\";s:13:\"GenderOptions\";s:3:\"url\";s:53:\"/index.php?q=civicrm/admin/options/gender&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:40:\"{weight}.Individual Prefixes (Ms, Mr...)\";a:6:{s:5:\"title\";s:31:\"Individual Prefixes (Ms, Mr...)\";s:4:\"desc\";s:66:\"Options for individual contact prefixes (e.g. Ms., Mr., Dr. etc.).\";s:2:\"id\";s:27:\"IndividualPrefixes_Ms_Mr...\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/individual_prefix&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:40:\"{weight}.Individual Suffixes (Jr, Sr...)\";a:6:{s:5:\"title\";s:31:\"Individual Suffixes (Jr, Sr...)\";s:4:\"desc\";s:61:\"Options for individual contact suffixes (e.g. Jr., Sr. etc.).\";s:2:\"id\";s:27:\"IndividualSuffixes_Jr_Sr...\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/individual_suffix&reset=1\";s:4:\"icon\";s:18:\"admin/small/10.png\";s:5:\"extra\";N;}s:39:\"{weight}.Location Types (Home, Work...)\";a:6:{s:5:\"title\";s:30:\"Location Types (Home, Work...)\";s:4:\"desc\";s:94:\"Options for categorizing contact addresses and phone numbers (e.g. Home, Work, Billing, etc.).\";s:2:\"id\";s:26:\"LocationTypes_Home_Work...\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/locationType&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:22:\"{weight}.Website Types\";a:6:{s:5:\"title\";s:13:\"Website Types\";s:4:\"desc\";s:48:\"Options for assigning website types to contacts.\";s:2:\"id\";s:12:\"WebsiteTypes\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/options/website_type&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:35:\"{weight}.Instant Messenger Services\";a:6:{s:5:\"title\";s:26:\"Instant Messenger Services\";s:4:\"desc\";s:79:\"List of IM services which can be used when recording screen-names for contacts.\";s:2:\"id\";s:24:\"InstantMessengerServices\";s:3:\"url\";s:72:\"/index.php?q=civicrm/admin/options/instant_messenger_service&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:31:\"{weight}.Mobile Phone Providers\";a:6:{s:5:\"title\";s:22:\"Mobile Phone Providers\";s:4:\"desc\";s:90:\"List of mobile phone providers which can be assigned when recording contact phone numbers.\";s:2:\"id\";s:20:\"MobilePhoneProviders\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/mobile_provider&reset=1\";s:4:\"icon\";s:18:\"admin/small/08.png\";s:5:\"extra\";N;}s:19:\"{weight}.Phone Type\";a:6:{s:5:\"title\";s:10:\"Phone Type\";s:4:\"desc\";s:80:\"Options for assigning phone type to contacts (e.g Phone,\n Mobile, Fax, Pager)\";s:2:\"id\";s:9:\"PhoneType\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/phone_type&reset=1\";s:4:\"icon\";s:7:\"tel.gif\";s:5:\"extra\";N;}s:28:\"{weight}.Display Preferences\";a:6:{s:5:\"title\";s:19:\"Display Preferences\";s:4:\"desc\";N;s:2:\"id\";s:18:\"DisplayPreferences\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/display&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:27:\"{weight}.Search Preferences\";a:6:{s:5:\"title\";s:18:\"Search Preferences\";s:4:\"desc\";N;s:2:\"id\";s:17:\"SearchPreferences\";s:3:\"url\";s:53:\"/index.php?q=civicrm/admin/setting/search&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:24:\"{weight}.Navigation Menu\";a:6:{s:5:\"title\";s:15:\"Navigation Menu\";s:4:\"desc\";s:79:\"Add or remove menu items, and modify the order of items on the navigation menu.\";s:2:\"id\";s:14:\"NavigationMenu\";s:3:\"url\";s:43:\"/index.php?q=civicrm/admin/menu&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:26:\"{weight}.Word Replacements\";a:6:{s:5:\"title\";s:17:\"Word Replacements\";s:4:\"desc\";s:18:\"Word Replacements.\";s:2:\"id\";s:16:\"WordReplacements\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/wordreplacements&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Manage Custom Searches\";a:6:{s:5:\"title\";s:22:\"Manage Custom Searches\";s:4:\"desc\";s:225:\"Developers and accidental techies with a bit of PHP and SQL knowledge can create new search forms to handle specific search and reporting needs which aren\'t covered by the built-in Advanced Search and Search Builder features.\";s:2:\"id\";s:20:\"ManageCustomSearches\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/custom_search&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:10;}s:14:\"Communications\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:11:{s:46:\"{weight}.Organization Address and Contact Info\";a:6:{s:5:\"title\";s:37:\"Organization Address and Contact Info\";s:4:\"desc\";s:150:\"Configure primary contact name, email, return-path and address information. This information is used by CiviMail to identify the sending organization.\";s:2:\"id\";s:33:\"OrganizationAddressandContactInfo\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/domain&action=update&reset=1\";s:4:\"icon\";s:22:\"admin/small/domain.png\";s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/from_email_address&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:26:\"{weight}.Message Templates\";a:6:{s:5:\"title\";s:17:\"Message Templates\";s:4:\"desc\";s:130:\"Message templates allow you to save and re-use messages with layouts which you can use when sending email to one or more contacts.\";s:2:\"id\";s:16:\"MessageTemplates\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/messageTemplates&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:27:\"{weight}.Schedule Reminders\";a:6:{s:5:\"title\";s:18:\"Schedule Reminders\";s:4:\"desc\";s:19:\"Schedule Reminders.\";s:2:\"id\";s:17:\"ScheduleReminders\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/scheduleReminders&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:40:\"{weight}.Preferred Communication Methods\";a:6:{s:5:\"title\";s:31:\"Preferred Communication Methods\";s:4:\"desc\";s:117:\"One or more preferred methods of communication can be assigned to each contact. Customize the available options here.\";s:2:\"id\";s:29:\"PreferredCommunicationMethods\";s:3:\"url\";s:77:\"/index.php?q=civicrm/admin/options/preferred_communication_method&reset=1\";s:4:\"icon\";s:29:\"admin/small/communication.png\";s:5:\"extra\";N;}s:22:\"{weight}.Label Formats\";a:6:{s:5:\"title\";s:13:\"Label Formats\";s:4:\"desc\";s:67:\"Configure Label Formats that are used when creating mailing labels.\";s:2:\"id\";s:12:\"LabelFormats\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/labelFormats&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:33:\"{weight}.Print Page (PDF) Formats\";a:6:{s:5:\"title\";s:24:\"Print Page (PDF) Formats\";s:4:\"desc\";s:95:\"Configure PDF Page Formats that can be assigned to Message Templates when creating PDF letters.\";s:2:\"id\";s:20:\"PrintPage_PDFFormats\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/pdfFormats&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:36:\"{weight}.Communication Style Options\";a:6:{s:5:\"title\";s:27:\"Communication Style Options\";s:4:\"desc\";s:42:\"Options for Communication Style selection.\";s:2:\"id\";s:25:\"CommunicationStyleOptions\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/communication_style&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Email Greeting Formats\";a:6:{s:5:\"title\";s:22:\"Email Greeting Formats\";s:4:\"desc\";s:75:\"Options for assigning email greetings to individual and household contacts.\";s:2:\"id\";s:20:\"EmailGreetingFormats\";s:3:\"url\";s:61:\"/index.php?q=civicrm/admin/options/email_greeting&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:32:\"{weight}.Postal Greeting Formats\";a:6:{s:5:\"title\";s:23:\"Postal Greeting Formats\";s:4:\"desc\";s:76:\"Options for assigning postal greetings to individual and household contacts.\";s:2:\"id\";s:21:\"PostalGreetingFormats\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/postal_greeting&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:26:\"{weight}.Addressee Formats\";a:6:{s:5:\"title\";s:17:\"Addressee Formats\";s:4:\"desc\";s:83:\"Options for assigning addressee to individual, household and organization contacts.\";s:2:\"id\";s:16:\"AddresseeFormats\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/addressee&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:6;}s:12:\"Localization\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:4:{s:39:\"{weight}.Languages, Currency, Locations\";a:6:{s:5:\"title\";s:30:\"Languages, Currency, Locations\";s:4:\"desc\";N;s:2:\"id\";s:28:\"Languages_Currency_Locations\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/setting/localization&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:25:\"{weight}.Address Settings\";a:6:{s:5:\"title\";s:16:\"Address Settings\";s:4:\"desc\";N;s:2:\"id\";s:15:\"AddressSettings\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/address&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:21:\"{weight}.Date Formats\";a:6:{s:5:\"title\";s:12:\"Date Formats\";s:4:\"desc\";N;s:2:\"id\";s:11:\"DateFormats\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/date&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:28:\"{weight}.Preferred Languages\";a:6:{s:5:\"title\";s:19:\"Preferred Languages\";s:4:\"desc\";s:30:\"Options for contact languages.\";s:2:\"id\";s:18:\"PreferredLanguages\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/languages&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:21:\"Users and Permissions\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:2:{s:23:\"{weight}.Access Control\";a:6:{s:5:\"title\";s:14:\"Access Control\";s:4:\"desc\";s:73:\"Grant or deny access to actions (view, edit...), features and components.\";s:2:\"id\";s:13:\"AccessControl\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/access&reset=1\";s:4:\"icon\";s:18:\"admin/small/03.png\";s:5:\"extra\";N;}s:38:\"{weight}.Synchronize Users to Contacts\";a:6:{s:5:\"title\";s:29:\"Synchronize Users to Contacts\";s:4:\"desc\";s:71:\"Automatically create a CiviCRM contact record for each CMS user record.\";s:2:\"id\";s:26:\"SynchronizeUserstoContacts\";s:3:\"url\";s:48:\"/index.php?q=civicrm/admin/synchUser&reset=1\";s:4:\"icon\";s:26:\"admin/small/Synch_user.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:15:\"System Settings\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:18:{s:32:\"{weight}.Configuration Checklist\";a:6:{s:5:\"title\";s:23:\"Configuration Checklist\";s:4:\"desc\";s:55:\"List of configuration tasks with links to each setting.\";s:2:\"id\";s:22:\"ConfigurationChecklist\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/configtask&reset=1\";s:4:\"icon\";s:9:\"check.gif\";s:5:\"extra\";N;}s:34:\"{weight}.Enable CiviCRM Components\";a:6:{s:5:\"title\";s:25:\"Enable CiviCRM Components\";s:4:\"desc\";s:269:\"Enable or disable components (e.g. CiviEvent, CiviMember, etc.) for your site based on the features you need. We recommend disabling any components not being used in order to simplify the user interface. You can easily re-enable components at any time from this screen.\";s:2:\"id\";s:23:\"EnableCiviCRMComponents\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/setting/component&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:26:\"{weight}.Manage Extensions\";a:6:{s:5:\"title\";s:17:\"Manage Extensions\";s:4:\"desc\";s:0:\"\";s:2:\"id\";s:16:\"ManageExtensions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/extensions&reset=1\";s:4:\"icon\";s:26:\"admin/small/price_sets.png\";s:5:\"extra\";N;}s:32:\"{weight}.Outbound Email Settings\";a:6:{s:5:\"title\";s:23:\"Outbound Email Settings\";s:4:\"desc\";N;s:2:\"id\";s:21:\"OutboundEmailSettings\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/smtp&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:26:\"{weight}.Payment Processor\";a:6:{s:5:\"title\";s:17:\"Payment Processor\";s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:2:\"id\";s:16:\"PaymentProcessor\";s:3:\"url\";s:55:\"/index.php?q=civicrm/admin/paymentProcessor&reset=1\";s:4:\"icon\";s:41:\"admin/small/online_contribution_pages.png\";s:5:\"extra\";N;}s:30:\"{weight}.Mapping and Geocoding\";a:6:{s:5:\"title\";s:21:\"Mapping and Geocoding\";s:4:\"desc\";N;s:2:\"id\";s:19:\"MappingandGeocoding\";s:3:\"url\";s:54:\"/index.php?q=civicrm/admin/setting/mapping&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:62:\"{weight}.Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)\";a:6:{s:5:\"title\";s:53:\"Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)\";s:4:\"desc\";s:91:\"Enable undelete/move to trash feature, detailed change logging, ReCAPTCHA to protect forms.\";s:2:\"id\";s:46:\"Misc_Undelete_PDFs_Limits_Logging_Captcha_etc.\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/misc&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:20:\"{weight}.Directories\";a:6:{s:5:\"title\";s:11:\"Directories\";s:4:\"desc\";N;s:2:\"id\";s:11:\"Directories\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/setting/path&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:22:\"{weight}.Resource URLs\";a:6:{s:5:\"title\";s:13:\"Resource URLs\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ResourceURLs\";s:3:\"url\";s:50:\"/index.php?q=civicrm/admin/setting/url&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:40:\"{weight}.Cleanup Caches and Update Paths\";a:6:{s:5:\"title\";s:31:\"Cleanup Caches and Update Paths\";s:4:\"desc\";s:157:\"Reset the Base Directory Path and Base URL settings - generally when a CiviCRM site is moved to another location in the file system and/or to another domain.\";s:2:\"id\";s:27:\"CleanupCachesandUpdatePaths\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1\";s:4:\"icon\";s:26:\"admin/small/updatepath.png\";s:5:\"extra\";N;}s:33:\"{weight}.CMS Database Integration\";a:6:{s:5:\"title\";s:24:\"CMS Database Integration\";s:4:\"desc\";N;s:2:\"id\";s:22:\"CMSDatabaseIntegration\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/setting/uf&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:36:\"{weight}.Safe File Extension Options\";a:6:{s:5:\"title\";s:27:\"Safe File Extension Options\";s:4:\"desc\";s:44:\"File Extensions that can be considered safe.\";s:2:\"id\";s:24:\"SafeFileExtensionOptions\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/safe_file_extension&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:22:\"{weight}.Option Groups\";a:6:{s:5:\"title\";s:13:\"Option Groups\";s:4:\"desc\";s:35:\"Access all meta-data option groups.\";s:2:\"id\";s:12:\"OptionGroups\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/options&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Import/Export Mappings\";a:6:{s:5:\"title\";s:22:\"Import/Export Mappings\";s:4:\"desc\";s:141:\"Import and Export mappings allow you to easily run the same job multiple times. This option allows you to rename or delete existing mappings.\";s:2:\"id\";s:21:\"Import_ExportMappings\";s:3:\"url\";s:46:\"/index.php?q=civicrm/admin/mapping&reset=1\";s:4:\"icon\";s:33:\"admin/small/import_export_map.png\";s:5:\"extra\";N;}s:18:\"{weight}.Debugging\";a:6:{s:5:\"title\";s:9:\"Debugging\";s:4:\"desc\";N;s:2:\"id\";s:9:\"Debugging\";s:3:\"url\";s:52:\"/index.php?q=civicrm/admin/setting/debug&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:28:\"{weight}.Multi Site Settings\";a:6:{s:5:\"title\";s:19:\"Multi Site Settings\";s:4:\"desc\";N;s:2:\"id\";s:17:\"MultiSiteSettings\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/setting/preferences/multisite&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}s:23:\"{weight}.Scheduled Jobs\";a:6:{s:5:\"title\";s:14:\"Scheduled Jobs\";s:4:\"desc\";s:35:\"Managing periodially running tasks.\";s:2:\"id\";s:13:\"ScheduledJobs\";s:3:\"url\";s:42:\"/index.php?q=civicrm/admin/job&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:22:\"{weight}.Sms Providers\";a:6:{s:5:\"title\";s:13:\"Sms Providers\";s:4:\"desc\";s:27:\"To configure a sms provider\";s:2:\"id\";s:12:\"SmsProviders\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/sms/provider&reset=1\";s:4:\"icon\";s:18:\"admin/small/36.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:9;}s:12:\"CiviCampaign\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:40:\"{weight}.CiviCampaign Component Settings\";a:6:{s:5:\"title\";s:31:\"CiviCampaign Component Settings\";s:4:\"desc\";s:40:\"Configure global CiviCampaign behaviors.\";s:2:\"id\";s:29:\"CiviCampaignComponentSettings\";s:3:\"url\";s:67:\"/index.php?q=civicrm/admin/setting/preferences/campaign&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:21:\"{weight}.Survey Types\";a:6:{s:5:\"title\";s:12:\"Survey Types\";s:4:\"desc\";N;s:2:\"id\";s:11:\"SurveyTypes\";s:3:\"url\";s:58:\"/index.php?q=civicrm/admin/campaign/surveyType&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:23:\"{weight}.Campaign Types\";a:6:{s:5:\"title\";s:14:\"Campaign Types\";s:4:\"desc\";s:47:\"categorize your campaigns using campaign types.\";s:2:\"id\";s:13:\"CampaignTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/options/campaign_type&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:24:\"{weight}.Campaign Status\";a:6:{s:5:\"title\";s:15:\"Campaign Status\";s:4:\"desc\";s:34:\"Define statuses for campaign here.\";s:2:\"id\";s:14:\"CampaignStatus\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/options/campaign_status&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}s:25:\"{weight}.Engagement Index\";a:6:{s:5:\"title\";s:16:\"Engagement Index\";s:4:\"desc\";s:18:\"Engagement levels.\";s:2:\"id\";s:15:\"EngagementIndex\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/engagement_index&reset=1\";s:4:\"icon\";s:18:\"admin/small/05.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:3;}s:9:\"CiviEvent\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:37:\"{weight}.CiviEvent Component Settings\";a:6:{s:5:\"title\";s:28:\"CiviEvent Component Settings\";s:4:\"desc\";s:37:\"Configure global CiviEvent behaviors.\";s:2:\"id\";s:26:\"CiviEventComponentSettings\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/setting/preferences/event&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:33:\"{weight}.Event Name Badge Layouts\";a:6:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:4:\"desc\";s:107:\"Configure name badge layouts for event participants, including logos and what data to include on the badge.\";s:2:\"id\";s:21:\"EventNameBadgeLayouts\";s:3:\"url\";s:68:\"/index.php?q=civicrm/admin/badgelayout&action=browse&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Manage Events\";a:6:{s:5:\"title\";s:13:\"Manage Events\";s:4:\"desc\";s:136:\"Create and edit event configuration including times, locations, online registration forms, and fees. Links for iCal and RSS syndication.\";s:2:\"id\";s:12:\"ManageEvents\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/event&reset=1\";s:4:\"icon\";s:28:\"admin/small/event_manage.png\";s:5:\"extra\";N;}s:24:\"{weight}.Event Templates\";a:6:{s:5:\"title\";s:15:\"Event Templates\";s:4:\"desc\";s:115:\"Administrators can create Event Templates - which are basically master event records pre-filled with default values\";s:2:\"id\";s:14:\"EventTemplates\";s:3:\"url\";s:52:\"/index.php?q=civicrm/admin/eventTemplate&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:20:\"{weight}.Event Types\";a:6:{s:5:\"title\";s:11:\"Event Types\";s:4:\"desc\";s:143:\"Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.\";s:2:\"id\";s:10:\"EventTypes\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/event_type&reset=1\";s:4:\"icon\";s:26:\"admin/small/event_type.png\";s:5:\"extra\";N;}s:27:\"{weight}.Participant Status\";a:6:{s:5:\"title\";s:18:\"Participant Status\";s:4:\"desc\";s:154:\"Define statuses for event participants here (e.g. Registered, Attended, Cancelled...). You can then assign statuses and search for participants by status.\";s:2:\"id\";s:17:\"ParticipantStatus\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/participant_status&reset=1\";s:4:\"icon\";s:28:\"admin/small/parti_status.png\";s:5:\"extra\";N;}s:25:\"{weight}.Participant Role\";a:6:{s:5:\"title\";s:16:\"Participant Role\";s:4:\"desc\";s:138:\"Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.\";s:2:\"id\";s:15:\"ParticipantRole\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/participant_role&reset=1\";s:4:\"icon\";s:26:\"admin/small/parti_role.png\";s:5:\"extra\";N;}s:38:\"{weight}.Participant Listing Templates\";a:6:{s:5:\"title\";s:29:\"Participant Listing Templates\";s:4:\"desc\";s:48:\"Template to control participant listing display.\";s:2:\"id\";s:27:\"ParticipantListingTemplates\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/options/participant_listing&reset=1\";s:4:\"icon\";s:18:\"admin/small/01.png\";s:5:\"extra\";N;}s:31:\"{weight}.Conference Slot Labels\";a:6:{s:5:\"title\";s:22:\"Conference Slot Labels\";s:4:\"desc\";s:35:\"Define conference slots and labels.\";s:2:\"id\";s:20:\"ConferenceSlotLabels\";s:3:\"url\";s:81:\"/index.php?q=civicrm/admin/conference_slots&group=conference_slot&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:5;}s:8:\"CiviMail\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:36:\"{weight}.CiviMail Component Settings\";a:6:{s:5:\"title\";s:27:\"CiviMail Component Settings\";s:4:\"desc\";s:36:\"Configure global CiviMail behaviors.\";s:2:\"id\";s:25:\"CiviMailComponentSettings\";s:3:\"url\";s:66:\"/index.php?q=civicrm/admin/setting/preferences/mailing&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Mailer Settings\";a:6:{s:5:\"title\";s:15:\"Mailer Settings\";s:4:\"desc\";s:61:\"Configure spool period, throttling and other mailer settings.\";s:2:\"id\";s:14:\"MailerSettings\";s:3:\"url\";s:43:\"/index.php?q=civicrm/admin/mail&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}s:49:\"{weight}.Headers, Footers, and Automated Messages\";a:6:{s:5:\"title\";s:40:\"Headers, Footers, and Automated Messages\";s:4:\"desc\";s:143:\"Configure the header and footer used for mailings. Customize the content of automated Subscribe, Unsubscribe, Resubscribe and Opt-out messages.\";s:2:\"id\";s:36:\"Headers_Footers_andAutomatedMessages\";s:3:\"url\";s:48:\"/index.php?q=civicrm/admin/component&reset=1\";s:4:\"icon\";s:23:\"admin/small/Profile.png\";s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:74:\"/index.php?q=civicrm/admin/options/from_email_address/civimail&reset=1\";s:4:\"icon\";s:21:\"admin/small/title.png\";s:5:\"extra\";N;}s:22:\"{weight}.Mail Accounts\";a:6:{s:5:\"title\";s:13:\"Mail Accounts\";s:4:\"desc\";s:32:\"Configure email account setting.\";s:2:\"id\";s:12:\"MailAccounts\";s:3:\"url\";s:51:\"/index.php?q=civicrm/admin/mailSettings&reset=1\";s:4:\"icon\";s:18:\"admin/small/07.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:3;}s:10:\"CiviMember\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:38:\"{weight}.CiviMember Component Settings\";a:6:{s:5:\"title\";s:29:\"CiviMember Component Settings\";s:4:\"desc\";s:38:\"Configure global CiviMember behaviors.\";s:2:\"id\";s:27:\"CiviMemberComponentSettings\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/setting/preferences/member&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Membership Types\";a:6:{s:5:\"title\";s:16:\"Membership Types\";s:4:\"desc\";s:174:\"Define the types of memberships you want to offer. For each type, you can specify a \'name\' (Gold Member, Honor Society Member...), a description, duration, and a minimum fee.\";s:2:\"id\";s:15:\"MembershipTypes\";s:3:\"url\";s:60:\"/index.php?q=civicrm/admin/member/membershipType&reset=1\";s:4:\"icon\";s:31:\"admin/small/membership_type.png\";s:5:\"extra\";N;}s:32:\"{weight}.Membership Status Rules\";a:6:{s:5:\"title\";s:23:\"Membership Status Rules\";s:4:\"desc\";s:187:\"Status \'rules\' define the current status for a membership based on that membership\'s start and end dates. You can adjust the default status options and rules as needed to meet your needs.\";s:2:\"id\";s:21:\"MembershipStatusRules\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/member/membershipStatus&reset=1\";s:4:\"icon\";s:33:\"admin/small/membership_status.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:6:\"Manage\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:27:\"{weight}.Scheduled Jobs Log\";a:6:{s:5:\"title\";s:18:\"Scheduled Jobs Log\";s:4:\"desc\";s:46:\"Browsing the log of periodially running tasks.\";s:2:\"id\";s:16:\"ScheduledJobsLog\";s:3:\"url\";s:45:\"/index.php?q=civicrm/admin/joblog&reset=1\";s:4:\"icon\";s:18:\"admin/small/13.png\";s:5:\"extra\";N;}s:42:\"{weight}.Find and Merge Duplicate Contacts\";a:6:{s:5:\"title\";s:33:\"Find and Merge Duplicate Contacts\";s:4:\"desc\";s:158:\"Manage the rules used to identify potentially duplicate contact records. Scan for duplicates using a selected rule and merge duplicate contact data as needed.\";s:2:\"id\";s:29:\"FindandMergeDuplicateContacts\";s:3:\"url\";s:52:\"/index.php?q=civicrm/contact/deduperules&reset=1\";s:4:\"icon\";s:34:\"admin/small/duplicate_matching.png\";s:5:\"extra\";N;}s:26:\"{weight}.Dedupe Exceptions\";a:6:{s:5:\"title\";s:17:\"Dedupe Exceptions\";s:4:\"desc\";N;s:2:\"id\";s:16:\"DedupeExceptions\";s:3:\"url\";s:49:\"/index.php?q=civicrm/dedupe/exception&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:12:\"Option Lists\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:20:\"{weight}.Grant Types\";a:6:{s:5:\"title\";s:11:\"Grant Types\";s:4:\"desc\";s:148:\"List of types which can be assigned to Grants. (Enable CiviGrant from Administer > Systme Settings > Enable Components if you want to track grants.)\";s:2:\"id\";s:10:\"GrantTypes\";s:3:\"url\";s:57:\"/index.php?q=civicrm/admin/options/grant_type&reset=1\";s:4:\"icon\";s:26:\"admin/small/grant_type.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:9:\"Customize\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:19:\"{weight}.Price Sets\";a:6:{s:5:\"title\";s:10:\"Price Sets\";s:4:\"desc\";s:205:\"Price sets allow you to offer multiple options with associated fees (e.g. pre-conference workshops, additional meals, etc.). Configure Price Sets for events which need more than a single set of fee levels.\";s:2:\"id\";s:9:\"PriceSets\";s:3:\"url\";s:44:\"/index.php?q=civicrm/admin/price&reset=1\";s:4:\"icon\";s:26:\"admin/small/price_sets.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:1;}s:14:\"CiviContribute\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:32:\"{weight}.Personal Campaign Pages\";a:6:{s:5:\"title\";s:23:\"Personal Campaign Pages\";s:4:\"desc\";s:49:\"View and manage existing personal campaign pages.\";s:2:\"id\";s:21:\"PersonalCampaignPages\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/pcp&context=contribute&reset=1\";s:4:\"icon\";s:34:\"admin/small/contribution_types.png\";s:5:\"extra\";N;}s:34:\"{weight}.Manage Contribution Pages\";a:6:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:4:\"desc\";s:242:\"CiviContribute allows you to create and maintain any number of Online Contribution Pages. You can create different pages for different programs or campaigns - and customize text, amounts, types of information collected from contributors, etc.\";s:2:\"id\";s:23:\"ManageContributionPages\";s:3:\"url\";s:49:\"/index.php?q=civicrm/admin/contribute&reset=1\";s:4:\"icon\";s:41:\"admin/small/online_contribution_pages.png\";s:5:\"extra\";N;}s:24:\"{weight}.Manage Premiums\";a:6:{s:5:\"title\";s:15:\"Manage Premiums\";s:4:\"desc\";s:175:\"CiviContribute allows you to configure any number of Premiums which can be offered to contributors as incentives / thank-you gifts. Define the premiums you want to offer here.\";s:2:\"id\";s:14:\"ManagePremiums\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/contribute/managePremiums&reset=1\";s:4:\"icon\";s:24:\"admin/small/Premiums.png\";s:5:\"extra\";N;}s:24:\"{weight}.Financial Types\";a:6:{s:5:\"title\";s:15:\"Financial Types\";s:4:\"desc\";s:64:\"Formerly civicrm_contribution_type merged into this table in 4.1\";s:2:\"id\";s:14:\"FinancialTypes\";s:3:\"url\";s:62:\"/index.php?q=civicrm/admin/financial/financialType&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Financial Accounts\";a:6:{s:5:\"title\";s:18:\"Financial Accounts\";s:4:\"desc\";s:128:\"Financial types are used to categorize contributions for reporting and accounting purposes. These are also referred to as Funds.\";s:2:\"id\";s:17:\"FinancialAccounts\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/financial/financialAccount&reset=1\";s:4:\"icon\";s:34:\"admin/small/contribution_types.png\";s:5:\"extra\";N;}s:24:\"{weight}.Payment Methods\";a:6:{s:5:\"title\";s:15:\"Payment Methods\";s:4:\"desc\";s:224:\"You may choose to record the payment instrument used for each contribution. Common payment methods are installed by default (e.g. Check, Cash, Credit Card...). If your site requires additional payment methods, add them here.\";s:2:\"id\";s:14:\"PaymentMethods\";s:3:\"url\";s:65:\"/index.php?q=civicrm/admin/options/payment_instrument&reset=1\";s:4:\"icon\";s:35:\"admin/small/payment_instruments.png\";s:5:\"extra\";N;}s:30:\"{weight}.Accepted Credit Cards\";a:6:{s:5:\"title\";s:21:\"Accepted Credit Cards\";s:4:\"desc\";s:94:\"Credit card options that will be offered to contributors using your Online Contribution pages.\";s:2:\"id\";s:19:\"AcceptedCreditCards\";s:3:\"url\";s:64:\"/index.php?q=civicrm/admin/options/accept_creditcard&reset=1\";s:4:\"icon\";s:36:\"admin/small/accepted_creditcards.png\";s:5:\"extra\";N;}s:26:\"{weight}.Soft Credit Types\";a:6:{s:5:\"title\";s:17:\"Soft Credit Types\";s:4:\"desc\";s:86:\"Soft Credit Types that will be offered to contributors during soft credit contribution\";s:2:\"id\";s:15:\"SoftCreditTypes\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/soft_credit_type&reset=1\";s:4:\"icon\";s:32:\"admin/small/soft_credit_type.png\";s:5:\"extra\";N;}s:42:\"{weight}.CiviContribute Component Settings\";a:6:{s:5:\"title\";s:33:\"CiviContribute Component Settings\";s:4:\"desc\";s:42:\"Configure global CiviContribute behaviors.\";s:2:\"id\";s:31:\"CiviContributeComponentSettings\";s:3:\"url\";s:69:\"/index.php?q=civicrm/admin/setting/preferences/contribute&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}s:9:\"perColumn\";d:5;}s:8:\"CiviCase\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:4:{s:19:\"{weight}.Case Types\";a:6:{s:5:\"title\";s:10:\"Case Types\";s:4:\"desc\";s:137:\"List of types which can be assigned to Cases. (Enable the Cases tab from System Settings - Enable Components if you want to track cases.)\";s:2:\"id\";s:9:\"CaseTypes\";s:3:\"url\";s:56:\"/index.php?q=civicrm/admin/options/case_type&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}s:24:\"{weight}.Redaction Rules\";a:6:{s:5:\"title\";s:15:\"Redaction Rules\";s:4:\"desc\";s:223:\"List of rules which can be applied to user input strings so that the redacted output can be recognized as repeated instances of the same string or can be identified as a \"semantic type of the data element\" within case data.\";s:2:\"id\";s:14:\"RedactionRules\";s:3:\"url\";s:61:\"/index.php?q=civicrm/admin/options/redaction_rule&reset=1\";s:4:\"icon\";s:30:\"admin/small/redaction_type.png\";s:5:\"extra\";N;}s:22:\"{weight}.Case Statuses\";a:6:{s:5:\"title\";s:13:\"Case Statuses\";s:4:\"desc\";s:48:\"List of statuses that can be assigned to a case.\";s:2:\"id\";s:12:\"CaseStatuses\";s:3:\"url\";s:58:\"/index.php?q=civicrm/admin/options/case_status&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}s:26:\"{weight}.Encounter Mediums\";a:6:{s:5:\"title\";s:17:\"Encounter Mediums\";s:4:\"desc\";s:26:\"List of encounter mediums.\";s:2:\"id\";s:16:\"EncounterMediums\";s:3:\"url\";s:63:\"/index.php?q=civicrm/admin/options/encounter_medium&reset=1\";s:4:\"icon\";s:25:\"admin/small/case_type.png\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}s:10:\"CiviReport\";a:3:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:40:\"{weight}.Create New Report from Template\";a:6:{s:5:\"title\";s:31:\"Create New Report from Template\";s:4:\"desc\";s:49:\"Component wise listing of all available templates\";s:2:\"id\";s:27:\"CreateNewReportfromTemplate\";s:3:\"url\";s:59:\"/index.php?q=civicrm/admin/report/template/list&reset=1\";s:4:\"icon\";s:31:\"admin/small/report_template.gif\";s:5:\"extra\";N;}s:25:\"{weight}.Manage Templates\";a:6:{s:5:\"title\";s:16:\"Manage Templates\";s:4:\"desc\";s:45:\"Browse, Edit and Delete the Report templates.\";s:2:\"id\";s:15:\"ManageTemplates\";s:3:\"url\";s:69:\"/index.php?q=civicrm/admin/report/options/report_template&reset=1\";s:4:\"icon\";s:24:\"admin/small/template.png\";s:5:\"extra\";N;}s:24:\"{weight}.Reports Listing\";a:6:{s:5:\"title\";s:15:\"Reports Listing\";s:4:\"desc\";s:60:\"Browse existing report, change report criteria and settings.\";s:2:\"id\";s:14:\"ReportsListing\";s:3:\"url\";s:50:\"/index.php?q=civicrm/admin/report/list&reset=1\";s:4:\"icon\";s:27:\"admin/small/report_list.gif\";s:5:\"extra\";N;}}s:9:\"perColumn\";d:2;}}' ) + + UPDATE civicrm_setting SET value = 'YsneMnVZ' WHERE name='navigation' AND contact_id IS NOT NULL + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'navigation' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173513) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173513) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + UPDATE civicrm_dashboard_contact SET content = NULL + + +SELECT find_word,replace_word,is_active,match_type +FROM civicrm_word_replacement +WHERE domain_id = 1 + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT locale_custom_strings FROM civicrm_domain WHERE id = 1 + + UPDATE civicrm_domain SET locale_custom_strings = 'a:1:{s:5:\"en_US\";a:0:{}}' WHERE id = 1 + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'settings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173513) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173513) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'settings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173513) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173513) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + SELECT id, name, value, domain_id, contact_id, is_domain, component_id, created_date, created_id +FROM civicrm_setting +WHERE (domain_id = 1) AND (is_domain = 1) + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_all._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'all' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'all' , 'a:132:{s:32:\"address_standardization_provider\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:32:\"address_standardization_provider\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:33:\"Address Standardization Provider.\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:492:\"CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. \";}s:30:\"address_standardization_userid\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:30:\"address_standardization_userid\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Web service user ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:27:\"address_standardization_url\";a:13:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:27:\"address_standardization_url\";s:4:\"type\";s:4:\"Text\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Web Service URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:15:\"Web Service URL\";s:17:\"validate_callback\";s:19:\"CRM_Utils_Rule::url\";}s:15:\"tag_unconfirmed\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:15:\"tag_unconfirmed\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:11:\"Unconfirmed\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:36:\"Tag for Unconfirmed Petition Signers\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:17:\"petition_contacts\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:17:\"petition_contacts\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:17:\"Petition Contacts\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Petition Signers Group\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:23:\"cvv_backoffice_required\";a:12:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:23:\"cvv_backoffice_required\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:28:\"CVV required for backoffice?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"Is the CVV code required for back office credit card transactions\";s:9:\"help_text\";s:137:\"If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change\";}s:29:\"contribution_invoice_settings\";a:11:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:29:\"contribution_invoice_settings\";s:4:\"type\";s:5:\"Array\";s:7:\"default\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Contribution Invoice Settings\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_view_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_view_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_view_options\";}s:7:\"default\";s:28:\"123456789101113\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Viewing Contacts\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_edit_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_edit_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_edit_options\";}s:7:\"default\";s:37:\"123456789111214151617\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Editing Contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"advanced_search_options\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:4:\"name\";s:23:\"advanced_search_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:23:\"advanced_search_options\";}s:7:\"default\";s:46:\"123456789101112131516171819\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:22:\"user_dashboard_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:22:\"user_dashboard_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:22:\"user_dashboard_options\";}s:7:\"default\";s:15:\"1234578\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Contact Dashboard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"address_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"address_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:15:\"address_options\";}s:7:\"default\";s:23:\"123456891011\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Addressing Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"address_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"address_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:8:\"TextArea\";s:7:\"default\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Address Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"mailing_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"mailing_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Mailing Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"display_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"display_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Display Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"sort_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"sort_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Sort Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"editor_id\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"editor_id\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";s:8:\"CKEditor\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Wysiwig Editor\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:26:\"contact_ajax_check_similar\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:26:\"contact_ajax_check_similar\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Ajax Check Similar\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:17:\"ajaxPopupsEnabled\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"ajaxPopupsEnabled\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:19:\"Ajax Popups Enabled\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:30:\"activity_assignee_notification\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:30:\"activity_assignee_notification\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Notify Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:34:\"activity_assignee_notification_ics\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:34:\"activity_assignee_notification_ics\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:41:\"Include ICal Invite to Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:28:\"contact_autocomplete_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:28:\"contact_autocomplete_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:27:\"Autocomplete Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.\";s:9:\"help_text\";N;}s:25:\"contact_reference_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:25:\"contact_reference_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:57:\"CRM_Admin_Form_Setting_Search::getContactReferenceOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Contact Reference Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:508:\"Selected fields will be displayed in autocomplete dropdown search results for \'Contact Reference\' custom fields. Contact Name is always included. NOTE: You must assign \'access contact reference fields\' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the \'Limit List to Group\' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.\";s:9:\"help_text\";N;}s:27:\"contact_smart_group_display\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"contact_smart_group_display\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:5:\"radio\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Viewing Smart Groups\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"max_attachments\";a:15:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"max_attachments\";s:10:\"legacy_key\";s:14:\"maxAttachments\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Maximum Attachments\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Maximum number of files (documents, images, etc.) which can attached to emails or activities.\";s:9:\"help_text\";N;}s:11:\"maxFileSize\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"maxFileSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:25:\"Maximum File Size (in MB)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.\";s:9:\"help_text\";N;}s:16:\"contact_undelete\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"contact_undelete\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Contact Trash and Undelete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:200:\"If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).\";s:9:\"help_text\";N;}s:24:\"allowPermDeleteFinancial\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:24:\"allowPermDeleteFinancial\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:24:\"Contact Permanent Delete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:81:\"Allow Permanent Delete for contacts who are linked to live financial transactions\";s:9:\"help_text\";N;}s:12:\"versionCheck\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"versionCheck\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:31:\"Automatically Check for Updates\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:13:\"securityAlert\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:13:\"securityAlert\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:13:\"Status Alerts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:154:\"If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.\";s:9:\"help_text\";N;}s:21:\"doNotAttachPDFReceipt\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"doNotAttachPDFReceipt\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Attach PDF copy to receipts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:98:\"If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.\";s:9:\"help_text\";N;}s:15:\"wkhtmltopdfPath\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"wkhtmltopdfPath\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:256;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Path to wkhtmltopdf executable\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"recaptchaOptions\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"recaptchaOptions\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Recaptcha Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:256:\"You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.\";s:9:\"help_text\";N;}s:18:\"recaptchaPublicKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:18:\"recaptchaPublicKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Recaptcha Site Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"recaptchaPrivateKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"recaptchaPrivateKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Recaptcha Secret Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:21:\"dashboardCacheTimeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"dashboardCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:3;s:9:\"maxlength\";i:5;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Dashboard cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"checksum_timeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"checksum_timeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";i:7;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Checksum Lifespan\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"blogUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"blogUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:13:\"Blog Feed URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:38:\"Blog feed URL used by the blog dashlet\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:20:\"communityMessagesUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"communityMessagesUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Community Messages URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:44:\"Service providing CiviCRM community messages\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:17:\"gettingStartedUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"gettingStartedUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Getting Started URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:42:\"Service providing the Getting Started data\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:12:\"resCacheCode\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"resCacheCode\";s:4:\"type\";s:6:\"String\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:12:\"resCacheCode\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:62:\"Code appended to resource URLs (JS/CSS) to coerce HTTP caching\";s:9:\"help_text\";N;}s:9:\"verifySSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"verifySSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:11:\"Verify SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:92:\"If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections\";s:9:\"help_text\";s:140:\"Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes\";}s:9:\"enableSSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"enableSSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:10:\"Force SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";s:9:\"help_text\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";}s:10:\"wpBasePage\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:10:\"wpBasePage\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"WordPress Base Page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"If set, CiviCRM will use this setting as the base url.\";s:9:\"help_text\";s:177:\"By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.\";}s:23:\"secondDegRelPermissions\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"secondDegRelPermissions\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:44:\"Allow second-degree relationship permissions\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"If enabled, contacts with the permission to edit a related contact will inherit that contact\'s permission to edit other related contacts\";s:9:\"help_text\";N;}s:17:\"enable_components\";a:16:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"enable_components\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:14:\"advmultiselect\";s:15:\"html_attributes\";a:3:{s:4:\"size\";i:5;s:5:\"style\";s:11:\"width:150px\";s:5:\"class\";s:14:\"advmultiselect\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:17:\"Enable Components\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;s:9:\"on_change\";a:3:{i:0;s:33:\"CRM_Case_Info::onToggleComponents\";i:1;s:42:\"CRM_Core_Component::flushEnabledComponents\";i:2;s:31:\"call://resources/resetCacheCode\";}}s:16:\"disable_core_css\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"disable_core_css\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:19:\"Disable CiviCRM css\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:55:\"Prevent the stylesheet \"civicrm.css\" from being loaded.\";s:9:\"help_text\";N;}s:11:\"empoweredBy\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"empoweredBy\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"Display \"empowered by CiviCRM\"\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:80:\"When enabled, \"empowered by CiviCRM\" is displayed at the bottom of public forms.\";s:9:\"help_text\";N;}s:7:\"logging\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"logging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:9:\"html_type\";s:0:\"\";s:7:\"default\";s:1:\"0\";s:5:\"title\";s:7:\"Logging\";s:11:\"description\";s:73:\"If enabled, all actions will be logged with a complete record of changes.\";s:17:\"validate_callback\";s:39:\"CRM_Logging_Schema::checkLoggingSupport\";s:9:\"on_change\";a:1:{i:0;s:28:\"CRM_Logging_Schema::onToggle\";}}s:27:\"userFrameworkUsersTableName\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"userFrameworkUsersTableName\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:23:\"Drupal Users Table Name\";s:11:\"description\";s:0:\"\";}s:9:\"wpLoadPhp\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"wpLoadPhp\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:29:\"WordPress Path to wp-load.php\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"CiviCRM will use this setting as path to bootstrap WP.\";s:9:\"help_text\";N;}s:7:\"site_id\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"site_id\";s:4:\"type\";s:6:\"String\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:14:\"Unique Site ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"systemStatusCheckResult\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"systemStatusCheckResult\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:23:\"systemStatusCheckResult\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"userFrameworkLogging\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:20:\"userFrameworkLogging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Enable Drupal Watchdog Logging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:101:\"Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs\";s:9:\"help_text\";s:239:\"Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS\' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal\'s watchdog enabled)\";}s:13:\"debug_enabled\";a:13:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:13:\"debug_enabled\";s:10:\"config_key\";s:5:\"debug\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Enable Debugging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:130:\"Set this value to Yes if you want to use one of CiviCRM\'s debugging tools. This feature should NOT be enabled for production sites\";s:9:\"help_text\";s:39:\"Do not turn this on on production sites\";}s:9:\"backtrace\";a:11:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:9:\"backtrace\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Display Backtrace\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:155:\"Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites\";}s:17:\"fatalErrorHandler\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:17:\"fatalErrorHandler\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Fatal Error Handler\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.\";}s:9:\"uploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:9:\"uploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Temporary Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:90:\"File system path where temporary CiviCRM files - such as import data files - are uploaded.\";}s:14:\"imageUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:14:\"imageUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Image Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:147:\"File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).\";s:9:\"help_text\";N;}s:19:\"customFileUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:19:\"customFileUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Custom Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:195:\"Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.\";s:9:\"help_text\";N;}s:17:\"customTemplateDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:17:\"customTemplateDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Custom Template Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:207:\"Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)\";s:9:\"help_text\";N;}s:16:\"customPHPPathDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:16:\"customPHPPathDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Custom PHP Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:99:\"Path where site specific PHP code files are stored if any. This directory is searched first if set.\";s:9:\"help_text\";N;}s:13:\"extensionsDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:13:\"extensionsDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Extensions Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:41:\"Path where CiviCRM extensions are stored.\";s:9:\"help_text\";N;}s:11:\"enable_cart\";a:12:{s:4:\"name\";s:11:\"enable_cart\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Enable Event Cart\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:8:\"WRITE ME\";s:9:\"help_text\";s:8:\"WRITE ME\";}s:11:\"show_events\";a:13:{s:4:\"name\";s:11:\"show_events\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:17:\"Dashboard entries\";s:9:\"html_type\";s:6:\"select\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:107:\"Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.\";s:9:\"help_text\";N;}s:12:\"ext_repo_url\";a:14:{s:10:\"group_name\";s:21:\"Extension Preferences\";s:5:\"group\";s:3:\"ext\";s:4:\"name\";s:12:\"ext_repo_url\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Extension Repo URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";s:0:\"\";}s:23:\"customTranslateFunction\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:23:\"customTranslateFunction\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"30\";s:9:\"maxlength\";s:3:\"100\";}s:7:\"default\";N;s:5:\"title\";s:25:\"Custom Translate Function\";s:11:\"description\";s:0:\"\";}s:25:\"monetaryThousandSeparator\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:25:\"monetaryThousandSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\",\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Thousands Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"monetaryDecimalPoint\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:20:\"monetaryDecimalPoint\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Decimal Delimiter\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:11:\"moneyformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:11:\"moneyformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%c %a\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Monetary Amount Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"moneyvalueformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:16:\"moneyvalueformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:3:\"%!i\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Monetary Value Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"defaultCurrency\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"defaultCurrency\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:3:\"USD\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Currency\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"Default currency assigned to contributions and other monetary transactions.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:55:\"CRM_Admin_Form_Setting_Localization::getCurrencySymbols\";}}s:21:\"defaultContactCountry\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:21:\"defaultContactCountry\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:0:{}s:7:\"default\";s:4:\"1228\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:15:\"Default Country\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:27:\"defaultContactStateProvince\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:27:\"defaultContactStateProvince\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:11:\"ChainSelect\";s:9:\"html_type\";s:11:\"ChainSelect\";s:7:\"default\";N;s:5:\"title\";s:22:\"Default State/Province\";s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";}s:12:\"countryLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:12:\"countryLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Available Countries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"provinceLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"provinceLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Available States and Provinces\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"inheritLocale\";a:12:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"inheritLocale\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Inherit CMS Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:18:\"dateformatDatetime\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:18:\"dateformatDatetime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:20:\"%B %E%f, %Y %l:%M %P\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Date Format: Complete Date and Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatFull\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatFull\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:11:\"%B %E%f, %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Date Format: Complete Date\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:17:\"dateformatPartial\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:17:\"dateformatPartial\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%B %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Date Format: Month and Year\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatTime\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatTime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:8:\"%l:%M %P\";s:5:\"title\";s:22:\"Date Format: Time Only\";s:11:\"description\";s:0:\"\";}s:14:\"dateformatYear\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatYear\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:2:\"%Y\";s:5:\"title\";s:22:\"Date Format: Year Only\";s:11:\"description\";s:0:\"\";}s:15:\"dateInputFormat\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"dateInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:48:\"CRM_Core_SelectValues::getDatePluginInputFormats\";}s:7:\"default\";s:8:\"mm/dd/yy\";s:5:\"title\";s:17:\"Date Input Format\";s:11:\"description\";s:0:\"\";}s:14:\"fieldSeparator\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"fieldSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:1:\"2\";s:9:\"maxlength\";s:1:\"8\";}s:7:\"default\";s:1:\",\";s:5:\"title\";s:31:\"Import / Export Field Separator\";s:11:\"description\";s:144:\"Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).\";}s:15:\"fiscalYearStart\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"fiscalYearStart\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:8:\"MonthDay\";s:9:\"html_type\";s:8:\"MonthDay\";s:7:\"default\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:5:\"title\";s:17:\"Fiscal Year Start\";s:11:\"description\";s:0:\"\";}s:13:\"languageLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"languageLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Available Languages (Multi-lingual)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:24:\"CRM_Core_I18n::languages\";}}s:10:\"lcMessages\";a:16:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"lcMessages\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:5:\"en_US\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions\";}s:9:\"on_change\";a:1:{i:0;s:55:\"CRM_Admin_Form_Setting_Localization::onChangeLcMessages\";}}s:14:\"legacyEncoding\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"legacyEncoding\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"30\";}s:7:\"default\";s:12:\"Windows-1252\";s:5:\"title\";s:15:\"Legacy Encoding\";s:11:\"description\";s:184:\"If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.\";}s:15:\"timeInputFormat\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"timeInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:37:\"CRM_Core_SelectValues::getTimeFormats\";}s:7:\"default\";s:1:\"1\";s:5:\"title\";s:17:\"Time Input Format\";s:11:\"description\";s:0:\"\";s:9:\"on_change\";a:1:{i:0;s:45:\"CRM_Core_BAO_PreferencesDate::onChangeSetting\";}}s:10:\"weekBegins\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"weekBegins\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:35:\"CRM_Utils_Date::getFullWeekdayNames\";}s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"Week begins on\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:24:\"contact_default_language\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:24:\"contact_default_language\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:62:\"CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions\";}s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Default Language for contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"Default language (if any) for contact records\";s:9:\"help_text\";s:197:\"If a contact is created with no language this setting will determine the language data (if any) to save.You may or may not wish to make an assumption here about whether it matches the site language\";}s:20:\"profile_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"profile_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:22:\"track_civimail_replies\";a:13:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:22:\"track_civimail_replies\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:43:\"Track replies using VERP in Reply-To header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:78:\"If checked, mailings will default to tracking replies using VERP-ed Reply-To. \";s:9:\"help_text\";N;s:17:\"validate_callback\";s:41:\"CRM_Core_BAO_Setting::validateBoolSetting\";}s:17:\"civimail_workflow\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:17:\"civimail_workflow\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:21:\"Use CiviMail Workflow\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:25:\"civimail_server_wide_lock\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:25:\"civimail_server_wide_lock\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:39:\"Lock Mails Server-Wide for Mail Sending\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"replyTo\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:7:\"replyTo\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:22:\"Enable Custom Reply-To\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Allow CiviMail users to send mailings with a custom Reply-To header\";s:9:\"help_text\";N;}s:15:\"mailing_backend\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:15:\"mailing_backend\";s:4:\"type\";s:5:\"Array\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Mailing Backend\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:33:\"profile_add_to_group_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:33:\"profile_add_to_group_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:30:\"disable_mandatory_tokens_check\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:30:\"disable_mandatory_tokens_check\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:34:\"Disable check for mandatory tokens\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:345:\"Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.\";s:9:\"help_text\";N;}s:20:\"dedupe_email_default\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"dedupe_email_default\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:44:\"CiviMail dedupes e-mail addresses by default\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:79:\"Set the \"dedupe e-mail\" option when sending a new mailing to \"true\" by default.\";s:9:\"help_text\";N;}s:16:\"hash_mailing_url\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"hash_mailing_url\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:20:\"Hashed Mailing URL\'s\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:131:\"If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID\";s:9:\"help_text\";N;}s:29:\"civimail_multiple_bulk_emails\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:29:\"civimail_multiple_bulk_emails\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:21:\" Multiple Bulk Emails\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:96:\"If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.\";s:9:\"help_text\";N;}s:18:\"include_message_id\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:18:\"include_message_id\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:45:\"Enable CiviMail to generate Message-ID header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:16:\"mailerBatchLimit\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailerBatchLimit\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:18:\"Mailer Batch Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:110:\"Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).\";s:9:\"help_text\";N;}s:13:\"mailerJobSize\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:15:\"Mailer Job Size\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:365:\"If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter \"0\" to disable multi-threading and process mail as one single job - batch limits still apply.\";s:9:\"help_text\";N;}s:13:\"mailerJobsMax\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobsMax\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:21:\"Mailer Cron Job Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:127:\"The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)\";s:9:\"help_text\";N;}s:16:\"mailThrottleTime\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailThrottleTime\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Mailer Throttle Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:234:\"The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.\";s:9:\"help_text\";N;}s:13:\"verpSeparator\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"verpSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:32;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"VERP Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:106:\"Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.\";s:9:\"help_text\";N;}s:21:\"write_activity_record\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:21:\"write_activity_record\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:48:\"Enable CiviMail to create activities on delivery\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"geoAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"geoAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Geo Provider Key\";s:11:\"description\";s:101:\"Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).\";}s:11:\"geoProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"geoProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::geoProvider\";}s:7:\"default\";N;s:5:\"title\";s:18:\"Geocoding Provider\";s:11:\"description\";s:229:\"You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.\";}s:9:\"mapAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"mapAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Map Provider Key\";s:11:\"description\";s:238:\"Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.\";}s:11:\"mapProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"mapProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::mapProvider\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Mapping Provider\";s:11:\"description\";s:98:\"Choose the mapping provider that has the best coverage for the majority of your contact addresses.\";}s:33:\"default_renewal_contribution_page\";a:13:{s:10:\"group_name\";s:18:\"Member Preferences\";s:5:\"group\";s:6:\"member\";s:4:\"name\";s:33:\"default_renewal_contribution_page\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:14:\"pseudoconstant\";a:1:{s:4:\"name\";s:16:\"contributionPage\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:38:\"Default online membership renewal page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:348:\"If you select a default online contribution page for self-service membership renewals, a \"renew\" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.\";s:9:\"help_text\";N;}s:10:\"is_enabled\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:10:\"is_enabled\";s:5:\"title\";s:20:\"Multisite Is enabled\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:20:\"Multisite is enabled\";s:9:\"help_text\";N;}s:15:\"domain_group_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:15:\"domain_group_id\";s:5:\"title\";s:22:\"Multisite Domain Group\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:25:\"event_price_set_domain_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:25:\"event_price_set_domain_id\";s:5:\"title\";s:22:\"Domain Event Price Set\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:19:\"uniq_email_per_site\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:19:\"uniq_email_per_site\";s:4:\"type\";s:7:\"Integer\";s:5:\"title\";s:24:\"Unique Email per Domain?\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:25:\"search_autocomplete_count\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:25:\"search_autocomplete_count\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:2;}s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Autocomplete Results\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"The maximum number of contacts to show at a time when typing in an autocomplete field.\";s:9:\"help_text\";N;}s:17:\"enable_innodb_fts\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:17:\"enable_innodb_fts\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:23:\"InnoDB Full Text Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)\";s:9:\"help_text\";N;s:9:\"on_change\";a:1:{i:0;a:2:{i:0;s:22:\"CRM_Core_InnoDBIndexer\";i:1;s:11:\"onToggleFts\";}}}s:14:\"fts_query_mode\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:14:\"fts_query_mode\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:6:\"simple\";s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"How to handle full-tet queries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"includeOrderByClause\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:20:\"includeOrderByClause\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:23:\"Include Order By Clause\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:119:\"If disabled, the search results will not be ordered. This may improve response time on search results on large datasets\";s:9:\"help_text\";N;}s:21:\"includeWildCardInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeWildCardInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:18:\"Automatic Wildcard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:745:\"If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for \'ada\' will return any contact whose name includes those letters - e.g. \'Adams, Janet\', \'Nadal, Jorge\', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for \'ada\' will return any contact whose last name begins with those letters - e.g. \'Adams, Janet\' but NOT \'Nadal, Jorge\'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards (\'%\' or \'_\') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: \'%ada\' will return \'Nadal, Jorge\'.\";s:9:\"help_text\";N;}s:18:\"includeEmailInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:18:\"includeEmailInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:13:\"Include Email\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:299:\"If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.\";s:9:\"help_text\";N;}s:21:\"includeNickNameInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeNickNameInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:16:\"Include Nickname\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"If enabled, nicknames are automatically included when users search by Name.\";s:9:\"help_text\";N;}s:24:\"includeAlphabeticalPager\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:24:\"includeAlphabeticalPager\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:26:\"Include Alphabetical Pager\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:149:\"If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.\";s:9:\"help_text\";N;}s:22:\"smartGroupCacheTimeout\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"smartGroupCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";i:5;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:25:\"Smart group cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:249:\"The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.\";s:9:\"help_text\";N;}s:22:\"defaultSearchProfileID\";a:15:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"defaultSearchProfileID\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:51:\"CRM_Admin_Form_Setting_Search::getAvailableProfiles\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:30:\"Default Contact Search Profile\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"If set, this will be the default profile used for contact search.\";s:9:\"help_text\";N;}s:24:\"userFrameworkResourceURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:24:\"userFrameworkResourceURL\";s:5:\"title\";s:20:\"CiviCRM Resource URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"Absolute URL of the location where the civicrm module or component has been installed.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:14:\"imageUploadURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:16:\"Image Upload URL\";s:4:\"name\";s:14:\"imageUploadURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"URL of the location for uploaded image files.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:12:\"customCSSURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:12:\"customCSSURL\";s:5:\"title\";s:14:\"Custom CSS URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:270:\"You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:13:\"extensionsURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:22:\"Extension Resource URL\";s:4:\"name\";s:13:\"extensionsURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}}' , 20151201183513 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_all._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_settingsMetadata_1_._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'settingsMetadata_1_' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'settingsMetadata_1_' , 'a:132:{s:32:\"address_standardization_provider\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:32:\"address_standardization_provider\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:33:\"Address Standardization Provider.\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:492:\"CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. \";}s:30:\"address_standardization_userid\";a:12:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:30:\"address_standardization_userid\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Web service user ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:27:\"address_standardization_url\";a:13:{s:10:\"group_name\";s:19:\"Address Preferences\";s:5:\"group\";s:7:\"address\";s:4:\"name\";s:27:\"address_standardization_url\";s:4:\"type\";s:4:\"Text\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Web Service URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:15:\"Web Service URL\";s:17:\"validate_callback\";s:19:\"CRM_Utils_Rule::url\";}s:15:\"tag_unconfirmed\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:15:\"tag_unconfirmed\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:11:\"Unconfirmed\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:36:\"Tag for Unconfirmed Petition Signers\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:17:\"petition_contacts\";a:12:{s:10:\"group_name\";s:20:\"Campaign Preferences\";s:5:\"group\";s:8:\"campaign\";s:4:\"name\";s:17:\"petition_contacts\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:17:\"Petition Contacts\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Petition Signers Group\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:94:\"If set, new contacts that are created when signing a petition are assigned a tag of this name.\";}s:23:\"cvv_backoffice_required\";a:12:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:23:\"cvv_backoffice_required\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:28:\"CVV required for backoffice?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"Is the CVV code required for back office credit card transactions\";s:9:\"help_text\";s:137:\"If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change\";}s:29:\"contribution_invoice_settings\";a:11:{s:10:\"group_name\";s:22:\"Contribute Preferences\";s:5:\"group\";s:10:\"contribute\";s:4:\"name\";s:29:\"contribution_invoice_settings\";s:4:\"type\";s:5:\"Array\";s:7:\"default\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Contribution Invoice Settings\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_view_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_view_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_view_options\";}s:7:\"default\";s:28:\"123456789101113\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Viewing Contacts\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"contact_edit_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"contact_edit_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:20:\"contact_edit_options\";}s:7:\"default\";s:37:\"123456789111214151617\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Editing Contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"advanced_search_options\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:4:\"name\";s:23:\"advanced_search_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:23:\"advanced_search_options\";}s:7:\"default\";s:46:\"123456789101112131516171819\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:22:\"user_dashboard_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:22:\"user_dashboard_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:10:\"checkboxes\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:22:\"user_dashboard_options\";}s:7:\"default\";s:15:\"1234578\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Contact Dashboard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"address_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"address_options\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:14:\"pseudoconstant\";a:1:{s:15:\"optionGroupName\";s:15:\"address_options\";}s:7:\"default\";s:23:\"123456891011\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Addressing Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"address_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"address_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:8:\"TextArea\";s:7:\"default\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Address Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:14:\"mailing_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:14:\"mailing_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Mailing Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"display_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"display_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:19:\"Display Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"sort_name_format\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"sort_name_format\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:16:\"Sort Name Format\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"editor_id\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"editor_id\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";s:8:\"CKEditor\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:14:\"Wysiwig Editor\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:26:\"contact_ajax_check_similar\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:26:\"contact_ajax_check_similar\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:18:\"Ajax Check Similar\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:17:\"ajaxPopupsEnabled\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"ajaxPopupsEnabled\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:19:\"Ajax Popups Enabled\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:30:\"activity_assignee_notification\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:30:\"activity_assignee_notification\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Notify Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:34:\"activity_assignee_notification_ics\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:34:\"activity_assignee_notification_ics\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:41:\"Include ICal Invite to Activity Assignees\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:28:\"contact_autocomplete_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:28:\"contact_autocomplete_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:27:\"Autocomplete Contact Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.\";s:9:\"help_text\";N;}s:25:\"contact_reference_options\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:25:\"contact_reference_options\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:8:\"CheckBox\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:57:\"CRM_Admin_Form_Setting_Search::getContactReferenceOptions\";}s:7:\"default\";s:5:\"12\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Contact Reference Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:508:\"Selected fields will be displayed in autocomplete dropdown search results for \'Contact Reference\' custom fields. Contact Name is always included. NOTE: You must assign \'access contact reference fields\' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the \'Limit List to Group\' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.\";s:9:\"help_text\";N;}s:27:\"contact_smart_group_display\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"contact_smart_group_display\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:5:\"radio\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Viewing Smart Groups\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"max_attachments\";a:15:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"max_attachments\";s:10:\"legacy_key\";s:14:\"maxAttachments\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Maximum Attachments\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Maximum number of files (documents, images, etc.) which can attached to emails or activities.\";s:9:\"help_text\";N;}s:11:\"maxFileSize\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"maxFileSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:7:\"default\";i:3;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:25:\"Maximum File Size (in MB)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:140:\"Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.\";s:9:\"help_text\";N;}s:16:\"contact_undelete\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"contact_undelete\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Contact Trash and Undelete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:200:\"If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).\";s:9:\"help_text\";N;}s:24:\"allowPermDeleteFinancial\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:24:\"allowPermDeleteFinancial\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:24:\"Contact Permanent Delete\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:81:\"Allow Permanent Delete for contacts who are linked to live financial transactions\";s:9:\"help_text\";N;}s:12:\"versionCheck\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"versionCheck\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:31:\"Automatically Check for Updates\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:13:\"securityAlert\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:13:\"securityAlert\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:13:\"Status Alerts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:154:\"If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.\";s:9:\"help_text\";N;}s:21:\"doNotAttachPDFReceipt\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"doNotAttachPDFReceipt\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Attach PDF copy to receipts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:98:\"If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.\";s:9:\"help_text\";N;}s:15:\"wkhtmltopdfPath\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:15:\"wkhtmltopdfPath\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:256;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Path to wkhtmltopdf executable\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"recaptchaOptions\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"recaptchaOptions\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Recaptcha Options\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:256:\"You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at Customizing the Look and Feel of reCAPTCHA.\";s:9:\"help_text\";N;}s:18:\"recaptchaPublicKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:18:\"recaptchaPublicKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Recaptcha Site Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:19:\"recaptchaPrivateKey\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:19:\"recaptchaPrivateKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Recaptcha Secret Key\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:21:\"dashboardCacheTimeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:21:\"dashboardCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:3;s:9:\"maxlength\";i:5;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Dashboard cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"checksum_timeout\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"checksum_timeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:8;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";i:7;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Checksum Lifespan\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"blogUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"blogUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:13:\"Blog Feed URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:38:\"Blog feed URL used by the blog dashlet\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:20:\"communityMessagesUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:20:\"communityMessagesUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Community Messages URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:44:\"Service providing CiviCRM community messages\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:17:\"gettingStartedUrl\";a:14:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"gettingStartedUrl\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Getting Started URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:42:\"Service providing the Getting Started data\";s:9:\"help_text\";s:68:\"Use \"*default*\" for the system default or override with a custom URL\";}s:12:\"resCacheCode\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:12:\"resCacheCode\";s:4:\"type\";s:6:\"String\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:12:\"resCacheCode\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:62:\"Code appended to resource URLs (JS/CSS) to coerce HTTP caching\";s:9:\"help_text\";N;}s:9:\"verifySSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"verifySSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:11:\"Verify SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:92:\"If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections\";s:9:\"help_text\";s:140:\"Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes\";}s:9:\"enableSSL\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"enableSSL\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:10:\"Force SSL?\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";s:9:\"help_text\";s:82:\"If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.\";}s:10:\"wpBasePage\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:10:\"wpBasePage\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"WordPress Base Page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"If set, CiviCRM will use this setting as the base url.\";s:9:\"help_text\";s:177:\"By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.\";}s:23:\"secondDegRelPermissions\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"secondDegRelPermissions\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:44:\"Allow second-degree relationship permissions\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"If enabled, contacts with the permission to edit a related contact will inherit that contact\'s permission to edit other related contacts\";s:9:\"help_text\";N;}s:17:\"enable_components\";a:16:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:17:\"enable_components\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:14:\"advmultiselect\";s:15:\"html_attributes\";a:3:{s:4:\"size\";i:5;s:5:\"style\";s:11:\"width:150px\";s:5:\"class\";s:14:\"advmultiselect\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:17:\"Enable Components\";s:9:\"is_domain\";s:1:\"1\";s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;s:9:\"on_change\";a:3:{i:0;s:33:\"CRM_Case_Info::onToggleComponents\";i:1;s:42:\"CRM_Core_Component::flushEnabledComponents\";i:2;s:31:\"call://resources/resetCacheCode\";}}s:16:\"disable_core_css\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:16:\"disable_core_css\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:19:\"Disable CiviCRM css\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:55:\"Prevent the stylesheet \"civicrm.css\" from being loaded.\";s:9:\"help_text\";N;}s:11:\"empoweredBy\";a:12:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:11:\"empoweredBy\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"Display \"empowered by CiviCRM\"\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:80:\"When enabled, \"empowered by CiviCRM\" is displayed at the bottom of public forms.\";s:9:\"help_text\";N;}s:7:\"logging\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"logging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:9:\"html_type\";s:0:\"\";s:7:\"default\";s:1:\"0\";s:5:\"title\";s:7:\"Logging\";s:11:\"description\";s:73:\"If enabled, all actions will be logged with a complete record of changes.\";s:17:\"validate_callback\";s:39:\"CRM_Logging_Schema::checkLoggingSupport\";s:9:\"on_change\";a:1:{i:0;s:28:\"CRM_Logging_Schema::onToggle\";}}s:27:\"userFrameworkUsersTableName\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:27:\"userFrameworkUsersTableName\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:23:\"Drupal Users Table Name\";s:11:\"description\";s:0:\"\";}s:9:\"wpLoadPhp\";a:13:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:9:\"wpLoadPhp\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:29:\"WordPress Path to wp-load.php\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:54:\"CiviCRM will use this setting as path to bootstrap WP.\";s:9:\"help_text\";N;}s:7:\"site_id\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:7:\"site_id\";s:4:\"type\";s:6:\"String\";s:7:\"default\";s:0:\"\";s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:14:\"Unique Site ID\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:23:\"systemStatusCheckResult\";a:11:{s:10:\"group_name\";s:19:\"CiviCRM Preferences\";s:5:\"group\";s:4:\"core\";s:4:\"name\";s:23:\"systemStatusCheckResult\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:23:\"systemStatusCheckResult\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"userFrameworkLogging\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:20:\"userFrameworkLogging\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Enable Drupal Watchdog Logging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:101:\"Set this value to Yes if you want CiviCRM error/debugging messages to appear in the Drupal error logs\";s:9:\"help_text\";s:239:\"Set this value to Yes if you want CiviCRM error/debugging messages the appear in your CMS\' error log. In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal\'s watchdog enabled)\";}s:13:\"debug_enabled\";a:13:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:13:\"debug_enabled\";s:10:\"config_key\";s:5:\"debug\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Enable Debugging\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:130:\"Set this value to Yes if you want to use one of CiviCRM\'s debugging tools. This feature should NOT be enabled for production sites\";s:9:\"help_text\";s:39:\"Do not turn this on on production sites\";}s:9:\"backtrace\";a:11:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:9:\"backtrace\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Display Backtrace\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:155:\"Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites\";}s:17:\"fatalErrorHandler\";a:12:{s:10:\"group_name\";s:21:\"Developer Preferences\";s:5:\"group\";s:9:\"developer\";s:4:\"name\";s:17:\"fatalErrorHandler\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Fatal Error Handler\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:136:\"Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.\";}s:9:\"uploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:9:\"uploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Temporary Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";s:90:\"File system path where temporary CiviCRM files - such as import data files - are uploaded.\";}s:14:\"imageUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:14:\"imageUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Image Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:147:\"File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).\";s:9:\"help_text\";N;}s:19:\"customFileUploadDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:19:\"customFileUploadDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:22:\"Custom Files Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:195:\"Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using \'file\' type custom fields.\";s:9:\"help_text\";N;}s:17:\"customTemplateDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:17:\"customTemplateDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:25:\"Custom Template Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:207:\"Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named templateFile.extra.tpl. (learn more...)\";s:9:\"help_text\";N;}s:16:\"customPHPPathDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:16:\"customPHPPathDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Custom PHP Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:99:\"Path where site specific PHP code files are stored if any. This directory is searched first if set.\";s:9:\"help_text\";N;}s:13:\"extensionsDir\";a:14:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:10:\"group_name\";s:21:\"Directory Preferences\";s:5:\"group\";s:9:\"directory\";s:4:\"name\";s:13:\"extensionsDir\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:20:\"Extensions Directory\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:41:\"Path where CiviCRM extensions are stored.\";s:9:\"help_text\";N;}s:11:\"enable_cart\";a:12:{s:4:\"name\";s:11:\"enable_cart\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:17:\"Enable Event Cart\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:8:\"WRITE ME\";s:9:\"help_text\";s:8:\"WRITE ME\";}s:11:\"show_events\";a:13:{s:4:\"name\";s:11:\"show_events\";s:10:\"group_name\";s:17:\"Event Preferences\";s:5:\"group\";s:5:\"event\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:17:\"Dashboard entries\";s:9:\"html_type\";s:6:\"select\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:107:\"Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.\";s:9:\"help_text\";N;}s:12:\"ext_repo_url\";a:14:{s:10:\"group_name\";s:21:\"Extension Preferences\";s:5:\"group\";s:3:\"ext\";s:4:\"name\";s:12:\"ext_repo_url\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:128;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:18:\"Extension Repo URL\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";s:0:\"\";}s:23:\"customTranslateFunction\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:23:\"customTranslateFunction\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"30\";s:9:\"maxlength\";s:3:\"100\";}s:7:\"default\";N;s:5:\"title\";s:25:\"Custom Translate Function\";s:11:\"description\";s:0:\"\";}s:25:\"monetaryThousandSeparator\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:25:\"monetaryThousandSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\",\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Thousands Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"monetaryDecimalPoint\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:20:\"monetaryDecimalPoint\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:1:{s:4:\"size\";i:2;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:17:\"Decimal Delimiter\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:11:\"moneyformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:11:\"moneyformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%c %a\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:23:\"Monetary Amount Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:16:\"moneyvalueformat\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:16:\"moneyvalueformat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:3:\"%!i\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:22:\"Monetary Value Display\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:15:\"defaultCurrency\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"defaultCurrency\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:3:\"USD\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Currency\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"Default currency assigned to contributions and other monetary transactions.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:55:\"CRM_Admin_Form_Setting_Localization::getCurrencySymbols\";}}s:21:\"defaultContactCountry\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:21:\"defaultContactCountry\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:0:{}s:7:\"default\";s:4:\"1228\";s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:15:\"Default Country\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:27:\"defaultContactStateProvince\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:27:\"defaultContactStateProvince\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:11:\"ChainSelect\";s:9:\"html_type\";s:11:\"ChainSelect\";s:7:\"default\";N;s:5:\"title\";s:22:\"Default State/Province\";s:11:\"description\";s:68:\"This value is selected by default when adding a new contact address.\";}s:12:\"countryLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:12:\"countryLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:19:\"Available Countries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"provinceLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"provinceLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";a:1:{i:0;s:4:\"1228\";}s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:30:\"Available States and Provinces\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:58:\"CRM_Admin_Form_Setting_Localization::getAvailableCountries\";}}s:13:\"inheritLocale\";a:12:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"inheritLocale\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Inherit CMS Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:18:\"dateformatDatetime\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:18:\"dateformatDatetime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:20:\"%B %E%f, %Y %l:%M %P\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Date Format: Complete Date and Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatFull\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatFull\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:11:\"%B %E%f, %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:26:\"Date Format: Complete Date\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:17:\"dateformatPartial\";a:13:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:17:\"dateformatPartial\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";s:5:\"%B %Y\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:27:\"Date Format: Month and Year\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:14:\"dateformatTime\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatTime\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:8:\"%l:%M %P\";s:5:\"title\";s:22:\"Date Format: Time Only\";s:11:\"description\";s:0:\"\";}s:14:\"dateformatYear\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"dateformatYear\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"60\";}s:7:\"default\";s:2:\"%Y\";s:5:\"title\";s:22:\"Date Format: Year Only\";s:11:\"description\";s:0:\"\";}s:15:\"dateInputFormat\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"dateInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:48:\"CRM_Core_SelectValues::getDatePluginInputFormats\";}s:7:\"default\";s:8:\"mm/dd/yy\";s:5:\"title\";s:17:\"Date Input Format\";s:11:\"description\";s:0:\"\";}s:14:\"fieldSeparator\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"fieldSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:1:\"2\";s:9:\"maxlength\";s:1:\"8\";}s:7:\"default\";s:1:\",\";s:5:\"title\";s:31:\"Import / Export Field Separator\";s:11:\"description\";s:144:\"Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).\";}s:15:\"fiscalYearStart\";a:13:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"fiscalYearStart\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:8:\"MonthDay\";s:9:\"html_type\";s:8:\"MonthDay\";s:7:\"default\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:5:\"title\";s:17:\"Fiscal Year Start\";s:11:\"description\";s:0:\"\";}s:13:\"languageLimit\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:13:\"languageLimit\";s:4:\"type\";s:5:\"Array\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:2:{s:8:\"multiple\";i:1;s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:35:\"Available Languages (Multi-lingual)\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:24:\"CRM_Core_I18n::languages\";}}s:10:\"lcMessages\";a:16:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"lcMessages\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:7:\"default\";s:5:\"en_US\";s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:16:\"Default Language\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:60:\"CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions\";}s:9:\"on_change\";a:1:{i:0;s:55:\"CRM_Admin_Form_Setting_Localization::onChangeLcMessages\";}}s:14:\"legacyEncoding\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:14:\"legacyEncoding\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"12\";s:9:\"maxlength\";s:2:\"30\";}s:7:\"default\";s:12:\"Windows-1252\";s:5:\"title\";s:15:\"Legacy Encoding\";s:11:\"description\";s:184:\"If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.\";}s:15:\"timeInputFormat\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:15:\"timeInputFormat\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:37:\"CRM_Core_SelectValues::getTimeFormats\";}s:7:\"default\";s:1:\"1\";s:5:\"title\";s:17:\"Time Input Format\";s:11:\"description\";s:0:\"\";s:9:\"on_change\";a:1:{i:0;s:45:\"CRM_Core_BAO_PreferencesDate::onChangeSetting\";}}s:10:\"weekBegins\";a:14:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:10:\"weekBegins\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:35:\"CRM_Utils_Date::getFullWeekdayNames\";}s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"Week begins on\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:24:\"contact_default_language\";a:15:{s:10:\"group_name\";s:24:\"Localization Preferences\";s:5:\"group\";s:12:\"localization\";s:4:\"name\";s:24:\"contact_default_language\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:62:\"CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions\";}s:7:\"default\";s:9:\"*default*\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:29:\"Default Language for contacts\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"Default language (if any) for contact records\";s:9:\"help_text\";s:197:\"If a contact is created with no language this setting will determine the language data (if any) to save.You may or may not wish to make an assumption here about whether it matches the site language\";}s:20:\"profile_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"profile_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:22:\"track_civimail_replies\";a:13:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:22:\"track_civimail_replies\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:43:\"Track replies using VERP in Reply-To header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:78:\"If checked, mailings will default to tracking replies using VERP-ed Reply-To. \";s:9:\"help_text\";N;s:17:\"validate_callback\";s:41:\"CRM_Core_BAO_Setting::validateBoolSetting\";}s:17:\"civimail_workflow\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:17:\"civimail_workflow\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:21:\"Use CiviMail Workflow\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:25:\"civimail_server_wide_lock\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:25:\"civimail_server_wide_lock\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:39:\"Lock Mails Server-Wide for Mail Sending\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:7:\"replyTo\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:7:\"replyTo\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:22:\"Enable Custom Reply-To\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Allow CiviMail users to send mailings with a custom Reply-To header\";s:9:\"help_text\";N;}s:15:\"mailing_backend\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:15:\"mailing_backend\";s:4:\"type\";s:5:\"Array\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:15:\"Mailing Backend\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:33:\"profile_add_to_group_double_optin\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:33:\"profile_add_to_group_double_optin\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:47:\"Enable Double Opt-in for Profile Group(s) field\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:189:\"When CiviMail is enabled, users who \"subscribe\" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.\";s:9:\"help_text\";N;}s:30:\"disable_mandatory_tokens_check\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:30:\"disable_mandatory_tokens_check\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:34:\"Disable check for mandatory tokens\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:345:\"Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.\";s:9:\"help_text\";N;}s:20:\"dedupe_email_default\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:20:\"dedupe_email_default\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:44:\"CiviMail dedupes e-mail addresses by default\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:79:\"Set the \"dedupe e-mail\" option when sending a new mailing to \"true\" by default.\";s:9:\"help_text\";N;}s:16:\"hash_mailing_url\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"hash_mailing_url\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:20:\"Hashed Mailing URL\'s\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:131:\"If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID\";s:9:\"help_text\";N;}s:29:\"civimail_multiple_bulk_emails\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:29:\"civimail_multiple_bulk_emails\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:21:\" Multiple Bulk Emails\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:96:\"If enabled, CiviMail will deliver a copy of the email to each bulk email listed for the contact.\";s:9:\"help_text\";N;}s:18:\"include_message_id\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:18:\"include_message_id\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:8:\"checkbox\";s:7:\"default\";b:0;s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:45:\"Enable CiviMail to generate Message-ID header\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:16:\"mailerBatchLimit\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailerBatchLimit\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:18:\"Mailer Batch Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:110:\"Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).\";s:9:\"help_text\";N;}s:13:\"mailerJobSize\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobSize\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:15:\"Mailer Job Size\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:365:\"If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter \"0\" to disable multi-threading and process mail as one single job - batch limits still apply.\";s:9:\"help_text\";N;}s:13:\"mailerJobsMax\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"mailerJobsMax\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:21:\"Mailer Cron Job Limit\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:127:\"The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)\";s:9:\"help_text\";N;}s:16:\"mailThrottleTime\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:16:\"mailThrottleTime\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:8;}s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:20:\"Mailer Throttle Time\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:234:\"The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.\";s:9:\"help_text\";N;}s:13:\"verpSeparator\";a:14:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:13:\"verpSeparator\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:4;s:9:\"maxlength\";i:32;}s:7:\"default\";s:1:\".\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:14:\"VERP Separator\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:106:\"Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.\";s:9:\"help_text\";N;}s:21:\"write_activity_record\";a:12:{s:10:\"group_name\";s:19:\"Mailing Preferences\";s:5:\"group\";s:7:\"mailing\";s:4:\"name\";s:21:\"write_activity_record\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";s:1:\"1\";s:3:\"add\";s:3:\"4.7\";s:5:\"title\";s:48:\"Enable CiviMail to create activities on delivery\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:9:\"geoAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"geoAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Geo Provider Key\";s:11:\"description\";s:101:\"Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).\";}s:11:\"geoProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"geoProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::geoProvider\";}s:7:\"default\";N;s:5:\"title\";s:18:\"Geocoding Provider\";s:11:\"description\";s:229:\"You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.\";}s:9:\"mapAPIKey\";a:14:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:9:\"mapAPIKey\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";s:2:\"32\";s:9:\"maxlength\";s:2:\"64\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Map Provider Key\";s:11:\"description\";s:238:\"Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.\";}s:11:\"mapProvider\";a:15:{s:3:\"add\";s:3:\"4.7\";s:9:\"help_text\";N;s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:10:\"group_name\";s:15:\"Map Preferences\";s:5:\"group\";s:3:\"map\";s:4:\"name\";s:11:\"mapProvider\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:34:\"CRM_Core_SelectValues::mapProvider\";}s:7:\"default\";N;s:5:\"title\";s:16:\"Mapping Provider\";s:11:\"description\";s:98:\"Choose the mapping provider that has the best coverage for the majority of your contact addresses.\";}s:33:\"default_renewal_contribution_page\";a:13:{s:10:\"group_name\";s:18:\"Member Preferences\";s:5:\"group\";s:6:\"member\";s:4:\"name\";s:33:\"default_renewal_contribution_page\";s:4:\"type\";s:7:\"Integer\";s:9:\"html_type\";s:6:\"Select\";s:7:\"default\";N;s:14:\"pseudoconstant\";a:1:{s:4:\"name\";s:16:\"contributionPage\";}s:3:\"add\";s:3:\"4.1\";s:5:\"title\";s:38:\"Default online membership renewal page\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:348:\"If you select a default online contribution page for self-service membership renewals, a \"renew\" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.\";s:9:\"help_text\";N;}s:10:\"is_enabled\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:10:\"is_enabled\";s:5:\"title\";s:20:\"Multisite Is enabled\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:20:\"Multisite is enabled\";s:9:\"help_text\";N;}s:15:\"domain_group_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:15:\"domain_group_id\";s:5:\"title\";s:22:\"Multisite Domain Group\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:25:\"event_price_set_domain_id\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:25:\"event_price_set_domain_id\";s:5:\"title\";s:22:\"Domain Event Price Set\";s:4:\"type\";s:7:\"Integer\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:19:\"uniq_email_per_site\";a:11:{s:10:\"group_name\";s:22:\"Multi Site Preferences\";s:5:\"group\";s:9:\"multisite\";s:4:\"name\";s:19:\"uniq_email_per_site\";s:4:\"type\";s:7:\"Integer\";s:5:\"title\";s:24:\"Unique Email per Domain?\";s:7:\"default\";s:1:\"0\";s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:0:\"\";s:9:\"help_text\";N;}s:25:\"search_autocomplete_count\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:25:\"search_autocomplete_count\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:2;s:9:\"maxlength\";i:2;}s:7:\"default\";i:10;s:3:\"add\";s:3:\"4.3\";s:5:\"title\";s:20:\"Autocomplete Results\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"The maximum number of contacts to show at a time when typing in an autocomplete field.\";s:9:\"help_text\";N;}s:17:\"enable_innodb_fts\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:17:\"enable_innodb_fts\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.4\";s:5:\"title\";s:23:\"InnoDB Full Text Search\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:67:\"Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)\";s:9:\"help_text\";N;s:9:\"on_change\";a:1:{i:0;a:2:{i:0;s:22:\"CRM_Core_InnoDBIndexer\";i:1;s:11:\"onToggleFts\";}}}s:14:\"fts_query_mode\";a:14:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:14:\"fts_query_mode\";s:4:\"type\";s:6:\"String\";s:15:\"quick_form_type\";s:7:\"Element\";s:15:\"html_attributes\";a:2:{s:4:\"size\";i:64;s:9:\"maxlength\";i:64;}s:9:\"html_type\";s:4:\"Text\";s:7:\"default\";s:6:\"simple\";s:3:\"add\";s:3:\"4.5\";s:5:\"title\";s:30:\"How to handle full-tet queries\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";N;s:9:\"help_text\";N;}s:20:\"includeOrderByClause\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:20:\"includeOrderByClause\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:23:\"Include Order By Clause\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:119:\"If disabled, the search results will not be ordered. This may improve response time on search results on large datasets\";s:9:\"help_text\";N;}s:21:\"includeWildCardInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeWildCardInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:18:\"Automatic Wildcard\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:745:\"If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for \'ada\' will return any contact whose name includes those letters - e.g. \'Adams, Janet\', \'Nadal, Jorge\', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for \'ada\' will return any contact whose last name begins with those letters - e.g. \'Adams, Janet\' but NOT \'Nadal, Jorge\'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards (\'%\' or \'_\') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: \'%ada\' will return \'Nadal, Jorge\'.\";s:9:\"help_text\";N;}s:18:\"includeEmailInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:18:\"includeEmailInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:13:\"Include Email\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:299:\"If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.\";s:9:\"help_text\";N;}s:21:\"includeNickNameInName\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:21:\"includeNickNameInName\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:0;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:16:\"Include Nickname\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:75:\"If enabled, nicknames are automatically included when users search by Name.\";s:9:\"help_text\";N;}s:24:\"includeAlphabeticalPager\";a:12:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:24:\"includeAlphabeticalPager\";s:4:\"type\";s:7:\"Boolean\";s:15:\"quick_form_type\";s:5:\"YesNo\";s:7:\"default\";i:1;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:26:\"Include Alphabetical Pager\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:149:\"If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.\";s:9:\"help_text\";N;}s:22:\"smartGroupCacheTimeout\";a:13:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"smartGroupCacheTimeout\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:7:\"Element\";s:9:\"html_type\";s:4:\"text\";s:7:\"default\";i:5;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:25:\"Smart group cache timeout\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:249:\"The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.\";s:9:\"help_text\";N;}s:22:\"defaultSearchProfileID\";a:15:{s:10:\"group_name\";s:18:\"Search Preferences\";s:5:\"group\";s:18:\"Search Preferences\";s:4:\"name\";s:22:\"defaultSearchProfileID\";s:4:\"type\";s:7:\"Integer\";s:15:\"quick_form_type\";s:6:\"Select\";s:9:\"html_type\";s:6:\"Select\";s:15:\"html_attributes\";a:1:{s:5:\"class\";s:11:\"crm-select2\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:51:\"CRM_Admin_Form_Setting_Search::getAvailableProfiles\";}s:7:\"default\";N;s:3:\"add\";s:3:\"4.6\";s:5:\"title\";s:30:\"Default Contact Search Profile\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:65:\"If set, this will be the default profile used for contact search.\";s:9:\"help_text\";N;}s:24:\"userFrameworkResourceURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:24:\"userFrameworkResourceURL\";s:5:\"title\";s:20:\"CiviCRM Resource URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:86:\"Absolute URL of the location where the civicrm module or component has been installed.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:14:\"imageUploadURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:16:\"Image Upload URL\";s:4:\"name\";s:14:\"imageUploadURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:45:\"URL of the location for uploaded image files.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:12:\"customCSSURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:4:\"name\";s:12:\"customCSSURL\";s:5:\"title\";s:14:\"Custom CSS URL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:270:\"You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}s:13:\"extensionsURL\";a:15:{s:17:\"bootstrap_comment\";s:118:\"This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().\";s:5:\"group\";s:3:\"url\";s:10:\"group_name\";s:15:\"URL Preferences\";s:5:\"title\";s:22:\"Extension Resource URL\";s:4:\"name\";s:13:\"extensionsURL\";s:4:\"type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:15:\"quick_form_type\";s:7:\"Element\";s:7:\"default\";N;s:3:\"add\";s:3:\"4.1\";s:9:\"is_domain\";i:1;s:10:\"is_contact\";i:0;s:11:\"description\";s:93:\"Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.\";s:9:\"help_text\";N;s:17:\"validate_callback\";s:22:\"CRM_Utils_Rule::urlish\";}}' , 20151201183513 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_settingsMetadata_1_._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.settings_defaults:domain._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('settings' , 'defaults:domain' , 'a:133:{s:32:\"address_standardization_provider\";N;s:30:\"address_standardization_userid\";N;s:27:\"address_standardization_url\";N;s:15:\"tag_unconfirmed\";s:11:\"Unconfirmed\";s:17:\"petition_contacts\";s:17:\"Petition Contacts\";s:23:\"cvv_backoffice_required\";s:1:\"1\";s:29:\"contribution_invoice_settings\";a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}s:20:\"contact_view_options\";s:28:\"123456789101113\";s:20:\"contact_edit_options\";s:37:\"123456789111214151617\";s:23:\"advanced_search_options\";s:46:\"123456789101112131516171819\";s:22:\"user_dashboard_options\";s:15:\"1234578\";s:15:\"address_options\";s:23:\"123456891011\";s:14:\"address_format\";s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:14:\"mailing_format\";s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";s:19:\"display_name_format\";s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";s:16:\"sort_name_format\";s:43:\"{contact.last_name}{, }{contact.first_name}\";s:9:\"editor_id\";s:8:\"CKEditor\";s:26:\"contact_ajax_check_similar\";s:1:\"1\";s:17:\"ajaxPopupsEnabled\";i:1;s:30:\"activity_assignee_notification\";s:1:\"1\";s:34:\"activity_assignee_notification_ics\";s:1:\"0\";s:28:\"contact_autocomplete_options\";s:5:\"12\";s:25:\"contact_reference_options\";s:5:\"12\";s:27:\"contact_smart_group_display\";s:1:\"1\";s:15:\"max_attachments\";i:3;s:11:\"maxFileSize\";i:3;s:16:\"contact_undelete\";i:1;s:24:\"allowPermDeleteFinancial\";b:0;s:12:\"versionCheck\";i:1;s:13:\"securityAlert\";i:1;s:21:\"doNotAttachPDFReceipt\";i:0;s:15:\"wkhtmltopdfPath\";N;s:16:\"recaptchaOptions\";N;s:18:\"recaptchaPublicKey\";N;s:19:\"recaptchaPrivateKey\";N;s:21:\"dashboardCacheTimeout\";N;s:16:\"checksum_timeout\";i:7;s:7:\"blogUrl\";s:9:\"*default*\";s:20:\"communityMessagesUrl\";s:9:\"*default*\";s:17:\"gettingStartedUrl\";s:9:\"*default*\";s:12:\"resCacheCode\";N;s:9:\"verifySSL\";i:1;s:9:\"enableSSL\";i:0;s:10:\"wpBasePage\";s:0:\"\";s:23:\"secondDegRelPermissions\";i:0;s:17:\"enable_components\";a:6:{i:0;s:9:\"CiviEvent\";i:1;s:14:\"CiviContribute\";i:2;s:10:\"CiviMember\";i:3;s:8:\"CiviMail\";i:4;s:10:\"CiviReport\";i:5;s:10:\"CiviPledge\";}s:16:\"disable_core_css\";s:1:\"0\";s:11:\"empoweredBy\";i:1;s:7:\"logging\";s:1:\"0\";s:27:\"userFrameworkUsersTableName\";N;s:9:\"wpLoadPhp\";s:0:\"\";s:7:\"site_id\";s:0:\"\";s:23:\"systemStatusCheckResult\";i:0;s:20:\"userFrameworkLogging\";s:1:\"0\";s:13:\"debug_enabled\";s:1:\"0\";s:9:\"backtrace\";s:1:\"0\";s:17:\"fatalErrorHandler\";N;s:9:\"uploadDir\";s:23:\"[civicrm.files]/upload/\";s:14:\"imageUploadDir\";s:35:\"[civicrm.files]/persist/contribute/\";s:19:\"customFileUploadDir\";s:23:\"[civicrm.files]/custom/\";s:17:\"customTemplateDir\";N;s:16:\"customPHPPathDir\";N;s:13:\"extensionsDir\";s:20:\"[civicrm.files]/ext/\";s:11:\"enable_cart\";s:1:\"0\";s:11:\"show_events\";i:10;s:12:\"ext_repo_url\";s:45:\"https://civicrm.org/extdir/ver={ver}|cms={uf}\";s:23:\"customTranslateFunction\";N;s:25:\"monetaryThousandSeparator\";s:1:\",\";s:20:\"monetaryDecimalPoint\";s:1:\".\";s:11:\"moneyformat\";s:5:\"%c %a\";s:16:\"moneyvalueformat\";s:3:\"%!i\";s:15:\"defaultCurrency\";s:3:\"USD\";s:21:\"defaultContactCountry\";s:4:\"1228\";s:27:\"defaultContactStateProvince\";N;s:12:\"countryLimit\";a:1:{i:0;s:4:\"1228\";}s:13:\"provinceLimit\";a:1:{i:0;s:4:\"1228\";}s:13:\"inheritLocale\";s:1:\"0\";s:18:\"dateformatDatetime\";s:20:\"%B %E%f, %Y %l:%M %P\";s:14:\"dateformatFull\";s:11:\"%B %E%f, %Y\";s:17:\"dateformatPartial\";s:5:\"%B %Y\";s:14:\"dateformatTime\";s:8:\"%l:%M %P\";s:14:\"dateformatYear\";s:2:\"%Y\";s:15:\"dateInputFormat\";s:8:\"mm/dd/yy\";s:14:\"fieldSeparator\";s:1:\",\";s:15:\"fiscalYearStart\";a:2:{s:1:\"M\";i:1;s:1:\"d\";i:1;}s:13:\"languageLimit\";N;s:10:\"lcMessages\";s:5:\"en_US\";s:14:\"legacyEncoding\";s:12:\"Windows-1252\";s:15:\"timeInputFormat\";s:1:\"1\";s:10:\"weekBegins\";s:1:\"0\";s:24:\"contact_default_language\";s:9:\"*default*\";s:20:\"profile_double_optin\";s:1:\"1\";s:22:\"track_civimail_replies\";s:1:\"0\";s:17:\"civimail_workflow\";s:1:\"0\";s:25:\"civimail_server_wide_lock\";s:1:\"0\";s:7:\"replyTo\";i:0;s:15:\"mailing_backend\";a:1:{s:15:\"outBound_option\";s:1:\"3\";}s:33:\"profile_add_to_group_double_optin\";s:1:\"0\";s:30:\"disable_mandatory_tokens_check\";i:0;s:20:\"dedupe_email_default\";i:1;s:16:\"hash_mailing_url\";i:0;s:29:\"civimail_multiple_bulk_emails\";i:0;s:18:\"include_message_id\";b:0;s:16:\"mailerBatchLimit\";i:0;s:13:\"mailerJobSize\";i:0;s:13:\"mailerJobsMax\";i:0;s:16:\"mailThrottleTime\";i:0;s:13:\"verpSeparator\";s:1:\".\";s:21:\"write_activity_record\";s:1:\"1\";s:9:\"geoAPIKey\";N;s:11:\"geoProvider\";N;s:9:\"mapAPIKey\";N;s:11:\"mapProvider\";N;s:33:\"default_renewal_contribution_page\";N;s:10:\"is_enabled\";s:1:\"0\";s:15:\"domain_group_id\";s:1:\"0\";s:25:\"event_price_set_domain_id\";s:1:\"0\";s:19:\"uniq_email_per_site\";s:1:\"0\";s:25:\"search_autocomplete_count\";i:10;s:17:\"enable_innodb_fts\";i:0;s:14:\"fts_query_mode\";s:6:\"simple\";s:20:\"includeOrderByClause\";i:1;s:21:\"includeWildCardInName\";i:1;s:18:\"includeEmailInName\";i:1;s:21:\"includeNickNameInName\";i:0;s:24:\"includeAlphabeticalPager\";i:1;s:22:\"smartGroupCacheTimeout\";i:5;s:22:\"defaultSearchProfileID\";N;s:24:\"userFrameworkResourceURL\";s:15:\"[civicrm.root]/\";s:14:\"imageUploadURL\";s:35:\"[civicrm.files]/persist/contribute/\";s:12:\"customCSSURL\";N;s:13:\"extensionsURL\";s:20:\"[civicrm.files]/ext/\";s:12:\"resourceBase\";s:15:\"[civicrm.root]/\";}' , 20151201183513 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.settings_defaults:domain._' ) + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'js_strings' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173513) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173513) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'resCacheCode' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + INSERT INTO civicrm_setting (name , value , domain_id , is_domain , created_date ) VALUES ('resCacheCode' , 's:5:\"XsaxI\";' , 1 , 1 , 20151201063513 ) + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'civicrm_%' + + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'log_civicrm_%' + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT * + FROM civicrm_custom_group + + WHERE ( extends IN ( 'Contact','Individual','Household','Organization' ) ) AND ( civicrm_custom_group.is_multiple = 0 ) + + + + + + DROP FUNCTION IF EXISTS civicrm_strip_non_numeric + + + CREATE FUNCTION civicrm_strip_non_numeric(input VARCHAR(255) CHARACTER SET utf8) + RETURNS VARCHAR(255) CHARACTER SET utf8 + DETERMINISTIC + NO SQL + BEGIN + DECLARE output VARCHAR(255) CHARACTER SET utf8 DEFAULT ''; + DECLARE iterator INT DEFAULT 1; + WHILE iterator < (LENGTH(input) + 1) DO + IF SUBSTRING(input, iterator, 1) IN ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9') THEN + SET output = CONCAT(output, SUBSTRING(input, iterator, 1)); + END IF; + SET iterator = iterator + 1; + END WHILE; + RETURN output; + END + + DROP TRIGGER IF EXISTS civicrm_acl_before_insert + + DROP TRIGGER IF EXISTS civicrm_acl_before_update + + DROP TRIGGER IF EXISTS civicrm_acl_before_delete + + DROP TRIGGER IF EXISTS civicrm_acl_after_insert + + DROP TRIGGER IF EXISTS civicrm_acl_after_update + + DROP TRIGGER IF EXISTS civicrm_acl_after_delete + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_insert + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_update + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_before_delete + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_insert + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_update + + DROP TRIGGER IF EXISTS civicrm_acl_entity_role_after_delete + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_insert + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_update + + DROP TRIGGER IF EXISTS civicrm_action_mapping_before_delete + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_insert + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_update + + DROP TRIGGER IF EXISTS civicrm_action_mapping_after_delete + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_insert + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_update + + DROP TRIGGER IF EXISTS civicrm_action_schedule_before_delete + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_insert + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_update + + DROP TRIGGER IF EXISTS civicrm_action_schedule_after_delete + + DROP TRIGGER IF EXISTS civicrm_activity_before_insert + + DROP TRIGGER IF EXISTS civicrm_activity_before_update + + DROP TRIGGER IF EXISTS civicrm_activity_before_delete + + DROP TRIGGER IF EXISTS civicrm_activity_after_insert + + DROP TRIGGER IF EXISTS civicrm_activity_after_update + + DROP TRIGGER IF EXISTS civicrm_activity_after_delete + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_activity_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_activity_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_address_before_insert + + DROP TRIGGER IF EXISTS civicrm_address_before_update + + DROP TRIGGER IF EXISTS civicrm_address_before_delete + + DROP TRIGGER IF EXISTS civicrm_address_after_insert + + DROP TRIGGER IF EXISTS civicrm_address_after_update + + DROP TRIGGER IF EXISTS civicrm_address_after_delete + + DROP TRIGGER IF EXISTS civicrm_address_format_before_insert + + DROP TRIGGER IF EXISTS civicrm_address_format_before_update + + DROP TRIGGER IF EXISTS civicrm_address_format_before_delete + + DROP TRIGGER IF EXISTS civicrm_address_format_after_insert + + DROP TRIGGER IF EXISTS civicrm_address_format_after_update + + DROP TRIGGER IF EXISTS civicrm_address_format_after_delete + + DROP TRIGGER IF EXISTS civicrm_batch_before_insert + + DROP TRIGGER IF EXISTS civicrm_batch_before_update + + DROP TRIGGER IF EXISTS civicrm_batch_before_delete + + DROP TRIGGER IF EXISTS civicrm_batch_after_insert + + DROP TRIGGER IF EXISTS civicrm_batch_after_update + + DROP TRIGGER IF EXISTS civicrm_batch_after_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_before_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_before_update + + DROP TRIGGER IF EXISTS civicrm_campaign_before_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_after_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_after_update + + DROP TRIGGER IF EXISTS civicrm_campaign_after_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_update + + DROP TRIGGER IF EXISTS civicrm_campaign_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_update + + DROP TRIGGER IF EXISTS civicrm_campaign_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_before_update + + DROP TRIGGER IF EXISTS civicrm_case_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_after_update + + DROP TRIGGER IF EXISTS civicrm_case_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_update + + DROP TRIGGER IF EXISTS civicrm_case_activity_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_update + + DROP TRIGGER IF EXISTS civicrm_case_activity_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_case_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_case_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_case_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_case_type_before_update + + DROP TRIGGER IF EXISTS civicrm_case_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_case_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_case_type_after_update + + DROP TRIGGER IF EXISTS civicrm_case_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_component_before_insert + + DROP TRIGGER IF EXISTS civicrm_component_before_update + + DROP TRIGGER IF EXISTS civicrm_component_before_delete + + DROP TRIGGER IF EXISTS civicrm_component_after_insert + + DROP TRIGGER IF EXISTS civicrm_component_after_update + + DROP TRIGGER IF EXISTS civicrm_component_after_delete + + DROP TRIGGER IF EXISTS civicrm_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_update + + DROP TRIGGER IF EXISTS civicrm_contact_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_update + + DROP TRIGGER IF EXISTS civicrm_contact_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_page_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_page_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_recur_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_soft_after_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_update + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_before_delete + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_insert + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_update + + DROP TRIGGER IF EXISTS civicrm_contribution_widget_after_delete + + DROP TRIGGER IF EXISTS civicrm_country_before_insert + + DROP TRIGGER IF EXISTS civicrm_country_before_update + + DROP TRIGGER IF EXISTS civicrm_country_before_delete + + DROP TRIGGER IF EXISTS civicrm_country_after_insert + + DROP TRIGGER IF EXISTS civicrm_country_after_update + + DROP TRIGGER IF EXISTS civicrm_country_after_delete + + DROP TRIGGER IF EXISTS civicrm_county_before_insert + + DROP TRIGGER IF EXISTS civicrm_county_before_update + + DROP TRIGGER IF EXISTS civicrm_county_before_delete + + DROP TRIGGER IF EXISTS civicrm_county_after_insert + + DROP TRIGGER IF EXISTS civicrm_county_after_update + + DROP TRIGGER IF EXISTS civicrm_county_after_delete + + DROP TRIGGER IF EXISTS civicrm_currency_before_insert + + DROP TRIGGER IF EXISTS civicrm_currency_before_update + + DROP TRIGGER IF EXISTS civicrm_currency_before_delete + + DROP TRIGGER IF EXISTS civicrm_currency_after_insert + + DROP TRIGGER IF EXISTS civicrm_currency_after_update + + DROP TRIGGER IF EXISTS civicrm_currency_after_delete + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_update + + DROP TRIGGER IF EXISTS civicrm_custom_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_update + + DROP TRIGGER IF EXISTS civicrm_custom_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_update + + DROP TRIGGER IF EXISTS civicrm_custom_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_update + + DROP TRIGGER IF EXISTS civicrm_custom_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_cxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_cxn_before_update + + DROP TRIGGER IF EXISTS civicrm_cxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_cxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_cxn_after_update + + DROP TRIGGER IF EXISTS civicrm_cxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_before_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_after_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_dashboard_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_exception_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_after_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_update + + DROP TRIGGER IF EXISTS civicrm_dedupe_rule_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_discount_before_insert + + DROP TRIGGER IF EXISTS civicrm_discount_before_update + + DROP TRIGGER IF EXISTS civicrm_discount_before_delete + + DROP TRIGGER IF EXISTS civicrm_discount_after_insert + + DROP TRIGGER IF EXISTS civicrm_discount_after_update + + DROP TRIGGER IF EXISTS civicrm_discount_after_delete + + DROP TRIGGER IF EXISTS civicrm_domain_before_insert + + DROP TRIGGER IF EXISTS civicrm_domain_before_update + + DROP TRIGGER IF EXISTS civicrm_domain_before_delete + + DROP TRIGGER IF EXISTS civicrm_domain_after_insert + + DROP TRIGGER IF EXISTS civicrm_domain_after_update + + DROP TRIGGER IF EXISTS civicrm_domain_after_delete + + DROP TRIGGER IF EXISTS civicrm_email_before_insert + + DROP TRIGGER IF EXISTS civicrm_email_before_update + + DROP TRIGGER IF EXISTS civicrm_email_before_delete + + DROP TRIGGER IF EXISTS civicrm_email_after_insert + + DROP TRIGGER IF EXISTS civicrm_email_after_update + + DROP TRIGGER IF EXISTS civicrm_email_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_batch_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_batch_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_file_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_file_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_account_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_financial_trxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_insert + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_update + + DROP TRIGGER IF EXISTS civicrm_entity_tag_before_delete + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_insert + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_update + + DROP TRIGGER IF EXISTS civicrm_entity_tag_after_delete + + DROP TRIGGER IF EXISTS civicrm_event_before_insert + + DROP TRIGGER IF EXISTS civicrm_event_before_update + + DROP TRIGGER IF EXISTS civicrm_event_before_delete + + DROP TRIGGER IF EXISTS civicrm_event_after_insert + + DROP TRIGGER IF EXISTS civicrm_event_after_update + + DROP TRIGGER IF EXISTS civicrm_event_after_delete + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_insert + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_update + + DROP TRIGGER IF EXISTS civicrm_event_carts_before_delete + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_insert + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_update + + DROP TRIGGER IF EXISTS civicrm_event_carts_after_delete + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_insert + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_update + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_before_delete + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_insert + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_update + + DROP TRIGGER IF EXISTS civicrm_events_in_carts_after_delete + + DROP TRIGGER IF EXISTS civicrm_extension_before_insert + + DROP TRIGGER IF EXISTS civicrm_extension_before_update + + DROP TRIGGER IF EXISTS civicrm_extension_before_delete + + DROP TRIGGER IF EXISTS civicrm_extension_after_insert + + DROP TRIGGER IF EXISTS civicrm_extension_after_update + + DROP TRIGGER IF EXISTS civicrm_extension_after_delete + + DROP TRIGGER IF EXISTS civicrm_file_before_insert + + DROP TRIGGER IF EXISTS civicrm_file_before_update + + DROP TRIGGER IF EXISTS civicrm_file_before_delete + + DROP TRIGGER IF EXISTS civicrm_file_after_insert + + DROP TRIGGER IF EXISTS civicrm_file_after_update + + DROP TRIGGER IF EXISTS civicrm_file_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_account_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_account_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_item_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_item_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_trxn_after_delete + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_update + + DROP TRIGGER IF EXISTS civicrm_financial_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_update + + DROP TRIGGER IF EXISTS civicrm_financial_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_grant_before_insert + + DROP TRIGGER IF EXISTS civicrm_grant_before_update + + DROP TRIGGER IF EXISTS civicrm_grant_before_delete + + DROP TRIGGER IF EXISTS civicrm_grant_after_insert + + DROP TRIGGER IF EXISTS civicrm_grant_after_update + + DROP TRIGGER IF EXISTS civicrm_grant_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_before_update + + DROP TRIGGER IF EXISTS civicrm_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_after_update + + DROP TRIGGER IF EXISTS civicrm_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_update + + DROP TRIGGER IF EXISTS civicrm_group_contact_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_update + + DROP TRIGGER IF EXISTS civicrm_group_contact_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_update + + DROP TRIGGER IF EXISTS civicrm_group_nesting_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_update + + DROP TRIGGER IF EXISTS civicrm_group_nesting_after_delete + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_insert + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_update + + DROP TRIGGER IF EXISTS civicrm_group_organization_before_delete + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_insert + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_update + + DROP TRIGGER IF EXISTS civicrm_group_organization_after_delete + + DROP TRIGGER IF EXISTS civicrm_im_before_insert + + DROP TRIGGER IF EXISTS civicrm_im_before_update + + DROP TRIGGER IF EXISTS civicrm_im_before_delete + + DROP TRIGGER IF EXISTS civicrm_im_after_insert + + DROP TRIGGER IF EXISTS civicrm_im_after_update + + DROP TRIGGER IF EXISTS civicrm_im_after_delete + + DROP TRIGGER IF EXISTS civicrm_job_before_insert + + DROP TRIGGER IF EXISTS civicrm_job_before_update + + DROP TRIGGER IF EXISTS civicrm_job_before_delete + + DROP TRIGGER IF EXISTS civicrm_job_after_insert + + DROP TRIGGER IF EXISTS civicrm_job_after_update + + DROP TRIGGER IF EXISTS civicrm_job_after_delete + + DROP TRIGGER IF EXISTS civicrm_line_item_before_insert + + DROP TRIGGER IF EXISTS civicrm_line_item_before_update + + DROP TRIGGER IF EXISTS civicrm_line_item_before_delete + + DROP TRIGGER IF EXISTS civicrm_line_item_after_insert + + DROP TRIGGER IF EXISTS civicrm_line_item_after_update + + DROP TRIGGER IF EXISTS civicrm_line_item_after_delete + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_update + + DROP TRIGGER IF EXISTS civicrm_loc_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_update + + DROP TRIGGER IF EXISTS civicrm_loc_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_location_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_location_type_before_update + + DROP TRIGGER IF EXISTS civicrm_location_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_location_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_location_type_after_update + + DROP TRIGGER IF EXISTS civicrm_location_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_insert + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_update + + DROP TRIGGER IF EXISTS civicrm_mail_settings_before_delete + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_insert + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_update + + DROP TRIGGER IF EXISTS civicrm_mail_settings_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_abtest_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_pattern_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_bounce_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_component_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_component_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_job_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_job_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_spool_after_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_update + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_before_delete + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_insert + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_update + + DROP TRIGGER IF EXISTS civicrm_mailing_trackable_url_after_delete + + DROP TRIGGER IF EXISTS civicrm_managed_before_insert + + DROP TRIGGER IF EXISTS civicrm_managed_before_update + + DROP TRIGGER IF EXISTS civicrm_managed_before_delete + + DROP TRIGGER IF EXISTS civicrm_managed_after_insert + + DROP TRIGGER IF EXISTS civicrm_managed_after_update + + DROP TRIGGER IF EXISTS civicrm_managed_after_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_before_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_before_update + + DROP TRIGGER IF EXISTS civicrm_mapping_before_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_after_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_after_update + + DROP TRIGGER IF EXISTS civicrm_mapping_after_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_update + + DROP TRIGGER IF EXISTS civicrm_mapping_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_update + + DROP TRIGGER IF EXISTS civicrm_mapping_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_status_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_status_after_delete + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_update + + DROP TRIGGER IF EXISTS civicrm_membership_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_update + + DROP TRIGGER IF EXISTS civicrm_membership_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_insert + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_update + + DROP TRIGGER IF EXISTS civicrm_msg_template_before_delete + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_insert + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_update + + DROP TRIGGER IF EXISTS civicrm_msg_template_after_delete + + DROP TRIGGER IF EXISTS civicrm_navigation_before_insert + + DROP TRIGGER IF EXISTS civicrm_navigation_before_update + + DROP TRIGGER IF EXISTS civicrm_navigation_before_delete + + DROP TRIGGER IF EXISTS civicrm_navigation_after_insert + + DROP TRIGGER IF EXISTS civicrm_navigation_after_update + + DROP TRIGGER IF EXISTS civicrm_navigation_after_delete + + DROP TRIGGER IF EXISTS civicrm_note_before_insert + + DROP TRIGGER IF EXISTS civicrm_note_before_update + + DROP TRIGGER IF EXISTS civicrm_note_before_delete + + DROP TRIGGER IF EXISTS civicrm_note_after_insert + + DROP TRIGGER IF EXISTS civicrm_note_after_update + + DROP TRIGGER IF EXISTS civicrm_note_after_delete + + DROP TRIGGER IF EXISTS civicrm_openid_before_insert + + DROP TRIGGER IF EXISTS civicrm_openid_before_update + + DROP TRIGGER IF EXISTS civicrm_openid_before_delete + + DROP TRIGGER IF EXISTS civicrm_openid_after_insert + + DROP TRIGGER IF EXISTS civicrm_openid_after_update + + DROP TRIGGER IF EXISTS civicrm_openid_after_delete + + DROP TRIGGER IF EXISTS civicrm_option_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_option_group_before_update + + DROP TRIGGER IF EXISTS civicrm_option_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_option_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_option_group_after_update + + DROP TRIGGER IF EXISTS civicrm_option_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_option_value_before_insert + + DROP TRIGGER IF EXISTS civicrm_option_value_before_update + + DROP TRIGGER IF EXISTS civicrm_option_value_before_delete + + DROP TRIGGER IF EXISTS civicrm_option_value_after_insert + + DROP TRIGGER IF EXISTS civicrm_option_value_after_update + + DROP TRIGGER IF EXISTS civicrm_option_value_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_update + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_update + + DROP TRIGGER IF EXISTS civicrm_participant_status_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_processor_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_insert + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_update + + DROP TRIGGER IF EXISTS civicrm_payment_token_before_delete + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_insert + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_update + + DROP TRIGGER IF EXISTS civicrm_payment_token_after_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_before_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_before_update + + DROP TRIGGER IF EXISTS civicrm_pcp_before_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_after_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_after_update + + DROP TRIGGER IF EXISTS civicrm_pcp_after_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_update + + DROP TRIGGER IF EXISTS civicrm_pcp_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_update + + DROP TRIGGER IF EXISTS civicrm_pcp_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_persistent_before_insert + + DROP TRIGGER IF EXISTS civicrm_persistent_before_update + + DROP TRIGGER IF EXISTS civicrm_persistent_before_delete + + DROP TRIGGER IF EXISTS civicrm_persistent_after_insert + + DROP TRIGGER IF EXISTS civicrm_persistent_after_update + + DROP TRIGGER IF EXISTS civicrm_persistent_after_delete + + DROP TRIGGER IF EXISTS civicrm_phone_before_insert + + DROP TRIGGER IF EXISTS civicrm_phone_before_update + + DROP TRIGGER IF EXISTS civicrm_phone_before_delete + + DROP TRIGGER IF EXISTS civicrm_phone_after_insert + + DROP TRIGGER IF EXISTS civicrm_phone_after_update + + DROP TRIGGER IF EXISTS civicrm_phone_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_block_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_block_after_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_update + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_before_delete + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_insert + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_update + + DROP TRIGGER IF EXISTS civicrm_pledge_payment_after_delete + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_insert + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_update + + DROP TRIGGER IF EXISTS civicrm_preferences_date_before_delete + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_insert + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_update + + DROP TRIGGER IF EXISTS civicrm_preferences_date_after_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_before_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_before_update + + DROP TRIGGER IF EXISTS civicrm_premiums_before_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_after_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_after_update + + DROP TRIGGER IF EXISTS civicrm_premiums_after_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_update + + DROP TRIGGER IF EXISTS civicrm_premiums_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_update + + DROP TRIGGER IF EXISTS civicrm_premiums_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_before_update + + DROP TRIGGER IF EXISTS civicrm_price_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_after_update + + DROP TRIGGER IF EXISTS civicrm_price_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_update + + DROP TRIGGER IF EXISTS civicrm_price_field_value_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_update + + DROP TRIGGER IF EXISTS civicrm_price_field_value_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_before_update + + DROP TRIGGER IF EXISTS civicrm_price_set_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_after_update + + DROP TRIGGER IF EXISTS civicrm_price_set_after_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_update + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_before_delete + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_insert + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_update + + DROP TRIGGER IF EXISTS civicrm_price_set_entity_after_delete + + DROP TRIGGER IF EXISTS civicrm_print_label_before_insert + + DROP TRIGGER IF EXISTS civicrm_print_label_before_update + + DROP TRIGGER IF EXISTS civicrm_print_label_before_delete + + DROP TRIGGER IF EXISTS civicrm_print_label_after_insert + + DROP TRIGGER IF EXISTS civicrm_print_label_after_update + + DROP TRIGGER IF EXISTS civicrm_print_label_after_delete + + DROP TRIGGER IF EXISTS civicrm_product_before_insert + + DROP TRIGGER IF EXISTS civicrm_product_before_update + + DROP TRIGGER IF EXISTS civicrm_product_before_delete + + DROP TRIGGER IF EXISTS civicrm_product_after_insert + + DROP TRIGGER IF EXISTS civicrm_product_after_update + + DROP TRIGGER IF EXISTS civicrm_product_after_delete + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_insert + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_update + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_before_delete + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_insert + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_update + + DROP TRIGGER IF EXISTS civicrm_recurring_entity_after_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_before_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_before_update + + DROP TRIGGER IF EXISTS civicrm_relationship_before_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_after_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_after_update + + DROP TRIGGER IF EXISTS civicrm_relationship_after_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_update + + DROP TRIGGER IF EXISTS civicrm_relationship_type_before_delete + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_insert + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_update + + DROP TRIGGER IF EXISTS civicrm_relationship_type_after_delete + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_insert + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_update + + DROP TRIGGER IF EXISTS civicrm_report_instance_before_delete + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_insert + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_update + + DROP TRIGGER IF EXISTS civicrm_report_instance_after_delete + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_insert + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_update + + DROP TRIGGER IF EXISTS civicrm_saved_search_before_delete + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_insert + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_update + + DROP TRIGGER IF EXISTS civicrm_saved_search_after_delete + + DROP TRIGGER IF EXISTS civicrm_setting_before_insert + + DROP TRIGGER IF EXISTS civicrm_setting_before_update + + DROP TRIGGER IF EXISTS civicrm_setting_before_delete + + DROP TRIGGER IF EXISTS civicrm_setting_after_insert + + DROP TRIGGER IF EXISTS civicrm_setting_after_update + + DROP TRIGGER IF EXISTS civicrm_setting_after_delete + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_insert + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_update + + DROP TRIGGER IF EXISTS civicrm_sms_provider_before_delete + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_insert + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_update + + DROP TRIGGER IF EXISTS civicrm_sms_provider_after_delete + + DROP TRIGGER IF EXISTS civicrm_state_province_before_insert + + DROP TRIGGER IF EXISTS civicrm_state_province_before_update + + DROP TRIGGER IF EXISTS civicrm_state_province_before_delete + + DROP TRIGGER IF EXISTS civicrm_state_province_after_insert + + DROP TRIGGER IF EXISTS civicrm_state_province_after_update + + DROP TRIGGER IF EXISTS civicrm_state_province_after_delete + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_insert + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_update + + DROP TRIGGER IF EXISTS civicrm_status_pref_before_delete + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_insert + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_update + + DROP TRIGGER IF EXISTS civicrm_status_pref_after_delete + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_insert + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_update + + DROP TRIGGER IF EXISTS civicrm_subscription_history_before_delete + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_insert + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_update + + DROP TRIGGER IF EXISTS civicrm_subscription_history_after_delete + + DROP TRIGGER IF EXISTS civicrm_survey_before_insert + + DROP TRIGGER IF EXISTS civicrm_survey_before_update + + DROP TRIGGER IF EXISTS civicrm_survey_before_delete + + DROP TRIGGER IF EXISTS civicrm_survey_after_insert + + DROP TRIGGER IF EXISTS civicrm_survey_after_update + + DROP TRIGGER IF EXISTS civicrm_survey_after_delete + + DROP TRIGGER IF EXISTS civicrm_tag_before_insert + + DROP TRIGGER IF EXISTS civicrm_tag_before_update + + DROP TRIGGER IF EXISTS civicrm_tag_before_delete + + DROP TRIGGER IF EXISTS civicrm_tag_after_insert + + DROP TRIGGER IF EXISTS civicrm_tag_after_update + + DROP TRIGGER IF EXISTS civicrm_tag_after_delete + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_insert + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_update + + DROP TRIGGER IF EXISTS civicrm_tell_friend_before_delete + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_insert + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_update + + DROP TRIGGER IF EXISTS civicrm_tell_friend_after_delete + + DROP TRIGGER IF EXISTS civicrm_timezone_before_insert + + DROP TRIGGER IF EXISTS civicrm_timezone_before_update + + DROP TRIGGER IF EXISTS civicrm_timezone_before_delete + + DROP TRIGGER IF EXISTS civicrm_timezone_after_insert + + DROP TRIGGER IF EXISTS civicrm_timezone_after_update + + DROP TRIGGER IF EXISTS civicrm_timezone_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_field_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_field_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_group_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_group_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_join_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_join_after_delete + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_insert + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_update + + DROP TRIGGER IF EXISTS civicrm_uf_match_before_delete + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_insert + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_update + + DROP TRIGGER IF EXISTS civicrm_uf_match_after_delete + + DROP TRIGGER IF EXISTS civicrm_website_before_insert + + DROP TRIGGER IF EXISTS civicrm_website_before_update + + DROP TRIGGER IF EXISTS civicrm_website_before_delete + + DROP TRIGGER IF EXISTS civicrm_website_after_insert + + DROP TRIGGER IF EXISTS civicrm_website_after_update + + DROP TRIGGER IF EXISTS civicrm_website_after_delete + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_insert + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_update + + DROP TRIGGER IF EXISTS civicrm_word_replacement_before_delete + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_insert + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_update + + DROP TRIGGER IF EXISTS civicrm_word_replacement_after_delete + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_insert + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_update + + DROP TRIGGER IF EXISTS civicrm_worldregion_before_delete + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_insert + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_update + + DROP TRIGGER IF EXISTS civicrm_worldregion_after_delete + + SHOW TRIGGERS LIKE 'civicrm_%' + + DROP TRIGGER IF EXISTS civicrm_contact_before_insert + + CREATE TRIGGER civicrm_contact_before_insert before insert ON civicrm_contact FOR EACH ROW BEGIN +SET NEW.created_date = CURRENT_TIMESTAMP; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_insert + + CREATE TRIGGER civicrm_address_after_insert after insert ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_update + + CREATE TRIGGER civicrm_address_after_update after update ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_address_after_delete + + CREATE TRIGGER civicrm_address_after_delete after delete ON civicrm_address FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_insert + + CREATE TRIGGER civicrm_email_after_insert after insert ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_update + + CREATE TRIGGER civicrm_email_after_update after update ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_email_after_delete + + CREATE TRIGGER civicrm_email_after_delete after delete ON civicrm_email FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_insert + + CREATE TRIGGER civicrm_im_after_insert after insert ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_update + + CREATE TRIGGER civicrm_im_after_update after update ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_im_after_delete + + CREATE TRIGGER civicrm_im_after_delete after delete ON civicrm_im FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_insert + + CREATE TRIGGER civicrm_phone_after_insert after insert ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_before_insert + + CREATE TRIGGER civicrm_phone_before_insert before insert ON civicrm_phone FOR EACH ROW BEGIN +SET NEW.phone_numeric = civicrm_strip_non_numeric(NEW.phone); + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_update + + CREATE TRIGGER civicrm_phone_after_update after update ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_phone_before_update + + CREATE TRIGGER civicrm_phone_before_update before update ON civicrm_phone FOR EACH ROW BEGIN +SET NEW.phone_numeric = civicrm_strip_non_numeric(NEW.phone); + END + + DROP TRIGGER IF EXISTS civicrm_phone_after_delete + + CREATE TRIGGER civicrm_phone_after_delete after delete ON civicrm_phone FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_insert + + CREATE TRIGGER civicrm_website_after_insert after insert ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_update + + CREATE TRIGGER civicrm_website_after_update after update ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = NEW.contact_id; + END + + DROP TRIGGER IF EXISTS civicrm_website_after_delete + + CREATE TRIGGER civicrm_website_after_delete after delete ON civicrm_website FOR EACH ROW BEGIN +UPDATE civicrm_contact SET modified_date = CURRENT_TIMESTAMP WHERE id = OLD.contact_id; + END + + SELECT * + FROM civicrm_managed + + WHERE ( civicrm_managed.module = 'civicrm' ) + + + + + + SELECT * + FROM civicrm_managed + + WHERE ( module NOT IN ("civicrm") ) + + + + + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'enable_components' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + SELECT * + FROM civicrm_setting + + WHERE ( civicrm_setting.name = 'resCacheCode' ) AND ( civicrm_setting.domain_id = 1 ) AND ( civicrm_setting.is_domain = 1 ) + + + + + + UPDATE civicrm_setting SET name = 'resCacheCode' , value = 's:5:\"EMnBH\";' , domain_id = 1 , is_domain = 1 , created_date = 20151201063515 WHERE ( civicrm_setting.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_setting' + + INSERT INTO civicrm_setting (name , value , domain_id , is_domain , created_date ) VALUES ('enable_components' , 'a:6:{i:0;s:9:\"CiviEvent\";i:1;s:14:\"CiviContribute\";i:2;s:10:\"CiviMember\";i:3;s:8:\"CiviMail\";i:4;s:10:\"CiviReport\";i:5;s:10:\"CiviPledge\";}' , 1 , 1 , 20151201063515 ) + + DELETE FROM civicrm_extension WHERE full_name LIKE "test.%" + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173515) >= 5) + + + TRUNCATE TABLE civicrm_acl_contact_cache + + SET SESSION sql_mode = STRICT_TRANS_TABLES + + SET NAMES utf8 + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) AND ( civicrm_cache.path = 'mapper/moduleFiles' ) + + + + + + + SELECT full_name, file + FROM civicrm_extension + WHERE is_active = 1 + AND type = "module" + + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) AND ( civicrm_cache.path = 'mapper/moduleFiles' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('4ae609f4c5da3b0980c7327dbc5f7dae' , 'mapper/moduleFiles' , 'a:0:{}' , 20151201183515 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.4ae609f4c5da3b0980c7327dbc5f7dae_mapper/moduleFiles._' ) + + SET SESSION sql_mode = STRICT_TRANS_TABLES + + SET NAMES utf8 + + SELECT id, name, value, domain_id, contact_id, is_domain, component_id, created_date, created_id +FROM civicrm_setting +WHERE (domain_id = 1) AND (is_domain = 1) + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = '4ae609f4c5da3b0980c7327dbc5f7dae' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'settings' ) AND ( civicrm_cache.path = 'defaults:domain' ) + + + + + + SET time_zone = '+01:00' + + SELECT date_format(now(), '%Y-%m-%d %H:%i') + + SELECT * + FROM civicrm_component + + + + + + + + SELECT locale_custom_strings FROM civicrm_domain WHERE id = 1 + + BEGIN + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields bf0270a930587280789519dbfbc0c2bb' ) + + + + + + +SELECT * +FROM civicrm_contact_type +WHERE parent_id IS NULL + AND is_active = 1 + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'cg_extend_objects' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Contact', 'Individual', 'Contact' , 'Organization', 'Contact' , 'Household', 'Contact' ) AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields bf0270a930587280789519dbfbc0c2bb._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields bf0270a930587280789519dbfbc0c2bb' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields bf0270a930587280789519dbfbc0c2bb' , 'a:0:{}' , 20151201183515 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields bf0270a930587280789519dbfbc0c2bb._' ) + + SELECT name AS id, name AS label FROM civicrm_contact_type WHERE parent_id IS NULL ORDER BY name + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'individual_prefix' + AND g.is_active = 1 ORDER BY v.weight + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'individual_suffix' + AND g.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_location_type + + WHERE ( civicrm_location_type.is_default = 1 ) + + + + + + +SELECT v.value as value ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'addressee' + AND g.is_active = 1 AND v.is_active = 1 AND is_default = 1 AND (filter = 1 OR filter = 0) ORDER BY v.weight + + +SELECT v.value as value ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'email_greeting' + AND g.is_active = 1 AND v.is_active = 1 AND is_default = 1 AND (filter = 1 OR filter = 0) ORDER BY v.weight + + +SELECT v.value as value ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'postal_greeting' + AND g.is_active = 1 AND v.is_active = 1 AND is_default = 1 AND (filter = 1 OR filter = 0) ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'individual_prefix' + AND g.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'individual_suffix' + AND g.is_active = 1 ORDER BY v.weight + + SELECT date_format + FROM civicrm_preferences_date + + WHERE ( civicrm_preferences_date.name = 'birth' ) + + + + + + INSERT INTO civicrm_contact (contact_type , contact_sub_type , sort_name , display_name , preferred_communication_method , preferred_language , hash , first_name , middle_name , last_name , prefix_id , suffix_id , email_greeting_id , postal_greeting_id , addressee_id ) VALUES ('Individual' , NULL , 'Anderson, Anthony' , 'Mr. Anthony Anderson II' , '' , 'en_US' , 'fd841856d78e7d59b8c4f2f361816996' , 'Anthony' , 'J.' , 'Anderson' , 3 , 3 , 1 , 1 , 1 ) + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_contact' , 3 , 'civicrm_contact,3' , 3 , 20151201183515 ) + + +SELECT email, + civicrm_location_type.name as locationType, + civicrm_email.is_primary as is_primary, + civicrm_email.on_hold as on_hold, + civicrm_email.id as email_id, + civicrm_email.location_type_id as locationTypeId +FROM civicrm_contact +LEFT JOIN civicrm_email ON ( civicrm_email.contact_id = civicrm_contact.id ) +LEFT JOIN civicrm_location_type ON ( civicrm_email.location_type_id = civicrm_location_type.id ) +WHERE civicrm_contact.id = 3 +ORDER BY civicrm_email.is_primary DESC, email_id ASC + + +UPDATE civicrm_email +SET is_bulkmail = 0 +WHERE contact_id = 3 + + + INSERT INTO civicrm_email (contact_id , location_type_id , email , is_primary , is_billing ) VALUES ( 3 , 1 , 'anthony_anderson@civicrm.org' , 1 , 0 ) + + + SELECT civicrm_email.email as email + FROM civicrm_contact +LEFT JOIN civicrm_email ON ( civicrm_contact.id = civicrm_email.contact_id ) + WHERE civicrm_email.is_primary = 1 + AND civicrm_contact.id = 3 + + SELECT * + FROM civicrm_uf_match + + WHERE ( civicrm_uf_match.domain_id = 1 ) AND ( civicrm_uf_match.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_email + + WHERE ( ( is_primary = 1 ) ) AND ( civicrm_email.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_openid + + WHERE ( ( is_primary = 1 ) ) AND ( civicrm_openid.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_phone + + WHERE ( ( is_primary = 1 ) ) AND ( civicrm_phone.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_address + + WHERE ( ( is_primary = 1 ) ) AND ( civicrm_address.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_im + + WHERE ( ( is_primary = 1 ) ) AND ( civicrm_im.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_email + + WHERE ( ( is_primary = 0 OR is_primary IS NULL ) ) AND ( civicrm_email.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_openid + + WHERE ( ( is_primary = 0 OR is_primary IS NULL ) ) AND ( civicrm_openid.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_phone + + WHERE ( ( is_primary = 0 OR is_primary IS NULL ) ) AND ( civicrm_phone.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_address + + WHERE ( ( is_primary = 0 OR is_primary IS NULL ) ) AND ( civicrm_address.contact_id = 3 ) + + + + + + SELECT * + FROM civicrm_im + + WHERE ( ( is_primary = 0 OR is_primary IS NULL ) ) AND ( civicrm_im.contact_id = 3 ) + + + + + + + SELECT civicrm_email.email as email + FROM civicrm_contact +LEFT JOIN civicrm_email ON ( civicrm_contact.id = civicrm_email.contact_id ) + WHERE civicrm_email.is_primary = 1 + AND civicrm_contact.id = 3 + + SELECT * + FROM civicrm_uf_match + + WHERE ( civicrm_uf_match.domain_id = 1 ) AND ( civicrm_uf_match.contact_id = 3 ) + + + + + + SELECT label + FROM civicrm_contact_type + + WHERE ( civicrm_contact_type.name = 'Individual' ) + + + + + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173515) >= 5) + + + +DELETE gc +FROM civicrm_group_contact_cache gc +INNER JOIN civicrm_group g ON g.id = gc.group_id +WHERE TIMESTAMPDIFF(MINUTE, g.cache_date, 20151201173515) >= 5 + + + +UPDATE civicrm_group g +SET refresh_date = 20151201174015 +WHERE TIMESTAMPDIFF(MINUTE, cache_date, 20151201173515) < 5 +AND refresh_date IS NULL + + + +UPDATE civicrm_group g +SET cache_date = null, + refresh_date = null +WHERE TIMESTAMPDIFF(MINUTE, cache_date, 20151201173515) >= 5 + + + SELECT * + FROM civicrm_contact + + WHERE ( civicrm_contact.id = 3 ) AND ( civicrm_contact.contact_type = 'Individual' ) AND ( civicrm_contact.contact_sub_type IS NULL ) AND ( civicrm_contact.sort_name = 'Anderson, Anthony' ) AND ( civicrm_contact.display_name = 'Mr. Anthony Anderson II' ) AND ( civicrm_contact.preferred_communication_method = '' ) AND ( civicrm_contact.preferred_language = 'en_US' ) AND ( civicrm_contact.hash = 'fd841856d78e7d59b8c4f2f361816996' ) AND ( civicrm_contact.first_name = 'Anthony' ) AND ( civicrm_contact.middle_name = 'J.' ) AND ( civicrm_contact.last_name = 'Anderson' ) AND ( civicrm_contact.prefix_id = 3 ) AND ( civicrm_contact.suffix_id = 3 ) AND ( civicrm_contact.email_greeting_id = 1 ) AND ( civicrm_contact.postal_greeting_id = 1 ) AND ( civicrm_contact.addressee_id = 1 ) + + + + + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'email_greeting' + AND g.is_active = 1 AND v.is_active = 1 AND (v.filter = 0 OR v.filter =1) ORDER BY v.weight + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'exportableFields All_0_0_0_' ) + + + + + + +SELECT subtype.*, parent.name as parent, parent.label as parent_label +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type parent ON subtype.parent_id = parent.id +WHERE subtype.name IS NOT NULL AND subtype.parent_id IS NOT NULL + AND subtype.is_active = 1 AND parent.is_active = 1 ORDER BY parent.id + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Address' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183515 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183515 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Household', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183515 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Organization', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183515 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_exportableFields All_0_0_0_._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'exportableFields All_0_0_0_' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'exportableFields All_0_0_0_' , 'a:78:{s:2:\"id\";a:10:{s:4:\"name\";s:2:\"id\";s:4:\"type\";i:1;s:5:\"title\";s:10:\"Contact ID\";s:11:\"description\";s:17:\"Unique Contact ID\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:18:\"civicrm_contact.id\";s:13:\"headerPattern\";s:24:\"/internal|contact?|id$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:12:\"contact_type\";a:12:{s:4:\"name\";s:12:\"contact_type\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Contact Type\";s:11:\"description\";s:16:\"Type of Contact.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.contact_type\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:17:\"parent_id IS NULL\";}}s:16:\"contact_sub_type\";a:13:{s:4:\"name\";s:16:\"contact_sub_type\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Contact Subtype\";s:11:\"description\";s:57:\"May be used to over-ride contact view and edit templates.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.contact_sub_type\";s:13:\"headerPattern\";s:41:\"/C(ontact )?(subtype|sub-type|sub type)/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:12:\"Multi-Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:21:\"parent_id IS NOT NULL\";}}s:12:\"do_not_email\";a:9:{s:4:\"name\";s:12:\"do_not_email\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Email\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_email\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(email)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_phone\";a:9:{s:4:\"name\";s:12:\"do_not_phone\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Phone\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_phone\";s:13:\"headerPattern\";s:28:\"/d(o )?(not )?(call|phone)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:11:\"do_not_mail\";a:9:{s:4:\"name\";s:11:\"do_not_mail\";s:4:\"type\";i:16;s:5:\"title\";s:11:\"Do Not Mail\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.do_not_mail\";s:13:\"headerPattern\";s:45:\"/^(d(o\\s)?n(ot\\s)?mail)|(\\w*)?bulk\\s?(\\w*)$/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"do_not_sms\";a:9:{s:4:\"name\";s:10:\"do_not_sms\";s:4:\"type\";i:16;s:5:\"title\";s:10:\"Do Not Sms\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.do_not_sms\";s:13:\"headerPattern\";s:21:\"/d(o )?(not )?(sms)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_trade\";a:9:{s:4:\"name\";s:12:\"do_not_trade\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Trade\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_trade\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(trade)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"is_opt_out\";a:11:{s:4:\"name\";s:10:\"is_opt_out\";s:4:\"type\";i:16;s:5:\"title\";s:29:\"No Bulk Emails (User Opt Out)\";s:11:\"description\";s:93:\"Has the contact opted out from receiving all bulk email from the organization or site domain?\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_opt_out\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:16:\"legal_identifier\";a:12:{s:4:\"name\";s:16:\"legal_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Legal Identifier\";s:11:\"description\";s:104:\"May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.\n \";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.legal_identifier\";s:13:\"headerPattern\";s:13:\"/legal\\s?id/i\";s:11:\"dataPattern\";s:12:\"/\\w+?\\d{5,}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"external_identifier\";a:12:{s:4:\"name\";s:19:\"external_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:19:\"External Identifier\";s:11:\"description\";s:113:\"Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:35:\"civicrm_contact.external_identifier\";s:13:\"headerPattern\";s:16:\"/external\\s?id/i\";s:11:\"dataPattern\";s:11:\"/^\\d{11,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"sort_name\";a:11:{s:4:\"name\";s:9:\"sort_name\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Sort Name\";s:11:\"description\";s:45:\"Name used for sorting different contact types\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:25:\"civicrm_contact.sort_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:12:\"display_name\";a:11:{s:4:\"name\";s:12:\"display_name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Display Name\";s:11:\"description\";s:76:\"Formatted name representing preferred format for display/print/other output.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.display_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"nick_name\";a:12:{s:4:\"name\";s:9:\"nick_name\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Nickname\";s:11:\"description\";s:9:\"Nickname.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.nick_name\";s:13:\"headerPattern\";s:21:\"/n(ick\\s)name|nick$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"legal_name\";a:12:{s:4:\"name\";s:10:\"legal_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"Legal Name\";s:11:\"description\";s:11:\"Legal Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.legal_name\";s:13:\"headerPattern\";s:27:\"/^legal|(l(egal\\s)?name)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"image_URL\";a:12:{s:4:\"name\";s:9:\"image_URL\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Image Url\";s:11:\"description\";s:81:\"optional URL for preferred image (photo, logo, etc.) to display for this contact.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.image_URL\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"File\";}}s:30:\"preferred_communication_method\";a:13:{s:4:\"name\";s:30:\"preferred_communication_method\";s:4:\"type\";i:2;s:5:\"title\";s:30:\"Preferred Communication Method\";s:11:\"description\";s:44:\"What is the preferred mode of communication.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:46:\"civicrm_contact.preferred_communication_method\";s:13:\"headerPattern\";s:37:\"/^p(ref\\w*\\s)?c(omm\\w*)|( meth\\w*)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:30:\"preferred_communication_method\";s:14:\"optionEditPath\";s:52:\"civicrm/admin/options/preferred_communication_method\";}}s:18:\"preferred_language\";a:13:{s:4:\"name\";s:18:\"preferred_language\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Preferred Language\";s:11:\"description\";s:87:\"Which language is preferred for communication. FK to languages in civicrm_option_value.\";s:9:\"maxlength\";i:5;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_contact.preferred_language\";s:13:\"headerPattern\";s:8:\"/^lang/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:3:{s:15:\"optionGroupName\";s:9:\"languages\";s:9:\"keyColumn\";s:4:\"name\";s:14:\"optionEditPath\";s:31:\"civicrm/admin/options/languages\";}}s:21:\"preferred_mail_format\";a:14:{s:4:\"name\";s:21:\"preferred_mail_format\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Preferred Mail Format\";s:11:\"description\";s:47:\"What is the preferred mode of sending an email.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.preferred_mail_format\";s:13:\"headerPattern\";s:35:\"/^p(ref\\w*\\s)?m(ail\\s)?f(orm\\w*)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"Both\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:26:\"CRM_Core_SelectValues::pmf\";}}s:4:\"hash\";a:10:{s:4:\"name\";s:4:\"hash\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Contact Hash\";s:11:\"description\";s:52:\"Key for validating requests related to this contact.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"export\";b:1;s:5:\"where\";s:20:\"civicrm_contact.hash\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";}s:14:\"contact_source\";a:12:{s:4:\"name\";s:6:\"source\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Contact Source\";s:11:\"description\";s:61:\"where contact come from, e.g. import, donate module insert...\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:22:\"civicrm_contact.source\";s:13:\"headerPattern\";s:24:\"/(C(ontact\\s)?Source)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"first_name\";a:12:{s:4:\"name\";s:10:\"first_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"First Name\";s:11:\"description\";s:11:\"First Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.first_name\";s:13:\"headerPattern\";s:27:\"/^first|(f(irst\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:11:\"middle_name\";a:12:{s:4:\"name\";s:11:\"middle_name\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Middle Name\";s:11:\"description\";s:12:\"Middle Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.middle_name\";s:13:\"headerPattern\";s:29:\"/^middle|(m(iddle\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"last_name\";a:12:{s:4:\"name\";s:9:\"last_name\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Last Name\";s:11:\"description\";s:10:\"Last Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.last_name\";s:13:\"headerPattern\";s:25:\"/^last|(l(ast\\s)?name)$/i\";s:11:\"dataPattern\";s:16:\"/^\\w+(\\s\\w+)?+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"prefix_id\";a:11:{s:4:\"name\";s:9:\"prefix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Prefix\";s:11:\"description\";s:53:\"Prefix or Title for name (Ms, Mr...). FK to prefix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.prefix_id\";s:13:\"headerPattern\";s:18:\"/^(prefix|title)/i\";s:11:\"dataPattern\";s:26:\"/^(mr|ms|mrs|sir|dr)\\.?$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_prefix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_prefix\";}}s:9:\"suffix_id\";a:11:{s:4:\"name\";s:9:\"suffix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Suffix\";s:11:\"description\";s:44:\"Suffix for name (Jr, Sr...). FK to suffix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.suffix_id\";s:13:\"headerPattern\";s:11:\"/^suffix$/i\";s:11:\"dataPattern\";s:20:\"/^(sr|jr)\\.?|i{2,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_suffix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_suffix\";}}s:12:\"formal_title\";a:11:{s:4:\"name\";s:12:\"formal_title\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Formal Title\";s:11:\"description\";s:70:\"Formal (academic or similar) title in front of name. (Prof., Dr. etc.)\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.formal_title\";s:13:\"headerPattern\";s:9:\"/^title/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:22:\"communication_style_id\";a:10:{s:4:\"name\";s:22:\"communication_style_id\";s:4:\"type\";i:1;s:5:\"title\";s:19:\"Communication Style\";s:11:\"description\";s:124:\"Communication style (e.g. formal vs. familiar) to use with this contact. FK to communication styles in civicrm_option_value.\";s:6:\"export\";b:1;s:5:\"where\";s:38:\"civicrm_contact.communication_style_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:19:\"communication_style\";s:14:\"optionEditPath\";s:41:\"civicrm/admin/options/communication_style\";}}s:9:\"job_title\";a:12:{s:4:\"name\";s:9:\"job_title\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Job Title\";s:11:\"description\";s:9:\"Job Title\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.job_title\";s:13:\"headerPattern\";s:24:\"/^job|(j(ob\\s)?title)$/i\";s:11:\"dataPattern\";s:2:\"//\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"gender_id\";a:11:{s:4:\"name\";s:9:\"gender_id\";s:4:\"type\";i:1;s:5:\"title\";s:6:\"Gender\";s:11:\"description\";s:15:\"FK to gender ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.gender_id\";s:13:\"headerPattern\";s:11:\"/^gender$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:6:\"gender\";s:14:\"optionEditPath\";s:28:\"civicrm/admin/options/gender\";}}s:10:\"birth_date\";a:10:{s:4:\"name\";s:10:\"birth_date\";s:4:\"type\";i:4;s:5:\"title\";s:10:\"Birth Date\";s:11:\"description\";s:13:\"Date of birth\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.birth_date\";s:13:\"headerPattern\";s:46:\"/^birth|(b(irth\\s)?date)|D(\\W*)O(\\W*)B(\\W*)$/i\";s:11:\"dataPattern\";s:21:\"/\\d{4}-?\\d{2}-?\\d{2}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:11:\"is_deceased\";a:9:{s:4:\"name\";s:11:\"is_deceased\";s:4:\"type\";i:16;s:5:\"title\";s:8:\"Deceased\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.is_deceased\";s:13:\"headerPattern\";s:21:\"/i(s\\s)?d(eceased)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:13:\"deceased_date\";a:10:{s:4:\"name\";s:13:\"deceased_date\";s:4:\"type\";i:4;s:5:\"title\";s:13:\"Deceased Date\";s:11:\"description\";s:16:\"Date of deceased\";s:6:\"import\";b:1;s:5:\"where\";s:29:\"civicrm_contact.deceased_date\";s:13:\"headerPattern\";s:33:\"/^deceased|(d(eceased\\s)?date)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:14:\"household_name\";a:12:{s:4:\"name\";s:14:\"household_name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Household Name\";s:11:\"description\";s:15:\"Household Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.household_name\";s:13:\"headerPattern\";s:35:\"/^household|(h(ousehold\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:17:\"organization_name\";a:12:{s:4:\"name\";s:17:\"organization_name\";s:4:\"type\";i:2;s:5:\"title\";s:17:\"Organization Name\";s:11:\"description\";s:18:\"Organization Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:33:\"civicrm_contact.organization_name\";s:13:\"headerPattern\";s:41:\"/^organization|(o(rganization\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:8:\"sic_code\";a:12:{s:4:\"name\";s:8:\"sic_code\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Sic Code\";s:11:\"description\";s:38:\"Standard Industry Classification Code.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:24:\"civicrm_contact.sic_code\";s:13:\"headerPattern\";s:23:\"/^sic|(s(ic\\s)?code)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:14:\"user_unique_id\";a:13:{s:4:\"name\";s:14:\"user_unique_id\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Unique ID (OpenID)\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.user_unique_id\";s:13:\"headerPattern\";s:29:\"/^Open\\s?ID|u(niq\\w*)?\\s?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"current_employer_id\";a:10:{s:4:\"name\";s:11:\"employer_id\";s:4:\"type\";i:1;s:5:\"title\";s:16:\"Current Employer\";s:11:\"description\";s:38:\"OPTIONAL FK to civicrm_contact record.\";s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_contact.employer_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:11:\"FKClassName\";s:23:\"CRM_Contact_DAO_Contact\";s:4:\"html\";a:1:{s:4:\"type\";s:19:\"Autocomplete-Select\";}}s:18:\"contact_is_deleted\";a:9:{s:4:\"name\";s:10:\"is_deleted\";s:4:\"type\";i:16;s:5:\"title\";s:19:\"Contact is in Trash\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_deleted\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"created_date\";a:10:{s:4:\"name\";s:12:\"created_date\";s:4:\"type\";i:256;s:5:\"title\";s:12:\"Created Date\";s:11:\"description\";s:33:\"When was the contact was created.\";s:8:\"required\";b:0;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.created_date\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:7:\"default\";s:4:\"NULL\";}s:13:\"modified_date\";a:10:{s:4:\"name\";s:13:\"modified_date\";s:4:\"type\";i:256;s:5:\"title\";s:13:\"Modified Date\";s:11:\"description\";s:84:\"When was the contact (or closely related entity) was created or modified or deleted.\";s:8:\"required\";b:0;s:6:\"export\";b:1;s:5:\"where\";s:29:\"civicrm_contact.modified_date\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:7:\"default\";s:45:\"CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP\";}s:9:\"addressee\";a:11:{s:4:\"name\";s:9:\"addressee\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Addressee\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:15:\"addressee.label\";s:13:\"headerPattern\";s:14:\"/^addressee$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:14:\"email_greeting\";a:11:{s:4:\"name\";s:14:\"email_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Email Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"email_greeting.label\";s:13:\"headerPattern\";s:19:\"/^email_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:15:\"postal_greeting\";a:11:{s:4:\"name\";s:15:\"postal_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Postal Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"postal_greeting.label\";s:13:\"headerPattern\";s:20:\"/^postal_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:16:\"current_employer\";a:2:{s:4:\"name\";s:17:\"organization_name\";s:5:\"title\";s:16:\"Current Employer\";}s:13:\"location_type\";a:4:{s:4:\"name\";s:13:\"location_type\";s:5:\"where\";s:26:\"civicrm_location_type.name\";s:5:\"title\";s:13:\"Location Type\";s:15:\"hasLocationType\";b:1;}s:14:\"street_address\";a:13:{s:4:\"name\";s:14:\"street_address\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Street Address\";s:11:\"description\";s:245:\"Concatenation of all routable street address components (prefix, street number, street name, suffix, unit\n number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail\n delivery, etc.).\n \";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_address.street_address\";s:13:\"headerPattern\";s:19:\"/(street|address)/i\";s:11:\"dataPattern\";s:56:\"/^(\\d{1,5}( [0-9A-Za-z]+)+)$|^(P\\.?O\\.\\? Box \\d{1,5})$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:13:\"street_number\";a:10:{s:4:\"name\";s:13:\"street_number\";s:4:\"type\";i:1;s:5:\"title\";s:13:\"Street Number\";s:11:\"description\";s:96:\"Numeric portion of address number on the street, e.g. For 112A Main St, the street_number = 112.\";s:6:\"export\";b:1;s:5:\"where\";s:29:\"civicrm_address.street_number\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:20:\"street_number_suffix\";a:12:{s:4:\"name\";s:20:\"street_number_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:20:\"Street Number Suffix\";s:11:\"description\";s:109:\"Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A\n \";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"export\";b:1;s:5:\"where\";s:36:\"civicrm_address.street_number_suffix\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"street_name\";a:12:{s:4:\"name\";s:11:\"street_name\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Street Name\";s:11:\"description\";s:92:\"Actual street name, excluding St, Dr, Rd, Ave, e.g. For 112 Main St, the street_name = Main.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_address.street_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"street_unit\";a:12:{s:4:\"name\";s:11:\"street_unit\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Street Unit\";s:11:\"description\";s:64:\"Secondary unit designator, e.g. Apt 3 or Unit # 14, or Bldg 1200\";s:9:\"maxlength\";i:16;s:4:\"size\";i:12;s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_address.street_unit\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_1\";a:13:{s:4:\"name\";s:22:\"supplemental_address_1\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 1\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 1\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_1\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_2\";a:13:{s:4:\"name\";s:22:\"supplemental_address_2\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 2\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 2\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_2\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:4:\"city\";a:13:{s:4:\"name\";s:4:\"city\";s:4:\"type\";i:2;s:5:\"title\";s:4:\"City\";s:11:\"description\";s:27:\"City, Town or Village Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.city\";s:13:\"headerPattern\";s:7:\"/city/i\";s:11:\"dataPattern\";s:37:\"/^[A-Za-z]+(\\.?)(\\s?[A-Za-z]+){0,2}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:18:\"postal_code_suffix\";a:13:{s:4:\"name\";s:18:\"postal_code_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Postal Code Suffix\";s:11:\"description\";s:54:\"Store the suffix, like the +4 part in the USPS system.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:3;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_address.postal_code_suffix\";s:13:\"headerPattern\";s:29:\"/p(ostal)\\sc(ode)\\ss(uffix)/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"postal_code\";a:13:{s:4:\"name\";s:11:\"postal_code\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Postal Code\";s:11:\"description\";s:114:\"Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_address.postal_code\";s:13:\"headerPattern\";s:13:\"/postal|zip/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:10:\"geo_code_1\";a:11:{s:4:\"name\";s:10:\"geo_code_1\";s:4:\"type\";i:512;s:5:\"title\";s:8:\"Latitude\";s:11:\"description\";s:8:\"Latitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_1\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:10:\"geo_code_2\";a:11:{s:4:\"name\";s:10:\"geo_code_2\";s:4:\"type\";i:512;s:5:\"title\";s:9:\"Longitude\";s:11:\"description\";s:9:\"Longitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_2\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:12:\"address_name\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Address Name\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.name\";s:13:\"headerPattern\";s:33:\"/^location|(l(ocation\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"master_id\";a:11:{s:4:\"name\";s:9:\"master_id\";s:4:\"type\";i:1;s:5:\"title\";s:25:\"Master Address Belongs To\";s:11:\"description\";s:16:\"FK to Address ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_address.master_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:11:\"FKClassName\";s:20:\"CRM_Core_DAO_Address\";s:15:\"hasLocationType\";b:1;}s:6:\"county\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"County\";s:11:\"description\";s:14:\"Name of County\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_county.name\";s:13:\"headerPattern\";s:9:\"/county/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:14:\"state_province\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"State\";s:11:\"description\";s:22:\"Name of State/Province\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_state_province.name\";s:13:\"headerPattern\";s:20:\"/state|prov(ince)?/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:7:\"country\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Country\";s:11:\"description\";s:12:\"Country Name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_country.name\";s:13:\"headerPattern\";s:10:\"/country/i\";s:11:\"dataPattern\";s:39:\"/^[A-Z][a-z]+\\.?(\\s+[A-Z][a-z]+){0,3}$/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:5:\"phone\";a:13:{s:4:\"name\";s:5:\"phone\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Phone\";s:11:\"description\";s:22:\"Complete phone number.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_phone.phone\";s:13:\"headerPattern\";s:8:\"/phone/i\";s:11:\"dataPattern\";s:19:\"/^[\\d\\(\\)\\-\\.\\s]+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"phone_ext\";a:13:{s:4:\"name\";s:9:\"phone_ext\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Phone Extension\";s:11:\"description\";s:38:\"Optional extension for a phone number.\";s:9:\"maxlength\";i:16;s:4:\"size\";i:4;s:6:\"import\";b:1;s:5:\"where\";s:23:\"civicrm_phone.phone_ext\";s:13:\"headerPattern\";s:12:\"/extension/i\";s:11:\"dataPattern\";s:7:\"/^\\d+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:5:\"email\";a:14:{s:4:\"name\";s:5:\"email\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Email\";s:11:\"description\";s:13:\"Email address\";s:9:\"maxlength\";i:254;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_email.email\";s:13:\"headerPattern\";s:10:\"/e.?mail/i\";s:11:\"dataPattern\";s:91:\"/^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$/\";s:6:\"export\";b:1;s:4:\"rule\";s:5:\"email\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:7:\"on_hold\";a:11:{s:4:\"name\";s:7:\"on_hold\";s:4:\"type\";i:16;s:5:\"title\";s:7:\"On Hold\";s:11:\"description\";s:31:\"Is this address on bounce hold?\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:21:\"civicrm_email.on_hold\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}s:15:\"hasLocationType\";b:1;}s:11:\"is_bulkmail\";a:10:{s:4:\"name\";s:11:\"is_bulkmail\";s:4:\"type\";i:16;s:5:\"title\";s:17:\"Use for Bulk Mail\";s:11:\"description\";s:31:\"Is this address for bulk mail ?\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:25:\"civicrm_email.is_bulkmail\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_text\";a:11:{s:4:\"name\";s:14:\"signature_text\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Text\";s:11:\"description\";s:39:\"Text formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_text\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_html\";a:11:{s:4:\"name\";s:14:\"signature_html\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Html\";s:11:\"description\";s:39:\"HTML formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_html\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:11:\"im_provider\";a:4:{s:4:\"name\";s:11:\"im_provider\";s:5:\"where\";s:22:\"civicrm_im.provider_id\";s:5:\"title\";s:11:\"IM Provider\";s:15:\"hasLocationType\";b:1;}s:2:\"im\";a:13:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"IM Screen Name\";s:11:\"description\";s:14:\"IM screen name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:15:\"civicrm_im.name\";s:13:\"headerPattern\";s:40:\"/I(nstant )?M(ess.*)?|screen(\\s+)?name/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:6:\"openid\";a:13:{s:4:\"name\";s:6:\"openid\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"OpenID\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"civicrm_openid.openid\";s:13:\"headerPattern\";s:27:\"/^Open.?ID|u(niq\\w*)?.?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:15:\"hasLocationType\";b:1;}s:12:\"world_region\";a:10:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"World Region\";s:11:\"description\";s:43:\"Region name to be associated with countries\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"export\";b:1;s:5:\"where\";s:24:\"civicrm_worldregion.name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";}s:3:\"url\";a:12:{s:4:\"name\";s:3:\"url\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Website\";s:11:\"description\";s:7:\"Website\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_website.url\";s:13:\"headerPattern\";s:10:\"/Website/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:5:\"group\";a:2:{s:5:\"title\";s:8:\"Group(s)\";s:4:\"name\";s:5:\"group\";}s:3:\"tag\";a:2:{s:5:\"title\";s:6:\"Tag(s)\";s:4:\"name\";s:3:\"tag\";}s:4:\"note\";a:2:{s:5:\"title\";s:7:\"Note(s)\";s:4:\"name\";s:4:\"note\";}}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_exportableFields All_0_0_0_._' ) + + +SELECT v.label as label ,v.name as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'languages' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'postal_greeting' + AND g.is_active = 1 AND v.is_active = 1 AND (v.filter = 0 OR v.filter =1) ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'addressee' + AND g.is_active = 1 AND v.is_active = 1 AND (v.filter = 0 OR v.filter =1) ORDER BY v.weight + + UPDATE civicrm_contact SET email_greeting_custom = NULL , email_greeting_display = 'Dear Anthony', postal_greeting_custom = NULL , postal_greeting_display = 'Dear Anthony', addressee_custom = NULL , addressee_display = 'Mr. Anthony J. Anderson II' WHERE id = 3 + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Individual_0_0_0_0__0__0__0_7acce319' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__0_7acce319._' ) + + COMMIT + + TRUNCATE TABLE civicrm_acl_contact_cache + + BEGIN + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields e87f438346d53eb3a55cfab017378daf' ) + + + + + + SELECT id AS id, name AS label FROM civicrm_domain ORDER BY name + + SELECT id AS id, name AS label FROM civicrm_payment_processor_type ORDER BY name + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields 481c9fc524f17b30b691869179f1c683' ) + + + + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessorType' + + SELECT a.payment_instrument_id as payment_instrument_id, a.id as id +FROM civicrm_payment_processor_type a +WHERE (a.id = "9") +LIMIT 25 +OFFSET 0 + + + SELECT * + FROM civicrm_payment_processor_type + + WHERE ( civicrm_payment_processor_type.id = 9 ) + + + + + + INSERT INTO civicrm_payment_processor (domain_id , name , payment_processor_type_id , is_active , is_default , is_test , user_name , url_site , url_recur , class_name , billing_mode , is_recur , payment_type , payment_instrument_id ) VALUES ( 1 , 'Dummy' , 9 , 1 , 0 , 1 , NULL , 'http://dummy.com' , 'http://dummy.com' , 'Payment_Dummy' , 1 , 1 , 1 , 1 ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'account_relationship' + AND g.is_active = 1 AND v.is_active = 1 AND v.name LIKE 'Asset Account is' ORDER BY v.weight + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_payment_processor' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) + + + + + + INSERT INTO civicrm_entity_financial_account (entity_table , entity_id , account_relationship , financial_account_id ) VALUES ('civicrm_payment_processor' , 1 , 6 , 12 ) + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessorType' + + SELECT a.id as id, a.name as name, a.title as title, a.description as description, a.is_active as is_active, a.is_default as is_default, a.user_name_label as user_name_label, a.password_label as password_label, a.signature_label as signature_label, a.subject_label as subject_label, a.class_name as class_name, a.url_site_default as url_site_default, a.url_api_default as url_api_default, a.url_recur_default as url_recur_default, a.url_button_default as url_button_default, a.url_site_test_default as url_site_test_default, a.url_api_test_default as url_api_test_default, a.url_recur_test_default as url_recur_test_default, a.url_button_test_default as url_button_test_default, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor_type a +WHERE (a.id = "9") +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") AND (a.is_test = "0") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") AND (a.is_test = "1") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessorType' + + SELECT a.id as id, a.name as name, a.title as title, a.description as description, a.is_active as is_active, a.is_default as is_default, a.user_name_label as user_name_label, a.password_label as password_label, a.signature_label as signature_label, a.subject_label as subject_label, a.class_name as class_name, a.url_site_default as url_site_default, a.url_api_default as url_api_default, a.url_recur_default as url_recur_default, a.url_button_default as url_button_default, a.url_site_test_default as url_site_test_default, a.url_api_test_default as url_api_test_default, a.url_recur_test_default as url_recur_test_default, a.url_button_test_default as url_button_test_default, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor_type a +WHERE (a.id = "9") +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + COMMIT + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields CustomGroup_0_0_0_0__0__0__0_7acce319' ) + + + + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'CustomGroup' + + SELECT a.id as id, a.name as name, a.title as title, a.extends as extends, a.extends_entity_column_id as extends_entity_column_id, a.extends_entity_column_value as extends_entity_column_value, a.style as style, a.collapse_display as collapse_display, a.help_pre as help_pre, a.help_post as help_post, a.weight as weight, a.is_active as is_active, a.table_name as table_name, a.is_multiple as is_multiple, a.min_multiple as min_multiple, a.max_multiple as max_multiple, a.collapse_adv_display as collapse_adv_display, a.created_id as created_id, a.created_date as created_date, a.is_reserved as is_reserved +FROM civicrm_custom_group a +WHERE (a.title = "testCreateWit") AND (a.id = "1") +LIMIT 25 +OFFSET 0 + + + BEGIN + + SELECT MAX(ROUND(weight)) AS max_weight FROM civicrm_custom_group + + UPDATE civicrm_custom_group SET weight = (weight + 1) WHERE weight >= 1 + + INSERT INTO civicrm_custom_group (name , title , extends , extends_entity_column_id , extends_entity_column_value , style , weight , is_active , is_multiple , max_multiple ) VALUES ('testCreateWit' , 'testCreateWit' , 'Contribution' , NULL , NULL , 'Inline' , 1 , 1 , 0 , NULL ) + + SELECT id, table_name + FROM civicrm_custom_group + + WHERE ( civicrm_custom_group.id = 1 ) + + + + + + UPDATE civicrm_custom_group SET table_name = 'civicrm_value_testcreatewit_1' WHERE ( civicrm_custom_group.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_custom_group' + + CREATE TABLE civicrm_value_testcreatewit_1 ( + `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Default MySQL primary key', + `entity_id` int unsigned NOT NULL COMMENT 'Table that this extends', + PRIMARY KEY ( id ), + UNIQUE INDEX unique_entity_id ( entity_id ), + CONSTRAINT FK_civicrm_value_testcreatewit_1_entity_id FOREIGN KEY ( `entity_id` ) REFERENCES civicrm_contribution ( id ) ON DELETE CASCADE +) ENGINE=InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'civicrm_%' + + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'log_civicrm_%' + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT * + FROM civicrm_custom_group + + WHERE ( extends IN ( 'Contact','Individual','Household','Organization' ) ) AND ( civicrm_custom_group.is_multiple = 0 ) + + + + + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_delete + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_delete + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173516) >= 5) + + + COMMIT + + TRUNCATE TABLE civicrm_acl_contact_cache + + BEGIN + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'cg_extend_objects' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields CustomField_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT id AS id, name AS label FROM civicrm_custom_group ORDER BY weight + + INSERT INTO civicrm_custom_field (custom_group_id , name , label , data_type , html_type , default_value , is_required , is_searchable , is_search_range , is_active , is_view , column_name , in_selector ) VALUES ( 1 , 'testCreateWithCustomXX' , 'testCreateWithCustomXX' , 'String' , 'Text' , 'defaultValue' , 0 , 1 , 0 , 1 , 0 , 'testcreatewithcustomxx' , 0 ) + + SELECT * + FROM civicrm_custom_field + + WHERE ( civicrm_custom_field.id = 1 ) AND ( civicrm_custom_field.custom_group_id = 1 ) AND ( civicrm_custom_field.name = 'testCreateWithCustomXX' ) AND ( civicrm_custom_field.label = 'testCreateWithCustomXX' ) AND ( civicrm_custom_field.data_type = 'String' ) AND ( civicrm_custom_field.html_type = 'Text' ) AND ( civicrm_custom_field.default_value = 'defaultValue' ) AND ( civicrm_custom_field.is_required = 0 ) AND ( civicrm_custom_field.is_searchable = 1 ) AND ( civicrm_custom_field.is_search_range = 0 ) AND ( civicrm_custom_field.is_active = 1 ) AND ( civicrm_custom_field.is_view = 0 ) AND ( civicrm_custom_field.column_name = 'testcreatewithcustomxx' ) AND ( civicrm_custom_field.in_selector = 0 ) + + + + + + UPDATE civicrm_custom_field SET custom_group_id = 1 , name = 'testCreateWithCustomXX' , label = 'testCreateWithCustomXX' , data_type = 'String' , html_type = 'Text' , default_value = 'defaultValue' , is_required = 0 , is_searchable = 1 , is_search_range = 0 , weight = 1 , is_active = 1 , is_view = 0 , column_name = 'testcreatewithcustomxx_1' , in_selector = 0 WHERE ( civicrm_custom_field.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_custom_field' + + SELECT * + FROM civicrm_custom_field + + WHERE ( civicrm_custom_field.id = 1 ) AND ( civicrm_custom_field.custom_group_id = 1 ) AND ( civicrm_custom_field.name = 'testCreateWithCustomXX' ) AND ( civicrm_custom_field.label = 'testCreateWithCustomXX' ) AND ( civicrm_custom_field.data_type = 'String' ) AND ( civicrm_custom_field.html_type = 'Text' ) AND ( civicrm_custom_field.default_value = 'defaultValue' ) AND ( civicrm_custom_field.is_required = 0 ) AND ( civicrm_custom_field.is_searchable = 1 ) AND ( civicrm_custom_field.is_search_range = 0 ) AND ( civicrm_custom_field.weight = 1 ) AND ( civicrm_custom_field.is_active = 1 ) AND ( civicrm_custom_field.is_view = 0 ) AND ( civicrm_custom_field.column_name = 'testcreatewithcustomxx_1' ) AND ( civicrm_custom_field.in_selector = 0 ) + + + + + + SELECT table_name + FROM civicrm_custom_group + + WHERE ( civicrm_custom_group.id = 1 ) + + + + + + ALTER TABLE civicrm_value_testcreatewit_1 + ADD COLUMN `testcreatewithcustomxx_1` varchar(255) DEFAULT 'defaultValue', + ADD INDEX INDEX_testcreatewithcustomxx_1 ( testcreatewithcustomxx_1 ) + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'civicrm_%' + + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'log_civicrm_%' + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT * + FROM civicrm_custom_group + + WHERE ( extends IN ( 'Contact','Individual','Household','Organization' ) ) AND ( civicrm_custom_group.is_multiple = 0 ) + + + + + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_delete + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_delete + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173516) >= 5) + + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'cg_extend_objects' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields CustomField_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Individual_0_0_1_1' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Address' ) AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Address_0_0_0_0__0__0__0_7acce319' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__0_7acce319._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__1__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND civicrm_custom_group.extends_entity_column_value IS NULL AND civicrm_custom_group.extends_entity_column_id IS NULL AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__1__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__1__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Individual_0_0_0_0__1__0__0_7acce319' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__1__0__0_7acce319._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Individual_0_0_1_1._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Individual_0_0_1_1' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'importableFields Individual_0_0_1_1' , 'a:59:{s:12:\"address_name\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Address Name\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.name\";s:13:\"headerPattern\";s:33:\"/^location|(l(ocation\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"addressee\";a:11:{s:4:\"name\";s:9:\"addressee\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Addressee\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:15:\"addressee.label\";s:13:\"headerPattern\";s:14:\"/^addressee$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:16:\"addressee_custom\";a:12:{s:4:\"name\";s:16:\"addressee_custom\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Addressee Custom\";s:11:\"description\";s:17:\"Custom Addressee.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.addressee_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"birth_date\";a:10:{s:4:\"name\";s:10:\"birth_date\";s:4:\"type\";i:4;s:5:\"title\";s:10:\"Birth Date\";s:11:\"description\";s:13:\"Date of birth\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.birth_date\";s:13:\"headerPattern\";s:46:\"/^birth|(b(irth\\s)?date)|D(\\W*)O(\\W*)B(\\W*)$/i\";s:11:\"dataPattern\";s:21:\"/\\d{4}-?\\d{2}-?\\d{2}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:4:\"city\";a:13:{s:4:\"name\";s:4:\"city\";s:4:\"type\";i:2;s:5:\"title\";s:4:\"City\";s:11:\"description\";s:27:\"City, Town or Village Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.city\";s:13:\"headerPattern\";s:7:\"/city/i\";s:11:\"dataPattern\";s:37:\"/^[A-Za-z]+(\\.?)(\\s?[A-Za-z]+){0,2}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"communication_style_id\";a:2:{s:5:\"title\";s:19:\"Communication Style\";s:4:\"name\";s:22:\"communication_style_id\";}s:2:\"id\";a:10:{s:4:\"name\";s:2:\"id\";s:4:\"type\";i:1;s:5:\"title\";s:10:\"Contact ID\";s:11:\"description\";s:17:\"Unique Contact ID\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:18:\"civicrm_contact.id\";s:13:\"headerPattern\";s:24:\"/internal|contact?|id$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:14:\"contact_source\";a:12:{s:4:\"name\";s:6:\"source\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Contact Source\";s:11:\"description\";s:61:\"where contact come from, e.g. import, donate module insert...\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:22:\"civicrm_contact.source\";s:13:\"headerPattern\";s:24:\"/(C(ontact\\s)?Source)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:16:\"contact_sub_type\";a:13:{s:4:\"name\";s:16:\"contact_sub_type\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Contact Subtype\";s:11:\"description\";s:57:\"May be used to over-ride contact view and edit templates.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.contact_sub_type\";s:13:\"headerPattern\";s:41:\"/C(ontact )?(subtype|sub-type|sub type)/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:12:\"Multi-Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:21:\"parent_id IS NOT NULL\";}}s:7:\"country\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Country\";s:11:\"description\";s:12:\"Country Name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_country.name\";s:13:\"headerPattern\";s:10:\"/country/i\";s:11:\"dataPattern\";s:39:\"/^[A-Z][a-z]+\\.?(\\s+[A-Z][a-z]+){0,3}$/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:6:\"county\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"County\";s:11:\"description\";s:14:\"Name of County\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_county.name\";s:13:\"headerPattern\";s:9:\"/county/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:11:\"is_deceased\";a:9:{s:4:\"name\";s:11:\"is_deceased\";s:4:\"type\";i:16;s:5:\"title\";s:8:\"Deceased\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.is_deceased\";s:13:\"headerPattern\";s:21:\"/i(s\\s)?d(eceased)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:13:\"deceased_date\";a:10:{s:4:\"name\";s:13:\"deceased_date\";s:4:\"type\";i:4;s:5:\"title\";s:13:\"Deceased Date\";s:11:\"description\";s:16:\"Date of deceased\";s:6:\"import\";b:1;s:5:\"where\";s:29:\"civicrm_contact.deceased_date\";s:13:\"headerPattern\";s:33:\"/^deceased|(d(eceased\\s)?date)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:12:\"do_not_email\";a:9:{s:4:\"name\";s:12:\"do_not_email\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Email\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_email\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(email)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:11:\"do_not_mail\";a:9:{s:4:\"name\";s:11:\"do_not_mail\";s:4:\"type\";i:16;s:5:\"title\";s:11:\"Do Not Mail\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.do_not_mail\";s:13:\"headerPattern\";s:45:\"/^(d(o\\s)?n(ot\\s)?mail)|(\\w*)?bulk\\s?(\\w*)$/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_phone\";a:9:{s:4:\"name\";s:12:\"do_not_phone\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Phone\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_phone\";s:13:\"headerPattern\";s:28:\"/d(o )?(not )?(call|phone)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"do_not_sms\";a:9:{s:4:\"name\";s:10:\"do_not_sms\";s:4:\"type\";i:16;s:5:\"title\";s:10:\"Do Not Sms\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.do_not_sms\";s:13:\"headerPattern\";s:21:\"/d(o )?(not )?(sms)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_trade\";a:9:{s:4:\"name\";s:12:\"do_not_trade\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Trade\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_trade\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(trade)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:5:\"email\";a:14:{s:4:\"name\";s:5:\"email\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Email\";s:11:\"description\";s:13:\"Email address\";s:9:\"maxlength\";i:254;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_email.email\";s:13:\"headerPattern\";s:10:\"/e.?mail/i\";s:11:\"dataPattern\";s:91:\"/^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$/\";s:6:\"export\";b:1;s:4:\"rule\";s:5:\"email\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:14:\"email_greeting\";a:11:{s:4:\"name\";s:14:\"email_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Email Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"email_greeting.label\";s:13:\"headerPattern\";s:19:\"/^email_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:21:\"email_greeting_custom\";a:12:{s:4:\"name\";s:21:\"email_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Email Greeting Custom\";s:11:\"description\";s:22:\"Custom Email Greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.email_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"external_identifier\";a:12:{s:4:\"name\";s:19:\"external_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:19:\"External Identifier\";s:11:\"description\";s:113:\"Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:35:\"civicrm_contact.external_identifier\";s:13:\"headerPattern\";s:16:\"/external\\s?id/i\";s:11:\"dataPattern\";s:11:\"/^\\d{11,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"first_name\";a:12:{s:4:\"name\";s:10:\"first_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"First Name\";s:11:\"description\";s:11:\"First Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.first_name\";s:13:\"headerPattern\";s:27:\"/^first|(f(irst\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:12:\"formal_title\";a:11:{s:4:\"name\";s:12:\"formal_title\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Formal Title\";s:11:\"description\";s:70:\"Formal (academic or similar) title in front of name. (Prof., Dr. etc.)\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.formal_title\";s:13:\"headerPattern\";s:9:\"/^title/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:9:\"gender_id\";a:11:{s:4:\"name\";s:9:\"gender_id\";s:4:\"type\";i:1;s:5:\"title\";s:6:\"Gender\";s:11:\"description\";s:15:\"FK to gender ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.gender_id\";s:13:\"headerPattern\";s:11:\"/^gender$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:6:\"gender\";s:14:\"optionEditPath\";s:28:\"civicrm/admin/options/gender\";}}s:5:\"group\";a:2:{s:5:\"title\";s:8:\"Group(s)\";s:4:\"name\";s:5:\"group\";}s:2:\"im\";a:13:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"IM Screen Name\";s:11:\"description\";s:14:\"IM screen name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:15:\"civicrm_im.name\";s:13:\"headerPattern\";s:40:\"/I(nstant )?M(ess.*)?|screen(\\s+)?name/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"image_URL\";a:12:{s:4:\"name\";s:9:\"image_URL\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Image Url\";s:11:\"description\";s:81:\"optional URL for preferred image (photo, logo, etc.) to display for this contact.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.image_URL\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"File\";}}s:9:\"prefix_id\";a:11:{s:4:\"name\";s:9:\"prefix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Prefix\";s:11:\"description\";s:53:\"Prefix or Title for name (Ms, Mr...). FK to prefix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.prefix_id\";s:13:\"headerPattern\";s:18:\"/^(prefix|title)/i\";s:11:\"dataPattern\";s:26:\"/^(mr|ms|mrs|sir|dr)\\.?$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_prefix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_prefix\";}}s:9:\"suffix_id\";a:11:{s:4:\"name\";s:9:\"suffix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Suffix\";s:11:\"description\";s:44:\"Suffix for name (Jr, Sr...). FK to suffix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.suffix_id\";s:13:\"headerPattern\";s:11:\"/^suffix$/i\";s:11:\"dataPattern\";s:20:\"/^(sr|jr)\\.?|i{2,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_suffix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_suffix\";}}s:9:\"job_title\";a:12:{s:4:\"name\";s:9:\"job_title\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Job Title\";s:11:\"description\";s:9:\"Job Title\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.job_title\";s:13:\"headerPattern\";s:24:\"/^job|(j(ob\\s)?title)$/i\";s:11:\"dataPattern\";s:2:\"//\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"last_name\";a:12:{s:4:\"name\";s:9:\"last_name\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Last Name\";s:11:\"description\";s:10:\"Last Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.last_name\";s:13:\"headerPattern\";s:25:\"/^last|(l(ast\\s)?name)$/i\";s:11:\"dataPattern\";s:16:\"/^\\w+(\\s\\w+)?+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"geo_code_1\";a:11:{s:4:\"name\";s:10:\"geo_code_1\";s:4:\"type\";i:512;s:5:\"title\";s:8:\"Latitude\";s:11:\"description\";s:8:\"Latitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_1\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:16:\"legal_identifier\";a:12:{s:4:\"name\";s:16:\"legal_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Legal Identifier\";s:11:\"description\";s:104:\"May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.\n \";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.legal_identifier\";s:13:\"headerPattern\";s:13:\"/legal\\s?id/i\";s:11:\"dataPattern\";s:12:\"/\\w+?\\d{5,}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"geo_code_2\";a:11:{s:4:\"name\";s:10:\"geo_code_2\";s:4:\"type\";i:512;s:5:\"title\";s:9:\"Longitude\";s:11:\"description\";s:9:\"Longitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_2\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"master_id\";a:11:{s:4:\"name\";s:9:\"master_id\";s:4:\"type\";i:1;s:5:\"title\";s:25:\"Master Address Belongs To\";s:11:\"description\";s:16:\"FK to Address ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_address.master_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:11:\"FKClassName\";s:20:\"CRM_Core_DAO_Address\";s:15:\"hasLocationType\";b:1;}s:11:\"middle_name\";a:12:{s:4:\"name\";s:11:\"middle_name\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Middle Name\";s:11:\"description\";s:12:\"Middle Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.middle_name\";s:13:\"headerPattern\";s:29:\"/^middle|(m(iddle\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"nick_name\";a:12:{s:4:\"name\";s:9:\"nick_name\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Nickname\";s:11:\"description\";s:9:\"Nickname.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.nick_name\";s:13:\"headerPattern\";s:21:\"/n(ick\\s)name|nick$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"is_opt_out\";a:11:{s:4:\"name\";s:10:\"is_opt_out\";s:4:\"type\";i:16;s:5:\"title\";s:29:\"No Bulk Emails (User Opt Out)\";s:11:\"description\";s:93:\"Has the contact opted out from receiving all bulk email from the organization or site domain?\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_opt_out\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:4:\"note\";a:2:{s:5:\"title\";s:7:\"Note(s)\";s:4:\"name\";s:4:\"note\";}s:6:\"openid\";a:13:{s:4:\"name\";s:6:\"openid\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"OpenID\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"civicrm_openid.openid\";s:13:\"headerPattern\";s:27:\"/^Open.?ID|u(niq\\w*)?.?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:15:\"hasLocationType\";b:1;}s:5:\"phone\";a:13:{s:4:\"name\";s:5:\"phone\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Phone\";s:11:\"description\";s:22:\"Complete phone number.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_phone.phone\";s:13:\"headerPattern\";s:8:\"/phone/i\";s:11:\"dataPattern\";s:19:\"/^[\\d\\(\\)\\-\\.\\s]+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"phone_ext\";a:13:{s:4:\"name\";s:9:\"phone_ext\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Phone Extension\";s:11:\"description\";s:38:\"Optional extension for a phone number.\";s:9:\"maxlength\";i:16;s:4:\"size\";i:4;s:6:\"import\";b:1;s:5:\"where\";s:23:\"civicrm_phone.phone_ext\";s:13:\"headerPattern\";s:12:\"/extension/i\";s:11:\"dataPattern\";s:7:\"/^\\d+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"postal_code\";a:13:{s:4:\"name\";s:11:\"postal_code\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Postal Code\";s:11:\"description\";s:114:\"Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_address.postal_code\";s:13:\"headerPattern\";s:13:\"/postal|zip/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:18:\"postal_code_suffix\";a:13:{s:4:\"name\";s:18:\"postal_code_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Postal Code Suffix\";s:11:\"description\";s:54:\"Store the suffix, like the +4 part in the USPS system.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:3;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_address.postal_code_suffix\";s:13:\"headerPattern\";s:29:\"/p(ostal)\\sc(ode)\\ss(uffix)/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:15:\"postal_greeting\";a:11:{s:4:\"name\";s:15:\"postal_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Postal Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"postal_greeting.label\";s:13:\"headerPattern\";s:20:\"/^postal_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:22:\"postal_greeting_custom\";a:12:{s:4:\"name\";s:22:\"postal_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Postal Greeting Custom\";s:11:\"description\";s:23:\"Custom Postal greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_contact.postal_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:30:\"preferred_communication_method\";a:13:{s:4:\"name\";s:30:\"preferred_communication_method\";s:4:\"type\";i:2;s:5:\"title\";s:30:\"Preferred Communication Method\";s:11:\"description\";s:44:\"What is the preferred mode of communication.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:46:\"civicrm_contact.preferred_communication_method\";s:13:\"headerPattern\";s:37:\"/^p(ref\\w*\\s)?c(omm\\w*)|( meth\\w*)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:30:\"preferred_communication_method\";s:14:\"optionEditPath\";s:52:\"civicrm/admin/options/preferred_communication_method\";}}s:18:\"preferred_language\";a:13:{s:4:\"name\";s:18:\"preferred_language\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Preferred Language\";s:11:\"description\";s:87:\"Which language is preferred for communication. FK to languages in civicrm_option_value.\";s:9:\"maxlength\";i:5;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_contact.preferred_language\";s:13:\"headerPattern\";s:8:\"/^lang/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:3:{s:15:\"optionGroupName\";s:9:\"languages\";s:9:\"keyColumn\";s:4:\"name\";s:14:\"optionEditPath\";s:31:\"civicrm/admin/options/languages\";}}s:21:\"preferred_mail_format\";a:14:{s:4:\"name\";s:21:\"preferred_mail_format\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Preferred Mail Format\";s:11:\"description\";s:47:\"What is the preferred mode of sending an email.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.preferred_mail_format\";s:13:\"headerPattern\";s:35:\"/^p(ref\\w*\\s)?m(ail\\s)?f(orm\\w*)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"Both\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:26:\"CRM_Core_SelectValues::pmf\";}}s:14:\"signature_html\";a:11:{s:4:\"name\";s:14:\"signature_html\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Html\";s:11:\"description\";s:39:\"HTML formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_html\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_text\";a:11:{s:4:\"name\";s:14:\"signature_text\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Text\";s:11:\"description\";s:39:\"Text formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_text\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"state_province\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"State\";s:11:\"description\";s:22:\"Name of State/Province\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_state_province.name\";s:13:\"headerPattern\";s:20:\"/state|prov(ince)?/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:14:\"street_address\";a:13:{s:4:\"name\";s:14:\"street_address\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Street Address\";s:11:\"description\";s:245:\"Concatenation of all routable street address components (prefix, street number, street name, suffix, unit\n number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail\n delivery, etc.).\n \";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_address.street_address\";s:13:\"headerPattern\";s:19:\"/(street|address)/i\";s:11:\"dataPattern\";s:56:\"/^(\\d{1,5}( [0-9A-Za-z]+)+)$|^(P\\.?O\\.\\? Box \\d{1,5})$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_1\";a:13:{s:4:\"name\";s:22:\"supplemental_address_1\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 1\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 1\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_1\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_2\";a:13:{s:4:\"name\";s:22:\"supplemental_address_2\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 2\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 2\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_2\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:3:\"tag\";a:2:{s:5:\"title\";s:6:\"Tag(s)\";s:4:\"name\";s:3:\"tag\";}s:14:\"user_unique_id\";a:13:{s:4:\"name\";s:14:\"user_unique_id\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Unique ID (OpenID)\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.user_unique_id\";s:13:\"headerPattern\";s:29:\"/^Open\\s?ID|u(niq\\w*)?\\s?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:3:\"url\";a:13:{s:4:\"name\";s:3:\"url\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Website\";s:11:\"description\";s:7:\"Website\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_website.url\";s:13:\"headerPattern\";s:10:\"/Website/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:14:\"hasWebsiteType\";b:1;}}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Individual_0_0_1_1._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Household_0_0_1_1' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__1__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Household', 'Contact' ) AND civicrm_custom_group.extends_entity_column_value IS NULL AND civicrm_custom_group.extends_entity_column_id IS NULL AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__1__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__1__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Household_0_0_0_0__1__0__0_7acce319' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__1__0__0_7acce319._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Household_0_0_1_1._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Household_0_0_1_1' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'importableFields Household_0_0_1_1' , 'a:48:{s:12:\"address_name\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Address Name\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.name\";s:13:\"headerPattern\";s:33:\"/^location|(l(ocation\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"addressee\";a:11:{s:4:\"name\";s:9:\"addressee\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Addressee\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:15:\"addressee.label\";s:13:\"headerPattern\";s:14:\"/^addressee$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:16:\"addressee_custom\";a:12:{s:4:\"name\";s:16:\"addressee_custom\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Addressee Custom\";s:11:\"description\";s:17:\"Custom Addressee.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.addressee_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:4:\"city\";a:13:{s:4:\"name\";s:4:\"city\";s:4:\"type\";i:2;s:5:\"title\";s:4:\"City\";s:11:\"description\";s:27:\"City, Town or Village Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.city\";s:13:\"headerPattern\";s:7:\"/city/i\";s:11:\"dataPattern\";s:37:\"/^[A-Za-z]+(\\.?)(\\s?[A-Za-z]+){0,2}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"communication_style_id\";a:2:{s:5:\"title\";s:19:\"Communication Style\";s:4:\"name\";s:22:\"communication_style_id\";}s:2:\"id\";a:10:{s:4:\"name\";s:2:\"id\";s:4:\"type\";i:1;s:5:\"title\";s:10:\"Contact ID\";s:11:\"description\";s:17:\"Unique Contact ID\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:18:\"civicrm_contact.id\";s:13:\"headerPattern\";s:24:\"/internal|contact?|id$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:14:\"contact_source\";a:12:{s:4:\"name\";s:6:\"source\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Contact Source\";s:11:\"description\";s:61:\"where contact come from, e.g. import, donate module insert...\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:22:\"civicrm_contact.source\";s:13:\"headerPattern\";s:24:\"/(C(ontact\\s)?Source)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:16:\"contact_sub_type\";a:13:{s:4:\"name\";s:16:\"contact_sub_type\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Contact Subtype\";s:11:\"description\";s:57:\"May be used to over-ride contact view and edit templates.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.contact_sub_type\";s:13:\"headerPattern\";s:41:\"/C(ontact )?(subtype|sub-type|sub type)/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:12:\"Multi-Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:21:\"parent_id IS NOT NULL\";}}s:7:\"country\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Country\";s:11:\"description\";s:12:\"Country Name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_country.name\";s:13:\"headerPattern\";s:10:\"/country/i\";s:11:\"dataPattern\";s:39:\"/^[A-Z][a-z]+\\.?(\\s+[A-Z][a-z]+){0,3}$/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:6:\"county\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"County\";s:11:\"description\";s:14:\"Name of County\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_county.name\";s:13:\"headerPattern\";s:9:\"/county/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:12:\"do_not_email\";a:9:{s:4:\"name\";s:12:\"do_not_email\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Email\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_email\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(email)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:11:\"do_not_mail\";a:9:{s:4:\"name\";s:11:\"do_not_mail\";s:4:\"type\";i:16;s:5:\"title\";s:11:\"Do Not Mail\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.do_not_mail\";s:13:\"headerPattern\";s:45:\"/^(d(o\\s)?n(ot\\s)?mail)|(\\w*)?bulk\\s?(\\w*)$/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_phone\";a:9:{s:4:\"name\";s:12:\"do_not_phone\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Phone\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_phone\";s:13:\"headerPattern\";s:28:\"/d(o )?(not )?(call|phone)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"do_not_sms\";a:9:{s:4:\"name\";s:10:\"do_not_sms\";s:4:\"type\";i:16;s:5:\"title\";s:10:\"Do Not Sms\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.do_not_sms\";s:13:\"headerPattern\";s:21:\"/d(o )?(not )?(sms)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_trade\";a:9:{s:4:\"name\";s:12:\"do_not_trade\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Trade\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_trade\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(trade)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:5:\"email\";a:14:{s:4:\"name\";s:5:\"email\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Email\";s:11:\"description\";s:13:\"Email address\";s:9:\"maxlength\";i:254;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_email.email\";s:13:\"headerPattern\";s:10:\"/e.?mail/i\";s:11:\"dataPattern\";s:91:\"/^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$/\";s:6:\"export\";b:1;s:4:\"rule\";s:5:\"email\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:14:\"email_greeting\";a:11:{s:4:\"name\";s:14:\"email_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Email Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"email_greeting.label\";s:13:\"headerPattern\";s:19:\"/^email_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:21:\"email_greeting_custom\";a:12:{s:4:\"name\";s:21:\"email_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Email Greeting Custom\";s:11:\"description\";s:22:\"Custom Email Greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.email_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"external_identifier\";a:12:{s:4:\"name\";s:19:\"external_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:19:\"External Identifier\";s:11:\"description\";s:113:\"Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:35:\"civicrm_contact.external_identifier\";s:13:\"headerPattern\";s:16:\"/external\\s?id/i\";s:11:\"dataPattern\";s:11:\"/^\\d{11,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:5:\"group\";a:2:{s:5:\"title\";s:8:\"Group(s)\";s:4:\"name\";s:5:\"group\";}s:14:\"household_name\";a:12:{s:4:\"name\";s:14:\"household_name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Household Name\";s:11:\"description\";s:15:\"Household Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.household_name\";s:13:\"headerPattern\";s:35:\"/^household|(h(ousehold\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:2:\"im\";a:13:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"IM Screen Name\";s:11:\"description\";s:14:\"IM screen name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:15:\"civicrm_im.name\";s:13:\"headerPattern\";s:40:\"/I(nstant )?M(ess.*)?|screen(\\s+)?name/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"image_URL\";a:12:{s:4:\"name\";s:9:\"image_URL\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Image Url\";s:11:\"description\";s:81:\"optional URL for preferred image (photo, logo, etc.) to display for this contact.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.image_URL\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"File\";}}s:10:\"geo_code_1\";a:11:{s:4:\"name\";s:10:\"geo_code_1\";s:4:\"type\";i:512;s:5:\"title\";s:8:\"Latitude\";s:11:\"description\";s:8:\"Latitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_1\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:10:\"geo_code_2\";a:11:{s:4:\"name\";s:10:\"geo_code_2\";s:4:\"type\";i:512;s:5:\"title\";s:9:\"Longitude\";s:11:\"description\";s:9:\"Longitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_2\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"master_id\";a:11:{s:4:\"name\";s:9:\"master_id\";s:4:\"type\";i:1;s:5:\"title\";s:25:\"Master Address Belongs To\";s:11:\"description\";s:16:\"FK to Address ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_address.master_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:11:\"FKClassName\";s:20:\"CRM_Core_DAO_Address\";s:15:\"hasLocationType\";b:1;}s:9:\"nick_name\";a:12:{s:4:\"name\";s:9:\"nick_name\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Nickname\";s:11:\"description\";s:9:\"Nickname.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.nick_name\";s:13:\"headerPattern\";s:21:\"/n(ick\\s)name|nick$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"is_opt_out\";a:11:{s:4:\"name\";s:10:\"is_opt_out\";s:4:\"type\";i:16;s:5:\"title\";s:29:\"No Bulk Emails (User Opt Out)\";s:11:\"description\";s:93:\"Has the contact opted out from receiving all bulk email from the organization or site domain?\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_opt_out\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:4:\"note\";a:2:{s:5:\"title\";s:7:\"Note(s)\";s:4:\"name\";s:4:\"note\";}s:6:\"openid\";a:13:{s:4:\"name\";s:6:\"openid\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"OpenID\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"civicrm_openid.openid\";s:13:\"headerPattern\";s:27:\"/^Open.?ID|u(niq\\w*)?.?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:15:\"hasLocationType\";b:1;}s:5:\"phone\";a:13:{s:4:\"name\";s:5:\"phone\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Phone\";s:11:\"description\";s:22:\"Complete phone number.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_phone.phone\";s:13:\"headerPattern\";s:8:\"/phone/i\";s:11:\"dataPattern\";s:19:\"/^[\\d\\(\\)\\-\\.\\s]+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"phone_ext\";a:13:{s:4:\"name\";s:9:\"phone_ext\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Phone Extension\";s:11:\"description\";s:38:\"Optional extension for a phone number.\";s:9:\"maxlength\";i:16;s:4:\"size\";i:4;s:6:\"import\";b:1;s:5:\"where\";s:23:\"civicrm_phone.phone_ext\";s:13:\"headerPattern\";s:12:\"/extension/i\";s:11:\"dataPattern\";s:7:\"/^\\d+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"postal_code\";a:13:{s:4:\"name\";s:11:\"postal_code\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Postal Code\";s:11:\"description\";s:114:\"Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_address.postal_code\";s:13:\"headerPattern\";s:13:\"/postal|zip/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:18:\"postal_code_suffix\";a:13:{s:4:\"name\";s:18:\"postal_code_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Postal Code Suffix\";s:11:\"description\";s:54:\"Store the suffix, like the +4 part in the USPS system.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:3;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_address.postal_code_suffix\";s:13:\"headerPattern\";s:29:\"/p(ostal)\\sc(ode)\\ss(uffix)/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:15:\"postal_greeting\";a:11:{s:4:\"name\";s:15:\"postal_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Postal Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"postal_greeting.label\";s:13:\"headerPattern\";s:20:\"/^postal_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:22:\"postal_greeting_custom\";a:12:{s:4:\"name\";s:22:\"postal_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Postal Greeting Custom\";s:11:\"description\";s:23:\"Custom Postal greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_contact.postal_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:30:\"preferred_communication_method\";a:13:{s:4:\"name\";s:30:\"preferred_communication_method\";s:4:\"type\";i:2;s:5:\"title\";s:30:\"Preferred Communication Method\";s:11:\"description\";s:44:\"What is the preferred mode of communication.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:46:\"civicrm_contact.preferred_communication_method\";s:13:\"headerPattern\";s:37:\"/^p(ref\\w*\\s)?c(omm\\w*)|( meth\\w*)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:30:\"preferred_communication_method\";s:14:\"optionEditPath\";s:52:\"civicrm/admin/options/preferred_communication_method\";}}s:18:\"preferred_language\";a:13:{s:4:\"name\";s:18:\"preferred_language\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Preferred Language\";s:11:\"description\";s:87:\"Which language is preferred for communication. FK to languages in civicrm_option_value.\";s:9:\"maxlength\";i:5;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_contact.preferred_language\";s:13:\"headerPattern\";s:8:\"/^lang/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:3:{s:15:\"optionGroupName\";s:9:\"languages\";s:9:\"keyColumn\";s:4:\"name\";s:14:\"optionEditPath\";s:31:\"civicrm/admin/options/languages\";}}s:21:\"preferred_mail_format\";a:14:{s:4:\"name\";s:21:\"preferred_mail_format\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Preferred Mail Format\";s:11:\"description\";s:47:\"What is the preferred mode of sending an email.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.preferred_mail_format\";s:13:\"headerPattern\";s:35:\"/^p(ref\\w*\\s)?m(ail\\s)?f(orm\\w*)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"Both\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:26:\"CRM_Core_SelectValues::pmf\";}}s:14:\"signature_html\";a:11:{s:4:\"name\";s:14:\"signature_html\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Html\";s:11:\"description\";s:39:\"HTML formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_html\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_text\";a:11:{s:4:\"name\";s:14:\"signature_text\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Text\";s:11:\"description\";s:39:\"Text formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_text\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"state_province\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"State\";s:11:\"description\";s:22:\"Name of State/Province\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_state_province.name\";s:13:\"headerPattern\";s:20:\"/state|prov(ince)?/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:14:\"street_address\";a:13:{s:4:\"name\";s:14:\"street_address\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Street Address\";s:11:\"description\";s:245:\"Concatenation of all routable street address components (prefix, street number, street name, suffix, unit\n number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail\n delivery, etc.).\n \";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_address.street_address\";s:13:\"headerPattern\";s:19:\"/(street|address)/i\";s:11:\"dataPattern\";s:56:\"/^(\\d{1,5}( [0-9A-Za-z]+)+)$|^(P\\.?O\\.\\? Box \\d{1,5})$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_1\";a:13:{s:4:\"name\";s:22:\"supplemental_address_1\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 1\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 1\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_1\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_2\";a:13:{s:4:\"name\";s:22:\"supplemental_address_2\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 2\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 2\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_2\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:3:\"tag\";a:2:{s:5:\"title\";s:6:\"Tag(s)\";s:4:\"name\";s:3:\"tag\";}s:14:\"user_unique_id\";a:13:{s:4:\"name\";s:14:\"user_unique_id\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Unique ID (OpenID)\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.user_unique_id\";s:13:\"headerPattern\";s:29:\"/^Open\\s?ID|u(niq\\w*)?\\s?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:3:\"url\";a:13:{s:4:\"name\";s:3:\"url\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Website\";s:11:\"description\";s:7:\"Website\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_website.url\";s:13:\"headerPattern\";s:10:\"/Website/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:14:\"hasWebsiteType\";b:1;}}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Household_0_0_1_1._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Organization_0_0_1_1' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__1__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Organization', 'Contact' ) AND civicrm_custom_group.extends_entity_column_value IS NULL AND civicrm_custom_group.extends_entity_column_id IS NULL AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__1__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__1__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Organization_0_0_0_0__1__0__0_7acce319' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__1__0__0_7acce319._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Organization_0_0_1_1._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'importableFields Organization_0_0_1_1' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'importableFields Organization_0_0_1_1' , 'a:51:{s:12:\"address_name\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Address Name\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.name\";s:13:\"headerPattern\";s:33:\"/^location|(l(ocation\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"addressee\";a:11:{s:4:\"name\";s:9:\"addressee\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Addressee\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:15:\"addressee.label\";s:13:\"headerPattern\";s:14:\"/^addressee$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:16:\"addressee_custom\";a:12:{s:4:\"name\";s:16:\"addressee_custom\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Addressee Custom\";s:11:\"description\";s:17:\"Custom Addressee.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.addressee_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:4:\"city\";a:13:{s:4:\"name\";s:4:\"city\";s:4:\"type\";i:2;s:5:\"title\";s:4:\"City\";s:11:\"description\";s:27:\"City, Town or Village Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.city\";s:13:\"headerPattern\";s:7:\"/city/i\";s:11:\"dataPattern\";s:37:\"/^[A-Za-z]+(\\.?)(\\s?[A-Za-z]+){0,2}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"communication_style_id\";a:2:{s:5:\"title\";s:19:\"Communication Style\";s:4:\"name\";s:22:\"communication_style_id\";}s:2:\"id\";a:10:{s:4:\"name\";s:2:\"id\";s:4:\"type\";i:1;s:5:\"title\";s:10:\"Contact ID\";s:11:\"description\";s:17:\"Unique Contact ID\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:18:\"civicrm_contact.id\";s:13:\"headerPattern\";s:24:\"/internal|contact?|id$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:14:\"contact_source\";a:12:{s:4:\"name\";s:6:\"source\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Contact Source\";s:11:\"description\";s:61:\"where contact come from, e.g. import, donate module insert...\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:22:\"civicrm_contact.source\";s:13:\"headerPattern\";s:24:\"/(C(ontact\\s)?Source)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:16:\"contact_sub_type\";a:13:{s:4:\"name\";s:16:\"contact_sub_type\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Contact Subtype\";s:11:\"description\";s:57:\"May be used to over-ride contact view and edit templates.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.contact_sub_type\";s:13:\"headerPattern\";s:41:\"/C(ontact )?(subtype|sub-type|sub type)/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:12:\"Multi-Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:21:\"parent_id IS NOT NULL\";}}s:7:\"country\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Country\";s:11:\"description\";s:12:\"Country Name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_country.name\";s:13:\"headerPattern\";s:10:\"/country/i\";s:11:\"dataPattern\";s:39:\"/^[A-Z][a-z]+\\.?(\\s+[A-Z][a-z]+){0,3}$/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:6:\"county\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"County\";s:11:\"description\";s:14:\"Name of County\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_county.name\";s:13:\"headerPattern\";s:9:\"/county/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:12:\"do_not_email\";a:9:{s:4:\"name\";s:12:\"do_not_email\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Email\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_email\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(email)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:11:\"do_not_mail\";a:9:{s:4:\"name\";s:11:\"do_not_mail\";s:4:\"type\";i:16;s:5:\"title\";s:11:\"Do Not Mail\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.do_not_mail\";s:13:\"headerPattern\";s:45:\"/^(d(o\\s)?n(ot\\s)?mail)|(\\w*)?bulk\\s?(\\w*)$/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_phone\";a:9:{s:4:\"name\";s:12:\"do_not_phone\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Phone\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_phone\";s:13:\"headerPattern\";s:28:\"/d(o )?(not )?(call|phone)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"do_not_sms\";a:9:{s:4:\"name\";s:10:\"do_not_sms\";s:4:\"type\";i:16;s:5:\"title\";s:10:\"Do Not Sms\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.do_not_sms\";s:13:\"headerPattern\";s:21:\"/d(o )?(not )?(sms)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_trade\";a:9:{s:4:\"name\";s:12:\"do_not_trade\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Trade\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_trade\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(trade)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:5:\"email\";a:14:{s:4:\"name\";s:5:\"email\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Email\";s:11:\"description\";s:13:\"Email address\";s:9:\"maxlength\";i:254;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_email.email\";s:13:\"headerPattern\";s:10:\"/e.?mail/i\";s:11:\"dataPattern\";s:91:\"/^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$/\";s:6:\"export\";b:1;s:4:\"rule\";s:5:\"email\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:14:\"email_greeting\";a:11:{s:4:\"name\";s:14:\"email_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Email Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"email_greeting.label\";s:13:\"headerPattern\";s:19:\"/^email_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:21:\"email_greeting_custom\";a:12:{s:4:\"name\";s:21:\"email_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Email Greeting Custom\";s:11:\"description\";s:22:\"Custom Email Greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.email_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"external_identifier\";a:12:{s:4:\"name\";s:19:\"external_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:19:\"External Identifier\";s:11:\"description\";s:113:\"Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:35:\"civicrm_contact.external_identifier\";s:13:\"headerPattern\";s:16:\"/external\\s?id/i\";s:11:\"dataPattern\";s:11:\"/^\\d{11,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:5:\"group\";a:2:{s:5:\"title\";s:8:\"Group(s)\";s:4:\"name\";s:5:\"group\";}s:2:\"im\";a:13:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"IM Screen Name\";s:11:\"description\";s:14:\"IM screen name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:15:\"civicrm_im.name\";s:13:\"headerPattern\";s:40:\"/I(nstant )?M(ess.*)?|screen(\\s+)?name/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"image_URL\";a:12:{s:4:\"name\";s:9:\"image_URL\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Image Url\";s:11:\"description\";s:81:\"optional URL for preferred image (photo, logo, etc.) to display for this contact.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.image_URL\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"File\";}}s:10:\"geo_code_1\";a:11:{s:4:\"name\";s:10:\"geo_code_1\";s:4:\"type\";i:512;s:5:\"title\";s:8:\"Latitude\";s:11:\"description\";s:8:\"Latitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_1\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:16:\"legal_identifier\";a:12:{s:4:\"name\";s:16:\"legal_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Legal Identifier\";s:11:\"description\";s:104:\"May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.\n \";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.legal_identifier\";s:13:\"headerPattern\";s:13:\"/legal\\s?id/i\";s:11:\"dataPattern\";s:12:\"/\\w+?\\d{5,}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"legal_name\";a:12:{s:4:\"name\";s:10:\"legal_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"Legal Name\";s:11:\"description\";s:11:\"Legal Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.legal_name\";s:13:\"headerPattern\";s:27:\"/^legal|(l(egal\\s)?name)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"geo_code_2\";a:11:{s:4:\"name\";s:10:\"geo_code_2\";s:4:\"type\";i:512;s:5:\"title\";s:9:\"Longitude\";s:11:\"description\";s:9:\"Longitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_2\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"master_id\";a:11:{s:4:\"name\";s:9:\"master_id\";s:4:\"type\";i:1;s:5:\"title\";s:25:\"Master Address Belongs To\";s:11:\"description\";s:16:\"FK to Address ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_address.master_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:11:\"FKClassName\";s:20:\"CRM_Core_DAO_Address\";s:15:\"hasLocationType\";b:1;}s:9:\"nick_name\";a:12:{s:4:\"name\";s:9:\"nick_name\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Nickname\";s:11:\"description\";s:9:\"Nickname.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.nick_name\";s:13:\"headerPattern\";s:21:\"/n(ick\\s)name|nick$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"is_opt_out\";a:11:{s:4:\"name\";s:10:\"is_opt_out\";s:4:\"type\";i:16;s:5:\"title\";s:29:\"No Bulk Emails (User Opt Out)\";s:11:\"description\";s:93:\"Has the contact opted out from receiving all bulk email from the organization or site domain?\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_opt_out\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:4:\"note\";a:2:{s:5:\"title\";s:7:\"Note(s)\";s:4:\"name\";s:4:\"note\";}s:6:\"openid\";a:13:{s:4:\"name\";s:6:\"openid\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"OpenID\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"civicrm_openid.openid\";s:13:\"headerPattern\";s:27:\"/^Open.?ID|u(niq\\w*)?.?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:15:\"hasLocationType\";b:1;}s:17:\"organization_name\";a:12:{s:4:\"name\";s:17:\"organization_name\";s:4:\"type\";i:2;s:5:\"title\";s:17:\"Organization Name\";s:11:\"description\";s:18:\"Organization Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:33:\"civicrm_contact.organization_name\";s:13:\"headerPattern\";s:41:\"/^organization|(o(rganization\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:5:\"phone\";a:13:{s:4:\"name\";s:5:\"phone\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Phone\";s:11:\"description\";s:22:\"Complete phone number.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_phone.phone\";s:13:\"headerPattern\";s:8:\"/phone/i\";s:11:\"dataPattern\";s:19:\"/^[\\d\\(\\)\\-\\.\\s]+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"phone_ext\";a:13:{s:4:\"name\";s:9:\"phone_ext\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Phone Extension\";s:11:\"description\";s:38:\"Optional extension for a phone number.\";s:9:\"maxlength\";i:16;s:4:\"size\";i:4;s:6:\"import\";b:1;s:5:\"where\";s:23:\"civicrm_phone.phone_ext\";s:13:\"headerPattern\";s:12:\"/extension/i\";s:11:\"dataPattern\";s:7:\"/^\\d+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"postal_code\";a:13:{s:4:\"name\";s:11:\"postal_code\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Postal Code\";s:11:\"description\";s:114:\"Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_address.postal_code\";s:13:\"headerPattern\";s:13:\"/postal|zip/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:18:\"postal_code_suffix\";a:13:{s:4:\"name\";s:18:\"postal_code_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Postal Code Suffix\";s:11:\"description\";s:54:\"Store the suffix, like the +4 part in the USPS system.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:3;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_address.postal_code_suffix\";s:13:\"headerPattern\";s:29:\"/p(ostal)\\sc(ode)\\ss(uffix)/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:15:\"postal_greeting\";a:11:{s:4:\"name\";s:15:\"postal_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Postal Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"postal_greeting.label\";s:13:\"headerPattern\";s:20:\"/^postal_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:22:\"postal_greeting_custom\";a:12:{s:4:\"name\";s:22:\"postal_greeting_custom\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Postal Greeting Custom\";s:11:\"description\";s:23:\"Custom Postal greeting.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_contact.postal_greeting_custom\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:0;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:30:\"preferred_communication_method\";a:13:{s:4:\"name\";s:30:\"preferred_communication_method\";s:4:\"type\";i:2;s:5:\"title\";s:30:\"Preferred Communication Method\";s:11:\"description\";s:44:\"What is the preferred mode of communication.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:46:\"civicrm_contact.preferred_communication_method\";s:13:\"headerPattern\";s:37:\"/^p(ref\\w*\\s)?c(omm\\w*)|( meth\\w*)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:30:\"preferred_communication_method\";s:14:\"optionEditPath\";s:52:\"civicrm/admin/options/preferred_communication_method\";}}s:18:\"preferred_language\";a:13:{s:4:\"name\";s:18:\"preferred_language\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Preferred Language\";s:11:\"description\";s:87:\"Which language is preferred for communication. FK to languages in civicrm_option_value.\";s:9:\"maxlength\";i:5;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_contact.preferred_language\";s:13:\"headerPattern\";s:8:\"/^lang/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:3:{s:15:\"optionGroupName\";s:9:\"languages\";s:9:\"keyColumn\";s:4:\"name\";s:14:\"optionEditPath\";s:31:\"civicrm/admin/options/languages\";}}s:21:\"preferred_mail_format\";a:14:{s:4:\"name\";s:21:\"preferred_mail_format\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Preferred Mail Format\";s:11:\"description\";s:47:\"What is the preferred mode of sending an email.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.preferred_mail_format\";s:13:\"headerPattern\";s:35:\"/^p(ref\\w*\\s)?m(ail\\s)?f(orm\\w*)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"Both\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:26:\"CRM_Core_SelectValues::pmf\";}}s:8:\"sic_code\";a:12:{s:4:\"name\";s:8:\"sic_code\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Sic Code\";s:11:\"description\";s:38:\"Standard Industry Classification Code.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:24:\"civicrm_contact.sic_code\";s:13:\"headerPattern\";s:23:\"/^sic|(s(ic\\s)?code)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:14:\"signature_html\";a:11:{s:4:\"name\";s:14:\"signature_html\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Html\";s:11:\"description\";s:39:\"HTML formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_html\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_text\";a:11:{s:4:\"name\";s:14:\"signature_text\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Text\";s:11:\"description\";s:39:\"Text formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_text\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"state_province\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"State\";s:11:\"description\";s:22:\"Name of State/Province\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_state_province.name\";s:13:\"headerPattern\";s:20:\"/state|prov(ince)?/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:14:\"street_address\";a:13:{s:4:\"name\";s:14:\"street_address\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Street Address\";s:11:\"description\";s:245:\"Concatenation of all routable street address components (prefix, street number, street name, suffix, unit\n number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail\n delivery, etc.).\n \";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_address.street_address\";s:13:\"headerPattern\";s:19:\"/(street|address)/i\";s:11:\"dataPattern\";s:56:\"/^(\\d{1,5}( [0-9A-Za-z]+)+)$|^(P\\.?O\\.\\? Box \\d{1,5})$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_1\";a:13:{s:4:\"name\";s:22:\"supplemental_address_1\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 1\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 1\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_1\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_2\";a:13:{s:4:\"name\";s:22:\"supplemental_address_2\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 2\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 2\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_2\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:3:\"tag\";a:2:{s:5:\"title\";s:6:\"Tag(s)\";s:4:\"name\";s:3:\"tag\";}s:14:\"user_unique_id\";a:13:{s:4:\"name\";s:14:\"user_unique_id\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Unique ID (OpenID)\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.user_unique_id\";s:13:\"headerPattern\";s:29:\"/^Open\\s?ID|u(niq\\w*)?\\s?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:3:\"url\";a:13:{s:4:\"name\";s:3:\"url\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Website\";s:11:\"description\";s:7:\"Website\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_website.url\";s:13:\"headerPattern\";s:10:\"/Website/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:14:\"hasWebsiteType\";b:1;}}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_importableFields Organization_0_0_1_1._' ) + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'address_options' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT subtype.name as contact_subtype, type.name as contact_type +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type type ON ( subtype.parent_id = type.id ) +WHERE subtype.name IN ('Student' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields 8d6684c53f48fff14ce12313b7bff549' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND ( civicrm_custom_group.extends_entity_column_value LIKE '%Student%' ) AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields 8d6684c53f48fff14ce12313b7bff549._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields 8d6684c53f48fff14ce12313b7bff549' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields 8d6684c53f48fff14ce12313b7bff549' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields 8d6684c53f48fff14ce12313b7bff549._' ) + + +SELECT subtype.name as contact_subtype, type.name as contact_type +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type type ON ( subtype.parent_id = type.id ) +WHERE subtype.name IN ('Parent' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields d38118e9f6399c8246f9b359fb5c3722' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND ( civicrm_custom_group.extends_entity_column_value LIKE '%Parent%' ) AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields d38118e9f6399c8246f9b359fb5c3722._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields d38118e9f6399c8246f9b359fb5c3722' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields d38118e9f6399c8246f9b359fb5c3722' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields d38118e9f6399c8246f9b359fb5c3722._' ) + + +SELECT subtype.name as contact_subtype, type.name as contact_type +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type type ON ( subtype.parent_id = type.id ) +WHERE subtype.name IN ('Staff' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_Staff_0_0_0__0__1__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND ( civicrm_custom_group.extends_entity_column_value LIKE '%Staff%' ) AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_Staff_0_0_0__0__1__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_Staff_0_0_0__0__1__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Individual_Staff_0_0_0__0__1__1_6a657c34' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_Staff_0_0_0__0__1__1_6a657c34._' ) + + +SELECT subtype.name as contact_subtype, type.name as contact_type +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type type ON ( subtype.parent_id = type.id ) +WHERE subtype.name IN ('Team' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields e4f3d7124d33d1eabdeebb7eaece57cc' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND ( civicrm_custom_group.extends_entity_column_value LIKE '%Team%' ) AND civicrm_custom_group.extends IN ( 'Organization', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields e4f3d7124d33d1eabdeebb7eaece57cc._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields e4f3d7124d33d1eabdeebb7eaece57cc' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields e4f3d7124d33d1eabdeebb7eaece57cc' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields e4f3d7124d33d1eabdeebb7eaece57cc._' ) + + +SELECT subtype.name as contact_subtype, type.name as contact_type +FROM civicrm_contact_type subtype +INNER JOIN civicrm_contact_type type ON ( subtype.parent_id = type.id ) +WHERE subtype.name IN ('Sponsor' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields 153af20e0c23bb17da8c3b7b67297811' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND ( civicrm_custom_group.extends_entity_column_value LIKE '%Sponsor%' ) AND civicrm_custom_group.extends IN ( 'Organization', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields 153af20e0c23bb17da8c3b7b67297811._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields 153af20e0c23bb17da8c3b7b67297811' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields 153af20e0c23bb17da8c3b7b67297811' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields 153af20e0c23bb17da8c3b7b67297811._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Contribution' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Contribution_0_0_0_0__0__0__1_6a657c34' , 'a:1:{i:1;a:18:{s:5:\"label\";s:22:\"testCreateWithCustomXX\";s:10:\"groupTitle\";s:13:\"testCreateWit\";s:9:\"data_type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:13:\"default_value\";s:12:\"defaultValue\";s:11:\"text_length\";N;s:16:\"options_per_line\";N;s:15:\"custom_group_id\";s:1:\"1\";s:7:\"extends\";s:12:\"Contribution\";s:15:\"is_search_range\";s:1:\"0\";s:27:\"extends_entity_column_value\";N;s:24:\"extends_entity_column_id\";N;s:7:\"is_view\";s:1:\"0\";s:11:\"is_multiple\";s:1:\"0\";s:15:\"option_group_id\";N;s:11:\"date_format\";N;s:11:\"time_format\";N;s:11:\"is_required\";s:1:\"0\";}}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Participant_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Participant' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Participant_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Participant_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Participant_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Participant_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Membership_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Membership' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Membership_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Membership_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Membership_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183516 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Membership_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Activity_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Activity' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Activity_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Activity_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Activity_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183517 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Activity_0_0_0_0__0__0__1_6a657c34._' ) + + COMMIT + + TRUNCATE TABLE civicrm_acl_contact_cache + + +SELECT cg.table_name, cf.column_name, cg.id +FROM civicrm_custom_group cg, + civicrm_custom_field cf +WHERE cf.custom_group_id = cg.id +AND cf.id = 1 + + BEGIN + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'cg_extend_objects' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Contribution' ) AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' , 'a:1:{i:1;a:18:{s:5:\"label\";s:22:\"testCreateWithCustomXX\";s:10:\"groupTitle\";s:13:\"testCreateWit\";s:9:\"data_type\";s:6:\"String\";s:9:\"html_type\";s:4:\"Text\";s:13:\"default_value\";s:12:\"defaultValue\";s:11:\"text_length\";N;s:16:\"options_per_line\";N;s:15:\"custom_group_id\";s:1:\"1\";s:7:\"extends\";s:12:\"Contribution\";s:15:\"is_search_range\";s:1:\"0\";s:27:\"extends_entity_column_value\";N;s:24:\"extends_entity_column_id\";N;s:7:\"is_view\";s:1:\"0\";s:11:\"is_multiple\";s:1:\"0\";s:15:\"option_group_id\";N;s:11:\"date_format\";N;s:11:\"time_format\";N;s:11:\"is_required\";s:1:\"0\";}}' , 20151201183517 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__0_7acce319._' ) + + SELECT id AS id, name AS label FROM civicrm_financial_type ORDER BY name + + SELECT name AS id, symbol AS label FROM civicrm_currency ORDER BY symbol + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND g.is_active = 1 ORDER BY v.weight + + +SELECT cg.table_name, cf.column_name, cg.id +FROM civicrm_custom_group cg, + civicrm_custom_field cf +WHERE cf.custom_group_id = cg.id +AND cf.id = 1 + + + SELECT fa.tax_rate, efa.entity_id + FROM civicrm_entity_financial_account efa + INNER JOIN civicrm_financial_account fa ON fa.id = efa.financial_account_id + INNER JOIN civicrm_option_value cov ON cov.value = efa.account_relationship + INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id + WHERE efa.entity_table = 'civicrm_financial_type' + AND cov.name = 'Sales Tax Account is' + AND cog.name = 'account_relationship' + AND fa.is_active = 1 + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND g.is_active = 1 AND v.is_active = 1 AND is_default = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + +SELECT ps.id AS setID, pfv.price_field_id AS priceFieldID, pfv.id AS priceFieldValueID, pfv.name, pfv.label, pfv.membership_type_id, pfv.amount, pfv.financial_type_id +FROM civicrm_price_set ps +LEFT JOIN civicrm_price_field pf ON pf.`price_set_id` = ps.id +LEFT JOIN civicrm_price_field_value pfv ON pfv.price_field_id = pf.id +WHERE ps.name = 'default_contribution_amount' + + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 1 , 1 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 1 , 1 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'account_relationship' + AND g.is_active = 1 AND v.is_active = 1 AND v.name LIKE 'Income Account is' ORDER BY v.weight + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 1 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 1 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 1 , 1 , 100 ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'account_relationship' + AND g.is_active = 1 AND v.is_active = 1 AND v.name LIKE 'Expense Account is' ORDER BY v.weight + + SELECT account_relationship, financial_account_id + FROM civicrm_entity_financial_account + + WHERE ( entity_id = 1 ) + + + ORDER BY financial_account_id + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 1 , 2 , 5 ) + + SELECT contact_id + FROM civicrm_domain + + WHERE ( civicrm_domain.id = 1 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183517 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 1 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 2 , 2 , 5 ) + + INSERT INTO civicrm_value_testcreatewit_1 ( testcreatewithcustomxx_1,entity_id ) VALUES ( 'custom string',1 ) ON DUPLICATE KEY UPDATE testcreatewithcustomxx_1 = 'custom string' + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 1 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 1 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 1 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'priority' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 1 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_contacts' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 1 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 1 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 1 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 1 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 1 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 1 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 1 , 'Activity created for source=3' , 3 , 20151201183517 ) + + SELECT id, name + FROM civicrm_financial_type + + WHERE ( is_active = 1 ) + + + ORDER BY name + + + SELECT display_name + FROM civicrm_contact + + WHERE ( civicrm_contact.id = 3 ) + + + + + + COMMIT + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'exportableFields All_1_0_1_' ) + + + + + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Address' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Address_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183517 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Address_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Individual', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Individual_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183517 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Individual_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Household', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Household_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183517 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Household_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Organization', 'Contact' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Organization_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183517 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Organization_0_0_0_0__0__0__1_6a657c34._' ) + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_exportableFields All_1_0_1_._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'exportableFields All_1_0_1_' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'exportableFields All_1_0_1_' , 'a:78:{s:2:\"id\";a:10:{s:4:\"name\";s:2:\"id\";s:4:\"type\";i:1;s:5:\"title\";s:10:\"Contact ID\";s:11:\"description\";s:17:\"Unique Contact ID\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:18:\"civicrm_contact.id\";s:13:\"headerPattern\";s:24:\"/internal|contact?|id$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:12:\"contact_type\";a:12:{s:4:\"name\";s:12:\"contact_type\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Contact Type\";s:11:\"description\";s:16:\"Type of Contact.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.contact_type\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:17:\"parent_id IS NULL\";}}s:16:\"contact_sub_type\";a:13:{s:4:\"name\";s:16:\"contact_sub_type\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Contact Subtype\";s:11:\"description\";s:57:\"May be used to over-ride contact view and edit templates.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.contact_sub_type\";s:13:\"headerPattern\";s:41:\"/C(ontact )?(subtype|sub-type|sub type)/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:12:\"Multi-Select\";}s:14:\"pseudoconstant\";a:4:{s:5:\"table\";s:20:\"civicrm_contact_type\";s:9:\"keyColumn\";s:4:\"name\";s:11:\"labelColumn\";s:5:\"label\";s:9:\"condition\";s:21:\"parent_id IS NOT NULL\";}}s:12:\"do_not_email\";a:9:{s:4:\"name\";s:12:\"do_not_email\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Email\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_email\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(email)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_phone\";a:9:{s:4:\"name\";s:12:\"do_not_phone\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Phone\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_phone\";s:13:\"headerPattern\";s:28:\"/d(o )?(not )?(call|phone)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:11:\"do_not_mail\";a:9:{s:4:\"name\";s:11:\"do_not_mail\";s:4:\"type\";i:16;s:5:\"title\";s:11:\"Do Not Mail\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.do_not_mail\";s:13:\"headerPattern\";s:45:\"/^(d(o\\s)?n(ot\\s)?mail)|(\\w*)?bulk\\s?(\\w*)$/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"do_not_sms\";a:9:{s:4:\"name\";s:10:\"do_not_sms\";s:4:\"type\";i:16;s:5:\"title\";s:10:\"Do Not Sms\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.do_not_sms\";s:13:\"headerPattern\";s:21:\"/d(o )?(not )?(sms)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"do_not_trade\";a:9:{s:4:\"name\";s:12:\"do_not_trade\";s:4:\"type\";i:16;s:5:\"title\";s:12:\"Do Not Trade\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.do_not_trade\";s:13:\"headerPattern\";s:23:\"/d(o )?(not )?(trade)/i\";s:11:\"dataPattern\";s:10:\"/^\\d{1,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:10:\"is_opt_out\";a:11:{s:4:\"name\";s:10:\"is_opt_out\";s:4:\"type\";i:16;s:5:\"title\";s:29:\"No Bulk Emails (User Opt Out)\";s:11:\"description\";s:93:\"Has the contact opted out from receiving all bulk email from the organization or site domain?\";s:8:\"required\";b:1;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_opt_out\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:16:\"legal_identifier\";a:12:{s:4:\"name\";s:16:\"legal_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:16:\"Legal Identifier\";s:11:\"description\";s:104:\"May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.\n \";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:32:\"civicrm_contact.legal_identifier\";s:13:\"headerPattern\";s:13:\"/legal\\s?id/i\";s:11:\"dataPattern\";s:12:\"/\\w+?\\d{5,}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"external_identifier\";a:12:{s:4:\"name\";s:19:\"external_identifier\";s:4:\"type\";i:2;s:5:\"title\";s:19:\"External Identifier\";s:11:\"description\";s:113:\"Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:35:\"civicrm_contact.external_identifier\";s:13:\"headerPattern\";s:16:\"/external\\s?id/i\";s:11:\"dataPattern\";s:11:\"/^\\d{11,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"sort_name\";a:11:{s:4:\"name\";s:9:\"sort_name\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Sort Name\";s:11:\"description\";s:45:\"Name used for sorting different contact types\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:25:\"civicrm_contact.sort_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:12:\"display_name\";a:11:{s:4:\"name\";s:12:\"display_name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Display Name\";s:11:\"description\";s:76:\"Formatted name representing preferred format for display/print/other output.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.display_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"nick_name\";a:12:{s:4:\"name\";s:9:\"nick_name\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Nickname\";s:11:\"description\";s:9:\"Nickname.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.nick_name\";s:13:\"headerPattern\";s:21:\"/n(ick\\s)name|nick$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"legal_name\";a:12:{s:4:\"name\";s:10:\"legal_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"Legal Name\";s:11:\"description\";s:11:\"Legal Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.legal_name\";s:13:\"headerPattern\";s:27:\"/^legal|(l(egal\\s)?name)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"image_URL\";a:12:{s:4:\"name\";s:9:\"image_URL\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Image Url\";s:11:\"description\";s:81:\"optional URL for preferred image (photo, logo, etc.) to display for this contact.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.image_URL\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"File\";}}s:30:\"preferred_communication_method\";a:13:{s:4:\"name\";s:30:\"preferred_communication_method\";s:4:\"type\";i:2;s:5:\"title\";s:30:\"Preferred Communication Method\";s:11:\"description\";s:44:\"What is the preferred mode of communication.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:46:\"civicrm_contact.preferred_communication_method\";s:13:\"headerPattern\";s:37:\"/^p(ref\\w*\\s)?c(omm\\w*)|( meth\\w*)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:30:\"preferred_communication_method\";s:14:\"optionEditPath\";s:52:\"civicrm/admin/options/preferred_communication_method\";}}s:18:\"preferred_language\";a:13:{s:4:\"name\";s:18:\"preferred_language\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Preferred Language\";s:11:\"description\";s:87:\"Which language is preferred for communication. FK to languages in civicrm_option_value.\";s:9:\"maxlength\";i:5;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_contact.preferred_language\";s:13:\"headerPattern\";s:8:\"/^lang/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:3:{s:15:\"optionGroupName\";s:9:\"languages\";s:9:\"keyColumn\";s:4:\"name\";s:14:\"optionEditPath\";s:31:\"civicrm/admin/options/languages\";}}s:21:\"preferred_mail_format\";a:14:{s:4:\"name\";s:21:\"preferred_mail_format\";s:4:\"type\";i:2;s:5:\"title\";s:21:\"Preferred Mail Format\";s:11:\"description\";s:47:\"What is the preferred mode of sending an email.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:37:\"civicrm_contact.preferred_mail_format\";s:13:\"headerPattern\";s:35:\"/^p(ref\\w*\\s)?m(ail\\s)?f(orm\\w*)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"Both\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:1:{s:8:\"callback\";s:26:\"CRM_Core_SelectValues::pmf\";}}s:4:\"hash\";a:10:{s:4:\"name\";s:4:\"hash\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Contact Hash\";s:11:\"description\";s:52:\"Key for validating requests related to this contact.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"export\";b:1;s:5:\"where\";s:20:\"civicrm_contact.hash\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";}s:14:\"contact_source\";a:12:{s:4:\"name\";s:6:\"source\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Contact Source\";s:11:\"description\";s:61:\"where contact come from, e.g. import, donate module insert...\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:22:\"civicrm_contact.source\";s:13:\"headerPattern\";s:24:\"/(C(ontact\\s)?Source)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:10:\"first_name\";a:12:{s:4:\"name\";s:10:\"first_name\";s:4:\"type\";i:2;s:5:\"title\";s:10:\"First Name\";s:11:\"description\";s:11:\"First Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.first_name\";s:13:\"headerPattern\";s:27:\"/^first|(f(irst\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:11:\"middle_name\";a:12:{s:4:\"name\";s:11:\"middle_name\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Middle Name\";s:11:\"description\";s:12:\"Middle Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.middle_name\";s:13:\"headerPattern\";s:29:\"/^middle|(m(iddle\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"last_name\";a:12:{s:4:\"name\";s:9:\"last_name\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Last Name\";s:11:\"description\";s:10:\"Last Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.last_name\";s:13:\"headerPattern\";s:25:\"/^last|(l(ast\\s)?name)$/i\";s:11:\"dataPattern\";s:16:\"/^\\w+(\\s\\w+)?+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"prefix_id\";a:11:{s:4:\"name\";s:9:\"prefix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Prefix\";s:11:\"description\";s:53:\"Prefix or Title for name (Ms, Mr...). FK to prefix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.prefix_id\";s:13:\"headerPattern\";s:18:\"/^(prefix|title)/i\";s:11:\"dataPattern\";s:26:\"/^(mr|ms|mrs|sir|dr)\\.?$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_prefix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_prefix\";}}s:9:\"suffix_id\";a:11:{s:4:\"name\";s:9:\"suffix_id\";s:4:\"type\";i:1;s:5:\"title\";s:17:\"Individual Suffix\";s:11:\"description\";s:44:\"Suffix for name (Jr, Sr...). FK to suffix ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.suffix_id\";s:13:\"headerPattern\";s:11:\"/^suffix$/i\";s:11:\"dataPattern\";s:20:\"/^(sr|jr)\\.?|i{2,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:17:\"individual_suffix\";s:14:\"optionEditPath\";s:39:\"civicrm/admin/options/individual_suffix\";}}s:12:\"formal_title\";a:11:{s:4:\"name\";s:12:\"formal_title\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Formal Title\";s:11:\"description\";s:70:\"Formal (academic or similar) title in front of name. (Prof., Dr. etc.)\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_contact.formal_title\";s:13:\"headerPattern\";s:9:\"/^title/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:22:\"communication_style_id\";a:10:{s:4:\"name\";s:22:\"communication_style_id\";s:4:\"type\";i:1;s:5:\"title\";s:19:\"Communication Style\";s:11:\"description\";s:124:\"Communication style (e.g. formal vs. familiar) to use with this contact. FK to communication styles in civicrm_option_value.\";s:6:\"export\";b:1;s:5:\"where\";s:38:\"civicrm_contact.communication_style_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:19:\"communication_style\";s:14:\"optionEditPath\";s:41:\"civicrm/admin/options/communication_style\";}}s:9:\"job_title\";a:12:{s:4:\"name\";s:9:\"job_title\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Job Title\";s:11:\"description\";s:9:\"Job Title\";s:9:\"maxlength\";i:255;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.job_title\";s:13:\"headerPattern\";s:24:\"/^job|(j(ob\\s)?title)$/i\";s:11:\"dataPattern\";s:2:\"//\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:9:\"gender_id\";a:11:{s:4:\"name\";s:9:\"gender_id\";s:4:\"type\";i:1;s:5:\"title\";s:6:\"Gender\";s:11:\"description\";s:15:\"FK to gender ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_contact.gender_id\";s:13:\"headerPattern\";s:11:\"/^gender$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:6:\"Select\";}s:14:\"pseudoconstant\";a:2:{s:15:\"optionGroupName\";s:6:\"gender\";s:14:\"optionEditPath\";s:28:\"civicrm/admin/options/gender\";}}s:10:\"birth_date\";a:10:{s:4:\"name\";s:10:\"birth_date\";s:4:\"type\";i:4;s:5:\"title\";s:10:\"Birth Date\";s:11:\"description\";s:13:\"Date of birth\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_contact.birth_date\";s:13:\"headerPattern\";s:46:\"/^birth|(b(irth\\s)?date)|D(\\W*)O(\\W*)B(\\W*)$/i\";s:11:\"dataPattern\";s:21:\"/\\d{4}-?\\d{2}-?\\d{2}/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:11:\"is_deceased\";a:9:{s:4:\"name\";s:11:\"is_deceased\";s:4:\"type\";i:16;s:5:\"title\";s:8:\"Deceased\";s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_contact.is_deceased\";s:13:\"headerPattern\";s:21:\"/i(s\\s)?d(eceased)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:13:\"deceased_date\";a:10:{s:4:\"name\";s:13:\"deceased_date\";s:4:\"type\";i:4;s:5:\"title\";s:13:\"Deceased Date\";s:11:\"description\";s:16:\"Date of deceased\";s:6:\"import\";b:1;s:5:\"where\";s:29:\"civicrm_contact.deceased_date\";s:13:\"headerPattern\";s:33:\"/^deceased|(d(eceased\\s)?date)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:11:\"Select Date\";}}s:14:\"household_name\";a:12:{s:4:\"name\";s:14:\"household_name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Household Name\";s:11:\"description\";s:15:\"Household Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.household_name\";s:13:\"headerPattern\";s:35:\"/^household|(h(ousehold\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:17:\"organization_name\";a:12:{s:4:\"name\";s:17:\"organization_name\";s:4:\"type\";i:2;s:5:\"title\";s:17:\"Organization Name\";s:11:\"description\";s:18:\"Organization Name.\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:33:\"civicrm_contact.organization_name\";s:13:\"headerPattern\";s:41:\"/^organization|(o(rganization\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:8:\"sic_code\";a:12:{s:4:\"name\";s:8:\"sic_code\";s:4:\"type\";i:2;s:5:\"title\";s:8:\"Sic Code\";s:11:\"description\";s:38:\"Standard Industry Classification Code.\";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"import\";b:1;s:5:\"where\";s:24:\"civicrm_contact.sic_code\";s:13:\"headerPattern\";s:23:\"/^sic|(s(ic\\s)?code)$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:14:\"user_unique_id\";a:13:{s:4:\"name\";s:14:\"user_unique_id\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Unique ID (OpenID)\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_contact.user_unique_id\";s:13:\"headerPattern\";s:29:\"/^Open\\s?ID|u(niq\\w*)?\\s?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:19:\"current_employer_id\";a:10:{s:4:\"name\";s:11:\"employer_id\";s:4:\"type\";i:1;s:5:\"title\";s:16:\"Current Employer\";s:11:\"description\";s:38:\"OPTIONAL FK to civicrm_contact record.\";s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_contact.employer_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:11:\"FKClassName\";s:23:\"CRM_Contact_DAO_Contact\";s:4:\"html\";a:1:{s:4:\"type\";s:19:\"Autocomplete-Select\";}}s:18:\"contact_is_deleted\";a:9:{s:4:\"name\";s:10:\"is_deleted\";s:4:\"type\";i:16;s:5:\"title\";s:19:\"Contact is in Trash\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:26:\"civicrm_contact.is_deleted\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}}s:12:\"created_date\";a:10:{s:4:\"name\";s:12:\"created_date\";s:4:\"type\";i:256;s:5:\"title\";s:12:\"Created Date\";s:11:\"description\";s:33:\"When was the contact was created.\";s:8:\"required\";b:0;s:6:\"export\";b:1;s:5:\"where\";s:28:\"civicrm_contact.created_date\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:7:\"default\";s:4:\"NULL\";}s:13:\"modified_date\";a:10:{s:4:\"name\";s:13:\"modified_date\";s:4:\"type\";i:256;s:5:\"title\";s:13:\"Modified Date\";s:11:\"description\";s:84:\"When was the contact (or closely related entity) was created or modified or deleted.\";s:8:\"required\";b:0;s:6:\"export\";b:1;s:5:\"where\";s:29:\"civicrm_contact.modified_date\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:7:\"default\";s:45:\"CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP\";}s:9:\"addressee\";a:11:{s:4:\"name\";s:9:\"addressee\";s:4:\"type\";i:2;s:5:\"title\";s:9:\"Addressee\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:15:\"addressee.label\";s:13:\"headerPattern\";s:14:\"/^addressee$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:14:\"email_greeting\";a:11:{s:4:\"name\";s:14:\"email_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Email Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"email_greeting.label\";s:13:\"headerPattern\";s:19:\"/^email_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:15:\"postal_greeting\";a:11:{s:4:\"name\";s:15:\"postal_greeting\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Postal Greeting\";s:11:\"description\";s:133:\"Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"postal_greeting.label\";s:13:\"headerPattern\";s:20:\"/^postal_greeting$/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;}s:16:\"current_employer\";a:2:{s:4:\"name\";s:17:\"organization_name\";s:5:\"title\";s:16:\"Current Employer\";}s:13:\"location_type\";a:4:{s:4:\"name\";s:13:\"location_type\";s:5:\"where\";s:26:\"civicrm_location_type.name\";s:5:\"title\";s:13:\"Location Type\";s:15:\"hasLocationType\";b:1;}s:14:\"street_address\";a:13:{s:4:\"name\";s:14:\"street_address\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"Street Address\";s:11:\"description\";s:245:\"Concatenation of all routable street address components (prefix, street number, street name, suffix, unit\n number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail\n delivery, etc.).\n \";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:30:\"civicrm_address.street_address\";s:13:\"headerPattern\";s:19:\"/(street|address)/i\";s:11:\"dataPattern\";s:56:\"/^(\\d{1,5}( [0-9A-Za-z]+)+)$|^(P\\.?O\\.\\? Box \\d{1,5})$/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:13:\"street_number\";a:10:{s:4:\"name\";s:13:\"street_number\";s:4:\"type\";i:1;s:5:\"title\";s:13:\"Street Number\";s:11:\"description\";s:96:\"Numeric portion of address number on the street, e.g. For 112A Main St, the street_number = 112.\";s:6:\"export\";b:1;s:5:\"where\";s:29:\"civicrm_address.street_number\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:20:\"street_number_suffix\";a:12:{s:4:\"name\";s:20:\"street_number_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:20:\"Street Number Suffix\";s:11:\"description\";s:109:\"Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A\n \";s:9:\"maxlength\";i:8;s:4:\"size\";i:8;s:6:\"export\";b:1;s:5:\"where\";s:36:\"civicrm_address.street_number_suffix\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"street_name\";a:12:{s:4:\"name\";s:11:\"street_name\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Street Name\";s:11:\"description\";s:92:\"Actual street name, excluding St, Dr, Rd, Ave, e.g. For 112 Main St, the street_name = Main.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_address.street_name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"street_unit\";a:12:{s:4:\"name\";s:11:\"street_unit\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Street Unit\";s:11:\"description\";s:64:\"Secondary unit designator, e.g. Apt 3 or Unit # 14, or Bldg 1200\";s:9:\"maxlength\";i:16;s:4:\"size\";i:12;s:6:\"export\";b:1;s:5:\"where\";s:27:\"civicrm_address.street_unit\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_1\";a:13:{s:4:\"name\";s:22:\"supplemental_address_1\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 1\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 1\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_1\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:22:\"supplemental_address_2\";a:13:{s:4:\"name\";s:22:\"supplemental_address_2\";s:4:\"type\";i:2;s:5:\"title\";s:22:\"Supplemental Address 2\";s:11:\"description\";s:40:\"Supplemental Address Information, Line 2\";s:9:\"maxlength\";i:96;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:38:\"civicrm_address.supplemental_address_2\";s:13:\"headerPattern\";s:38:\"/(supplemental(\\s)?)?address(\\s\\d+)?/i\";s:11:\"dataPattern\";s:33:\"/unit|ap(ar)?t(ment)?\\s(\\d|\\w)+/i\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:4:\"city\";a:13:{s:4:\"name\";s:4:\"city\";s:4:\"type\";i:2;s:5:\"title\";s:4:\"City\";s:11:\"description\";s:27:\"City, Town or Village Name.\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.city\";s:13:\"headerPattern\";s:7:\"/city/i\";s:11:\"dataPattern\";s:37:\"/^[A-Za-z]+(\\.?)(\\s?[A-Za-z]+){0,2}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:18:\"postal_code_suffix\";a:13:{s:4:\"name\";s:18:\"postal_code_suffix\";s:4:\"type\";i:2;s:5:\"title\";s:18:\"Postal Code Suffix\";s:11:\"description\";s:54:\"Store the suffix, like the +4 part in the USPS system.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:3;s:6:\"import\";b:1;s:5:\"where\";s:34:\"civicrm_address.postal_code_suffix\";s:13:\"headerPattern\";s:29:\"/p(ostal)\\sc(ode)\\ss(uffix)/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:11:\"postal_code\";a:13:{s:4:\"name\";s:11:\"postal_code\";s:4:\"type\";i:2;s:5:\"title\";s:11:\"Postal Code\";s:11:\"description\";s:114:\"Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.\";s:9:\"maxlength\";i:12;s:4:\"size\";i:6;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_address.postal_code\";s:13:\"headerPattern\";s:13:\"/postal|zip/i\";s:11:\"dataPattern\";s:19:\"/\\d?\\d{4}(-\\d{4})?/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:10:\"geo_code_1\";a:11:{s:4:\"name\";s:10:\"geo_code_1\";s:4:\"type\";i:512;s:5:\"title\";s:8:\"Latitude\";s:11:\"description\";s:8:\"Latitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_1\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:10:\"geo_code_2\";a:11:{s:4:\"name\";s:10:\"geo_code_2\";s:4:\"type\";i:512;s:5:\"title\";s:9:\"Longitude\";s:11:\"description\";s:9:\"Longitude\";s:6:\"import\";b:1;s:5:\"where\";s:26:\"civicrm_address.geo_code_2\";s:13:\"headerPattern\";s:6:\"/geo/i\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:12:\"address_name\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"Address Name\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_address.name\";s:13:\"headerPattern\";s:33:\"/^location|(l(ocation\\s)?name)$/i\";s:11:\"dataPattern\";s:7:\"/^\\w+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"master_id\";a:11:{s:4:\"name\";s:9:\"master_id\";s:4:\"type\";i:1;s:5:\"title\";s:25:\"Master Address Belongs To\";s:11:\"description\";s:16:\"FK to Address ID\";s:6:\"import\";b:1;s:5:\"where\";s:25:\"civicrm_address.master_id\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:11:\"FKClassName\";s:20:\"CRM_Core_DAO_Address\";s:15:\"hasLocationType\";b:1;}s:6:\"county\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"County\";s:11:\"description\";s:14:\"Name of County\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_county.name\";s:13:\"headerPattern\";s:9:\"/county/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:14:\"state_province\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"State\";s:11:\"description\";s:22:\"Name of State/Province\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:27:\"civicrm_state_province.name\";s:13:\"headerPattern\";s:20:\"/state|prov(ince)?/i\";s:11:\"dataPattern\";s:10:\"/[A-Z]{2}/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:7:\"country\";a:12:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Country\";s:11:\"description\";s:12:\"Country Name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:20:\"civicrm_country.name\";s:13:\"headerPattern\";s:10:\"/country/i\";s:11:\"dataPattern\";s:39:\"/^[A-Z][a-z]+\\.?(\\s+[A-Z][a-z]+){0,3}$/\";s:6:\"export\";b:1;s:15:\"hasLocationType\";b:1;}s:5:\"phone\";a:13:{s:4:\"name\";s:5:\"phone\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Phone\";s:11:\"description\";s:22:\"Complete phone number.\";s:9:\"maxlength\";i:32;s:4:\"size\";i:20;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_phone.phone\";s:13:\"headerPattern\";s:8:\"/phone/i\";s:11:\"dataPattern\";s:19:\"/^[\\d\\(\\)\\-\\.\\s]+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:9:\"phone_ext\";a:13:{s:4:\"name\";s:9:\"phone_ext\";s:4:\"type\";i:2;s:5:\"title\";s:15:\"Phone Extension\";s:11:\"description\";s:38:\"Optional extension for a phone number.\";s:9:\"maxlength\";i:16;s:4:\"size\";i:4;s:6:\"import\";b:1;s:5:\"where\";s:23:\"civicrm_phone.phone_ext\";s:13:\"headerPattern\";s:12:\"/extension/i\";s:11:\"dataPattern\";s:7:\"/^\\d+$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:5:\"email\";a:14:{s:4:\"name\";s:5:\"email\";s:4:\"type\";i:2;s:5:\"title\";s:5:\"Email\";s:11:\"description\";s:13:\"Email address\";s:9:\"maxlength\";i:254;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_email.email\";s:13:\"headerPattern\";s:10:\"/e.?mail/i\";s:11:\"dataPattern\";s:91:\"/^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$/\";s:6:\"export\";b:1;s:4:\"rule\";s:5:\"email\";s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:7:\"on_hold\";a:11:{s:4:\"name\";s:7:\"on_hold\";s:4:\"type\";i:16;s:5:\"title\";s:7:\"On Hold\";s:11:\"description\";s:31:\"Is this address on bounce hold?\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:21:\"civicrm_email.on_hold\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:4:\"html\";a:1:{s:4:\"type\";s:8:\"CheckBox\";}s:15:\"hasLocationType\";b:1;}s:11:\"is_bulkmail\";a:10:{s:4:\"name\";s:11:\"is_bulkmail\";s:4:\"type\";i:16;s:5:\"title\";s:17:\"Use for Bulk Mail\";s:11:\"description\";s:31:\"Is this address for bulk mail ?\";s:8:\"required\";b:1;s:6:\"export\";b:1;s:5:\"where\";s:25:\"civicrm_email.is_bulkmail\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_text\";a:11:{s:4:\"name\";s:14:\"signature_text\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Text\";s:11:\"description\";s:39:\"Text formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_text\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:14:\"signature_html\";a:11:{s:4:\"name\";s:14:\"signature_html\";s:4:\"type\";i:32;s:5:\"title\";s:14:\"Signature Html\";s:11:\"description\";s:39:\"HTML formatted signature for the email.\";s:6:\"import\";b:1;s:5:\"where\";s:28:\"civicrm_email.signature_html\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";s:6:\"export\";b:1;s:7:\"default\";s:4:\"NULL\";s:15:\"hasLocationType\";b:1;}s:11:\"im_provider\";a:4:{s:4:\"name\";s:11:\"im_provider\";s:5:\"where\";s:22:\"civicrm_im.provider_id\";s:5:\"title\";s:11:\"IM Provider\";s:15:\"hasLocationType\";b:1;}s:2:\"im\";a:13:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:14:\"IM Screen Name\";s:11:\"description\";s:14:\"IM screen name\";s:9:\"maxlength\";i:64;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:15:\"civicrm_im.name\";s:13:\"headerPattern\";s:40:\"/I(nstant )?M(ess.*)?|screen(\\s+)?name/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}s:15:\"hasLocationType\";b:1;}s:6:\"openid\";a:13:{s:4:\"name\";s:6:\"openid\";s:4:\"type\";i:2;s:5:\"title\";s:6:\"OpenID\";s:11:\"description\";s:125:\"the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM\";s:9:\"maxlength\";i:255;s:4:\"size\";i:45;s:6:\"import\";b:1;s:5:\"where\";s:21:\"civicrm_openid.openid\";s:13:\"headerPattern\";s:27:\"/^Open.?ID|u(niq\\w*)?.?ID/i\";s:11:\"dataPattern\";s:15:\"/^[\\w\\/\\:\\.]+$/\";s:6:\"export\";b:1;s:4:\"rule\";s:3:\"url\";s:15:\"hasLocationType\";b:1;}s:12:\"world_region\";a:10:{s:4:\"name\";s:4:\"name\";s:4:\"type\";i:2;s:5:\"title\";s:12:\"World Region\";s:11:\"description\";s:43:\"Region name to be associated with countries\";s:9:\"maxlength\";i:128;s:4:\"size\";i:45;s:6:\"export\";b:1;s:5:\"where\";s:24:\"civicrm_worldregion.name\";s:13:\"headerPattern\";s:0:\"\";s:11:\"dataPattern\";s:0:\"\";}s:3:\"url\";a:12:{s:4:\"name\";s:3:\"url\";s:4:\"type\";i:2;s:5:\"title\";s:7:\"Website\";s:11:\"description\";s:7:\"Website\";s:9:\"maxlength\";i:128;s:4:\"size\";i:30;s:6:\"import\";b:1;s:5:\"where\";s:19:\"civicrm_website.url\";s:13:\"headerPattern\";s:10:\"/Website/i\";s:11:\"dataPattern\";s:28:\"/^[A-Za-z][0-9A-Za-z]{20,}$/\";s:6:\"export\";b:1;s:4:\"html\";a:1:{s:4:\"type\";s:4:\"Text\";}}s:6:\"groups\";a:2:{s:5:\"title\";s:8:\"Group(s)\";s:4:\"name\";s:6:\"groups\";}s:4:\"tags\";a:2:{s:5:\"title\";s:6:\"Tag(s)\";s:4:\"name\";s:4:\"tags\";}s:5:\"notes\";a:2:{s:5:\"title\";s:7:\"Note(s)\";s:4:\"name\";s:5:\"notes\";}}' , 20151201183517 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_exportableFields All_1_0_1_._' ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Pledge_0_0_0_0__0__0__1_6a657c34' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Pledge' ) AND ( 1 ) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Pledge_0_0_0_0__0__0__1_6a657c34._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Pledge_0_0_0_0__0__0__1_6a657c34' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Pledge_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' , 20151201183517 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Pledge_0_0_0_0__0__0__1_6a657c34._' ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND g.is_active = 1 AND v.is_active = 1 AND v.name IN ('Pending', 'Overdue') ORDER BY v.weight + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f, + civicrm_custom_group g + WHERE f.custom_group_id = g.id + AND g.is_active = 1 + AND f.is_active = 1 + AND f.id IN ( 1 ) + + SELECT extends + FROM civicrm_custom_group + + WHERE ( civicrm_custom_group.id = 1 ) + + + + + + SELECT civicrm_contribution.id, contact_a.id as contact_id, civicrm_contribution.id as contribution_id, civicrm_value_testcreatewit_1.id as civicrm_value_testcreatewit_1_id, civicrm_value_testcreatewit_1.testcreatewithcustomxx_1 as custom_1 FROM civicrm_contact contact_a LEFT JOIN civicrm_contribution ON civicrm_contribution.contact_id = contact_a.id +LEFT JOIN civicrm_value_testcreatewit_1 ON civicrm_value_testcreatewit_1.entity_id = `civicrm_contribution`.id WHERE ( civicrm_contribution.id = 1 ) LIMIT 0, 25 + + + SELECT ccs.id, pcp_id, cpcp.title as pcp_title, pcp_display_in_roll, pcp_roll_nickname, pcp_personal_note, ccs.currency as currency, amount, ccs.contact_id as contact_id, c.display_name, ccs.soft_credit_type_id + FROM civicrm_contribution_soft ccs INNER JOIN civicrm_contact c on c.id = ccs.contact_id + LEFT JOIN civicrm_pcp cpcp ON ccs.pcp_id = cpcp.id + WHERE contribution_id = 1; + + + BEGIN + + SELECT * + FROM civicrm_custom_field + + WHERE ( civicrm_custom_field.id = 1 ) + + + + + + DELETE FROM civicrm_cache WHERE ( civicrm_cache.group_name = 'contact fields' ) + + +DELETE +FROM civicrm_acl_cache +WHERE modified_date IS NULL + OR (TIMESTAMPDIFF(MINUTE, modified_date, 20151201173517) >= 5) + + + SELECT table_name + FROM civicrm_custom_group + + WHERE ( civicrm_custom_group.id = 1 ) + + + + + + ALTER TABLE civicrm_value_testcreatewit_1 DROP COLUMN `testcreatewithcustomxx_1` + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'civicrm_%' + + + +SELECT TABLE_NAME +FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_SCHEMA = 'dmastertes_s0xef' +AND TABLE_TYPE = 'BASE TABLE' +AND TABLE_NAME LIKE 'log_civicrm_%' + + + SELECT * + FROM civicrm_domain + + + + + + + + SELECT * + FROM civicrm_custom_group + + WHERE ( extends IN ( 'Contact','Individual','Household','Organization' ) ) AND ( civicrm_custom_group.is_multiple = 0 ) + + + + + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_before_delete + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_insert + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_update + + DROP TRIGGER IF EXISTS civicrm_value_testcreatewit_1_after_delete + + DELETE FROM civicrm_custom_field WHERE ( civicrm_custom_field.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_custom_field' + + SELECT * + FROM civicrm_uf_field + + WHERE ( civicrm_uf_field.field_name = 'custom_1' ) + + + + + + SELECT MIN(id) AS dupeId, count(id) as dupeCount, weight as dupeWeight FROM civicrm_custom_field GROUP BY weight having dupeCount>1 + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'cg_extend_objects' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields CustomField_0_0_0_0__0__0__0_7acce319' ) + + + + + + COMMIT + + TRUNCATE TABLE civicrm_acl_contact_cache + + BEGIN + + SELECT * + FROM civicrm_custom_group + + WHERE ( civicrm_custom_group.id = 1 ) + + + + + + SELECT * + FROM civicrm_custom_field + + WHERE ( civicrm_custom_field.custom_group_id = 1 ) + + + + + + DROP TABLE civicrm_value_testcreatewit_1 + + DELETE FROM civicrm_custom_group WHERE ( civicrm_custom_group.id = 1 ) + + + SELECT parent_id + FROM civicrm_recurring_entity + WHERE entity_id = 1 AND entity_table = 'civicrm_custom_group' + + COMMIT + + BEGIN + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' ) + + + + + + SELECT civicrm_custom_field.id, civicrm_custom_field.label, + civicrm_custom_group.title, + civicrm_custom_field.data_type, + civicrm_custom_field.html_type, + civicrm_custom_field.default_value, + civicrm_custom_field.options_per_line, civicrm_custom_field.text_length, + civicrm_custom_field.custom_group_id, + civicrm_custom_field.is_required, + civicrm_custom_group.extends, civicrm_custom_field.is_search_range, + civicrm_custom_group.extends_entity_column_value, + civicrm_custom_group.extends_entity_column_id, + civicrm_custom_field.is_view, + civicrm_custom_field.option_group_id, + civicrm_custom_field.date_format, + civicrm_custom_field.time_format, + civicrm_custom_group.is_multiple, + og.name as option_group_name + FROM civicrm_custom_field + INNER JOIN civicrm_custom_group + ON civicrm_custom_field.custom_group_id = civicrm_custom_group.id + LEFT JOIN civicrm_option_group og + ON civicrm_custom_field.option_group_id = og.id + WHERE ( 1 ) AND civicrm_custom_field.is_active = 1 AND civicrm_custom_group.is_active = 1 AND civicrm_custom_group.extends IN ( 'Contribution' ) AND (1) + ORDER BY civicrm_custom_group.weight, civicrm_custom_group.title, + civicrm_custom_field.weight, civicrm_custom_field.label + + SELECT GET_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__0_7acce319._', 3 ) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' ) + + + + + + INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Contribution_0_0_0_0__0__0__0_7acce319' , 'a:0:{}' , 20151201183517 ) + + SELECT RELEASE_LOCK( 'dmastertes_s0xef.1.cache.contact fields_custom importableFields Contribution_0_0_0_0__0__0__0_7acce319._' ) + + SELECT id AS id, name AS label FROM civicrm_financial_type ORDER BY name + + SELECT name AS id, symbol AS label FROM civicrm_currency ORDER BY symbol + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND g.is_active = 1 ORDER BY v.weight + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND g.is_active = 1 AND v.is_active = 1 AND is_default = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 2 , 3 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 2 , 2 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'account_relationship' + AND g.is_active = 1 AND v.is_active = 1 AND v.name LIKE 'Income Account is' ORDER BY v.weight + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 2 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 2 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 3 , 3 , 100 ) + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'account_relationship' + AND g.is_active = 1 AND v.is_active = 1 AND v.name LIKE 'Expense Account is' ORDER BY v.weight + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 2 , 4 , 5 ) + + SELECT contact_id + FROM civicrm_domain + + WHERE ( civicrm_domain.id = 1 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183517 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 3 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 4 , 4 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 2 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 2 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 2 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + +SELECT v.label as label ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'priority' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 2 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + +SELECT v.name as name ,v.value as value, v.grouping as grouping +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_contacts' + AND g.is_active = 1 AND v.is_active = 1 ORDER BY v.weight + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 2 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 2 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 2 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 2 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 2 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 2 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 2 , 'Activity created for source=3' , 3 , 20151201183517 ) + + SELECT id, name + FROM civicrm_financial_type + + WHERE ( is_active = 1 ) + + + ORDER BY name + + + SELECT display_name + FROM civicrm_contact + + WHERE ( civicrm_contact.id = 3 ) + + + + + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 3 , 5 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 3 , 3 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 3 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 3 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 5 , 5 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 3 , 6 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183518 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 5 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 6 , 6 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 3 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 3 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 3 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 3 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 3 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 3 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 3 , 'Activity created for source=3' , 3 , 20151201183518 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 4 , 7 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 4 , 4 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 4 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 7 , 7 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 4 , 8 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183518 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 7 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 8 , 8 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 4 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 4 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 4 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 4 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 4 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 4 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 4 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 4 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 4 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 4 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 4 , 'Activity created for source=3' , 3 , 20151201183518 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 5 , 9 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 5 , 5 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 5 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 5 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 9 , 9 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 5 , 10 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183518 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 9 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 10 , 10 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 5 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 5 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 5 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 5 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 5 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 5 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 5 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 5 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 5 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 5 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 5 , 'Activity created for source=3' , 3 , 20151201183518 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 6 , 11 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 6 , 6 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 6 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 6 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 11 , 11 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 6 , 12 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183518 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 11 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 12 , 12 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 6 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 6 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 6 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 6 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 6 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 6 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 6 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 6 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 6 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 6 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 6 , 'Activity created for source=3' , 3 , 20151201183518 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 7 , 13 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 7 , 7 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 7 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 7 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 13 , 13 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 7 , 14 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183518 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 13 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 14 , 14 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 7 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 7 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 7 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 7 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 7 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 7 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 7 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 7 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 7 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 7 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 7 , 'Activity created for source=3' , 3 , 20151201183518 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 8 , 15 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 8 , 8 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 8 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 8 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 15 , 15 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 8 , 16 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183518 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 15 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 16 , 16 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 8 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 8 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 8 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 8 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 8 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 8 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 8 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 8 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 8 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 8 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 8 , 'Activity created for source=3' , 3 , 20151201183518 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 9 , 17 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 9 , 9 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 9 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 9 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 17 , 17 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 9 , 18 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183518 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 17 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 18 , 18 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 9 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 9 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 9 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 9 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 9 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 9 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 9 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 9 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 9 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 9 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 9 , 'Activity created for source=3' , 3 , 20151201183518 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 10 , 19 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 10 , 10 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 10 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 10 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 19 , 19 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 10 , 20 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183519 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 19 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 20 , 20 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 10 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 10 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 10 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 10 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 10 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 10 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 10 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 10 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 10 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 10 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 10 , 'Activity created for source=3' , 3 , 20151201183519 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 11 , 21 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 11 , 11 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 11 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 11 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 21 , 21 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 11 , 22 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183519 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 21 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 22 , 22 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 11 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 11 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 11 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 11 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 11 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 11 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 11 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 11 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 11 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 11 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 11 , 'Activity created for source=3' , 3 , 20151201183519 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 12 , 23 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 12 , 12 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 12 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 12 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 23 , 23 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 12 , 24 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183519 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 23 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 24 , 24 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 12 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 12 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 12 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 12 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 12 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 12 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 12 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 12 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 12 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 12 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 12 , 'Activity created for source=3' , 3 , 20151201183519 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 13 , 25 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 13 , 13 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 13 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 13 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 25 , 25 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 13 , 26 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183519 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 25 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 26 , 26 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 13 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 13 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 13 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 13 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 13 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 13 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 13 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 13 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 13 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 13 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 13 , 'Activity created for source=3' , 3 , 20151201183519 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 14 , 27 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 14 , 14 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 14 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 14 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 27 , 27 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 14 , 28 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183519 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 27 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 28 , 28 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 14 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 14 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 14 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 14 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 14 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 14 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 14 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 14 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 14 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 14 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 14 , 'Activity created for source=3' , 3 , 20151201183519 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 15 , 29 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 15 , 15 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 15 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 15 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 29 , 29 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 15 , 30 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183520 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 29 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 30 , 30 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 15 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 15 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 15 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 15 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 15 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 15 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 15 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 15 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 15 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 15 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 15 , 'Activity created for source=3' , 3 , 20151201183520 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 16 , 31 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 16 , 16 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 16 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 16 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 31 , 31 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 16 , 32 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183520 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 31 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 32 , 32 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 16 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 16 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 16 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 16 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 16 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 16 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 16 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 16 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 16 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 16 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 16 , 'Activity created for source=3' , 3 , 20151201183520 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 17 , 33 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 17 , 17 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 17 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 17 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 33 , 33 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 17 , 34 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183520 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 33 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 34 , 34 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 17 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 17 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 17 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 17 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 17 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 17 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 17 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 17 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 17 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 17 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 17 , 'Activity created for source=3' , 3 , 20151201183520 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 18 , 35 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 18 , 18 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 18 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 18 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 35 , 35 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 18 , 36 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183520 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 35 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 36 , 36 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 18 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 18 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 18 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 18 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 18 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 18 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 18 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 18 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 18 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 18 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 18 , 'Activity created for source=3' , 3 , 20151201183520 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 19 , 37 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 19 , 19 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 19 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 19 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 37 , 37 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 19 , 38 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183520 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 37 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 38 , 38 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 19 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 19 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 19 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 19 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 19 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 19 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 19 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 19 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 19 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 19 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 19 , 'Activity created for source=3' , 3 , 20151201183520 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 20 , 39 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 20 , 20 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 20 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 20 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 39 , 39 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 20 , 40 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183521 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 39 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 40 , 40 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 20 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 20 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 20 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 20 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 20 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 20 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 20 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 20 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 20 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 20 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 20 , 'Activity created for source=3' , 3 , 20151201183521 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 21 , 41 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 21 , 21 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 21 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 21 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 41 , 41 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 21 , 42 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183521 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 41 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 42 , 42 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 21 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 21 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 21 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 21 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 21 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 21 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 21 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 21 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 21 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 21 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 21 , 'Activity created for source=3' , 3 , 20151201183521 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 22 , 43 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 22 , 22 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 22 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 22 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 43 , 43 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 22 , 44 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183521 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 43 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 44 , 44 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 22 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 22 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 22 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 22 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 22 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 22 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 22 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 22 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 22 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 22 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 22 , 'Activity created for source=3' , 3 , 20151201183521 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 23 , 45 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 23 , 23 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 23 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 23 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 45 , 45 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 23 , 46 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183521 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 45 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 46 , 46 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 23 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 23 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 23 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 23 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 23 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 23 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 23 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 23 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 23 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 23 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 23 , 'Activity created for source=3' , 3 , 20151201183521 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 24 , 47 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 24 , 24 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 24 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 24 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 47 , 47 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 24 , 48 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183521 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 47 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 48 , 48 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 24 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 24 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 24 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 24 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 24 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 24 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 24 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 24 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 24 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 24 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 24 , 'Activity created for source=3' , 3 , 20151201183521 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 25 , 49 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 25 , 25 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 25 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 25 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 49 , 49 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 25 , 50 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183521 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 49 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 50 , 50 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 25 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 25 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 25 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 25 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 25 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 25 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 25 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 25 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 25 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 25 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 25 , 'Activity created for source=3' , 3 , 20151201183521 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 26 , 51 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 26 , 26 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 26 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 26 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 51 , 51 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 26 , 52 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183522 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 51 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 52 , 52 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 26 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 26 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 26 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 26 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 26 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 26 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 26 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 26 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 26 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 26 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 26 , 'Activity created for source=3' , 3 , 20151201183522 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 27 , 53 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 27 , 27 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 27 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 27 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 53 , 53 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 27 , 54 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183522 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 53 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 54 , 54 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 27 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 27 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 27 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 27 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 27 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 27 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 27 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 27 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 27 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 27 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 27 , 'Activity created for source=3' , 3 , 20151201183522 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 28 , 55 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 28 , 28 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 28 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 28 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 55 , 55 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 28 , 56 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183522 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 55 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 56 , 56 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 28 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 28 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 28 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 28 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 28 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 28 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 28 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 28 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 28 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 28 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 28 , 'Activity created for source=3' , 3 , 20151201183522 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 29 , 57 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 29 , 29 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 29 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 29 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 57 , 57 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 29 , 58 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183522 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 57 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 58 , 58 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 29 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 29 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 29 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 29 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 29 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 29 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 29 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 29 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 29 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 29 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 29 , 'Activity created for source=3' , 3 , 20151201183522 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 30 , 59 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 30 , 30 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 30 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 30 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 59 , 59 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 30 , 60 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183522 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 59 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 60 , 60 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 30 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 30 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 30 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 30 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 30 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 30 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 30 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 30 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 30 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 30 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 30 , 'Activity created for source=3' , 3 , 20151201183522 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 31 , 61 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 31 , 31 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 31 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 31 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 61 , 61 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 31 , 62 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183522 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 61 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 62 , 62 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 31 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 31 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 31 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 31 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 31 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 31 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 31 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 31 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 31 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 31 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 31 , 'Activity created for source=3' , 3 , 20151201183522 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 32 , 63 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 32 , 32 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 32 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 32 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 63 , 63 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 32 , 64 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183523 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 63 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 64 , 64 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 32 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 32 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 32 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 32 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 32 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 32 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 32 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 32 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 32 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 32 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 32 , 'Activity created for source=3' , 3 , 20151201183523 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 33 , 65 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 33 , 33 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 33 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 33 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 65 , 65 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 33 , 66 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183523 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 65 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 66 , 66 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 33 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 33 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 33 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 33 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 33 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 33 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 33 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 33 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 33 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 33 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 33 , 'Activity created for source=3' , 3 , 20151201183523 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 34 , 67 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 34 , 34 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 34 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 34 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 67 , 67 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 34 , 68 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183523 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 67 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 68 , 68 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 34 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 34 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 34 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 34 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 34 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 34 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 34 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 34 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 34 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 34 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 34 , 'Activity created for source=3' , 3 , 20151201183523 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 35 , 69 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 35 , 35 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 35 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 35 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 69 , 69 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 35 , 70 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183523 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 69 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 70 , 70 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 35 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 35 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 35 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 35 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 35 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 35 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 35 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 35 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 35 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 35 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 35 , 'Activity created for source=3' , 3 , 20151201183523 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 36 , 71 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 36 , 36 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 36 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 36 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 71 , 71 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 36 , 72 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183523 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 71 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 72 , 72 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 36 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 36 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 36 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 36 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 36 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 36 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 36 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 36 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 36 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 36 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 36 , 'Activity created for source=3' , 3 , 20151201183523 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 37 , 73 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 37 , 37 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 37 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 37 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 73 , 73 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 37 , 74 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183524 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 73 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 74 , 74 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 37 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 37 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 37 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 37 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 37 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 37 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 37 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 37 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 37 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 37 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 37 , 'Activity created for source=3' , 3 , 20151201183524 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 38 , 75 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 38 , 38 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 38 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 38 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 75 , 75 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 38 , 76 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183524 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 75 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 76 , 76 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 38 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 38 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 38 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 38 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 38 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 38 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 38 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 38 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 38 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 38 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 38 , 'Activity created for source=3' , 3 , 20151201183524 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 39 , 77 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 39 , 39 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 39 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 39 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 77 , 77 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 39 , 78 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183524 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 77 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 78 , 78 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 39 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 39 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 39 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 39 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 39 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 39 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 39 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 39 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 39 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 39 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 39 , 'Activity created for source=3' , 3 , 20151201183524 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 40 , 79 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 40 , 40 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 40 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 40 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 79 , 79 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 40 , 80 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183524 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 79 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 80 , 80 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 40 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 40 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 40 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 40 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 40 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 40 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 40 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 40 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 40 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 40 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 40 , 'Activity created for source=3' , 3 , 20151201183524 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 41 , 81 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 41 , 41 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 41 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 41 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 81 , 81 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 41 , 82 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183524 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 81 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 82 , 82 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 41 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 41 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 41 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 41 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 41 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 41 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 41 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 41 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 41 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 41 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 41 , 'Activity created for source=3' , 3 , 20151201183524 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 42 , 83 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 42 , 42 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 42 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 42 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 83 , 83 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 42 , 84 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183524 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 83 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 84 , 84 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 42 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 42 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 42 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 42 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 42 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 42 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 42 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 42 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 42 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 42 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 42 , 'Activity created for source=3' , 3 , 20151201183524 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 43 , 85 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 43 , 43 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 43 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 43 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 85 , 85 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 43 , 86 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183525 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 85 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 86 , 86 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 43 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 43 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 43 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 43 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 43 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 43 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 43 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 43 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 43 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 43 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 43 , 'Activity created for source=3' , 3 , 20151201183525 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 44 , 87 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 44 , 44 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 44 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 44 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 87 , 87 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 44 , 88 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183525 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 87 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 88 , 88 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 44 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 44 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 44 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 44 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 44 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 44 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 44 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 44 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 44 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 44 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 44 , 'Activity created for source=3' , 3 , 20151201183525 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 45 , 89 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 45 , 45 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 45 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 45 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 89 , 89 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 45 , 90 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183525 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 89 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 90 , 90 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 45 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 45 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 45 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 45 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 45 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 45 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 45 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 45 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 45 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 45 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 45 , 'Activity created for source=3' , 3 , 20151201183525 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 46 , 91 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 46 , 46 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 46 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 46 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 91 , 91 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 46 , 92 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183525 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 91 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 92 , 92 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 46 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 46 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 46 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 46 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 46 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 46 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 46 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 46 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 46 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 46 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 46 , 'Activity created for source=3' , 3 , 20151201183525 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 47 , 93 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 47 , 47 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 47 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 47 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 93 , 93 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 47 , 94 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183525 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 93 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 94 , 94 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 47 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 47 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 47 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 47 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 47 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 47 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 47 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 47 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 47 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 47 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 47 , 'Activity created for source=3' , 3 , 20151201183525 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 48 , 95 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 48 , 48 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 48 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 48 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 95 , 95 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 48 , 96 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183525 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 95 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 96 , 96 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 48 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 48 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 48 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 48 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 48 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 48 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 48 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 48 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 48 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 48 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 48 , 'Activity created for source=3' , 3 , 20151201183525 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 49 , 97 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 49 , 49 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 49 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 49 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 97 , 97 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 49 , 98 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183526 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 97 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 98 , 98 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 49 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 49 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 49 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 49 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 49 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 49 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 49 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 49 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 49 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 49 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 49 , 'Activity created for source=3' , 3 , 20151201183526 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 50 , 99 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 50 , 50 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 50 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 50 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 99 , 99 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 50 , 100 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183526 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 99 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 100 , 100 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 50 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 50 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 50 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 50 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 50 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 50 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 50 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 50 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 50 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 50 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 50 , 'Activity created for source=3' , 3 , 20151201183526 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 51 , 101 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 51 , 51 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 51 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 51 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 101 , 101 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 51 , 102 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183526 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 101 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 102 , 102 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 51 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 51 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 51 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 51 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 51 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 51 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 51 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 51 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 51 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 51 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 51 , 'Activity created for source=3' , 3 , 20151201183526 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 52 , 103 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 52 , 52 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 52 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 52 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 103 , 103 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 52 , 104 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183526 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 103 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 104 , 104 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 52 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 52 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 52 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 52 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 52 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 52 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 52 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 52 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 52 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 52 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 52 , 'Activity created for source=3' , 3 , 20151201183526 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 53 , 105 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 53 , 53 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 53 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 53 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 105 , 105 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 53 , 106 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183526 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 105 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 106 , 106 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 53 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 53 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 53 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 53 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 53 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 53 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 53 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 53 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 53 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 53 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 53 , 'Activity created for source=3' , 3 , 20151201183526 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 54 , 107 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 54 , 54 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 54 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 54 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 107 , 107 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 54 , 108 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183527 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 107 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 108 , 108 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 54 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 54 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 54 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 54 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 54 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 54 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 54 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 54 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 54 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 54 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 54 , 'Activity created for source=3' , 3 , 20151201183527 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 55 , 109 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 55 , 55 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 55 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 55 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 109 , 109 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 55 , 110 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183527 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 109 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 110 , 110 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 55 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 55 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 55 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 55 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 55 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 55 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 55 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 55 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 55 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 55 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 55 , 'Activity created for source=3' , 3 , 20151201183527 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 56 , 111 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 56 , 56 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 56 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 56 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 111 , 111 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 56 , 112 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183527 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 111 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 112 , 112 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 56 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 56 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 56 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 56 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 56 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 56 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 56 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 56 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 56 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 56 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 56 , 'Activity created for source=3' , 3 , 20151201183527 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 57 , 113 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 57 , 57 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 57 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 57 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 113 , 113 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 57 , 114 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183527 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 113 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 114 , 114 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 57 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 57 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 57 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 57 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 57 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 57 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 57 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 57 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 57 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 57 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 57 , 'Activity created for source=3' , 3 , 20151201183527 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 58 , 115 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 58 , 58 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 58 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 58 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 115 , 115 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 58 , 116 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183527 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 115 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 116 , 116 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 58 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 58 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 58 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 58 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 58 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 58 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 58 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 58 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 58 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 58 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 58 , 'Activity created for source=3' , 3 , 20151201183527 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 59 , 117 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 59 , 59 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 59 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 59 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 117 , 117 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 59 , 118 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183527 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 117 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 118 , 118 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 59 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 59 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 59 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 59 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 59 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 59 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 59 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 59 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 59 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 59 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 59 , 'Activity created for source=3' , 3 , 20151201183527 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 60 , 119 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 60 , 60 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 60 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 60 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 119 , 119 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 60 , 120 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183528 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 119 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 120 , 120 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 60 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 60 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 60 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 60 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 60 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 60 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 60 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 60 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 60 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 60 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 60 , 'Activity created for source=3' , 3 , 20151201183528 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 61 , 121 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 61 , 61 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 61 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 61 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 121 , 121 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 61 , 122 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183528 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 121 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 122 , 122 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 61 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 61 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 61 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 61 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 61 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 61 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 61 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 61 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 61 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 61 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 61 , 'Activity created for source=3' , 3 , 20151201183528 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 62 , 123 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 62 , 62 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 62 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 62 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 123 , 123 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 62 , 124 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183528 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 123 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 124 , 124 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 62 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 62 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 62 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 62 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 62 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 62 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 62 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 62 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 62 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 62 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 62 , 'Activity created for source=3' , 3 , 20151201183528 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 63 , 125 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 63 , 63 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 63 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 63 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 125 , 125 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 63 , 126 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183528 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 125 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 126 , 126 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 63 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 63 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 63 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 63 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 63 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 63 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 63 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 63 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 63 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 63 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 63 , 'Activity created for source=3' , 3 , 20151201183528 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 64 , 127 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 64 , 64 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 64 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 64 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 127 , 127 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 64 , 128 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183528 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 127 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 128 , 128 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 64 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 64 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 64 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 64 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 64 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 64 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 64 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 64 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 64 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 64 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 64 , 'Activity created for source=3' , 3 , 20151201183528 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 65 , 129 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 65 , 65 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 65 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 65 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 129 , 129 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 65 , 130 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183528 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 129 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 130 , 130 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 65 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 65 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 65 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 65 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 65 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 65 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 65 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 65 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 65 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 65 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 65 , 'Activity created for source=3' , 3 , 20151201183528 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 66 , 131 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 66 , 66 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 66 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 66 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 131 , 131 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 66 , 132 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183529 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 131 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 132 , 132 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 66 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 66 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 66 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 66 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 66 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 66 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 66 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 66 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 66 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 66 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 66 , 'Activity created for source=3' , 3 , 20151201183529 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 67 , 133 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 67 , 67 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 67 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 67 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 133 , 133 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 67 , 134 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183529 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 133 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 134 , 134 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 67 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 67 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 67 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 67 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 67 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 67 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 67 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 67 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 67 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 67 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 67 , 'Activity created for source=3' , 3 , 20151201183529 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 68 , 135 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 68 , 68 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 68 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 68 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 135 , 135 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 68 , 136 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183529 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 135 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 136 , 136 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 68 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 68 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 68 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 68 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 68 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 68 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 68 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 68 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 68 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 68 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 68 , 'Activity created for source=3' , 3 , 20151201183529 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 69 , 137 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 69 , 69 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 69 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 69 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 137 , 137 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 69 , 138 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183529 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 137 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 138 , 138 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 69 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 69 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 69 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 69 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 69 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 69 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 69 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 69 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 69 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 69 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 69 , 'Activity created for source=3' , 3 , 20151201183529 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 70 , 139 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 70 , 70 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 70 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 70 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 139 , 139 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 70 , 140 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183529 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 139 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 140 , 140 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 70 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 70 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 70 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 70 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 70 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 70 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 70 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 70 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 70 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 70 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 70 , 'Activity created for source=3' , 3 , 20151201183529 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 71 , 141 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 71 , 71 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 71 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 71 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 141 , 141 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 71 , 142 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183530 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 141 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 142 , 142 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 71 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 71 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 71 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 71 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 71 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 71 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 71 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 71 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 71 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 71 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 71 , 'Activity created for source=3' , 3 , 20151201183530 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 72 , 143 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 72 , 72 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 72 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 72 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 143 , 143 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 72 , 144 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183530 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 143 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 144 , 144 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 72 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 72 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 72 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 72 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 72 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 72 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 72 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 72 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 72 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 72 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 72 , 'Activity created for source=3' , 3 , 20151201183530 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 73 , 145 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 73 , 73 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 73 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 73 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 145 , 145 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 73 , 146 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183530 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 145 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 146 , 146 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 73 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 73 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 73 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 73 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 73 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 73 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 73 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 73 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 73 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 73 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 73 , 'Activity created for source=3' , 3 , 20151201183530 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 74 , 147 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 74 , 74 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 74 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 74 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 147 , 147 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 74 , 148 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183530 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 147 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 148 , 148 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 74 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 74 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 74 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 74 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 74 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 74 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 74 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 74 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 74 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 74 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 74 , 'Activity created for source=3' , 3 , 20151201183530 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 75 , 149 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 75 , 75 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 75 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 75 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 149 , 149 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 75 , 150 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183530 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 149 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 150 , 150 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 75 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 75 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 75 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 75 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 75 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 75 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 75 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 75 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 75 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 75 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 75 , 'Activity created for source=3' , 3 , 20151201183530 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 76 , 151 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 76 , 76 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 76 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 76 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 151 , 151 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 76 , 152 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183530 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 151 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 152 , 152 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 76 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 76 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 76 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 76 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 76 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 76 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 76 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 76 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 76 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 76 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 76 , 'Activity created for source=3' , 3 , 20151201183530 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 77 , 153 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 77 , 77 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 77 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 77 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 153 , 153 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 77 , 154 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183531 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 153 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 154 , 154 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 77 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 77 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 77 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 77 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 77 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 77 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 77 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 77 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 77 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 77 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 77 , 'Activity created for source=3' , 3 , 20151201183531 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 78 , 155 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 78 , 78 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 78 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 78 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 155 , 155 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 78 , 156 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183531 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 155 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 156 , 156 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 78 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 78 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 78 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 78 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 78 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 78 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 78 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 78 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 78 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 78 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 78 , 'Activity created for source=3' , 3 , 20151201183531 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 79 , 157 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 79 , 79 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 79 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 79 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 157 , 157 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 79 , 158 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183531 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 157 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 158 , 158 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 79 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 79 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 79 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 79 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 79 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 79 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 79 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 79 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 79 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 79 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 79 , 'Activity created for source=3' , 3 , 20151201183531 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 80 , 159 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 80 , 80 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 80 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 80 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 159 , 159 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 80 , 160 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183531 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 159 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 160 , 160 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 80 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 80 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 80 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 80 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 80 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 80 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 80 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 80 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 80 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 80 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 80 , 'Activity created for source=3' , 3 , 20151201183531 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 81 , 161 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 81 , 81 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 81 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 81 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 161 , 161 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 81 , 162 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183531 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 161 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 162 , 162 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 81 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 81 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 81 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 81 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 81 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 81 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 81 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 81 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 81 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 81 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 81 , 'Activity created for source=3' , 3 , 20151201183531 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 82 , 163 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 82 , 82 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 82 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 82 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 163 , 163 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 82 , 164 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183531 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 163 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 164 , 164 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 82 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 82 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 82 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 82 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 82 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 82 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 82 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 82 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 82 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 82 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 82 , 'Activity created for source=3' , 3 , 20151201183532 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 83 , 165 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 83 , 83 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 83 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 83 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 165 , 165 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 83 , 166 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183532 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 165 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 166 , 166 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 83 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 83 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 83 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 83 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 83 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 83 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 83 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 83 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 83 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 83 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 83 , 'Activity created for source=3' , 3 , 20151201183532 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 84 , 167 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 84 , 84 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 84 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 84 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 167 , 167 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 84 , 168 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183532 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 167 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 168 , 168 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 84 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 84 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 84 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 84 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 84 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 84 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 84 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 84 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 84 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 84 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 84 , 'Activity created for source=3' , 3 , 20151201183532 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 85 , 169 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 85 , 85 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 85 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 85 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 169 , 169 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 85 , 170 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183532 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 169 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 170 , 170 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 85 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 85 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 85 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 85 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 85 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 85 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 85 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 85 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 85 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 85 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 85 , 'Activity created for source=3' , 3 , 20151201183532 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 86 , 171 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 86 , 86 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 86 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 86 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 171 , 171 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 86 , 172 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183532 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 171 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 172 , 172 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 86 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 86 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 86 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 86 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 86 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 86 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 86 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 86 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 86 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 86 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 86 , 'Activity created for source=3' , 3 , 20151201183532 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 87 , 173 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 87 , 87 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 87 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 87 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 173 , 173 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 87 , 174 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183532 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 173 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 174 , 174 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 87 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 87 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 87 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 87 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 87 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 87 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 87 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 87 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 87 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 87 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 87 , 'Activity created for source=3' , 3 , 20151201183532 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 88 , 175 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 88 , 88 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 88 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 88 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 175 , 175 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 88 , 176 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183533 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 175 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 176 , 176 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 88 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 88 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 88 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 88 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 88 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 88 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 88 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 88 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 88 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 88 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 88 , 'Activity created for source=3' , 3 , 20151201183533 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 89 , 177 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 89 , 89 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 89 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 89 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 177 , 177 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 89 , 178 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183533 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 177 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 178 , 178 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 89 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 89 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 89 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 89 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 89 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 89 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 89 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 89 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 89 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 89 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 89 , 'Activity created for source=3' , 3 , 20151201183533 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 90 , 179 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 90 , 90 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 90 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 90 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 179 , 179 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 90 , 180 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183533 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 179 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 180 , 180 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 90 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 90 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 90 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 90 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 90 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 90 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 90 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 90 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 90 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 90 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 90 , 'Activity created for source=3' , 3 , 20151201183533 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 91 , 181 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 91 , 91 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 91 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 91 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 181 , 181 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 91 , 182 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183533 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 181 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 182 , 182 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 91 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 91 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 91 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 91 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 91 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 91 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 91 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 91 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 91 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 91 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 91 , 'Activity created for source=3' , 3 , 20151201183533 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 92 , 183 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 92 , 92 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 92 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 92 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 183 , 183 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 92 , 184 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183533 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 183 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 184 , 184 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 92 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 92 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 92 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 92 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 92 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 92 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 92 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 92 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 92 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 92 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 92 , 'Activity created for source=3' , 3 , 20151201183533 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 93 , 185 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 93 , 93 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 93 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 93 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 185 , 185 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 93 , 186 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183533 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 185 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 186 , 186 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 93 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 93 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 93 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 93 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 93 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 93 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 93 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 93 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 93 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 93 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 93 , 'Activity created for source=3' , 3 , 20151201183533 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 94 , 187 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 94 , 94 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 94 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 94 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 187 , 187 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 94 , 188 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183534 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 187 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 188 , 188 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 94 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 94 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 94 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 94 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 94 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 94 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 94 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 94 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 94 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 94 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 94 , 'Activity created for source=3' , 3 , 20151201183534 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 95 , 189 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 95 , 95 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 95 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 95 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 189 , 189 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 95 , 190 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183534 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 189 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 190 , 190 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 95 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 95 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 95 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 95 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 95 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 95 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 95 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 95 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 95 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 95 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 95 , 'Activity created for source=3' , 3 , 20151201183534 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 96 , 191 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 96 , 96 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 96 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 96 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 191 , 191 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 96 , 192 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183534 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 191 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 192 , 192 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 96 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 96 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 96 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 96 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 96 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 96 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 96 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 96 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 96 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 96 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 96 , 'Activity created for source=3' , 3 , 20151201183534 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 97 , 193 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 97 , 97 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 97 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 97 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 193 , 193 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 97 , 194 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183534 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 193 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 194 , 194 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 97 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 97 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 97 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 97 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 97 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 97 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 97 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 97 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 97 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 97 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 97 , 'Activity created for source=3' , 3 , 20151201183534 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 98 , 195 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 98 , 98 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 98 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 98 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 195 , 195 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 98 , 196 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183534 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 195 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 196 , 196 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 98 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 98 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 98 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 98 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 98 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 98 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 98 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 98 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 98 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 98 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 98 , 'Activity created for source=3' , 3 , 20151201183534 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 99 , 197 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 99 , 99 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 99 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 99 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 197 , 197 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 99 , 198 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183534 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 197 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 198 , 198 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 99 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 99 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 99 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 99 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 99 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 99 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 99 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 99 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 99 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 99 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 99 , 'Activity created for source=3' , 3 , 20151201183534 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 100 , 199 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 100 , 100 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 100 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 100 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 199 , 199 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 100 , 200 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183535 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 199 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 200 , 200 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 100 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 100 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 100 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 100 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 100 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 100 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 100 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 100 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 100 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 100 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 100 , 'Activity created for source=3' , 3 , 20151201183535 ) + + COMMIT + + BEGIN + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_contribution (contact_id , financial_type_id , payment_instrument_id , receive_date , non_deductible_amount , total_amount , fee_amount , net_amount , currency , source , contribution_status_id ) VALUES ( 3 , 1 , 4 , 20120511000000 , 10 , 100 , 5 , 95 , 'USD' , 'SSF' , 1 ) + + SELECT ceft.financial_account_id, cov.value +FROM civicrm_entity_financial_account ceft +INNER JOIN civicrm_option_value cov ON cov.id = ceft.entity_id AND ceft.entity_table = 'civicrm_option_value' +INNER JOIN civicrm_option_group cog ON cog.id = cov.option_group_id +WHERE cog.name = 'payment_instrument' AND cov.value = '4' + + INSERT INTO civicrm_financial_trxn (to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 20120511000000 , 100 , 5 , 95 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 101 , 201 , 100 ) + + INSERT INTO civicrm_line_item (entity_table , entity_id , contribution_id , price_field_id , label , qty , unit_price , line_total , price_field_value_id , financial_type_id ) VALUES ('civicrm_contribution' , 101 , 101 , 1 , 'Contribution Amount' , 1 , 100 , 100 , 1 , 1 ) + + SELECT * + FROM civicrm_entity_financial_account + + WHERE ( civicrm_entity_financial_account.entity_table = 'civicrm_financial_type' ) AND ( civicrm_entity_financial_account.entity_id = 1 ) AND ( civicrm_entity_financial_account.account_relationship = 1 ) + + + + + + SELECT ceft.id, ceft.financial_trxn_id FROM `civicrm_financial_trxn` cft +LEFT JOIN civicrm_entity_financial_trxn ceft +ON ceft.financial_trxn_id = cft.id AND ceft.entity_table = 'civicrm_contribution' +LEFT JOIN civicrm_entity_financial_trxn ceft1 +ON ceft1.financial_trxn_id = cft.id AND ceft1.entity_table = 'civicrm_financial_item' +LEFT JOIN civicrm_financial_item cfi ON ceft1.entity_table = 'civicrm_financial_item' and cfi.id = ceft1.entity_id +WHERE ceft.entity_id = 101 AND (cfi.entity_table <> 'civicrm_financial_trxn' or cfi.entity_table is NULL) + +ORDER BY cft.id ASC +LIMIT 1; + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20120511000000 , 3 , ' Contribution Amount' , 100 , 'USD' , 1 , 1 , 'civicrm_line_item' , 101 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 201 , 201 , 100 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'contribution_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_financial_trxn (from_financial_account_id , to_financial_account_id , trxn_date , total_amount , fee_amount , net_amount , currency , status_id , payment_instrument_id ) VALUES ( 6 , 5 , 20120511000000 , 5 , 0 , 0 , 'USD' , 1 , 4 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_contribution' , 101 , 202 , 5 ) + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'financial_item_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Paid' + + + INSERT INTO civicrm_financial_item (transaction_date , contact_id , description , amount , currency , financial_account_id , status_id , entity_table , entity_id ) VALUES ( 20151201183535 , 1 , 'Fee' , 5 , 'USD' , 5 , 1 , 'civicrm_financial_trxn' , 201 ) + + INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , amount ) VALUES ('civicrm_financial_item' , 202 , 202 , 5 ) + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 101 + AND pcp_id IS NULL + + + SELECT id + FROM civicrm_contribution_soft + WHERE contribution_id = 101 + AND pcp_id IS NOT NULL + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + SELECT * + FROM civicrm_activity + + WHERE ( civicrm_activity.source_record_id = 101 ) AND ( civicrm_activity.activity_type_id = 6 ) + + + + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_type' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Contribution' + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'activity_status' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Completed' + + + INSERT INTO civicrm_activity (source_record_id , activity_type_id , subject , activity_date_time , status_id , priority_id ) VALUES ( 101 , 6 , '$ 100.00 - SSF' , 20120511000000 , 2 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 101 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 101 ) AND ( civicrm_activity_contact.contact_id = 3 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_activity_contact (activity_id , contact_id , record_type_id ) VALUES ( 101 , 3 , 2 ) + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 101 ) AND ( civicrm_activity_contact.record_type_id = 1 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 101 ) AND ( civicrm_activity_contact.record_type_id = 3 ) + + + + + + SELECT * + FROM civicrm_activity_contact + + WHERE ( civicrm_activity_contact.activity_id = 101 ) AND ( civicrm_activity_contact.record_type_id = 2 ) + + + + + + INSERT INTO civicrm_log (entity_table , entity_id , data , modified_id , modified_date ) VALUES ('civicrm_activity' , 101 , 'Activity created for source=3' , 3 , 20151201183535 ) + + COMMIT + + SET FOREIGN_KEY_CHECKS = 0; + + TRUNCATE TABLE civicrm_activity + + TRUNCATE TABLE civicrm_activity_contact + + TRUNCATE TABLE civicrm_contribution + + TRUNCATE TABLE civicrm_contribution_soft + + TRUNCATE TABLE civicrm_contribution_product + + TRUNCATE TABLE civicrm_financial_trxn + + TRUNCATE TABLE civicrm_financial_item + + TRUNCATE TABLE civicrm_contribution_recur + + TRUNCATE TABLE civicrm_line_item + + TRUNCATE TABLE civicrm_contribution_page + + TRUNCATE TABLE civicrm_payment_processor + + TRUNCATE TABLE civicrm_entity_financial_trxn + + TRUNCATE TABLE civicrm_membership + + TRUNCATE TABLE civicrm_membership_type + + TRUNCATE TABLE civicrm_membership_payment + + TRUNCATE TABLE civicrm_membership_log + + TRUNCATE TABLE civicrm_membership_block + + TRUNCATE TABLE civicrm_event + + TRUNCATE TABLE civicrm_participant + + TRUNCATE TABLE civicrm_participant_payment + + TRUNCATE TABLE civicrm_pledge + + TRUNCATE TABLE civicrm_price_set_entity + + TRUNCATE TABLE civicrm_price_field_value + + TRUNCATE TABLE civicrm_price_field + + SET FOREIGN_KEY_CHECKS = 1; + + DELETE FROM civicrm_membership_status WHERE name NOT IN('New', 'Current', 'Grace', 'Expired', 'Pending', 'Cancelled', 'Deceased') + + DELETE FROM civicrm_price_set WHERE id > 2 + + INSERT INTO `civicrm_price_field` (`id`, `price_set_id`, `name`, `label`, `html_type`, `is_enter_qty`, `help_pre`, `help_post`, `weight`, `is_display_amounts`, `options_per_line`, `is_active`, `is_required`, `active_on`, `expire_on`, `javascript`, `visibility_id`) VALUES (1, 1, 'contribution_amount', 'Contribution Amount', 'Text', 0, NULL, NULL, 1, 1, 1, 1, 1, NULL, NULL, NULL, 1) + + INSERT INTO `civicrm_price_field_value` (`id`, `price_field_id`, `name`, `label`, `description`, `amount`, `count`, `max_value`, `weight`, `membership_type_id`, `membership_num_terms`, `is_default`, `is_active`, `financial_type_id`, `deductible_amount`) VALUES (1, 1, 'contribution_amount', 'Contribution Amount', NULL, '1', NULL, NULL, 1, NULL, NULL, 0, 1, 1, 0.00) + + SELECT * + FROM civicrm_cache + + WHERE ( civicrm_cache.group_name = 'contact fields' ) AND ( civicrm_cache.path = 'custom importableFields e87f438346d53eb3a55cfab017378daf' ) + + + + + + SELECT id AS id, name AS label FROM civicrm_domain ORDER BY name + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") AND (a.is_test = "0") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = 'PaymentProcessor' + + SELECT a.id as id, a.domain_id as domain_id, a.name as name, a.description as description, a.payment_processor_type_id as payment_processor_type_id, a.is_active as is_active, a.is_default as is_default, a.is_test as is_test, a.user_name as user_name, a.password as password, a.signature as signature, a.url_site as url_site, a.url_api as url_api, a.url_recur as url_recur, a.url_button as url_button, a.subject as subject, a.class_name as class_name, a.billing_mode as billing_mode, a.is_recur as is_recur, a.payment_type as payment_type, a.payment_instrument_id as payment_instrument_id +FROM civicrm_payment_processor a +WHERE (a.is_active = "1") AND (a.domain_id = "1") AND (a.is_test = "1") +ORDER BY is_default DESC +LIMIT 25 +OFFSET 0 + + + +SELECT v.label as label ,v.value as value +FROM civicrm_option_value v, + civicrm_option_group g +WHERE v.option_group_id = g.id + AND g.name = 'payment_instrument' + AND v.is_active = 1 + AND g.is_active = 1 + AND v.name = 'Check' + + + SET FOREIGN_KEY_CHECKS = 0; + + TRUNCATE TABLE civicrm_uf_match + + SET FOREIGN_KEY_CHECKS = 1; + + +Time: 01:32, Memory: 47.50Mb + +OK (1 test, 111 assertions) -- 2.25.1